/* 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;
}




/* --- MODERN OVERVIEW STYLES --- */

.modern-overview {
    background-color: #ffffff;
    z-index: 1;
}

/* Background Decorative Shape */
.bg-shape {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 40%;
    height: 80%;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 50% 0 50% 50%;
    z-index: -1;
    filter: blur(80px);
}

/* Typography Enhancements */
.text-gradient {
    background: linear-gradient(45deg, #002147, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modern-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modern-label .line {
    width: 30px;
    height: 2px;
    background: #ffc107;
}

.modern-label .text {
    font-weight: 700;
    color: #ffc107;
    letter-spacing: 3px;
    font-size: 0.8rem;
}

/* Stats Cards */
.stat-card {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: 0.3s;
}

.stat-card h3 {
    color: #002147;
    font-weight: 900;
}

.stat-card.accent {
    background: #001a38;
}

.stat-card.accent h3, .stat-card.accent p {
    color: #ffc107;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #ffc107;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Visual Stack Styling */
.visual-stack {
    position: relative;
    padding: 20px;
}

.main-img-wrapper {
    overflow: hidden;
    border-radius: 50px 5px 50px 5px; /* Asymmetrical modern radius */
}

.main-img {
    transition: transform 0.5s ease;
}

.visual-stack:hover .main-img {
    transform: scale(1.05);
}

/* Glassmorphism Card */
.floating-history-card {
    position: absolute;
    bottom: -10px;
    left: -20px;
    width: 280px;
    z-index: 10;
}

.card-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.icon-box {
    width: 45px;
    height: 45px;
    background: #ffc107;
    color: #002147;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Decorative Dots */
.dots-pattern {
    position: absolute;
    top: -20px;
    right: -10px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(#ffc107 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: -1;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .floating-history-card {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: -50px;
        width: 100%;
    }
    
    .main-img-wrapper {
        border-radius: 30px;
    }
}


/* --- SHOWCASE OVERVIEW STYLES --- */

.showcase-overview {
    background-color: #fdfdfd;
    overflow: hidden;
}

/* Watermark Background Text */
.watermark-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    font-weight: 900;
    color: rgba(0, 33, 71, 0.03); /* Extremely faint navy */
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

/* Image Collage Logic */
.image-collage-wrapper {
    position: relative;
    padding-bottom: 50px;
}

.main-collage-img img {
    width: 90%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.secondary-collage-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
    height: 180px;
    z-index: 2;
}

.secondary-collage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.acc-badge {
    position: absolute;
    top: 30px;
    left: -20px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    width: 110px;
    z-index: 3;
    animation: floating 3s ease-in-out infinite;
}

.acc-badge img { max-width: 60px; }

/* Timeline Journey Styling */
.milestone-journey {
    position: relative;
    padding-left: 20px;
    border-left: 2px dashed #ddd;
}

.milestone-item {
    position: relative;
    padding-bottom: 25px;
    padding-left: 30px;
}

.milestone-item:last-child { padding-bottom: 0; }

.milestone-item .year {
    position: absolute;
    left: -55px;
    top: 0;
    background: #ffc107;
    color: #002147;
    font-size: 12px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 4px;
}

.milestone-item::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #002147;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Typography Enhancements */
.fw-black { font-weight: 900; }
.letter-spacing-3 { letter-spacing: 3px; }

.highlight-text {
    color: #ffc107;
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(255, 193, 7, 0.2);
    z-index: -1;
}

/* Modern Button and Play Button */
.btn-navy-modern {
    background: #002147;
    color: white;
    padding: 12px 25px;
    font-weight: 700;
    border-radius: 8px;
    transition: 0.3s;
    text-decoration: none;
}

.btn-navy-modern:hover {
    background: #ffc107;
    color: #002147;
    transform: translateX(5px);
}

.play-btn {
    width: 45px;
    height: 45px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.play-btn:hover {
    transform: scale(1.1);
    background: #002147;
    color: white;
}

/* Floating Animation */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .main-collage-img img { height: 350px; width: 100%; }
    .watermark-text { font-size: 8rem; }
    .secondary-collage-img { display: none !important; }
}
































/* --- 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;
    }
}