/* Why JES Page Styles */

:root {
    --primary-color: #1a3c8b;
    --secondary-color: #e63946;
    --accent-color: #4caf50;
    --text-color: #333333;
    --text-light: #6c757d;
    --background-color: #ffffff;
    --background-light: #f8f9fa;
    --border-color: #e0e0e0;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Main content margin adjustment for fixed header */
main {
    margin-top: 200px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styles */
section {
    padding: 70px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

.section-title.left-align {
    text-align: left;
}

.title-underline {
    height: 4px;
    width: 70px;
    background-color: var(--secondary-color);
    margin: 0 auto 20px;
}

.title-underline.left-align {
    margin: 0 0 20px 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    font-family: "Open Sans", sans-serif;
}

.alt-bg {
    background-color: var(--background-light);
}

/* Hero Banner Section */
/* Page Title Section */
.page-title-section {
    background-color: var(--primary-color);
    padding: 40px 0;
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.page-title-section h1 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.page-title-section h1:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.breadcrumb {
    margin-top: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb i {
    margin: 0 10px;
    font-size: 0.8rem;
}

.breadcrumb span {
    color: var(--secondary-color);
}
@media (max-width: 576px) {
    .page-title-section h1 {
        font-size: 2rem;
    }
}
/* Stats Container */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

/* Stat Card */
.stat-card {
    flex: 1;
    min-width: 220px;
    max-width: 270px;
    height: 220px;
    perspective: 1000px;
}

.stat-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.stat-card:hover .stat-card-inner {
    transform: rotateY(180deg);
}

.stat-front, .stat-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.stat-front {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-left: 5px solid var(--primary-color);
    border-bottom: 5px solid var(--primary-color);
    color: var(--text-color);
}

.stat-back {
    background: linear-gradient(135deg, var(--primary-color), #0f2557);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-back p {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26, 60, 139, 0.1), rgba(26, 60, 139, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.stat-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    top: -100%;
    left: -100%;
    transition: all 0.6s ease;
}

.stat-card:hover .stat-icon::before {
    top: 100%;
    left: 100%;
}

.stat-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-family: "Roboto", sans-serif;
    position: relative;
}

.stat-number::after {
    content: '+';
    font-size: 1.8rem;
    position: absolute;
    top: 0;
    right: -15px;
}

/* Only the 62 years stat doesn't need a plus sign */
.stat-number[data-count="62"]::after {
    content: '';
}

.stat-text {
    font-size: 1.1rem;
    color: var(--text-light);
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .stat-card {
        min-width: 200px;
        height: 200px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 320px;
    }
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-box {
    position: relative;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #0f2557);
    clip-path: circle(80px at 0% 0%);
    transition: all 0.6s ease-in-out;
    z-index: 1;
}

.feature-box:hover::before {
    clip-path: circle(400px at 0% 0%);
}

.feature-content {
    position: relative;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-box:hover .feature-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.feature-icon-wrapper i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.feature-box:hover .feature-icon-wrapper i {
    color: #ffffff;
}

.feature-box h3 {
    font-family: "Roboto", sans-serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: all 0.4s ease;
    position: relative;
    z-index: 3;
}

.feature-box:hover h3 {
    color: #ffffff;
    transform: translateY(-5px);
}

.feature-box p {
    color: var(--text-light);
    font-family: "Open Sans", sans-serif;
    line-height: 1.6;
    transition: all 0.4s ease;
    position: relative;
    z-index: 3;
}

.feature-box:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--secondary-color);
    transition: all 0.4s ease;
}

.feature-box:hover .feature-overlay {
    height: 10px;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}


/* Detail Sections */
.detail-section {
    padding: 80px 0;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.detail-row.reverse {
    flex-direction: row-reverse;
}

.detail-text {
    flex: 1;
}

.detail-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
    font-family: "Open Sans", sans-serif;
}

.check-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.check-list li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 5px;
}

.check-list li h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-family: "Roboto", sans-serif;
}

.check-list li p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.detail-image {
    flex: 1;
}

.detail-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Facilities Section */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.facility-box {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    position: relative;
}

.facility-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.facility-icon-container {
    height: 120px;
    background: linear-gradient(45deg, var(--primary-color), #0f2557);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.facility-icon-container::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    top: -25%;
    left: -25%;
    opacity: 0;
    transition: all 0.6s ease;
}

.facility-box:hover .facility-icon-container::before {
    opacity: 1;
    transform: scale(1.2);
}

.facility-icon-container i {
    font-size: 3rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.facility-box:hover .facility-icon-container i {
    transform: scale(1.2);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.facility-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.facility-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: all 0.4s ease;
}

.facility-box:hover .facility-content::after {
    width: 100%;
}

.facility-box h3 {
    font-family: "Roboto", sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.facility-box:hover h3 {
    color: var(--secondary-color);
}

.facility-box p {
    color: var(--text-light);
    font-family: "Open Sans", sans-serif;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.facility-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-family: "Roboto", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.facility-btn i {
    transition: all 0.3s ease;
}

.facility-box:hover .facility-btn {
    color: var(--secondary-color);
    opacity: 1;
}

.facility-box:hover .facility-btn i {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .feature-box, 
    .facility-box {
        height: auto;
    }
    
    .feature-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .features,
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-box {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .facility-box {
        max-width: 400px;
        margin: 0 auto;
    }
}
/* Activities Section */
.activities-section {
    padding: 80px 0;
}

.tabs-container {
    margin-top: 50px;
}

.tabs-header {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 25px;
    background-color: #ffffff;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: "Roboto", sans-serif;
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.tabs-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-panel.active {
    display: block;
}

.tab-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.tab-text {
    flex: 1;
}

.tab-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    color: var(--primary-color);
    font-family: "Playfair Display", serif;
}

.tab-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.tab-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
    font-family: "Open Sans", sans-serif;
}

.icon-list {
    list-style: none;
    padding: 0;
}

.icon-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1rem;
    font-family: "Open Sans", sans-serif;
}

.icon-list li i {
    color: var(--secondary-color);
}

.tab-image {
    flex: 1;
}

.tab-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Achievements Section */
.achievements-section {
    padding: 80px 0;
}

.achievement-highlight {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.highlight-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.highlight-content {
    flex: 1;
}

.highlight-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
}

.highlight-content p {
    font-size: 1.05rem;
    opacity: 0.9;
    font-family: "Open Sans", sans-serif;
}

.achievements-accordion {
    margin-top: 30px;
}

.accordion-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: rgba(26, 60, 139, 0.05);
}

.accordion-header h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--primary-color);
    font-family: "Roboto", sans-serif;
}

.accordion-icon {
    font-size: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.accordion-item.active .accordion-icon i {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background-color: #ffffff;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 20px 30px;
    max-height: 1000px;
}

.accordion-content p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-light);
    font-family: "Open Sans", sans-serif;
}

.medals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.medal-category h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-family: "Roboto", sans-serif;
}

.medal-category ul {
    list-style: none;
    padding-left: 25px;
}

.medal-category li {
    margin-bottom: 8px;
    position: relative;
    font-size: 0.95rem;
    font-family: "Open Sans", sans-serif;
}

.medal-category li:before {
    content: "•";
    position: absolute;
    left: -15px;
    color: var(--secondary-color);
}

.fa-medal.gold {
    color: gold;
}

.fa-medal.silver {
    color: silver;
}

.fa-medal.bronze {
    color: #cd7f32;
}
.testimonials-section {
    padding: 80px 0;
}

.testimonials-slider {
    position: relative;
    margin-top: 50px;
}

.testimonials-wrapper {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.testimonial-card {
    flex: 0 0 100%; /* Ensure each card takes 100% of the width */
    padding: 40px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    position: relative;
    transition: transform 0.5s ease;
    border-left: 4px solid var(--primary-color);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: rgba(26, 60, 139, 0.1);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
    padding-top: 20px;
    font-family: "Open Sans", sans-serif;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-family: "Roboto", sans-serif;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: "Open Sans", sans-serif;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: #ffffff;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: "Playfair Display", serif;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-family: "Open Sans", sans-serif;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-family: "Roboto", sans-serif;
}

.cta-button.primary {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.cta-button.primary:hover {
    background-color: #d32f2f;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

.cta-button.secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cta-button.secondary:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .hero-banner {
        height: 350px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .detail-row, 
    .detail-row.reverse,
    .tab-flex {
        flex-direction: column;
        gap: 40px;
    }
    
    .detail-image {
        order: -1;
    }
    
    .achievement-highlight {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 300px;
        margin-top: 180px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-box {
        width: 100%;
        max-width: 100%;
    }
    
    .features,
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-header {
        flex-direction: column;
        width: 100%;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .medals-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        height: 250px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .check-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .accordion-header {
        padding: 15px;
    }
    
    .accordion-header h3 {
        font-size: 1rem;
    }
    
    .accordion-item.active .accordion-content {
        padding: 15px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}