/* CSS Custom Properties */
:root {
    /* Light Theme Colors */
    --primary-blue: #3b3bff;
    --green-accent: #e2ff22;
    --red-accent: #f62b26;
    --white: #ffffff;
    --black: #292a25;
    --light-bg: #f6f5f1;
    --text-primary: #292a25;
    --text-secondary: #333;
    --bg-primary: #ffffff;
    --bg-secondary: #f6f5f1;
    --border-color: #969591;

    /* Layout Properties */
    --standard-spacing: 71px;
    --border-radius: 8px;
    --transition-speed: 0.2s;
}

/* Dark Theme Colors */
[data-theme="dark"] {
    --primary-blue: #5c5cff;
    --green-accent: #c4e61a;
    --red-accent: #ff3b36;
    --white: #1a1a1a;
    --black: #e8e8e8;
    --light-bg: #2a2a2a;
    --text-primary: #e8e8e8;
    --text-secondary: #cccccc;
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --border-color: #555555;
}

/* Dark Theme Specific Styles */
[data-theme="dark"] .vidyashilp-logo,
[data-theme="dark"] .vs-design-logo {
    filter: brightness(0) invert(1);
}

[data-theme="dark"] .logo-border {
    background-color: var(--white);
}

[data-theme="dark"] .menu-text,
[data-theme="dark"] .hamburger-icon span {
    color: var(--white);
}

[data-theme="dark"] .hamburger-icon span {
    background-color: var(--white);
}

/* Dark Theme Text Colors - #c0c0c0 */
[data-theme="dark"] .banner-heading,
[data-theme="dark"] .column-2-top,
[data-theme="dark"] .programs-row-2,
[data-theme="dark"] .programs-column-2,
[data-theme="dark"] .discover-more-heading,
[data-theme="dark"] .discover-more-text,
[data-theme="dark"] .circle-number,
[data-theme="dark"] .info-circle.white-circle,
[data-theme="dark"] .info-circle.light-circle,
[data-theme="dark"] .crafting-text,
[data-theme="dark"] .shape-future,
[data-theme="dark"] .banner-heading h1,
[data-theme="dark"] .programs-row-2 p,
[data-theme="dark"] .programs-column-2 p {
    color: #c0c0c0;
}

/* Dark Theme Standard Dark Color */
[data-theme="dark"] .specialization-text {
    color: #292a24;
}

[data-theme="dark"] .action-link img {
    color: var(--black);
}

[data-theme="dark"] .action-link.apply-btn:hover,
[data-theme="dark"] .action-link.contact-btn:hover {
    color: white;
}

/* B.Des Link Styling */
.bdes-link {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.bdes-link:hover {
    color: var(--primary-blue);
}

/* Podcast Section Link Styling */
.podcast-section-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

.podcast-section-link:hover {
    /* No transform effect - only color change */
}

.podcast-section-link:hover .podcast-title,
.podcast-section-link:hover .podcast-subtitle {
    color: black;
}

/* Navigation Dropdown Styles */
.nav-item-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-speed) ease;
    z-index: 1000;
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

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

.dropdown-header {
    padding: 8px 16px;
    font-family: 'Funnel Display', Arial, sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #3b3bff;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 4px;
}

.dropdown-item {
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Funnel Display', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.dropdown-link:hover {
    color: var(--primary-blue);
    background-color: var(--bg-secondary);
}

