/* ===================================
   HMMCW Website - Complete Stylesheet
   All styles from original template
   =================================== */

/* ===================================
   CSS Variables
   =================================== */
:root {
    --primary-deep: #1a1a5e;
    --primary-royal: #2d2d7a;
    --primary-accent: #4a4aab;
    --gold-rich: #c9a227;
    --gold-light: #e8d48b;
    --gold-soft: #f5edd6;
    --cream-base: #faf8f3;
    --cream-warm: #f5f0e6;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-light: #7a7a9a;
    --white: #ffffff;
    --shadow-soft: 0 4px 20px rgba(26, 26, 94, 0.08);
    --shadow-medium: 0 8px 40px rgba(26, 26, 94, 0.12);
    --shadow-strong: 0 16px 60px rgba(26, 26, 94, 0.16);
    --gradient-royal: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-royal) 50%, var(--primary-accent) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold-rich) 0%, var(--gold-light) 100%);
}

/* ===================================
   Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--cream-base);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ===================================
   Top Contact Bar
   =================================== */
.top-bar {
    background: var(--gradient-royal);
    color: var(--white);
    padding: 3px 0;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.top-bar .container-fluid {
    position: relative;
    z-index: 1;
}

.top-bar a {
    color: var(--gold-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-bar a:hover {
    color: var(--white);
}

.top-bar i {
    color: var(--gold-rich);
    margin-right: 6px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--gold-rich);
    transform: translateY(-2px);
}

.social-icons a i {
    margin: 0;
    color: var(--white);
    font-size: 0.85rem;
}

.top-link {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 500;
}

.top-link:hover {
    background: rgba(201, 162, 39, 0.25);
    color: var(--gold-light);
    transform: translateY(-1px);
}

.top-link i {
    color: var(--gold-rich);
    font-size: 1rem;
}

.top-link:hover i {
    color: var(--gold-light);
}

.top-divider {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    margin: 0 4px;
}

/* ===================================
   Main Header
   =================================== */
.main-header {
    background: linear-gradient(to bottom, var(--cream-base) 0%, var(--cream-warm) 100%);
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='1440' height='200' viewBox='0 0 1440 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23c9a227' fill-opacity='0.09' d='M0,100 Q360,50 720,100 T1440,100 L1440,200 L0,200 Z'/%3E%3Cpath fill='%231a1a5e' fill-opacity='0.06' d='M0,120 Q360,80 720,120 T1440,120 L1440,200 L0,200 Z'/%3E%3Cpath fill='%23c9a227' fill-opacity='0.05' d='M0,140 Q360,110 720,140 T1440,140 L1440,200 L0,200 Z'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center center;
    background-size: 1440px 200px;
    opacity: 1;
    pointer-events: none;
}

.main-header .container-fluid {
    position: relative;
    z-index: 1;
}

.college-info h1 {
    font-size: 26px;
    color: var(--primary-deep);
}

.college-info p {
    margin-bottom: 0.4rem;
}

.college-logo {
    width: 92px;
    height: 92px;
}

.tagline {
    font-size: 18px;
}

/* Header Search */
.header-search-wrapper {
    width: 100%;
    max-width: 450px;
}

.header-search-form {
    width: 100%;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    border: 2px solid var(--cream-warm);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-input-group:focus-within {
    border-color: var(--gold-rich);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.15);
}

.search-icon {
    position: absolute;
    left: 18px;
    color: var(--text-light);
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-input-group:focus-within .search-icon {
    color: var(--gold-rich);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 7px 45px 7px 45px;
    font-size: 0.9rem;
    color: var(--text-primary);
    background: transparent;
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-button {
    background: var(--gradient-gold);
    border: none;
    padding: 6px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-right: 2px;
    border-radius: 50px;
}

.search-button:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f5d78e 100%);
    transform: scale(1.05);
}

.search-button i {
    color: var(--primary-deep);
    font-size: 1.1rem;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-header-login {
    display: inline-flex;
    align-items: center;
    gap: 0px;
    padding: 4px 8px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-student-login {
    background: var(--gradient-royal);
    color: var(--white);
    border-color: var(--primary-deep);
    box-shadow: 0 4px 15px rgba(26, 26, 94, 0.25);
}

.btn-student-login:hover {
    background: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 26, 94, 0.35);
    color: var(--white);
}

.btn-employee-login {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.25);
}

.btn-employee-login:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.35);
    color: var(--white);
}

