/* ==========================================================================
   Martlet Hospitality Redesign - CSS Design System
   ========================================================================== */

/* --- CSS Variables & Custom Properties --- */
:root {
    --primary: #0A192F;         /* Rich Space Navy */
    --primary-light: #172A45;   /* Lighter Navy for Cards */
    --primary-dark: #020C1B;    /* Deep Shadow Navy */
    --accent: #D4AF37;          /* Luxury Warm Gold */
    --accent-hover: #F3C63F;    /* Shandy Yellow Gold */
    --text-main: #E2E8F0;       /* Light Slate Text (Dark Mode Style) */
    --text-muted: #8892B0;      /* Muted Slate Text */
    --text-dark: #1E293B;       /* Dark slate for light backgrounds */
    --bg-main: #0B111E;         /* Deepest background shade */
    --bg-light: #F8FAFC;        /* Light Mode background */
    --bg-white: #FFFFFF;        /* Pure white */
    
    /* Layout Variables */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.25);
    --shadow-gold: 0 5px 20px rgba(212, 175, 55, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --border-radius: 12px;
}

/* --- Base & Reset Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: -webkit-fill-available;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 991px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}
.section-header span.divider {
    display: inline-block;
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    position: relative;
}
.section-header span.divider::before,
.section-header span.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background: var(--accent);
}
.section-header span.divider::before { right: 100%; margin-right: 15px; }
.section-header span.divider::after { left: 100%; margin-left: 15px; }
.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-header p {
    color: #64748B;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}
.btn-primary:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}
.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}
.btn-accent {
    background-color: var(--accent);
    color: var(--primary);
}
.btn-accent:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* --- Announcement Bar --- */
.announcement-bar {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    font-size: 0.85rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.announcement-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.announcement-ticker {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    min-width: 0;
}
.announcement-ticker p {
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.announcement-ticker .badge {
    background-color: var(--accent);
    color: var(--primary);
    padding: 0.15rem 0.6rem;
    font-weight: 700;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    flex-shrink: 0;
}
.announcement-contact {
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
}
.announcement-contact a {
    white-space: nowrap;
}
.announcement-contact a:hover {
    color: var(--accent);
}
@media (max-width: 768px) {
    .announcement-contact { display: none; }
}

/* --- Header & Navigation --- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-normal);
}
.main-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    max-width: 1400px; /* Expand navbar space to prevent wrapping */
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-bold {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary);
}
.logo-light {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--accent);
}
.logo-tag {
    font-size: 0.6rem;
    background: var(--primary);
    color: var(--bg-white);
    padding: 2px 4px;
    align-self: flex-start;
    border-radius: 3px;
    margin-top: 2px;
    font-weight: 700;
}

/* Navigation List */
.nav-menu {
    display: flex;
    align-items: center;
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 0.3rem; /* Snug spacing */
}
.nav-link {
    font-family: var(--font-heading);
    font-size: 0.88rem; /* Slightly smaller to fit 10 items */
    font-weight: 600;
    color: var(--primary);
    padding: 0.5rem 0.6rem; /* Snug padding */
    border-radius: 6px;
    position: relative;
    white-space: nowrap; /* Prevent link word wrapping */
}
.nav-link:hover, .nav-link.active {
    color: var(--accent);
    background-color: rgba(10, 25, 47, 0.04);
}
.nav-link-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--primary);
    background-color: var(--accent);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    margin-left: 0.5rem;
    white-space: nowrap; /* Prevent button text wrapping */
    display: inline-block;
}
.nav-link-btn:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

