/* =============================================
   Police Modern School - Modern Theme
   Fresh Build with Bootstrap 5
   ============================================= */

:root {
    --primary: #7b1113;
    --primary-light: #a01517;
    --secondary: #d4af37;
    --accent: #c0392b;
    --dark: #1a0a0a;
    --light: #fdf5f5;
    --gray: #6c757d;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #7b1113 0%, #a01517 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #e8cc6e 100%);
    --gradient-hero: linear-gradient(135deg, #7b1113 0%, #a01517 50%, #8b1a1a 100%);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 15px 50px rgba(0,0,0,0.15);
    --radius: 12px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* -- Reset & Base -- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; }

/* ========== TOP BAR ========== */
.topbar {
    background: var(--primary);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.topbar a { color: rgba(255,255,255,0.8); }
.topbar a:hover { color: var(--secondary); }
.topbar-left span {
    margin-right: 20px;
    display: inline-block;
}
.topbar-left i {
    color: var(--secondary);
    margin-right: 6px;
    font-size: 12px;
}
.topbar-right {
    text-align: right;
}
.topbar-right a {
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    font-size: 12px;
    color: #fff;
}
.topbar-right a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ========== NAVBAR ========== */
.main-navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 0;
    transition: var(--transition);
    z-index: 1000;
}
.main-navbar.scrolled {
    box-shadow: var(--shadow-md);
}
.main-navbar .navbar-brand img {
    height: 60px;
    transition: var(--transition);
}
.main-navbar .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--primary) !important;
    padding: 20px 16px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}
/* underline effect - only on non-dropdown links */
.main-navbar .nav-item:not(.dropdown) > .nav-link::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 16px;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}
.main-navbar .nav-item:not(.dropdown) > .nav-link:hover::after,
.main-navbar .nav-item.active:not(.dropdown) > .nav-link::after {
    width: calc(100% - 32px);
}
/* underline for dropdown parent links */
.main-navbar .nav-item.dropdown > .nav-link::before {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 16px;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}
.main-navbar .nav-item.dropdown:hover > .nav-link::before,
.main-navbar .nav-item.dropdown.active > .nav-link::before {
    width: calc(100% - 40px);
}
.main-navbar .nav-link:hover {
    color: var(--accent) !important;
}
.main-navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    padding: 10px 0;
    margin-top: 0;
    border-top: 3px solid var(--secondary);
    animation: fadeInDown 0.3s ease;
}
.main-navbar .dropdown-item {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 20px;
    color: var(--primary);
    transition: var(--transition);
}
.main-navbar .dropdown-item:hover {
    background: var(--light);
    color: var(--accent);
    padding-left: 25px;
}
/* Dropdown on hover for desktop */
@media (min-width: 992px) {
    .main-navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    .main-navbar .nav-item.dropdown > .dropdown-menu {
        display: none;
    }
    .main-navbar .nav-item.dropdown:hover > .nav-link {
        color: var(--accent) !important;
    }
}
.navbar-toggler {
    border: 2px solid var(--primary);
    padding: 6px 10px;
}
.navbar-toggler-icon {
    background-image: none;
}
.navbar-toggler .fa-bars {
    color: var(--primary);
    font-size: 20px;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== HERO BANNER ========== */
.hero-banner {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary);
}
.hero-banner .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-banner .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}
.hero-banner .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(123,17,19,0.92) 0%, rgba(90,10,10,0.85) 40%, rgba(60,5,5,0.7) 100%);
    z-index: 1;
}
/* animated floating shapes */
.hero-banner .hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}
.hero-banner .hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: floatShape 8s ease-in-out infinite;
}
.hero-banner .hero-shapes .shape-1 {
    width: 400px; height: 400px;
    background: var(--secondary);
    top: -10%; right: -5%;
    animation-delay: 0s;
}
.hero-banner .hero-shapes .shape-2 {
    width: 250px; height: 250px;
    background: #fff;
    bottom: -8%; left: 5%;
    animation-delay: 2s;
}
.hero-banner .hero-shapes .shape-3 {
    width: 150px; height: 150px;
    background: var(--secondary);
    top: 30%; left: 40%;
    animation-delay: 4s;
}
.hero-banner .hero-shapes .shape-4 {
    width: 80px; height: 80px;
    border: 3px solid var(--secondary);
    background: transparent;
    top: 15%; right: 20%;
    animation: floatShape 6s ease-in-out infinite reverse;
}
@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}
.hero-banner .hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 40px 0;
}
.hero-banner .hero-text {
    max-width: 650px;
}
.hero-banner .badge-tag {
    display: inline-block;
    background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.4);
    color: var(--secondary);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.hero-banner .hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 22px;
}
.hero-banner .hero-text h1 span {
    color: var(--secondary);
    display: inline-block;
    position: relative;
}
.hero-banner .hero-text h1 span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
    opacity: 0.4;
}
.hero-banner .hero-text p {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 35px;
    line-height: 1.8;
    max-width: 550px;
}
.hero-banner .hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.hero-banner .hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-banner .hero-stat {
    text-align: center;
}
.hero-banner .hero-stat .stat-num {
    font-size: 40px;
    font-weight: 800;
    color: var(--secondary);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}
