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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #030712;
    color: #f9fafb;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* Glassmorphic floating header */
.main-header {
    position: absolute;
    top: 110px; /* Adjusted to sit below the navbar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    pointer-events: none; /* Allows hover events to pass through to the blocks below */
    width: 100%;
    padding: 0 20px;
}

/* Premium Top Navigation Bar */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    z-index: 100;
    background-color: rgba(3, 7, 18, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-home {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}

.nav-home:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link.active {
    color: #ffffff;
    font-weight: 700;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, #0891b2, #7c3aed);
    border-radius: 9999px;
}

.main-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.main-header p {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.05em;
}

/* Flex Container for the columns */
.landing-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* Stream Block Styling */
.stream-block {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    /* Smooth transition for width (flex) and filter effects */
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.3, 1), filter 0.6s ease;
}

/* Divider between blocks */
.stream-block:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

/* Gradients for PCM and PCB */
.pcm {
    background-image: linear-gradient(180deg, #090d16 0%, #00223e 50%, #0891b2 100%);
}

.pcb {
    background-image: linear-gradient(180deg, #040d06 0%, #06402b 50%, #0f766e 100%);
}

/* Gradients for PCM options */
.pcm-eng {
    background-image: linear-gradient(180deg, #090d16 0%, #1e1b4b 50%, #4338ca 100%);
}

.pcm-arch {
    background-image: linear-gradient(180deg, #0b1516 0%, #0d9488 100%);
}

.pcm-def {
    background-image: linear-gradient(180deg, #0c0f0a 0%, #3f6212 100%);
}

.pcm-avi {
    background-image: linear-gradient(180deg, #080d1a 0%, #0284c7 100%);
}

.pcm-pure {
    background-image: linear-gradient(180deg, #12091a 0%, #7c3aed 100%);
}

/* Gradients for PCB options */
.pcb-med {
    background-image: linear-gradient(180deg, #090e0b 0%, #0d9488 100%);
}

.pcb-ayush {
    background-image: linear-gradient(180deg, #0f120a 0%, #4d7c0f 100%);
}

.pcb-pharm {
    background-image: linear-gradient(180deg, #090d0b 0%, #0369a1 100%);
}

.pcb-vet {
    background-image: linear-gradient(180deg, #050c07 0%, #047857 100%);
}

.pcb-agri {
    background-image: linear-gradient(180deg, #0d120a 0%, #15803d 100%);
}

/* Gradients for Engineering (B.Tech/B.E.) rows */
.eng-cs {
    background-image: linear-gradient(90deg, #090d16 0%, #00223e 50%, #0891b2 100%);
}

.eng-ee {
    background-image: linear-gradient(90deg, #07040f 0%, #1e1b4b 50%, #4338ca 100%);
}

.eng-mech {
    background-image: linear-gradient(90deg, #0b1516 0%, #0d9488 100%);
}

.eng-civil {
    background-image: linear-gradient(90deg, #0c0f0a 0%, #3f6212 100%);
}

.eng-aero {
    background-image: linear-gradient(90deg, #080d1a 0%, #0284c7 100%);
}

.eng-chem {
    background-image: linear-gradient(90deg, #12091a 0%, #7c3aed 100%);
}

.eng-bio {
    background-image: linear-gradient(90deg, #090e0b 0%, #047857 100%);
}

.eng-niche {
    background-image: linear-gradient(90deg, #0e0514 0%, #db2777 100%);
}

/* Horizontal flex rows layout for Engineering options */
.horizontal-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    padding-top: 210px; /* Sits directly below the floating main-header */
}

.horizontal-container .stream-block {
    flex: 1;
    width: 100%;
    height: auto;
    border-right: none;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.3, 1), filter 0.6s ease;
}

.horizontal-container .stream-block:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.horizontal-container:hover .stream-block {
    flex: 0.8;
    filter: brightness(0.65) saturate(0.85);
}

.horizontal-container .stream-block:hover {
    flex: 1.6;
    filter: brightness(1.15) saturate(1.15);
}

.horizontal-container .stream-block:hover .block-overlay {
    background-color: rgba(3, 7, 18, 0.15);
}

.horizontal-container .stream-block:hover .stream-title {
    transform: scale(1.5);
    color: #ffffff;
}

/* Single full-screen details block layout */
.single-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    padding-top: 210px; /* Sits directly below the floating main-header */
}

.single-container .arch-details {
    flex: 1;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, #0b1516 0%, #002e2b 50%, #0d9488 100%);
    transition: filter 0.6s ease;
}

.arch-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.arch-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}

.arch-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    width: 100%;
}

.arch-bullets p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.single-container .def-details {
    flex: 1;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, #0c0f0a 0%, #1c2714 50%, #3f6212 100%);
    transition: filter 0.6s ease;
}

.def-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.def-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}

.def-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    width: 100%;
}

.def-bullets p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.single-container .avi-details {
    flex: 1;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, #080d1a 0%, #054a75 50%, #0284c7 100%);
    transition: filter 0.6s ease;
}

.avi-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.avi-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}

.avi-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    width: 100%;
}

.avi-bullets p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.single-container .sci-details {
    flex: 1;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, #0f0714 0%, #3b0764 50%, #7c3aed 100%);
    transition: filter 0.6s ease;
}

.sci-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.sci-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}

.sci-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    width: 100%;
}

.sci-bullets p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.single-container .cs-details {
    flex: 1;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, #090d16 0%, #00223e 50%, #0891b2 100%);
    transition: filter 0.6s ease;
}

.cs-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.cs-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}

.cs-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    width: 100%;
}

.cs-bullets p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.single-container .ee-details {
    flex: 1;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, #07040f 0%, #1e1b4b 50%, #4338ca 100%);
}
.ee-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}
.ee-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}
.ee-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    width: 100%;
}
.ee-bullets p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.single-container .mech-details {
    flex: 1;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, #0b1516 0%, #063e3b 50%, #0d9488 100%);
}
.mech-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}
.mech-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}
.mech-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    width: 100%;
}
.mech-bullets p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.single-container .civil-details {
    flex: 1;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, #0c0f0a 0%, #20350d 50%, #3f6212 100%);
}
.civil-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}
.civil-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}
.civil-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    width: 100%;
}
.civil-bullets p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.single-container .aero-details {
    flex: 1;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, #080d1a 0%, #034b72 50%, #0284c7 100%);
}
.aero-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}
.aero-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}
.aero-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    width: 100%;
}
.aero-bullets p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.single-container .chem-details {
    flex: 1;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, #12091a 0%, #42186c 50%, #7c3aed 100%);
}
.chem-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}
.chem-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}
.chem-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    width: 100%;
}
.chem-bullets p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.single-container .bio-details {
    flex: 1;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, #090e0b 0%, #023f2b 50%, #047857 100%);
}
.bio-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}
.bio-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}
.bio-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    width: 100%;
}
.bio-bullets p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.single-container .niche-details {
    flex: 1;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, #0e0514 0%, #76184a 50%, #db2777 100%);
}
.niche-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}
.niche-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}
.niche-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    width: 100%;
}
.niche-bullets p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.single-container .med-details {
    flex: 1;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, #090e0b 0%, #06402b 50%, #0d9488 100%);
    transition: filter 0.6s ease;
}

