/* Custom CSS - Toffyfluffy Mom as a Teacher Landing Page */

/* ==========================================
   1. DESIGN SYSTEM & ROOT VARIABLES
   ========================================== */
:root {
    /* Color Palette */
    --primary: #FF8E9E;          /* Soft Rose Gold */
    --primary-hover: #F27B8C;
    --primary-light: #FFF0F2;    /* Pastel Pink Tint */
    --secondary: #D89656;        /* Warm Caramel / Toffy */
    --secondary-hover: #C68545;
    --secondary-light: #FAF2EB;  /* Light Oat Tint */
    
    --bg-cream: #FFFDF9;         /* Creamy White Base */
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;
    
    --text-dark: #2C2220;        /* Deep Cocoa / Espresso */
    --text-muted: #7C6C69;       /* Muted Warm Gray */
    --text-light: #FFFFFF;
    
    --success: #65B891;
    --accent-teal: #4EA8DE;
    --accent-teal-light: #ECF8FF;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #FFFDF9 0%, #FFF0F2 50%, #FAF2EB 100%);
    --gradient-primary: linear-gradient(135deg, #FF8E9E 0%, #FFA2B0 100%);
    --gradient-secondary: linear-gradient(135deg, #D89656 0%, #E9AA6D 100%);
    --gradient-teal: linear-gradient(135deg, #56CFE1 0%, #4EA8DE 100%);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Quicksand', sans-serif;
    --font-handwriting: 'Caveat', cursive;
    
    /* Layout & Shadows */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;
    
    --shadow-sm: 0 4px 12px rgba(44, 34, 32, 0.04);
    --shadow-md: 0 8px 24px rgba(44, 34, 32, 0.08);
    --shadow-lg: 0 16px 40px rgba(44, 34, 32, 0.12);
    --shadow-card-hover: 0 20px 48px rgba(255, 142, 158, 0.15);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================
   2. RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 500;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
}

h1 {
   /* font-size: clamp(2.2rem, 5vw, 2.2rem);*/
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ==========================================
   3. UTILITY CLASSES
   ========================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.text-center {
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--border-radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.badge.bg-gold-badge {
    background-color: var(--secondary-light);
    color: var(--secondary);
}

.highlight-text {
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0.15em;
    left: 0;
    width: 100%;
    height: 0.25em;
    background-color: var(--primary-light);
    z-index: -1;
    border-radius: 4px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--border-radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 6px 20px rgba(255, 142, 158, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 142, 158, 0.45);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--text-light);
    box-shadow: 0 6px 20px rgba(216, 150, 86, 0.25);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(216, 150, 86, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: var(--bg-cream);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.hide {
    display: none !important;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   4. HEADER & NAVIGATION
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 253, 249, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(44, 34, 32, 0.05);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-normal);
}

.main-header.scrolled .header-container {
    height: 64px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text-toffy {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--secondary);
}

.logo-text-fluffy {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--primary);
}

.logo-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
}

/* ==========================================
   5. HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    background: var(--gradient-hero);
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 1.5rem 0 2.5rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
}

/* Hero Image & Floating Badges */
.hero-image-container {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: var(--border-radius-lg);
    overflow: visible;
}

.hero-image {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transform: rotate(1deg);
    transition: var(--transition-slow);
}

.hero-image-wrapper:hover .hero-image {
    transform: rotate(0deg) scale(1.02);
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.85rem 1.25rem;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.floating-badge strong {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-dark);
    display: block;
    line-height: 1.1;
}

.floating-badge span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.badge-1 {
    top: 15%;
    left: -10%;
    animation: float-slow 4s ease-in-out infinite alternate;
}

.badge-2 {
    bottom: 12%;
    right: -5%;
    animation: float-slow 4s ease-in-out infinite alternate-reverse 1s;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* Keyframes */
@keyframes float-slow {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

/* ==========================================
   6. PHILOSOPHY SECTION
   ========================================== */
.philosophy-section {
    background-color: var(--primary-light);
    padding: 50px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-top: 1rem;
    font-weight: 400;
}

.philosophy-card {
    background-color: var(--bg-card);
    padding: 3rem 2rem 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    border: 1px solid rgba(255, 142, 158, 0.05);
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.card-icon-container {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.card-icon {
    stroke-width: 1.75px;
}

.bg-pink {
    background-color: var(--primary-light);
    color: var(--primary);
}

.bg-gold {
    background-color: var(--secondary-light);
    color: var(--secondary);
}

.bg-teal {
    background-color: var(--accent-teal-light);
    color: var(--accent-teal);
}

.philosophy-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.philosophy-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 400;
}

/* ==========================================
   7. VIDEO LIBRARY SECTION
   ========================================== */
.videos-section {
    padding: 50px 0;
    background-color: var(--bg-cream);
}

.video-grid {
    margin-top: 2rem;
}

.video-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    cursor: pointer;
    border: 1px solid rgba(44, 34, 32, 0.03);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.video-thumbnail-container {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--text-dark);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 34, 32, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-btn {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-full);
    background-color: var(--bg-white);
    color: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transform: scale(0.8);
    transition: var(--transition-normal);
}

.play-btn svg {
    margin-left: 4px;
}

.video-card:hover .play-btn {
    transform: scale(1);
}

.play-btn:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(44, 34, 32, 0.8);
    color: var(--text-light);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.video-info {
    padding: 1.5rem;
}

.video-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.font-pink { color: var(--primary); }
.font-gold { color: var(--secondary); }
.font-teal { color: var(--accent-teal); }

.video-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
}

/* ==========================================
   8. TRIBUTE WALL SECTION
   ========================================== */
.tributes-section {
    padding: 50px 0;
    background-color: var(--secondary-light);
    position: relative;
}

.tributes-wrapper {
    align-items: stretch;
}

.tribute-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 1rem 0 2.5rem;
}

.tribute-form {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: var(--border-radius-md);
    border: 2px solid rgba(44, 34, 32, 0.1);
    background-color: var(--bg-cream);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-white);
}

.char-count {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Tribute Display Wall */
.tributes-display-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tributes-display-container h3 {
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.tributes-display-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.tribute-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    max-height: 520px;
    padding-right: 0.75rem;
}

/* Custom Scrollbar for Tributes list */
.tribute-cards-grid::-webkit-scrollbar {
    width: 6px;
}
.tribute-cards-grid::-webkit-scrollbar-track {
    background: rgba(44, 34, 32, 0.05);
    border-radius: 3px;
}
.tribute-cards-grid::-webkit-scrollbar-thumb {
    background: rgba(44, 34, 32, 0.2);
    border-radius: 3px;
}
.tribute-cards-grid::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Polaroid Card Design */
.tribute-card {
    background-color: var(--bg-card);
    padding: 1.75rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--secondary);
    position: relative;
    transition: var(--transition-normal);
}

.tribute-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.tribute-card:nth-child(even) {
    border-left-color: var(--primary);
}

.tribute-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.tribute-card-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.tribute-card-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    background-color: var(--secondary-light);
    color: var(--secondary);
    border-radius: var(--border-radius-full);
    font-weight: 700;
}

.tribute-card:nth-child(even) .tribute-card-tag {
    background-color: var(--primary-light);
    color: var(--primary);
}

.tribute-card-msg {
    font-family: var(--font-handwriting);
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1.4;
    word-break: break-word;
}

/* ==========================================
   9. NEWSLETTER SECTION
   ========================================== */
.newsletter-section {
    padding: 50px 0;
    background-color: var(--bg-cream);
}

.newsletter-box {
    background: var(--gradient-teal);
    padding: 4.5rem 3rem;
    border-radius: var(--border-radius-lg);
    color: var(--text-light);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.newsletter-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(30deg);
    pointer-events: none;
}

.newsletter-box h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.newsletter-box p {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
}

.subscribe-form {
    display: flex;
    max-width: 550px;
    margin: 0 auto;
    gap: 0.75rem;
    background-color: var(--bg-white);
    padding: 0.5rem;
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-md);
}

