/* Homepage - World-Class Redesign */

/* 1. Cinematic Hero Section */
.hero-slider {
    height: 100vh;
    padding: 0;
    overflow: hidden;
    position: relative;
    background: #000;
}

.hero-primary {
    position: relative;
    height: 100%;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-1.jpg') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15vh;
    background: linear-gradient(to top, var(--white), transparent);
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    animation: fadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 2. Advanced Stat Cards */
.impact-stats {
    margin-top: -100px;
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 60px 40px;
    border-radius: 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-item:hover {
    transform: translateY(-15px);
    background: var(--white);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 10px;
}

/* 3. Modern Focus Cards */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.focus-card {
    background: var(--white);
    padding: 50px;
    border-radius: 40px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    text-align: left;
}

.focus-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.focus-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-alt);
    color: var(--primary-color);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

/* 4. Cinematic Quote Section */
.cinematic-quote {
    background: var(--dark-color);
    color: var(--white);
    padding: 120px 0;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.quote-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 80px;
    align-items: center;
}

.quote-image {
    border-radius: 40px;
    overflow: hidden;
    transform: rotate(-3deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.quote-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.quote-text blockquote {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 40px;
    color: var(--white);
    border: none;
    padding: 0;
}

/* 5. Success Story Card */
.success-story .story-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    padding: 0;
}

.story-image {
    height: 600px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Overrides */
@media (max-width: 992px) {

    .quote-content,
    .success-story .story-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-content {
        padding: 40px;
    }
}

/* 6. Welcome Section */
.welcome-section {
    padding: 120px 0;
    background: var(--white);
    overflow: hidden;
}

.welcome-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.welcome-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-alt);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.welcome-content h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.welcome-content .highlight {
    color: var(--secondary-color);
    background: var(--primary-color);
    padding: 0 5px;
    position: relative;
}

.welcome-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 35px;
}

.welcome-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--dark-color);
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.welcome-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.welcome-image:hover img {
    transform: scale(1.05);
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.2;
}

.welcome-floating-card {
    position: absolute;
    bottom: -40px;
    left: -40px;
    background: var(--white);
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    max-width: 280px;
    animation: float 4s ease-in-out infinite;
}

.welcome-floating-card i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: block;
}

.welcome-floating-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    font-style: italic;
    margin: 0;
    color: var(--dark-color);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 992px) {
    .welcome-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .welcome-features {
        align-items: center;
    }

    .welcome-floating-card {
        left: 20px;
        bottom: 20px;
    }
}