/* ============================================
   BUILD RANK GROW - PROFESSIONAL STYLING
   ============================================ */

:root {
    --primary-color: #396896;
    --secondary-color: #67BB80;
    --accent-color: #386995;
    --background-color: #ffffff;
    --text-primary: #386995;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #e0e0e0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    background-color: var(--background-color);
    line-height: 1.6;
}

body.admin-bar .navbar {
    top: 32px;
}

/* Gutenberg editable page compatibility */
.brg-editable-page .wp-block-group,
.brg-editable-page .wp-block-image,
.brg-editable-page .wp-block-columns,
.brg-editable-page .wp-block-column {
    margin-top: 0;
    margin-bottom: 0;
}

.brg-editable-page .hero > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
    gap: clamp(36px, 6vw, 76px);
    align-items: center;
    width: 100%;
}

.brg-editable-page .hero .hero-content > .wp-block-group__inner-container {
    max-width: 670px;
}

.brg-editable-page .hero-image.wp-block-image {
    margin: 0;
}

.brg-editable-page .wp-block-button.btn {
    display: inline-flex;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.brg-editable-page .wp-block-button.btn .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.brg-editable-page .wp-block-button.btn-primary .wp-block-button__link {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.brg-editable-page .wp-block-button.btn-secondary .wp-block-button__link {
    color: var(--primary-color);
    background: transparent;
    border: 2px solid var(--primary-color);
}

.brg-editable-page .hero-proof.wp-block-columns {
    margin-top: 0;
    margin-bottom: 0;
}

.brg-editable-page .hero-proof-item p {
    margin: 0;
}

.brg-editable-page .inner-page-hero-visual img,
.brg-editable-page .service-detail-image img,
.brg-editable-page .about-image img,
.brg-editable-page .contact-cta-panel img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 980px) {
    .brg-editable-page .hero > .wp-block-group__inner-container {
        grid-template-columns: 1fr;
    }
}

.dark-mode-toggle,
.scroll-to-top {
    position: fixed;
    right: 30px;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.dark-mode-toggle {
    bottom: 90px;
    background: var(--primary-color);
}

.scroll-to-top {
    bottom: 30px;
    background: linear-gradient(135deg, #396896, #67BB80);
    opacity: 0;
    visibility: hidden;
}

@media (max-width: 782px) {
    body.admin-bar .navbar {
        top: 46px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px 20px;
    background: transparent;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 20px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 14px 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    border: 1px solid rgba(57, 104, 150, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 45px rgba(57, 104, 150, 0.12);
    backdrop-filter: blur(18px);
    transition: var(--transition);
}

.navbar.scrolled .nav-container {
    min-height: 62px;
    border-color: rgba(103, 187, 128, 0.28);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 32px rgba(57, 104, 150, 0.16);
}

.nav-logo {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 48px;
    padding: 7px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 0 0 1px rgba(57, 104, 150, 0.08);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.nav-logo:hover,
.nav-logo:focus {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px rgba(103, 187, 128, 0.32), 0 10px 22px rgba(57, 104, 150, 0.12);
}

.logo-img {
    display: block;
    height: 48px;
    max-width: 168px;
    object-fit: contain;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 42px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 6px;
    align-items: center;
    margin: 0;
    padding: 6px;
    border: 1px solid rgba(57, 104, 150, 0.1);
    border-radius: 999px;
    background: rgba(57, 104, 150, 0.05);
}

@media (min-width: 981px) {
    .nav-container {
        display: grid;
        grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
        justify-content: initial;
    }

    .nav-logo {
        grid-column: 1;
        justify-self: start;
    }

    .nav-menu {
        grid-column: 2;
        justify-self: center;
    }
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 15px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.95em;
    font-weight: 700;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 20px rgba(57, 104, 150, 0.1);
}

.nav-link.cta-link {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 18px;
    transition: var(--transition);
    box-shadow: 0 10px 24px rgba(57, 104, 150, 0.22);
}

.nav-link.cta-link:hover,
.nav-link.cta-link:focus,
.nav-link.cta-link.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(57, 104, 150, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(57, 104, 150, 0.14);
    border-radius: 14px;
    background: rgba(57, 104, 150, 0.06);
    cursor: pointer;
    gap: 6px;
    transition: var(--transition);
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger:hover,
.hamburger:focus {
    background: rgba(103, 187, 128, 0.14);
    border-color: rgba(103, 187, 128, 0.38);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
@media (max-width: 980px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 12px);
        left: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 24px 50px rgba(57, 104, 150, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 16px;
    }

    .nav-link.cta-link {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 12px;
    }

    .navbar.scrolled {
        padding: 8px 12px;
    }

    .nav-container {
        padding: 8px 10px;
        border-radius: 18px;
    }

    .nav-logo {
        padding: 6px 8px;
    }

    .logo-img {
        height: 40px;
        max-width: 140px;
    }

    .navbar.scrolled .logo-img {
        height: 38px;
    }

    .nav-menu {
        left: 12px;
        right: 12px;
    }

    .btn {
        min-height: 50px;
        padding: 12px 22px;
        font-size: 0.96em;
    }

    .btn-large {
        min-height: 56px;
        padding: 14px 28px;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    margin-top: 98px;
    padding: 88px 20px 96px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
    gap: clamp(36px, 6vw, 76px);
    align-items: center;
    min-height: calc(100dvh - 98px);
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 18%, rgba(103, 187, 128, 0.16), transparent 32%),
        linear-gradient(135deg, rgba(57, 104, 150, 0.08), rgba(103, 187, 128, 0.06) 52%, rgba(255, 255, 255, 0.86));
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        margin-top: 88px;
        min-height: auto;
        padding: 56px 20px 64px;
    }

    .hero-image {
        justify-self: stretch;
    }
}

.hero-content {
    max-width: 670px;
    animation: slideInLeft 0.8s ease-out;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    margin-bottom: 18px;
    padding: 7px 14px;
    border: 1px solid rgba(57, 104, 150, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--primary-color);
    box-shadow: 0 10px 28px rgba(57, 104, 150, 0.08);
    font-size: 0.78em;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-title {
    max-width: 12.4em;
    font-size: 4.35rem;
    font-weight: 800;
    line-height: 1.02;
    margin-bottom: 24px;
    color: var(--text-primary);
}

@media (max-width: 900px) {
    .hero-title {
        max-width: 11.5em;
        font-size: 3.1rem;
        line-height: 1.08;
    }
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    max-width: 620px;
    font-size: 1.16em;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
}

.hero-buttons .btn {
    min-width: 178px;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 600px;
}

.hero-proof-item {
    min-height: 88px;
    padding: 16px;
    border: 1px solid rgba(57, 104, 150, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 30px rgba(57, 104, 150, 0.08);
}

.hero-proof-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.55em;
    font-weight: 900;
    line-height: 1.1;
}

.hero-proof-item span {
    display: block;
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 0.88em;
    font-weight: 700;
    line-height: 1.35;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    max-width: 100%;
    padding: 14px 32px;
    border-radius: 50px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 800;
    font-size: 1em;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
    border-color: rgba(255, 255, 255, 0.28);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 38%),
        linear-gradient(135deg, var(--primary-color) 0%, #4584a1 48%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 16px 34px rgba(57, 104, 150, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary::after {
    content: '\2192';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.95em;
    line-height: 1;
    transition: transform 0.25s ease, background 0.25s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    color: white;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 20px 42px rgba(57, 104, 150, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:hover::after,
.btn-primary:focus::after {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.26);
}

.btn-secondary {
    border-color: rgba(57, 104, 150, 0.42);
    background: rgba(255, 255, 255, 0.76);
    color: var(--primary-color);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 12px 26px rgba(57, 104, 150, 0.08);
}

.btn-secondary:hover,
.btn-secondary:focus {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(57, 104, 150, 0.24);
}

.btn:focus-visible {
    outline: 3px solid rgba(103, 187, 128, 0.45);
    outline-offset: 4px;
}

.btn-large {
    min-height: 60px;
    padding: 17px 46px;
    font-size: 1.1em;
}

.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease-out;
    aspect-ratio: 3 / 2;
    width: min(100%, 720px);
    justify-self: end;
    border: 1px solid rgba(57, 104, 150, 0.16);
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(103, 187, 128, 0.1)),
        linear-gradient(135deg, rgba(57, 104, 150, 0.08), rgba(103, 187, 128, 0.08));
    box-shadow: 0 28px 70px rgba(57, 104, 150, 0.2);
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 14px;
    z-index: 1;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: var(--transition);
}

.hero-image picture,
.inner-page-hero-visual picture,
.service-detail-image picture,
.contact-image picture,
.contact-cta-panel picture,
.about-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 100px 20px;
    background: var(--background-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-header .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1em;
    color: var(--text-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.1), rgba(103, 187, 128, 0.1));
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon,
.feature-icon,
.stat-icon,
.value-icon,
.about-feature-item .icon {
    color: transparent;
    font-size: 0;
    line-height: 0;
}

.service-icon::before,
.feature-icon::before,
.stat-icon::before,
.value-icon::before,
.about-feature-item .icon::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background: currentColor;
    color: var(--secondary-color);
    -webkit-mask: var(--brg-icon) center / contain no-repeat;
    mask: var(--brg-icon) center / contain no-repeat;
}

.service-icon {
    margin-bottom: 15px;
}

.service-icon::before {
    width: 40px;
    height: 40px;
}

.service-card:nth-child(1) .service-icon {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='14' rx='2'/%3E%3Cpath d='M8 20h8'/%3E%3Cpath d='M12 18v2'/%3E%3C/svg%3E");
}

.service-card:nth-child(2) .service-icon {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3Cpath d='M8 11h6'/%3E%3Cpath d='M11 8v6'/%3E%3C/svg%3E");
}

.service-card:nth-child(3) .service-icon {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v4'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M3 12h4'/%3E%3Cpath d='M17 12h4'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='m16 8 2-2'/%3E%3Cpath d='m6 18 2-2'/%3E%3Cpath d='m8 8-2-2'/%3E%3Cpath d='m18 18-2-2'/%3E%3C/svg%3E");
}

.service-card:nth-child(4) .service-icon {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h8l-1 8 11-13h-8z'/%3E%3C/svg%3E");
}

.service-content h3 {
    font-size: 1.4em;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex: 1;
}

.service-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.service-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ============================================
   WHY US SECTION
   ============================================ */

.why-us {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.05), rgba(103, 187, 128, 0.05));
}

.why-us h2 {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    margin-bottom: 15px;
}

.feature-icon::before {
    width: 46px;
    height: 46px;
    color: var(--primary-color);
}

.feature {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.feature:nth-child(1) {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 3 7l9 4 9-4-9-4Z'/%3E%3Cpath d='M3 17l9 4 9-4'/%3E%3Cpath d='M3 12l9 4 9-4'/%3E%3C/svg%3E");
}

.feature:nth-child(2) {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 15 4-4 3 3 5-7'/%3E%3C/svg%3E");
}

.feature:nth-child(3) {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v4'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M3 12h4'/%3E%3Cpath d='M17 12h4'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3C/svg%3E");
}

.feature:nth-child(4) {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12h8'/%3E%3Cpath d='M12 8v8'/%3E%3C/svg%3E");
}

.feature:nth-child(5) {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h8l-1 8 11-13h-8z'/%3E%3C/svg%3E");
}

.feature:nth-child(6) {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
}

.feature h3 {
    font-size: 1.3em;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process {
    padding: 100px 20px;
    background: white;
}

.process h2 {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.process-card {
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.1), rgba(103, 187, 128, 0.1));
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.process-card:hover::before {
    transform: scaleX(1);
}

.process-number {
    font-size: 3em;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    opacity: 0.2;
}

.process-card h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.process-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.05), rgba(103, 187, 128, 0.05));
}

.portfolio h2 {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.12), rgba(103, 187, 128, 0.12));
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.portfolio-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover img,
.portfolio-item:focus-within img {
    transform: scale(1.04);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    color: white;
    background: linear-gradient(180deg, rgba(57, 104, 150, 0.04) 0%, rgba(17, 34, 50, 0.84) 100%);
}

.portfolio-overlay h3 {
    color: white;
    font-size: 1.25em;
    line-height: 1.25;
    margin-bottom: 8px;
}

.portfolio-overlay p {
    max-width: 95%;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92em;
    line-height: 1.55;
    margin-bottom: 58px;
}

.portfolio-link {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    color: var(--primary-color);
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-link,
.portfolio-item:focus-within .portfolio-link {
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-overlay {
        padding: 20px;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    padding: 100px 20px;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-left-color: var(--primary-color);
}

.stars {
    color: #ffc107;
    font-size: 1.2em;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.stars::before {
    content: '★★★★★';
}

.testimonial-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--primary-color);
    font-size: 1.1em;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9em;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-card {
    animation: fadeInUp 0.8s ease-out;
}

.stat-icon {
    margin-bottom: 15px;
}

.stat-icon::before {
    width: 44px;
    height: 44px;
    color: rgba(255, 255, 255, 0.9);
}

.stat-card:nth-child(1) {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l8-4v18'/%3E%3Cpath d='M19 21V11l-6-4'/%3E%3Cpath d='M9 9h1'/%3E%3Cpath d='M9 13h1'/%3E%3Cpath d='M9 17h1'/%3E%3C/svg%3E");
}

.stat-card:nth-child(2) {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 15 4-4 3 3 5-7'/%3E%3C/svg%3E");
}

.stat-card:nth-child(3) {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12h8'/%3E%3Cpath d='M12 8v8'/%3E%3C/svg%3E");
}

.stat-number {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1em;
    opacity: 0.9;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.1), rgba(103, 187, 128, 0.1));
    text-align: center;
}

.cta h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.cta p {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 0%, rgba(103, 187, 128, 0.3), transparent 34%),
        linear-gradient(135deg, #173d60 0%, var(--primary-color) 48%, #2f8c61 100%);
    color: white;
    padding: 80px 20px 24px;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.18;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 48px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(12px);
}

.footer-eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82em;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-top h2 {
    max-width: 720px;
    color: white;
    font-size: 2.15em;
    line-height: 1.25;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 999px;
    background: white;
    color: var(--primary-color);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    transition: var(--transition);
}

.footer-cta:hover,
.footer-cta:focus {
    color: white;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(170px, 1fr));
    gap: 34px;
    margin-bottom: 46px;
}

