:root {
    --primary-red: #a81c32;
    --dark-blue: #1a2a46;
    --deep-blue: #1a3256;
    --purple: #7a3a6b;
    --yellow: #ffcc00;
    --text-dark: #1e2a3e;
    --text-light: #5a6874;
    --bg-light: #f8fafc;
    --white: #ffffff;

    /* Enhanced Premium Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(26, 42, 70, 0.15);
    --shadow-lg: 0 20px 40px -5px rgba(26, 42, 70, 0.2);
    --shadow-glow: 0 0 20px rgba(168, 28, 50, 0.15);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    /* Modern Transitions */
    --trans-fast: 0.2s ease;
    --trans-smooth: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --trans-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-light);
    background-color: var(--white);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.padding-section {
    padding: 90px 0;
}

.pt-0 {
    padding-top: 0;
}

.mt-2 {
    margin-top: 16px;
}

.mt-4 {
    margin-top: 32px;
}

.mt-5 {
    margin-top: 48px;
}

.mb-4 {
    margin-bottom: 32px;
}

.mb-5 {
    margin-bottom: 48px;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark-blue {
    background-color: var(--dark-blue);
}

.text-center {
    text-align: center;
}

.text-white {
    color: white !important;
}

.text-white p,
.text-white h2,
.text-white h3 {
    color: white;
}

/* Grid Utilities */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gap-l {
    gap: 64px;
}

/* Ambient Background Blobs */
.ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    top: 10%;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(168, 28, 50, 0.15);
    animation-delay: 0s;
}

.blob-2 {
    top: 40%;
    right: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255, 204, 0, 0.1);
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

/* Typography & Titles */
.sub-heading {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title span {
    position: relative;
    z-index: 1;
    color: var(--primary-red);
}

.section-title span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 8px;
    background-color: var(--yellow);
    z-index: -1;
    border-radius: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--trans-smooth);
}

.reveal.active .section-title span::after {
    transform: scaleX(1);
    transition-delay: 0.3s;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--trans-smooth);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
    box-shadow: 0 4px 15px rgba(168, 28, 50, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #8a1528;
    z-index: -1;
    transition: width var(--trans-smooth);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(168, 28, 50, 0.4);
    color: white;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white;
}

.btn-hover-slide i {
    transition: transform var(--trans-bounce);
}

.btn-hover-slide:hover i {
    transform: translateX(5px);
}

.btn-outline {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-red);
    color: white;
    transform: translateY(-2px);
}

/* Header & Nav */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: var(--trans-smooth);
}

.top-bar {
    background: #0a111c;
    color: #cbd5e1;
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar i {
    color: var(--yellow);
    margin-right: 6px;
}

.top-link-hover:hover {
    color: var(--yellow) !important;
    transition: color var(--trans-fast);
}

.nav-bar {
    padding: 6px 0;
}

.brand-logo img {
    transition: transform var(--trans-bounce);
}

.brand-logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    margin-bottom: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color var(--trans-fast);
    text-transform: uppercase;
    position: relative;
}

/* Animated Underline */
.hover-underline::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-red);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.hover-underline:hover::after,
.hover-underline.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-red);
}

/* Glassmorphism Dropdowns */
.has-dropdown {
    position: relative;
    padding: 10px 0;
}

.has-dropdown>a i {
    transition: transform var(--trans-bounce);
}

.has-dropdown:hover>a i {
    transform: rotate(180deg);
    color: var(--primary-red);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    list-style: none;
    padding: 10px 0;
    box-shadow: var(--shadow-glass);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all var(--trans-smooth);
    border-top: 3px solid var(--primary-red);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: none;
    color: var(--text-dark);
    transition: all var(--trans-fast);
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: rgba(168, 28, 50, 0.05);
    color: var(--primary-red);
    padding-left: 30px;
}

