/* 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====================*/
/* --- Home Science V2 Styles --- */
.home-science-dept {
    background: #ffffff;
    padding-bottom: 80px;
}

.navy-blue { color: #002147; }
.text-gold { color: #ffc107; }

/* Background pattern */
.bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#ffc107 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.1;
    z-index: 0;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: #ffc107;
    border-radius: 2px;
}

.bg-gold-soft { background-color: rgba(255, 193, 7, 0.15); }

/* Image Stacks & Badge */
.dept-image-stack {
    position: relative;
    padding: 15px;
}

.floating-badge {
    position: absolute;
    bottom: -10px;
    left: -10px;
    background: #002147;
    color: white;
    padding: 20px;
    border-radius: 20px;
    border-bottom: 5px solid #ffc107;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.badge-content .years {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #ffc107;
    line-height: 1;
}

.badge-content .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Button Custom */
.btn-navy-gold {
    background: #002147;
    color: white;
    border: 2px solid #002147;
    transition: 0.3s;
}
.btn-navy-gold:hover {
    background: #ffc107;
    color: #002147;
    border-color: #ffc107;
}

/* Pillar Cards */
.pillar-card-v2 {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: 0.4s ease;
}

.pillar-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,33,71,0.1) !important;
    border-color: #ffc107;
}

.pillar-icon-wrapper {
    width: 70px;
    height: 70px;
    background: #002147;
    color: #ffc107;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 50%;
    transition: 0.4s;
}

.pillar-card-v2:hover .pillar-icon-wrapper {
    background: #ffc107;
    color: #002147;
    transform: rotateY(360deg);
}

/* Lab Glass Card */
.lab-glass-card {
    background: linear-gradient(135deg, #002147 0%, #00152e 100%);
    border: none;
}

.lab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.lab-tag {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.85rem;
}

/* Career Pills */
.career-pill-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.career-pill {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    color: #002147;
    transition: 0.3s;
}

.career-pill:hover {
    background: #ffc107;
    border-color: #ffc107;
    transform: scale(1.05);
}

/* --- MOBILE RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .display-5 { font-size: 2.2rem; }
    .lab-grid { grid-template-columns: 1fr; }
    .floating-badge { padding: 12px; }
}

@media (max-width: 768px) {
    .home-science-dept { padding-top: 3rem; }
    .order-2 { order: 2 !important; }
    .order-1 { order: 1 !important; }
    .dept-image-stack { margin-top: 20px; }
    .lab-glass-card { border-radius: 30px; }
}

/* --- Course & Table Styles --- */
.bg-navy {
    background-color: #002147;
}

.course-program-card {
    transition: transform 0.3s ease;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.course-program-card:hover {
    transform: translateY(-5px);
}

/* Custom Table Styling */
.advantages-wrapper {
    overflow: hidden;
}

.custom-adv-table {
    border: 1px solid #eee;
    border-radius: 10px;
}

.custom-adv-table thead.table-navy {
    background-color: #002147;
    color: #ffffff;
}

.custom-adv-table thead th {
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: none;
}

.custom-adv-table tbody td {
    padding: 15px;
    font-size: 0.9rem;
    border-bottom: 1px solid #f8f9fa;
}

.custom-adv-table tbody tr:last-child td {
    border-bottom: none;
}

.custom-adv-table tbody tr:hover {
    background-color: rgba(255, 193, 7, 0.05);
}

/* Mobile Responsiveness for Table */
@media (max-width: 768px) {
    .custom-adv-table thead {
        display: none; /* Hide header on very small screens if preferred, or keep scroll */
    }
    
    .custom-adv-table tbody td {
        display: block;
        width: 100%;
        text-align: left;
        padding: 10px 15px;
    }

    .custom-adv-table tbody td:first-child {
        background-color: #f8f9fa;
        font-weight: bold;
        color: #002147;
        padding-top: 15px;
    }
    
    .custom-adv-table tbody td:last-child {
        padding-bottom: 15px;
        border-bottom: 2px solid #eee;
    }
    
    .advantages-wrapper {
        padding: 15px !important;
    }
}

/* --- ALUMNI INFINITE SCROLL STYLES --- */

.alumni-slider {
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

/* The track that actually moves */
.alumni-slide-track {
    display: flex;
    /* Width is calculated as (Card Width * Total Cards including duplicates) */
    /* We show 4 items on desktop, so each item is 25% of viewport width */
    width: calc(25vw * 8); 
    animation: scrollLeft 25s linear infinite;
}

/* Pause animation on hover for user accessibility */
.alumni-slide-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-25vw * 4)); } /* Move by 4 items to reset loop */
}

