/* ==========================================================================
   Sri Venkateshwaraa College of Physiotherapy (SVCOPT) - Main Stylesheet
   Design Language: Professional Academic, Premium, Modern, Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Theme Variables & Base Resets
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --primary: #004DA2;        /* New Primary Blue */
    --primary-light: #1e6fc5;  /* Light Blue Hover */
    --primary-dark: #003775;   /* Deep Blue Headers */
    --accent: #28A745;         /* New Accent Green */
    --accent-glow: rgba(40, 167, 69, 0.4);
    --secondary: #28A745;      /* Emerald Green unified */
    --secondary-dark: #218838;
    --text-color: #334155;     /* Slate dark text */
    --text-muted: #64748b;     /* Slate light text */
    --bg-light: #f8fafc;       /* Off-white background */
    --bg-white: #ffffff;
    --border-color: #e2e8f0;   /* Light gray borders */
    
    /* Layout & Spacing */
    --container-width: 1200px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul, ol {
    list-style: none;
}

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

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

/* --------------------------------------------------------------------------
   2. Helper Classes & Layout Utilities
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--accent) !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(12, 35, 64, 0.2);
}

.btn-gold {
    background-color: var(--accent);
    color: var(--bg-white);
}

/* Show only on mobile */
.show-mobile {
    display: none;
}

/* Header logo styling */
.header-logo {
    max-height: 80px;
    width: auto;
}

/* Apply Now button styling */
.apply-now-btn {
    font-size: 0.8rem;
    padding: 8px 12px;
    white-space: nowrap;
}

.btn-gold:hover {
    background-color: #e09d00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    transition: none;
    animation: buttonGlow 3s infinite linear;
}

@keyframes buttonGlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* --------------------------------------------------------------------------
   3. Top Utility Bar
   -------------------------------------------------------------------------- */
.top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-info i {
    color: var(--accent);
}

