:root {
    --primary-color: #003366; /* Deep Academic Blue */
    --secondary-color: #00509E; /* Lighter Blue */
    --accent-color: #F2A900; /* Gold/Yellow for CTA */
    --text-color: #333333;
    --light-bg: #F4F7F6;
    --white: #FFFFFF;
    --gray: #777777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #104b7d, #ff6b35, #104b7d);
    background-size: 200% auto;
    color: var(--white);
    height: 38px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 1000;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.announcement-content {
    display: flex;
    width: max-content;
    animation: top-marquee-scroll 25s linear infinite;
}

.announce-item {
    padding: 0 3rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

@keyframes top-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.py-4 { padding: 4rem 0; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1rem;
    box-shadow: 0 6px 0 #d49500, 0 10px 20px rgba(0,0,0,0.2); /* 3D Shadow */
    position: relative;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 0 #d49500, 0 8px 15px rgba(0,0,0,0.25);
}

.btn:active {
    transform: translateY(6px);
    box-shadow: 0 0px 0 #d49500, 0 5px 10px rgba(0,0,0,0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    box-shadow: 0 6px 0 rgba(255,255,255,0.5), 0 10px 20px rgba(0,0,0,0.2);
}

.btn-outline:hover {
    background-color: rgba(255,255,255,0.1);
    box-shadow: 0 4px 0 rgba(255,255,255,0.5), 0 8px 15px rgba(0,0,0,0.25);
}

.btn-outline:active {
    background-color: rgba(255,255,255,0.1);
    box-shadow: 0 0px 0 rgba(255,255,255,0.5), 0 5px 10px rgba(0,0,0,0.2);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent-color);
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: 80vh;
    overflow: hidden;
    background-color: #000;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-content {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    color: var(--white);
}

.slide-title {
    color: var(--white);
    text-transform: uppercase;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    max-width: 800px;
}

.slide-subtitle {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 500px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    opacity: 0;
    transform: translateY(30px);
}

.slide-btn {
    opacity: 0;
    transform: translateY(30px);
}

/* Animations for active slide */
.slide.active .slide-title {
    animation: fadeSlideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.3s;
}

.slide.active .slide-subtitle {
    animation: fadeSlideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.6s;
}

.slide.active .slide-btn {
    animation: fadeSlideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.9s;
}

/* Slider Navigation & Arrows */
.slider-arrows {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;
}

.slider-arrow {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    pointer-events: auto;
}

.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.5);
    color: #104b7d;
    transform: scale(1.1);
}

.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: var(--accent-color);
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(242, 169, 0, 0.5);
}

/* Placement Partners Badge */
.hero-placement-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: var(--white);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    z-index: 10;
    width: 350px;
    max-width: 40vw;
    animation: fadeSlideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 1s;
    opacity: 0;
    transform: translateY(30px);
}

.hero-placement-badge img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.btn-know-more {
    background-color: var(--white);
    color: #104b7d;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-radius: 4px;
}
.btn-know-more:hover {
    background-color: #f0f0f0;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.highlight-text {
    color: var(--accent-color);
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-form-container {
    flex: 0 0 400px;
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3), 0 5px 15px rgba(0,0,0,0.2), inset 0 2px 0 rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text-color);
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.3s ease;
}

.hero-form-container:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-5px);
}

.hero-form-container h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05); /* Inner 3D shadow */
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05), 0 0 8px rgba(0, 80, 158, 0.4);
}

.btn-submit {
    width: 100%;
    margin-top: 10px;
}

/* Welcome Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 75, 125, 0.7); /* Changed overlay from black to blue */
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(rgba(235, 245, 255, 0.9), rgba(240, 248, 255, 0.8)), url('images/campus.jpg') center/cover; /* Added slight blue tint to the white gradient */
    width: 90%;
    max-width: 750px;
    height: 450px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 5px solid #104b7d; /* Changed border from white to blue */
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
    background: rgba(255,255,255,0.9);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background 0.2s;
}