.footer-section h4 {
    font-size: 1.2em;
    margin-bottom: 18px;
    color: white;
}

.footer-logo {
    display: block;
    width: auto;
    height: 58px;
    max-width: 205px;
    object-fit: contain;
    margin-bottom: 18px;
    padding: 7px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
}

.footer-section p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.footer-brand p {
    max-width: 430px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.footer-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.82em;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(103, 187, 128, 0.12);
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-section a:hover::before,
.footer-section a:focus::before {
    background: white;
}

.footer-contact {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.footer-contact p {
    margin-bottom: 18px;
    font-size: 0.95em;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.92em;
}

.footer-bottom p {
    margin: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.45rem;
    }

    .section-header h2 {
        font-size: 2em;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        min-width: 0;
    }

    .hero-proof {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .hero-proof-item {
        min-height: 76px;
    }

    .btn {
        width: 100%;
    }

    .footer {
        padding: 60px 15px 22px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    .footer-top h2 {
        font-size: 1.65em;
    }

    .footer-cta {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-contact {
        padding: 22px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 15px;
    }

    .hero-eyebrow {
        margin-bottom: 14px;
        font-size: 0.75em;
    }

    .hero-image {
        max-height: 360px;
        justify-self: stretch;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1em;
        line-height: 1.65;
    }

    .section-header h2 {
        font-size: 1.8em;
    }

    .services {
        padding: 60px 15px;
    }

    .why-us {
        padding: 60px 15px;
    }

    .footer-top h2 {
        font-size: 1.45em;
    }

    .footer-logo {
        height: 50px;
        max-width: 175px;
    }

    .footer-section a {
        line-height: 1.45;
    }

    .process {
        padding: 60px 15px;
    }

    .portfolio {
        padding: 60px 15px;
    }

    .testimonials {
        padding: 60px 15px;
    }

    .stats {
        padding: 60px 15px;
    }

    .cta {
        padding: 60px 15px;
    }
}

/* ============================================
   SERVICES PAGE SPECIFIC STYLES
   ============================================ */

.services-page-header {
    padding-bottom: 75px;
}

.services-page-header h1 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.15;
}

.services-page-header .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-page-header p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.15em;
}

.services-intro {
    padding: 70px 20px;
    background: white;
}

.services-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 50px;
    align-items: center;
}

.eyebrow,
.service-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--secondary-color);
    font-size: 0.85em;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.services-intro h2,
