:root {
    --primary-color: #667eea;
    --primary-dark: #764ba2;
    --primary-light: #7c8df1;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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


body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #e5e7eb;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #0f172a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: transform 0.3s, background 0.3s;
    transform: translateY(0);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: white;
    letter-spacing: 0.1em;
}

.logo-ai {
    font-weight: 400; /* Regular */
}

.logo-estate {
    font-weight: 100; /* Thin */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    animation: glow-button 3.5s ease-in-out infinite;
}

.btn-nav:hover {
    background: var(--primary-dark);
}

@keyframes glow-button {
    0%, 100% {
        box-shadow: 0 0 10px rgba(102, 126, 234, 0.5),
                    0 0 20px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.8),
                    0 0 30px rgba(102, 126, 234, 0.5),
                    0 0 40px rgba(102, 126, 234, 0.3);
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding: 140px 0 120px;
    background: #0f172a;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero-badges {
        gap: 0.6rem;
        margin-top: 2rem;
    }

    .hero-badges .badge-icon {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
    }

    .hero-badges .badge-icon img {
        width: 28px !important;
        height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-badge-text {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.5rem;
    background: rgba(102, 126, 234, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    color: white;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.hero-badge-text .star-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hero-badge-text .star-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    display: block;
}

.hero-badge-text .badge-text-thin {
    font-weight: 300;
    white-space: nowrap;
    opacity: 0.8;
}

.hero-badge-text .badge-text-regular {
    font-weight: 400;
    margin-left: 0;
}

.hero-badge-text .badge-star {
    display: inline-block;
    flex-shrink: 0;
    opacity: 0.8;
}

.hero-badge-text .badge-star path {
    opacity: 0.8;
}

.hero-tagline {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    background-image: linear-gradient(90deg, rgba(123, 198, 244, 1) 0%, rgba(242, 242, 242, 1) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: 0.02em;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.8),
                 0 0 60px rgba(102, 126, 234, 0.5),
                 0 0 90px rgba(102, 126, 234, 0.3);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.hero-subtitle {
    font-size: 1.625rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.75;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.hero-badges {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-badges .badge-icon {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    max-width: 60px;
    max-height: 60px;
    background: transparent;
    border-radius: 16px;
    border: none;
    transition: all 0.6s ease;
    cursor: pointer;
    filter: grayscale(50%) brightness(0.8) drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
    opacity: 0.8;
    flex-shrink: 0;
}

.hero-badges .badge-icon img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
    filter: inherit;
    transition: inherit;
}

/* Active state when scrolled into view */
.hero-badges.visible .badge-icon {
    transform: scale(1.2);
    filter: grayscale(0%) brightness(1) drop-shadow(0 0 20px rgba(102, 126, 234, 0.8));
    opacity: 1;
}

.hero-badges.visible .badge-icon img {
    filter: grayscale(0%) brightness(1);
}

.hero-badges .badge-icon:hover {
    background: transparent;
    transform: scale(1.3);
    filter: grayscale(0%) brightness(1) drop-shadow(0 0 25px rgba(102, 126, 234, 1));
    opacity: 1;
}

.hero-badges .badge-icon:hover img {
    filter: grayscale(0%) brightness(1);
}

/* Stars Background */
.stars-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 4.5s infinite;
    opacity: 0.6;
}

.star:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.star:nth-child(2) { top: 20%; left: 20%; animation-delay: 0.2s; }
.star:nth-child(3) { top: 30%; left: 15%; animation-delay: 0.4s; }
.star:nth-child(4) { top: 40%; left: 80%; animation-delay: 0.6s; }
.star:nth-child(5) { top: 50%; left: 70%; animation-delay: 0.8s; }
.star:nth-child(6) { top: 60%; left: 25%; animation-delay: 1s; }
.star:nth-child(7) { top: 70%; left: 90%; animation-delay: 1.2s; }
.star:nth-child(8) { top: 15%; left: 60%; animation-delay: 1.4s; }
.star:nth-child(9) { top: 25%; left: 85%; animation-delay: 1.6s; }
.star:nth-child(10) { top: 35%; left: 45%; animation-delay: 1.8s; }
.star:nth-child(11) { top: 45%; left: 30%; animation-delay: 2s; }
.star:nth-child(12) { top: 55%; left: 55%; animation-delay: 2.2s; }
.star:nth-child(13) { top: 65%; left: 40%; animation-delay: 2.4s; }
.star:nth-child(14) { top: 75%; left: 65%; animation-delay: 2.6s; }
.star:nth-child(15) { top: 80%; left: 20%; animation-delay: 2.8s; }
.star:nth-child(16) { top: 5%; left: 50%; animation-delay: 0.1s; }
.star:nth-child(17) { top: 85%; left: 75%; animation-delay: 0.3s; }
.star:nth-child(18) { top: 12%; left: 35%; animation-delay: 0.5s; }
.star:nth-child(19) { top: 22%; left: 95%; animation-delay: 0.7s; }
.star:nth-child(20) { top: 90%; left: 50%; animation-delay: 0.9s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4),
                0 4px 15px rgba(102, 126, 234, 0.3);
    animation: pulse-button 4.5s ease-in-out infinite;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.6),
                0 6px 20px rgba(102, 126, 234, 0.4);
    animation: none;
}

@keyframes pulse-button {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

/* Section Styles */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-title {
    font-size: 55px;
    font-weight: 800;
    margin-top: 9px;
    margin-bottom: 9px;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(229, 231, 235, 0.75);
    line-height: 1.8;
    font-weight: 400;
}

/* About Section */
.about {
    background: #1e293b;
    position: relative;
    padding-top: 70px;
    padding-bottom: 70px;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
    line-height: 1.3;
}

.about-text p {
    font-size: 1.125rem;
    color: rgba(229, 231, 235, 0.75);
    margin-bottom: 1.75rem;
    line-height: 1.75;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.mission-item {
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.mission-item:hover,
.mission-item.animate-on-scroll {
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(15, 23, 42, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
}

.mission-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.3;
}

.mission-item p {
    color: rgba(229, 231, 235, 0.75);
    line-height: 1.75;
    font-size: 1rem;
}

/* Steps Section */
.steps {
    background: #0f172a;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.step-item {
    background: #1e293b;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 1s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-item:hover,
.step-item.animate-on-scroll {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.3),
                0 10px 40px rgba(102, 126, 234, 0.2),
                0 -10px 40px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
}

.step-number {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.25;
    margin-bottom: 1rem;
    line-height: 1;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.step-item:hover .step-number,
.step-item.animate-on-scroll .step-number {
    opacity: 0.4;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
}

.step-item h3 {
    font-size: 1.625rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: white;
    line-height: 1.3;
}

.step-item > p {
    color: rgba(229, 231, 235, 0.75);
    margin-bottom: 2rem;
    line-height: 1.75;
    font-size: 1.0625rem;
}

.step-solution {
    background: rgba(15, 23, 42, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-solution h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.step-solution p {
    color: rgba(229, 231, 235, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Services Section */
.services {
    background: #1e293b;
    position: relative;
    padding-top: 70px;
    padding-bottom: 70px;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: #0f172a;
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    transition: all 1s ease;
}

.service-card:hover,
.service-card.animate-on-scroll {
    border-color: #667eea;
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.4),
                0 10px 40px rgba(102, 126, 234, 0.2),
                0 -10px 40px rgba(102, 126, 234, 0.2);
    background: #1e293b;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    transition: all 0.3s ease;
    transform-origin: center center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    max-width: 3.5rem;
    max-height: 3.5rem;
    flex-shrink: 0;
}

.service-icon img {
    width: 3.5rem;
    height: 3.5rem;
    max-width: 3.5rem;
    max-height: 3.5rem;
    object-fit: contain;
    filter: grayscale(30%) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    transition: all 0.3s ease;
}

.service-icon svg,
.service-icon img svg {
    width: 100%;
    height: 100%;
    color: #e5e7eb;
}

.service-icon {
    color: #e5e7eb;
}

.service-card:hover .service-icon,
.service-card.animate-on-scroll .service-icon {
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
    transform: scale(1.2);
}

.service-card:hover .service-icon img,
.service-card.animate-on-scroll .service-icon img {
    filter: grayscale(0%) drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
}

.service-card:hover .service-icon,
.service-card.animate-on-scroll .service-icon {
    color: #667eea;
}

.service-card h3 {
    font-size: 1.625rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: white;
    line-height: 1.3;
}

.service-card > p {
    color: rgba(229, 231, 235, 0.75);
    margin-bottom: 2rem;
    line-height: 1.75;
    font-size: 1.0625rem;
}

.service-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-card ul li {
    color: rgba(229, 231, 235, 0.8);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 1rem;
    height: 1rem;
    background-image: url('icons/check.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.service-link:hover {
    color: #8b9eff;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
}

/* Why Us Section */
.why-us {
    background: #0f172a;
    position: relative;
    padding-top: 70px;
    padding-bottom: 70px;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.why-item {
    background: #1e293b;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 1s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-item:hover,
.why-item.animate-on-scroll {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.3),
                0 10px 30px rgba(102, 126, 234, 0.2),
                0 -10px 30px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    transition: all 0.6s ease 0s;
}

.why-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    max-width: 3.5rem;
    max-height: 3.5rem;
    flex-shrink: 0;
}

.why-icon img {
    width: 3.5rem;
    height: 3.5rem;
    max-width: 3.5rem;
    max-height: 3.5rem;
    object-fit: contain;
    filter: grayscale(30%) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    transition: all 0.3s ease;
}

.why-icon svg,
.why-icon img svg {
    width: 100%;
    height: 100%;
    color: #e5e7eb;
}

.why-icon {
    color: #e5e7eb;
}

.why-item:hover .why-icon,
.why-item.animate-on-scroll .why-icon {
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
    transform: scale(1.15);
}

.why-item:hover .why-icon img,
.why-item.animate-on-scroll .why-icon img {
    filter: grayscale(0%) drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
}

.why-item:hover .why-icon,
.why-item.animate-on-scroll .why-icon {
    color: #667eea;
}

.why-item h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.3;
}

.why-item p {
    color: rgba(229, 231, 235, 0.75);
    line-height: 1.75;
    font-size: 1rem;
}

.cta-section {
    text-align: center;
}

/* FAQ Section */
.faq {
    background: #1e293b;
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    font-family: inherit;
    gap: 1rem;
}

.faq-question span:first-child {
    flex: 1;
    text-align: left;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.faq-question:hover {
    color: #667eea;
}


.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: rgba(229, 231, 235, 0.8);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    background: #0f172a;
    color: white;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.contact-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.contact-header .section-title {
    color: white;
    margin-bottom: 1.5rem;
}

.contact-header .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.contact-benefits {
    max-width: 700px;
    margin: 0 auto 4rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
}

.contact-benefits h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.contact-benefits h3:first-child {
    margin-top: 0;
}

.contact-benefits p {
    opacity: 0.95;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-container {
    background: #1e293b;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-container h3 {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-form-container > p {
    color: rgba(229, 231, 235, 0.8);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    color: white;
    background: rgba(15, 23, 42, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(15, 23, 42, 0.7);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(229, 231, 235, 0.5);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.security-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: var(--primary-light);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.security-icon svg {
    display: block;
}

.security-text {
    margin: 0;
    font-weight: 400;
    font-size: 0.9rem;
    color: rgba(229, 231, 235, 0.8);
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    width: 100%;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.7);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: #1e293b;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s;
        gap: 1rem;
        align-items: flex-start;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .btn-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

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

    .hero-tagline {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .mission-vision {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
}

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

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

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

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

    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .hero-tagline {
        font-size: 2rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }

    .btn-nav {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .hero-badges {
        gap: 0.4rem;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 1.5rem;
        margin-bottom: 0;
    }

    .hero-badges .badge-icon {
        width: 35px !important;
        height: 35px !important;
        max-width: 35px !important;
        max-height: 35px !important;
        flex-shrink: 0;
    }

    .hero-badges .badge-icon img {
        width: 24px !important;
        height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
    }
    
    .step-item,
    .service-card,
    .why-item,
    .mission-item {
        padding: 2rem 1.5rem;
    }
    
    .step-number {
        font-size: 3.5rem;
    }
    
    .service-icon,
    .why-icon {
        font-size: 2.5rem;
        width: 2.5rem;
        height: 2.5rem;
        max-width: 2.5rem;
        max-height: 2.5rem;
    }
    
    .service-icon img,
    .why-icon img {
        width: 2.5rem;
        height: 2.5rem;
        max-width: 2.5rem;
        max-height: 2.5rem;
        object-fit: contain;
    }

    /* Font size adjustments for mobile */
    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.875rem;
    }

    .step-item h3,
    .service-card h3 {
        font-size: 1.25rem;
    }

    .why-item h3 {
        font-size: 1.125rem;
    }

    .step-item p,
    .service-card p,
    .why-item p {
        font-size: 0.875rem;
    }

    .contact-header h2 {
        font-size: 1.5rem;
    }

    .contact-header p {
        font-size: 0.875rem;
    }

    .contact-benefits h3 {
        font-size: 1rem;
    }

    .contact-benefits p {
        font-size: 0.875rem;
    }

    .contact-form-container h3 {
        font-size: 1.25rem;
    }

    .contact-form-container p {
        font-size: 0.875rem;
    }

    .faq-question {
        font-size: 0.9375rem;
        padding: 1rem 0;
    }

    .faq-icon {
        font-size: 1.25rem;
        width: 20px;
    }

    .faq-answer p {
        font-size: 0.875rem;
    }

    .about-content h3 {
        font-size: 1.5rem;
    }

    .about-content p {
        font-size: 0.875rem;
    }

    .mission-vision h4 {
        font-size: 1.125rem;
    }

    .mission-vision p {
        font-size: 0.875rem;
    }
}

/* Touch device optimizations - activate hover effects on scroll */
@media (hover: none) and (pointer: coarse) {
    /* Ensure smooth animations on touch devices */
    .step-item,
    .service-card,
    .why-item,
    .mission-item {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Better touch targets */
    .btn,
    .btn-nav,
    .nav-link,
    .faq-question {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