/* Nav Dropdown */
.nav-dropdown-wrapper {
    position: relative;
}
.nav-dropdown-wrapper .dropdown-arrow {
    font-size: 0.75rem;
    margin-left: 3px;
    transition: var(--transition-fast);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.06);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    z-index: 10;
}
.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
}
.dropdown-menu li a:hover {
    background-color: rgba(212, 175, 55, 0.08);
    color: var(--accent);
    padding-left: 1.5rem;
}
.nav-dropdown-wrapper:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown-wrapper:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.mobile-nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-lg);
        padding: 5rem 2rem 2rem;
        transition: var(--transition-normal);
        z-index: 1000;
        flex-direction: column;
        align-items: flex-start;
        overflow-y: auto;
    }
    .nav-menu.open {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 1rem;
    }
    .nav-list li {
        width: 100%;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        transform: none;
        display: none;
    }
    .nav-dropdown-wrapper.open .dropdown-menu {
        display: block;
    }
    .nav-link {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 0.8rem 0;
    }
    .nav-link-btn {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
        text-align: center;
    }
    
    /* Hamburger animation when active */
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* --- Hero Section & Slider --- */
.hero-slider-container {
    position: relative;
    height: 80vh;
    background-color: var(--primary);
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity var(--transition-slow);
    display: flex;
    align-items: center;
}
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 12, 27, 0.9) 0%, rgba(2, 12, 27, 0.5) 100%);
}
.hero-slide.active {
    opacity: 1;
    z-index: 1;
}
.hero-content-wrap {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
    max-width: 800px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}
.hero-slide.active .hero-content-wrap {
    transform: translateY(0);
    opacity: 1;
}
.hero-tagline {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: block;
}
.hero-content-wrap h1 {
    font-size: 4rem;
    color: var(--bg-white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero-content-wrap p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}
.hero-btn-group {
    display: flex;
    gap: 1rem;
}

/* Slider Controls */
.slider-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition-fast);
}
.slider-control-btn:hover {
    background: var(--accent);
    color: var(--primary);
}
.prev-btn { left: 2rem; }
.next-btn { right: 2rem; }

.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 3;
}
.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}
.indicator-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-content-wrap h1 { font-size: 2.5rem; }
    .hero-content-wrap p { font-size: 1.1rem; }
    .hero-btn-group { flex-direction: column; }
    .slider-control-btn { display: none; }
}

/* --- Section: About Brief --- */
.about-brief-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.about-brief-text {
    flex: 1.2;
}
.about-brief-image {
    flex: 0.8;
    position: relative;
}
.image-border-decoration {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--bg-white);
}
.image-backdrop-square {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent);
    z-index: -1;
    border-radius: var(--border-radius);
}
@media (max-width: 991px) {
    .about-brief-row { flex-direction: column; gap: 2.5rem; }
}

/* --- Section: Mission, Vision, Strategy --- */
.mvs-section {
    background-color: var(--primary);
    color: var(--bg-white);
}
.mvs-section .section-header h2 {
    color: var(--bg-white);
}
.mvs-card {
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}
.mvs-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.mvs-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.mvs-card h3 {
    color: var(--bg-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}
.mvs-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- Section: Courses Grid --- */
.courses-section {
    background-color: var(--bg-light);
}
.course-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.3);
}
.course-img-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
}
.course-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.course-card:hover .course-img-wrap img {
    transform: scale(1.08);
}
.course-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.course-info {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.course-info h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}
.course-info h3 a:hover {
    color: var(--accent);
}
.course-info p {
    color: #64748B;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex: 1;
}
.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
    padding-top: 1rem;
    border-top: 1px solid #E2E8F0;
}
.course-meta span i {
    color: var(--accent);
    margin-right: 5px;
}

/* --- Section: Testimonials & Placements --- */
.placement-row {
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 4rem 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.placement-text {
    flex: 1;
}
.placement-text h3 {
    color: var(--bg-white);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}
.placement-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}
.placement-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.partner-logo-item {
    background: rgba(255,255,255,0.04);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
}
.partner-logo-item span {
    font-family: var(--font-heading);
    color: var(--bg-white);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-container {
    margin-top: 4rem;
}
.testimonial-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent);
    position: relative;
}
.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: rgba(212, 175, 55, 0.12);
}
.testimonial-card p {
    font-style: italic;
    color: #475569;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
.student-avatar {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.student-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}
.student-avatar h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.1rem;
}
.student-avatar span {
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 500;
}

