/* 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====================*/
/* --- HOW TO APPLY SECTION STYLES --- */
.text-navy { color: #002147; }
.bg-navy { background-color: #002147; }
.fw-black { font-weight: 900; }

.letter-spacing-2 { letter-spacing: 2px; }

.title-line {
    width: 80px;
    height: 4px;
    background-color: #ffc107;
    margin-top: 15px;
}

/* Apply Card Styles */
.apply-card {
    position: relative;
    border-radius: 15px;
    border-bottom: 4px solid #ffc107;
    transition: all 0.3s ease;
}

.apply-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 45px;
    height: 45px;
    background-color: #ffc107;
    color: #002147;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Checklist Styles */
.custom-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.custom-list li:last-child {
    border-bottom: none;
}

/* Call to Action Button */
.btn-navy-gold {
    background-color: #002147;
    color: #ffc107;
    border: 2px solid #002147;
    transition: 0.3s;
}

.btn-navy-gold:hover {
    background-color: #ffc107;
    color: #002147;
    border-color: #ffc107;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .apply-card {
        margin-bottom: 20px;
    }
    .doc-checklist-box {
        margin-top: 20px;
    }
}

/* --- IMPORTANT DATES STYLES --- */
.dates-section {
    background-color: #f8f9fa;
    position: relative;
}

/* Date Badge (Calendar Look) */
.date-badge {
    min-width: 90px;
    height: 90px;
    background-color: #002147;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 33, 71, 0.2);
    overflow: hidden;
    text-align: center;
}

.date-badge .month {
    background-color: #ffc107;
    color: #002147;
    width: 100%;
    font-size: 12px;
    font-weight: 900;
    padding: 2px 0;
    text-transform: uppercase;
}

.date-badge .day {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
}

/* Highlight for important deadlines */
.badge-highlight {
    background-color: #dc3545 !important; /* Red for closing date */
}

/* Content Box */
.date-content {
    transition: transform 0.3s ease;
}

.date-row:hover .date-content {
    transform: translateX(10px);
}

.border-gold {
    border-color: #ffc107 !important;
}

.border-navy {
    border-color: #002147 !important;
}

/* Connector Line (Vertical line behind badges) */
@media (min-width: 768px) {
    .timeline-container {
        position: relative;
    }
    .timeline-container::before {
        content: '';
        position: absolute;
        left: 44px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: repeating-linear-gradient(
            to bottom,
            #ccc,
            #ccc 10px,
            transparent 10px,
            transparent 20px
        );
        z-index: 0;
    }
    .date-row {
        position: relative;
        z-index: 1;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 767.98px) {
    .date-row {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .date-content {
        margin-left: 0 !important;
        margin-top: 15px;
        width: 100%;
    }
    .date-badge {
        flex-direction: row;
        width: 100%;
        height: auto;
        min-width: auto;
        padding: 5px 15px;
        justify-content: flex-start;
    }
    .date-badge .month {
        width: auto;
        padding: 5px 15px;
        margin-right: 15px;
        border-radius: 5px;
    }
    .date-badge .day {
        font-size: 20px;
    }
}
/* --- STRONG CTA SECTION STYLES --- */
.cta-banner {
    background-color: #002147; /* Navy Blue */
    border-radius: 30px;
}

.bg-gold-gradient {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* The Final Button */
.btn-apply-final {
    background-color: #002147;
    color: #ffffff !important;
    padding: 18px 35px;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 15px;
    text-decoration: none;
    display: inline-block;
    border: 3px solid #002147;
    transition: 0.4s all ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-apply-final:hover {
    background-color: transparent;
    color: #002147 !important;
    transform: translateY(-5px);
}

/* Pulse Animation for CTA */
.pulse-animation {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 33, 71, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 33, 71, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 33, 71, 0);
    }
}

/* Badge styling inside CTA */
.badge-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .cta-banner {
        border-radius: 20px;
    }
    .bg-gold-gradient {
        padding: 40px 20px !important;
    }
    .display-5 {
        font-size: 2rem;
    }
}

/* --- HELP & SUPPORT STYLES --- */

/* Custom Accordion Styling */
.custom-accordion .accordion-item {
    background-color: #f8f9fa;
    border-radius: 10px !important;
    overflow: hidden;
}

.custom-accordion .accordion-button {
    font-weight: 700;
    color: #002147;
    background-color: #f8f9fa;
    padding: 20px;
    box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: #002147;
    color: #ffc107;
}

.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23002147'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffc107'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Support Card Icons */
.support-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-sidebar {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.support-sidebar a:hover {
    text-decoration: underline !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .help-support-section {
        padding-top: 40px !important;
    }
    .support-sidebar {
        margin-top: 20px;
    }
}

/* --- TRUST & CREDIBILITY STYLES --- */
.stat-card h2 {
    font-size: 2.5rem;
    letter-spacing: -1px;
}

.stat-card p {
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Accreditation Logos Styling */
.trust-logo {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    transition: all 0.4s ease;
    cursor: help;
}

.trust-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.tiny-text {
    font-size: 10px;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
}

/* Subtle background pattern (optional) */
.trust-section {
    background-image: radial-gradient(#00214705 2px, transparent 2px);
    background-size: 30px 30px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .stat-card h2 {
        font-size: 1.8rem;
    }
    .trust-logo {
        max-height: 45px;
    }
}























/*===============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;
    }
}