.social-search {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.social-icons a:hover {
    color: var(--accent);
}

.search-box form {
    display: flex;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.search-box input {
    background: none;
    border: none;
    padding: 4px 10px;
    font-size: 0.75rem;
    color: var(--bg-white);
    outline: none;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-box button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 10px;
    cursor: pointer;
}

.search-box button:hover {
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   4. Main Branding Header
   -------------------------------------------------------------------------- */
.main-header {
    background-color: var(--bg-white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon-wrap {
    filter: drop-shadow(0 2px 4px rgba(12, 35, 64, 0.1));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.college-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: lowercase;
    letter-spacing: -0.5px;
    color: var(--primary);
    line-height: 1;
}

.college-subname {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.tagline {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 4px;
    margin-top: 4px;
    text-transform: uppercase;
}

.header-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.accreditation-badges {
    display: flex;
    gap: 15px;
}

.badge {
    border-left: 2px solid var(--accent);
    padding-left: 10px;
}

.badge-title {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.badge-desc {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

/* --------------------------------------------------------------------------
   5. Dropdown Navigation Bar
   -------------------------------------------------------------------------- */
.navigation-bar {
    background-color: var(--primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: center;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--bg-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-menu-list {
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 16px 14px;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.05);
}

.submenu-indicator {
    font-size: 0.65rem;
    margin-top: 1px;
}

/* Dropdown Menu CSS */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-dark);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    border-top: 3px solid var(--accent);
    z-index: 110;
}

/* Align rightmost submenus to the right edge of parent to prevent offscreen overflow */
.nav-menu-list > .nav-item:nth-last-child(-n+3) .submenu {
    left: auto;
    right: 0;
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.submenu-item:last-child {
    border-bottom: none;
}

.submenu-link {
    display: block;
    padding: 12px 18px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
}

.submenu-link:hover {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 22px;
}

/* --------------------------------------------------------------------------
   6. Announcement News Ticker
   -------------------------------------------------------------------------- */
.ticker-bar {
    background-color: var(--secondary);
    color: var(--bg-white);
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid var(--secondary-dark);
    overflow: hidden;
}

.ticker-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ticker-label {
    background-color: var(--secondary-dark);
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ticker-content-wrapper {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    height: 22px;
}

.ticker-content {
    display: flex;
    gap: 50px;
    position: absolute;
    white-space: nowrap;
    animation: marqueeTicker 25s infinite linear;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-item .highlight {
    background-color: var(--accent);
    color: var(--primary);
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 700;
}

.ticker-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    margin-left: 4px;
}

.ticker-link:hover {
    color: var(--bg-white);
}

@keyframes marqueeTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   7. Home Hero Slider Banner
   -------------------------------------------------------------------------- */
.hero-slider {
    position: relative;
    height: 650px;
    background-color: var(--primary-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slides-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slider-nav {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 15;
}

.hero-slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.hero-slider-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(12, 35, 64, 0.9) 30%,
        rgba(12, 35, 64, 0.4) 60%,
        rgba(242, 169, 0, 0.1) 100%
    );
    z-index: 2;
}

.hero-slide-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    color: var(--bg-white);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.2s;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-logo svg {
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.hero-logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--bg-white);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title span {
    color: var(--accent);
    display: block;
}

.hero-desc {
    font-size: 1.05rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.hero-url-badge {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    color: var(--bg-white);
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-url-badge i {
    color: var(--accent);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   8. Split Column Section: Events & Testimonial
   -------------------------------------------------------------------------- */
.events-testimonial-section {
    background-color: var(--bg-light);
}

.split-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

/* Upcoming Events */
.events-card {
    background-color: var(--bg-white);
    padding: 24px 28px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
    padding-left: 15px;
}

.section-title {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}

.view-all-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    white-space: nowrap;
}

.view-all-link:hover {
    color: var(--primary);
}

/* Upcoming Events Auto-Scroll Ticker */
.event-scroll-wrapper {
    flex-grow: 1;
    height: 420px;
    overflow: hidden;
    position: relative;
    padding-top: 5px;
}

.event-scroll-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    animation: verticalAutoScroll 30s linear infinite;
}

.event-scroll-wrapper:hover .event-scroll-track {
    animation-play-state: paused;
}

@keyframes verticalAutoScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    flex-wrap: nowrap;
}

.event-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.event-item:hover {
    transform: translateX(4px);
}

.event-date-badge {
    background-color: var(--primary);
    color: var(--bg-white);
    min-width: 58px;
    width: 58px;
    height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(12, 35, 64, 0.15);
    text-align: center;
}

.event-date-badge.blue-tint {
    background-color: #1a4f8a;
}

.event-date-badge .month {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
}

.event-date-badge .day {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
}

.event-info {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
}

.event-title {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary);
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
}

.event-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.event-view-more {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    border-bottom: 1px dashed var(--accent);
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
    min-width: 68px;
    text-align: right;
    line-height: 1.4;
}

.event-view-more:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Testimonial Section */
.testimonial-card {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 35px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(12, 35, 64, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 110px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.06);
    font-family: Georgia, serif;
    pointer-events: none;
}

.testimonial-header {
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}

.testimonial-header h3 {
    color: var(--bg-white);
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-slider {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    font-size: 0.86rem;
    font-style: italic;
    line-height: 1.65;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.92);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.author-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.author-role {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.45;
}

/* --------------------------------------------------------------------------
   9. Welcome Section
   -------------------------------------------------------------------------- */
.welcome-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.welcome-content .sub-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.welcome-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.welcome-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.welcome-text {
    color: var(--text-color);
    margin-bottom: 25px;
}

.welcome-text p {
    margin-bottom: 15px;
}

/* College building Card styling */
.college-building-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.college-building-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.card-img-wrap {
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 10;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.college-building-card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.card-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--accent);
    color: var(--primary);
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   10. Leadership Grid
   -------------------------------------------------------------------------- */
.leadership-section {
    background-color: var(--bg-light);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.leader-card {
    background-color: var(--bg-white);
    padding: 30px 20px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-smooth);
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(12, 35, 64, 0.08);
    border-color: var(--accent);
}

.leader-img-wrap {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px auto;
    position: relative;
}

.leader-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    padding: 3px;
    background-color: var(--bg-white);
    transition: var(--transition-smooth);
}

.leader-card:hover .leader-img {
    border-color: var(--accent);
    transform: scale(1.05);
}

.leader-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.leader-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leader-credential {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* --------------------------------------------------------------------------
   11. Recent Events Section
   -------------------------------------------------------------------------- */
.recent-events-section {
    position: relative;
}

.events-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.event-img-wrap {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

.event-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.event-card:hover .event-img-wrap img {
    transform: scale(1.05);
}

.event-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-card-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.event-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.event-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.event-card-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.event-card-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.event-card-link:hover {
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   12. Facts & Counters Block
   -------------------------------------------------------------------------- */
.facts-section {
    background: linear-gradient(rgba(12, 35, 64, 0.92), rgba(12, 35, 64, 0.92)), url('../assets/college-building.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--bg-white);
    text-align: center;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.fact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fact-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.fact-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 5px;
}

.fact-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

.facts-action {
    display: flex;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   13. Trusted CTA Banner
   -------------------------------------------------------------------------- */
.trust-cta {
    background-color: var(--accent);
    color: var(--primary);
    padding: 40px 0;
}

.trust-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-text h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.trust-text p {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(12, 35, 64, 0.85);
}

/* --------------------------------------------------------------------------
   14. Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    border-top: 5px solid var(--accent);
}

.footer-grid-container {
    padding-top: 60px;
    padding-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-title {
    color: var(--bg-white);
    font-size: 1.15rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.footer-links a i {
    font-size: 0.75rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-links a:hover i {
    color: var(--accent);
}

.footer-contact-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    line-height: 1.4;
    font-size: 0.85rem;
}

.footer-contact-item i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-copyright {
    background-color: #030a14;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
}

.copyright-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.copyright-container strong {
    color: var(--bg-white);
}

.design-credit {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --------------------------------------------------------------------------
   15. Media Queries for Responsiveness
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-slider {
        height: 560px;
    }
    
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Compact desktop menu for intermediate screen widths */
@media (min-width: 1151px) and (max-width: 1300px) {
    .nav-link {
        padding: 16px 8px;
        font-size: 0.78rem;
        gap: 3px;
    }
}

@media (max-width: 1150px) {
    /* Show mobile-only elements */
    .show-mobile {
        display: flex;
    }
    
    /* Hide hero content on mobile, show only images */
    .hero-content {
        display: none !important;
    }
    
    /* Remove the overlay color on mobile */
    .hero-slide::before {
        display: none !important;
    }
    
    /* Header container for mobile: logo left, menu middle, Apply Now right */
    .header-container {
        justify-content: space-between;
        gap: 15px;
    }
    
    .logo-area {
        flex: none;
        display: flex;
        justify-content: flex-start;
    }
    
    /* Reduce logo size on mobile */
    .header-logo {
        max-height: 50px;
    }
    
    /* Blue background for hamburger menu */
    .mobile-nav-toggle {
        background-color: var(--primary);
        padding: 10px 12px;
        border-radius: var(--border-radius-sm);
    }
    
    /* Hide nav's mobile toggle (we moved it to header) */
    .navigation-bar .mobile-nav-toggle {
        display: none !important;
    }
    
    /* Navigation menu */
    .nav-menu-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--primary-dark);
        position: absolute;
        top: 100%;
        left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        max-height: 400px;
        overflow-y: auto;
        }
    
    .nav-menu-list.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 15px 20px;
        width: 100%;
        justify-content: space-between;
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.2);
        border-top: none;
        padding-left: 20px;
    }
    
    .nav-item.active .submenu {
        display: block;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    /* Hero Section */
    .hero-slider {
        height: 460px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    /* Grid system stack */
    .split-grid,
    .welcome-grid,
    .events-carousel,
    .facts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .trust-container {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
}
