/* Calm Motion Theme - Premium Light Palette with Engaging Animations */

:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface2: #f4f6f8;
    --text: #0D182D;
    --muted: #5b6476;
    --line: #D6D9E1;
    --brand: #0D182D;
    --brand2: #1F2A44;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    --shadow2: 0 10px 24px rgba(15, 23, 42, 0.08);
    --r: 18px;
    --r2: 14px;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --dur: 650ms;
}

/* Body Background */
body {
    background:
        radial-gradient(ellipse at top right, rgba(31, 42, 68, 0.08), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(214, 217, 225, 0.20), transparent 50%),
        linear-gradient(135deg, #f6f8fb 0%, #ffffff 100%);
    min-height: 100vh;
}

.fa-spin {
    display: inline-block;
    animation: fa-spin 1s linear infinite;
}

@keyframes fa-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Header */
.header,
.header2 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13, 24, 45, 0.08);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: all var(--dur) var(--ease);
}

.header.is-scrolled,
.header2.is-scrolled {
    background: #ffffff;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    border-bottom-color: rgba(13, 24, 45, 0.10);
}

.header .nav-brand .logo,
.header2 .nav-brand .logo {
    color: #ffffff;
}

.header.is-scrolled .nav-brand .logo,
.header2.is-scrolled .nav-brand .logo {
    color: var(--brand);
}

/* Navbar Links */
.nav-menu .nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--r2);
    position: relative;
    border: 1px solid transparent;
    font-weight: 700;
}

.nav-menu .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

.nav-menu .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
}

.nav-menu .nav-link.active::after {
    display: none;
}

.header .hamburger span,
.header2 .hamburger span {
    background: #ffffff;
}

body.no-hero .hamburger span {
    background: #ffffff;
}

.header.is-scrolled .hamburger span,
.header2.is-scrolled .hamburger span {
    background: var(--text);
}

.hamburger i {
    color: #ffffff;
}

.header.is-scrolled .hamburger i,
.header2.is-scrolled .hamburger i {
    color: var(--text);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        gap: 5px;
        padding: 6px;
        z-index: 1200;
    }

    .hamburger span {
        width: 26px;
        height: 3px;
        border-radius: 999px;
        background: #ffffff;
    }

    .hamburger i {
        font-size: 26px;
        color: #ffffff;
    }

    .header.is-scrolled .hamburger span,
    .header2.is-scrolled .hamburger span {
        background: var(--text);
    }

    .header.is-scrolled .hamburger i,
    .header2.is-scrolled .hamburger i {
        color: var(--text);
    }
}

body.no-hero .header:not(.is-scrolled),
body.no-hero .header2:not(.is-scrolled) {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    border-bottom: 1px solid rgba(13, 24, 45, 0.08);
}

body.no-hero .nav-brand .logo {
    color: #ffffff;
}

body.no-hero .nav-menu .nav-link {
    color: #ffffff;
}

body.no-hero .nav-menu .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.24);
}

body.no-hero .nav-menu .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
}

/* Scrolled state text colors */
.header.is-scrolled .nav-menu .nav-link,
.header2.is-scrolled .nav-menu .nav-link {
    color: var(--text);
}

.header.is-scrolled .nav-menu .nav-link:hover,
.header2.is-scrolled .nav-menu .nav-link:hover {
    color: var(--brand2);
    background: rgba(31, 42, 68, 0.08);
    border-color: rgba(31, 42, 68, 0.16);
}

.header.is-scrolled .nav-menu .nav-link.active,
.header2.is-scrolled .nav-menu .nav-link.active {
    color: var(--text);
    background: rgba(13, 24, 45, 0.08);
    border-color: rgba(13, 24, 45, 0.16);
}

.header.is-scrolled .nav-contact .contact-btn,
.header2.is-scrolled .nav-contact .contact-btn {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #ffffff;
}

/* Contact Button */
.contact-btn,
.btn {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--r2);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
}

.contact-btn::after,
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.contact-btn:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact-btn:hover::after,
.btn:hover::after {
    left: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-carousel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    opacity: 0;
    transform: scale(1.05);
    will-change: opacity, transform, object-position;
    transition: opacity 1.1s ease;
}

.hero-carousel img.is-active {
    opacity: 1;
    animation: heroImageZoomIn 5.5s ease-out forwards;
}

.hero-carousel img.is-exit {
    opacity: 0;
    transform: scale(1.16);
    animation: none;
}

.hero>img,
.hero-media img {
    animation: heroImageZoomInAlt 14s ease-in-out infinite alternate;
}

@keyframes heroImageZoomIn {
    0% {
        transform: scale(1.05);
        object-position: 50% 50%;
    }

    100% {
        transform: scale(1.16);
        object-position: 52% 49%;
    }
}