.btn-admission {
    background: var(--gradient-gold);
    color: var(--primary-deep);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.35);
}

.btn-admission:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f5d78e 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.45);
    color: var(--primary-deep);
}

.btn-fees-payment {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.25);
}

.btn-fees-payment:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.35);
    color: var(--white);
}

.btn-header-login i {
    font-size: 1rem;
}

/* ===================================
   Navigation
   =================================== */
.main-nav {
    background: var(--primary-deep);
    position: relative;
}

.main-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 16px 20px !important;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gold-rich);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
    background: rgba(255,255,255,0.08);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.dropdown-menu {
    background: var(--white);
    border: none;
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow-strong);
    padding: 0;
    margin-top: 0;
    min-width: 260px;
    overflow: hidden;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
}

.dropdown-item {
    padding: 14px 24px;
    color: var(--text-primary);
    font-weight: 500;
    border-bottom: 1px solid var(--cream-warm);
    transition: all 0.3s ease;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--cream-warm);
    color: var(--primary-deep);
    padding-left: 30px;
}

.dropdown-item i {
    color: var(--gold-rich);
    margin-right: 10px;
    width: 20px;
}

/* ===================================
   Hero Carousel
   =================================== */
   
  /* Hero Video Section - Full Width Cover */
.hero-carousel {
    position: relative;
    width: 100%;
    max-height: 550px;
    overflow: hidden;
    background: #000;
}

.hero-video-container {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
}

.hero-video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
    /* Aspect ratio calculation for 16:9 */
    width: 177.77777778vh; /* 100 * 16/9 */
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
}

/* Alternative approach for better browser support */
@supports (aspect-ratio: 16/9) {
    .hero-video-iframe {
        width: 100%;
        height: 100%;
        aspect-ratio: 16/9;
        object-fit: cover;
    }
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );*/
    z-index: 1;
}

.carousel-content {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 75%;
    max-width: 1000px;
    padding: 0 20px;
}

.carousel-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.carousel-badge i {
    color: #ffd700;
}

.carousel-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 33px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Tablet and below */
@media (max-width: 991px) {
    .hero-carousel,
    .hero-video-container {
        max-height: 450px;
        height: 450px;
    }
    
    .hero-video-iframe {
        width: 200vw;
        height: 112.5vw; /* 200 * 9/16 */
    }
    
    .carousel-content h2 {
        font-size: 36px;
    }
    
    .carousel-content p {
        font-size: 16px;
    }
}