.med-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.med-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}

.med-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    width: 100%;
}

.med-bullets p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.single-container .ayush-details {
    flex: 1;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, #0f120a 0%, #1c2e0b 50%, #4d7c0f 100%);
    transition: filter 0.6s ease;
}

.ayush-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.ayush-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}

.ayush-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    width: 100%;
}

.ayush-bullets p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

/* Overlay for dimming/ambient glow */
.block-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(3, 7, 18, 0.4);
    transition: background-color 0.6s ease;
    z-index: 1;
}

/* Content Container inside blocks */
.block-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    width: 100%;
}

/* Header/Title within block (initially smaller) */
.stream-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    /* Transform-based scaling is GPU-accelerated and pixel-perfect compared to animating font-size */
    transform: scale(1);
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.3, 1), color 0.4s ease;
}

/* --- Interactive Hover Behavior --- */

/* When the user hovers over the container, slightly dim and blur non-hovered columns */
.landing-container:hover .stream-block {
    flex: 0.85;
    filter: brightness(0.65) saturate(0.85);
}

/* The actively hovered column expands and highlights */
.landing-container .stream-block:hover {
    flex: 1.35;
    filter: brightness(1.1) saturate(1.1);
}

.landing-container .stream-block:hover .block-overlay {
    background-color: rgba(3, 7, 18, 0.15); /* Lighten overlay to reveal color */
}

/* Trigger 50% font increase on mouse-hover via GPU transform */
.landing-container .stream-block:hover .stream-title {
    transform: scale(1.5); /* 1.5x of base size represents exactly a 50% increase */
    color: #ffffff;
}