.subscribe-form input {
    flex: 1;
    border: none;
    background: none;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
}

.subscribe-form input:focus {
    outline: none;
}

.subscribe-form .btn {
    padding: 0.75rem 2rem;
    flex-shrink: 0;
}

.success-message {
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ==========================================
   10. FOOTER
   ========================================== */
.main-footer {
    background-color: var(--text-dark);
    color: var(--bg-cream);
    padding: 3rem 0 1rem;
}

.footer-grid {
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 253, 249, 0.1);
}

.footer-brand p {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--bg-white);
    opacity: 1;
    font-weight: 400;
    max-width: 320px;
}

.footer-links,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h4,
.footer-legal h4 {
    color: var(--bg-cream);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-legal a {
    color: var(--bg-white);
    opacity: 1;
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-legal a:hover {
    opacity: 1;
    color: var(--primary);
    transform: translateX(2px);
}

.footer-bottom {
    padding-top: 2rem;
    font-size: 0.875rem;
    color: var(--bg-white);
    opacity: 1;
    font-weight: 400;
}

/* ==========================================
   11. CUSTOM VIDEO PLAYER MODAL
   ========================================== */
.modal-dialog {
    max-width: 960px;
    width: 90%;
    margin: 1.75rem auto;
}

.modal-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 5.5fr 4.5fr;
    max-height: 85vh;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-full);
    background-color: var(--bg-white);
    color: var(--text-dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 20;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.modal-video-section {
    background-color: #000;
    display: flex;
    align-items: center;
    position: relative;
}

/* YouTube Embedded Player */
.youtube-player-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}

.youtube-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Mock Player UI */
.mock-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-player-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: filter var(--transition-slow);
}

