/* ===== ROOT VARIABLES ===== */
:root {
    --bg:             #F5F3FF;
    --bg-secondary:   #FFFFFF;
    --card:           #FFFFFF;
    --primary:        #6c31d6;
    --primary-soft:   #818CF8;
    --primary-light:  #EDE9FE;
    --accent:         #059669;
    --text-primary:   #1E1B4B;
    --text-secondary: #64748B;
    --border:         #E0E7FF;
    --muted:          #EBEFF9;
    --gradient-main:  linear-gradient(135deg, #6c31d6, #818CF8);
    --font-heading:   'Playfair Display', serif;
    --font-body:      'Inter', sans-serif;
    --font-bengali: 'Hind Siliguri', sans-serif;
    --transition:     all 0.3s ease;
    --shadow-sm:      0 2px 8px rgba(108, 49, 214, 0.08);
    --shadow-md:      0 8px 25px rgba(108, 49, 214, 0.12);
    --shadow-lg:      0 20px 50px rgba(108, 49, 214, 0.15);
    --radius:         12px;
    --radius-lg:      20px;
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img { max-width: 100%; }

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor-outline {
    width: 35px;
    height: 35px;
    border: 2px solid rgba(108, 49, 214, 0.4);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease,
                height 0.3s ease, border-color 0.3s ease;
}

.cursor-outline.hover {
    width: 55px;
    height: 55px;
    border-color: var(--primary);
    background: rgba(108, 49, 214, 0.05);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(245, 243, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo { display: flex; align-items: center; }

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-bracket { color: var(--primary); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ===== QUOTE BUTTON ===== */
.btn-quote {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.4rem;
    background: var(--gradient-main);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(108, 49, 214, 0.3);
    white-space: nowrap;
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 49, 214, 0.4);
    color: white;
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== MAIN ===== */
main {
    padding-top: 80px;
    min-height: 100vh;
}

/* ===== GLOBAL BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 49, 214, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 49, 214, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-accent {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
    color: white;
}

/* ===== SECTION COMMON ===== */
.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
    padding: 0.3rem 1rem;
    background: var(--primary-light);
    border-radius: 50px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 600px;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 5rem 0 0;
    margin-top: 6rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand .logo-bracket {
    color: var(--primary-soft);
}

.footer-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 1rem 0 1.5rem;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-soft);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary-soft);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255,255,255,0.6);
}

.footer-contact a:hover {
    color: var(--primary-soft);
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255,255,255,0.4);
    font-size: 0.82rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-soft);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 4rem;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 3rem;
    color: var(--border);
    margin-bottom: 1rem;
    display: block;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(245, 243, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        gap: 1rem;
    }

    .nav-links.open { display: flex; }
    .hamburger { display: flex; }

    .section-title { font-size: 1.8rem; }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal { justify-content: center; }

    .cursor-dot,
    .cursor-outline { display: none; }
}

@media (max-width: 480px) {
    .nav-container { padding: 0 1rem; }
    .btn-quote { padding: 0.55rem 1rem; font-size: 0.85rem; }
}