/* ── IBD INDIA SHARED STYLES ── */
@import url("https://fonts.googleapis.com/css2?family=Ruda:wght@400;700&family=EB+Garamond:ital,wght@0,400;0,600;0,700;1,400&display=swap");

:root {
    --teal: #6b3fa0;
    --teal-light: #8b5cc8;
    --teal-pale: #f3eeff;
    --orange: #e8652a;
    --orange-light: #f4885a;
    --cream: #faf9ff;
    --dark: #1a1330;
    --mid: #4a4568;
    --light: #8a8ab0;
    --white: #ffffff;
    --border: #e4ddf0;
    --purple: #6b3fa0;
    --purple-light: #8b5cc8;
    --purple-pale: #f3eeff;
    --purple-mid: #9b72cf;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Ruda", sans-serif;
    background: var(--cream);
    color: var(--dark);
    overflow-x: hidden;
    letter-spacing: 0.05em;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: white;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 128px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-logo-mark {
    width: 56px;
    height: 56px;
    background: var(--teal);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "EB Garamond", serif;
    color: white;
    font-size: 18px;
    font-weight: 700;
}
.nav-logo-text {
    font-family: "EB Garamond", serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.1;
}
.nav-logo-sub {
    font-size: 24px;
    color: var(--light);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links a {
    text-decoration: none;
    color: var(--mid);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--purple);
    background: var(--purple-pale);
}
.nav-cta {
    background: var(--teal) !important;
    color: white !important;
    padding: 8px 18px !important;
    border-radius: 10px !important;
}
.nav-cta:hover {
    background: var(--teal-light) !important;
    color: white !important;
}
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
}
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--cream);
    padding: 90px 5vw 40px;
    flex-direction: column;
    gap: 8px;
}
.mobile-menu.open {
    display: flex;
}
.mobile-menu a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: var(--dark);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

/* BUTTONS */
.btn-primary {
    background: var(--teal);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(107, 63, 160, 0.25);
}
.btn-primary:hover {
    background: var(--teal-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(107, 63, 160, 0.35);
}
.btn-secondary {
    background: white;
    color: var(--dark);
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid var(--border);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-secondary:hover {
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-2px);
}

/* PAGE HERO */
.page-hero {
    padding: 140px 5vw 80px;
    background: white;
    border-bottom: 1px solid var(--border);
}
.page-hero .section-label {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--purple);
    font-weight: 600;
    margin-bottom: 12px;
}
.page-hero h1 {
    font-family: "EB Garamond", serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 20px;
}
.page-hero h1 em {
    font-style: italic;
    color: var(--teal);
}
.page-hero p {
    font-size: 18px;
    color: var(--mid);
    line-height: 1.7;
    max-width: 600px;
}

/* SECTIONS */
section {
    padding: 80px 5vw;
}
.section-label {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--purple);
    font-weight: 600;
    margin-bottom: 12px;
}
.section-title {
    font-family: "EB Garamond", serif;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 17px;
    color: var(--mid);
    line-height: 1.65;
    max-width: 560px;
}

/* FOOTER */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 5vw 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand h3 {
    font-family: "EB Garamond", serif;
    font-size: 18px;
    color: white;
    margin-bottom: 12px;
}
.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
}
.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: white;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: var(--purple-mid);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}
.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(107, 63, 160, 0.1);
    border: 1px solid rgba(107, 63, 160, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
    color: var(--purple);
}
.social-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.social-icon:hover {
    background: var(--purple);
    color: white;
    transform: translateY(-2px);
    border-color: var(--purple);
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.footer-social .social-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
}
.footer-social .social-icon:hover {
    background: var(--purple);
    color: white;
    border-color: var(--purple);
}

/* MOBILE */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
