/* Slideshow Styles */
.hero-slideshow {
    width: 100%;
    position: relative;
}

.heroSwiper {
    width: 100%;
    height: 500px;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem;
    text-align: center;
}

.slide-caption h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .heroSwiper { height: 300px; }
    .slide-caption h3 { font-size: 1.2rem; }
}

/* News Ticker */
.news-ticker {
    background: #fff3e0;
    border-bottom: 2px solid #ffc107;
    padding: 0.6rem 0;
}

.ticker-content {
    overflow: hidden;
    white-space: nowrap;
}

.ticker-text {
    display: inline-block;
    animation: ticker 15s linear infinite;  /* Changed from 30s to 15s */
}

.ticker-text span {
    display: inline-block;
    margin-right: 2rem;
    color: #1e2a3e;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-content:hover .ticker-text {
    animation-play-state: paused;
}

/* Cards */
.info-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    background: white;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.certificate-card {
    background: linear-gradient(135deg, #fffdf7, #fff9ef);
    border-left: 5px solid #ffc107;
}

.vision-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

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

.vision-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a4a5f, #0f2c38);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.director-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
}

.director-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffc107;
}

.notice-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #ffc107;
    transition: all 0.2s;
}

.notice-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.small-notice-card {
    background: linear-gradient(135deg, #ffffff 0%, #fef9e6 100%);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border-left: 5px solid #ffc107;
}

.mini-notice {
    background: #f8f9fa;
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.mini-notice:hover {
    transform: translateX(5px);
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.date-badge {
    background: #e9ecef;
    color: #495057;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
}

.new-badge {
    background: #dc3545;
    color: white;
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-left: 0.5rem;
    font-weight: 600;
}

.director-card-enhanced {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2ff 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.director-card-enhanced:hover {
    transform: translateY(-5px);
}

.director-img-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #ffc107;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    transition: all 0.3s;
}

.director-img-large:hover {
    transform: scale(1.02);
    border-color: #ffc107;
}

.director-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c3e50;
    font-style: italic;
    position: relative;
    padding: 0 1.5rem;
}

.director-quote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: -0.5rem;
    top: -1rem;
    color: #ffc107;
    opacity: 0.5;
    font-family: serif;
}

.director-quote::after {
    content: '"';
    font-size: 4rem;
    position: absolute;
    right: -0.5rem;
    bottom: -2rem;
    color: #ffc107;
    opacity: 0.5;
    font-family: serif;
}

.director-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a4a5f;
    margin-bottom: 0.25rem;
}

.director-title {
    font-size: 1rem;
    color: #b45f06;  /* Darker brown/gold color */
    font-weight: 700;
    letter-spacing: 1px;
}

.director-stats {
    background: white;
    border-radius: 1rem;
    padding: 0.8rem 1.2rem;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a4a5f;
}

@media (max-width: 768px) {
    .director-img-large {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
    }
    .director-name {
        font-size: 1.3rem;
    }
    .director-quote {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    .director-quote::before,
    .director-quote::after {
        font-size: 2rem;
    }
}


.about-suiit-card {
    margin: 3rem 0;
    position: relative;
}

.about-card-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #fef9ef 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(255,193,7,0.2);
}

.about-card-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: rgba(255,193,7,0.4);
}

/* Decorative elements */
.card-deco {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,193,7,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.card-deco-2 {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,140,0,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-text-section {
    position: relative;
    z-index: 2;
}

.about-text-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.dropcap {
    font-size: 3rem;
    font-weight: 800;
    color: #ffc107;
    float: left;
    margin-right: 0.5rem;
    line-height: 0.8;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.highlight {
    background: linear-gradient(120deg, rgba(255,193,7,0.25) 0%, rgba(255,193,7,0.1) 100%);
    color: #e65100;
    font-weight: 600;
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s ease;
}

.about-card-wrapper:hover .highlight {
    background: linear-gradient(120deg, rgba(255,193,7,0.35) 0%, rgba(255,193,7,0.15) 100%);
}

/* Statistics Section */
.about-stats-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255,193,7,0.2);
    position: relative;
    z-index: 2;
}

.stat-item {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,193,7,0.05);
    border-radius: 1rem;
    transition: all 0.3s ease;
    cursor: default;
}

.stat-item:hover {
    background: rgba(255,193,7,0.12);
    transform: translateY(-3px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255,193,7,0.3);
}