/* Dark Theme Dropdown */
[data-theme="dark"] .dropdown-menu {
    background-color: var(--bg-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .dropdown-header {
    color: var(--text-primary);
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .dropdown-link {
    color: var(--text-secondary);
}

[data-theme="dark"] .dropdown-link:hover {
    color: var(--primary-blue);
    background-color: var(--bg-secondary);
}

/* Submenu Styles */
.dropdown-parent {
    position: relative;
}

.dropdown-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background-color: var(--bg-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all var(--transition-speed) ease;
    z-index: 1001;
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.dropdown-parent:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-subitem {
    margin: 0;
}

.dropdown-sublink {
    display: block;
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Funnel Display', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    transition: all var(--transition-speed) ease;
}

.dropdown-sublink:hover {
    color: var(--primary-blue);
    background-color: var(--bg-secondary);
}

/* Dark Theme Submenu */
[data-theme="dark"] .dropdown-submenu {
    background-color: var(--bg-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .dropdown-sublink {
    color: var(--text-secondary);
}

[data-theme="dark"] .dropdown-sublink:hover {
    color: var(--primary-blue);
    background-color: var(--bg-secondary);
}

/* Responsive dropdown positioning - switch to right expansion on smaller screens */
@media (max-width: 1400px) {
    .dropdown-submenu {
        right: auto;
        left: 100%;
        transform: translateX(-10px);
    }

    .dropdown-parent:hover .dropdown-submenu {
        transform: translateX(0);
    }
}



/* Dark Theme Border */
[data-theme="dark"] .section-4-row-6 {
    border-bottom: 1px solid #1a1a1a;
}

/* Body border remains black regardless of theme */
body {
    border: 3px solid #000000 !important;
}

/* Apply button must remain same color regardless of theme */
[data-theme="dark"] .apply-btn {
    background: linear-gradient(to right, #5c5cff 45%, #5c5cff 45%, var(--primary-blue) 45%, var(--primary-blue) 55%) !important;
}
[data-theme="dark"] .visit-btn {
    color: #1a1a1a;
}

/* Dark theme for buttons container */
[data-theme="dark"] .buttons-container .action-btn {
    background-color: var(--black) !important;
    border-color: var(--white) !important;
}

[data-theme="dark"] .buttons-container .btn-icon {
    filter: brightness(0) !important;
}

/* Navigation Overlay Styles */
.nav-overlay {
    position: fixed;
    top: 3px;
    right: -50%;
    width: 45%;
    height: calc(100vh - 6px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(0px);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    overflow-x: visible;
}

.nav-overlay.active {
    right: 0;
}

.nav-menu {
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    padding: 80px 40px 40px 40px;

}

.nav-item {
    margin-bottom: 30px;
}

.nav-link {
    display: block;
    font-family: 'FunnelDisplay', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.nav-link:hover {
    color: var(--primary-blue);
    transition: color 0.3s ease;
}


/* Menu toggle animation */
.menu-container.active .menu-text {
    display: none;
}

.menu-container.active .hamburger-icon {
    transform: rotate(45deg);
}

.menu-container.active .hamburger-icon span:nth-child(1) {
    transform: rotate(90deg) translate(5px, 5px);
}

.menu-container.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.menu-container.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-90deg) translate(7px, -6px);
}

.menu-container.active::after {
    content: "Close";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'FunnelDisplay', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.2rem;
}

/* Dark theme for navigation */
[data-theme="dark"] .nav-overlay {
    background: rgba(0, 0, 0, 0.95);
}

[data-theme="dark"] .nav-link {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-link:hover {
    color: var(--primary-blue);
    background-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .menu-container.active::after {
    color: var(--text-primary);
}

/* Menu container within navigation overlay */
.nav-menu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    background-color: var(--primary-blue);
    padding: 20px 0px 20px 20px;
    height: 100vh;
    width: var(--standard-spacing);
    position: relative;
}

.nav-menu-container .menu-text {
    color: white;
    font-family: 'Funnel Display', Arial, sans-serif;
    font-size: 30px;
    font-weight: 800; /* ExtraBold weight */
    letter-spacing: 0px;
    writing-mode: vertical-lr; /* Changed to vertical-lr for proper stacking */
    text-orientation: mixed;
    line-height: 1.2;
    transform: rotate(360deg); /* Rotate clockwise to the right side 90 degrees */
}

.nav-menu-container .hamburger-icon {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-menu-container .hamburger-icon span {
    width: 100%;
    height: 4px;
    background-color: white;
    transition: all 0.3s ease;
    position: absolute;
}

.nav-menu-container .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg);
}

.nav-menu-container .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.nav-menu-container .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg);
}

.nav-menu-container:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Hyperlinked info circles styles */
a.info-circle {
    text-decoration: none !important;
    color: inherit;
    transition: color 0.3s ease;
}

a.info-circle:hover {
    color: var(--primary-blue);
}

/* Meet faculty button hyperlink */
a.meet-faculty-btn {
    text-decoration: none !important;
    color: #ffffff;
    transition: color 0.3s ease;
}

/* Action button hover animations */
.action-link.apply-btn {
    position: relative;
    overflow: hidden;
}

.action-link.apply-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #292a25;
    transition: left 0.3s ease;
    z-index: 1;
}

.action-link.apply-btn:hover::before {
    left: 0;
}

.action-link.apply-btn img,
.action-link.apply-btn span {
    position: relative;
    z-index: 2;
}

/* Visit button hover - left to right color animation */
.action-link.visit-btn {
    position: relative;
    overflow: hidden;
}

.action-link.visit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #292a25;
    transition: left 0.3s ease;
    z-index: 1;
}

.action-link.visit-btn:hover::before {
    left: 0;
}

.action-link.visit-btn img,
.action-link.visit-btn span {
    position: relative;
    z-index: 2;
}

.action-link.visit-btn:hover {
    color: white;
}

.action-link.visit-btn:hover img {
    filter: brightness(0) invert(1);
}

/* Contact button hover - left to right color animation */
.action-link.contact-btn {
    position: relative;
    overflow: hidden;
}

.action-link.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #292a25;
    transition: left 0.3s ease;
    z-index: 1;
}

.action-link.contact-btn:hover::before {
    left: 0;
}

.action-link.contact-btn img,
.action-link.contact-btn span {
    position: relative;
    z-index: 2;
}

/* Global transition effects */
* {
    transition: background-color var(--transition-speed) ease,
               color var(--transition-speed) ease,
               border-color var(--transition-speed) ease;
}

img {
    transition: filter var(--transition-speed) ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-secondary);
    background: var(--bg-primary);
    border: 3px solid var(--black); /* 3px black border around entire page */
    margin: 0;
    padding: 0 0 0px 0; /* Add 100px bottom padding for easy scrolling */
    min-height: 100vh;
    box-sizing: border-box;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

/* Section 1: Top Bar - 100% Width */
.top-bar {
    width: 100%;
    height: 160px; /* Increased by 2x from 80px to 160px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background: var(--bg-primary);
    transition: background-color var(--transition-speed) ease;
}

/* Left Vertical Panel - Logo Section */
.logo-section {
    height: 100%;
    background-color: var(--primary-blue);
    display: flex;
    align-items: center;
    padding: 0 45px 0 20px;
    min-width: 300px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 42px), calc(100% - 42px) 100%, 0 100%);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0; /* No gap between logos and border */
}

/* Vidyashilp Logo - Very left, rotated 90 degrees clockwise */
.vidyashilp-logo {
    height: 100px;
    width: auto;
    transform: rotate(0deg);
    filter: brightness(0) invert(1); /* Make white */
}

/* Logo Border - 1px white border */
.logo-border {
    width: .5px;
    height: 160px; /* Fixed height to make border visible */
    background-color: white;
    margin: 0 30px 0 15px;
    align-self: center; /* Center align within the container */
}

/* VS Design Logo - Right next to the border */
.vs-design-logo {
    height: 90px;
    width: auto;
    filter: brightness(0) invert(1); /* Make white */
}

/* Right Vertical Panel - Menu & Button Section */
.menu-section {
    height: 100%;
    background-color: var(--bg-primary); /* Changed to use CSS variable */
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Changed to flex-end to position buttons at the right */
    min-width: 200px;
    gap: 10px; /* Add gap between menu and buttons */
    transition: background-color var(--transition-speed) ease;
}

/* Menu Container - Menu text and hamburger icon */
.menu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    order: 2; /* Move menu container to the right */
    background-color: var(--primary-blue); /* Blue background for menu container only */
    padding: 0px 0px; /* Added padding for better spacing */
    height: 100%; /* Keep original height */
    width: var(--standard-spacing); /* Fixed width to maintain proportions */
    position: relative;
}

.menu-container:hover {
    opacity: 0.8;
}

/* Menu Text - White, vertical with letters stacked */
.menu-text {
    color: white;
    font-family: 'Funnel Display', Arial, sans-serif;
    font-size: 30px;
    font-weight: 800; /* ExtraBold weight */
    letter-spacing: 0px;
    writing-mode: vertical-lr; /* Changed to vertical-lr for proper stacking */
    text-orientation: mixed;
    line-height: 1.2;
    transform: rotate(360deg); /* Rotate clockwise to the right side 90 degrees */
}

/* Hamburger Icon - White, stacked lines, below menu text */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
    height: 23px;
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 800; /* ExtraBold weight */
    font-size: 16px;
    color: white;
    line-height: 1;
}

.hamburger-icon span {
    width: 100%;
    height: 5px;
    background-color: white;
    transition: all 0.3s ease;
}

/* Buttons Container - Stacked vertically */
.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    order: 1; /* Move buttons container to the left */
    background-color: var(--bg-primary); /* Use CSS variable */
    align-self: flex-end; /* Position at the bottom */
    padding-bottom: 5px;
    transition: background-color var(--transition-speed) ease;
}

/* Action Button Base Styles */
.action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.action-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Green Button - Bulb icon */
.green-btn {
    background-color: var(--green-accent);
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
}




/* Red Button - Search icon */
.red-btn {
    background-color: var(--red-accent);
}

/* Hyperlink Styles - No Underlines, Hover Color Changes */
a.column-2-top,
a.next-topic-btn,
a.column-2-bottom-right,
a.programs-row-1,
a.insta-icon,
a.youtube-icon {
    text-decoration: none !important;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

a.column-2-top:hover {
    color: var(--primary-blue) !important;
}

a.column-2-top:hover h2 {
    color: var(--primary-blue) !important;
}

a.next-topic-btn {
    color: white !important;
}

a.column-2-bottom-right:hover {
    background-color: #292a24;
}

a.programs-row-1:hover {
    color: var(--red-accent);
}

a.insta-icon:hover,
a.youtube-icon:hover {
    opacity: 0.8;
}

.programs-row-1 p:hover {
    color: #292a24;
}

/* Button Icons */
.btn-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.search-overlay.active {
    display: flex;
    opacity: 1;
}

.search-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    min-width: 500px;
    max-width: 80%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.search-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

#search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--transition-speed) ease;
}

#search-input:focus {
    border-color: var(--primary-blue);
}

.search-close-btn {
    background-color: var(--red-accent);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 30px;
        height: 30px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-speed) ease;
}

.search-close-btn:hover {
    background-color: #ff3b36;
}

.search-results {
    margin-bottom: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.search-result-item {
    padding: 8px 12px;
    margin-bottom: 5px;
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
}

.search-result-item:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.search-result-item.active {
    background-color: var(--green-accent);
    color: var(--black);
}

.search-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.search-nav-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 14px;
    transition: background-color var(--transition-speed) ease;
}

.search-nav-btn:hover:not(:disabled) {
    background-color: #5c5cff;
}

a.info-circle.blue-circle {
    color: #ffffff;
}

a.info-circle.blue-circle:hover {
    color: #292a24;
}

a.info-circle.red-circle {
    color: #ffffff;
}