.hero-banner .hero-stat .stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}
.hero-banner .hero-image-col {
    position: relative;
    z-index: 3;
}
.hero-banner .hero-img-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    border: 4px solid rgba(255,255,255,0.1);
}
.hero-banner .hero-img-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}
.hero-banner .hero-floating-card {
    position: absolute;
    bottom: -25px;
    left: -30px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 4;
    animation: floatCard 3s ease-in-out infinite;
}
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hero-banner .hero-floating-card .fc-icon {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}
.hero-banner .hero-floating-card h6 {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: var(--primary);
}
.hero-banner .hero-floating-card small {
    font-size: 11px;
    color: var(--gray);
}
/* second floating card top-right */
.hero-banner .hero-floating-card-2 {
    position: absolute;
    top: -15px;
    right: -20px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    padding: 14px 20px;
    box-shadow: var(--shadow-lg);
    z-index: 4;
    text-align: center;
    animation: floatCard 3s ease-in-out infinite;
    animation-delay: 1.5s;
}
.hero-banner .hero-floating-card-2 .fc-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}
.hero-banner .hero-floating-card-2 small {
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* legacy swiper support (if used on inner pages) */
.hero-slider { position: relative; overflow: hidden; }
.hero-slider .swiper-pagination-bullet {
    width: 12px; height: 12px;
    background: rgba(255,255,255,0.5); opacity: 1;
}
.hero-slider .swiper-pagination-bullet-active {
    background: var(--secondary); width: 30px; border-radius: 6px;
}

/* ========== BUTTONS ========== */
.btn-primary-custom {
    background: var(--secondary);
    color: var(--primary);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}
.btn-primary-custom:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.btn-outline-custom {
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}
.btn-outline-custom:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
}
.btn-accent {
    background: var(--accent);
    color: #fff;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}
.btn-accent:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ========== SECTION STYLES ========== */
.section-padding { padding: 80px 0; }
.section-bg { background: var(--light); }

.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header .sub-title {
    display: inline-block;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}
.section-header h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}
.section-header .divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 0 auto 15px;
    border-radius: 2px;
}
.section-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    font-size: 15px;
}

/* ========== INFO CARDS (Services) ========== */
.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}
.info-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition);
}
.info-card:hover::before { transform: scaleX(1); }
.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.info-card .icon-box {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(123,17,19,0.08), rgba(192,57,43,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--accent);
    transition: var(--transition);
}
.info-card:hover .icon-box {
    background: var(--gradient-primary);
    color: var(--secondary);
    transform: rotateY(180deg);
}
.info-card h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
}
.info-card p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
}

/* ========== ABOUT SECTION ========== */
.about-img-wrapper {
    position: relative;
}
.about-img-wrapper img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    width: 100%;
}
.about-img-wrapper .experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-gold);
    color: var(--primary);
    width: 120px; height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}