/* --- Section: Metrics Counter --- */
.metrics-section {
    background-color: var(--accent);
    color: var(--primary);
}
.metric-item {
    text-align: center;
}
.metric-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.metric-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}
.metric-label {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- Footer Layout --- */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--text-muted);
    padding: 5rem 0 0;
    border-top: 3px solid var(--accent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.25fr 1.25fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h4.footer-title {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.6rem;
}
.footer-col h4.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}
.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1.2rem;
    margin-bottom: 1.8rem;
}
.social-links {
    display: flex;
    gap: 0.8rem;
}
.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.social-links a:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-links li a {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-links li a:hover {
    color: var(--accent);
    padding-left: 5px;
}
.contact-details li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}
.contact-details li i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}
.contact-details li span a:hover {
    color: var(--accent);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.developer-tag a {
    color: var(--accent);
}
@media (max-width: 768px) {
    .footer-bottom-content { flex-direction: column; text-align: center; }
}

/* --- Floating widgets --- */
.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 999;
}
.whatsapp-btn-body {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-btn-body:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}
.whatsapp-tooltip {
    position: absolute;
    left: 75px;
    background: var(--primary);
    color: var(--bg-white);
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
    font-weight: 600;
}
.whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

/* --- Banner header for inner pages --- */
.inner-page-banner {
    position: relative;
    padding: 6rem 0;
    background-size: cover;
    background-position: center;
    color: var(--bg-white);
    text-align: center;
}
.inner-page-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(2, 12, 27, 0.85), rgba(2, 12, 27, 0.85));
}
.banner-content {
    position: relative;
    z-index: 2;
}
.banner-content h1 {
    font-size: 3rem;
    color: var(--bg-white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.breadcrumbs a {
    color: var(--accent);
}

/* --- Subpages Layout System --- */

/* About Page Styles */
.about-image-collage {
    position: relative;
}
.about-features {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}
.about-feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.about-feature-item:last-child {
    margin-bottom: 0;
}
.about-feature-icon {
    font-size: 1.8rem;
    color: var(--accent);
    background: rgba(212, 175, 55, 0.08);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Director Message styles */
.director-row {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}
.director-image-wrap {
    flex: 0.8;
    position: relative;
}
.director-image-wrap img {
    border-radius: var(--border-radius);
    border: 5px solid var(--bg-white);
    box-shadow: var(--shadow-lg);
}
.director-badge {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: var(--accent);
    color: var(--primary);
    font-family: var(--font-heading);
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}
.director-msg-text {
    flex: 1.2;
}
.director-msg-text blockquote {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: var(--primary);
}
@media (max-width: 991px) {
    .director-row { flex-direction: column; gap: 3rem; }
}

/* Courses Listing Filter Styles */
.courses-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}
.filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    background: var(--bg-white);
    border: 1px solid #E2E8F0;
    cursor: pointer;
    transition: var(--transition-fast);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

/* Contact Us Styles */
.contact-details-grid {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}
.contact-detail-card {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.contact-detail-card:last-child {
    margin-bottom: 0;
}
.contact-detail-icon {
    font-size: 1.8rem;
    color: var(--accent);
    background: rgba(212, 175, 55, 0.08);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-detail-card h4 {
    font-size: 1.1rem;
    color: var(--primary);
}
.contact-detail-card p {
    color: #64748B;
    margin-bottom: 0;
}
.contact-form-wrap {
    background: var(--bg-white);
    padding: 3.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}
.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 576px) {
    .form-group-row { grid-template-columns: 1fr; }
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}
.form-input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}
.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
textarea.form-input {
    resize: vertical;
    min-height: 150px;
}

/* Map Section */
.map-wrap {
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}
.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #E2E8F0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    text-align: center;
}
.map-placeholder i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Portal Logins */
.login-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}
.login-card {
    background: var(--bg-white);
    width: 100%;
    max-width: 480px;
    padding: 3.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--accent);
}
.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.login-header i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}
.login-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}
.login-header p {
    color: #64748B;
    font-size: 0.9rem;
    margin-bottom: 0;
}
.login-help-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #64748B;
}
.login-help-links a:hover {
    color: var(--accent);
}