.alumni-card-wrapper {
    width: 25vw; /* Exactly 1/4th of the screen on desktop */
    padding: 0 15px;
    flex-shrink: 0;
}

/* Individual Card Styling */
.alumni-dynamic-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 33, 71, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    text-align: center;
    height: 100%;
}

.alumni-dynamic-card:hover {
    transform: translateY(-10px);
    border-color: #ffc107;
}

.alumni-img-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.alumni-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.alumni-dynamic-card:hover .alumni-img-container img {
    transform: scale(1.1);
}

.batch-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #ffc107;
    color: #002147;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.alumni-details {
    padding: 20px;
}

.alumni-details h5 {
    color: #002147;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.alumni-details .designation {
    color: #ffc107;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.alumni-details .company {
    color: #6c757d;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.social-link {
    font-size: 1.2rem;
    color: #0077b5; /* LinkedIn Color */
    opacity: 0.6;
    transition: 0.3s;
}

.alumni-dynamic-card:hover .social-link {
    opacity: 1;
}

/* --- MOBILE RESPONSIVENESS --- */

/* Tablets (3 students in row) */
@media (max-width: 991px) {
    .alumni-card-wrapper { width: 33.33vw; }
    .alumni-slide-track { width: calc(33.33vw * 8); }
    @keyframes scrollLeft {
        100% { transform: translateX(calc(-33.33vw * 4)); }
    }
}

/* Small Tablets (2 students in row) */
@media (max-width: 768px) {
    .alumni-card-wrapper { width: 50vw; }
    .alumni-slide-track { width: calc(50vw * 8); }
    @keyframes scrollLeft {
        100% { transform: translateX(calc(-50vw * 4)); }
    }
    .alumni-img-container { height: 180px; }
}

/* Mobile (1 student in row) */
@media (max-width: 480px) {
    .alumni-card-wrapper { width: 85vw; } /* 85vw to show a peek of the next card */
    .alumni-slide-track { width: calc(85vw * 8); }
    @keyframes scrollLeft {
        100% { transform: translateX(calc(-85vw * 4)); }
    }
    .alumni-ticker-section h2 { font-size: 1.6rem; }
}

/* --- TEACHING PRACTICES --- */
.practice-card {
    background: #fff;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    border-bottom: 4px solid #eee;
}

.practice-card:hover {
    transform: translateY(-10px);
    border-bottom-color: #ffc107;
    box-shadow: 0 15px 30px rgba(0, 33, 71, 0.08);
}

.practice-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
    border-radius: 12px;
    transition: 0.3s;
}

.practice-card:hover .practice-icon {
    background: #ffc107;
    color: #002147;
}

/* --- PRACTICAL EXPOSURE BENTO GRID --- */
.practical-exposure {
    background: #002147;
}

.exposure-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 20px;
}

.exposure-item {
    position: relative;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
}

.exposure-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,33,71,0.9), transparent);
    transition: 0.4s;
}

.exposure-item:hover::before {
    background: rgba(0, 33, 71, 0.7);
}

.exposure-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 25px;
    color: #fff;
    width: 100%;
    transform: translateY(20px);
    transition: 0.4s;
}

.exposure-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffc107;
    margin-bottom: 8px;
}

.exposure-content p {
    font-size: 0.85rem;
    opacity: 0;
    transition: 0.4s;
    margin-bottom: 0;
}

.exposure-item:hover .exposure-content {
    transform: translateY(0);
}

.exposure-item:hover .exposure-content p {
    opacity: 1;
}