.mock-player.playing .mock-player-bg {
    filter: blur(10px) brightness(0.4);
}

.mock-player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.player-big-play {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-full);
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.player-big-play svg {
    margin-left: 6px;
}

.player-big-play:hover {
    transform: scale(1.1);
    background-color: var(--primary);
    color: var(--bg-white);
}

.mock-player.playing .player-big-play {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

/* Video Controls bar */
.player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 1.5rem 1.25rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    z-index: 10;
    color: var(--text-light);
    transition: transform var(--transition-normal);
}

.control-btn {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-time {
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.player-progress-container {
    flex: 1;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.player-progress-loaded {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.player-progress-current {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.player-progress-current::after {
    content: '';
    position: absolute;
    right: -5px;
    top: -3px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

/* Modal Info Panel */
.modal-info-section {
    padding: 3rem 2.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-category-badge {
    align-self: flex-start;
    padding: 0.35rem 0.85rem;
    background-color: var(--secondary-light);
    color: var(--secondary);
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-info-section h3 {
    font-size: 1.85rem;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-science-box {
    background-color: var(--primary-light);
    border: 1px solid rgba(255, 142, 158, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
}

.modal-science-box h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.modal-science-box p {
    font-size: 0.875rem;
    color: var(--text-dark);
}

/* Modal Navigation Footer */
.modal-nav-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid rgba(44, 34, 32, 0.05);
    gap: 1rem;
    position: sticky;
    bottom: 0;
    background-color: var(--bg-white);
    margin-left: -2.5rem;
    margin-right: -2.5rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    z-index: 10;
}

.modal-nav-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-md);
    border: 2px solid rgba(44, 34, 32, 0.1);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.modal-nav-btn:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.modal-nav-btn svg {
    transition: transform var(--transition-fast);
}

.modal-nav-btn:hover svg {
    transform: scale(1.1);
}

#modal-home-btn {
    background-color: var(--secondary-light);
    border-color: rgba(216, 150, 86, 0.1);
    color: var(--secondary);
}

#modal-home-btn:hover {
    background-color: var(--secondary);
    color: var(--bg-white);
    border-color: var(--secondary);
}

/* ==========================================
   12. RESPONSIVENESS & MEDIA QUERIES
   ========================================== */

/* Tablet (992px) */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .hero-section {
        padding: 140px 0 80px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .modal-card {
        grid-template-columns: 1fr;
        max-height: 90vh;
    }
    
    .modal-info-section {
        padding: 2rem;
    }

    #modal-title {
        font-size: 1.5rem;
    }
}

/* Mobile Nav Toggle */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* JS will toggle */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-md);
        border-bottom: 1px solid rgba(44, 34, 32, 0.05);
    }
    
    .main-header.scrolled .nav-links {
        top: 64px;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .header-cta {
        display: none; /* Save space on mobile */
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .tributes-wrapper {
        grid-template-columns: 1fr;
    }
    
    .tribute-form {
        padding: 1.5rem;
    }
    
    .newsletter-box {
        padding: 3rem 1.5rem;
    }
    
    .subscribe-form {
        flex-direction: column;
        border-radius: var(--border-radius-md);
        padding: 0.75rem;
    }
    
    .subscribe-form input {
        padding: 0.75rem;
        width: 100%;
        border-radius: var(--border-radius-md);
        margin-bottom: 0.75rem;
    }
    
    .subscribe-form .btn {
        width: 100%;
        border-radius: var(--border-radius-md);
    }

    /* Responsive Modal Nav Buttons */
    .modal-nav-footer {
        padding-top: 1rem;
        padding-bottom: 1rem;
        margin-top: 1rem;
        gap: 0.5rem;
        position: sticky;
        bottom: 0;
        background-color: var(--bg-white);
        border-top: 1px solid rgba(44, 34, 32, 0.1);
        margin-left: -2rem;
        margin-right: -2rem;
        padding-left: 2rem;
        padding-right: 2rem;
        z-index: 20;
    }

    .modal-nav-btn {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
        gap: 0.3rem;
    }

    .modal-nav-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .modal-card {
        max-height: 92vh;
        margin: 5px;
    }

    .modal-info-section {
        padding: 1.5rem;
    }

    #modal-title {
        font-size: 1.35rem;
    }

    .modal-nav-footer {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        gap: 0.4rem;
    }

    .modal-nav-btn {
        padding: 0.6rem 0.25rem;
    }

    .modal-nav-btn span {
        font-size: 0.8rem;
    }
}
        text-align: center;
    }
    
    .subscribe-form .btn {
        width: 100%;
    }
}

/* Small Screens (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .floating-badge {
        display: none; /* Hide floating badges on very small screens to prevent overlap */
    }
}