/* Pay Online & Careers Form Specific */
.payment-summary {
    background: rgba(10, 25, 47, 0.03);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px dashed rgba(10, 25, 47, 0.1);
    margin-bottom: 2rem;
}
.payment-row-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}
.payment-row-item:last-child {
    margin-bottom: 0;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(10, 25, 47, 0.1);
    font-weight: 700;
    color: var(--primary);
}

/* --- Placement Tables --- */
.placement-table-wrap {
    overflow-x: auto;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-top: 3rem;
}
.placement-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.placement-table th {
    background: var(--primary);
    color: var(--bg-white);
    font-family: var(--font-heading);
    padding: 1.2rem;
    font-weight: 600;
}
.placement-table td {
    padding: 1.2rem;
    border-bottom: 1px solid #E2E8F0;
    font-size: 0.95rem;
}
.placement-table tr:last-child td {
    border-bottom: none;
}
.placement-table tr:nth-child(even) {
    background-color: rgba(10, 25, 47, 0.02);
}
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-badge.placed {
    background-color: rgba(37, 211, 102, 0.1);
    color: #128C7E;
}

/* --- UPI Payment Modal Styles --- */
.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.payment-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.payment-modal-content {
    background: var(--bg-white);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    border-top: 5px solid var(--accent);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.payment-modal-overlay.active .payment-modal-content {
    transform: scale(1);
}
.close-modal-btn {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #64748B;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}
.close-modal-btn:hover {
    color: var(--accent);
}
.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.modal-header-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.modal-header h2 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}
.modal-header p {
    color: #64748B;
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.5;
}
.modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}
.qr-code-frame {
    width: 180px;
    height: 180px;
    padding: 8px;
    border-radius: 12px;
    border: 2px solid #E2E8F0;
    background: #fff;
    position: relative;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.qr-code-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.qr-scanner-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, rgba(212, 175, 55, 0), rgba(212, 175, 55, 1), rgba(212, 175, 55, 0));
    animation: scan 2.5s linear infinite;
}
@keyframes scan {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}
.timer-badge {
    background: rgba(10, 25, 47, 0.05);
    border-radius: 30px;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.payment-details-summary {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.2rem;
    border: 1px solid #E2E8F0;
}
.payment-details-summary h4 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: var(--primary);
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 0.4rem;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: #64748B;
}
.detail-row:last-child {
    margin-bottom: 0;
}
.detail-row strong {
    color: var(--primary);
}
.detail-row.amount-row {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px dashed #E2E8F0;
}
.detail-row.amount-row strong {
    color: #128C7E;
    font-size: 1.1rem;
}
.payment-status-box {
    background: rgba(10, 25, 47, 0.02);
    border-radius: 8px;
    padding: 0.8rem;
    border: 1px solid #E2E8F0;
    text-align: center;
}
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    display: inline-block;
}
.status-dot.pulsing {
    animation: status-pulse 1.5s infinite;
}
.status-dot.success {
    background-color: #25D366;
    box-shadow: 0 0 8px rgba(37, 211, 102, 0.5);
}
.status-dot.error {
    background-color: #EF4444;
}
@keyframes status-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(212, 175, 55, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}
.reveal.reveal-left {
    transform: translateX(-40px);
}
.reveal.reveal-right {
    transform: translateX(40px);
}
.reveal.reveal-scale {
    transform: scale(0.95);
}
.reveal.revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Staggered Animation Delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