/* Fallback UI styling */
.fallback-wrapper {
    display: flex;
    height: 100vh;
    width: 100vw;
    align-items: center;
    justify-content: center;
    background-color: #030712;
    background-image: radial-gradient(circle at center, #111827 0%, #030712 100%);
    text-align: center;
    padding: 20px;
}

.fallback-header h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
    background: linear-gradient(to right, #ffffff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fallback-header p {
    font-size: 1.1rem;
    color: #9ca3af;
    margin-bottom: 30px;
    font-weight: 300;
}

.back-home-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #030712;
    background-color: #f9fafb;
    border-radius: 9999px;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.back-home-btn:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Responsive adjustment for portrait/mobile layout */
@media (max-width: 768px) {
    .horizontal-container {
        padding-top: 240px; /* Sits below the multi-row mobile nav and floating header */
    }

    .single-container {
        padding-top: 240px;
    }

    .arch-content {
        padding: 0 20px;
        justify-content: flex-start;
        overflow-y: auto; /* Allow scrolling on smaller screens if text is long */
        height: 100%;
    }

    .arch-main-title {
        font-size: 1.25rem;
    }

    .arch-bullets p {
        font-size: 0.85rem;
    }

    .def-content {
        padding: 0 20px;
        justify-content: flex-start;
        overflow-y: auto; /* Allow scrolling on smaller screens if text is long */
        height: 100%;
    }

    .def-main-title {
        font-size: 1.25rem;
    }

    .def-bullets p {
        font-size: 0.85rem;
    }

    .avi-content {
        padding: 0 20px;
        justify-content: flex-start;
        overflow-y: auto; /* Allow scrolling on smaller screens if text is long */
        height: 100%;
    }

    .avi-main-title {
        font-size: 1.25rem;
    }

    .avi-bullets p {
        font-size: 0.85rem;
    }

    .sci-content {
        padding: 0 20px;
        justify-content: flex-start;
        overflow-y: auto; /* Allow scrolling on smaller screens if text is long */
        height: 100%;
    }

    .sci-main-title {
        font-size: 1.25rem;
    }

    .sci-bullets p {
        font-size: 0.85rem;
    }

    .cs-content {
        padding: 0 20px;
        justify-content: flex-start;
        overflow-y: auto; /* Allow scrolling on smaller screens if text is long */
        height: 100%;
    }

    .cs-main-title {
        font-size: 1.25rem;
    }

    .cs-bullets p {
        font-size: 0.85rem;
    }

    .ee-content, .mech-content, .civil-content, .aero-content, .chem-content, .bio-content, .niche-content {
        padding: 0 20px;
        justify-content: flex-start;
        overflow-y: auto;
        height: 100%;
    }

    .ee-main-title, .mech-main-title, .civil-main-title, .aero-main-title, .chem-main-title, .bio-main-title, .niche-main-title {
        font-size: 1.25rem;
    }

    .ee-bullets p, .mech-bullets p, .civil-bullets p, .aero-bullets p, .chem-bullets p, .bio-bullets p, .niche-bullets p {
        font-size: 0.85rem;
    }

    .med-content {
        padding: 0 20px;
        justify-content: flex-start;
        overflow-y: auto; /* Allow scrolling on smaller screens if text is long */
        height: 100%;
    }

    .med-main-title {
        font-size: 1.25rem;
    }

    .med-bullets p {
        font-size: 0.85rem;
    }

    .ayush-content {
        padding: 0 20px;
        justify-content: flex-start;
        overflow-y: auto; /* Allow scrolling on smaller screens if text is long */
        height: 100%;
    }

    .ayush-main-title {
        font-size: 1.25rem;
    }

    .ayush-bullets p {
        font-size: 0.85rem;
    }

    .landing-container {
        flex-direction: column;
    }
    
    .stream-block {
        width: 100%;
        height: 50%;
        border-right: none;
    }
    
    .stream-block:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .main-header {
        top: 135px; /* Leave enough room for double-row mobile nav */
    }
    
    .main-header h1 {
        font-size: 1.7rem;
    }
    
    .main-header p {
        font-size: 0.8rem;
    }
    
    .landing-container:hover .stream-block {
        flex: 0.85;
    }
    
    .landing-container .stream-block:hover {
        flex: 1.35;
    }
    
    .stream-title {
        font-size: 1.15rem;
    }
}
