

/* ==================== PAGE HEADER (BANNER) ==================== */
.page-header.aboutus-page-header {
    background-color: #111827;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    padding: 200px 10%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-header.aboutus-page-header .page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-header.aboutus-page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.page-header.aboutus-page-header p {
    font-size: 1.2rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== MISSION & VISION SECTION ==================== */
.mission-vision-section {
    background-color: #ffffff;
    padding: 60px 5% 40px 5%;
}

.mission-vision-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.mission-vision-content {
    flex: 1.5;
}

.mission-vision-content h2 {
    font-size: 2.2rem;
    color: #111827;
    margin-bottom: 15px;
    margin-top: 30px;
}

.mission-vision-content h2:first-of-type {
    margin-top: 0;
}

.mission-vision-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 20px;
}

.mission-vision-image {
    flex: 1;
}

.mission-vision-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(0px);
}

/* ==================== OUR VALUES SECTION ==================== */
.values-section {
    background-color: #f9fafb;
    padding: 30px 5% 40px 5%;
    text-align: center;
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
}

.values-container h2 {
    font-size: 2.8rem;
    color: #111827;
    margin-bottom: 15px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.value-card svg {
    width: 50px;
    height: 50px;
    color: #2563eb;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.4rem;
    color: #111827;
    margin: 0 0 10px 0;
}

.value-card p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

/* ==================== FOUNDERS SECTION ==================== */
.founders-section {
    background-color: #f9fafb;
    padding: 60px 5% 40px 5%;
    text-align: center;
}

.founders-container {
    max-width: 1000px;
    margin: 0 auto;
}

.founders-container h2 {
    font-size: 2.8rem;
    color: #111827;
    margin-bottom: 50px;
}

.founders-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.founder-card {
    width: calc(50% - 15px);
    flex-shrink: 0;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.founder-card p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 30px;
}

.founder-info h4 {
    margin: 0 0 5px 0;
    color: #111827;
    font-size: 1.2rem;
}

.founder-info span {
    color: #6b7280;
    font-size: 0.9rem;
    font-style: italic;
}

/* ==================== WHY CHOOSE US SECTION ==================== */
.why-choose-us-section {
    background-color: #ffffff;
    padding: 60px 5% 40px 5%;
}

.why-choose-us-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.choose-us-image {
    flex: 1;
}

.choose-us-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.choose-us-content {
    flex: 1;
}

.choose-us-content h2 {
    font-size: 2.8rem;
    color: #111827;
    margin-bottom: 20px;
}

.reasons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reasons-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #4b5563;
    font-size: 1rem;
}

.reasons-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    background-color: #2563eb;
    border-radius: 50%;
}

.reasons-list li b {
    color: #111827;
    font-weight: 600;
}