/* NEW HERO SECTION */
.hero-section {
    position: relative;
    background: linear-gradient(to right, rgba(11, 20, 35, 0.85), rgba(11, 20, 35, 0.4)), url('assets/Img-1.jpeg') center/cover;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.hero-content-container {
    padding-top: 120px;
    padding-bottom: 80px;
    flex: 1;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 204, 0, 0.15);
    color: var(--yellow);
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3.8rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 600px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Action Strip */
.hero-action-strip {
    background: rgba(11, 20, 35, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.action-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px 20px;
    color: white;
    text-align: left;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--trans-smooth);
    cursor: pointer;
}

.action-box:last-child {
    border-right: none;
}

.action-box i:first-child {
    font-size: 2.5rem;
    color: var(--yellow);
    transition: transform var(--trans-bounce);
}

.action-box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

.action-box:hover i:first-child {
    transform: scale(1.1) translateY(-3px);
    color: #fff;
}

.action-text h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.action-text a {
    color: var(--yellow);
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
    transition: color var(--trans-fast);
}

.action-text a i {
    font-size: 0.75rem;
    transition: transform var(--trans-fast);
    margin-left: 4px;
}

.action-box:hover .action-text a {
    color: white;
}

.action-box:hover .action-text a i {
    transform: translateX(4px);
}

/* ABOUT & NOTICES */
.about-content p {
    font-size: 1.05rem;
    color: var(--text-light);
}

.notice-board {
    background: white;
    padding: 0;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform var(--trans-smooth), box-shadow var(--trans-smooth);
}

.notice-board:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.notice-header {
    background: var(--deep-blue);
    color: white;
    padding: 20px;
    text-align: center;
}

.notice-header h3 {
    color: white;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bell-shake {
    animation: bellShake 3s infinite ease-in-out;
    color: var(--yellow);
}

.notice-list {
    list-style: none;
    padding: 25px;
}

.notice-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 0.95rem;
    transition: background var(--trans-fast);
    padding-left: 10px;
    border-left: 3px solid transparent;
}

.notice-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.notice-list li:hover {
    background: #f8fafc;
    border-left-color: var(--primary-red);
}

.notice-list a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    transition: color var(--trans-fast);
}

.notice-list a:hover {
    color: var(--dark-blue);
    text-decoration: underline;
}

/* NEW: STATS SECTION */
.stats-section {
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,...') opacity(0.05);
}

/* Pattern placeholder */
.stat-item {
    padding: 20px;
}

.stat-icon {
    font-size: 3rem;
    color: var(--yellow);
    margin-bottom: 15px;
    opacity: 0.8;
}

.stat-item h2 {
    font-size: 3.5rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1.1rem;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* COURSES GRID */
.course-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.course-card {
    background: white;
    box-shadow: var(--shadow-md);
    text-align: center;
    border-radius: 16px;
    transition: all var(--trans-smooth);
    overflow: hidden;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: #e2e8f0;
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.course-card:hover .img-wrapper img {
    transform: scale(1.08);
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 42, 70, 0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--trans-smooth);
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-red);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.course-info {
    padding: 35px 25px;
    position: relative;
    z-index: 2;
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-info h3 {
    font-size: 1.3rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 12px;
    color: var(--dark-blue);
    transition: color var(--trans-fast);
}

.course-card:hover .course-info h3 {
    color: var(--primary-red);
}

.course-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* WHY CHOOSE */
.why-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.why-image {
    position: relative;
    padding: 20px 0 0 20px;
}

.why-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    object-fit: cover;
    height: 100%;
}

.why-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    background: var(--yellow);
    border-radius: 20px;
    z-index: 1;
    transition: transform var(--trans-smooth);
}

.why-choose-section:hover .why-image::before {
    transform: translate(-10px, -10px);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    text-align: center;
    border-bottom: 4px solid var(--primary-red);
}

.experience-badge h3 {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
}

.experience-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
}

.why-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.why-item {
    padding: 25px 20px;
    border-radius: 12px;
    background: white;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    transition: all var(--trans-smooth);
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-red);
}

.why-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--dark-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.why-item h4 i {
    color: var(--primary-red);
    font-size: 1.3rem;
}

.why-item p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* RECRUITERS */
.recruiters-section {
    background: url('assets/Img-2.jpeg') center/cover fixed;
    position: relative;
    padding: 80px 0;
}

.recruiters-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 20, 35, 0.9);
}

.recruiters-section .container {
    position: relative;
    z-index: 2;
}

.recruiters-logos {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.logo-box {
    background: white;
    padding: 20px 35px;
    border-radius: 12px;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all var(--trans-bounce);
    cursor: pointer;
    letter-spacing: 1px;
}

.logo-box:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    color: var(--primary-red);
}

