/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

/* Top Bar Styles */
.top-bar {
    background-color: #002147; /* Classic Navy Blue */
    color: #ffffff;
    font-size: 14px;
    border-bottom: 2px solid #ffc107; /* Gold Accent line */
}

.top-link a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.top-link a:hover {
    color: #ffc107;
}

.text-accent {
    color: #ffc107;
}

/* Social Media Icons */
.social-icons a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: #ffc107;
    transform: translateY(-2px);
}

/* Logo Section Styles */
.logo-section {
    background-color: #ffffff;
}

.college-name {
    color: #002147;
    font-size: 1.8rem; /* Adjusted for better balance */
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-transform: uppercase;
}

.logo-img {
    max-height: 30px; /* Increased from 30px so it's actually visible */
    width: auto;
    transition: 0.3s;
}

/* --- RESPONSIVENESS --- */

/* Tablets and small desktops */
@media (max-width: 992px) {
    .college-name {
        font-size: 1.4rem;
    }
    .logo-img {
        max-height: 70px;
    }
}

/* Mobile (Phoness) */
@media (max-width: 768px) {
    .top-bar {
        font-size: 12px;
    }
    
    .social-icons {
        margin-top: 5px;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 8px;
    }

    .college-name {
        font-size: 1.1rem;
    }
    
    .logo-img {
        max-height: 55px;
    }
}

/* Very Small Screens */
@media (max-width: 480px) {
    .college-name {
        font-size: 0.95rem;
    }
    
    .logo-img {
        max-height: 45px;
    }
}

/* --- NAVIGATION STYLING --- */
.main-nav {
    background-color: #002147; /* Navy background for the menu bar */
    border-bottom: 3px solid #ffc107;
}

.main-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 14px;
    padding: 20px 12px !important;
    text-transform: uppercase;
    transition: 0.3s;
}

.main-nav .nav-link:hover {
    color: #ffc107 !important;
    background-color: rgba(255, 255, 255, 0.1);
}

/* --- HOME ICON --- */
.home-link i {
    font-size: 18px;
}

/* --- DROPDOWN STYLING --- */
.dropdown-menu {
    border-radius: 0;
    margin-top: 0;
    padding: 10px 0;
    min-width: 220px;
}

.dropdown-item {
    font-size: 14px;
    padding: 8px 20px;
    color: #002147;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: #ffc107;
    color: #002147;
}

/* Desktop Hover Trigger */
@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* --- APPLY NOW CTA BUTTON --- */
.btn-apply {
    background-color: #ffc107; /* Gold color */
    color: #002147;
    font-size: 14px;
    border: 2px solid #ffc107;
    transition: 0.4s ease;
}

.btn-apply:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #001a38;
        padding: 15px;
    }

    .main-nav .nav-link {
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .dropdown-item {
        color: #ffffff;
    }

    .btn-apply {
        width: 100%;
        margin-top: 15px;
        text-align: center;
    }
}

/* Toggler Icon Logic */
.custom-toggler { border: none; }
.custom-toggler .close-icon { display: none; color: white; font-size: 24px; }
.custom-toggler .open-icon { display: block; color: white; font-size: 24px; }
.custom-toggler:not(.collapsed) .open-icon { display: none; }
.custom-toggler:not(.collapsed) .close-icon { display: block; }


/* --- HERO SLIDER STYLES --- */
#heroSlider {
    position: relative;
    overflow: hidden;
}

.hero-img {
    height: 75vh; /* 75% of screen height */
    object-fit: cover; /* Prevents image stretching */
}

/* Dark overlay to make text pop */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 33, 71, 0.4), rgba(0, 33, 71, 0.7));
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    bottom: 25%;
    text-align: left; /* Modern left-aligned look */
}

.carousel-caption h5 {
    color: #ffc107;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.carousel-caption h2 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
}

.text-gold {
    color: #ffc107;
}

.carousel-caption p {
    font-size: 1.2rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
}

/* --- HERO BUTTONS --- */
.btn-gold {
    background-color: #ffc107;
    color: #002147;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 5px;
    transition: 0.3s;
    border: 2px solid #ffc107;
}