.service-detail-content h2,
.services-cta h2 {
    color: var(--text-primary);
    line-height: 1.2;
}

.services-intro h2 {
    font-size: 2.4em;
}

.services-intro p {
    color: var(--text-secondary);
    font-size: 1.1em;
    line-height: 1.9;
}

.service-details {
    background: var(--background-color);
}

.service-detail {
    padding: 90px 20px;
    background: var(--background-color);
}

.service-detail-alt {
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.05), rgba(103, 187, 128, 0.05));
}

.service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 60px;
    align-items: center;
}

.service-detail-alt .service-detail-image {
    order: 2;
}

.service-detail-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.12), rgba(103, 187, 128, 0.12));
}

.service-detail-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.service-detail-image:hover img {
    transform: scale(1.04);
}

.service-detail-content h2 {
    font-size: 2.3em;
    margin-bottom: 18px;
}

.service-detail-content h3 {
    color: var(--primary-color);
    font-size: 1.2em;
    margin: 28px 0 12px;
}

.service-detail-content p {
    color: var(--text-secondary);
    font-size: 1.06em;
    line-height: 1.85;
    margin-bottom: 18px;
}

.service-list {
    list-style: none;
    margin-bottom: 8px;
}

.service-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.service-detail-content .btn {
    margin-top: 12px;
}