@keyframes heroImageZoomInAlt {
    0% {
        transform: scale(1.05);
        object-position: 50% 50%;
    }

    50% {
        transform: scale(1.1);
        object-position: 53% 48%;
    }

    100% {
        transform: scale(1.14);
        object-position: 48% 52%;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    /* background: rgba(255, 255, 255, 0.8); */
    backdrop-filter: blur(0px);
    /* border: 1px solid var(--line); */
    /* border-radius: var(--r); */
    padding: 40px;
    /* box-shadow: var(--shadow2); */
    position: relative;
    z-index: 2;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: 0;
    min-height: 100vh;
    z-index: 1;
}

.hero-media img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    transition: transform var(--dur) var(--ease);
}

.hero-media:hover img {
    transform: scale(1.05);
}

/* Animated Blobs */
.hero .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.55;
    animation: floaty 9s alternate infinite;
    z-index: 0;
}

.hero .blob.b1 {
    right: -220px;
    top: -180px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(43, 179, 163, 0.4), transparent);
}

.hero .blob.b2 {
    left: -240px;
    top: -120px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(91, 141, 239, 0.4), transparent);
    animation-delay: -3s;
}

@keyframes floaty {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -20px) scale(1.1);
    }
}

.hero-media .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: var(--r2);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand);
    transition: all var(--dur) var(--ease);
}

.hero-media:hover .badge {
    transform: translateY(-2px);
    box-shadow: var(--shadow2);
}

/* Service Details */
.service-detail {
    margin-bottom: 80px;
    position: relative;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, var(--surface), var(--surface2));
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 50px;
    box-shadow: var(--shadow2);
    transition: all var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
}

.service-detail-content.reverse {
    direction: rtl;
}

.service-detail-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    transform: scaleX(0);
    transition: transform var(--dur) var(--ease);
}

.service-detail:hover .service-detail-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(43, 179, 163, 0.2);
}

.service-detail:hover .service-detail-content::before {
    transform: scaleX(1);
}

.service-detail-text h2 {
    color: var(--text);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
}

.service-detail-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    border-radius: 2px;
}

.service-detail-text p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.service-detail-text h3 {
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 25px;
}

.service-detail-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-detail-text ul li {
    color: var(--muted);
    padding: 8px 0;
    padding-right: 25px;
    position: relative;
    transition: color var(--dur) var(--ease);
}

.service-detail-text ul li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--brand);
    font-weight: bold;
    font-size: 1.1rem;
}

.service-detail-text ul li:hover {
    color: var(--text);
    padding-right: 30px;
}

.service-cta {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.service-detail-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--r2);
    box-shadow: var(--shadow2);
    transition: all var(--dur) var(--ease);
}

.service-detail-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform var(--dur) var(--ease);
}

.service-detail:hover .service-detail-image {
    transform: scale(1.02);
    box-shadow: var(--shadow);
}

.service-detail:hover .service-detail-image img {
    transform: scale(1.05);
}

/* Cards */
.service-card,
.feature-card,
.team-member {
    background: linear-gradient(135deg, var(--surface), var(--surface2));
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 30px;
    box-shadow: var(--shadow2);
    transition: all var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
    min-width: 0;
    height: 100%;
}

.service-card::before,
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    transform: scaleX(0);
    transition: transform var(--dur) var(--ease);
}

.service-card:hover,
.feature-card:hover,
.team-member:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(43, 179, 163, 0.2);
}

.service-card:hover::before,
.feature-card:hover::before {
    transform: scaleX(1);
}

/* Additional Services */
.additional-services {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--surface2), var(--surface));
}

.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.additional-service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 30px;
    text-align: center;
    transition: all var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
    min-width: 0;
    height: 100%;
}

.additional-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    transform: scaleX(0);
    transition: transform var(--dur) var(--ease);
}

.additional-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(43, 179, 163, 0.2);
}

.additional-service-card:hover::before {
    transform: scaleX(1);
}

.additional-service-card .service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin: 0 auto 20px;
    transition: all var(--dur) var(--ease);
}

.additional-service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(43, 179, 163, 0.3);
}

.additional-service-card h3 {
    color: var(--text);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.additional-service-card p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Process Section */
.process {
    padding: 80px 0;
    background: var(--surface);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--surface), var(--surface2));
    border: 1px solid var(--line);
    border-radius: var(--r);
    transition: all var(--dur) var(--ease);
    position: relative;
    min-width: 0;
    height: 100%;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(43, 179, 163, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
    transition: all var(--dur) var(--ease);
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(43, 179, 163, 0.3);
}