a.info-circle.red-circle:hover {
    color: #292a24;
}

.search-nav-btn:disabled {
    background-color: var(--border-color);
    cursor: not-allowed;
    opacity: 0.5;
}

.search-counter {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

/* Search Highlights */
.search-highlight {
    background-color: var(--green-accent);
    color: var(--black);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
    transition: background-color var(--transition-speed) ease;
}

.search-highlight.active {
    background-color: var(--red-accent);
    color: var(--white);
    animation: pulse 1s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ========================================
   MOBILE-FIRST RESPONSIVE DESIGN 2025
   ======================================== */

/* Base Mobile Styles (320px+) - Mobile First Approach */
/* All styles above are desktop-first, these override for mobile */

/* Mobile Typography Scale */
:root {
    --mobile-font-xs: clamp(0.75rem, 2vw, 0.875rem);    /* 12-14px */
    --mobile-font-sm: clamp(0.875rem, 2.5vw, 1rem);      /* 14-16px */
    --mobile-font-base: clamp(1rem, 3vw, 1.125rem);      /* 16-18px */
    --mobile-font-lg: clamp(1.125rem, 3.5vw, 1.25rem);   /* 18-20px */
    --mobile-font-xl: clamp(1.25rem, 4vw, 1.5rem);      /* 20-24px */
    --mobile-font-2xl: clamp(1.5rem, 5vw, 2rem);          /* 24-32px */
    --mobile-font-3xl: clamp(1.875rem, 6vw, 2.5rem);      /* 30-40px */

    /* Mobile Spacing Scale */
    --mobile-spacing-xs: clamp(0.25rem, 1vw, 0.5rem);    /* 4-8px */
    --mobile-spacing-sm: clamp(0.5rem, 2vw, 1rem);       /* 8-16px */
    --mobile-spacing-md: clamp(1rem, 3vw, 1.5rem);       /* 16-24px */
    --mobile-spacing-lg: clamp(1.5rem, 4vw, 2rem);       /* 24-32px */
    --mobile-spacing-xl: clamp(2rem, 5vw, 3rem);        /* 32-48px */
    --mobile-spacing-2xl: clamp(3rem, 6vw, 4rem);         /* 48-64px */
}

/* Touch-friendly minimum sizes */
button, .action-btn, .action-link, .menu-container {
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
}
    .menu-container {
    min-width: var(--standard-spacing)!important;}

/* Mobile Header Optimization */
@media (max-width: 1023px) {
    .top-bar {
        height: clamp(50px, 15vw, 120px);
        flex-direction: row;
        padding: 0 !important;
        gap: 0;
        background-color: var(--primary-blue) !important;
    }

    .logo-section {
        width: auto;
        height: 100%;
        min-width: auto;
        padding: 10px;
        clip-path: none;
        justify-content: flex-start;
        order: 1;
        background-color: var(--primary-blue);
    }

    .menu-section {
        width: auto;
        height: 100%;
        min-width: auto;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        padding: 6px;
        order: 2;
        gap: 15px;
        background-color: var(--primary-blue);
    }

    .logo-container {
        justify-content: flex-start;
    }

    .vidyashilp-logo {
        height: clamp(40px, 8vw, 60px);
    }

    .vs-design-logo {
        height: clamp(35px, 7vw, 55px);
    }

    .logo-border {
        height: clamp(65px, 6vw, 50px);
        margin: 0 10px;
    }

    .menu-container {
        order: 3;
        width: auto;
        height: 100% !important;
        padding: 0;
        background-color: var(--primary-blue) !important;
        border-radius: 0;
        min-width: auto;
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu-text {
        display: none !important;
    }

    .hamburger-icon {
        width: clamp(20px, 5vw, 30px);
        height: clamp(20px, 5vw, 30px);
    }

    .hamburger-icon span {
        height: clamp(4px, 0.8vw, 4px);
        background-color: white;
    }

    .buttons-container {
        order: 2;
        flex-direction: row;
        align-items: center;
        padding-bottom: 0;
        background-color: transparent;
        place-self: normal;
    }

    .action-btn {
        width: clamp(30px, 8vw, 50px);
        height: clamp(30px, 8vw, 50px);
        min-width: 30px;
        min-height: 30px;
        background-color: transparent;
        border: 1px solid white;
    }

    .btn-icon {
        width: clamp(15px, 4vw, 24px);
        height: clamp(15px, 4vw, 24px);
        filter: brightness(0) invert(1);
    }
}

/* Mobile Search Overlay Optimization */
@media (max-width: 1023px) {
    .search-container {
        min-width: 90vw;
        max-width: 95vw;
        padding: var(--mobile-spacing-lg);
        margin: var(--mobile-spacing-md);
        transform: translate(-50%, -50%);
    }

    .search-input-container {
        flex-direction: column;
        gap: var(--mobile-spacing-sm);
    }

    #search-input {
        width: 100%;
        font-size: var(--mobile-font-base);
        padding: var(--mobile-spacing-md);
    }

    .search-navigation {
        flex-direction: column;
        gap: var(--mobile-spacing-sm);
    }

    .search-nav-btn {
        width: 100%;
        padding: var(--mobile-spacing-md);
        font-size: var(--mobile-font-sm);
    }

    .search-results {
        max-height: 40vh;
    }

    .search-result-item {
        padding: var(--mobile-spacing-sm);
        font-size: var(--mobile-font-sm);
    }
}

/* Mobile Banner Section */
@media (max-width: 1023px) {
    .banner-section {
        padding: 0 16px !important;
    }

    .banner-image {
        width: auto !important;
        height: 100% !important;
    }

    .banner-heading {
        bottom: -6px !important;
        left: 0px !important;
    }

    .banner-heading h1 {
        font-size: 33px !important;
        padding: 16px !important;
        text-align: center;
    }

    .three-column-layout {
        flex-direction: column;
        gap: var(--mobile-spacing-lg);
    }

    .column-1,
    .column-2,
    .column-3 {
        width: 100%;
    }
    .column-3 {
    padding: 0!important;}

    .round-image {
        width: 65%!important;
        height: 65%!important;
        margin: 0 auto;
    }

    .column-2-top {
        padding: 0!important;
    }

    .column-2-top h2 {
        font-size: var(--mobile-font-xl);
        padding: var(--mobile-spacing-sm);
        text-align: center;
    }

    .column-2-bottom {
        flex-direction: column;
        gap: var(--mobile-spacing-sm);
    }

    .column-2-bottom-left,
    .column-2-bottom-right {
        width: 100%;
        height: 65px!important;
    }

    .column-2-bottom-left{
        display: contents;
    }

    .column-2-bottom-right h3 {
        font-size: 30px!important;
        padding: var(--mobile-spacing-sm);
        text-align: center;
    }

    .next-topic-btn {
        font-size: var(--mobile-font-sm);
        padding: var(--mobile-spacing-sm) var(--mobile-spacing-md);
        width: 100%;
        text-align: center;
    }
}

/* Mobile Section 3 - Programs */
@media (max-width: 1023px) {
    .section-3 {
        padding: 0px 16px;
        margin-top: 6em!important;
    }

    .section-3-1::after{
        height: 1px!important;
        left: 0!important;
        right: 0!important;
    }

    .section-3-1 {
        margin: 0 !important;
        padding-top: 1px!important;
    }

    .our-programs-heading {
        font-size: 36px !important;
        margin-bottom: 16px;
        text-align: center;
        top: -33px !important;
        position: relative;
    }

    .programs-two-column {
        flex-direction: column;
        gap: 24px;
        margin-top: 40px!important;
    }

    .programs-column-1,
    .programs-column-2 {
        width: 100%;
    }

    .programs-row-1 {
        padding: 20px 10px !important;
    }

    .programs-row-1 p {
        font-size: 32px !important;
        text-align: left !important;
    }

    .programs-row-2 {
        padding: 10px 0px 10px 10px !important;
        gap: 18px!important;
    }

    .programs-row-2 p {
        font-size: 28px!important;
        text-align: left;
    }

    .programs-column-2 p {
        font-size: 15px!important;
        text-align: center;
    }

    .round-icon {
        width: clamp(50px, 8vw, 60px)!important;
        height: clamp(50px, 8vw, 60px)!important;
        margin: 0 auto 16px;
    }

    .icon {
        font-size: 25px!important;
    }
}

/* Mobile Section 3.2 - Discover More */
@media (max-width: 1023px) {
    .section-3-2-container {
        flex-direction: column;
        gap: 24px;
        padding: 24px 0px !important;
        padding-bottom: 0px !important;
    }
    .round-circle{
        width: 160px!important;
        height: 160px!important;
    }
    .section-3-2-left,
    .section-3-2-right {
        width: 100%;
    }
    .section-3-2{
        padding-top:   25px!important;
    }

    .section-3-2-left {
        padding-left: 0 !important;
    }

    .discover-more-heading {
        font-size: 46px !important;
        text-align: center;
        margin-bottom: var(--mobile-spacing-sm);
    }

    .discover-more-text {
        font-size: 33px!important;
        text-align: center;
        padding-top: 58px!important;
        padding-bottom: 0px!important;
        padding-left: 8px;
        padding-right: 8px;


    }

    .section-3-2-right {
        flex-direction: column;
        gap: 0!important;
        margin-top: 0px!important;
    }

    .section-3-2-right-right {
        width: 100%;
        padding: 0px 8px!important;
    }

    .section-3-2-right-left img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .workshop-header {
        flex-direction: row;
        gap: 134px;
        text-align: center;
        align-items: anchor-center!important;
        padding-bottom: 6px!important;
        margin-bottom: 0px!important;
        padding-top: 6px !important;
    }

    .workshop-heading {
        font-size: 17px!important;
        text-align: left!important;
    }

    .calendar-icon {
        width: clamp(30px, 6vw, 50px)!important;
        height: clamp(30px, 6vw, 50px)!important;
        margin: 0 auto!important;
    }

    .section-5-header {
        flex-direction: row;
        gap: 134px;
        text-align: center;
        align-items: anchor-center!important;
        padding-bottom: 6px!important;
        margin-bottom: 0px!important;
        padding-top: 6px !important;
        height: 50px!important;
    }

    .upcoming-text {
        font-size: 17px!important;
    }

    .calendar-icon-no-color {
        width: clamp(30px, 6vw, 50px)!important;
        height: clamp(30px, 6vw, 50px)!important;
        margin: 0 auto!important;
    }

    .publisher-text,
    .workshop-description {
        font-size: var(--mobile-font-sm);
        text-align: center;
        align-self: anchor-center;
    }
}

/* Mobile Section 4 - Events & Specialization */
@media (max-width: 1023px) {
    .section-4-container {
        flex-direction: column;
        gap: 32px;
        padding: 0 0 0 0 !important;
    }
    .calendar-icon img{
        width: 15px!important;
        height: 15px!important;
    }
    .section-4-left,
    .section-4-right {
        width: 100%;
    }

    .workshop-content{
        padding-bottom: 25px!important;
    }

    .workshop-header::after{
        left: -8px!important;
        right: -8px!important;
        height: .5px!important;
    }

    .section-4-row-1 img,
    .section-4-right-row-2 img {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: cover;
    }

    .events-header,
    .voices-header,
    .podcast-header {
        flex-direction: row;
        gap: var(--mobile-spacing-sm);
        text-align: center;
        padding: 0 10px!important;
    }

    .events-text,
    .voices-text,
    .podcast-text {
        font-size: var(--mobile-font-lg);
    }

    .calendar-icon-small,
    .dq-icon,
    .youtube-icon {
        width: clamp(30px, 6vw, 50px);
        height: clamp(30px, 6vw, 50px);
        margin: 0;
    }

    .section-4-row-4 p {
        font-size: 32px!important;
        text-align: center;
        padding: var(--mobile-spacing-sm);
        max-width: 22ch!important;
    }

    .section-4-row-4{
        padding:20px 5px!important;
    }

    .specialization-content {
        flex-direction: column;
        gap: 30px!important;
        text-align: center;
        padding: var(--mobile-spacing-sm);
    }

    .specialization-circle {
        width: clamp(60px, 12vw, 100px);
        height: clamp(60px, 12vw, 100px);
        margin: 0 auto;
    }

    .circle-number {
        font-size: var(--mobile-font-2xl);
    }

    .specialization-text {
        font-size: 30px!important;
    }

    .quote-content {
        padding: var(--mobile-spacing-sm);
    }

    .quote-text {
        font-size: 35px!important;
        text-align: center;
        margin-bottom: var(--mobile-spacing-sm);
    }

    .quote-footer {
        flex-direction: row;
        gap: var(--mobile-spacing-sm);
        text-align: center;
        align-items: center!important;
        flex-direction: row;
    }

    .author-text {
        font-size: 16px!important;
        text-align: left;
    }

    .quote-image img {
        width: clamp(60px, 12vw, 100px)!important;
        height: clamp(60px, 12vw, 100px)!important;
        margin: 0 auto;
    }

    .combinations-content {
        flex-direction: column;
        gap: var(--mobile-spacing-md);
        text-align: center;
        padding: 0px!important;
    }

    .combinations-left,
    .combinations-right {
        width: 100%;
    }

    .combinations-circle {
        width: clamp(100px, 20vw, 150px);
        height: clamp(100px, 20vw, 150px);
        margin: 0 auto;
    }

    .combinations-number {
        font-size: var(--mobile-font-2xl);
    }

    .combinations-label {
        font-size: var(--mobile-font-sm);
    }

    .combinations-right img {
        width: 100%;
        height: auto;
        max-height: 200px;
        object-fit: cover;
    }

    .insta-icon {
        width: clamp(35px, 7vw, 55px);
        height: clamp(35px, 7vw, 55px);
        top: var(--mobile-spacing-sm);
        right: var(--mobile-spacing-sm);
    }

    .insta-icon img {
        width: clamp(18px, 3.5vw, 28px);
        height: clamp(18px, 3.5vw, 28px);
    }

    .podcast-title {
        font-size: 45px!important;
        text-align: center;
        padding: var(--mobile-spacing-sm);
    }

    .podcast-subtitle {
        font-size: 20px!important;
        text-align: center;
        padding: var(--mobile-spacing-sm);
    }

    .section-4-right-row-6 {
        flex-direction: column;
        gap: 0!important;
        padding: 20px 0 0 0!important;
    }

    .ratio-column,
    .image-column,
    .empty-column {
        width: 100%;
    }
    .ratio-column,
    .image-column{
        border-right: 0px!important;
    }

    .image-column{
        border-top: 1px solid #969591!important;}

    .ratio-circle,
    .image-circle {
        width: clamp(80px, 16vw, 120px);
        height: clamp(80px, 16vw, 120px);
        margin: 0 auto;
    }

    .ratio-number {
        font-size: var(--mobile-font-xl);
    }

    .ratio-label {
        font-size: var(--mobile-font-xs);
    }

    .image-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Mobile Section 5 - Upcoming Events */
@media (max-width: 1023px) {
    .section-5 {
        padding: 0!important;
    }

    .section-4-row-7{
        padding: 0px!important;
    }

    .section-4-right-row-5{
        padding: 0px!important;
    }


    .section-5-header {
        padding: var(--mobile-spacing-sm);
    }

    .upcoming-header {
        flex-direction: row !important;
        align-self: center !important;
        gap: var(--mobile-spacing-sm);
        text-align: center;
        padding: 0px!important;
    }

    .calendar-icon-no-color img{
        width: 15px!important;
        height: 15px!important;
    }

    .upcoming-text {
        font-size: var(--mobile-font-lg);
    }

    .calendar-icon-no-color {
        width: clamp(30px, 6vw, 50px);
        height: clamp(30px, 6vw, 50px);
        margin: 0!important;
    }

    .section-5-content {
        flex-direction: column;
        gap: 0!important;
    }

    .section-5-left {
        width: 100%;
        padding: 20px 10px 20px 10px !important;
        gap: 0 !important;
    }

    .section-5-right {
        width: 100%;
    }

    .event-date {
        flex-direction: row;
        justify-content: center;
        gap: var(--mobile-spacing-sm);
        margin-bottom: var(--mobile-spacing-sm);
    }

    .month-text {
        font-size: var(--mobile-font-lg);
    }

    .day-number {
        font-size: 80px !important;
    }

    .event-details {
        margin-top: 22px !important;
    }

    .event-title {
        font-size: 14px !important;
        text-align: center;
        margin-bottom: var(--mobile-spacing-sm);
    }

    .register-text {
        font-size: 15px !important;
        text-align: center;
    }

    .venue-text {
        font-size: 10px !important;
        text-align: center;
    }

    .section-5-right img {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: cover;
    }
}

/* Mobile Section 6 - Admission & Faculty */
@media (max-width: 1023px) {
    .section-6-row-1 {
        padding: 0 16px 0px 16px !important;
    }

    .section-4-row-5{
    padding: 60px 0!important;}


    .circles-container {
        border-left: none;
        border-right: none;
    }

    .circles-container::before,
    .circles-container::after {
        height: 30px !important;
    }

    .circles-row {
        gap: 0 !important;
    }

    .info-circle {
        width: 80px !important;
        height: 80px !important;
        font-size: 10px!important;
        text-align: center;
        padding: 16px;
        border-radius: 8px;
        margin: 0 auto;
    }

    .info-circle.light-circle::after {
        display: none;
    }

    .section-6-row-2 {
        padding: 0 16px 0px 16px !important;
    }

    .faculty-banner {
        height: 175px!important;
        border-radius: 0px;
        overflow: hidden;
    }

    .faculty-content {
        padding: 0px!important;
        text-align: center;
        bottom: 15px!important;
        align-items: center!important;
    }

    .faculty-heading {
        font-size: 20px!important;
        margin-bottom: 16px;
        text-align: left;
        padding-left: 10px;
    }

    .crafting-text,
    .shape-future {
        font-size: 15px!important;
    }

    .meet-faculty-btn {
        font-size: 10px!important;
        padding: 0px 0px!important;
        width: 100%;
        max-width: 115px!important;
        margin: 0 10px 0px 0 !important;
        font-weight: 400!important;
    }
    button.meet-faculty-btn{
        min-width: 40px!important;
        min-height: 25px!important;
    }
}

/* Mobile Section 7 - Ready to Start Designing */
@media (max-width: 1023px) {
    .ready-container {
        padding: 32px 16px !important;
        text-align: center;
    }

    .section-7{
        padding: 0px!important;
    }


    .ready-heading {
        font-size: var(--mobile-font-xl);
        margin-bottom: 32px!important;
        margin-top: 0px!important;
        margin-left: 30px!important;
        text-align: left!important;
        line-height: 15px!important;
    }

    .ready-text,
    .outside-lines {
        font-size: var(--mobile-font-lg);
    }

    .ready-image {
        margin-bottom: var(--mobile-spacing-lg);
        height: auto!important;

    }

    .ready-image img {
        width: 100%;
        height: auto!important;
        object-fit: cover;
    }

    .action-buttons {
        flex-direction: column;
        gap: var(--mobile-spacing-md);
        align-items: center;
    }

    .action-link {
        width: 100%;
        max-width: 300px;
        padding: 0!important;
        font-size: 25px!important;
        text-align: center;
    }

    .action-link img {
        width: clamp(20px, 4vw, 28px);
        height: clamp(20px, 4vw, 28px);
    }
}

/* Mobile Navigation Overlay */
@media (max-width: 1023px) {
    .nav-overlay {
        width: 100% !important;
        right: -100% !important;
        top: 0 !important;
        height: 100vh !important;
    }

    .nav-overlay.active {
        right: 0 !important;
    }

    .nav-menu {
        padding: 60px 20px 40px 20px !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }

    .nav-list {
        width: 100% !important;
        margin-bottom: 40px !important;
    }

    .nav-item {
        margin-bottom: 20px !important;
    }

    .nav-link {
        font-size: 2rem !important;
        text-align: center !important;
    }

    .nav-menu-container {
        width: 100% !important;
        height: auto !important;
        padding: 20px !important;
        order: 2 !important;
    }

    .nav-menu-container .menu-text {
        font-size: 24px !important;
        writing-mode: horizontal-tb !important;
        transform: none !important;
    }

    .nav-menu-container .hamburger-icon {
        width: 24px !important;
        height: 24px !important;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 1023px) {
    /* Reduce motion for better mobile performance */
    * {
        transition-duration: 0.15s;
    }

    /* Optimize images for mobile */
    img {
        image-rendering: optimizeSpeed;
        image-rendering: -webkit-optimize-contrast;
    }

    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }

    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
}

/* Section 2: Banner */
.banner-section {
    width: 100%;
    padding: 0 var(--standard-spacing); /* Standard left-right spacing */
    background-color: var(--bg-primary);
    position: relative;
    transition: background-color var(--transition-speed) ease;
}

/* Banner Image */
.banner-image {
    width: 100%;
    height: 800px; /* Decreased height from 800px to 500px */
    position: relative;
    overflow: hidden;
    margin-bottom: 0; /* Remove margin to tighten spacing */
}

/* Banner Image Shadow Overlay */
.banner-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%; /* Height of shadow overlay */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1), transparent);
    pointer-events: none; /* Allow clicks to pass through */
    z-index: 1;
}

.banner-image img {
    width: 100%;
    height: 100%; /* Fill container height */
    display: block;
    object-fit: cover;
    object-position: center top; /* Crop from bottom */
}

/* Banner Heading - Positioned over banner image */
.banner-heading {
    position: absolute;
    bottom: 40px; /* Increased bottom padding */
    left: 57px; /* Added left padding */
    z-index: 2;
    margin: 0;
    padding: 0;
}

.banner-heading h1 {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 800; /* ExtraBold */
    font-size: 80px; /* Increased size from 48px to 64px */
    color: var(--white); /* Changed to white for visibility on banner */
    margin: 0;
    text-align: left;
    max-width: 600px; /* Decreased max width per character */
    line-height: 1.1; /* Tighter line height for larger text */
}

/* Three Column Layout */
.three-column-layout {
    display: flex;
    gap: 0; /* Remove gap to tighten spacing */
    align-items: stretch;
    min-height: 209px;
    border: 1px solid #969591; /* Add logical border */
    border-top: none; /* Remove top border to connect with banner */
}

/* Column 1: Round Image (25%) */
.column-1 {
    flex: 0 0 17%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #969591; /* Add right border */
}

.round-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
}