/* Mobile landscape and portrait */
@media (max-width: 768px) {
    .hero-carousel,
    .hero-video-container {
        max-height: 400px;
        height: 400px;
    }
    
    .hero-video-iframe {
        width: 250vw;
        height: 140.625vw; /* 250 * 9/16 */
    }
    
    .carousel-content h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .carousel-content p {
        font-size: 15px;
    }
    
    .carousel-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-carousel,
    .hero-video-container {
        max-height: 350px;
        height: 350px;
    }
    
    .hero-video-iframe {
        width: 300vw;
        height: 168.75vw; /* 300 * 9/16 */
    }
    
    .carousel-content h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .carousel-content p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .carousel-badge {
        font-size: 11px;
        padding: 5px 12px;
        margin-bottom: 15px;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .hero-carousel,
    .hero-video-container {
        max-height: 300px;
        height: 300px;
    }
    
    .carousel-content h2 {
        font-size: 20px;
    }
    
    .carousel-content p {
        font-size: 13px;
    }
}
/*.hero-carousel {
    position: relative;
    height: 100vh;
    min-height: 250px;
    max-height: 450px;
}

.carousel-item {
    height: 65vh;
    min-height: 350px;
    max-height: 650px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 900px;
    color: var(--white);
}

.carousel-badge {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--primary-deep);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.carousel-content h2 {
    font-size: 2.0rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.carousel-content p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    padding: 16px 40px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 8px;
}

.btn-hero-primary {
    background: var(--gradient-gold);
    color: var(--primary-deep);
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201, 162, 39, 0.4);
    color: var(--primary-deep);
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-3px);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--gold-rich);
}

.carousel-indicators {
    bottom: 40px;
}

.carousel-indicators button {
    width: 50px;
    height: 5px;
    border-radius: 3px;
    background: rgba(255,255,255,0.4);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: var(--gold-rich);
    width: 70px;
}*/

/* ===================================
   News Ticker
   =================================== */
.news-ticker {
    background: var(--primary-deep);
    padding: 14px 0;
    border-bottom: 2px solid var(--gold-rich);
    position: relative;
    overflow: hidden;
}

.ticker-label {
    background: var(--gradient-gold);
    color: var(--primary-deep);
    padding: 8px 24px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ticker-label i {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.ticker-content {
    overflow: hidden;
    flex: 1;
    margin-left: 20px;
}

.ticker-text {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 45s linear infinite;
    color: var(--white);
    font-weight: 500;
}

.ticker-text span {
    margin-right: 60px;
    position: relative;
}

.ticker-text span::after {
    content: '◆';
    color: var(--gold-rich);
    margin-left: 60px;
    font-size: 0.7rem;
}

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

/* ===================================
   Counter Section
   =================================== */
.counter-section {
    padding: 40px 0;
    background: var(--gradient-royal);
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.counter-section .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.counter-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-5px);
}

.counter-icon {
    font-size: 2.5rem;
    color: var(--gold-light);
    transition: all 0.3s ease;
}

.counter-item:hover .counter-icon {
    color: var(--gold-rich);
    transform: scale(1.1);
}

.counter-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.counter-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.02em;
}

/* ===================================
   About Section
   =================================== */
.about-section {
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.badge,
.badge-text {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--primary-deep);
    padding: 6px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--primary-deep);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
    outline: 1px solid rgba(26, 26, 94, 0.3);
    outline-offset: -4px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(26, 26, 94, 0.15);
    border-color: var(--primary-accent);
}

.card.golden-border {
    border: 3px solid var(--gold-rich);
    outline: 1px solid rgba(201, 162, 39, 0.4);
}

.card.golden-border:hover {
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.15);
    border-color: #d4af37;
}

.card-header {
    padding: 24px;
    position: relative;
    overflow: hidden;
    background-color: #f5f0e6;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(201, 162, 39, 0.03) 10px, rgba(201, 162, 39, 0.03) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(26, 26, 94, 0.02) 10px, rgba(26, 26, 94, 0.02) 20px);
}

.card-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(26, 26, 94, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 94, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(26, 26, 94, 0.1);
}

.icon-box i {
    font-size: 1.4rem;
    color: var(--primary-deep);
}

.card.golden-border .icon-box {
    background: rgba(201, 162, 39, 0.1);
    border-color: rgba(201, 162, 39, 0.2);
}

.card.golden-border .icon-box i {
    color: var(--gold-rich);
}