.modal-close:hover {
    background: #ffcccc;
    color: red;
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-header .modal-title {
    color: #d32f2f; /* Red color like in the image */
    font-size: clamp(1.8rem, 4.5vw, 3rem); /* Responsive size to prevent breaking */
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.9);
    white-space: nowrap; /* Forces text to stay on one line */
}

.modal-header p {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.modal-btn {
    background-color: #104b7d; /* Changed to theme blue */
    color: white;
    border-radius: 30px;
    padding: 12px 40px;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(16, 75, 125, 0.4);
}
.modal-btn:hover {
    background-color: #0b375e;
    box-shadow: 0 5px 15px rgba(11, 55, 94, 0.4);
    color: white;
    transform: translateY(-2px);
}

/* Scrolling Ticker */
.scrolling-ticker {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.2);
}

.ticker-content {
    display: inline-block;
    animation: scroll-ticker 25s linear infinite;
}

.ticker-content span {
    display: inline-block;
    padding: 0 40px;
    font-size: 1.1rem;
    font-weight: 600;
}

@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Features/Highlights Section */
.features {
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Two Column Layouts (About, NFSU) */
.split-section {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
}

.split-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Skills List */
.skills-list {
    list-style: none;
    margin: 1.5rem 0;
}

.skills-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 30px;
}

.skills-list li::before {
    content: '✔';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Curriculum Section */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: left;
}

.curriculum-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.curriculum-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Reviews / Marquee Section */
.reviews-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.reviews-section h2 {
    color: var(--white);
}

.reviews-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

/* Fading edges for marquee */
.reviews-marquee-wrapper::before,
.reviews-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.reviews-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

.reviews-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--secondary-color), transparent);
}

.reviews-marquee {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll-reviews 30s linear infinite;
    padding-left: 2rem;
}

.reviews-marquee:hover {
    animation-play-state: paused;
}

.review-card {
    width: 380px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 16px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: grab;
}

.review-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.review-card:active {
    cursor: grabbing;
}

.stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.5;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-info strong {
    font-size: 1.05rem;
}

.reviewer-info span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes scroll-reviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); } /* -50% of total width minus gap */
}

/* Call to Action Banner */
.cta-banner {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
}

/* Footer */
footer {
    background-color: #222;
    color: #ccc;
    padding: 2rem 0;
    text-align: left;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Sticky Bottom CTA */
.sticky-bottom-cta {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 6px 10px;
    border-radius: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    width: 90%;
    max-width: 320px; /* Made smaller */
}

.sticky-cta-container {
    width: 100%;
}

.btn-sticky {
    background-color: #104b7d; /* Exact deep blue from image */
    color: white;
    padding: 10px 16px; /* Reduced padding */
    border-radius: 12px; /* Adjusted border radius slightly */
    font-size: 1rem; /* Smaller font size */
    font-weight: 700;
    box-shadow: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%; /* Make button fill the container width */
}

.btn-sticky:hover {
    background-color: #0d3b64;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 75, 125, 0.4);
}

.btn-sticky:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .split-section {
        flex-direction: column;
        gap: 30px;
    }
}

@media (min-width: 993px) {
    .split-reverse {
        flex-direction: row-reverse;
    }
}

@media (max-width: 992px) {
    .hero .container, .split-section {
        flex-direction: column;
    }
    
    .hero-form-container {
        width: 100%;
        flex: 1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .py-4 {
        padding: 3rem 0;
    }
    .sticky-bottom-cta {
        display: none !important;
    }
    .main-nav {
        display: none; /* Hide menu on mobile to keep header clean */
    }
}

@media (min-width: 768px) {
    .sticky-bottom-cta {
        display: none;
    }
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* FAQ Section */
.faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background-color: transparent;
    border-radius: 0;
    margin-bottom: 0.5rem;
    box-shadow: none;
    border-bottom: 1px solid #ddd;
    overflow: hidden;
}

.faq-question {
    padding: 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
}

.faq-item[open] .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 0 1.5rem;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background-color: var(--white);
    padding: 4rem 0;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    text-align: center;
}