.round-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Column 2: Content (63%) */
.column-2 {
    flex: 0 0 63%;
    display: flex;
    flex-direction: column;
    padding: 0px;
    height: 275px; /* Match three-column-layout height */
}

/* Column 2 Top: Heading (70% height) */
.column-2-top {
    flex: 0 0 70%;
    display: flex;
    align-items: center;
    padding: 60px 60px;
}

.column-2-top h2 {
    font-family: 'Mona Sans', Arial, sans-serif;
    font-weight: 300; /* Light */
    font-size: 27px;
    color: var(--black);
    margin: 0;
    line-height: 1.3;
}

/* Column 2 Bottom: Two columns */
.column-2-bottom {
    display: flex;
    align-items: flex-end;
    height: 80px; /* Decreased height */
margin-top: 30px !important;

    margin-top: auto; /* Push to bottom of column-2 */
}

/* Column 2 Bottom Left: Grey background (71% width) */
.column-2-bottom-left {
    flex: 0 0 71%;
    background-color: var(--light-bg); /* Grey background */
    height: 78px;
    border-top: 1px solid #969591; /* Add top border */
}

/* Column 2 Bottom Right: Red Read More box (29% width) */
.column-2-bottom-right {
    flex: 0 0 29%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 78px;
    background-color: var(--red-accent); /* Red background */
    text-align: center;
    padding: 10px 15px; /* Reduced padding to prevent overflow */
    box-sizing: border-box; /* Ensure padding is included in width calculation */
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

/* Column 2 Bottom Right Text */
.column-2-bottom-right h3 {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 800; /* ExtraBold */
    font-size: 26px; /* Bigger text */
    color: var(--white);
    margin: 0;
    text-align: center;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 43, 38, 0.3);
}

