/* ============================================
   Sree Nayaki Chits - Index Page Styles
   ============================================ */

.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #EBF4F5; /* Light teal brand wash */
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

@keyframes slideZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-slide.active {
    opacity: 1;
    animation: slideZoom 8s ease-in-out infinite alternate;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.4) 40%, transparent 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(46, 151, 162, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 151, 162, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
    opacity: 0.3;
}

.hero-ornament {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    border: 1px solid rgba(46, 151, 162, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-ornament::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(46, 151, 162, 0.15);
    border-radius: 50%;
}

.hero-ornament::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(46, 151, 162, 0.2);
    border-radius: 50%;
}

.hero-ornament-center {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(46, 151, 162, 0.15), rgba(46, 151, 162, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    color: var(--gold);
    z-index: 1;
    border: 1px solid rgba(46, 151, 162, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 0 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 2rem;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(46, 151, 162, 0.06);
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
    font-weight: 500;
}

.hero p {
    font-size: 19px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
    font-weight: 400;
}

.hero-reg {
    font-size: 13px;
    letter-spacing: 0.1em;
    color: rgba(46, 151, 162, 0.5);
    margin-bottom: 2rem;
    font-family: 'DM Sans', sans-serif;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* STATS STRIP */
.stats-strip {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 6px;
}

/* FEATURES */
.section {
    padding: 7rem 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-sub {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 1rem auto 0;
    line-height: 1.7;
    font-weight: 500;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
}

.feature-card {
    background: var(--surface);
    padding: 3rem 2.5rem;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    background: var(--surface2);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.feature-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 500;
}

/* WHY CHOOSE */
.why-section {
    padding: 7rem 4rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.why-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.why-content .section-title {
    text-align: left;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.why-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 500;
}

.why-list li::before {
    content: '✦';
    color: var(--gold);
    font-size: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

.why-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.why-card {
    background: var(--deep);
    border: 1px solid var(--border);
    padding: 2rem 1.5rem;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.why-card-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--gold);
}

.why-card-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.why-card:nth-child(2) { margin-top: 2rem; }
.why-card:nth-child(4) { margin-top: -2rem; }

/* LEADERSHIP SLIDER */
.leadership-section {
    background: var(--surface);
    overflow: hidden;
}

.director-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.director-slider {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.director-slide {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.director-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.director-image-box {
    flex: 0 0 400px;
    height: 500px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
}

.director-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.director-slide.active .director-image-box img {
    transform: scale(1.05);
}

.director-info {
    flex: 1;
}

.director-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.director-role {
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
    font-weight: 600;
}

.director-overview {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-style: italic;
    position: relative;
    padding-left: 2rem;
}

.director-overview::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--border);
    line-height: 1;
}

.btn-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--gold);
    transition: all 0.3s;
}

.btn-link:hover {
    color: var(--gold);
    gap: 10px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}

.slider-btn {
    background: none;
    border: 1px solid var(--border);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--text);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--gold);
    color: white;
    border-color: var(--gold);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    width: 24px;
    border-radius: 10px;
    background: var(--gold);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .director-slider { height: auto; padding: 2rem 0; }
    .director-slide { flex-direction: column; gap: 2rem; transform: translateY(30px); text-align: center; }
    .director-slide.active { transform: translateY(0); }
    .director-image-box { flex: 0 0 350px; width: 100%; height: 400px; max-width: 450px; }
    .director-info h3 { font-size: 2.2rem; }
    .director-overview { padding-left: 0; font-size: 16px; }
    .director-overview::before { display: none; }
}

@media (max-width: 768px) {
    .hero { min-height: auto; padding-bottom: 4rem; }
    .hero-content { padding: 0 1.5rem; text-align: center; }
    .hero h1 { font-size: 2.8rem; margin-top: 2rem; }
    .hero p { margin: 0 auto 2rem; font-size: 16px; }
    .hero-actions { justify-content: center; }
    .hero-ornament { display: none; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); padding: 2rem 1.5rem; gap: 1.5rem; }
    .stat-num { font-size: 2.2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .why-inner { grid-template-columns: 1fr; gap: 3rem; }
    .section, .why-section { padding: 4rem 1.5rem; }
    
    .director-image-box { height: 320px; flex-basis: 320px; }
    .director-info h3 { font-size: 1.8rem; }
    .slider-controls { gap: 1.5rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .stats-strip { grid-template-columns: 1fr; }
    .director-image-box { height: 280px; flex-basis: 280px; }
    .slider-btn { width: 40px; height: 40px; font-size: 14px; }
}
