/* ===== HERO ===== */
.academics-hero {
  position: relative;
  z-index: 1;
  background: linear-gradient(rgba(107,15,26,0.85), rgba(107,15,26,0.85)),
  url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f");
  background-size: cover;
  background-position: center;
  padding: 120px 20px;
  text-align: center;
  color: #fff;
}

.academics-hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.academics-hero p {
  color: #f4c430;
}

/* ===== SECTIONS ===== */
.academics-section {
  
  z-index: 1;
  position: relative;
  max-width: 1000px;
  margin: auto;
  padding: 80px 20px;
  text-align: center;
}

.academics-section h2 {
  color: #6b0f1a;
  margin-bottom: 30px;
}

/* ===== GRID ===== */
.academics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 26px;
}

.acad-card {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.acad-card:hover {
  transform: translateY(-8px);
}

.acad-card h3 {
  color: #6b0f1a;
  margin-bottom: 10px;
}

/*  METHOD */
.method-box {
  background: #6b0f1a;
  color: #fff;
  padding: 40px;
  border-radius: 18px;
  max-width: 700px;
  margin: auto;
}

.method-box p {
  color: #f7f7f7;
}

/* ===== ADMISSION ===== */
.admission-card {
  background: linear-gradient(to right, #6b0f1a, #8b1d2c);
  color: #fff;
  padding: 36px;
  border-radius: 18px;
}


.alt-bg {
  background: linear-gradient(to bottom, #fff7da, #ffffff);
}
.has-dropdown.open .dropdown-panel {
  display: block;
}

.arrow {
  transition: transform 0.3s ease;
}

.has-dropdown.open .arrow {
  transform: rotate(180deg);
}



.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}


.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.5s; }

body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #fffef0; /
}

.registration-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    z-index: 1;
    overflow: hidden;
}


.registration-container::before,
.registration-container::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: float 15s infinite alternate ease-in-out;
}


.registration-container::before {
    background: #800000;
    top: -100px;
    left: -100px;
}


.registration-container::after {
    background: #ffeb3b;
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, 50px) scale(1.1); }
    100% { transform: translate(-50px, 100px) scale(0.9); }
}


.form-card {
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(128, 0, 0, 0.1);
    color: #333;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 550px;
    transition: transform 0.3s ease;
}

.form-card:hover {
    transform: translateY(-5px);
}

.form-card h2 {
    margin-top: 0;
    color: #800000; 
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
}

.form-card p {
    text-align: center;
    margin-bottom: 35px;
    color: #666;
    font-weight: 400;
}


.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #800000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input {
    width: 100%;
    padding: 15px;
    background: #fdfdfd;
    border: 1.5px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #800000;
    box-shadow: 0 0 0 4px rgba(128, 0, 0, 0.05);
}


.checklist-group label {
    font-weight: 700;
    color: #800000;
    margin-bottom: 15px;
}

.checkbox-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 12px;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px;
}

.check-item {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s ease;
}

.check-item:hover {
    color: #800000;
}

.check-item input {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #800000;
}


.submit-btn {
    width: 100%;
    background: #800000; 
    color: #ffffff;
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(128, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #600000;
    box-shadow: 0 15px 25px rgba(128, 0, 0, 0.3);
    transform: scale(1.02);
}

.input-group textarea {
    width: 100%;
    padding: 15px;
    background: #fdfdfd;
    border: 1.5px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    resize: none; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.input-group textarea:focus {
    outline: none;
    border-color: #800000;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(128, 0, 0, 0.05);
    transform: translateY(-2px); 
}


.input-group textarea::-webkit-scrollbar {
    width: 6px;
}

.input-group textarea::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.input-group textarea::-webkit-scrollbar-thumb {
    background: #800000;
    border-radius: 10px;
}


.input-group textarea::placeholder {
    color: #aaa;
    font-size: 0.9rem;
}

.input-group select {
    width: 100%;
    padding: 15px;
    background-color: #fdfdfd;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23800000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    border: 1.5px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.input-group select:focus {
    outline: none;
    border-color: #800000;
    background-color: #ffffff;
    box-shadow: 0 10px 20px rgba(128, 0, 0, 0.05);
}

.input-group select:invalid {
    color: #aaa; 
}


.input-group select option {
    color: #333;
    background-color: #fff;
    padding: 10px;
}

@media (max-width: 900px) {
  
  #mainNav {
    display: none; 
    width: 100%;
    background: #fff;
    position: absolute;
    top: 100%; 
    left: 0;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  #mainNav.active {
    display: block; 
  }

  /* Force the list to be VERTICAL */
  #mainNav ul {
    display: flex !important;
    flex-direction: column !important; 
    align-items: center !important;
    width: 100% !important;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  #mainNav ul li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #fdf5e6; 
  }

  #mainNav ul li a {
    display: block;
    padding: 15px 20px;
    color: #6b0f1a; 
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background 0.3s;
  }

  #mainNav ul li a:hover {
    background: #fff7da; /
  }

 
  .dropdown-panel {
    position: static !important; 
    display: none;
    background: #fffcf0;
    width: 100%;
    box-shadow: none !important;
  }

  .has-dropdown.open .dropdown-panel {
    display: block !important;
  }
}

















@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400&family=Plus+Jakarta+Sans:wght@300;600&display=swap');