.services-cta {
    padding: 90px 20px;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.services-cta h2 {
    color: white;
    font-size: 2.6em;
    margin-bottom: 18px;
}

.services-cta p {
    max-width: 720px;
    margin: 0 auto 30px;
    font-size: 1.15em;
    line-height: 1.8;
    opacity: 0.95;
}

.services-cta .btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px) {
    .services-page-header {
        padding: 110px 20px 55px;
    }

    .services-page-header h1 {
        font-size: 2.35em;
    }

    .services-intro,
    .service-detail,
    .services-cta {
        padding: 60px 15px;
    }

    .services-intro-grid,
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .service-detail-alt .service-detail-image {
        order: 0;
    }

    .services-intro h2,
    .service-detail-content h2,
    .services-cta h2 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .services-page-header h1 {
        font-size: 2em;
    }

    .service-detail-content h2,
    .services-intro h2,
    .services-cta h2 {
        font-size: 1.75em;
    }
}

/* ============================================
   PORTFOLIO PAGE SPECIFIC STYLES
   ============================================ */

.portfolio-page-header {
    padding: 130px 20px 70px;
}

.portfolio-page-header .eyebrow {
    display: inline-block;
    margin-bottom: 16px;
}

.portfolio-page-header p {
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.15em;
    line-height: 1.8;
}

.portfolio-intro {
    padding: 70px 20px;
    background: var(--background-color);
}

.portfolio-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 60px;
    align-items: start;
}

.eyebrow {
    color: var(--secondary-color);
    font-size: 0.84em;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portfolio-intro h2 {
    font-size: 2.35em;
    line-height: 1.2;
    color: var(--primary-color);
    margin-top: 10px;
}

.portfolio-intro p {
    color: var(--text-secondary);
    font-size: 1.1em;
    line-height: 1.9;
}

.portfolio-page-main {
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.05), rgba(103, 187, 128, 0.05));
}

.portfolio-projects {
    padding: 90px 20px;
}

.portfolio-section-header {
    margin-bottom: 55px;
}

.portfolio-section-header p {
    max-width: 760px;
    margin: 12px auto 0;
}

.portfolio-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
    border: 1px solid rgba(57, 104, 150, 0.14);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(57, 104, 150, 0.09);
    transition: var(--transition);
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.12), rgba(103, 187, 128, 0.12));
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover,
.project-card:focus-within {
    transform: translateY(-7px);
    border-color: rgba(103, 187, 128, 0.42);
    box-shadow: 0 22px 44px rgba(57, 104, 150, 0.16);
}