.step h3 {
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.step p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Service Icon */
.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all var(--dur) var(--ease);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Feature Icon */
.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    border-radius: var(--r2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
    transition: all var(--dur) var(--ease);
}

.why-feature:hover .feature-icon {
    transform: scale(1.1);
}

/* Team Member */
.team-member {
    text-align: center;
}

.member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--surface);
    box-shadow: var(--shadow2);
    transition: all var(--dur) var(--ease);
}

.team-member:hover .member-image {
    transform: scale(1.05);
    border-color: var(--brand);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Scroll Reveal */
.js-ready .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.reveal {
    opacity: 1;
    transform: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

body:not(.js-ready) .reveal {
    opacity: 1;
    transform: none;
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

.reveal.d2 {
    transition-delay: 120ms;
}

.reveal.d3 {
    transition-delay: 220ms;
}

.reveal.d4 {
    transition-delay: 320ms;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--text);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--muted);
    font-size: 1.1rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #0D182D 0%, #1F2A44 100%);
    padding: 90px 0;
    text-align: center;
    color: #f8fdff;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 10% 20%, rgba(255, 255, 255, 0.18), transparent 60%),
        radial-gradient(480px 260px at 90% 70%, rgba(255, 255, 255, 0.12), transparent 65%);
    opacity: 0.9;
    pointer-events: none;
}

.cta::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(1, 20, 24, 0.3);
}

.cta p {
    font-size: 1.15rem;
    margin-bottom: 32px;
    color: rgba(248, 253, 255, 0.85);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background: #ffffff;
    color: #0D182D;
    font-size: 1.05rem;
    padding: 14px 38px;
    border-radius: 999px;
    box-shadow: 0 16px 32px rgba(3, 26, 32, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.cta .btn:hover {
    background: #D6D9E1;
    color: #0D182D;
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(3, 26, 32, 0.24);
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 60px 0 30px;
}

.footer-section h4 {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--muted);
    text-decoration: none;
    transition: color var(--dur) var(--ease);
}

.footer-section ul li a:hover {
    color: var(--brand);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: var(--r2);
}

.footer-logo h3 {
    color: var(--text);
    font-size: 1.3rem;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--surface2);
    border: 1px solid var(--line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 18px;
    text-decoration: none;
    transition: all var(--dur) var(--ease);
}

.social-links a i {
    font-size: 18px;
    line-height: 1;
    width: 1em;
    height: 1em;
    display: block;
}

.social-links a:hover {
    background: var(--brand);
    color: white;
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--surface2), var(--surface));
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 50px;
    box-shadow: var(--shadow2);
    transition: all var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper:hover,
.contact-info-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(43, 179, 163, 0.2);
}

.contact-form-wrapper::before,
.contact-info-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    transform: scaleX(0);
    transition: transform var(--dur) var(--ease);
}

.contact-form-wrapper:hover::before,
.contact-info-wrapper:hover::before {
    transform: scaleX(1);
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    color: var(--text);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
}

.contact-form-wrapper h2::after,
.contact-info-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    border-radius: 2px;
}

.contact-form-wrapper p,
.contact-info-wrapper p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--line);
    border-radius: var(--r2);
    font-size: 1rem;
    transition: all var(--dur) var(--ease);
    background: var(--surface);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(43, 179, 163, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brand);
}

.form-checkbox label {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-checkbox a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

/* Contact Info Items */
.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, var(--surface), var(--surface2));
    border: 1px solid var(--line);
    border-radius: var(--r2);
    transition: all var(--dur) var(--ease);
}

.contact-info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    border-color: rgba(43, 179, 163, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all var(--dur) var(--ease);
}

.contact-info-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(43, 179, 163, 0.3);
}

.contact-details h3 {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-details p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 5px;
}

.contact-details a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--dur) var(--ease);
}

.contact-details a:hover {
    color: var(--brand2);
    text-decoration: underline;
}

/* Social Media Section */
.social-media-section {
    margin-top: 30px;
}

.social-media-section h3 {
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--dur) var(--ease);
}

.social-link:hover {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 179, 163, 0.3);
}

.social-link i {
    font-size: 1.1rem;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--surface);
}

.map-container {
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--shadow2);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--surface2), var(--surface));
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all var(--dur) var(--ease);
}

.faq-item:hover {
    box-shadow: var(--shadow2);
    border-color: rgba(43, 179, 163, 0.2);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--dur) var(--ease);
}

.faq-question:hover {
    background: rgba(43, 179, 163, 0.05);
}

