/* --- Variables & Global --- */
:root {
    --theme-maroon: #962d2d;
    --theme-maroon-dark: #7a2424;
    --theme-bg: #f0f2f5; 
    --theme-yellow: #FFFF00;
    --theme-blue: #007BFF;
    --footer-light: #ff6b6b;
    --kiddish-radius: 20px; 
}

body {
    background-color: var(--theme-bg);
    font-family: 'Roboto', sans-serif;
    color: #333;
    overflow-x: hidden; 
}

h1, h2, h3, .school-name {
    font-family: 'Playfair Display', serif;
}

.rounded-4 {
    border-radius: var(--kiddish-radius) !important;
}

.text-warning-dark {
    color: #d4ac0d; /* Darker yellow for text visibility */
}

/* --- ANIMATIONS & KEYFRAMES --- */
@keyframes wiggle {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
    75% { transform: rotate(-3deg); }
    100% { transform: rotate(0deg); }
}
.hover-wiggle:hover {
    animation: wiggle 0.5s ease-in-out;
}

@keyframes bounceSmall {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.hover-bounce:hover {
    animation: bounceSmall 0.4s ease-in-out;
}

/* DISABLED PULSE ANIMATION */
.animate-pulse {
    /* animation: pulse 2s infinite; */ 
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 40px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.animate-on-scroll { opacity: 0; }
.animate-on-scroll.visible { animation: fadeInUp 0.8s ease-out forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }


/* --- Header --- */
.header-bar { box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.school-name { font-size: 1.8rem; font-weight: 700; color: #2c3e50; line-height: 1.1; }
.school-logo { transition: transform 0.3s; border-radius: 50%; }
.school-sub { font-size: 0.9rem; font-weight: 500; }

.page-title-strip {
    background-color: var(--theme-maroon);
    border-top: 4px solid #b73e3e;
    box-shadow: 0 4px 8px rgba(150, 45, 45, 0.3);
}
.page-title-strip h2 { text-shadow: 1px 1px 3px rgba(0,0,0,0.2); }

/* --- Floating Widgets --- */


/* --- Content --- */
.content-box { box-shadow: 0 10px 30px rgba(0,0,0,0.08); border: 2px solid rgba(0,0,0,0.05); }

.playful-underline { position: relative; display: inline-block; }
.playful-underline::after {
    content: ''; display: block; width: 50%; height: 4px;
    background: linear-gradient(to right, var(--theme-maroon), var(--theme-yellow));
    border-radius: 4px; margin-top: 5px; transition: width 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.playful-underline:hover::after { width: 100%; }

.learning-list li {
    font-size: 1.1rem; margin-bottom: 15px; padding: 15px 15px 15px 40px;
    list-style: none; background-color: #f8f9fa; border-radius: var(--kiddish-radius);
    position: relative; transition: all 0.3s; border-left: 4px solid var(--theme-maroon);
}
.learning-list li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    color: var(--theme-maroon); position: absolute; left: 15px; top: 50%;
    transform: translateY(-50%); font-size: 1.2rem;
}
.learning-list li.hover-lift:hover {
    transform: translateX(10px) translateY(-3px); background-color: #fff;
    box-shadow: 0 5px 15px rgba(150, 45, 45, 0.15); border-left-color: var(--theme-blue);
}
.learning-list li.hover-lift:hover::before {
    color: var(--theme-blue); animation: bounceSmall 0.5s;
}

/* --- Images Zoom --- */
.img-hover-zoom {
    overflow: hidden; border-radius: var(--kiddish-radius);
    border: 3px solid white; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.img-hover-zoom img { transition: transform 0.5s ease; }
.img-hover-zoom:hover img { transform: scale(1.1) rotate(2deg); }
.img-hover-zoom:hover {
    box-shadow: 0 10px 25px rgba(150, 45, 45, 0.2); border-color: var(--theme-maroon);
}



.contact-info li { padding: 5px; border-radius: 10px; transition: 0.3s; }
.contact-info li.hover-lift:hover {
    background-color: rgba(255,255,255,0.1); transform: translateX(5px);
    color: var(--theme-yellow) !important;
}
.contact-info li:hover i { animation: wiggle 0.5s; }

/*.copyright-strip {*/
/*    background-color: var(--footer-light); color: #fff;*/
/*    border-bottom-left-radius: 30px; border-bottom-right-radius: 30px;*/
/*}*/

/* --- Back to Top --- */
#myBtn {
    display: none; position: fixed; bottom: 25px; right: 25px; z-index: 99;
    font-size: 20px; border: 3px solid white; outline: none;
    background-color: var(--theme-maroon); color: white;
    cursor: pointer; width: 50px; height: 50px; border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: 0.3s;
}
#myBtn:hover {
    background-color: var(--theme-maroon-dark); transform: scale(1.1);
}

/* =========================================================================
   CUSTOM CSS FLOWCHART (Kiddish Style & Clickable)
   ========================================================================= */

.flow-container {
    padding: 20px;
}

.flow-grid {
    display: flex;
    flex-direction: column; /* Mobile first: Vertical Stack */
    gap: 15px;
    align-items: center;
}

/* The Flowchart Box (Now Clickable Links) */
.flow-step {
    background: white;
    color: white !important; /* Force text to be white */
    padding: 20px 15px;
    border-radius: 20px;
    width: 200px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
    border: 3px solid rgba(255,255,255,0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    z-index: 2;
    display: block; /* Makes anchor tag behave like a box */
    text-decoration: none; /* Removes underline */
    cursor: pointer;
}

.flow-step:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
    z-index: 3;
    color: white; /* Keep text white */
}

.flow-step i { font-size: 2rem; display: block; }
.flow-step h5 { margin: 0; font-size: 1rem; font-weight: bold; text-transform: uppercase; }

/* Kiddish Colors */
.color-red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.color-green { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.color-purple { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.color-blue { background: linear-gradient(135deg, #3498db, #2980b9); }
.color-orange { background: linear-gradient(135deg, #f1c40f, #f39c12); color: #333 !important; }
.color-pink { background: linear-gradient(135deg, #ff9ff3, #f368e0); }
.color-lime { background: linear-gradient(135deg, #badc58, #6ab04c); }
.color-dark-purple { background: linear-gradient(135deg, #4834d4, #686de0); }

.big-finish {
    width: 220px;
    background: linear-gradient(135deg, #d63031, #eb4d4b);
    transform: scale(1.05);
}

.big-finish:hover {
    transform: scale(1.15) rotate(-2deg);
}

/* Arrows */
.flow-arrow {
    color: #ccc;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Arrows are decorative only */
}

/* DESKTOP LAYOUT (Snake Grid) */
@media (min-width: 992px) {
    .flow-grid {
        display: grid;
        /* 5 Columns: Box - Arrow - Box - Arrow - Box */
        grid-template-columns: 200px 50px 200px 50px 200px;
        /* Rows for the snake pattern */
        grid-template-rows: auto 50px auto 50px auto; 
        justify-content: center;
        gap: 0;
    }

    /* Force arrows to be centered in their grid cells */
    .flow-arrow { width: 100%; height: 100%; }

    /* ROW 1 */
    .flow-step:nth-child(1) { grid-row: 1; grid-column: 1; }
    .flow-arrow:nth-child(2) { grid-row: 1; grid-column: 2; }
    .flow-step:nth-child(3) { grid-row: 1; grid-column: 3; }
    .flow-arrow:nth-child(4) { grid-row: 1; grid-column: 4; }
    .flow-step:nth-child(5) { grid-row: 1; grid-column: 5; }

    /* Connector Down 1 */
    .row-1-2 { grid-row: 2; grid-column: 5; }

    /* ROW 2 (Reversed Order visual, but grid places them specifically) */
    .flow-step:nth-child(7) { grid-row: 3; grid-column: 5; } /* Blue Box */
    .flow-arrow:nth-child(8) { grid-row: 3; grid-column: 4; } /* Left Arrow */
    .flow-step:nth-child(9) { grid-row: 3; grid-column: 3; } /* Orange Box */
    .flow-arrow:nth-child(10) { grid-row: 3; grid-column: 2; } /* Left Arrow */
    .flow-step:nth-child(11) { grid-row: 3; grid-column: 1; } /* Pink Box */

    /* Connector Down 2 */
    .row-2-3 { grid-row: 4; grid-column: 1; }

    /* ROW 3 */
    .flow-step:nth-child(13) { grid-row: 5; grid-column: 1; } /* Outdoor */
    .flow-arrow:nth-child(14) { grid-row: 5; grid-column: 2; } /* Right Arrow */
    .flow-step:nth-child(15) { grid-row: 5; grid-column: 3; } /* Story */
    .flow-arrow:nth-child(16) { grid-row: 5; grid-column: 4; } /* Right Arrow */
    .flow-step:nth-child(17) { grid-row: 5; grid-column: 5; } /* Goodbye */
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .flow-arrow.right i:before { content: "\f063"; } /* Turn right arrows into down arrows */
    .flow-arrow.left i:before { content: "\f063"; } /* Turn left arrows into down arrows */
    .flow-arrow.down { display: flex; } /* Keep down arrows */
    .row-1-2, .row-2-3 { display: none; } /* Hide the special grid connectors */
}

/* =========================================================================
   TIMELINE SECTION STYLES
   ========================================================================= */

.timeline-section {
    overflow: hidden;
}

.timeline-section .section-subtitle {
    color: #666;
    font-size: 1.1rem;
}

/* Timeline Container */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

/* The Vertical Center Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--theme-yellow); /* Yellow/Orange Line */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

/* Timeline Items (Half Width) */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    /* Clean Initial State for JS Animation */
    opacity: 0; 
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Left and Right positions */
.left { left: 0; }
.right { left: 50%; }

/* The Dots on the Line */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    right: -11px; /* Position for Left Items */
    background-color: #fff;
    border: 5px solid var(--theme-maroon); /* Maroon Dot Border */
    top: 20px;
    border-radius: 50%;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Fix dot position for Right Items */
.right::after {
    left: -11px;
}

/* Hover Effect for Dot */
.timeline-item:hover::after {
    background-color: var(--theme-maroon);
    transform: scale(1.3);
}

/* Content Box */
.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent; 
}

/* Subtle lift on hover */
.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    border-color: var(--theme-yellow); 
}

/* Images */
.timeline-content .image-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #eee;
}

/* Text Styling */
.text-box h3 {
    margin: 10px 0 5px;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 700;
}

.text-box p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.time-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: #e0f7fa;
    color: #0097a7;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
}

/* Little Arrows pointing to the line */
.left .timeline-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: -10px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.right .timeline-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: -10px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

/* --- Responsive (Mobile) --- */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px; 
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .left, .right {
        left: 0;
    }

    .timeline-item::after {
        left: 20px;
    }

    .left .timeline-content::before, 
    .right .timeline-content::before {
        left: -10px; 
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
}

/* --- NEW: Breadcrumb Header Style (Like Image) --- */
.breadcrumb-strip {
    background-color: var(--theme-maroon); /* Dark Red Background */
    padding: 110px 0 40px 0;
    margin-bottom: 0; /* Flush with header */
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.breadcrumb-heading {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb-link {
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent; /* Invisible underline initially */
    transition: all 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--theme-yellow); /* Turn yellow on hover */
    border-bottom: 2px solid var(--theme-yellow); /* Add underline on hover */
}

.breadcrumb-current {
    color: #ffd700; /* Gold/Yellow for current page */
    font-weight: 400;
}

.separator {
    margin: 0 10px;
    color: rgba(255,255,255,0.6);
}



/* --- Sidebar / Offcanvas Styling --- */
.dark-sidebar {
    background-color: #2c3e50; /* Dark Blue-Grey from image */
    color: white;
    width: 300px; /* Adjust width if needed */
}

.dark-sidebar .offcanvas-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dark-sidebar .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-size: 0.95rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.dark-sidebar .nav-link:hover {
    color: var(--theme-yellow) !important;
    padding-left: 10px; /* Slide effect on hover */
    background-color: rgba(255,255,255,0.05);
}

.dark-sidebar .nav-link i {
    width: 25px; /* Fixed width for icons alignment */
    text-align: center;
}

/* Dropdown Menu inside Sidebar */
.dark-sidebar .dropdown-menu-dark {
    background-color: #22303f;
    border: none;
    margin-top: 0;
    border-left: 3px solid var(--theme-yellow);
}

.dark-sidebar .dropdown-item {
    color: rgba(255,255,255,0.8);
    padding: 8px 20px;
}

.dark-sidebar .dropdown-item:hover {
    background-color: transparent;
    color: var(--theme-yellow);
}

/* Close Button Override */
.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* ===== GALLERY LIGHTBOX ===== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  animation: zoomIn 0.4s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.3s;
}

.lightbox-close:hover {
  transform: scale(1.2) rotate(90deg);
}

/* Animations */
@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Cursor */
.gallery-item img {
  cursor: pointer;
}
/* Gallery image wrapper */
.gallery-item {
  height: 300px;              /* 🔥 FIXED HEIGHT (change if needed) */
  overflow: hidden;
  border-radius: 1rem;
}

/* Image behavior */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* 🔥 Crops image nicely */
  transition: transform 0.5s ease;
}

/* Optional hover zoom */
.gallery-item:hover img {
  transform: scale(1.08);
}
/* Gallery box */
.gallery-item {
  position: relative;
  height: 260px;              /* 🔥 SAME SIZE FOR ALL */
  overflow: hidden;
}

/* Image */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Caption text */
.gallery-caption {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  pointer-events: none;
}

/* Optional hover zoom */
.img-hover-zoom:hover img {
  transform: scale(1.08);
  transition: transform 0.4s ease;
}

/* Mobile */
@media (max-width: 768px) {
  .gallery-item {
    height: 220px;
  }
}
/* ==============================
   EQUAL SIZE GALLERY IMAGES
============================== */
.img-hover-zoom {
  height: 260px;              /* SAME SIZE FOR ALL */
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.img-hover-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* MAINTAINS ASPECT RATIO */
  transition: transform 0.4s ease;
}

.img-hover-zoom:hover img {
  transform: scale(1.05);
}

/* ==============================
   FULLSCREEN IMAGE VIEW
============================== */
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.image-modal.active {
  opacity: 1;
  pointer-events: all;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* Close button */
.image-modal .close-btn {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.image-modal .close-btn:hover {
  transform: scale(1.2);
}

/* Mobile tweak */
@media (max-width: 768px) {
  .img-hover-zoom {
    height: 220px;
  }
}

/* ==================================================
   GALLERY FIX – ADD ONLY (DO NOT DELETE ABOVE CODE)
================================================== */

/* Force equal size without affecting existing hover styles */
.img-hover-zoom {
  height: 260px;
}

/* Ensure images fill box correctly */
.img-hover-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fullscreen modal (used by JS) */
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.image-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.image-modal .close-btn {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
}

.image-modal .close-btn:hover {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .img-hover-zoom {
    height: 220px;
  }
}
.daily-rhythm-adventure {
    padding: 100px 0;
    position: relative;
    background-color: #fffaf0;
    overflow: hidden;
}

.kiddish-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/kids-icons.png');
    opacity: 0.25;
    z-index: 0;
}

.relative-z { position: relative; z-index: 2; }

/* Grid Layout with Area Mapping */
.adventure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas: 
        "s1 s2 s3"
        "s6 s5 s4"
        "s7 s8 s9";
    gap: 80px 40px;
    max-width: 1100px;
    margin: 60px auto;
    position: relative;
}

/* Mapping steps to the zigzag flow */
.step-1 { grid-area: s1; } .step-2 { grid-area: s2; } .step-3 { grid-area: s3; }
.step-4 { grid-area: s4; } .step-5 { grid-area: s5; } .step-6 { grid-area: s6; }
.step-7 { grid-area: s7; } .step-8 { grid-area: s8; } .step-9 { grid-area: s9; }

/* SVG Path Styling */
.adventure-path {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
}

.path-line {
    fill: none;
    stroke: #ffbb33;
    stroke-width: 6;
    stroke-dasharray: 12, 10;
    stroke-linecap: round;
    opacity: 0.6;
}

/* Creative Blob Cards */
.play-card {
    display: block;
    text-decoration: none !important;
    background: white;
    /* Blob Shape */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    padding: 30px 20px;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.05);
    border: 3px solid #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.play-card:hover {
    transform: translateY(-10px) rotate(-2deg);
    box-shadow: 15px 15px 40px rgba(0,0,0,0.1);
    border-color: #ffd700;
}

.blob-icon {
    width: 85px; height: 85px;
    border-radius: 50%;
    margin: -50px auto 20px; /* Pull icon up slightly */
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    animation: iconPulse 3s infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.play-info h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 800; color: #2c3e50; font-size: 1.4rem; margin-bottom: 8px;
}

.play-info p { color: #666; font-size: 1rem; line-height: 1.3; }

/* Colors */
.bg-red { background: #ff7675; } .bg-green { background: #55efc4; } 
.bg-purple { background: #a29bfe; } .bg-blue { background: #74b9ff; }
.bg-orange { background: #fab1a0; } .bg-pink { background: #fd79a8; }
.bg-lime { background: #badc58; } .bg-indigo { background: #6c5ce7; }
.bg-dark-red { background: #d63031; }

/* Responsive Flow */
@media (max-width: 991px) {
    .adventure-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "s1" "s2" "s3" "s4" "s5" "s6" "s7" "s8" "s9";
        gap: 60px;
    }
    .adventure-path { display: none; }
    .play-card { margin: 0 auto; max-width: 350px; }
}
/* ================= PANCHAKOSH CLEAN DESIGN ================= */

.panchakosh-section {
    padding: 90px 0;
    background: #fdfdfd;
}

.panchakosh-collage {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers the 2 bottom cards below the top 3 */
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Base Card Style */
.kosha-card {
    display: block;
    text-decoration: none;
    width: 300px;
    height: 380px;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    transition: transform .4s cubic-bezier(.175, .885, .32, 1.275), box-shadow .4s ease;
    z-index: 1;
}

/* FRONT FACE (ENHANCED & CLEAN) */
.kosha-front {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    background: #fff;
}

.icon-wrapper {
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    overflow: hidden; /* Ensures the image doesn't bleed out of the circle */
}

/* IMAGE FIX: This ensures your 4K images cover the entire circle */
.icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fills the circle without stretching */
    border-radius: 50%;
    display: block;
}

.kosha-front h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: #333;
    margin-bottom: 10px;
}

.kosha-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #777;
    background: #f3f3f3;
    padding: 6px 15px;
    border-radius: 50px;
}

/* BACK OVERLAY (ON HOVER) */
.kosha-back {
    position: absolute;
    inset: 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all .4s ease;
}

.sanskrit {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: 1.3rem;
    color: #800000;
    margin-bottom: 15px;
    font-weight: 600;
}

.meaning {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.explore-btn {
    font-size: 0.85rem;
    font-weight: 700;
    color: #800000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* HOVER / ACTIVE LOGIC - Optimized for Interactivity */
.panchakosh-collage.focused .kosha-card {
    filter: blur(3px);
    opacity: 0.4;
}

.panchakosh-collage.focused .kosha-card.active {
    filter: none;
    opacity: 1;
    z-index: 10;
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.kosha-card.active .kosha-back {
    opacity: 1;
    transform: translateY(0);
}

/* TOP BORDERS */
.annamaya { border-top: 6px solid #ff7675; }
.pranamaya { border-top: 6px solid #00b894; }
.manomaya { border-top: 6px solid #74b9ff; }
.vijnanamaya { border-top: 6px solid #a29bfe; }
.anandamaya { border-top: 6px solid #feca57; }

/* RESPONSIVENESS */
@media (max-width: 991px) {
    .kosha-card {
        width: 45%; /* 2 per row on tablets */
    }
}

@media (max-width: 650px) {
    .kosha-card {
        width: 100%; /* 1 per row on mobile */
        max-width: 320px;
    }
}

/* --- UNIFIED CONTAINER --- */
.unified-divine-experience {
    padding: 120px 0;
    background: radial-gradient(circle at top, #fffaf0 0%, #ffffff 60%, #fff9f0 100%);
    position: relative; overflow: hidden;
}

/* --- PARALLAX BACKGROUND --- */
/* The background icons are now hidden as per your request. */
.parallax-bg { 
    display: none; 
    position: absolute; inset: 0; z-index: 1; pointer-events: none; 
}
.parallax-item { position: absolute; font-size: 2.5rem; color: rgba(128, 0, 0, 0.05); }

/* --- INTRO TEXT --- */
.shastra-intro {
    max-width: 800px; margin: 0 auto;
    font-size: 1.15rem; line-height: 1.8; color: #555;
}

/* --- CARDS (RESTORED STYLE) --- */
.panchakosh-collage {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 30px; position: relative; z-index: 10; margin-top: 50px;
}

.kosha-card {
    display: block; text-decoration: none; width: 310px; height: 400px;
    border-radius: 25px; background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden; border: 1px solid rgba(0,0,0,0.02);
}

.kosha-front {
    height: 100%; padding: 30px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
}

.icon-wrapper {
    width: 140px; height: 140px; border-radius: 50%; 
    overflow: hidden; margin-bottom: 25px; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.icon-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.kosha-front h4 {
    font-family: 'Playfair Display', serif; font-weight: 800;
    font-size: 1.4rem; color: #2c3e50; margin-bottom: 8px;
}

.kosha-tag {
    font-size: 0.75rem; font-weight: 700; color: #800000;
    background: rgba(128, 0, 0, 0.05); padding: 6px 16px; border-radius: 50px;
    text-transform: uppercase; letter-spacing: 1px;
}

/* --- BACK CONTENT --- */
.kosha-back {
    position: absolute; inset: 0; padding: 30px;
    background: rgba(255, 255, 255, 0.98);
    display: flex; flex-direction: column; justify-content: center;
    opacity: 0; transform: translateY(20px); transition: all 0.4s ease;
}

.kosha-card:hover .kosha-back { opacity: 1; transform: translateY(0); }

.sanskrit {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: 1.2rem; color: #800000; margin-bottom: 15px; font-weight: 600;
}

.kosha-points {
    list-style: none; padding: 0; margin: 0; text-align: left;
}

.kosha-points li {
    font-size: 0.9rem; color: #555; margin-bottom: 10px;
    padding-left: 20px; position: relative; line-height: 1.4;
}

.kosha-points li::before {
    content: '✦'; position: absolute; left: 0; color: #feca57;
}

/* TOP BORDERS */
.annamaya { border-top: 6px solid #ff7675; }
.pranamaya { border-top: 6px solid #00b894; }
.manomaya { border-top: 6px solid #74b9ff; }
.vijnanamaya { border-top: 6px solid #a29bfe; }
.anandamaya { border-top: 6px solid #feca57; }

/* Responsive */
@media (max-width: 991px) {
    .kosha-card { width: 45%; }
}

/* (Existing Portal Styles...) */

/* --- NEW: Enhancements for Individual Panchakosh Pages --- */

/* 1. Bouncing Fun Icon Wrapper */
.fun-icon-wrapper {
    width: 100px; height: 100px;
    background: #fff5cc; /* Soft sunny yellow */
    border: 3px solid var(--theme-yellow);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    animation: bounceSmall 3s infinite ease-in-out;
}
.fun-icon-wrapper i { color: var(--theme-maroon); }

/* 2. Playful Blob Background behind Images */
.image-blob-container { position: relative; z-index: 1; padding: 20px; }
.image-blob-container::before {
    content: ''; position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    width: 100%; padding-bottom: 90%; /* Creates the aspect ratio */
    background-color: #e0f4ff; /* Soft kiddish blue blob */
    border-radius: 40% 60% 70% 30% / 50% 60% 30% 70%; /* Organic shape */
    z-index: -1; opacity: 0.8;
    animation: wiggle 10s infinite linear; /* Slow gentle movement */
}
/* Alternate blob color for variety */
.blob-alt::before { background-color: #fff0f0; /* Soft pink/maroon blob */ }

/* Ensure images inside the blob look great */
.image-blob-container .img-hover-zoom {
    border-radius: 30px; /* Softer corners */
    border: 4px solid white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* ================================
   🌈 RAINBOW WELCOME SKY (FINAL)
================================ */

#rainbow-welcome-sky {
  height: 85vh;                 /* adjusted for navbar above */
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Sky container */
.sky-bg {
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom, #bdeffd, #ffffff);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;   /* 👈 moved up */
  flex-direction: column;
  padding-top: 60px;             /* 👈 ensures full visibility */
}

/* ================= CLOUDS (BACKGROUND) ================= */

.cloud {
  position: absolute;
  width: 180px;
  height: 70px;
  background: white;
  border-radius: 50px;
  opacity: 0.85;
  z-index: 1;                    /* 👈 BEHIND RAINBOW */
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: white;
  border-radius: 50%;
}

.cloud::before {
  width: 80px;
  height: 80px;
  top: -40px;
  left: 20px;
}

.cloud::after {
  width: 100px;
  height: 100px;
  top: -50px;
  right: 20px;
}

.cloud-left {
  top: 15%;
  left: -220px;
  animation: cloudMoveLeft 25s linear infinite;
}

.cloud-right {
  top: 22%;
  right: -220px;
  animation: cloudMoveRight 30s linear infinite;
}

/* ================= SUN ================= */

.sun {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 90px;
  height: 90px;
  background: #ffd93b;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(255, 217, 59, 0.6);
  animation: sunBounce 4s ease-in-out infinite;
  z-index: 1;
}

/* ================= RAINBOW ================= */

.rainbow {
  width: 520px;                  /* 👈 reduced size */
  max-width: 90%;
  margin-top: 40px;
  position: relative;
  z-index: 1;                    /* 👈 ABOVE CLOUDS */
}

.rb {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawRainbow 2s ease forwards;
}

.r1 { stroke: #ff6b6b; animation-delay: 0.2s; }
.r2 { stroke: #feca57; animation-delay: 0.4s; }
.r3 { stroke: #48dbfb; animation-delay: 0.6s; }
.r4 { stroke: #1dd1a1; animation-delay: 0.8s; }

/* ================= TEXT ================= */

.welcome-text {
  margin-top: 25px;
  text-align: center;
  animation: textRise 1.2s ease forwards;
  opacity: 0;
  position: relative;
  z-index: 1;                    /* 👈 TOP MOST */
}

.welcome-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: #2c3e50;
}

.welcome-text p {
  font-size: 1.2rem;
  color: #555;
}

/* ================= ANIMATIONS ================= */

@keyframes drawRainbow {
  to { stroke-dashoffset: 0; }
}

@keyframes textRise {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes cloudMoveLeft {
  from { left: -220px; }
  to { left: 110%; }
}

@keyframes cloudMoveRight {
  from { right: -220px; }
  to { right: 110%; }
}

@keyframes sunBounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width: 768px) {
  #rainbow-welcome-sky {
    height: 75vh;
  }

  .sky-bg {
    padding-top: 40px;
  }

  .welcome-text h1 {
    font-size: 2rem;
  }
}

/* =========================================================================
   REFRACTORED STYLES FROM INDEX.HTML (INLINE & INTERNAL)
   ========================================================================= */

/* --- From Internal <style> Block --- */
:root {
    --k-maroon: #800000;
    --k-gold: #f39c12;
    --k-bg-light: #ffffff;
    
    /* Playful Palette */
    --c-red: #ff6b6b;
    --c-blue: #48dbfb;
    --c-green: #1dd1a1;
    --c-purple: #5f27cd;
    --c-yellow: #feca57;
}

.k-section-container {
    font-family: 'Roboto', sans-serif;
    background-color: var(--k-bg-light);
   /*padding: 90px 0;*/
    overflow: hidden;
}

/* Headings */
.k-heading-main {
    font-family: 'Playfair Display', serif;
    color: var(--k-maroon);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}
/* Colorful Underline for Heading */
.k-heading-main::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: linear-gradient(to right, var(--c-red), var(--c-blue), var(--c-green), var(--c-yellow));
    margin: 10px auto 0;
    border-radius: 2px;
}

.k-sub-text {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

/* --- SECTION 1: TEAM & GALLERY --- */
.team-panel {
    background: #fff;
    border-radius: 20px;
    padding: 45px;
    border-left: 6px solid var(--c-red); /* Colorful Border */
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.3s;
}
.team-panel:hover { transform: translateY(-5px); border-left-color: var(--c-blue); }

.gallery-thumb {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 15px;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}
/* Colorful hover borders for images */
.g-img-1:hover { border-color: var(--c-red); transform: scale(1.05); }
.g-img-2:hover { border-color: var(--c-green); transform: scale(1.05); }

/* --- SECTION 2: TESTIMONIALS (Colorful Cards) --- */
.testi-strip {
    display: flex;
    gap: 25px;
    margin-bottom: 70px;
}
.testi-card-mini {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border-top: 5px solid; /* Dynamic Color */
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    flex: 1;
    transition: 0.3s;
    position: relative;
}
.testi-card-mini:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }

/* Individual Card Colors */
.tc-1 { border-top-color: var(--c-red); }
.tc-1 .quote-icon { color: var(--c-red); opacity: 0.2; }

.tc-2 { border-top-color: var(--c-blue); }
.tc-2 .quote-icon { color: var(--c-blue); opacity: 0.2; }

.tc-3 { border-top-color: var(--c-green); }
.tc-3 .quote-icon { color: var(--c-green); opacity: 0.2; }

/* --- SECTION 3: SKILLS & FORM (50:50 SPLIT) --- */
.skills-col { padding-right: 40px; }

/* Colorful Skill Cards */
.skill-row-item {
    background: white;
    padding: 15px 20px;
    margin-bottom: 18px;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    border-left: 6px solid; /* Dynamic Color */
    display: flex;
    align-items: center;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.skill-row-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Skill Colors */
.sk-red { border-left-color: var(--c-red); }
.sk-red .skill-icon { background: #fff0f0; color: var(--c-red); }

.sk-yellow { border-left-color: var(--c-yellow); }
.sk-yellow .skill-icon { background: #fffbf0; color: #f39c12; }

.sk-blue { border-left-color: var(--c-blue); }
.sk-blue .skill-icon { background: #f0fbff; color: var(--c-blue); }

.sk-green { border-left-color: var(--c-green); }
.sk-green .skill-icon { background: #f0fff9; color: var(--c-green); }

.sk-purple { border-left-color: var(--c-purple); }
.sk-purple .skill-icon { background: #f5f0ff; color: var(--c-purple); }

.skill-icon {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-right: 20px;
    flex-shrink: 0;
}
.skill-text {
    font-weight: 700;
    color: #444;
    font-size: 1.1rem;
}

/* Right Side: Professional Form */
.form-card-pro {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 2px solid #f0f0f0;
    border-top: 8px solid var(--k-maroon);
    position: relative;
}
.form-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--k-maroon);
}
.input-pro {
    border: 2px solid #eee;
    padding: 12px 15px;
    border-radius: 10px;
    width: 100%;
    transition: 0.3s;
    background: #fdfdfd;
}
.input-pro:focus {
    border-color: var(--k-maroon);
    background: white;
    outline: none;
}
.btn-pro {
    background-color: var(--k-maroon);
    color: white;
    font-weight: 700;
    padding: 15px;
    width: 100%;
    border: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 15px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(128, 0, 0, 0.2);
}
.btn-pro:hover {
    background-color: #333;
    color: var(--c-yellow);
    transform: translateY(-3px);
}
.form-deco {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 4rem;
    color: var(--c-yellow);
    opacity: 0.3;
    transform: rotate(15deg);
}

/* Responsive */
@media (max-width: 991px) {
    .skills-col { padding-right: 0; margin-bottom: 50px; }
    .testi-strip { flex-direction: column; }
}

/* --- Extracted Inline Styles (Custom Classes) --- */

.bg-safety-dark {
    background: #2c3e50 !important;
}

/* Educator Section */
.educator-title {
    color: var(--k-maroon);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 15px;
}
.educator-desc {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}
.text-c-blue {
    color: var(--c-blue);
}

/* Parent Testimonial Labels */
.parent-label-red { color: var(--c-red); font-size: 0.85rem; }
.parent-label-blue { color: var(--c-blue); font-size: 0.85rem; }
.parent-label-green { color: var(--c-green); font-size: 0.85rem; }

/* Skill Section Heading Override */
.skill-section-title {
    font-size: 2rem;
    color: #333;
    text-transform: none;
    border: none;
}

/* Skill Preview Box */
#skillPreview {
    position: absolute;
    display: none;
    z-index: 50;
    pointer-events: none;
}
#skillPreviewImg {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Footer Map Container */
/*.map-placeholder {*/
/*    height: 150px;*/
/*    width: 100%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    color: #333;*/
/*    overflow: hidden;*/
/*}*/

/* =========================================================================
   CCTV PAGE STYLES
   ========================================================================= */
.gallery-item {
    cursor: pointer;
}
/* Modal Image Styling */
#imageModal .modal-content {
    background-color: transparent;
    border: none;
}
#imageModal .modal-body {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
#imageModal img {
    max-height: 85vh;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.btn-close-white-modal {
    position: absolute;
    top: -30px;
    right: 0;
    z-index: 1055;
    filter: invert(1);
}

/* =========================================================================
   FACILITIES PAGE STYLES (Restored)
   ========================================================================= */
/* Zig-Zag Row Layout */
.facility-row {
  padding: 50px 0;
  border-radius: 30px;
  margin-bottom: 40px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); /* Subtle shadow for depth */
}

/* Alternating Backgrounds */
.facility-row:nth-child(odd) {
  background-color: #eafbf3; /* Soft Mint Green */
}
.facility-row:nth-child(even) {
  background-color: #fff9e6; /* Soft Cream Yellow */
}

.facility-text-box {
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* Align text and button to left */
}

.facility-title {
  font-family: "Playfair Display", serif;
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Fixed Image Alignment */
.facility-img-frame {
  border: 8px solid white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
  height: 350px; /* Fixed height for perfect alignment */
  width: 100%;
}

.facility-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the area without stretching */
}

.facility-row:hover .facility-img-frame {
  transform: scale(1.03) rotate(1deg); /* Playful Tilt on Hover */
}

/* Kiddish Buttons */
.btn-kiddish {
  background-color: #333;
  color: white;
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s;
  border: none;
  margin-top: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-kiddish:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  color: white;
}

/* Button Colors based on section */
.btn-green { background-color: #2ecc71; }
.btn-yellow { background-color: #f1c40f; color: #333; }
.btn-red { background-color: #e74c3c; }
.btn-blue { background-color: #3498db; }

/* Activity Cards (Bottom Section) - Now Clickable Links */
.activity-card-link {
  display: block; /* Makes anchor tag behave like a block */
  text-decoration: none; /* Removes underline */
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  border-bottom: 6px solid #ddd;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  color: inherit; /* Inherit text color */
}

/* Fun Colors for Each Card Border */
.card-art { border-bottom-color: #ff6b6b; }
.card-fest { border-bottom-color: #feca57; }
.card-music { border-bottom-color: #48dbfb; }
.card-exp { border-bottom-color: #1dd1a1; }

.activity-card-link:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.activity-icon-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.activity-card-link:hover .activity-icon-circle {
  transform: rotate(10deg) scale(1.1);
}

.icon-art { background-color: #ff6b6b; }
.icon-fest { background-color: #feca57; }
.icon-music { background-color: #48dbfb; }
.icon-exp { background-color: #1dd1a1; }

/* =========================================================================
   CULTURAL DAYS PAGE STYLES (Restored)
   ========================================================================= */
/* Activity Card Link Block */
.activity-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.activity-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border-bottom: 6px solid #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Hover effect */
.activity-card-link:hover .activity-card {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.activity-icon {
  width: 70px;
  height: 70px;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

/* Rotate icon on hover */
.activity-card-link:hover .activity-icon {
  transform: scale(1.1) rotate(5deg);
}

.activity-title {
  font-weight: 700;
  color: #444;
  font-size: 1.1rem;
  margin: 0;
  text-transform: uppercase;
}

/* Card Specific Colors */
.card-fancy { border-bottom-color: #ff6b6b; }
.icon-fancy { background: linear-gradient(135deg, #ff6b6b, #ee5253); }

.card-sports { border-bottom-color: #48dbfb; }
.icon-sports { background: linear-gradient(135deg, #48dbfb, #0abde3); }

.card-nature { border-bottom-color: #1dd1a1; }
.icon-nature { background: linear-gradient(135deg, #1dd1a1, #10ac84); }

.card-colour { border-bottom-color: #feca57; }
.icon-colour { background: linear-gradient(135deg, #feca57, #ff9f43); }

/* Celebration Heading */
.celebration-heading {
  font-family: "Playfair Display", serif;
  color: #d35400;
  font-size: 2.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