.project-card:hover::before,
.project-card:focus-within::before {
    opacity: 1;
}

.project-card-featured {
    grid-column: auto;
    display: flex;
    grid-template-columns: none;
}

.project-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.12), rgba(103, 187, 128, 0.12));
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(57, 104, 150, 0), rgba(103, 187, 128, 0.2));
    opacity: 0;
    transition: var(--transition);
}

.project-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img,
.project-card:focus-within .project-image img {
    transform: scale(1.035);
}

.project-card:hover .project-image::after,
.project-card:focus-within .project-image::after {
    opacity: 1;
}

.project-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.project-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(103, 187, 128, 0.13);
    color: var(--primary-color);
    font-size: 0.78em;
    font-weight: 700;
    transition: var(--transition);
}

.project-card:hover .project-tags span,
.project-card:focus-within .project-tags span {
    background: rgba(57, 104, 150, 0.1);
}

.project-content h3,
.project-brand-panel h3 {
    color: var(--primary-color);
    font-size: 1.55em;
    line-height: 1.25;
    margin-bottom: 12px;
}

.project-content h3 {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    transition: background-position 0.45s ease;
}

.project-card:hover .project-content h3,
.project-card:focus-within .project-content h3 {
    background-position: 100% center;
    color: transparent;
}

.project-content p,
.project-brand-panel p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 22px;
}

.project-link {
    margin-top: auto;
}

.project-status {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid rgba(57, 104, 150, 0.18);
    border-radius: 999px;
    color: var(--primary-color);
    font-size: 0.92em;
    font-weight: 700;
    background: rgba(57, 104, 150, 0.06);
}

.project-card-branded {
    background: white;
}

.project-brand-panel {
    position: relative;
    z-index: 2;
    min-height: 260px;
    padding: 34px 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.project-brand-panel h3,
.project-brand-panel p {
    color: white;
}

.project-brand-panel p {
    opacity: 0.95;
    margin-bottom: 0;
}

.project-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 26px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    font-size: 1.35em;
    font-weight: 800;
}

.portfolio-cta {
    padding: 90px 20px;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.portfolio-cta h2 {
    color: white;
    font-size: 2.55em;
    margin-bottom: 18px;
}

.portfolio-cta p {
    max-width: 720px;
    margin: 0 auto 30px;
    font-size: 1.15em;
    line-height: 1.8;
    opacity: 0.95;
}

.portfolio-cta .btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

@media (max-width: 1024px) {
    .portfolio-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .portfolio-page-header {
        padding: 110px 20px 55px;
    }

    .portfolio-page-header h1 {
        font-size: 2.25em;
    }

    .portfolio-intro,
    .portfolio-projects,
    .portfolio-cta {
        padding: 60px 15px;
    }

    .portfolio-intro-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .portfolio-intro h2,
    .portfolio-cta h2 {
        font-size: 2em;
    }

    .portfolio-showcase-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project-card-featured {
        grid-template-columns: 1fr;
    }

    .project-content,
    .project-brand-panel {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .portfolio-page-header h1 {
        font-size: 1.95em;
    }

    .portfolio-intro h2,
    .portfolio-cta h2 {
        font-size: 1.72em;
    }

    .project-content h3,
    .project-brand-panel h3 {
        font-size: 1.35em;
    }
}

/* ============================================
   BLOG PAGE
   ============================================ */

.blog-page-header {
    padding: 130px 20px 70px;
}

.blog-featured {
    padding: 80px 20px;
    background: var(--background-color);
}

.featured-article-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(57, 104, 150, 0.14);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
    box-shadow: 0 18px 45px rgba(57, 104, 150, 0.12);
}

.featured-article-image {
    min-height: 430px;
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.12), rgba(103, 187, 128, 0.12));
}

.featured-article-image picture,
.featured-article-image img,
.blog-card-image picture,
.blog-card-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.featured-article-image img,
.blog-card-image img {
    object-fit: cover;
}

.featured-article-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 46px;
}

.blog-label {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(103, 187, 128, 0.14);
    color: var(--primary-color);
    font-size: 0.78em;
    font-weight: 800;
    text-transform: uppercase;
}

.blog-meta,
.blog-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: var(--text-light);
    font-size: 0.92em;
    font-weight: 700;
}

.blog-meta {
    margin-bottom: 16px;
}

.featured-article-content h2 {
    color: var(--primary-color);
    font-size: 2.25em;
    line-height: 1.18;
    margin-bottom: 18px;
}

.featured-article-content p {
    color: var(--text-secondary);
    font-size: 1.08em;
    line-height: 1.85;
    margin-bottom: 28px;
}

.blog-articles {
    padding: 90px 20px;
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.05), rgba(103, 187, 128, 0.05));
}

.blog-section-header {
    margin-bottom: 30px;
}

.blog-category-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 42px;
}

.blog-category-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid rgba(57, 104, 150, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--primary-color);
    font-size: 0.92em;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
}

