/* ========== CSS VARIABLES & RESETS ========== */
:root {
    --tnu-red: #b63136;
    --tnu-red-hover: #9c272a;
    --bg-light: #ffffff;
    --bg-light-alt: #f1f5f9;
    --text-dark: #212529;
    --text-muted: #64748b;
    --accent-glow: rgba(182, 49, 54, 0.4);
    --glass-border: rgba(0, 0, 0, 0.08);
}

.hidden {
    display: none !important;
}

.red-highlight {
    color: #e31e24; /* Specific red for text highlight */
}

.title-divider {
    width: 100px;
    height: 3px;
    background: #e31e24;
    margin-bottom: 25px;
}



/* Visibility Helpers */
@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
    .desktop-only {
        display: block;
    }
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    .desktop-only {
        display: none;
    }
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.w-100 {
    width: 100%;
}

/* ========== TOP STICKY BAR ========== */
.top-sticky-bar {
    display: none;
    background-color: var(--tnu-red);
    color: #fff;
    padding: 4px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1100;
    transition: transform 0.3s ease;
}

.top-sticky-bar.hidden {
    transform: translateY(-100%);
}

.bar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 40px;
}

.bar-text {
    font-size: 0.7rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

.bar-btn {
    background: #fff;
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bar-close {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    opacity: 0.8;
}

.bar-close:hover {
    opacity: 1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    color: #111827;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    scroll-margin-top: 100px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title .line {
    height: 4px;
    width: 60px;
    background: var(--tnu-red);
    margin: 0 auto;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-inline: auto;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--tnu-red);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--tnu-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
    color: #fff;
}

.btn-white {
    background-color: #fff;
    color: var(--tnu-red);
}

.btn-white:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo-container {
    padding: 5px 0px;
    display: flex;
    align-items: center;
}

.logo {
    height: 75px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--tnu-red);
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--tnu-red);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-title .highlight {
    color: #ff3131;
    text-shadow: 0 2px 15px rgba(255, 49, 49, 0.4);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 500px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--glass-border);
}

.stat-item i {
    color: var(--tnu-red);
    font-size: 1.2rem;
}

.hero-form-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.admission-form {
    padding: 10px 30px 30px;
}

.float-anim {
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.form-header h2 {
    font-size: 1.5rem;
    background: var(--tnu-red);
    color: #fff;
    padding: 10px 30px;
    /* border-radius: 6px;  */
    display: block;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    color: var(--text-dark);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--tnu-red);
    box-shadow: 0 0 0 3px rgba(182, 49, 54, 0.15);
    background: #fff;
}

.btn-submit {
    width: 100%;
    background: var(--tnu-red);
    color: #fff;
    padding: 15px;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    cursor: pointer;
    border: none;
    border-radius: 0;
}

.btn-submit:hover {
    background: var(--tnu-red-hover);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.form-footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 15px;
}

/* ========== VALIDATION STYLES ========== */
.form-group {
    position: relative;
}

.form-control.error {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
}

.error-message {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 4px;
    display: none;
    margin-left: 2px;
}

.form-group.has-error .error-message {
    display: block;
}

.form-group.has-error input,
.form-group.has-error select {
    border-color: #ef4444;
    background: #fef2f2;
}

/* ========== AFFILIATION & ACCREDITATION ========== */
.accreditation-section {
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid var(--glass-border);
}

.acc-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.acc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #111827;
}

.acc-item i {
    font-size: 1.8rem;
    color: var(--tnu-red);
}

.acc-divider {
    color: #cbd5e1;
    font-size: 1.5rem;
    font-weight: 300;
    user-select: none;
}

.acc-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.acc-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.acc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(182, 49, 54, 0.2);
}

.acc-card h3 {
    margin-bottom: 20px;
    color: #111827;
    border-left: 4px solid var(--tnu-red);
    padding-left: 15px;
    font-size: 1.6rem;
}

.acc-card.alt {
    background: var(--bg-light-alt);
}