.header-text h3 {
    color: var(--primary-deep);
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.header-text p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

.principal-box {
    padding: 20px 24px;
    background: linear-gradient(to right, #f9fafb 0%, var(--white) 100%);
    /*border-bottom: 2px solid var(--gold-rich);*/
    display: flex;
    align-items: center;
    gap: 20px;
}

.principal-img {
    width: 190px;
    height: 190px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid var(--primary-deep);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.principal-info h4 {
    color: var(--primary-deep);
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.principal-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.tags {
    display: flex;
    gap: 6px;
}

.tag {
    background: var(--primary-deep);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.card.golden-border .tag {
    background: var(--gold-rich);
    color: var(--primary-deep);
}

.card-body {
    padding: 24px;
}

.card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-deep);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 12px;
    color: var(--gold-rich);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(4px);
}

.card.golden-border .read-more {
    color: var(--gold-rich);
}

.card.golden-border .read-more:hover {
    color: var(--primary-deep);
}

/* ===================================
   Notice Section
   =================================== */
.notice-section {
    padding: 30px 0;
    background: linear-gradient(135deg, var(--cream-warm) 0%, var(--cream-base) 100%);
}

.notice-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: all 0.3s ease;
}

.notice-card:hover {
    box-shadow: var(--shadow-medium);
}

.notice-header {
    background: var(--gradient-royal);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notice-header.general {
    background: linear-gradient(135deg, #1a5e3c 0%, #2a8f5a 100%);
}

.notice-header.tender {
    background: linear-gradient(135deg, #5e1a3c 0%, #8f2a5a 100%);
}

.notice-header.admission {
    background: linear-gradient(135deg, #3ab5b0 0%, #56317a 100%);
}

.notice-header.exam {
    background: linear-gradient(135deg, #5e3c1a 0%, #8f5a2a 100%);
}

.notice-header i {
    font-size: 1.4rem;
    color: var(--white);
    min-height: 35px;
}

.notice-header h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin: 0;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
}

.notice-body {
    padding: 20px 24px;
    max-height: 150px;
    overflow-y: auto;
}

.notice-body::-webkit-scrollbar {
    width: 6px;
}

.notice-body::-webkit-scrollbar-track {
    background: var(--cream-warm);
    border-radius: 3px;
}

.notice-body::-webkit-scrollbar-thumb {
    background: var(--gold-rich);
    border-radius: 3px;
}

.notice-item {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--cream-warm);
    transition: all 0.3s ease;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item:hover {
    background: var(--cream-warm);
    margin: 0 -24px;
    padding: 14px 24px;
}

.notice-date {
    background: var(--cream-warm);
    padding: 6px 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 55px;
    flex-shrink: 0;
}

.notice-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-deep);
    line-height: 1;
}

.notice-date .month {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.notice-text {
    flex: 1;
}

.notice-text a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    font-size: 0.95rem;
}

.notice-text a:hover {
    color: var(--primary-accent);
}

.notice-text .new-badge {
    display: inline-block;
    background: #dc3545;
    color: var(--white);
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 50px;
    margin-left: 8px;
    font-weight: 600;
    text-transform: uppercase;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.notice-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--cream-warm);
    text-align: center;
}

.btn-view-all {
    color: var(--primary-deep);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    color: var(--gold-rich);
    gap: 12px;
}

/* ===================================
   Important Links Section
   =================================== */
.links-section {
    padding: 30px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f5f0e6 100%);
    position: relative;
    overflow: hidden;
}

.links-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(201, 162, 39, 0.02) 35px, rgba(201, 162, 39, 0.02) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(26, 26, 94, 0.015) 35px, rgba(26, 26, 94, 0.015) 70px),
        radial-gradient(circle at 20% 30%, rgba(201, 162, 39, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(26, 26, 94, 0.02) 0%, transparent 50%);
    opacity: 1;
}

.links-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a227' fill-opacity='0.015'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3Ccircle cx='80' cy='20' r='2'/%3E%3Ccircle cx='20' cy='80' r='2'/%3E%3Ccircle cx='80' cy='80' r='2'/%3E%3Ccircle cx='50' cy='50' r='2'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.links-section .container {
    position: relative;
    z-index: 1;
}

.links-split-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-content: start;
}

.feature-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 248, 243, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    border: 2px solid var(--primary-deep);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(26, 26, 94, 0.08);
}

.feature-box:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(250, 248, 243, 1) 100%);
    transform: translateY(-8px);
    border-color: var(--primary-accent);
    box-shadow: 0 8px 25px rgba(26, 26, 94, 0.15);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary-deep);
}

.feature-box h4 {
    color: var(--primary-deep);
    font-size: 1.15rem;
    margin: 0;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.feature-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.feature-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-deep);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.feature-read-more:hover {
    color: var(--gold-rich);
    gap: 12px;
}

.feature-read-more i {
    transition: transform 0.3s ease;
}

.feature-read-more:hover i {
    transform: translateX(4px);
}

.important-links-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 243, 0.95) 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(26, 26, 94, 0.12);
    border: 3px solid var(--gold-rich);
    position: sticky;
    top: 20px;
    height: fit-content;
    backdrop-filter: blur(10px);
}

.important-links-panel h3 {
    color: var(--primary-deep);
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--gold-rich);
    font-family: 'Playfair Display', serif;
}

.important-link {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    margin-bottom: 8px;
    background: var(--cream-warm);
    border-radius: 10px;
    border-left: 4px solid var(--gold-rich);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
}

.important-link:hover {
    background: var(--white);
    transform: translateX(8px);
    box-shadow: var(--shadow-medium);
    border-left-color: var(--primary-deep);
}

.important-link i {
    font-size: 1.2rem;
    color: var(--primary-deep);
    margin-right: 12px;
    min-width: 22px;
    transition: all 0.3s ease;
}