.blog-category-filter a:hover,
.blog-category-filter a:focus,
.blog-category-filter a.active {
    border-color: rgba(103, 187, 128, 0.44);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-2px);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(57, 104, 150, 0.14);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
    box-shadow: 0 10px 28px rgba(57, 104, 150, 0.09);
    transition: var(--transition);
}

.blog-card:hover,
.blog-card:focus-within {
    transform: translateY(-7px);
    border-color: rgba(103, 187, 128, 0.42);
    box-shadow: 0 22px 44px rgba(57, 104, 150, 0.16);
}

.blog-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.12), rgba(103, 187, 128, 0.12));
}

.blog-card-image img {
    transition: var(--transition);
}

.blog-card:hover .blog-card-image img,
.blog-card:focus-within .blog-card-image img {
    transform: scale(1.035);
}

.blog-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
}

.blog-card-content h3 {
    color: var(--primary-color);
    font-size: 1.35em;
    line-height: 1.3;
    margin-bottom: 12px;
}

.blog-card-content p {
    color: var(--text-secondary);
    line-height: 1.78;
    margin-bottom: 18px;
}

.blog-card-footer {
    margin-top: auto;
    padding-top: 4px;
}

.blog-read-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 16px;
    color: var(--secondary-color);
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
}

.blog-read-link:hover,
.blog-read-link:focus {
    color: var(--primary-color);
}

.blog-cta {
    padding: 90px 20px;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.blog-cta h2 {
    max-width: 820px;
    margin: 0 auto 18px;
    color: white;
    font-size: 2.45em;
    line-height: 1.2;
}

.blog-cta p {
    max-width: 720px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.15em;
    line-height: 1.8;
}

.blog-cta .btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-article-content {
        padding: 36px;
    }
}

@media (max-width: 768px) {
    .blog-page-header {
        padding: 110px 20px 55px;
    }

    .blog-featured,
    .blog-articles,
    .blog-cta {
        padding: 60px 15px;
    }

    .featured-article-card,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .featured-article-image {
        min-height: auto;
        aspect-ratio: 16 / 10;
    }

    .featured-article-content {
        padding: 28px;
    }

    .featured-article-content h2,
    .blog-cta h2 {
        font-size: 1.95em;
    }

    .blog-category-filter {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .blog-category-filter a {
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .featured-article-content h2,
    .blog-cta h2 {
        font-size: 1.7em;
    }

    .blog-card-content {
        padding: 23px;
    }

    .blog-card-content h3 {
        font-size: 1.22em;
    }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.page-header.contact-page-header {
    padding: 130px 20px 75px;
}

.page-header.contact-page-header .eyebrow {
    display: inline-block;
    margin-bottom: 16px;
}

.page-header.contact-page-header h1 {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.page-header.contact-page-header p {
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.contact-intro,
.contact-fit {
    padding: 80px 20px;
    background: white;
}

.contact-intro-grid,
.contact-fit-grid,
.contact-cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.contact-copy h2,
.contact-cta h2 {
    color: var(--text-primary);
    font-size: 2.35em;
    line-height: 1.2;
    margin-bottom: 18px;
}

.contact-copy p,
.contact-cta p {
    color: var(--text-secondary);
    font-size: 1.08em;
    line-height: 1.9;
    margin-bottom: 16px;
}

.contact-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-image img,
.contact-cta-panel img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.contact-methods {
    padding: 90px 20px;
    scroll-margin-top: 120px;
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.05), rgba(103, 187, 128, 0.05));
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100%;
    padding: 32px;
    border: 1px solid rgba(57, 104, 150, 0.12);
    border-radius: 18px;
    background: white;
    box-shadow: 0 14px 30px rgba(57, 104, 150, 0.08);
    transition: var(--transition);
}

.contact-card:hover,
.contact-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(103, 187, 128, 0.42);
    box-shadow: var(--shadow-hover);
}

.contact-card-featured {
    border-color: rgba(103, 187, 128, 0.36);
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.06), rgba(103, 187, 128, 0.08));
}

