/* Hero Section */
.hero {
    background-image: linear-gradient(135deg, var(--primary-color), var(--accent-color) 90%);
    color: var(--light-text);
    padding: 10rem 5% 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/pattern.svg');
    background-size: cover;
    opacity: 0.1;
    animation: subtle-float 40s infinite alternate;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.8rem;
    position: relative;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    color: black;
}

.hero-buttons .btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    fill: var(--light-text);
}

/* Features Section */
.features {
    background-color: var(--light-text);
    padding: 8rem 5%;
    position: relative;
}

.features .section-heading {
    text-align: center;
    margin-bottom: 5rem;
}

.features .section-heading h2 {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 1.2rem;
    font-weight: 800;
    position: relative;
}

.features .section-heading h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    transform: translateX(-50%);
    border-radius: 2px;
}

.features .section-heading p {
    max-width: 800px;
    margin: 2rem auto 0;
    color: var(--text-color-light);
    font-size: 1.2rem;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(var(--accent-color-rgb), 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 0 0 8px 0;
    transition: height 0.4s ease;
    z-index: -1;
}

.feature-card:hover::before {
    height: 100%;
    width: 100%;
    opacity: 0.05;
    border-radius: 0;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    font-size: 1.5rem;
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    color: var(--dark-color);
    transition: color 0.3s ease;
    font-weight: 700;
}

.feature-card:hover h3 {
    color: var(--accent-color);
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
}

.feature-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.feature-link:hover {
    color: var(--accent-color);
}

.feature-link svg {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.feature-link:hover svg {
    transform: translateX(8px);
}

/* Stats Section */
.stats {
    background-color: var(--secondary-color);
    background-image: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--light-text);
    padding: 7rem 5%;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/pattern.svg');
    background-size: cover;
    opacity: 0.05;
    animation: subtle-float 40s infinite alternate;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--light-text);
    opacity: 0.95;
    line-height: 1;
    display: block;
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
    max-width: 200px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-light);
    padding: 8rem 5%;
    position: relative;
}

.testimonials .section-heading {
    text-align: center;
    margin-bottom: 5rem;
}

.testimonials .section-heading h2 {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 1.2rem;
    font-weight: 800;
    position: relative;
}

.testimonials .section-heading h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    transform: translateX(-50%);
    border-radius: 2px;
}

.testimonials .section-heading p {
    max-width: 800px;
    margin: 2rem auto 0;
    color: var(--text-color-light);
    font-size: 1.2rem;
    line-height: 1.7;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 8rem;
    font-family: serif;
    color: var(--accent-color);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(var(--primary-color-rgb), 0.1);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.author-info p {
    font-size: 0.95rem;
    color: var(--text-color-light);
    font-weight: 500;
}

/* Services Preview Section */
.services-preview {
    background-color: var(--light-text);
    padding: 8rem 5%;
    text-align: center;
}

.services-preview h2 {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 3rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.services-preview h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    transform: translateX(-50%);
    border-radius: 2px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-card .btn-outline {
    display: inline-block;
}

/* CTA Section */
.cta-section {
    background-image: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    color: var(--light-text);
    padding: 7rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/pattern.svg');
    background-size: cover;
    opacity: 0.08;
    animation: subtle-float 40s infinite alternate;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-section .btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: black;
}

.cta-section .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

@keyframes subtle-float {
    0% {
        transform: translateY(0) translateX(0) rotate(0);
    }
    100% {
        transform: translateY(-20px) translateX(20px) rotate(1deg);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }
    
    .hero p {
        font-size: clamp(1.1rem, 2vw, 1.3rem);
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .cta-section h2 {
        font-size: 2.8rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-primary, 
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 7rem 5% 5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .features-grid, .testimonials-grid, .services-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    
    
    .stat-item {
        padding: 2rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 5% 4rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons .btn-primary {
        width: 100%;
    }
    
    .feature-card, .testimonial-card, .service-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 2.2rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
} 