.btn-gold:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline-light {
    border-width: 2px;
    padding: 12px 30px;
    font-weight: 700;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991.98px) {
    .hero-img {
        height: 60vh;
    }
    .carousel-caption h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-img {
        height: 50vh;
    }
    .carousel-caption {
        bottom: 15%;
        text-align: center; /* Center text on mobile */
        left: 5%;
        right: 5%;
    }
    .carousel-caption h5 {
        font-size: 0.9rem;
    }
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    .btn-gold, .btn-outline-light {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* --- SMOOTH TRANSITION (FADE EFFECT) --- */
.carousel-fade .carousel-item {
    transition-duration: 0.8s;
}

/*===============COMMON TOP CSS====================*/
/* Admission Overview Section Colors */
:root {
    --navy: #002147;
    --gold: #ffc107;
}

.text-primary-blue { color: var(--navy); }
.btn-primary-blue { 
    background-color: var(--navy); 
    color: white; 
    border: none;
    transition: 0.3s;
}
.btn-primary-blue:hover {
    background-color: #00152e;
    color: var(--gold);
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
}

/* Stat Cards */
.stat-card {
    border-bottom: 3px solid var(--gold);
    transition: transform 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-5px);
}

/* Step-by-Step Styling */
.step-number {
    background-color: var(--navy);
    color: var(--gold);
    font-weight: 900;
    font-size: 1.2rem;
    padding: 10px;
    border-radius: 8px;
    line-height: 1;
    min-width: 45px;
    text-align: center;
}

.step-item {
    transition: 0.3s;
    border-left: 0 solid var(--gold);
}
.step-item:hover {
    border-left: 5px solid var(--gold);
    background-color: #f8f9fa !important;
}

/* Sticky Form Styling */
.enquiry-card-sticky {
    position: sticky;
    top: 100px; /* Adjust based on navbar height */
    z-index: 10;
}

/* Input focus styles */
.enquiry-card-sticky .form-control:focus, 
.enquiry-card-sticky .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

/* Mobile Responsiveness */
@media (max-width: 991.98px) {
    .enquiry-card-sticky {
        position: relative;
        top: 0;
        margin-top: 30px;
    }
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .stat-card h3 {
        font-size: 1.2rem;
    }
    .stat-card p {
        font-size: 0.7rem;
    }
}
/* --- COURSES EXPLORER STYLES --- */
.courses-explorer {
    background-color: #ffffff;
}

.dept-title {
    color: #002147;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffc107;
    display: inline-block;
}

.course-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 30px 25px;
    border-radius: 12px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-card h5 {
    color: #002147;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.course-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.course-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #ffc107;
    color: #002147;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 35px;
    transform: rotate(45deg);
    text-transform: uppercase;
}

.course-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
    border-top: 1px dashed #ddd;
    padding-top: 15px;
}

.course-meta li {
    font-size: 12px;
    font-weight: 600;
    color: #002147;
}

.course-meta i {
    color: #ffc107;
    margin-right: 5px;
}

/* Hover Effects */
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 33, 71, 0.1);
    border-color: #ffc107;
}

/* Specific Card Accents */
.tech-card { border-left: 4px solid #002147; }
.edu-card { border-left: 4px solid #ffc107; }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .dept-title {
        font-size: 1.2rem;
        display: block;
        text-align: center;
    }
    
    .course-card {
        text-align: center;
        padding: 20px;
    }
    
    .course-meta {
        justify-content: center;
    }
    
    .course-badge {
        display: none; /* Hide rotated badge on mobile to save space */
    }
}

/* --- IMPORTANT DATES STYLES --- */
.important-dates {
    position: relative;
    overflow: hidden;
}

