/* --- ELITE TYPOGRAPHY & COLOR VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&family=Poppins:wght@300;400;600&display=swap');

:root {
    --warm-white: #FDFBF7;
    --text-main: #1A1A1A;
    --text-muted: #555555;
    --accent-pink: rgba(255, 182, 193, 0.4);
    --accent-yellow: rgba(255, 239, 161, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.5);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- LAYOUT DECOR --- */
.gurukulam-about-page {
    background-color: var(--warm-white);
    color: var(--text-main);
    overflow: hidden;
    position: relative;
    font-family: var(--font-body);
}

.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.ambient-glow.pink { background: var(--accent-pink); top: 5%; right: -10%; }
.ambient-glow.yellow { background: var(--accent-yellow); bottom: 10%; left: -10%; }

/* --- GLOBAL SECTION STYLING --- */
.section-padding {
    padding: 100px 10%;
    position: relative;
    z-index: 1;
}

.professional-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 40px;
    text-align: center;
}

.professional-heading.left-align { text-align: left; }

/* --- VISION GLASS CONTAINER --- */
.vision-glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    padding: 60px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.03);
}

.premium-description {
    font-size: 1.3rem;
    line-height: 1.9;
    color: var(--text-muted);
    font-weight: 300;
}

/* --- SPLIT LAYOUT (Vision & Heritage) --- */
.split-layout {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.split-image-box, .heritage-image-box {
    flex: 1;
    min-width: 350px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.split-image-box img, .heritage-image-box img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.split-image-box:hover img, .heritage-image-box:hover img {
    transform: scale(1.05);
}

/* --- WHY US CARDS --- */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background: #FFFFFF;
    padding: 50px 40px;
    border-radius: 35px;
    border: 1px solid #F2F2F2;
    transition: var(--transition-smooth);
    position: relative;
}

.value-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 70px rgba(0,0,0,0.06);
}

.card-index {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #CCC;
    display: block;
    margin-bottom: 15px;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* --- PATH GALLERY (Student Path) --- */
.path-gallery {
    display: flex;
    gap: 20px;
    height: 500px;
}

.path-step-img {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.path-step-img.active, .path-step-img:hover {
    flex: 2;
}

.path-step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.path-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.path-text-overlay h4 { font-family: var(--font-heading); font-size: 1.8rem; }

/* --- SCROLL ANIMATIONS --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: var(--transition-smooth);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 1024px) {
    .split-layout { gap: 40px; }
    .path-gallery { height: 400px; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 5%; }
    .path-gallery { flex-direction: column; height: auto; }
    .path-step-img { height: 300px; flex: none !important; }
}






















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

:root {
    --warm-white: #FDFBF7;
    --charcoal: #2D2D2D;
    --muted-rose: #D4A5A5;
    --soft-gold: #D4AF37;
    --glass-white: rgba(255, 255, 255, 0.7);
    --glow-pink: rgba(255, 182, 193, 0.3);
    --glow-yellow: rgba(255, 239, 161, 0.4);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

/* --- BASE STYLES --- */
.gurukulam-about-page {
    background-color: var(--warm-white);
    color: var(--charcoal);
    overflow-x: hidden;
    position: relative;
    font-family: var(--font-body);
}

.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

.ambient-glow.pink { background: var(--glow-pink); top: 0; right: -10%; }
.ambient-glow.yellow { background: var(--glow-yellow); bottom: 10%; left: -10%; }

.section-padding { padding: 120px 10%; position: relative; z-index: 1; }

/* --- TEXT STYLING --- */
.top-tag {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--muted-rose);
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

.top-tag.center { text-align: center; }

.professional-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 30px;
}

.accent-text {
    color: var(--soft-gold);
    font-style: italic;
}

/* --- SECTION 1: VISION (LAYERED IMAGES) --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.vision-visual-group {
    position: relative;
    height: 600px;
}

.main-image-frame {
    width: 85%;
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 20px 40px 80px rgba(0,0,0,0.1);
}

.sub-image-frame {
    position: absolute;
    width: 250px;
    height: 300px;
    bottom: -40px;
    right: 0;
    border-radius: 30px;
    overflow: hidden;
    border: 10px solid var(--warm-white);
    box-shadow: 10px 20px 40px rgba(0,0,0,0.15);
}

.main-image-frame img, .sub-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-vision-card {
    background: var(--glass-white);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 30px;
    border-left: 5px solid var(--soft-gold);
}

.premium-vision-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
}

/* --- SECTION 2: WHY US (CARD DESIGN) --- */
.center-header { text-align: center; margin-bottom: 60px; }

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.value-card {
    background: #FFF;
    border-radius: 40px;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.card-image-bg {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.card-content-box {
    padding: 40px;
    position: relative;
}

.card-index {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--muted-rose);
    opacity: 0.5;
    margin-bottom: 10px;
    display: block;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* --- HOVER EFFECTS --- */
.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 70px rgba(0,0,0,0.08);
}

.value-card:hover .card-image-bg img {
    transform: scale(1.1);
}

/* --- ANIMATIONS --- */
.floating-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .split-layout { grid-template-columns: 1fr; gap: 60px; }
    .vision-visual-group { height: 500px; }
   /* .sub-image-frame floating-anim  {height: 8vh;} */
}