/* ========================================
   Professional Home Page Styling
   Modern UI/UX Design Principles
   ======================================== */

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 50%, var(--light-green) 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--pure-white), transparent);
    pointer-events: none;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--pure-white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-section .lead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-section .btn-light {
    background: var(--pure-white);
    color: var(--primary-green);
    border: 2px solid var(--pure-white);
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-section .btn-light:hover {
    background: transparent;
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-section .btn-outline-light {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--pure-white);
    color: var(--pure-white);
    transform: translateY(-2px);
}

.hero-section .hero-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-section .text-white-50 {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Section Styling */
.section-padding {
    padding: 100px 0;
}

.section-light {
    background-color: var(--off-white);
}

.section-dark {
    background-color: var(--dark-black);
    color: var(--pure-white);
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-black);
}

.section-subheading {
    font-size: 1.25rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--pure-white);
    overflow: hidden;
    height: 100%;
}

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

.card-body {
    padding: 2rem;
}

.card-img-top {
    border-radius: 20px 20px 0 0;
    height: 200px;
    object-fit: cover;
}

/* Service Cards */
.service-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--secondary-green);
}

.card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-black);
}

.card p {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Award Badges */
.award-badge {
    background: linear-gradient(135deg, var(--gold-accent), #ffed4e);
    color: var(--dark-black);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
    border: 3px solid var(--pure-white);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.award-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.award-badge:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(255, 215, 0, 0.4);
}

.award-badge img {
    max-height: 80px;
    margin-bottom: 1rem;
}

.award-badge h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Stat Cards */
.stat-card {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--pure-white), var(--off-white));
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stat-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-black);
}

.stat-card p {
    color: var(--medium-gray);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--pure-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-green);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary-green);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.testimonial-card p {
    font-style: italic;
    line-height: 1.8;
    color: var(--medium-black);
    margin-bottom: 1.5rem;
}

.testimonial-card .fa-star {
    color: var(--gold-accent);
}

.testimonial-card img {
    border: 3px solid var(--primary-green);
}

/* Partner Logos */
.partner-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 60px;
    width: auto;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" fill="white" opacity="0.05"><path d="M0,64L60,69.3C120,75,240,85,360,80C480,75,600,53,720,48C840,43,960,53,1080,58.7C1140,61,1200,59,1200,32L1200,120L1080,120C960,120,840,120,720,120C600,120,480,120,360,120C240,120,120,120,60,120L0,120Z"/></svg>');
    background-size: cover;
    background-position: bottom;
    pointer-events: none;
}

.cta-section h2 {
    color: var(--pure-white);
    margin-bottom: 1.5rem;
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.cta-section .btn-light {
    background: var(--pure-white);
    color: var(--primary-green);
    border: 2px solid var(--pure-white);
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-light:hover {
    background: transparent;
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

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

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .hero-section .hero-img {
        max-width: 350px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
        padding: 120px 0 80px;
        min-height: auto;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
    
    .hero-section .hero-img {
        max-width: 280px;
        margin-top: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-heading {
        font-size: 1.75rem;
    }
    
    .section-subheading {
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .stat-card,
    .award-badge,
    .testimonial-card {
        padding: 2rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section .lead {
        font-size: 0.95rem;
    }
    
    .hero-section .hero-img {
        max-width: 220px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
    }
    
    .hero-section .hero-img {
        max-width: 180px;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}