/* Date Card Styling */
.date-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.date-header {
    background-color: #002147; /* Navy */
    color: #ffffff;
    padding: 20px;
    text-align: center;
    border-radius: 11px 11px 0 0;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.date-header .day {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    color: #ffc107; /* Gold */
}

.date-header .month {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.date-body {
    padding: 20px;
}

.date-body h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #002147;
    margin-bottom: 10px;
}

.date-body p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Hover States */
.date-card:hover {
    transform: translateY(-10px);
    border-color: #ffc107;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.date-card:hover .date-header {
    background-color: #00152e;
}

/* Highlighted (Deadline) Card */
.date-card.highlight {
    border: 2px solid #ffc107;
}

/* Animation for the Bell Icon */
@keyframes pulse-gold {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.animate-pulse {
    animation: pulse-gold 2s infinite;
    color: #d9534f; /* Red for alert */
}

/* Mobile Responsiveness */
@media (max-width: 767.98px) {
    .date-card {
        flex-direction: row; /* Horizontal layout on mobile */
        align-items: center;
    }
    
    .date-header {
        border-radius: 11px 0 0 11px;
        min-width: 100px;
        padding: 15px;
    }
    
    .date-header .day {
        font-size: 1.8rem;
    }
    
    .date-body {
        padding: 15px;
    }
}
/* --- ADMISSION STATUS BLINKING DOT --- */
.status-badge {
    border: 5px solid #f00000;

}

.status-text {
    font-size: 0.9rem;
    color: #002147;
}

.blinking-dot {
    height: 12px;
    width: 12px;
    background-color: #ff0000; /* Pure Red */
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    animation: pulse-red 1.5s infinite;
}

/* The Blinking/Pulsing Animation */
@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Adjustments for the Dates Section alert if needed */
.alert-warning {
    display: flex;
    align-items: center;
}

/* --- DOCUMENTS CHECKLIST STYLES --- */
.bg-navy {
    background-color: #002147;
}

.checklist-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
    border: 1px solid #f0f0f0;
}

.checklist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 33, 71, 0.1) !important;
}

.doc-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    color: #444;
}

.doc-list li:last-child {
    border-bottom: none;
}

.doc-list i {
    font-size: 1.1rem;
    margin-top: 3px;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991.98px) {
    .checklist-header h4 {
        font-size: 1.25rem;
    }
    
    .checklist-body {
        padding: 20px !important;
    }
}

@media (max-width: 767.98px) {
    .doc-list li {
        font-size: 0.9rem;
        padding: 10px 0;
    }
}
/* --- FINAL CTA STYLES --- */
.final-cta {
    background-color: #f8f9fa;
}

.cta-box {
    background: linear-gradient(135deg, #002147 0%, #00152e 100%);
    position: relative;
    border: 4px solid #ffc107;
}

/* Subtle background pattern/overlay */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
    z-index: 1;
}

.fw-900 { font-weight: 900; }
.z-index-2 { z-index: 2; }

/* Help Desk Icons */
.icon-circle {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: 2px solid #ffc107;
    color: #002147;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: 0.3s;
}

.help-item:hover .icon-circle {
    background: #ffc107;
    transform: rotateY(360deg);
}

/* CTA Button Styles */
.final-cta .btn-gold {
    background-color: #ffc107;
    color: #002147;
    border: none;
    transition: 0.4s;
}

.final-cta .btn-gold:hover {
    background-color: #ffffff;
    color: #002147;
    transform: scale(1.05);
}

.final-cta .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffc107;
    border-color: #ffc107;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991.98px) {
    .cta-box {
        text-align: center;
    }
    
    .final-cta .display-5 {
        font-size: 2rem;
    }
    
    .border-start, .border-end {
        border: none !important;
    }
}

@media (max-width: 576px) {
    .final-cta .btn-lg {
        width: 100%;
        font-size: 1rem;
    }
}
/* --- MODERN ELIGIBILITY STYLES --- */
.eligibility-modern {
    background-color: #f4f7f9 !important;
}

.bg-gold-light {
    background-color: rgba(255, 193, 7, 0.15);
}

.title-divider {
    height: 4px;
    width: 60px;
    background: #ffc107;
    border-radius: 2px;
}