/* Column 3: Blue background with button (20%) */
.column-3 {
    flex: 0 0 20%;
    background-color: var(--primary-blue);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px 20px 10px 20px; /* Reduced top padding, kept bottom padding */
}

.next-topic-btn {
    background: none;
    color: var(--white);
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 800; /* ExtraBold */
    font-size: 26px;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.next-topic-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Section 3: Our Programs */
.section-3 {
    width: 100%;
    background-color: #292a24;;
    position: relative;
    margin-top: 12em; /* Add blank space at the top, outside the section */
    transition: background-color var(--transition-speed) ease;
}

/* Section 3.1: Our Programs Content */
.section-3-1 {

    margin: 0 var(--standard-spacing);

    border-top: none;
    padding-top: 10px; /* Space for heading that goes out of background */
    position: relative;
}

/* Section 3.1 Full-Width Bottom Border */
.section-3-1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: calc(-1 * var(--standard-spacing)); /* Extend to left edge */
    right: calc(-1 * var(--standard-spacing)); /* Extend to right edge */
    height: .5px;
    background-color: #969591;
}

/* Our Programs Heading */
.our-programs-heading {
    font-family: 'Mona Sans', Arial, sans-serif;
    font-weight: 600; /* Semibold */
    font-size: 8em;
    color: #969591; /* Standard border color for dark backgrounds */
    text-align: center;
    margin: 0;
    margin-bottom: 80px;
    position: absolute;
    top: -133px; /* Moved down - less outside the container */
    left: 50%;
    /* Removed will-change - no animation for heading */
    transform: translateX(-50%);
    width: 100%;
}