/* NEW: CAMPUS GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-item.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.item-wide {
    grid-column: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--trans-smooth);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

/* HIGHLIGHTS */
.highlight-item {
    padding: 25px 20px;
    background: white;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-sm);
    transition: transform var(--trans-smooth);
}

.highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: #e2e8f0;
}

.icon-pulse-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px auto;
    background: rgba(168, 28, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all var(--trans-smooth);
}

.icon-highlight {
    font-size: 2.2rem;
    color: var(--primary-red);
    transition: all var(--trans-bounce);
}

.highlight-item:hover .icon-pulse-wrapper {
    background: var(--primary-red);
    box-shadow: 0 10px 20px rgba(168, 28, 50, 0.3);
}

.highlight-item:hover .icon-highlight {
    color: white;
    transform: scale(1.1);
}

.highlight-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 12px;
}

/* TESTIMONIALS */
.test-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: left;
    font-style: italic;
    color: #5a6874;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--deep-blue);
    transition: all var(--trans-smooth);
    position: relative;
    overflow: hidden;
}

.test-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.1) 0%, transparent 70%);
    border-radius: 0 0 0 100%;
}

.test-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-red);
}

.quote-icon {
    font-size: 2.5rem;
    color: rgba(26, 42, 70, 0.08);
    margin-bottom: 20px;
    display: block;
    transition: color var(--trans-smooth);
}

.test-card:hover .quote-icon {
    color: rgba(168, 28, 50, 0.15);
}

.test-card p {
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-style: normal;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.avatar img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid #f1f5f9;
    transition: border-color var(--trans-smooth);
}

.test-card:hover .avatar img {
    border-color: var(--yellow);
}

.student-info h5 {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--dark-blue);
    font-weight: 700;
}

.student-info span {
    font-size: 0.85rem;
    color: var(--primary-red);
    font-weight: 600;
}

/* NEW: CTA BANNER (Glassmorphism) */
.cta-banner-section .container {
    background: url('assets/Img-1.jpeg') center/cover;
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.cta-glass-box {
    background: rgba(26, 42, 70, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 70px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.cta-glass-box h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-glass-box p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

/* RAGGING BOX */
.ragging-box {
    border: 2px solid #e2e8f0;
    padding: 45px;
    background: white;
    max-width: 850px;
    margin: 0 auto;
    border-radius: 16px;
    transition: all var(--trans-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.ragging-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-red);
}

.ragging-box.border-glow:hover {
    box-shadow: var(--shadow-glow);
    border-color: rgba(168, 28, 50, 0.3);
    transform: scale(1.02);
}

.ragging-box h4 {
    font-family: 'Inter', sans-serif;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--dark-blue);
    letter-spacing: 1px;
}

/* FOOTER */
.main-footer {
    background: #060b13;
    color: #94a3b8;
}

.footer-widgets {
    padding: 80px 0 50px;
}

.footer-logo {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: 'Inter', sans-serif;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
    transition: width var(--trans-fast);
}

.footer-col:hover h3::after {
    width: 60px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--trans-bounce);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    background: var(--primary-red);
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 5px 15px rgba(168, 28, 50, 0.4);
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    transition: all var(--trans-fast);
}

.footer-link i {
    color: var(--yellow);
    margin-right: 8px;
    font-size: 0.85rem;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom-section {
    background: #030509;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.link-hover {
    position: relative;
    color: #94a3b8;
    text-decoration: none;
    transition: color var(--trans-fast);
}

.link-hover::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--yellow);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.link-hover:hover {
    color: var(--yellow);
}

.link-hover:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.design-credit {
    background: #000000;
    text-align: center;
    padding: 18px 0;
    font-size: 0.85rem;
}

.design-credit a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--trans-fast);
}

.design-credit a:hover {
    color: white;
    text-decoration: underline;
}

