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

body {
    font-family: 'Outfit', sans-serif;
    background-color: #e7e7e9;
    color: #2e2e2e;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.landing-page {
    background-color: #e7e7e9;
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* Navigation Menu */
.nav-menu {
    position: absolute;
    top: 64px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(171, 171, 170, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    gap: 46px;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    z-index: 100;
    transition: all 0.3s ease;
}

.nav-menu.sticky {
    position: fixed;
    top: 20px;
    background-color: rgba(171, 171, 170, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-menu a {
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #2e2e2e;
    position: relative;
    padding-bottom: 4px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f73b27;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: #f73b27;
}

/* Main Container */
.main-container {
    position: absolute;
    top: 64px;
    left: 50%;
    transform: translateX(-50%);
    width: 1440px;
    display: flex;
    flex-direction: column;
    gap: 80px;
    align-items: center;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1061px;
    padding: 0 21px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    width: 220px;
}

.logo img {
    width: 172.04px;
    height: 22.18px;
}

.logo-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: #0a2d50;
    text-align: center;
    width: 100%;
}

.btn-primary {
    background-color: #f73b27;
    color: #f3f1ea;
    font-size: 16px;
    font-weight: 600;
    padding: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 59, 39, 0.3);
}

/* Hero Section */
.hero-section {
    display: flex;
    gap: 246px;
    align-items: center;
    width: 100%;
    padding-left: 161px;
    padding-right: 3px;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 76px;
    color: #2e2e2e;
    width: 540px;
}

.hero-description {
    font-size: 18px;
    font-weight: 400;
    color: rgba(46, 46, 46, 0.8);
    width: 496px;
}

.btn-cta {
    background-color: #f73b27;
    color: #f3f1ea;
    font-size: 20px;
    font-weight: 600;
    padding: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    font-family: 'Outfit', sans-serif;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 59, 39, 0.3);
}

.hero-image img {
    width: 311px;
    height: 380.188px;
}

/* Features Section */
.features-section {
    display: flex;
    gap: 69px;
    height: 115px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.feature-item img {
    width: 20px;
    height: 20px;
}

.feature-text {
    font-size: 20px;
    font-weight: 600;
    color: #2e2e2e;
}

/* Dividers */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #2e2e2e, transparent);
}

.divider-small {
    width: 144px;
}

.divider-large {
    width: 552px;
}

.divider-large-2 {
    width: 616px;
}

/* Services Section */
.services-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    width: 1120px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 76px;
    color: #2e2e2e;
    text-align: center;
    width: 100%;
}

.section-subtitle {
    font-size: 32px;
    font-weight: 300;
    line-height: 36px;
    color: #2e2e2e;
    text-align: center;
    width: 720px;
    margin: 0 auto;
    height: 72px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 33px;
    width: 100%;
}

.service-card {
    background-color: rgba(46, 46, 46, 0.08);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-featured {
    background-color: #0a2d50;
}

.service-card img {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.service-title {
    font-size: 24px;
    font-weight: 300;
    line-height: 36px;
    color: #2e2e2e;
    width: 267px;
}

.service-title-light {
    font-size: 24px;
    font-weight: 300;
    line-height: 36px;
    color: #e7e7e9;
    width: 267px;
}

.service-title .bold,
.service-title-light .bold {
    font-weight: 800;
}

/* Benefits Section */
.benefits-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    width: 1120px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 24px 0;
    width: 769px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    align-items: center;
    width: 100%;
}

.benefit-item img {
    width: 40px;
    height: 40px;
}

.benefit-text {
    font-size: 32px;
    font-weight: 300;
    line-height: 36px;
    color: #2e2e2e;
}

/* Testimonials Section */
.testimonials-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    width: 1120px;
}

.testimonials-grid {
    position: relative;
    width: 100%;
    height: 780px;
}

.testimonial-card {
    position: absolute;
    background-color: rgba(46, 46, 46, 0.08);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 351px;
}

.testimonial-card:nth-child(1) {
    left: 0;
    top: 0;
}

.testimonial-card:nth-child(2) {
    left: 385px;
    top: 0;
    height: 744px;
}

.testimonial-card:nth-child(3) {
    left: 768.67px;
    top: 0;
}

.testimonial-card:nth-child(4) {
    left: 769px;
    top: 491px;
    height: 253px;
}

.testimonial-card:nth-child(5) {
    left: 1px;
    top: 552px;
}

.testimonial-text {
    font-size: 24px;
    font-weight: 300;
    line-height: 36px;
    color: #2e2e2e;
    width: 267px;
}

.stars {
    display: flex;
    gap: 4px;
}

.stars img {
    width: 24px;
    height: 24px;
}

.testimonial-author {
    font-size: 20px;
    font-weight: 800;
    line-height: 36px;
    color: #2e2e2e;
    width: 267px;
}

/* CTA Section */
.cta-section {
    background-color: white;
    width: 1442px;
    height: 634px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('./footer-image.png');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
}

.cta-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 33px;
    align-items: center;
    z-index: 1;
}

.cta-logo {
    width: 396px;
    height: 51.053px;
}

.cta-title {
    font-size: 48px;
    font-weight: 200;
    color: black;
    text-align: center;
    width: 769px;
}

/* Footer */
.footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.footer-icon img {
    width: 114px;
    height: 139.361px;
}

.footer-logo img {
    width: 473.85px;
    height: 61.09px;
}

.footer-subtitle {
    font-size: 36px;
    font-weight: 300;
    color: #0a2d50;
    text-align: center;
    width: 769px;
}

/* Responsive adjustments */
@media (max-width: 1056px) {
    .main-container {
        width: 100%;
        padding: 0 20px;
    }

    .hero-section {
        flex-direction: column;
        gap: 50px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-title {
        width: 100%;
        font-size: 48px;
        line-height: 60px;
    }

    .hero-description {
        width: 100%;
    }

    .services-section,
    .benefits-section,
    .testimonials-section {
        width: 100%;
    }

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

    .cta-section {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .header {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

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

    .section-subtitle {
        width: 100%;
    }

    .benefits-list {
        width: 100%;
    }

    .testimonials-grid {
        position: static;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .testimonial-card {
        position: static;
        width: 100%;
        height: auto !important;
    }

    .cta-title {
        width: 100%;
        font-size: 36px;
    }

    .footer-subtitle {
        width: 100%;
        font-size: 24px;
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, #f73b27, #0a2d50);
    z-index: 1000;
    transition: width 0.1s ease;
}

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Image loading */
img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background-color: #f73b27;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 50%;
        transform: translateX(-50%) translateY(-200%);
        flex-direction: column;
        width: 90%;
        max-width: 300px;
        background-color: rgba(171, 171, 170, 0.98);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
        pointer-events: all;
    }
}

/* Loading animation for images */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

img:not(.loaded) {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Testimonial card hover effect */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Service card icons animation */
.service-card img {
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.1) rotate(5deg);
}

/* Benefits items hover effect */
.benefit-item {
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.benefit-item:hover {
    background-color: rgba(46, 46, 46, 0.03);
    transform: translateX(10px);
}

.benefit-item img {
    transition: transform 0.3s ease;
}

.benefit-item:hover img {
    transform: scale(1.15) rotate(10deg);
}

/* Features section animation */
.feature-item {
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item img {
    transition: transform 0.3s ease;
}

.feature-item:hover img {
    transform: scale(1.2);
}