/* Card Structure */
.modern-elig-card {
    background: #ffffff;
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-side-ribbon {
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 1.2rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.card-content {
    padding: 30px;
    flex-grow: 1;
}

.dept-icon-box {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    color: #002147;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.5rem;
    border: 1px solid #eee;
}

.course-tag {
    display: inline-block;
    background: #002147;
    color: #ffc107;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 4px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.course-requirement-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

/* Hover State */
.modern-elig-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 33, 71, 0.1) !important;
    border-color: #ffc107;
}

.modern-elig-card:hover .dept-icon-box {
    background: #ffc107;
    border-color: #ffc107;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 767.98px) {
    .modern-elig-card {
        flex-direction: column;
    }
    
    .card-side-ribbon {
        width: 100%;
        height: 10px;
        writing-mode: horizontal-tb;
        transform: rotate(0);
        font-size: 0; /* Hide number on mobile for cleaner look */
    }
    
    .card-content {
        padding: 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* --- ASK A QUERY STYLES --- */
.ask-query-section {
    background: linear-gradient(to bottom, #ffffff, #f4f7f9);
}

.query-card {
    background: #ffffff;
    /* Soft border matching your gold theme */
    border-top: 5px solid #ffc107 !important;
    position: relative;
    overflow: hidden;
}

/* Decorative background circle */
.query-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.text-navy {
    color: #002147;
}

.query-icon-wrap i {
    /* Using a combination of your colors */
    filter: drop-shadow(0 5px 15px rgba(0, 33, 71, 0.1));
}

.transition-hover {
    transition: all 0.3s ease;
}

.transition-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 33, 71, 0.15) !important;
    background-color: #00152e; /* Darker navy on hover */
}

/* Mobile Adjustments */
@media (max-width: 767.98px) {
    .query-card {
        padding: 30px 20px !important;
    }
    
    .ask-query-section h2 {
        font-size: 1.5rem;
    }
    
    .ask-query-section .btn-lg {
        font-size: 0.95rem;
        width: 100%; /* Full width button on mobile */
    }
}
/* --- HELPLINE STRIP STYLES --- */
.helpline-strip {
    background-color: #ffc107; /* Gold */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 99;
}

.text-navy {
    color: #002147;
}

.helpline-link {
    color: #002147;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.helpline-link:hover {
    color: #ffffff;
    transform: scale(1.05);
}

.helpline-link i {
    font-size: 1.2rem;
}

/* Ringing Animation */
@keyframes ring {
    0% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(15deg); }
    40% { transform: rotate(-15deg); }
    50% { transform: rotate(0); }
    100% { transform: rotate(0); }
}

.animate-ring {
    display: inline-block;
    animation: ring 2s infinite;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 767.98px) {
    .helpline-strip {
        padding: 15px 0;
    }
    
    .helpline-link {
        font-size: 1rem;
        background: rgba(0, 33, 71, 0.1);
        padding: 8px 15px;
        border-radius: 50px;
        width: 100%;
        justify-content: center;
    }
    
    .gap-4 {
        gap: 10px !important;
        width: 100%;
    }
}

/* --- YEAR-WISE FEE STRUCTURE STYLES --- */
.fee-navigation .nav-link {
    color: #002147;
    background: #fff;
    border: 1px solid #dee2e6;
    margin: 5px;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.fee-navigation .nav-link.active {
    background-color: #ffc107 !important;
    border-color: #ffc107;
    color: #002147 !important;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.fee-table-container {
    background: #fff;
    border: 1px solid #eee;
}

.year-fee-table thead {
    background-color: #002147;
    color: #fff;
}

.year-fee-table thead th {
    padding: 15px 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    white-space: nowrap;
    border: none;
}

.year-fee-table tbody td {
    padding: 15px 20px;
    vertical-align: middle;
    border-color: #f8f9fa;
    white-space: nowrap;
}

.course-col {
    font-weight: 700;
    color: #002147;
    min-width: 250px;
    white-space: normal !important; /* Allow course names to wrap if needed */
}

.duration-badge {
    background-color: rgba(0, 33, 71, 0.1);
    color: #002147;
    font-weight: 600;
    padding: 6px 12px;
}

.fee-amt {
    font-weight: 700;
    color: #2b8a3e; /* Green for amount */
}

/* Custom Scrollbar for the Responsive Table */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}
.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background: #ffc107;
    border-radius: 10px;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991.98px) {
    .fee-navigation {
        justify-content: flex-start !important;
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    .fee-navigation .nav-item {
        flex: 0 0 auto;
    }
}

@media (max-width: 767.98px) {
    .year-fee-table thead th, 
    .year-fee-table tbody td {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

/* --- HOSTEL FEE STYLES --- */
.fw-900 { font-weight: 900; }

.hostel-card {
    transition: all 0.3s ease;
    background: #fff;
}

.hostel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 33, 71, 0.1) !important;
}

.hostel-header {
    border-bottom: none;
}

.fee-item span:first-child {
    font-size: 0.95rem;
}

.amenities-box {
    border: 1px dashed #dee2e6;
}

/* Specific background for header icons to not clash */
.hostel-header .fa-mars, 
.hostel-header .fa-venus {
    position: absolute;
    right: 20px;
    top: 20px;
}

/* Ensure the cards have relative position for the absolute icon positioning */
.hostel-card .hostel-header {
    position: relative;
}

/* Mobile Adjustments */
@media (max-width: 767.98px) {
    .fee-item {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .fee-item span:last-child {
        margin-top: 5px;
        font-size: 1.1rem;
    }
    .hostel-header i {
        display: none; /* Hide large icon on mobile to save space */
    }
}

/* --- HOSTEL VIRTUAL TOUR STYLES --- */
.hostel-tour-section {
    background: linear-gradient(to right, #f8f9fa 50%, #ffffff 50%);
}

.tour-features .icon-sm {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.tour-video-box {
    border: 5px solid #ffffff;
    min-height: 400px;
}

.tour-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.tour-video-box:hover .tour-img {
    transform: scale(1.1);
}

.tour-overlay {
    background: rgba(0, 33, 71, 0.4);
}

/* Play Button Styling */
.play-btn {
    width: 80px;
    height: 80px;
    background-color: #ffc107;
    border-radius: 50%;
    font-size: 1.5rem;
    text-decoration: none;
    position: relative;
    z-index: 5;
    transition: 0.3s;
}

.play-btn:hover {
    transform: scale(1.1);
    background-color: #ffffff;
}

/* Pulse Animation */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: #ffc107;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

.letter-spacing-2 {
    letter-spacing: 2px;
    font-size: 0.8rem;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991.98px) {
    .hostel-tour-section {
        background: #f8f9fa;
        text-align: center;
    }
    .tour-features li {
        justify-content: center;
    }
    .tour-video-box {
        min-height: 300px;
        margin-top: 20px;
    }
}
/* --- FINAL APPLY NOW STRIP STYLES --- */
.apply-now-strip {
    /* A deep, professional red that contrasts with your Navy theme */
    background: linear-gradient(135deg, #d63031 0%, #b31d1d 100%);
    position: relative;
    overflow: hidden;
    border-top: 4px solid rgba(255, 255, 255, 0.2);
}

.apply-now-strip .fw-900 {
    font-weight: 900;
}

/* Button with a subtle white pulse effect */
.btn-apply-white {
    background-color: #ffffff;
    color: #d63031;
    border: 2px solid #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: pulse-white 2s infinite;
}

.btn-apply-white:hover {
    background-color: transparent;
    color: #ffffff;
    transform: scale(1.05);
}

@keyframes pulse-white {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.cta-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 767.98px) {
    .apply-now-strip {
        padding: 40px 0;
    }
    .apply-now-strip h3 {
        font-size: 1.5rem;
    }
    .apply-now-strip p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    .btn-apply-white {
        width: 100%;
        padding: 15px;
    }
}



















/*===============COMMON FOOT CSS====================*/
/* --- FOOTER STYLES --- */
.main-footer {
    background-color: #00152e; /* Darker navy for footer */
    color: #ffffff;
    border-top: 4px solid #ffc107;
}

.footer-logo {
    max-height: 50px;
    width: auto;
}

.footer-heading {
    color: #ffc107;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #ffc107;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links li a:hover {
    color: #ffc107;
    padding-left: 5px;
}

/* Social Circles */
.social-circle {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    text-decoration: none;
}

.social-circle:hover {
    background-color: #ffc107;
    color: #002147;
    transform: translateY(-3px);
}

/* Newsletter Input */
.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-newsletter .form-control:focus {
    box-shadow: none;
    border-color: #ffc107;
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: #000c1a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Floating Elements */
.back-to-top {
     position: fixed;
    bottom: 30px; /* Bottom-most element */
    right: 30px;
    display: none;
    z-index: 1000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: none;
    background-color: #ffc107;
    color: #002147;
    transition: 0.3s ease;
}
.back-to-top:hover {
    background-color: #002147;
    color: #ffc107;
    transform: translateY(-5px);
}

.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 95px; /* Positioned above the Back to Top button */
    right: 30px;  /* Moved to the right */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 28px;
    box-shadow: 2px 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    color: #FFF;
    box-shadow: 2px 8px 20px rgba(0,0,0,0.3);
}

/* Responsive Adjustments for Mobile */
@media (max-width: 767px) {
    .back-to-top, .whatsapp-float {
        right: 20px; /* Slightly closer to edge on mobile */
    }
    .back-to-top {
        bottom: 20px;
    }
    .whatsapp-float {
        bottom: 80px;
    }
}