/* Programs Two Column Layout */
.programs-two-column {
    display: flex;
    gap: 40px;
    margin-top: 100px;
    border-left: 1px solid #969591; /* Add left border */
    border-right: 1px solid #969591; /* Add right border */
    border-top: 1px solid #969591; /* Add logical top border */
    border-bottom: 1px solid #969591; /* Add logical bottom border */
    position: relative;
}

/* Programs Column 1: Two rows */
.programs-column-1 {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
}

/* Programs Row 1: Explore Program */
.programs-row-1 {
    background-color: var(--primary-blue);
    padding: 20px 76px;
    border-bottom: 1px solid var(--primary-blue); /* Same blue border */
}

.programs-row-1 p {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 800; /* ExtraBold */
    font-size: 40px;
    color: var(--white);
    margin: 0;
    max-width: 23ch; /* Max width char limit */
    line-height: 1.4;
}

/* Programs Row 2: B.Des Program */
.programs-row-2 {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 20px 76px 20px 50px;
    border-right: 1px solid #969591; /* Add right border */
}

/* Round Icon */
.round-icon {
    width: 70px;
    height: 70px;
    background-color: var(--green-accent); /* Yellow standard color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.round-icon .icon {
    color: #292a24;
    font-size: 32px;
    font-weight: bold;
}

.programs-row-2 p {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 800; /* ExtraBold */
    font-size: 32px;
    color: var(--white);
    margin: 0;
    line-height: 1.4;
}

/* Section 4: Events & Specialization */
.section-4 {
    width: 100%;
    background-color: var(--bg-primary);
    transition: background-color var(--transition-speed) ease;
}

.section-4-container {
    display: flex;
}

/* Section 4 Left Column */
.section-4-left {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
}

/* Row 1: Image */
.section-4-row-1 img {
    width: 100%;
    height: auto;
    display: block;
}

/* Row 2: Events Header */
.section-4-row-2 {
    background-color: var(--primary-blue);
    height: 80px;
    display: flex;
    align-items: center;
}

.events-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--standard-spacing);
}

.events-text {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 300; /* ExtraBold */
    font-size: 26px;
    color: var(--white);
}

/* Calendar Icon Small */
.calendar-icon-small {
    width: 45px;
    height: 45px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.calendar-icon-small img {
    width: 22px;
    height: 22px;
    filter: brightness(0) saturate(100%) invert(15%) sepia(96%) saturate(4032%) hue-rotate(241deg) brightness(101%) contrast(101%); /* Blue color filter */
}

/* Row 3: White Border */
.section-4-row-3 {
    height: 1px;
    background-color: var(--white);
}

/* Row 4: Description Text */
.section-4-row-4 {
    padding: 65px var(--standard-spacing);
    background-color: var(--primary-blue);
}

.section-4-row-4 p {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 400;
    font-size: 34px;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
    max-width: 32ch;
}

/* Row 5: Specialization */
.section-4-row-5 {
    background-color: var(--green-accent); /* Standard yellow */
    padding: 60px var(--standard-spacing);
}

.specialization-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.specialization-circle {
    width: 230px;
    height: 230px;
    background-color: #292a24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.circle-number {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 400; /* ExtraBold */
    font-size: 170px;
    color: var(--white);
}

.specialization-text {
    font-family: 'Mona Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 26px;
    color: var(--black);
    margin: 0;
    line-height: 1.4;
    max-width: 17ch;
}

/* Row 6: Voices Header */
.section-4-row-6 {
    background-color: var(--primary-blue);
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid white
}

.voices-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--standard-spacing);
}

.voices-text {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 300;
    font-size: 26px;
    color: var(--white);
}