:root {
    --white: #FCFBF7;
    --gold: #E8C547;
    --dark: #33312E;
    --glass: rgba(255, 255, 255, 0.4);
}

body {
    background-color: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

/* 1. BACKGROUND TEXTURES */
.bg-shapes {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: var(--gold);
    opacity: 0.05;
    filter: blur(40px);
    animation: float 20s infinite alternate ease-in-out;
}

.circle-1 { width: 400px; height: 400px; border-radius: 50%; top: -100px; left: -100px; }
.circle-2 { width: 300px; height: 300px; border-radius: 50%; bottom: 10%; right: -50px; animation-delay: -5s; }
.square-1 { width: 250px; height: 250px; top: 40%; left: 50%; animation-delay: -2s; }

@keyframes float {
    from { transform: translate(0, 0) rotate(0deg); }
    to { transform: translate(50px, 100px) rotate(45deg); }
}

/* 2. HERO ANIMATIONS */
.hero-shine {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.glow-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 10vw, 7rem);
    margin: 0;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

.glow-title span {
    font-style: italic;
    color: var(--gold);
    -webkit-text-stroke: 1px var(--gold);
    background: linear-gradient(to bottom, var(--gold), transparent);
    -webkit-background-clip: text;
}

/* 3. INTERACTIVE TILES */
/* .knowledge-garden {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 100px 8%;
}

.garden-tile {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 197, 71, 0.2);
    border-radius: 40px;
    padding: 20px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
} */
.knowledge-garden{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 5%;
    justify-content: center;
    align-items: stretch;
}
.garden-tile{
    flex:1 1 300px;
    max-width: 400px;
    height: auto;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    overflow:hidden;
position: relative;
}
/* .garden-tile img {
    width: 100%;
    height: 250px;
    object-fit: cover; 
    flex-shrink: 0; 
}

.garden-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
} */
 .garden-tile img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Prevents the image from squishing */
    flex-shrink: 0; /* Prevents the text from "squeezing" the image height */
}

.garden-content {
    padding: 20px;
    flex-grow: 1; /* Pushes the pill groups to the bottom consistently */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.garden-tile:hover {
    transform: translateY(-20px) scale(1.02);
    background: white;
    box-shadow: 0 40px 80px rgba(232, 197, 71, 0.1);
}

.tile-image-wrap {
    width: 100%;
    height: 300px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.tile-image-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.garden-tile:hover .tile-image-wrap img { transform: scale(1.1); }

.tile-tag {
    position: absolute;
    bottom: 20px; left: 20px;
    background: var(--gold);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.tile-text { padding: 30px 10px; }

.tile-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 0 0 15px 0;
}

.pill-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.pill-group span {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 5px 15px;
    border-radius: 50px;
}








@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,600;1,400&family=Montserrat:wght@200;400&display=swap');

:root {
    --champagne: #F7F3ED; /* The professional off-white */
    --bronze-gold: #A67C00; /* The deep, professional yellow/gold */
    --ink: #1C1C1C;
}

.editorial-hero {
    position: relative;
    height: 100vh;
    background-color: var(--champagne);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* --- THE TEXTURES --- */

/* High-End Paper Grain */
.paper-grain {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/canvas-orange.png'); /* Subtle canvas texture */
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

/* Geometric Lines for Architecture */
.geo-line {
    position: absolute;
    background: var(--bronze-gold);
    opacity: 0.2;
}

.top-left { width: 1px; height: 300px; top: 50px; left: 50px; }
.bottom-right { width: 300px; height: 1px; bottom: 50px; right: 50px; }

/* --- TYPOGRAPHY --- */

.hero-main-frame {
    position: relative;
    z-index: 10;
    text-align: center;
}

.brand-identity {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 5px;
    font-size: 0.65rem;
    color: var(--bronze-gold);
}

.vertical-divider {
    width: 1px;
    height: 15px;
    background: var(--bronze-gold);
}

.editorial-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(4.5rem, 14vw, 9rem);
    line-height: 0.85;
    font-weight: 300;
    margin: 0;
}

.italic-gold {
    font-style: italic;
    color: var(--bronze-gold);
    font-weight: 400;
}

/* --- THE ROTATING SEAL --- */
.composition-seal {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 50px auto;
}

.rotating-seal {
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
    fill: var(--bronze-gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 8px;
    letter-spacing: 2px;
}

.inner-diamond {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bronze-gold);
    font-size: 1.2rem;
}

.manifesto-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    max-width: 650px;
    margin: 0 auto;
    
    line-height: 1.5;
    color: #444;
    font-style: italic;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}























/* Mobile Optimization for Prahlad Kids Gurukulam Form */
@media (max-width: 600px) {
    .form-card {
        padding: 30px 20px; /* Reduce padding so it fits phone screens */
        margin: 10px;
    }

    .form-card h2 {
        font-size: 24px; /* Slightly smaller text for mobile */
    }

    .checkbox-wrapper {
        grid-template-columns: 1fr; /* Stack checkboxes vertically on small phones */
        gap: 15px;
    }

    .submit-btn {
        padding: 15px;
        font-size: 1rem;
        /* Ensures button stays centered and ignores any rogue floats */
        display: block;
        width: 100%;
        float: none; 
    }
    .manifesto-text{
        height:180px;
    }
}