.faq-question h3 {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: var(--brand);
    font-size: 1.1rem;
    transition: transform var(--dur) var(--ease);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur) var(--ease);
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    .hero .blob {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Responsive Design */
@media (max-width: 980px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 15px;
    }

    .hero-text {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }

    .service-detail-content.reverse {
        direction: ltr;
    }

    .additional-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .header,
    .header2 {
        z-index: 1300;
        background: rgba(255, 255, 255, 0.55);
        backdrop-filter: blur(12px);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
        border-bottom: 1px solid rgba(13, 24, 45, 0.08);
    }

    .header.is-scrolled,
    .header2.is-scrolled {
        background: #ffffff;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
        border-bottom: 1px solid rgba(13, 24, 45, 0.10);
    }

    .hero {
        margin-top: 0;
        padding-top: 110px;
    }

    .nav-menu {
        background: #ffffff;
        z-index: 1200;
        border-top: 1px solid rgba(13, 24, 45, 0.08);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu.active {
        transform: translateX(0) !important;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu .nav-link {
        color: var(--brand);
        border: 1px solid transparent;
    }

    .nav-menu .nav-link:hover {
        color: var(--brand2);
        background: rgba(31, 42, 68, 0.08);
        border-color: rgba(31, 42, 68, 0.16);
    }

    .nav-menu .nav-link.active {
        color: var(--brand);
        background: rgba(13, 24, 45, 0.08);
        border-color: rgba(13, 24, 45, 0.16);
    }

    body.no-hero .nav-menu .nav-link {
        color: var(--text);
    }

    body.no-hero .nav-menu .nav-link.active {
        color: var(--brand);
    }

    .hamburger {
        position: relative;
        z-index: 1400;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }
}

@media (max-width: 620px) {
    .hero {
        min-height: 100vh;
        margin-top: 0;
        padding-top: 110px;
        padding-bottom: 0;
    }

    .hero-content {
        padding: 0 10px;
        position: relative;
        z-index: 2;
    }

    .hero-text {
        padding: 30px 20px;
        background: transparent;
    }

    .hero-text h1,
    .hero-text h2,
    .hero-text p,
    .hero-description {
        color: #fff;
    }

    .hero-badge span {
        color: #fff;
    }

    .hero-media {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }

    .hero-media img {
        height: 100vh;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero-stat {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 30px 20px;
    }

    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 1.5rem;
    }

    .social-links {
        flex-direction: column;
        gap: 10px;
    }

    .social-link {
        justify-content: center;
    }

    .map-container {
        height: 300px;
    }

    .service-detail-content {
        padding: 30px 20px;
        gap: 30px;
    }

    .service-detail-text h2 {
        font-size: 1.5rem;
    }

    .service-detail-image img {
        height: 200px;
    }

    .service-cta {
        flex-direction: column;
        gap: 10px;
    }

    .additional-services-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .nav-contact {
        display: flex;
        align-items: center;
    }

    .nav-contact .contact-btn {
        width: 42px;
        height: 42px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        gap: 0;
    }

    .nav-contact .contact-btn span {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .services-grid,
    .features-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .nav-menu .nav-link {
        color: var(--brand);
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 2rem;
    }
}

/* Grid Layouts */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

@media (max-width: 980px) {

    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-grid,
    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {

    .services-grid,
    .features-grid,
    .team-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .nav-menu .nav-link {
        color: var(--text);
    }
}

/* Typography Updates */
h1,
h2,
h3 {
    color: var(--text);
}

p {
    color: var(--muted);
    line-height: 1.7;
}

.service-card h3,
.feature-card h3,
.additional-service-card h3,
.step h3,
.blog-post h2,
.sidebar-widget h3 {
    overflow-wrap: anywhere;
}

.service-card p,
.feature-card p,
.additional-service-card p,
.step p,
.post-content p,
.sidebar-widget p {
    overflow-wrap: anywhere;
}

/* Button Variations */
.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: white;
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line);
}

.btn-secondary:hover {
    background: var(--surface2);
    border-color: var(--brand);
}

/* Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.hero-stat {
    text-align: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: var(--r);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
}

.hero-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    transform: scaleX(0);
    transition: transform var(--dur) var(--ease);
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
}

.hero-stat:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all var(--dur) var(--ease);
}

.hero-stat:hover .stat-number {
    transform: scale(1.05);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color var(--dur) var(--ease);
}

.hero-stat:hover .stat-label {
    color: white;
}

/* Home page hero centering */
.home-hero .hero-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.home-hero .hero-text {
    max-width: 900px;
    margin: 0 auto;
}

.home-hero .hero-text h1 {
    font-size: 3.2rem;
}

.home-hero .hero-text h2 {
    font-size: 2.2rem;
}

.home-hero .hero-text p {
    font-size: 1.2rem;
}

.home-hero .hero-buttons {
    justify-content: center;
}

@media (max-width: 768px) {
    .home-hero .hero-text h1 {
        font-size: 2.4rem;
    }

    .home-hero .hero-text h2 {
        font-size: 1.8rem;
    }

    .home-hero .hero-text p {
        font-size: 1.05rem;
    }
}