.stat-card {
    flex: 1 1 200px;
    max-width: 260px;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-card h3 {
    display: inline-block;
    font-size: 2.8rem;
    font-weight: 800;
    color: #333;
    margin: 0;
    line-height: 1;
}

.stat-plus {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-left: 2px;
}

.stat-divider {
    width: 30px;
    height: 2px;
    background-color: #ddd;
    margin: 20px auto;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Premium Footer */
.main-footer {
    background-color: #0b3459;
    color: var(--white);
    padding: 5rem 0 2rem;
    border-top: 5px solid var(--accent-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 4rem;
}

.footer-logo-container {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo-container img {
    height: 60px;
    width: auto;
    display: block;
}

.footer-desc {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    font-size: 1.05rem;
}

.footer-contacts h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-contacts h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 2px;
}

.contact-list div strong {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.contact-list div p {
    margin: 0;
    font-size: 1.15rem;
    color: var(--white);
    font-weight: 500;
}

.footer-form-wrapper .hero-form-container {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
}

.footer-bottom {
    text-align: left;
    padding-top: 2rem;
    padding-bottom: 80px; /* added space for the floating action bar */
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem; /* made font slightly smaller */
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Facility Carousel Styles */
.facility-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.carousel-inner {
    display: flex;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.carousel-control:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

/* Placement New Sections */
.placement-bulb-section {
    background-color: #205573;
    color: white;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}
@media (max-width: 768px) {
    .placement-bulb-section {
        flex-direction: column;
        text-align: center;
    }
}
.placement-bulb-text {
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.8;
}
.career-development-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.career-card {
    text-align: center;
}
.career-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.career-card h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 1rem;
}
.career-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}
.placement-verticals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}
.vertical-card h4 {
    font-size: 1rem;
    text-transform: uppercase;
    color: #333;
    font-weight: 700;
}
.recruiters-section {
    background-color: #10385a;
    padding: 4rem 0;
    color: white;
    text-align: center;
}
.recruiters-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
@media (max-width: 992px) {
    .recruiters-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .recruiters-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .recruiters-grid { grid-template-columns: repeat(2, 1fr); }
}
.recruiter-logo {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
    color: #333;
    font-size: 1.1rem;
}
.recruiter-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.5);
}

/* Floating Action Bar */
.fab-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    padding: 8px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
}
.fab-apply {
    background-color: #104b7d;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}
.fab-apply:hover {
    background-color: #0b3459;
    color: #fff;
}
.fab-whatsapp {
    background-color: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}
.fab-whatsapp:hover {
    background-color: #128c7e;
    color: #fff;
}

/* Professional Inquiry Modal Overrides */
#inquiryModal .modal-content {
    background: #ffffff;
    border: none;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    padding: 3rem 2.5rem 2.5rem;
    max-width: 480px;
}

#inquiryModal .modal-title {
    color: var(--primary-color);
    text-shadow: none;
    white-space: normal;
    font-size: 1.8rem;
    font-weight: 800;
}

#inquiryModal .modal-header p {
    color: #555;
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 1.8rem;
}

#inquiryModal .form-control {
    background-color: #f8f9fa;
    border: 1px solid #e1e5eb;
    margin-bottom: 1.2rem;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
}

#inquiryModal .form-control:focus {
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(16, 75, 125, 0.1);
    outline: none;
}

#inquiryModal .btn-submit {
    background: var(--secondary-color);
    color: #ffffff;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 0.5rem;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

#inquiryModal .btn-submit:hover {
    background: #e6a213;
    color: var(--primary-color);
}

#inquiryModal .modal-close {
    background: #f1f3f5;
    color: #555;
    box-shadow: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
}

#inquiryModal .modal-close:hover {
    background: #ffe3e3;
    color: #e03131;
}

/* --- New Homepage Layout Styles --- */

/* Salient Features */
.features-section {
    background-color: #fcfcfc;
}

.salient-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 15px;
}

.sf-card {
    padding: 20px;
    transition: transform 0.3s;
    text-align: center;
}

.sf-card:hover {
    transform: translateY(-5px);
}