/* ==========================================
   13. PREMIUM LANGUAGE SWITCHER STYLES
   ========================================== */
.video-lang-links-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3.5rem;
    flex-wrap: wrap;
    width: 100%;
}

.video-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-light) !important;
    box-shadow: 0 8px 20px rgba(44, 34, 32, 0.08);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    text-decoration: none;
}

.video-lang-btn.english-btn {
    background: var(--gradient-primary);
    box-shadow: 0 8px 24px rgba(255, 142, 158, 0.25);
}

.video-lang-btn.hindi-btn {
    background: var(--gradient-secondary);
    box-shadow: 0 8px 24px rgba(216, 150, 86, 0.25);
}

.video-lang-btn:hover {
    transform: translateY(-4px) scale(1.03);
    color: var(--text-light) !important;
}

.video-lang-btn.english-btn:hover {
    box-shadow: 0 12px 30px rgba(255, 142, 158, 0.45);
}

.video-lang-btn.hindi-btn:hover {
    box-shadow: 0 12px 30px rgba(216, 150, 86, 0.45);
}

.video-lang-btn .btn-arrow {
    transition: transform 0.3s ease;
}

.video-lang-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ==========================================
   14. SITE BREADCRUMB STYLES
   ========================================== */
.breadcrumb-area {
    position: relative;
    padding: 3.3rem 0; /* More padding for a generous banner look */
    margin-top: 60px; /* Accounts for the fixed header height */
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--primary-light) 50%, var(--secondary-light) 100%);
    border-bottom: 1px solid rgba(255, 142, 158, 0.1);
    overflow: hidden;
    z-index: 1;
}

/* Background Glow Elements */
.breadcrumb-area::before,
.breadcrumb-area::after {
    content: '';
    position: absolute;
    border-radius: var(--border-radius-full);
    filter: blur(60px);
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

.breadcrumb-area::before {
    width: 250px;
    height: 250px;
    background: var(--primary);
    top: -50px;
    left: -50px;
}

.breadcrumb-area::after {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -80px;
    right: -50px;
}

.breadcrumb-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.custom-breadcrumb-nav {
    display: flex;
    justify-content: center; /* Centers the breadcrumb pill */
    position: relative;
    z-index: 2;
}

.custom-breadcrumb-nav .breadcrumb {
    margin-bottom: 0;
    padding: 0.75rem 2.25rem; /* Increased inner padding of the pill */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius-full);
    display: inline-flex;
    box-shadow: 0 10px 30px rgba(44, 34, 32, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-breadcrumb-nav .breadcrumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 142, 158, 0.12);
}

.custom-breadcrumb-nav .breadcrumb-item {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.custom-breadcrumb-nav .breadcrumb-item a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.custom-breadcrumb-nav .breadcrumb-item a svg {
    transition: transform 0.3s ease;
}

.custom-breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--primary);
}

.custom-breadcrumb-nav .breadcrumb-item a:hover svg {
    transform: scale(1.15) rotate(-5deg);
}

.custom-breadcrumb-nav .breadcrumb-item.active {
    color: var(--primary);
    font-weight: 700;
}

/* Custom separator chevron icon */
.custom-breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-size: 1.4rem;
    line-height: 1;
    vertical-align: middle;
    color: var(--primary);
    padding: 0 0.75rem;
}