.important-link:hover i {
    color: var(--gold-rich);
    transform: scale(1.2);
}

.important-link span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* ===================================
   News & Events Section
   =================================== */
.news-events-section {
    padding: 60px 0;
    background: var(--cream-base);
}

#newsCarousel {
    position: relative;
    padding: 0 70px;
    overflow: hidden;
}

.carousel-inner {
    padding-bottom: 70px;
}

.news-carousel-control {
    width: 55px;
    height: 55px;
    background: var(--gradient-gold);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: var(--shadow-medium);
    z-index: 10;
}

.news-carousel-control:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-strong);
}

.news-carousel-control i {
    color: var(--primary-deep);
    font-size: 1.5rem;
}

.carousel-control-prev.news-carousel-control {
    left: 0;
}

.carousel-control-next.news-carousel-control {
    right: 0;
}

.news-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.news-carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
    opacity: 1;
}

.news-carousel-indicators button.active {
    background: var(--gold-rich);
    width: 40px;
    border-radius: 6px;
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-10px);
}

.news-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.08);
}

.news-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-gold);
    color: var(--primary-deep);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 1;
}

.news-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-date {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-card-date i {
    color: var(--gold-rich);
}

.news-card-title {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    height: 66px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card-title a:hover {
    color: var(--primary-accent);
}

.news-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.btn-read-more {
    color: var(--primary-deep);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.btn-read-more:hover {
    color: var(--gold-rich);
    gap: 12px;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery-section {
    padding: 30px 0;
    background: url("https://www.toptal.com/designers/subtlepatterns/uploads/embossed-diamond.png");
    background-repeat: repeat;
    position: relative;
    overflow: hidden;
}

.gallery-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 248, 243, 0.75);
    pointer-events: none;
    z-index: 0;
}

.gallery-section > * {
    position: relative;
    z-index: 1;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.gallery-tab {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--cream-warm);
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-soft);
}

.gallery-tab i {
    font-size: 1.2rem;
    color: var(--gold-rich);
    transition: all 0.3s ease;
}

.gallery-tab:hover {
    background: var(--white);
    border-color: var(--gold-rich);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.gallery-tab.active {
    background: var(--gradient-gold);
    border-color: var(--gold-rich);
    color: var(--primary-deep);
    box-shadow: var(--shadow-medium);
}

.gallery-tab.active i {
    color: var(--primary-deep);
}

.gallery-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.gallery-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gallery-item,
.video-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    height: 280px;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
}

.gallery-item:hover,
.video-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.gallery-item img,
.video-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img,
.video-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 94, 0.9) 0%, rgba(201, 162, 39, 0.7) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay,
.video-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 16px;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s ease;
}

.video-item .gallery-overlay i {
    font-size: 4rem;
}

.gallery-item:hover .gallery-overlay i,
.video-item:hover .gallery-overlay i {
    transform: translateY(0) scale(1);
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
    text-align: center;
    padding: 0 20px;
}

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

.gallery-view-all {
    text-align: center;
    margin-top: 50px;
}

.btn-view-gallery {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-gold);
    color: var(--primary-deep);
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-medium);
}

.btn-view-gallery:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(201, 162, 39, 0.4);
    color: var(--primary-deep);
    gap: 18px;
}

.btn-view-gallery i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.btn-view-gallery:hover i {
    transform: translateX(5px);
}

/* ===================================
   Lightbox Modal
   =================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    text-align: center;
    color: var(--white);
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--gradient-gold);
    color: var(--primary-deep);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-nav:hover {
    background: var(--gold-rich);
    color: var(--primary-deep);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

/* ===================================
   Footer
   =================================== */
.main-footer {
    background: var(--gradient-royal);
    color: var(--white);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.main-footer .container {
    position: relative;
    z-index: 1;
}

.footer-title {
    color: var(--gold-light);
    font-size: 1.3rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold-light);
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--gold-rich);
    font-size: 1.1rem;
    margin-top: 3px;
    min-width: 20px;
}

.footer-contact-item span {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-social-section {
    margin-top: 24px;
}

.footer-social-title {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--gold-rich);
    color: var(--primary-deep);
    transform: translateY(-3px);
}