.contact-card-label {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(103, 187, 128, 0.14);
    color: var(--primary-color);
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-card h3,
.contact-fit-card h3 {
    color: var(--primary-color);
    font-size: 1.35em;
    margin-bottom: 12px;
}

.contact-card p,
.contact-fit-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-card .btn {
    margin-top: auto;
}

.contact-card p + .btn {
    margin-top: 24px;
}

.contact-fit {
    background: var(--background-color);
}

.contact-fit-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.contact-fit-card {
    padding: 24px;
    border: 1px solid rgba(57, 104, 150, 0.12);
    border-radius: 16px;
    background: white;
    box-shadow: 0 10px 24px rgba(57, 104, 150, 0.07);
}

.contact-cta {
    padding: 90px 20px;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.contact-cta h2,
.contact-cta p,
.contact-cta .eyebrow {
    color: white;
}

.contact-cta p {
    max-width: 680px;
    opacity: 0.9;
}

.contact-cta-panel {
    overflow: hidden;
    border-radius: 20px;
    background: white;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
}

.contact-cta-panel .btn {
    width: calc(100% - 40px);
    margin: 20px;
}

@media (max-width: 900px) {
    .page-header.contact-page-header {
        padding: 110px 20px 60px;
    }

    .page-header.contact-page-header h1 {
        font-size: 2.35em;
    }

    .contact-intro,
    .contact-fit,
    .contact-methods,
    .contact-cta {
        padding: 60px 15px;
    }

    .contact-intro-grid,
    .contact-fit-grid,
    .contact-cta-grid,
    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .contact-copy h2,
    .contact-cta h2 {
        font-size: 2em;
    }
}

@media (max-width: 560px) {
    .page-header.contact-page-header h1 {
        font-size: 1.95em;
    }

    .contact-hero-actions,
    .contact-hero-actions .btn {
        width: 100%;
    }

    .contact-card,
    .contact-fit-card {
        padding: 24px;
    }

    .contact-fit-list {
        grid-template-columns: 1fr;
    }

    .contact-copy h2,
    .contact-cta h2 {
        font-size: 1.72em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .hero-image,
    .navbar,
    .nav-container,
    .nav-logo,
    .logo-img,
    .nav-menu,
    .nav-link,
    .hamburger,
    .hamburger span,
    .btn,
    .btn-primary::after,
    .portfolio-item,
    .portfolio-item img,
    .project-card,
    .project-card::before,
    .project-image::after,
    .project-image img,
    .project-tags span,
    .project-content h3,
    .hero-image img,
    .contact-card {
        transition: none;
        animation: none;
    }

    .project-card:hover,
    .project-card:focus-within,
    .hero-image:hover img,
    .nav-logo:hover,
    .nav-logo:focus,
    .nav-link.cta-link:hover,
    .nav-link.cta-link:focus,
    .btn:hover,
    .btn:focus,
    .portfolio-item:hover,
    .portfolio-item:hover img,
    .portfolio-item:focus-within img,
    .project-card:hover .project-image img,
    .project-card:focus-within .project-image img,
    .contact-card:hover,
    .contact-card:focus-within {
        transform: none;
    }

    .project-card:hover .project-content h3,
    .project-card:focus-within .project-content h3 {
        color: var(--primary-color);
    }
}

/* ============================================
   ABOUT PAGE SPECIFIC STYLES
   ============================================ */

.page-header {
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.08), rgba(103, 187, 128, 0.08));
    text-align: center;
}

.page-header h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.page-header.inner-page-hero {
    position: relative;
    overflow: hidden;
    padding: 130px 20px 78px;
    text-align: left;
    background:
        radial-gradient(circle at 88% 18%, rgba(103, 187, 128, 0.18), transparent 28%),
        radial-gradient(circle at 8% 10%, rgba(57, 104, 150, 0.12), transparent 32%),
        linear-gradient(135deg, rgba(57, 104, 150, 0.08), rgba(103, 187, 128, 0.08));
}

.page-header.inner-page-hero::before {
    content: '';
    position: absolute;
    inset: auto -8% -48% 46%;
    height: 72%;
    border-radius: 50%;
    background: rgba(57, 104, 150, 0.08);
    pointer-events: none;
}

.inner-page-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 54px;
    align-items: center;
}

.inner-page-hero-content {
    max-width: 660px;
}

.page-header.inner-page-hero .eyebrow {
    margin-bottom: 16px;
}

.page-header.inner-page-hero h1 {
    max-width: 700px;
    margin: 0 0 18px;
    color: var(--text-primary);
    font-size: clamp(2.35rem, 4.1vw, 4.35rem);
    line-height: 1.08;
}

.page-header.inner-page-hero .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header.inner-page-hero p {
    max-width: 630px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.12em;
    line-height: 1.8;
}

.inner-page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 30px;
}

.inner-page-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.inner-page-hero-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid rgba(57, 104, 150, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--primary-color);
    font-size: 0.9em;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(57, 104, 150, 0.08);
}

.inner-page-hero-visual {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62));
    box-shadow: 0 24px 54px rgba(57, 104, 150, 0.2);
}

.inner-page-hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-page-header .inner-page-hero-visual img {
    object-position: center;
}

.portfolio-page-header .inner-page-hero-visual img,
.contact-page-header .inner-page-hero-visual img {
    object-position: center right;
}

@media (max-width: 980px) {
    .page-header.inner-page-hero {
        padding: 112px 20px 62px;
    }

    .inner-page-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .inner-page-hero-content {
        max-width: 760px;
    }

    .inner-page-hero-visual {
        max-height: 430px;
    }
}

@media (max-width: 560px) {
    .page-header.inner-page-hero {
        padding: 104px 15px 52px;
    }

    .page-header.inner-page-hero h1 {
        font-size: 2rem;
    }

    .page-header.inner-page-hero p {
        font-size: 1em;
    }

    .inner-page-hero-actions,
    .inner-page-hero-actions .btn {
        width: 100%;
    }

    .inner-page-hero-proof {
        gap: 8px;
    }

    .inner-page-hero-proof span {
        min-height: 34px;
        padding: 7px 12px;
        font-size: 0.84em;
    }

    .inner-page-hero-visual {
        max-height: 340px;
        border-radius: 18px;
    }
}

.about-section {
    padding: 80px 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-grid.reverse {
    direction: ltr;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-grid.reverse {
        display: flex;
        flex-direction: column-reverse;
    }
}

.about-text h2 {
    font-size: 2.5em;
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--text-secondary);
}