/* Bento Sizing Classes */
.exposure-item.large { grid-column: span 2; grid-row: span 2; }
.exposure-item.tall { grid-row: span 2; }
.exposure-item.wide { grid-column: span 1; }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 991px) {
    .exposure-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .exposure-item.large, .exposure-item.tall, .exposure-item.wide {
        grid-column: span 1;
        grid-row: span 1;
        height: 250px;
    }
}

@media (max-width: 576px) {
    .exposure-grid {
        grid-template-columns: 1fr;
    }
    .exposure-item {
        height: 220px !important;
    }
    .exposure-content p {
        opacity: 1; /* Keep text visible on mobile since there's no hover */
    }
    .exposure-content {
        transform: translateY(0);
    }
}

/* --- ACADEMIC ACTIVITIES STYLES --- */
.activity-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.activity-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 33, 71, 0.1) !important;
}

.activity-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.activity-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.activity-card:hover .activity-img-wrapper img {
    transform: scale(1.1);
}

.activity-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 33, 71, 0.85);
    color: #ffc107;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
}

.activity-body {
    position: relative;
    padding-top: 40px !important;
}

.activity-icon {
    width: 60px;
    height: 60px;
    background: #ffc107;
    color: #002147;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid #fff;
    transition: 0.4s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.activity-card:hover .activity-icon {
    background: #002147;
    color: #ffc107;
    transform: translateX(-50%) rotateY(180deg);
}

.activity-body h5 {
    margin-bottom: 10px;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .activity-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .activity-img-wrapper {
        height: 160px;
    }
}

/* --- AFFILIATION HUB STYLES --- */
.affiliation-hub {
    background: #fdfdfd;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.recognition-card {
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: default;
}

.recognition-card:hover {
    border-color: #ffc107;
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0, 33, 71, 0.05) !important;
}

.recognition-icon {
    color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: 0.3s;
}

.recognition-card:hover .recognition-icon {
    background: #002147;
    color: #ffc107;
}

.btn-outline-navy {
    border: 2px solid #002147;
    color: #002147;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline-navy:hover {
    background: #002147;
    color: #fff;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 991px) {
    .recognition-card:hover {
        transform: translateY(-5px); /* Upward lift instead of side slide on mobile */
    }
    .affiliation-hub h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .recognition-icon {
        width: 50px;
        height: 50px;
    }
    .recognition-icon i {
        font-size: 1.2rem;
    }
}

/* --- STUDENT ACHIEVEMENTS STYLES --- */
.achievement-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.achievement-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 33, 71, 0.15) !important;
    border-color: #ffc107;
}

.achievement-img {
    height: 200px;
    overflow: hidden;
}

.achievement-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.achievement-card:hover .achievement-img img {
    transform: scale(1.1);
}

.achievement-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #ffc107;
    color: #002147;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.achievement-content h5 {
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.fw-black {
    font-weight: 900;
    font-size: 2.5rem;
}

.stat-item {
    padding: 20px;
    border-radius: 15px;
    background: #f8f9fa;
    border-bottom: 4px solid #eee;
    transition: 0.3s;
}

.stat-item:hover {
    background: #002147;
    border-bottom-color: #ffc107;
}

.stat-item:hover h2 {
    color: #fff !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .fw-black {
        font-size: 1.8rem;
    }
    .achievement-card {
        margin-bottom: 10px;
    }
}

/* --- APPLY NOW CTA STRIP STYLES --- */
.apply-now-strip {
    background-color: #ffffff;
}

.cta-gradient-card {
    background: linear-gradient(135deg, #002147 0%, #003366 100%);
    border-radius: 30px;
    border: none;
}

/* Decorative background element */
.cta-decoration {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.btn-gold-cta {
    background-color: #ffc107;
    color: #002147;
    border: 2px solid #ffc107;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-gold-cta:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.tracking-wider {
    letter-spacing: 1px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .cta-gradient-card {
        border-radius: 20px;
        padding: 30px 20px !important;
    }
    .cta-gradient-card h2 {
        font-size: 1.5rem;
    }
    .cta-gradient-card p {
        font-size: 1rem !important;
    }
    .btn-gold-cta {
        width: 100%;
        padding: 12px 20px !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;
    }
}