.footer-map {
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    background: rgba(0,0,0,0.25);
    padding: 20px 0;
    margin-top: 50px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom a {
    color: var(--gold-light);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    color: var(--primary-deep);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-medium);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

/* ===================================
   Feature Cards (About & Principal)
   =================================== */
.feature-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
    height: 100%;
    background: var(--white);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-strong);
}

.feature-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.feature-card-image1 {
    position: relative;
    height: 280px;
    overflow: hidden;
    text-align: center;
}

.feature-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-card-image1 img1 {
    width: 38%;
    height: auto;
    transition: transform 0.6s ease;
}

.feature-card:hover .feature-card-image img {
    transform: scale(1.08);
}

.feature-card-image::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%231a1a5e' d='M0,50 C360,100 720,0 1080,50 C1260,75 1440,50 1440,50 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}

.feature-card-content {
    background: var(--primary-deep);
    padding: 30px 28px;
    position: relative;
}

.feature-card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.feature-card-title h3 {
    color: var(--white);
    font-size: 1.35rem;
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold-rich);
}

.feature-card-title h3 a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.feature-card-title h3 a:hover {
    color: var(--gold-light);
}

.feature-card-arrow {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover .feature-card-arrow {
    background: var(--gold-rich);
    color: var(--primary-deep);
    transform: translateX(5px);
}

.feature-card-text {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ===================================
   Responsive Media Queries
   =================================== */
@media (max-width: 1400px) {
    .top-link {
        font-size: 0.82rem;
        padding: 5px 10px;
        gap: 3px;
    }
    
    .top-link i {
        font-size: 0.9rem;
    }
    
    .header-search-wrapper {
        max-width: 380px;
    }
}

@media (max-width: 1200px) {
    .top-link span {
        display: none;
    }
    
    .top-link {
        padding: 8px;
        width: 36px;
        height: 36px;
        justify-content: center;
        border-radius: 50%;
    }
    
    .top-link i {
        font-size: 1.1rem;
        margin: 0;
    }
    
    .top-divider {
        display: none;
    }
    
    .header-search-wrapper {
        max-width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .gallery-item,
    .video-item {
        height: 240px;
    }
}

@media (max-width: 992px) {
    .counter-grid {
        gap: 40px;
    }

    .counter-icon {
        font-size: 2rem;
    }

    .counter-number {
        font-size: 2rem;
    }

    .counter-label {
        font-size: 0.85rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .gallery-item,
    .video-item {
        height: 220px;
    }
    
    .gallery-tabs {
        gap: 12px;
    }
    
    .gallery-tab {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
    
    .links-split-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .important-links-panel {
        position: relative;
        top: 0;
    }
    
    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .header-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-header-login {
        width: 100%;
        justify-content: center;
    }
    
    .header-search-wrapper {
        width: 100%;
    }
    
    .search-input {
        font-size: 0.85rem;
        padding: 9px 40px 9px 40px;
    }

    .college-info h1 {
        font-size: 1.2rem;
    }

    .carousel-content h2 {
        font-size: 1.8rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    .btn-hero {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

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

    .feature-card-image {
        height: 220px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .principal-box {
        flex-direction: column;
        text-align: center;
    }

    .principal-img {
        width: 80px;
        height: 80px;
    }

    .tags {
        justify-content: center;
    }
    
    .counter-section {
        padding: 30px 0;
    }

    .counter-grid {
        gap: 30px;
    }

    .counter-icon {
        font-size: 1.8rem;
    }

    .counter-number {
        font-size: 1.8rem;
    }

    .counter-label {
        font-size: 0.8rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-item,
    .video-item {
        height: 180px;
    }

    .btn-view-gallery {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .gallery-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .gallery-tab span {
        display: none;
    }
    
    .gallery-tab i {
        font-size: 1.4rem;
        margin: 0;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-box {
        padding: 25px;
    }

    .footer-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .carousel-content h2 {
        font-size: 1.5rem;
    }

    ./*hero-carousel {
        height: 70vh;
        min-height: 450px;
    }*/

    .carousel-item {
        height: 70vh;
        min-height: 450px;
    }

    .college-logo {
        width: 50px;
        height: 50px;
    }

    .navbar-brand {
        font-size: 1rem;
    }
    
    .counter-grid {
        gap: 25px;
    }

    .counter-item {
        min-width: 120px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }
}