/* ========== COURSE OVERVIEW (WITH IMAGE) ========== */
.about-course {
    background-color: var(--bg-light-alt);
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

.overview-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.overview-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.overview-image:hover img {
    transform: scale(1.05);
}

.overview-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.overview-card {
    background: #fff;
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 12px;
    transition: 0.4s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.overview-card:hover {
    transform: translateY(-5px);
    border-color: rgba(182, 49, 54, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.card-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: rgba(182, 49, 54, 0.08);
    color: var(--tnu-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    transition: 0.3s;
}

.overview-card:hover .card-icon {
    background: var(--tnu-red);
    color: #fff;
    box-shadow: 0 5px 15px var(--accent-glow);
}

.card-content h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
    color: #111827;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ========== TOOLS MARQUEE ========== */
.tools-section {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-light);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    display: flex;
    white-space: nowrap;
}

.marquee-container::before,
.marquee-container::after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}

.marquee-content {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
    padding-left: 60px;
    will-change: transform;
}

.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.tech-card img {
    height: 50px;
    object-fit: contain;
    margin-bottom: 10px;
}

.tech-card span {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 30px));
    }
}

/* ========== MID PAGE CTA ========== */
.mid-cta-section {
    background-color: #fff;
    padding: 100px 0;
}

.mid-cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: #f8fafc;
    border-radius: 24px;
    padding: 60px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.mid-cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    color: #111827;
}

.mid-cta-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.8;
}

.cta-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.mid-cta-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mid-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mid-cta-wrapper:hover .mid-cta-image img {
    transform: scale(1.05);
}

/* ========== JOB ROLES ========== */
.careers-section {
    background-color: var(--bg-light-alt);
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.role-card {
    background: #fff;
    border: 1px solid var(--glass-border);
    padding: 30px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.role-card:hover {
    transform: translateY(-8px);
    border-color: var(--tnu-red);
    box-shadow: 0 15px 35px rgba(182, 49, 54, 0.12);
    background: #fdf2f2;
}

.role-card:hover .role-icon {
    color: var(--tnu-red-hover);
    transform: scale(1.1);
    transition: 0.3s;
}

.role-icon {
    font-size: 2rem;
    color: var(--tnu-red);
}

.role-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
}

.role-card small {
    color: var(--text-muted);
}

/* ========== PROSPECTS SECTION ========== */
.prospects-section {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--glass-border);
}

.prospects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.prospect-card {
    background: #fff;
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.prospect-card:hover {
    transform: translateY(-10px);
    border-color: var(--tnu-red);
    box-shadow: 0 20px 40px rgba(182, 49, 54, 0.1);
}

.prospect-icon {
    width: 60px;
    height: 60px;
    background: rgba(182, 49, 54, 0.05);
    color: var(--tnu-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: 0.3s;
}

.prospect-card:hover .prospect-icon {
    background: var(--tnu-red);
    color: #fff;
    transform: rotate(10deg);
}

.prospect-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
}

/* ========== CAREER & PLACEMENTS ========== */
.placements-section {
    background-color: #fff;
    content-visibility: auto;
    contain-intrinsic-size: 1px 800px;
}

.placement-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.placement-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: var(--bg-light-alt);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--tnu-red);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--text-dark);
    font-weight: 500;
}

.stat-box-large {
    background: #fff;
    padding: 40px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: 0.3s ease;
}

.stat-box-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(182, 49, 54, 0.1);
    border-color: rgba(182, 49, 54, 0.2);
}

.stat-box-large h3 {
    font-size: 3rem;
    color: var(--tnu-red);
    margin-bottom: 10px;
    font-weight: 900;
}