/* ==================== STUDENT REVIEWS SECTION ==================== */
.student-reviews-section {
    background-color: #f9fafb;
    padding: 30px 5% 40px 5%;
    text-align: center;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-container h2 {
    font-size: 2.8rem;
    color: #111827;
    margin-bottom: 15px;
}

.reviews-subtitle {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 40px;
}

.reviews-slider-wrapper {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reviews-slider-track {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.review-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.review-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    z-index: 1;
}

.review-card {
    max-width: 800px;
    width: 95vw;
    padding: 48px 32px 48px 32px;
}

.review-card img {
    width: 140px;
    height: 140px;
    margin-bottom: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #000000;
}

.review-card .review-text {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.review-card .review-author {
    font-weight: 600;
    color: #111827;
    font-size: 1.1rem;
}

.reviews-pagination {
    text-align: center;
    margin-top: 40px;
}

.reviews-pagination .dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.4s ease;
    background: radial-gradient(circle at 50% 40%, #999, #111 80%);
    box-shadow: inset 0px 1px 2px rgba(255, 255, 255, 0.2), 0 2px 3px rgba(0, 0, 0, 0.4);
    border: 1px solid #1a1a1a;
}

.reviews-pagination .dot.active {
    transform: scale(1.4);
    background: radial-gradient(circle at 50% 40%, #87CEEB, #2563eb 80%);
}

.review-card img[src*="srikrupa"] {
    object-position: center top;
    width: 90px;
    height: 90px;
}

.review-card .review-text.srikrupa-text {
    font-size: 1rem;
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 992px) {
    .why-choose-us-container {
        flex-direction: column;
        text-align: center;
    }
    .choose-us-content {
        margin-top: 40px;
    }
    .page-header.aboutus-page-header {
        padding: 80px 10% 60px 5%;
    }
    .page-header.aboutus-page-header h1 {
        font-size: 2.5rem;
    }
    .page-header.aboutus-page-header p {
        font-size: 1rem;
    }
    .mission-vision-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-header.aboutus-page-header {
        padding: 70px 10% 50px 5%;
    }
    .page-header.aboutus-page-header h1 {
        font-size: 2rem;
    }
    .page-header.aboutus-page-header p {
        font-size: 0.9rem;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .review-card {
        padding: 30px;
        width: 95%;
    }
    .review-card img[src*="srikrupa"] {
        width: 70px;
        height: 70px;
    }
    .review-card .review-text.srikrupa-text {
        font-size: 0.92rem;
    }
}

@media (max-width: 600px) {
    .founder-card {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 576px) {
    .mission-vision-section,
    .values-section,
    .student-reviews-section {
        padding: 60px 5%;
    }
    .reviews-slider-wrapper {
        height: 400px;
    }
    .page-header.aboutus-page-header {
        padding: 60px 5% 40px 5%;
    }
    .page-header.aboutus-page-header h1 {
        font-size: 1.8rem;
    }
    .page-header.aboutus-page-header p {
        font-size: 0.8rem;
    }
    .founders-container h2 {
        font-size: clamp(1.2rem, 6vw, 2rem);
        margin-top: 18px;
        margin-bottom: 18px;
        white-space: nowrap;
        overflow-wrap: normal;
        text-align: center;
    }
    .values-container h2 {
        font-size: clamp(1.2rem, 6vw, 2rem);
        margin-top: 18px;
        margin-bottom: 18px;
        white-space: nowrap;
        overflow-wrap: normal;
        text-align: center;
    }
    .review-card {
        max-width: 98vw;
        width: 98vw;
        padding: 32px 8px 32px 8px;
    }
    .review-card img {
        width: 110px;
        height: 110px;
        margin-bottom: 18px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #000000;
    }
}

/* ==================== RESPONSIVE LAYOUT & SIZING ==================== */

/* --- Tablet and Larger Mobile Phones (992px) --- */
@media (max-width: 992px) {
    /* Multi-column layouts revert to a single column */
    .excellence-container,
    .about-container,
    .mission-vision-container,
    .why-choose-us-container,
    .contact-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    /* Course grid switches to 2 columns */
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Responsive image sizes */
    .about-image, .mission-vision-image, .choose-us-image {
        flex: 1;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    .about-image img, .mission-vision-image img, .choose-us-image img {
        width: 100%;
    }
    
    /* Page header sizing for tablets */
    .page-header.courses-page-header,
    .page-header.aboutus-page-header,
    .page-header.contact-page-header {
        padding: 80px 5%;
        text-align: center;
    }

    .hero-content h1,
    .about-text h2,
    .excellence-content h2,
    .courses-header h2,
    .testimonials-container h2,
    .cta-content h2,
    .founders-container h2,
    .values-container h2,
    .contact-info-block h2 {
        font-size: 2.5rem;
    }
}

/* --- Small Mobile Phones (768px) --- */
@media (max-width: 768px) {
    /* Page headers shrink further */
    .page-header.courses-page-header,
    .page-header.aboutus-page-header,
    .page-header.contact-page-header {
        padding: 60px 5%;
    }

    /* All grid and flex layouts become a single column */
    .grid-container,
    .testimonials-grid,
    .values-grid,
    .founders-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 30px;
    }

    /* Text content shrinks for readability */
    .hero-content h1,
    .about-text h2,
    .excellence-content h2,
    .courses-header h2,
    .testimonials-container h2,
    .cta-content h2,
    .founders-container h2,
    .values-container h2,
    .contact-info-block h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p,
    .about-text p,
    .excellence-content p,
    .card-content-detailed p,
    .testimonial-text {
        font-size: 1rem;
    }

    /* Other section styles and spacing */
    .excellence-section,
    .about-intro,
    .timeline-section,
    .courses-section,
    .contact-content-section,
    .map-section,
    .testimonials-section,
    .why-choose-us-section {
        padding: 40px 5%;
    }

    /* Specific element sizes */
    .stat-number-outlined {
        font-size: 4rem;
    }
    .timeline-container::before,
    .timeline-item::after {
        left: 20px;
    }
    .timeline-item, .timeline-item-reversed {
        padding-left: 50px;
        flex-direction: column;
        align-items: flex-start;
    }
    .timeline-image {
        order: 1;
        margin-bottom: 20px;
    }
    .timeline-content {
        order: 2;
    }
    .courses-slider-track {
        flex-direction: column;
        gap: 20px;
    }
    .course-card {
        max-width: 100%;
        margin: 0 auto;
    }
    .slider-arrow, .slider-pagination {
        display: none !important;
    }
}