/* DQ Icon */
.dq-icon {
    width: 45px;
    height: 45px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dq-icon img {
    width: 22px;
    height: 22px;
}

/* Row 7: Quote Section */
.section-4-row-7 {
    background-color: var(--primary-blue);
    padding: 40px var(--standard-spacing);
}

.quote-content {
    display: flex;
    flex-direction: column;
}

.quote-text {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 400;
    font-size: 42px;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
    max-width: 20ch;
}

.quote-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.quote-author {
    flex: 1;
}

.author-text {
    font-family: 'Mona Sans', Arial, sans-serif;
    font-weight: 100;
    font-size: 25px;
    color: var(--white);
    margin: 0;
    line-height: 1.4;
}

.quote-image {
    flex-shrink: 0;
}

.quote-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

/* Section 4 Right Column */
.section-4-right {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
}

/* Row 1: Major-Minor Combinations */
.section-4-right-row-1 {
    display: flex;
    align-items: center;
}

.combinations-content {
    display: flex;
    width: 100%;
    height: 100%;
}

.combinations-left {
    flex: 0 0 40%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.combinations-circle {
    width: 300px;
    height: 300px;
    background-color: var(--green-accent); /* Standard green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.combinations-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.combinations-number {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 600;
    font-size: 100px;
    color: #292a25;
    line-height: 1;
    margin-bottom: 8px;
}

.combinations-label {
    font-family: 'Mona Sans', Arial, sans-serif;
    font-weight: 400; /* SemiBold */
    font-size: 20px; /* Smaller size */
    color:  #292a25;
    line-height: 1.2;
}

.combinations-right {
    flex: 0 0 60%;
    position: relative;
}

.combinations-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Instagram Icon */
.insta-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.insta-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* Row 2: Podcast Image */
.section-4-right-row-2 img {
    width: 100%;
    height: auto;
    display: block;
}

/* Row 3: Podcast Header */
.section-4-right-row-3 {
    background-color: var(--red-accent); /* Red background */
    height: 80px;
    display: flex;
    align-items: center;
}

.podcast-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--standard-spacing);
}

.podcast-text {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 300;
    font-size: 26px;
    color: var(--white);
}

/* YouTube Icon */
.youtube-icon {
    width: 45px;
    height: 45px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.youtube-icon img {
    width: 27px;
    height: auto;
}

/* Row 4: White Border */
.section-4-right-row-4 {
    height: 1px;
    background-color: var(--white);
}

/* Row 5: Podcast Content */
.section-4-right-row-5 {
    background-color: var(--red-accent); /* Red background */
    padding: 76.2px var(--standard-spacing);
}

.podcast-title {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 600;
    font-size: 50px;
    color: var(--white);
    margin: 0 0 35px 0;
    line-height: 1.2;
}

.podcast-subtitle {
    font-family: 'Mona Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 25px;
    color: var(--white);
    margin: 0;
    line-height: 1.4;
}

/* Row 6: Three Column Layout */
.section-4-right-row-6 {
    display: flex;
    border-bottom: 1px solid #969591; /* Bottom border */
}

/* Column 1: Faculty-Student Ratio */
.ratio-column {
    flex: 0 0 40%;
    border-right: 1px solid #969591; /* Border-right */
    display: flex;
    align-items: center;
    justify-content: center;
}

.ratio-circle {
    width: 300px; /* Slightly increased width from combinations-circle */
    height: 300px;
    background-color: var(--green-accent); /* Standard green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ratio-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ratio-number {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 600;
    font-size: 145px;
    color: #292a25;
    line-height: 1;
    margin-bottom: 8px;
}

.ratio-label {
    font-family: 'Mona Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #292a25;
    line-height: 1.2;
}

/* Column 2: Image */
.image-column {
    flex: 0 0 40%;
    border-right: 1px solid #969591; /* Border-right */
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-circle {
    width: 300px; /* Same size as ratio-circle */
    height: 300px;
    background-color: var(--green-accent); /* Standard green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Column 3: Empty */
.empty-column {
    flex: 0 0 20%;
    /* Empty column - no content */
}

/* Programs Column 2: Description */
.programs-column-2 {
    flex: 0 0 50%;
    padding: 20px 0;
}

.programs-column-2 p {
    font-family: 'Mona Sans', Arial, sans-serif;
    font-weight: 400; /* Regular */
    font-size: 25px;
    color: var(--white);
    margin: 0;
    line-height: 1.6;
    max-width: 38ch;
}

/* Programs Circles Container */
.programs-circles {
    display: flex;
    justify-content: flex-end;
}

.round-circle {
    width: 180px;
    height: 180px;
    background-color: transparent;
    border: 1px solid #969591;
    border-radius: 50%;
}

/* Section 3.2: Discover More */
.section-3-2 {
    width: 100%;
    background-color: #292a24; /* Same background as section-3 */
    padding-top: 80px; /* Add padding at the top */
}

.section-3-2-container {
    display: flex;
}

/* Section 3.2 Left Column */
.section-3-2-left {
    flex: 0 0 50%;
    padding-left: var(--standard-spacing); /* Standard left spacing */
}

.discover-more-heading {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 800; /* ExtraBold */
    font-size: 80px;
    color: var(--white);
    margin: 0 0 10px 0;
}

.discover-more-text {
    font-family: 'Mona Sans', Arial, sans-serif;
    font-weight: 100;
    font-size: 34px;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
    padding-top: 120px;
    padding-bottom: 120px;
    max-width: 28ch;
}

/* Section 3.2 Right Column */
.section-3-2-right {
    flex: 0 0 50%;
    display: flex;
    margin-top: 7em;
}

/* Section 3.2 Right Left (Image) */
.section-3-2-right-left {
    flex: 0 0 40%; /* Decreased from 50% to 40% */
}

.section-3-2-right-left img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zoom and fit container size */
    display: block;
}

/* Section 3.2 Right Right (Content) */
.section-3-2-right-right {
    flex: 0 0 60%; /* Increased from 50% to 60% */
    background-color: var(--light-bg); /* #f6f5f1 */
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
}

/* Workshop Header */
.workshop-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    position: relative;
}

/* Workshop Header Border - Extends to image edges */
.workshop-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -40px; /* Extend to left edge of image */
    right: -40px; /* Extend to right edge of image */
    height: 1px;
    background-color: #969591;
}

.workshop-heading {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 400; /* ExtraBold */
    font-size: 25px;
    color: #969591;
    margin: 0;
    flex: 1;
}

/* Calendar Icon */
.calendar-icon {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #969591;
    flex-shrink: 0;
    margin-right: 3em;
}

.calendar-icon img {
    width: 20px;
    height: 20px;
}

/* Workshop Content */
.workshop-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.publisher-text {
    font-family: 'Mona Sans', Arial, sans-serif;
    font-weight: 100;
    font-size: 20px;
    color: var(--red-accent); /* Red color */
    margin: 0;
    padding-top: 20px;
}

.workshop-description {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 600;
    font-size: 25px;
    color: var(--black);
    margin: 0;
    line-height: 1.4;
    max-width: 20ch;
}

/* Section 5: Upcoming Events */
.section-5 {
    width: 100%;
    background-color: var(--white);
}

/* Section 5 Header - Similar to section-4-row-2 */
.section-5-header {
    background-color: var(--white);
    height: 80px;
    display: flex;
    align-items: center;
}

.upcoming-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--standard-spacing);
    padding-right: 8em;
}

.upcoming-text {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 300;
    font-size: 26px;
    color: #8d8c88;
}

/* Calendar Icon - No Color (transparent background) */
.calendar-icon-no-color {
    width: 45px;
    height: 45px;
    background-color: transparent; /* No color background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #8d8c88; /* White border */
}

.calendar-icon-no-color img {
    width: 22px;
    height: 22px;
}

/* Section 5 Content - Full Width with Left Spacing Only */
.section-5-content {
    display: flex;
    padding-right: 0; /* No right spacing for full width */
}

/* Section 5 Left Column */
.section-5-left {
    flex: 0 0 50%;
    display: flex;
    align-items: flex-start;
    gap: 60px;
    padding: 60px 0px 60px 71px;
    border-top: 1px solid #8d8c88;
    border-bottom: 1px solid #8d8c88;
}

/* Event Date */
.event-date {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}

.month-text {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--black);
    margin: 0;
    line-height: 1;
}

.day-number {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 600;
    font-size: 100px;
    color: var(--black);
    margin: 0;
    line-height: 1;
}

/* Event Details */
.event-details {
    display: flex;
    flex-direction: column;
    margin-top: 32px;
    flex: 1;
}

