/* ===== HERO SECTION ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Overlay */
.hero-slider::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 3.3rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0 10px;
}

/* Buttons */
.hero-btn-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: clamp(0.8rem, 2vw, 0.9rem) clamp(1.5rem, 4vw, 2.2rem);
    border-radius: 50px;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
    display: inline-block;
    text-align: center;
    min-width: 140px;
}

.blue-btn {
    background: #667eea;
    color: white;
}

.white-btn {
    background: white;
    color: #333;
}

.blue-btn:hover {
    background: #5569d6;
    transform: translateY(-3px);
}

.white-btn:hover {
    background: #e8e8e8;
    transform: translateY(-3px);
}

/* Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(2rem, 5vw, 3.5rem);
    padding: 10px;
    color: white;
    cursor: pointer;
    z-index: 3;
    transition: 0.3s;
    user-select: none;
}

.hero-arrow:hover {
    opacity: 0.7;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

/* ===== MISSION & VISION SECTION ===== */
.mv-section {
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
    max-width: 1300px;
    margin: auto;
    box-sizing: border-box;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: #667eea;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    padding: 0 15px;
}

/* Mission & Vision Row Layout */
.mv-row {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Slider Container */
.mv-slider-container {
    flex: 1;
    min-width: 100%;
}

.mv-slider {
    position: relative;
    height: clamp(250px, 40vw, 300px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.mv-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.mv-slide.active {
    opacity: 1;
}

/* Slider Arrows */
.mv-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(1.5rem, 3vw, 2rem);
    padding: 6px 10px;
    background: rgba(0,0,0,0.35);
    color: white;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10;
}

.mv-arrow:hover {
    background: rgba(0,0,0,0.6);
}

.mv-arrow.left {
    left: 10px;
}

.mv-arrow.right {
    right: 10px;
}

/* Tagline under slider */
.mv-tagline {
    text-align: center;
    margin-top: 10px;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-style: italic;
    color: #444;
    padding: 0 10px;
}

/* Mission & Vision text card */
.mv-card {
    flex: 1.2;
    min-width: 100%;
    background: #fff;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: .3s;
    box-sizing: border-box;
}

.mv-card:hover {
    transform: translateY(-5px);
}

.mv-card h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: #4c55c1;
    margin-bottom: 1rem;
}

.mv-card ul {
    margin-left: 1rem;
}

.mv-card ul li {
    margin-bottom: .8rem;
    line-height: 1.5;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

/* ===== IMPACT SECTION ===== */
.impact-section {
    padding: clamp(1rem, 3vw, 1rem) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-align: center;
    border-radius: 25px;
    margin: 2rem auto;
    max-width: 1300px;
    box-sizing: border-box;
}

.impact-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    line-height: 1.3;
    padding: 0 15px;
}

/* Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    padding: 0 15px;
}

/* Each Box */
.impact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    color: #715cba;
    border: 2px solid goldenrod;
    border-radius: 25px;
    background: white;
}

/* Numbers */
.impact-number {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

/* Labels */
.impact-box p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.95;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
    max-width: 1300px;
    margin: auto;
    box-sizing: border-box;
}

.about-container {
    display: flex;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
    flex-wrap: wrap;
}

/* Left Image */
.about-image {
    flex: 1;
    min-width: 100%;
    padding: 0 10px;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    height: auto;
    max-height: 400px;
}

/* Right Text Content */
.about-content {
    flex: 1.2;
    min-width: 100%;
    padding: 0 10px;
}

.about-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: #667eea;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #333;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* ===== WORK SECTION ===== */
.work-section {
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
    text-align: center;
    max-width: 1300px;
    margin: auto;
    box-sizing: border-box;
}

.work-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #667eea;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    padding: 0 15px;
}

/* Slider Container */
.work-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Slider Track */
.work-slider {
    display: flex;
    gap: clamp(1rem, 2vw, 2rem);
    transition: transform 0.7s ease;
}

/* Each Card */
.work-card {
    min-width: clamp(250px, 70vw, 320px);
    height: clamp(180px, 30vw, 220px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    overflow: hidden;
    flex-shrink: 0;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Arrows */
.work-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    background: rgba(0,0,0,0.3);
    padding: clamp(6px, 1.5vw, 10px) clamp(8px, 2vw, 15px);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    z-index: 5;
    transition: .3s;
}

.work-arrow:hover {
    background: rgba(0,0,0,0.5);
}

.work-arrow.left {
    left: 5px;
}

.work-arrow.right {
    right: 5px;
}

/* ===== CTA SLIDER SECTION ===== */
.cta-slider-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
    border-radius: 25px;
    text-align: center;
    color: white;
    margin: 3rem auto;
    max-width: 1300px;
    box-sizing: border-box;
}

.cta-slider {
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.cta-slide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
}

.cta-slide.active {
    opacity: 1;
    position: relative;
}

.cta-slide h2 {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0 15px;
}

.cta-slide p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    padding: 0 15px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(0.8rem, 2vw, 1rem);
    padding: 0 15px;
}

/* Buttons */
.cta-btn {
    padding: clamp(10px, 2vw, 12px) clamp(20px, 4vw, 30px);
    font-size: clamp(0.9rem, 2vw, 1rem);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
    min-width: 140px;
    text-align: center;
}

.cta-btn.white {
    background: white;
    color: #667eea;
}

.cta-btn.blue {
    background: #5569d6;
    color: white;
}

.cta-btn:hover {
    transform: translateY(-4px);
    opacity: 0.9;
}

/* ===== GLOBAL RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }
    
    .hero-arrow {
        font-size: 2rem;
        padding: 6px;
    }
    
    .mv-row {
        flex-direction: column;
    }
    
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    
    .work-slider-container {
        padding: 0 35px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 450px;
    }
    
    .hero-content h1 {
        font-size: 1.9rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .hero-arrow {
        font-size: 1.8rem;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-title {
        font-size: 2rem;
    }
    
    .work-card {
        min-width: 200px;
        height: 150px;
    }
    
    .cta-slide h2 {
        font-size: 1.7rem;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-slider {
        height: 420px;
    }
    
    .hero-content h1 {
        font-size: 1.7rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .impact-title {
        font-size: 1.8rem;
    }
    
    .about-content h2 {
        font-size: 1.6rem;
    }
}

/* Tablet landscape */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-slider {
        height: 550px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .mv-slider-container {
        min-width: 300px;
    }
    
    .mv-card {
        min-width: 300px;
    }
    
    .about-image {
        min-width: 300px;
    }
    
    .about-content {
        min-width: 300px;
    }
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

* {
    box-sizing: border-box;
}