.experience-badge .number {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}
.experience-badge .text {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.about-text h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
}
.about-text p {
    color: #555;
    line-height: 1.8;
    text-align: justify;
}
.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}
.about-features .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
}
.about-features .feature-item i {
    color: var(--secondary);
    font-size: 16px;
}

/* ========== COUNTER ========== */
.counter-section {
    background: var(--gradient-hero);
    padding: 70px 0;
    position: relative;
}
.counter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
}
.counter-box {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}
.counter-box .counter-icon {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 12px;
}
.counter-box .counter-number {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}
.counter-box .counter-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* ========== MESSAGE SECTION ========== */
.message-section { padding: 80px 0; }
.message-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.message-img img {
    width: 100%;
    height: auto;
    display: block;
}
.message-img .name-plate {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    color: #fff;
    padding: 15px 20px;
    text-align: center;
}
.message-img .name-plate h5 {
    color: #fff;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}
.message-img .name-plate small {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
}
.message-content h3 {
    font-size: 30px;
    margin-bottom: 5px;
}
.message-content .designation {
    color: var(--secondary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    display: block;
    font-family: 'Poppins', sans-serif;
}
.message-content p {
    color: #555;
    line-height: 1.9;
    text-align: justify;
    margin-bottom: 12px;
    font-size: 15px;
}
.message-content .quote-text {
    font-style: italic;
    border-left: 4px solid var(--secondary);
    padding: 15px 20px;
    background: var(--light);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 20px 0;
    font-size: 15px;
    color: var(--primary);
}

/* ========== PAGE BANNER ========== */
.page-banner {
    background: var(--gradient-hero);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(212,175,55,0.08);
}
.page-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(192,57,43,0.06);
}
.page-banner h1 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}
.page-banner .breadcrumb {
    background: transparent;
    justify-content: center;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}
.page-banner .breadcrumb-item { font-size: 14px; }
.page-banner .breadcrumb-item a {
    color: var(--secondary);
    font-weight: 500;
}
.page-banner .breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/* ========== GALLERY ========== */
.gallery-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.gallery-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: var(--transition);
}
.gallery-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(123,17,19,0.8), transparent);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    transition: var(--transition);
}
.gallery-card .overlay i {
    font-size: 36px;
    color: var(--secondary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    transition: var(--transition);
}
.gallery-card:hover img {
    transform: scale(1.1);
}
.gallery-card:hover .overlay {
    opacity: 1;
}
.gallery-card:hover .overlay i {
    transform: translate(-50%, -50%) scale(1);
}

/* ========== DISCLOSURE CARDS ========== */
.disclosure-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.disclosure-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-bottom: 3px solid var(--secondary);
}
.disclosure-card i {
    font-size: 32px;
    color: var(--accent);
}
.disclosure-card a {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}
.disclosure-card:hover a { color: var(--accent); }

/* ========== DOWNLOAD ITEMS ========== */
.download-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 25px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    border-left: 4px solid transparent;
}
.download-item:hover {
    border-left-color: var(--secondary);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}
.download-item h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    margin: 0 0 4px;
}
.download-item p { margin: 0; font-size: 12px; color: var(--gray); }
.download-item .btn-download {
    background: var(--primary);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
}
.download-item .btn-download:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* ========== CONTACT ========== */
.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 14px;
    transition: var(--transition);
}
.contact-form .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(192,57,43,0.1);
}
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    transition: var(--transition);
}
.contact-info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}
.contact-info-card .icon {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(123,17,19,0.08), rgba(192,57,43,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
    flex-shrink: 0;
}
.contact-info-card h6 {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}
.contact-info-card p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
}

