/* 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====================*/


/* --- DYNAMIC VISIONARY STYLES --- */

.dynamic-vision-area {
    background-color: #ffffff;
    overflow: hidden;
}

/* Moving Watermark Background */
.floating-text-bg {
    position: absolute;
    top: 15%;
    left: -10%;
    font-size: 10rem;
    font-weight: 900;
    color: rgba(0, 33, 71, 0.02);
    white-space: nowrap;
    animation: moveText 40s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes moveText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Header Text Gradient */
.future-gradient {
    background: linear-gradient(90deg, #002147, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.animated-line {
    width: 100px;
    height: 6px;
    background: #ffc107;
    margin-top: 15px;
    border-radius: 10px;
    animation: expandLine 2s ease-in-out infinite alternate;
}

@keyframes expandLine {
    from { width: 100px; }
    to { width: 250px; }
}

/* Vision Glass Panel */
.vision-glass-panel {
    background: #002147;
    border-radius: 40px;
    position: relative;
    z-index: 2;
    box-shadow: 0 25px 50px rgba(0, 33, 71, 0.2);
    overflow: hidden;
    color: white;
}

.vision-eye-icon {
    position: relative;
    font-size: 3rem;
    color: #ffc107;
    display: inline-block;
    padding: 20px;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid #ffc107;
    border-radius: 50%;
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { width: 60px; height: 60px; opacity: 1; }
    100% { width: 120px; height: 120px; opacity: 0; }
}

.vision-text-premium {
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
}

/* Pillar Cards (The Mission) */
.pillar-card {
    background: #fff;
    border-radius: 24px;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: 0.5s all ease;
    border: 1px solid #eee;
}

.pillar-num {
    font-size: 4rem;
    font-weight: 900;
    position: absolute;
    top: -10px;
    right: 10px;
    color: rgba(0, 33, 71, 0.04);
}

.pillar-icon {
    font-size: 2.5rem;
    color: #002147;
    margin-bottom: 20px;
    transition: 0.3s;
}

.pillar-card.featured {
    background: #fdf8e6;
    border-color: #ffc107;
}

.pillar-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.pillar-card:hover .pillar-icon {
    color: #ffc107;
    transform: scale(1.2);
}

.pillar-hover-bg {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 193, 7, 0.1), transparent);
    transition: 0.5s;
    z-index: -1;
}

.pillar-card:hover .pillar-hover-bg {
    bottom: 0;
}

/* Helper Class */
.mb-100 { margin-bottom: 100px; }
.letter-spacing-5 { letter-spacing: 5px; }

/* Responsive Adjustments */
@media (max-width: 991px) {
    .vision-text-premium { font-size: 1.2rem; }
    .floating-text-bg { font-size: 5rem; }
    .border-md-end { border: none !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; padding-bottom: 20px; }
}


/* --- NEW INTERACTIVE CONTENT STYLES --- */

.bg-navy { background-color: #002147; }
.fw-black { font-weight: 900; }
.letter-spacing-2 { letter-spacing: 2px; }

/* Counter Box */
.counter-box h2 {
    background: linear-gradient(180deg, #002147, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Advantage Box Wrapper */
.advantage-box {
    transition: 0.4s ease;
}

.icon-sm-circle {
    width: 30px;
    height: 30px;
    background: #ffc107;
    color: #002147;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Play Button Ripple Effect */
.video-play-btn-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.play-btn-ripple {
    width: 80px;
    height: 80px;
    background: #ffc107;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #002147;
    font-size: 24px;
    text-decoration: none;
    position: relative;
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.5);
    animation: ripple 1.5s infinite;
}

@keyframes ripple {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(255, 193, 7, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

/* Recognition Strip */
.grayscale-hover h6 {
    opacity: 0.6;
    transition: 0.3s;
    cursor: pointer;
}

.grayscale-hover:hover h6 {
    opacity: 1;
    color: #ffc107 !important;
    transform: scale(1.05);
}

/* Mobile Fixes for the Advantage section */
@media (max-width: 991px) {
    .advantage-box img {
        height: 300px !important;
    }
}







/*===============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;
    }
}