.about-features {
    margin-top: 30px;
}

.about-feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.about-feature-item .icon {
    background: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.about-feature-item .icon::before {
    width: 30px;
    height: 30px;
    color: var(--secondary-color);
}

.about-feature-item:nth-child(1) {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18'/%3E%3Cpath d='M3 12h18'/%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3C/svg%3E");
}

.about-feature-item:nth-child(2) {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.about-feature-item h4 {
    font-size: 1.2em;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.values-section {
    padding: 80px 20px;
    background: #f9f9f9;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    margin-bottom: 20px;
}

.value-icon::before {
    width: 46px;
    height: 46px;
    color: var(--primary-color);
}

.value-card:nth-child(1) {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v4'/%3E%3Cpath d='M12 18v4'/%3E%3Cpath d='m4.93 4.93 2.83 2.83'/%3E%3Cpath d='m16.24 16.24 2.83 2.83'/%3E%3Cpath d='M2 12h4'/%3E%3Cpath d='M18 12h4'/%3E%3Cpath d='m4.93 19.07 2.83-2.83'/%3E%3Cpath d='m16.24 7.76 2.83-2.83'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E");
}

.value-card:nth-child(2) {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3Cpath d='M14 6h6v6'/%3E%3C/svg%3E");
}

.value-card:nth-child(3) {
    --brg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 15 4-4 3 3 5-7'/%3E%3C/svg%3E");
}

.check-list {
    list-style: none;
    margin-bottom: 30px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--text-secondary);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Animations */
.about-text, .about-image, .value-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* ============================================
   DARK MODE STYLES
   ============================================ */

body.dark-mode {
    --background-color: #121212;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --border-color: #333333;
    background-color: var(--background-color);
    color: var(--text-primary);
}

body.dark-mode .navbar {
    background: transparent;
}

body.dark-mode .nav-container,
body.dark-mode .navbar.scrolled .nav-container {
    border-color: rgba(103, 187, 128, 0.18);
    background: rgba(18, 18, 18, 0.9);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}

body.dark-mode .nav-logo {
    background: rgba(255, 255, 255, 0.92);
}

body.dark-mode .nav-menu {
    border-color: rgba(103, 187, 128, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

body.dark-mode .hamburger {
    border-color: rgba(103, 187, 128, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

body.dark-mode .hamburger span {
    background: #e0e0e0;
}

body.dark-mode .service-card, 
body.dark-mode .feature, 
body.dark-mode .process-card, 
body.dark-mode .testimonial-card, 
body.dark-mode .value-card,
body.dark-mode .project-card,
body.dark-mode .featured-article-card,
body.dark-mode .blog-card,
body.dark-mode .about-feature-item .icon {
    background: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .hero,
body.dark-mode .why-us,
body.dark-mode .page-header {
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.15), rgba(103, 187, 128, 0.15));
}

body.dark-mode .hero-eyebrow,
body.dark-mode .hero-proof-item {
    border-color: rgba(103, 187, 128, 0.2);
    background: rgba(30, 30, 30, 0.82);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

body.dark-mode .hero-proof-item strong {
    color: #8dd9a1;
}

body.dark-mode .hero-image {
    border-color: rgba(103, 187, 128, 0.2);
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.18), rgba(103, 187, 128, 0.12));
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

body.dark-mode .services-intro,
body.dark-mode .portfolio-intro,
body.dark-mode .blog-featured,
body.dark-mode .contact-intro,
body.dark-mode .contact-fit,
body.dark-mode .service-detail {
    background: var(--background-color);
}

body.dark-mode .portfolio-page-main,
body.dark-mode .blog-articles,
body.dark-mode .contact-methods {
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.15), rgba(103, 187, 128, 0.15));
}

body.dark-mode .service-detail-alt {
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.15), rgba(103, 187, 128, 0.15));
}

body.dark-mode .values-section {
    background: #181818;
}

body.dark-mode .contact-card,
body.dark-mode .contact-fit-card {
    border-color: rgba(103, 187, 128, 0.16);
    background: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .contact-card-featured {
    background: linear-gradient(135deg, rgba(57, 104, 150, 0.2), rgba(103, 187, 128, 0.16));
}

body.dark-mode .contact-card-label {
    background: rgba(103, 187, 128, 0.18);
    color: #e0e0e0;
}

body.dark-mode .blog-category-filter a,
body.dark-mode .blog-label {
    border-color: rgba(103, 187, 128, 0.18);
    background: rgba(255, 255, 255, 0.07);
    color: #e0e0e0;
}

body.dark-mode .blog-category-filter a:hover,
body.dark-mode .blog-category-filter a:focus,
body.dark-mode .blog-category-filter a.active {
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

body.dark-mode .footer {
    background:
        radial-gradient(circle at 15% 0%, rgba(103, 187, 128, 0.18), transparent 34%),
        linear-gradient(135deg, #0a0a0a 0%, #132435 52%, #113321 100%);
}

body.dark-mode .nav-link {
    color: #e0e0e0;
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-link:focus,
body.dark-mode .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.09);
}

@media (max-width: 980px) {
    body.dark-mode .nav-menu {
        background: rgba(18, 18, 18, 0.96);
    }
}