.stat-icon i {
    font-size: 1.5rem;
    color: #0f2c38;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a4a5f;
    margin-bottom: 0;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

.stat-number .plus {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffc107;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.75rem;
    color: #5a6e7c;
    margin-bottom: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-card-wrapper {
        padding: 1.2rem;
    }

    .about-text-section p {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .dropcap {
        font-size: 2.2rem;
    }

    .about-stats-section {
        flex-direction: column;
        gap: 0.8rem;
    }

    .stat-item {
        min-width: auto;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-number .plus {
        font-size: 1rem;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
    }

    .stat-icon i {
        font-size: 1.2rem;
    }
}

.news-events-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ffc107;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a4a5f;
    margin: 0;
}

.section-header h2 i {
    color: #ffc107;
    margin-right: 0.5rem;
}

.show-all-btn {
    background: transparent;
    border: 2px solid #ffc107;
    color: #1a4a5f;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.show-all-btn:hover {
    background: #ffc107;
    color: #0f2c38;
    transform: translateY(-2px);
}

/* Horizontal Scroll Container */
.events-scroll-container {
    position: relative;
    margin: 1rem 0;
}

.events-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 0.5rem 0 1rem 0;
}

.events-wrapper::-webkit-scrollbar {
    height: 6px;
}

.events-wrapper::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 10px;
}

.events-wrapper::-webkit-scrollbar-thumb {
    background: #ffc107;
    border-radius: 10px;
}

.events-row {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem 0.25rem;
}

/* Event Card */
.event-card-horizontal {
    flex: 0 0 320px;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.event-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.event-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card-horizontal:hover .event-image {
    transform: scale(1.05);
}

.event-content {
    padding: 1.2rem;
}

.event-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff3e0;
    color: #e65100;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a4a5f;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.event-description {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.read-more {
    font-size: 0.75rem;
    color: #ffc107;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.event-card-horizontal:hover .read-more {
    gap: 8px;
}

/* Scroll Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.scroll-btn:hover {
    background: #ffc107;
    border-color: #ffc107;
    color: white;
}

.scroll-left {
    left: -20px;
}

.scroll-right {
    right: -20px;
}

@media (max-width: 768px) {
    .news-events-section {
        padding: 1.2rem;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    .event-card-horizontal {
        flex: 0 0 280px;
    }

    .event-image {
        height: 150px;
    }

    .scroll-left {
        left: -10px;
    }

    .scroll-right {
        right: -10px;
    }

    .scroll-btn {
        width: 32px;
        height: 32px;
    }
}
.gallery-section {
    margin: 4rem 0;
    position: relative;
}

.gallery-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.gallery-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a4a5f;
    margin-bottom: 0.5rem;
}

.gallery-header h2 i {
    color: #ffc107;
    margin-right: 0.5rem;
}

.gallery-header p {
    color: #6c757d;
    font-size: 1rem;
}

.gallery-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ffc107, #ff8c00);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-thumb {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay i {
    font-size: 1.5rem;
    color: #ffc107;
}

.gallery-info {
    padding: 1rem;
}

.gallery-date {
    font-size: 0.7rem;
    color: #e65100;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.3rem;
}

.gallery-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a4a5f;
    margin-bottom: 0.3rem;
}

.gallery-desc {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.4;
}

.view-all-btn {
    text-align: center;
    margin-top: 1rem;
}

.btn-view-all {
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    color: #0f2c38;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,193,7,0.3);
    color: #0f2c38;
}

/* Modal Styles */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    overflow: hidden;
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.modal-close:hover {
    color: #ffc107;
    transform: scale(1.1);
}

.modal-carousel {
    width: 80%;
    max-width: 900px;
    position: relative;
}

.modal-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 0.5rem;
}

.modal-prev, .modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.modal-prev {
    left: -70px;
}

.modal-next {
    right: -70px;
}

.modal-prev:hover, .modal-next:hover {
    background: #ffc107;
    color: #0f2c38;
}

.modal-caption {
    text-align: center;
    margin-top: 1rem;
    color: white;
}

.modal-caption h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.modal-caption p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.modal-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.5);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .modal-carousel {
        width: 90%;
    }

    .modal-prev {
        left: -40px;
    }

    .modal-next {
        right: -40px;
    }

    .modal-prev, .modal-next {
        width: 35px;
        height: 35px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }
}

/* Past event styling */
.event-date-badge.past-event {
    background: #e9ecef;
    color: #6c757d;
}

.event-date-badge .badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
}