/* =========================================
   ANIMATIONS & SCROLL REVEAL UTILITIES
========================================= */

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bellShake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: rotate(10deg);
    }

    20%,
    40%,
    60%,
    80% {
        transform: rotate(-10deg);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.stagger-1 {
    transition-delay: 0.1s;
}

.reveal.stagger-2 {
    transition-delay: 0.2s;
}

.reveal.stagger-3 {
    transition-delay: 0.3s;
}

.reveal.stagger-4 {
    transition-delay: 0.4s;
}

.reveal.stagger-5 {
    transition-delay: 0.5s;
}

.reveal.stagger-6 {
    transition-delay: 0.6s;
}

/* Responsive Adjustments */
@media (max-width: 992px) {

    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-action-strip .flex-between {
        flex-direction: column;
    }

    .action-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        justify-content: flex-start;
    }

    .why-split {
        grid-template-columns: 1fr;
    }

    .why-image::before {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.item-large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .grid-2,
    .grid-4,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.item-wide {
        grid-column: span 1;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}


/* =========================================
   CONTACT POPUP UTILITIES
========================================= */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 20, 35, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--trans-smooth);
}

.popup-overlay.show-popup {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: translateY(50px) scale(0.9);
    transition: all var(--trans-bounce);
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--primary-red);
    text-align: center;
}

.popup-overlay.show-popup .popup-content {
    transform: translateY(0) scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color var(--trans-fast);
}

.popup-close:hover {
    color: var(--primary-red);
}

.popup-contact-info {
    text-align: left;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.popup-contact-info p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.popup-contact-info p:last-child {
    margin-bottom: 0;
}

/* =========================================
   CUSTOM BRAND BANNER & HEADER ALIGNMENT
========================================= */
/* Top Bar Adjustments */
.bg-dark-blue {
    background-color: #0f172a;
    /* Matching the deep dark color in your screenshot */
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.text-light-gray {
    color: #cbd5e1;
}

.text-yellow {
    color: var(--yellow);
}

/* Brand Banner Section */
.brand-banner-section {
    background-color: var(--white);
    padding: 5px 0;
    border-bottom: 1px solid #f1f5f9;
}

.flex-start {
    display: flex;
    justify-content: flex-start;
}

.align-center {
    align-items: center;
}

.gap-m {
    gap: 25px;
}

.main-logo img {
    height: 90px;
    /* Adjust this to make the logo bigger or smaller */
    width: auto;
    object-fit: contain;
}

.brand-titles h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin: 0 0 5px 0;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.brand-titles p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

/* Navbar Adjustments to match screenshot */
.nav-bar.bottom-shadow {

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    background-color: var(--white);
    padding: 10px 0;
}

.flex-end {
    display: flex;
    justify-content: flex-end;
    /* Pushes the navigation menu to the right */
    align-items: center;
}

/* Responsive adjustments for mobile */
@media (max-width: 992px) {
    .brand-banner-section .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .brand-titles h1 {
        font-size: 1.8rem;
    }

    .flex-end {
        justify-content: center;
    }
}

/* =========================================
   INNER PAGES STYLES (About, Vision, Contact)
========================================= */

/* Inner Page Header */
.inner-page-header {
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7)), url('assets/Img-2.jpeg') center/cover;
    padding: 80px 0;
    color: white;
    border-bottom: 4px solid var(--primary-red);
}

.inner-page-header h1 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.inner-page-header p a {
    color: var(--yellow);
    text-decoration: none;
}

/* About Page Details */
.glass-highlight-box {
    background: rgba(168, 28, 50, 0.05);
    border-left: 4px solid var(--primary-red);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight-icon {
    font-size: 2rem;
    color: var(--primary-red);
}

.main-about-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* Vision & Mission Cards */
.mission-vision-card {
    background: white;
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--trans-smooth);
    border: 1px solid #f1f5f9;
}

.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom: 4px solid var(--primary-red);
}

.mission-vision-card .icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(168, 28, 50, 0.1);
    color: var(--primary-red);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px auto;
}

.mission-vision-card h3 {
    font-size: 1.6rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.mission-vision-card p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Contact Page Details */
.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-detail-item .icon-box {
    width: 50px;
    height: 50px;
    background: var(--dark-blue);
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
}

.contact-detail-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--dark-blue);
}

/* Glass Form */
.glass-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    transition: all var(--trans-fast);
    background: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(168, 28, 50, 0.1);
    background: white;
}

.w-100 {
    width: 100%;
}


/* =========================================
   BBA ADMISSION PAGE SPECIFIC STYLES
========================================= */

/* Overview Boxes */
.overview-box {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    transition: var(--trans-smooth);
}

.overview-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-bottom: 3px solid var(--primary-red);
}