.event-title {
    font-family: 'Mona Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--black);
    margin: 0;
    line-height: 1.3;
}

.register-text {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 400;
    font-size: 19.5px;
    color: var(--black);
    margin: 0;
    line-height: 1.2;
}

.venue-text {
    font-family: 'Mona Sans', Arial, sans-serif;
    font-weight: 200;
    font-size: 14px;
    color: var(--black);
    margin: 0;
    line-height: 1.4;
    font-style: italic;
    margin-top: 10px;
}

/* Section 5 Right Column */
.section-5-right {
    flex: 0 0 50%;
}

.section-5-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Section 6: Admission & Faculty */
.section-6 {
    width: 100%;
    background-color: var(--white);
}

/* Row 1: Circles */
.section-6-row-1 {
    padding: 0 var(--standard-spacing);

}

.circles-container {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #969591;
    border-left: 1px solid #969591;
}

.circles-container::before {
    content: '';
    height: 90px;
    background-color: var(--white);
    border-bottom: 1px solid #969591;
    width: 100%;
    display: block;
}

.circles-container::after {
    content: '';
    height: 90px;
    background-color: var(--white);
    border-top: 1px solid #969591;
    border-bottom: 1px solid #969591;
    width: 100%;
    display: block;
}

.circles-row {
    display: flex;
    flex-direction: row;
}

.info-circle {
    height: 343px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 800;
    font-size: 40px;
    color: var(--white);
    text-align: center;
    line-height: 1.2;
    border-radius: 50%;
    width: 343px;
    margin: 0 auto;
}

.info-circle.blue-circle {
    background-color: var(--primary-blue);
}

.info-circle.white-circle {
    background-color: #292a24;
    color: #ffffff;
}

.info-circle.light-circle {
    background-color: var(--light-bg);
    color: var(--black);
    position: relative;
}

.info-circle.light-circle::after {
    content: '';
    position: absolute;
    right: -0.5px;
    top: 0;
    bottom: 0;
    width: .5px;
    background-color: #969591;
}

.info-circle.red-circle {
    background-color: var(--red-accent);
}

/* Row 2: Faculty Banner */
.section-6-row-2 {
    padding: 0 var(--standard-spacing);
    border-bottom: 1px solid #969591;
    width: 100%;
}

.faculty-banner {
    width: 100%;
    height: 750px;
    overflow: hidden;
    position: relative;
}

.faculty-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faculty-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1), transparent);
    pointer-events: none;
    z-index: 1;
}

.faculty-content {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 var(--standard-spacing);
    z-index: 2;
}

.faculty-heading {
    color: var(--white);
    font-size: 60px;
    line-height: 1.2;
    margin: 0;
}

.crafting-text {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 200;
}

.shape-future {
    font-family: 'Mona Sans', Arial, sans-serif;
    font-style: italic;
    font-weight: 300;
    font-size: 54px;
}

.meet-faculty-btn {
    background-color: var(--red-accent);
    color: var(--white);
    border: none;
    padding: 15px 50px;
    border-radius: 50px;
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 800;
    font-size: 36px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    margin-bottom: 20px;
}

.meet-faculty-btn:hover {
    background-color: #ff3b36;
    transform: scale(1.05);
}

/* Section 7: Ready to Start Designing */
.section-7 {
    padding: 60px var(--standard-spacing);
    background-color: var(--white);
}

.ready-container {
    display: flex;
    flex-direction: column;
}

.ready-heading {
    font-size: 48px;
    line-height: 1.2;
    margin-top: 39px;
    margin-bottom: 110px;
    margin-left: 72px;
}

.ready-text {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 800;
    color: var(--black);
}

.outside-lines {
    font-family: 'Mona Sans', Arial, sans-serif;
    font-style: italic;
    color: var(--black);
    font-weight: 200;
}

.ready-image {
    width: 100%;
    height: 530px;
    overflow: hidden;
}

.ready-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.action-buttons {
    display: flex;
    height: 100px;
}

.action-link {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    text-decoration: none;
    color: var(--white);
    font-family: 'Funnel Display', Arial, sans-serif;
    font-weight: 400;
    font-size: 45px;
    transition: all var(--transition-speed) ease;
    position: relative;
    gap: 25px;
}

.action-link img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    margin-left: 35px;
}

.apply-btn {
    background-color: #3b3bff;
}

.apply-btn:hover {
    /* transform: translateY(-2px); */
}

.visit-btn {
    background-color: var(--green-accent);
    color: var(--black);
}

.visit-btn:hover {
    background-color: #c4e61a;
    /* transform: translateY(-2px); */
}

.contact-btn {
    background-color: var(--red-accent);
}

.contact-btn:hover {
    background-color: #ff3b36;
    /* transform: translateY(-2px); */
}

/* Footer Styles */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 0px;
    gap: 150px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-column-1 {
    max-width: 300px;
}

.footer-logo {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.footer-address {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.address-label {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.address-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.footer-heading {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 20px 0;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 28%;
    height: 2px;
    background-color: #3b3bff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Funnel Display', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: color var(--transition-speed) ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.contact-item {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.contact-item a:hover {
    color: var(--primary-blue);
}

.social-media {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    display: inline-block;
    transition: transform var(--transition-speed) ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: filter var(--transition-speed) ease;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(224deg) brightness(104%) contrast(97%);
}

.social-link:hover .social-icon {
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(224deg) brightness(104%) contrast(97%) brightness(0.8);
}

.footer-bottom {
    border-top: 1px solid #ebebeb;
    background-color: var(--bg-secondary);
    padding: 20px var(--standard-spacing);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.copyright,
.university-info {
    font-family: 'Funnel Display', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
}

/* Dark Theme Footer Styles */
[data-theme="dark"] .footer {
    background-color: var(--bg-primary);
    border-top-color: var(--border-color);
}

[data-theme="dark"] .footer-bottom {
    background-color: var(--bg-secondary);
    border-top-color: var(--border-color);
}

[data-theme="dark"] .footer-logo {
    filter: brightness(0) invert(1);
}

[data-theme="dark"] .footer-heading,
[data-theme="dark"] .address-label {
    color: var(--text-primary);
}

[data-theme="dark"] .footer-links a,
[data-theme="dark"] .contact-email,
[data-theme="dark"] .contact-phone,
[data-theme="dark"] .address-text,
[data-theme="dark"] .copyright,
[data-theme="dark"] .university-info {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--primary-blue);
}

/* Mobile Footer Styles */
@media (max-width: 1023px) {
    .footer {
        margin-top: 40px !important;
    }

    .footer-content {
        flex-direction: column !important;
        padding: 40px 16px 30px 16px !important;
        gap: 30px !important;
    }

    .footer-column {
        width: 100% !important;
        text-align: center !important;
    }

    .footer-column-1 {
        max-width: none !important;
    }

    .footer-logo {
        width: 150px !important;
        margin: 0 auto 15px auto !important;
    }

    .footer-heading {
        font-size: 18px !important;
        text-align: center !important;
    }

    .footer-heading::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .footer-links {
        align-items: center !important;
    }

    .footer-links a {
        font-size: 16px !important;
    }

    .contact-info {
        align-items: center !important;
    }

    .contact-email,
    .contact-phone {
        font-size: 16px !important;
    }

    .social-media {
        justify-content: center !important;
        gap: 20px !important;
    }

    .social-icon {
        width: 28px !important;
        height: 28px !important;
    }

    .footer-bottom {
        padding: 15px 16px !important;
    }

    .footer-bottom-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
    }

    .copyright,
    .university-info {
        font-size: 14px !important;
    }
}