.stat-box-large p {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

.recruiters-box {
    background: #f8fafc;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}
.faq-form-grid{
  display: flex;
    gap: 40px;
    align-items: flex-start;
}
.recruiters-box h3 {
    margin-bottom: 20px;
    color: #111827;
}

.recruiters-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.recruiter-tag {
    background: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* ========== MENTORS & INFRASTRUCTURE ========== */
.mentors-section {
    background-color: var(--bg-light-alt);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.mentors-box,
.infra-box {
    background: #fff;
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.mentors-box h3,
.infra-box h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    border-left: 4px solid var(--tnu-red);
    padding-left: 15px;
    color: #111827;
}

.mentor-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.mt-4 {
    margin-top: 30px;
}

.mentor-avatar {
    font-size: 3rem;
    color: #cbd5e1;
    background: #f1f5f9;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.mentor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.mentor-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #111827;
}

.mentor-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.infra-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.infra-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    font-weight: 500;
}

.infra-list li i {
    color: #10b981;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ========== CAMPUS LIFE ========== */
.campus-section {
    background-color: #fff;
}

.campus-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.campus-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.campus-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.campus-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.campus-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-item {
    background: var(--bg-light-alt);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    color: var(--tnu-red);
    font-size: 1.5rem;
}

/* ========== FAQS SECTION ========== */
.faq-section {
    background-color: var(--bg-light-alt);
}


.faq-form-grid{
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-start;
}
.faq-column{
    width:50%;
    
}
.faqform{
    width:40%;
}


@media(max-width: 991px){

    .faq-form-grid{
        flex-direction: column;
    }

    .faq-column,
    .form-column{
        width: 100%;
    }
}

details {
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

summary {
    padding: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary:after {
    content: '\f0d7';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--tnu-red);
    transition: 0.3s;
}

details[open] summary:after {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 20px 20px 20px;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
    margin-top: 10px;
    padding-top: 15px;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ========== LEAD CAPTURE SECTION ========== */
.lead-capture-section {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('indian-campus.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    border-top: 1px solid var(--glass-border);
}

.lead-capture-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.lead-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 25px;
    color: #111827;
    line-height: 1.2;
}

.lead-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    gap: 30px;
}

.t-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.t-badge i {
    color: #10b981;
    font-size: 1.2rem;
}

.lead-form-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    padding: 0 0 30px;
    border-radius: 0;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.lead-form-box .capture-form {
    padding: 10px 30px 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.capture-form .form-group {
    margin-bottom: 0;
}

.capture-form .btn-submit {
    margin-top: 10px;
    font-weight: 700;
    height: 60px;
}

@media (max-width: 992px) {
    .lead-capture-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .lead-content h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .lead-form-box {
        padding: 0;
    }

    .lead-content h2 {
        font-size: 2rem;
    }
}

/* ========== FOOTER ========== */
.footer {
    background-color: #f8fafc;
    padding: 60px 0 20px;
    border-top: 4px solid var(--tnu-red);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    background: #fff;
    padding: 0;
    margin-bottom: 15px;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-col h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #111827;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.social-links a:hover {
    background: var(--tnu-red);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========== POPUP MODAL (Redesigned) ========== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.4s ease;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: #fff;
    width: 400px;
    height: auto;
    max-width: 100%;
    border-radius: 12px;
    padding: 0;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s;
    z-index: 10;
}

.popup-close:hover {
    background: #fff;
    color: var(--tnu-red);
}

/* ========== MOBILE SIDE STICKY BUTTONS ========== */
.mobile-side-sticky-buttons {
    display: none;
}

@media (max-width: 768px) {
    .mobile-side-sticky-buttons {
        display: block;
    }

    .side-btn {
        position: fixed;
        right: 0;
        background: var(--tnu-red);
        color: #fff;
        padding: 15px 8px;
        z-index: 1005;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.85rem;
        text-transform: capitalize;
        letter-spacing: 0.5px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-right: none;
        border-radius: 10px 0 0 10px;
    }

    .side-btn span {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        white-space: nowrap;
    }

    .brochure-btn {
        top: 42%;
        transform: translateY(-50%);
    }

    .enquire-btn {
        top: 65%;
        transform: translateY(-50%);
        background: #003366;
        /* Dark Blue */
    }

    .side-btn:hover {
        background: var(--tnu-red-hover);
        padding-right: 12px;
    }

    .enquire-btn:hover {
        background: #004080;
    }
}

.popup-header-banner {
    background: var(--tnu-red);
    color: #fff;
    padding: 18px 20px 14px;
    /* Reduced bottom padding */
    text-align: center;
}

.popup-header-banner h3 {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 2px;
    color: #fff;
    text-transform: none;
    letter-spacing: -0.5px;
}

.popup-header-banner p {
    font-size: 0.85rem;
    color: #fff;
    opacity: 0.95;
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.4;
}

.popup-body {
    padding: 20px 30px 30px;
    /* Reduced top padding */
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Move everything up */
}

.popup-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--tnu-red);
    text-transform: uppercase;
    margin-bottom: 20px;
    /* Increased gap under title */
    display: inline-block;
    position: relative;
}

.popup-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--tnu-red);
}

.popup-form {
    text-align: left;
}

.popup-form .form-group {
    margin-bottom: 12px;
}

.popup-form .form-group input,
.popup-form .form-group select {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px;
    font-size: 0.95rem;
}

.popup-form .btn-submit {
    background: var(--tnu-red);
    color: #fff;
    border-radius: 6px;
    padding: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    margin-top: 5px;
    box-shadow: 0 6px 12px rgba(182, 49, 54, 0.2);
}

.popup-form .btn-submit:hover {
    background: var(--tnu-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(182, 49, 54, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ========== ANIMATION CLASSES ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
    will-change: transform, opacity;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== STICKY BUTTONS ========== */
.sticky-buttons {
    position: fixed;
    right: 20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.sticky-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.phone-btn {
    background: var(--tnu-red);
}

.whatsapp-btn {
    background: #25d366;
}

.sticky-btn:hover {
    transform: scale(1.1) translateY(-5px);
    color: #fff;
}

/* ========== MOBILE STICKY FOOTER ========== */
.mobile-sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    /* Hidden by default */
    grid-template-columns: repeat(3, 1fr);
    z-index: 1001;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-btn {
    padding: 8px 5px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.footer-btn i {
    font-size: 1.2rem;
}

.footer-btn.apply {
    background: var(--tnu-red);
    color: #fff;
    justify-content: center;
    font-size: 1rem;
}

.footer-btn:last-child {
    border-right: none;
}

/* ========== MEDIA QUERIES ========== */

/* ---------- Tablet (≤992px) ---------- */
@media (max-width: 992px) {

    .hero-container,
    .overview-wrapper,
    .placement-wrapper,
    .split-layout,
    .campus-wrapper,
    .mid-cta-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-subtitle {
        margin-inline: auto;
    }

    .hero-form-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .overview-card,
    .mentor-item,
    .feature-item {
        text-align: left;
    }

    .mid-cta-wrapper {
        padding: 40px 25px;
    }

    .mid-cta-content h2 {
        font-size: 2.2rem;
    }

    .cta-btns {
        justify-content: center;
    }

    .campus-features {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- Small Tablet / Large Phone (≤768px) ---------- */
@media (max-width: 768px) {
    .navbar {
        padding: 0;
    }

    .logo-container {
        padding: 0;
    }

    .nav-container {
        height: 80px;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 30px;
        border-bottom: 2px solid var(--tnu-red);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        gap: 20px;
    }

    .nav-links.active a {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-sticky-footer {
        display: grid;
    }

    .sticky-buttons {
        display: none;
    }

    .logo {
        height: 60px;
    }

    /* Hero */
    .hero {
        padding-top: 110px;
        padding-bottom: 40px;
        height: auto;
        min-height: auto;
    }

    .hero-bg {
        background-position: center;
        opacity: 1;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-stats {
        margin: 0 auto;
        justify-content: center;
    }

    .stat-item {
        width: auto;
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .badge {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-bottom: 0px;
    }

    /* Accreditation */
    .accreditation-section {
        padding: 25px 0;
    }

    .acc-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
       
    }
.acc-item:last-child {
        grid-column: 1 / 3;
        justify-self: center;
    }
    .acc-item {
        width: 100%;
        
        font-size: 0.9rem;
    }

    .acc-item i {
        font-size: 1.4rem;
    }

    .acc-divider {
        display: none;
    }

    .acc-details-grid {
        grid-template-columns: 2fr;
    }

    .acc-card {
        padding: 25px 20px;
    }

    .acc-card h3 {
        font-size: 1.3rem;
    }

    /* Sections */
    .section {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    /* Overview */
    .overview-card {
        padding: 20px;
        gap: 15px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .card-content h3 {
        font-size: 1.1rem;
    }

    .card-content p {
        font-size: 0.85rem;
    }

    /* Marquee */
    .marquee-container::before,
    .marquee-container::after {
        width: 60px;
    }

    .marquee-content {
        gap: 40px;
    }

    .tech-card {
        min-width: 90px;
    }

    .tech-card img {
        height: 40px;
    }

    .tech-card span {
        font-size: 0.75rem;
    }

    /* Mid-CTA */
    .mid-cta-section {
        padding: 50px 0;
    }

    .mid-cta-wrapper {
        padding: 30px 20px;
        border-radius: 16px;
        gap: 30px;
    }

    .mid-cta-content h2 {
        font-size: 1.8rem;
    }

    .mid-cta-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .cta-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-btns .btn {
        text-align: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    /* Job Roles */
    .roles-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .role-card {
        padding: 20px 15px;
        gap: 10px;
    }

    .role-icon {
        font-size: 1.5rem;
    }

    .role-card h4 {
        font-size: 0.95rem;
    }

    /* Placements */
    .placement-stats-new {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .stat-box-large {
        padding: 25px 15px;
    }

    .stat-box-large h3 {
        font-size: 2rem;
    }

    .stat-box-large p {
        font-size: 0.9rem;
    }

    .stat-box h3 {
        font-size: 1.8rem;
    }

    .recruiters-box {
        padding: 25px 20px;
    }

    .recruiter-tag {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    /* Mentors */
    .mentors-box,
    .infra-box {
        padding: 25px 20px;
    }

    .mentors-box h3,
    .infra-box h3 {
        font-size: 1.4rem;
        padding-left: 12px;
    }

    .mentor-item {
        gap: 15px;
    }

    /* Campus */
    .campus-content h3 {
        font-size: 1.6rem;
    }

    .campus-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-item {
        padding: 12px;
        gap: 10px;
    }

    /* CTA Banner */
    .cta-banner {
        padding: 50px 0;
    }

    .cta-banner h2 {
        font-size: 1.8rem;
    }

    .cta-banner p {
        font-size: 0.95rem;
    }

    /* FAQs */
    .faq-container summary {
        font-size: 1rem;
        padding: 15px;
    }

    .faq-content {
        padding: 0 15px 15px 15px;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: 40px 0 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col h4 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .footer-col p {
        font-size: 0.85rem;
    }

    .footer-logo {
        height: 45px;
    }

    /* Popup */
    .popup-content {
        width: 400px;
        height: 457px;
        max-width: 95%;
    }
}

/* ---------- Small Phone (≤480px) ---------- */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    /* Hero */
    .hero {
        padding-top: 105px;
        padding-bottom: 30px;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .hero-form-wrapper {
        padding: 0px;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    .form-header p {
        font-size: 0.8rem;
        margin-bottom: 18px;
    }

    .form-group input,
    .form-group select {
        padding: 12px;
        font-size: 0.9rem;
    }

    .btn-submit {
        padding: 13px;
        font-size: 1rem;
    }

    .logo {
        height: 55px;
    }

    .hero-stats {
        gap: 8px;
    }

    .stat-item {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    /* Sections */
    .section {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        font-size: 0.85rem;
    }

    /* Overview */
    .overview-card {
        padding: 18px 15px;
    }

    .card-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .card-content h3 {
        font-size: 1rem;
    }

    .card-content p {
        font-size: 0.8rem;
    }

    /* Mid-CTA */
    .mid-cta-section {
        padding: 40px 0;
    }

    .mid-cta-wrapper {
        padding: 25px 15px;
        border-radius: 12px;
    }

    .mid-cta-content h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .mid-cta-content p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .mid-cta-content .badge {
        font-size: 0.7rem;
    }

    /* Job Roles */
    .roles-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .role-card {
        padding: 18px 15px;
    }

    .role-icon {
        font-size: 1.4rem;
    }

    .role-card h4 {
        font-size: 0.9rem;
    }

    /* Placements */
    .placement-stats-new {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .stat-box-large {
        padding: 20px 10px;
        border-radius: 12px;
    }

    .stat-box-large h3 {
        font-size: 1.6rem;
    }

    .stat-box-large p {
        font-size: 0.8rem;
    }

    .recruiters-box {
        padding: 20px 15px;
    }

    .recruiters-grid {
        gap: 8px;
    }

    .recruiter-tag {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    /* Mentors */
    .mentors-box,
    .infra-box {
        padding: 20px 15px;
    }

    .mentors-box h3,
    .infra-box h3 {
        font-size: 1.2rem;
    }

    .mentor-avatar {
        width: 50px;
        height: 50px;
    }

    .mentor-info h4 {
        font-size: 1rem;
    }

    .mentor-info p {
        font-size: 0.85rem;
    }

    .infra-list li {
        font-size: 0.85rem;
        gap: 10px;
    }

    /* Campus */
    .campus-content h3 {
        font-size: 1.4rem;
    }

    .campus-content p {
        font-size: 0.9rem;
    }

    .feature-item {
        font-size: 0.85rem;
    }

    .feature-item i {
        font-size: 1.2rem;
    }

    /* CTA Banner */
    .cta-banner {
        padding: 40px 0;
    }

    .cta-banner h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .cta-banner p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    /* FAQs */
    .faq-container summary {
        font-size: 0.9rem;
        padding: 14px 12px;
    }

    .faq-content {
        font-size: 0.85rem;
        padding: 0 12px 12px 12px;
    }

    /* Footer */
    .footer {
        padding: 30px 0 12px;
    }

    .footer-col p {
        font-size: 0.8rem;
        gap: 8px;
    }

    .footer-col h4 {
        font-size: 1.2rem;
    }

    .footer-logo {
        height: 55px;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
        padding-top: 15px;
    }

    /* Popup */
    .popup-content {
        width: 360px;
        height: auto;
        max-width: 95%;
        min-height: unset;
    }

    .popup-header-banner {
        padding: 15px 12px;
    }

    .popup-body {
        padding: 15px 12px;
    }
}

/* ---------- Extra Small / 320px (≤330px) ---------- */
@media (max-width: 330px) {
    .container {
        padding: 0 10px;
    }

    /* Hero */
    .hero {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 1.45rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-form-wrapper {
        padding: 18px 12px;
        border-radius: 10px;
    }

    .form-header h2 {
        font-size: 1.35rem;
    }

    .form-header p {
        font-size: 0.75rem;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .form-group input,
    .form-group select {
        padding: 10px;
        font-size: 0.85rem;
    }

    .btn-submit {
        font-size: 0.9rem;
        padding: 11px;
    }

    .form-footer {
        font-size: 0.7rem;
    }

    .logo {
        height: 50px;
    }

    .badge {
        font-size: 0.65rem;
        padding: 4px 10px;
    }

    .stat-item {
        padding: 7px 10px;
        font-size: 0.8rem;
    }

    .stat-item i {
        font-size: 1rem;
    }

    /* Sections */
    .section {
        padding: 35px 0;
    }

    .section-title h2 {
        font-size: 1.35rem;
    }

    .section-title p {
        font-size: 0.8rem;
    }

    .section-title {
        margin-bottom: 20px;
    }

    /* Accreditation */
    .accreditation-section {
        padding: 20px 0;
    }

    .acc-item {
        font-size: 0.8rem;
    }

    .acc-item i {
        font-size: 1.2rem;
    }

    .acc-card {
        padding: 20px 15px;
    }

    .acc-card h3 {
        font-size: 1.15rem;
        padding-left: 10px;
    }

    /* Overview */
    .overview-card {
        padding: 15px 12px;
        gap: 12px;
    }

    .card-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .card-content h3 {
        font-size: 0.95rem;
    }

    .card-content p {
        font-size: 0.78rem;
    }

    /* Marquee */
    .marquee-container {
        padding: 25px 0;
    }

    .marquee-container::before,
    .marquee-container::after {
        width: 30px;
    }

    .marquee-content {
        gap: 30px;
        padding-left: 30px;
    }

    .tech-card {
        min-width: 70px;
    }

    .tech-card img {
        height: 30px;
    }

    .tech-card span {
        font-size: 0.65rem;
    }

    /* Mid-CTA */
    .mid-cta-section {
        padding: 30px 0;
    }

    .mid-cta-wrapper {
        padding: 20px 12px;
        border-radius: 10px;
        gap: 20px;
    }

    .mid-cta-content h2 {
        font-size: 1.3rem;
    }

    .mid-cta-content p {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }

    .cta-btns .btn {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    /* Job Roles */
    .roles-grid {
        gap: 8px;
    }

    .role-card {
        padding: 15px 12px;
        gap: 10px;
    }

    .role-icon {
        font-size: 1.2rem;
    }

    .role-card h4 {
        font-size: 0.85rem;
    }

    .role-card small {
        font-size: 0.7rem;
    }

    /* Placements */
    .stat-box-large {
        padding: 15px 8px;
    }

    .stat-box-large h3 {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }

    .stat-box-large p {
        font-size: 0.75rem;
    }

    .recruiters-box {
        padding: 18px 12px;
    }

    .recruiters-box h3 {
        font-size: 1.1rem;
    }

    .recruiter-tag {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    /* Mentors */
    .mentors-box,
    .infra-box {
        padding: 18px 12px;
    }

    .mentors-box h3,
    .infra-box h3 {
        font-size: 1.1rem;
        margin-bottom: 18px;
    }

    .mentor-avatar {
        width: 45px;
        height: 45px;
    }

    .mentor-info h4 {
        font-size: 0.9rem;
    }

    .mentor-info p {
        font-size: 0.8rem;
    }

    .mentor-item {
        gap: 12px;
    }

    .infra-list li {
        font-size: 0.8rem;
        gap: 8px;
    }

    .infra-list li i {
        font-size: 1rem;
    }

    /* Campus */
    .campus-content h3 {
        font-size: 1.2rem;
    }

    .campus-content p {
        font-size: 0.8rem;
    }

    .feature-item {
        padding: 10px;
        font-size: 0.8rem;
        gap: 8px;
    }

    .feature-item i {
        font-size: 1.1rem;
    }

    /* CTA Banner */
    .cta-banner {
        padding: 30px 0;
    }

    .cta-banner h2 {
        font-size: 1.3rem;
    }

    .cta-banner p {
        font-size: 0.8rem;
    }

    .cta-banner .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* FAQs */
    .faq-container {
        gap: 10px;
    }

    .faq-container summary {
        font-size: 0.85rem;
        padding: 12px 10px;
    }

    .faq-content {
        font-size: 0.8rem;
        padding: 0 10px 10px 10px;
        padding-top: 10px;
    }

    /* Footer */
    .footer {
        padding: 25px 0 10px;
    }

    .footer-container {
        gap: 25px;
        margin-bottom: 25px;
    }

    .footer-col h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .footer-col p {
        font-size: 0.75rem;
    }

    .footer-logo {
        height: 35px;
    }

    .social-links {
        gap: 10px;
        margin-top: 15px;
    }

    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.7rem;
    }

    /* Popup */
    .popup-content {
        width: 360px;
        height: auto;
        max-width: 95%;
        min-height: unset;
    }

    .popup-header-banner {
        padding: 15px 12px;
    }

    .popup-header-banner h3 {
        font-size: 1.2rem;
    }

    .popup-body {
        padding: 15px 12px;
    }

    .popup-title {
        font-size: 1.2rem;
    }

    .popup-form .btn-submit {
        padding: 12px;
        font-size: 1rem;
    }
}

/* ---------- Mobile (≤768px) Specific Hero ---------- */
@media (max-width: 768px) {
    
    .admission-banner {
    position: fixed;
    bottom: 8%;
    width: 100%;
     background: #f5c400;
      border: 3px solid #ffffff;
      border-radius: 16px;
      padding: 12px 8px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: auto;
      box-shadow: 0 3px 10px rgba(0,0,0,0.15);
      z-index: 1000;
    }

    .banner-left {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .icon-box {
      width: 38px;
        height: 38px;
        background: #002b6b;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 16px;
        flex-shrink: 0;
    }

    .banner-text h3 {
        font-size: 15px;
        font-weight: 800;
        color: #000;
        line-height: 1.1;
        text-transform: uppercase;
    }

    .banner-text p {
      font-size: 11px;
      font-weight: 700;
      color: #d35400;
      margin-top: 2px;
      text-transform: uppercase;
    }

    .apply-btn {
      background: #002b6b;
        color: #fff;
        text-decoration: none;
        padding: 9px 10px;
        border-radius: 14px;
        font-size: 11px;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
    }

    .apply-btn i {
      font-size: 12px;
    }
    
    
    
    .mobile-only {
        display: block;
    }
    .desktop-only {
        display: none;
    }

    .top-sticky-bar {
        display: block;
        padding: 6px 0;
    }

    .hero-bg::after {
        display: none; /* Remove dark overlay on mobile */
    }

    body.has-top-bar .navbar {
        top: 32px;
    }

    body.has-top-bar .hero {
        padding-top: 110px;
    }

    .hero {
        padding-top: 80px;
        min-height: auto;
        text-align: left;
    }

    .hero-container {
        display: block;
        padding: 0 25px;
        padding-top: 300px;
        text-align: left !important;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start !important;
        text-align: left !important;
        margin: 0 !important;
    }

    .hero-content .badge {
        margin-left: 0 !important;
        margin-right: auto !important;
        display: inline-block;
        text-align: left !important;
    }

    .hero-title-mobile {
        /*font-size: 2.5rem;*/
        font-weight: 800;
        color: #fff;
        line-height: 1.1;
        margin: 15px 0 10px;
        text-align: left;
    }

.red-highlight {
    color: #e31e24;
    font-size: 30px;
}


    .hero-subtitle {
        font-size: 1.05rem;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 30px;
        max-width: 100%;
        line-height: 1.5;
        text-align: left;
    }

    .mobile-stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .mobile-stat-item {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #fff;
    }

    .stat-icon-circle {
        width: 38px;
        height: 38px;
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .stat-icon-circle i {
        color: #e31e24;
        font-size: 1rem;
    }

    .mobile-stat-item span {
        font-size: 0.9rem;
        font-weight: 400;
    }

    .hero-cta-mobile {
        
        width: 100%;
    }

    .hero-cta-mobile .btn-large {
       width: 100%;
        padding: 10px 30px;
        font-size: 16px;
        text-transform: none;
        border-radius: 8px;
        background-color: #f79f36;
        color: #fff;
        font-weight: 500;
        text-align: center;
        display: block;
       
    }

    /* Form within mobile hero */
    .mobile-only .hero-form-wrapper {
        margin-top: 30px;
        max-width: 100%;
        box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    }
    .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 120px;
    height: 64%;
    z-index: 1;
    overflow: hidden;
}
}
@media (min-width: 768px) {
      .admission-banner {
        display: none;
      }
    }