.overview-box h4 {
    font-family: 'Inter', sans-serif;
    color: var(--dark-blue);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.overview-box p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Why Choose List (Right side of image) */
.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.why-point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.why-point i {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin-top: 3px;
}

.why-point h4 {
    color: var(--dark-blue);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.why-point p {
    margin: 0;
    font-size: 0.95rem;
}

/* Modern Accordion */
.max-w-800 {
    max-width: 800px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.accordion-container {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: white;
}

.accordion-item {
    border-bottom: 1px solid #e2e8f0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 18px 25px;
    background: #f8fafc;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background var(--trans-fast);
}

.accordion-header:hover {
    background: #f1f5f9;
}

.accordion-item.active .accordion-header {
    background: var(--dark-blue);
    color: white;
}

.accordion-header i {
    color: var(--primary-red);
    font-size: 1rem;
    transition: color var(--trans-fast);
}

.accordion-item.active .accordion-header i {
    color: var(--yellow);
}

.accordion-content {
    padding: 20px 25px;
    display: none;
    /* Handled by JS */
    background: white;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid #e2e8f0;
}

/* =========================================
   POPUP CONTACT FORM STYLES
========================================= */

.form-popup-content {
    text-align: left;
    /* Overrides the previous center alignment */
    padding: 40px;
    max-width: 480px;
    border-top: none;
    /* Removes the red border from the previous design */
}

.popup-title {
    color: var(--dark-blue);
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.popup-form-group {
    margin-bottom: 20px;
}

.popup-form-group label {
    display: block;
    font-size: 0.95rem;
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.popup-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: #f8fafc;
    transition: all var(--trans-fast);
}

.popup-form-control::placeholder {
    color: #94a3b8;
}

.popup-form-control:focus {
    outline: none;
    border-color: var(--primary-red);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(168, 28, 50, 0.1);
}

/* Ensure textarea doesn't resize horizontally */
textarea.popup-form-control {
    resize: vertical;
}


/* =========================================
   FLOATING WHATSAPP BUTTON
========================================= */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    /* Official WhatsApp Green */
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    /* Ensures it stays on top of everything */
    transition: all var(--trans-smooth);
    text-decoration: none;
}

.whatsapp-float i {
    margin-top: 2px;
    /* Slight optical alignment for the FontAwesome icon */
}

/* Hover State */
.whatsapp-float:hover {
    background-color: #128c7e;
    /* Darker WhatsApp Green */
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

/* Pulse Animation Behind the Button */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.7;
    animation: pulse-whatsapp 2s infinite ease-out;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 2rem;
    }
}



/* =========================================
   PRINCIPAL MESSAGE STYLES
========================================= */
.principal-image-wrapper {
    position: relative;
    padding: 20px;
}

.image-frame {
    position: relative;
    z-index: 2;
}

.image-frame img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.frame-border {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-red);
    border-radius: 12px;
    z-index: 1;
    transition: transform var(--trans-smooth);
}

.principal-image-wrapper:hover .frame-border {
    transform: translate(10px, 10px);
}

.quote-icon-large {
    font-size: 3rem;
    color: rgba(168, 28, 50, 0.1);
    /* Very faint red */
    margin-bottom: -15px;
}

.signature-block {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    margin-top: 20px;
}

/* =========================================
   FACULTY CORNER STYLES
========================================= */
.faculty-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    transition: all var(--trans-smooth);
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-bottom: 4px solid var(--primary-red);
}

.faculty-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    /* Makes the image a perfect square */
}

.faculty-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--trans-smooth);
}

.faculty-card:hover .faculty-img img {
    transform: scale(1.05);
}

.faculty-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(26, 42, 70, 0.85);
    /* Dark blue glass */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 12px 0;
    transition: bottom var(--trans-smooth);
}

.faculty-card:hover .faculty-social {
    bottom: 0;
}

.faculty-social a {
    color: #ffffff;
    font-size: 1.1rem;
    transition: color var(--trans-fast);
}

.faculty-social a:hover {
    color: var(--yellow);
}

.faculty-info {
    padding: 25px 20px;
    text-align: center;
}

.faculty-info h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.faculty-info .designation {
    display: block;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faculty-info p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
}

.contact-info a:hover {
    color: yellow;
}