/* ========== NOTICE BOARD ========== */
.notice-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.notice-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary);
    margin-bottom: 20px;
}
.notice-item {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.notice-item:last-child { border-bottom: none; }
.notice-item .notice-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(212,175,55,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
    font-size: 14px;
}
.notice-item h6 {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}
.notice-item small { color: var(--gray); font-size: 12px; }

/* ========== FOOTER ========== */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}
.footer-top {
    padding: 70px 0 40px;
}
.footer-widget h5 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}
.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}
.footer-widget p { line-height: 1.8; }
.footer-widget .footer-logo {
    height: 70px;
    margin-bottom: 15px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.footer-links a i {
    font-size: 10px;
    color: var(--secondary);
}
.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}
.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}
.footer-contact-item i {
    color: var(--secondary);
    margin-top: 4px;
    font-size: 16px;
}
.footer-social a {
    display: inline-flex;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 8px;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: var(--secondary); }

/* ========== SCROLL TO TOP ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px; height: 45px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--primary);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 999;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
}
.scroll-top:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}
.scroll-top.show { display: flex; }

/* ========== TABLE ========== */
.styled-table {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.styled-table thead th {
    background: var(--primary);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 14px 16px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.styled-table tbody td {
    padding: 12px 16px;
    font-size: 14px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}
.styled-table tbody tr:hover {
    background: rgba(192,57,43,0.04);
}

/* ========== PRINCIPAL HOME SECTION ========== */
.principal-home {
    position: relative;
    overflow: hidden;
    background: var(--white);
}
.principal-home-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    display: flex;
    align-items: stretch;
}
.principal-home-card .pm-image-side {
    flex: 0 0 32%;
    max-width: 32%;
    position: relative;
    overflow: hidden;
}
.principal-home-card .pm-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.principal-home-card .pm-image-side .pm-name-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(123,17,19,0.95), rgba(123,17,19,0.7) 60%, transparent);
    padding: 60px 25px 20px;
    text-align: center;
}
.principal-home-card .pm-name-badge h5 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2px;
}
.principal-home-card .pm-name-badge small {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.principal-home-card .pm-content-side {
    flex: 1;
    padding: 35px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.principal-home-card .pm-content-side::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 120px;
    font-family: 'Playfair Display', serif;
    color: rgba(123,17,19,0.06);
    line-height: 1;
}
.principal-home-card .pm-content-side .pm-subtitle {
    display: inline-block;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}
.principal-home-card .pm-content-side h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.3;
}
.principal-home-card .pm-content-side .pm-divider {
    width: 50px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
    margin: 12px 0 20px;
}
.principal-home-card .pm-content-side .pm-quote {
    font-style: italic;
    font-size: 16px;
    color: var(--primary);
    border-left: 4px solid var(--secondary);
    padding: 12px 18px;
    background: rgba(212,175,55,0.06);
    border-radius: 0 8px 8px 0;
    margin-bottom: 18px;
    font-family: 'Playfair Display', serif;
}
.principal-home-card .pm-content-side p {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}
.principal-home-card .pm-content-side .btn-accent {
    align-self: flex-start;
}

/* ========== VACANCY SECTION ========== */
.vacancy-section {
    background: linear-gradient(135deg, #fdf6f6 0%, #fff9f0 100%);
}
.vacancy-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(123,17,19,0.08);
}
.vacancy-card-header {
    background: var(--gradient-hero);
    color: #fff;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.vacancy-card-header i {
    font-size: 22px;
    color: var(--secondary);
}
.vacancy-card-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    font-family: 'Playfair Display', serif;
}
.vacancy-card-content {
    padding: 25px;
}
.vacancy-card-content > p {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}
.vacancy-positions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}
.vacancy-tag {
    background: linear-gradient(135deg, rgba(123,17,19,0.08), rgba(212,175,55,0.1));
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(123,17,19,0.12);
    transition: all 0.3s ease;
}
.vacancy-tag:hover {
    background: var(--primary);
    color: #fff;
}
.vacancy-tag i {
    font-size: 12px;
    color: var(--secondary);
}
.vacancy-tag:hover i {
    color: var(--secondary);
}
.vacancy-count {
    background: rgba(123,17,19,0.12);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}