.sf-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.sf-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.sf-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* MoU Section */
.mou-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.mou-image-wrapper {
    flex: 0 0 45%;
    background-color: #f8f9fa;
}

.mou-image-wrapper .mou-img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fadeIn 0.5s;
}

.mou-image-wrapper .mou-img.active {
    display: block;
}

.mou-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mou-tabs {
    display: flex;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.mou-tab {
    flex: 1;
    padding: 20px 15px;
    border: none;
    background: transparent;
    font-weight: 700;
    color: #6c757d;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.mou-tab:hover {
    background-color: #e9ecef;
}

.mou-tab.active {
    background-color: #fff;
    color: var(--primary-color);
}

.mou-details {
    display: none;
    padding: 30px;
    animation: fadeIn 0.5s;
}

.mou-details.active {
    display: block;
}

.mou-details h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 800;
}

.mou-details p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .mou-card {
        flex-direction: column;
    }
    .mou-image-wrapper {
        height: 300px;
    }
    .mou-tabs {
        flex-direction: column;
    }
}


/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .hide-on-mobile { display: none !important; }

    /* Form first on mobile for landing hero */
    .landing-hero .split-section {
        display: flex;
        flex-direction: column-reverse;
        gap: 1.5rem;
    }
    
    .landing-hero .split-content {
        width: 100%;
        padding: 1rem !important;
    }

    /* Modal Mobile Fixes */
    .modal-content {
        height: auto !important;
        max-height: 90vh;
        overflow-y: auto;
        padding: 1.5rem !important;
        width: 95%;
    }
    
    .modal-header .modal-title {
        white-space: normal !important;
        font-size: 1.5rem !important;
        line-height: 1.2;
    }
    
    .hero-form-container {
        padding: 1.5rem !important;
    }
}

/* Highlights Ticker */
.highlight-ticker {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    border-top: 3px solid var(--secondary-color);
    border-bottom: 3px solid var(--secondary-color);
}
.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
}
.ticker-content span {
    margin: 0 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}
@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 768px) {
    .ticker-content span {
        font-size: 1rem;
        margin: 0 1.5rem;
    }
}

/* Bento Grid Placements */
.bento-placements-section {
    background-color: #ffffff;
    padding: 80px 0;
}
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.bento-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #f0f0f0;
}
.bento-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.bento-card.highlight-card {
    background: #df8110; 
    border: none;
    color: #fff;
    padding: 45px 30px;
    box-shadow: 0 10px 30px rgba(223, 129, 16, 0.3);
}
.bento-card.highlight-card .bento-stat {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 5px;
    color: #fff;
}
.bento-card.highlight-card .bento-label {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.9);
}
.bento-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.bento-stat {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0b2545;
    margin-bottom: 5px;
}
.bento-label {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 600;
}
.bento-right {
    padding: 0 !important;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-right {
        min-height: 400px;
    }
}
@media (max-width: 576px) {
    .bento-placements-section {
        padding: 50px 0;
    }
    .bento-placements-section h2 {
        font-size: 2.2rem !important;
    }
    .bento-stats-grid {
        grid-template-columns: 1fr;
    }
    .bento-card.highlight-card .bento-stat {
        font-size: 3rem;
    }
    .bento-card.highlight-card {
        padding: 30px 20px;
    }
}

/* Top Companies Grid */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.company-logo-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 90px;
}
.company-logo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.company-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    
    opacity: 0.8;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .companies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 576px) {
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .company-logo-card {
        padding: 15px;
        height: 75px;
    }
    .top-companies-section h2 {
        font-size: 2rem !important;
    }
}

.company-marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}
.company-marquee-track {
    display: inline-block;
    animation: scroll-marquee-companies 30s linear infinite;
}
.company-marquee-track:hover {
    animation-play-state: paused;
}
.company-marquee-track img {
    height: 70px;
    width: 150px;
    margin: 0 25px;
    vertical-align: middle;
    display: inline-block;
    object-fit: contain;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
@keyframes scroll-marquee-companies {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 576px) {
    .company-marquee-track img {
        height: 50px;
        width: 110px;
        margin: 0 15px;
    }
}
