/* --- GLOBAL VARIABLES --- */
:root {
    --gold: #e7b65c;
    --black: #050505;
    --dark: #121212;
    --white: #ffffff;
    --trans-ease: cubic-bezier(0.25, 1, 0.5, 1);
}

body {
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden; /* Horizontal scrollbar hide karne ke liye */
}

/* --- 1. HERO SECTION (Video Background) --- */
.about-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.4; /* Video thoda dark rahega */
    filter: contrast(1.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-subtitle {
    color: var(--gold);
    font-family: 'Manrope', sans-serif;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 1rem;
    display: block;
    margin-bottom: 15px;
}

.hero-title {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(2.4rem, 8vw, 5rem);
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
}

/* --- 2. PHILOSOPHY SECTION (Sticky Parallax) --- */
.philosophy-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.philo-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: grayscale(100%) brightness(0.4);
    transform: scale(1.1);
}

.philo-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.03); /* Glass Effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px;
    max-width: 800px;
    text-align: center;
    border-radius: 8px;
}

.philo-heading {
    font-family: 'Bodoni Moda', serif;
    font-size: 3rem;
    margin-bottom: 20px;
}

.philo-text {
    font-family: 'Manrope', sans-serif;
    /* font-size: 1.2rem; */
    text-align: justify;
        font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
}

/* --- 3. HORIZONTAL SCROLL (Right Swipe Animation) --- */
/* Wrapper holds the pin */
.horizontal-scroll-wrapper {
    width: 100%;
    height: 100vh; 
    overflow: hidden;
    background: var(--dark);
    display: flex;
}

/* Track holds all panels side-by-side */
.scroll-track {
    display: flex;
    height: 100%;
    width: 400%; /* 4 Panels = 400% width */
}

.scroll-panel {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-right: 1px solid rgba(255,255,255,0.05);
}

/* Text Panel (Intro) */
.intro-panel {
    background: var(--black);
    flex-direction: column;
    text-align: center;
    padding: 0 10%;
}

.intro-panel h2 {
    font-size: 5rem;
    font-family: 'Bodoni Moda', serif;
    margin-bottom: 20px;
}

/* Image Panels */
.scroll-panel img {
    height: 70%;
    width: auto;
    max-width: 90%;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.scroll-panel:hover img {
    filter: grayscale(0%);
}

.panel-caption {
    position: absolute;
    bottom: 10%;
    left: 5%;
    font-size: 6rem;
    font-family: 'Bodoni Moda', serif;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.3);
    z-index: -1;
    opacity: 0.5;
}

/* --- 4. MISSION & VISION (Accordion) --- */
.vision-section {
    display: flex;
    height: 80vh;
    width: 100%;
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.vision-card {
    position: relative;
    flex: 1; /* Start equal width */
    height: 100%;
    transition: flex 0.8s var(--trans-ease);
    border-right: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    cursor: pointer;
}

.vision-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: opacity 0.5s;
    filter: grayscale(100%);
}

.vision-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.vision-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--white);
    transform-origin: left;
    white-space: nowrap;
}

.vision-desc {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    font-size: 1.1rem;
    color: #ccc;
}

/* Hover State */
.vision-card:hover {
    flex: 3; /* Grow wide */
}

.vision-card:hover .vision-bg {
    opacity: 0.6;
    filter: grayscale(0%);
}

.vision-card:hover .vision-title {
    color: var(--gold);
}

.vision-card:hover .vision-desc {
    height: auto;
    opacity: 1;
    margin-top: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .scroll-track { width: 100%; flex-direction: column; }
    .scroll-panel { width: 100%; height: 100vh; }
    .vision-section { flex-direction: column; height: auto; }
    .vision-card { height: 300px; width: 100%; flex: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .vision-card:hover { height: 400px; }
}

.aboutsvisionmiss i{
    font-size: 2.2rem;
    color: #e7b656;
}