.vacancy-tag:hover .vacancy-count {
    background: rgba(255,255,255,0.2);
}
.vacancy-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    background: #f9f5f5;
    border-radius: 12px;
}
.vacancy-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}
.vacancy-info-item i {
    color: var(--primary);
    margin-top: 3px;
    min-width: 16px;
}
/* Vacancy Thumbnails */
.vacancy-thumb {
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(123,17,19,0.08);
}
.vacancy-thumb a.glightbox {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
.vacancy-thumb a.glightbox img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}
.vacancy-thumb:hover a.glightbox img {
    transform: scale(1.05);
}
.vacancy-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(123,17,19,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.vacancy-thumb:hover .vacancy-img-overlay {
    opacity: 1;
}
.vacancy-img-overlay i {
    font-size: 32px;
    color: #fff;
}
.vacancy-thumb-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid #f0e8e8;
}
.vacancy-thumb-footer span {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}
.vacancy-thumb-footer span i {
    color: var(--primary);
    margin-right: 5px;
}
.vacancy-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.vacancy-download-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(123,17,19,0.3);
}
.vacancy-download-btn i {
    font-size: 11px;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: var(--gradient-hero);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 40px solid rgba(212,175,55,0.08);
}
.cta-section h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
}
.cta-section p {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    margin-bottom: 25px;
    position: relative;
}

/* ========== EVENTS & ACTIVITIES ========== */
.event-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}
.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.event-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}
.event-card:hover img {
    transform: scale(1.05);
}
.event-card .event-img {
    overflow: hidden;
    position: relative;
}
.event-card .event-body {
    padding: 20px;
}
.event-card .event-body h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}
.event-card .event-body p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
}

.activity-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.activity-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}
.activity-card:hover img {
    transform: scale(1.1);
}
.activity-card .activity-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(123,17,19,0.9), transparent);
    padding: 25px 20px 15px;
    color: #fff;
}
.activity-card .activity-overlay h5 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

/* ========== STAFF TABLE ========== */
.staff-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}
.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.staff-card .staff-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(123,17,19,0.08), rgba(192,57,43,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 24px;
    color: var(--accent);
}
.staff-card h6 {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}
.staff-card small {
    color: var(--gray);
    font-size: 12px;
}

/* ========== ADMISSION ========== */
.admission-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}
.admission-feature .af-icon {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(123,17,19,0.08), rgba(192,57,43,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
    flex-shrink: 0;
}
.admission-feature h6 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
}
.admission-feature p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
}

/* ========== ALERT MESSAGES ========== */
.alert-success-custom {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: var(--radius);
    padding: 15px 20px;
    margin-bottom: 20px;
}
.alert-danger-custom {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: var(--radius);
    padding: 15px 20px;
    margin-bottom: 20px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .hero-banner { min-height: auto; padding: 60px 0 40px; }
    .hero-banner .hero-text h1 { font-size: 38px; }
    .hero-banner .hero-image-col { display: none; }
    .hero-banner .hero-stats { gap: 25px; }
    .hero-banner .hero-stat .stat-num { font-size: 30px; }
    .section-header h2 { font-size: 28px; }
    .page-banner h1 { font-size: 30px; }
    .page-banner { padding: 80px 0 40px; }
    .topbar-left span { font-size: 11px; margin-right: 12px; }
    .about-img-wrapper .experience-badge { bottom: -10px; right: 10px; width: 90px; height: 90px; }
    .experience-badge .number { font-size: 28px; }
    .message-content { margin-top: 30px; }
    .main-navbar .nav-link { padding: 10px 16px !important; }
    .counter-box .counter-number { font-size: 36px; }
    .principal-home-card { flex-direction: column; }
    .principal-home-card .pm-image-side { flex: none; max-width: 100%; width: 100%; min-height: 320px; }
    .principal-home-card .pm-content-side { padding: 25px 20px; }
}
@media (max-width: 576px) {
    .hero-banner .hero-text h1 { font-size: 28px; }
    .hero-banner .hero-stats { gap: 20px; }
    .hero-banner .hero-stat .stat-num { font-size: 24px; }
    .section-padding { padding: 50px 0; }
    .topbar { display: none; }
    .page-banner { padding: 70px 0 30px; }
    .page-banner h1 { font-size: 24px; }
}
