/* ═══════════════════════════════════════════════
   DEBANSHU DAS — Global Stylesheet
   Fonts, CSS Variables, Reset, Nav, Footer
   Elementor handles all page content styles.
═══════════════════════════════════════════════ */

/* ── Google Fonts are loaded via functions.php ──
   Available font families for Elementor:
   - "Open Sans"           → Hero / Banner text
   - "Fraunces"            → Section headings
   - "Bricolage Grotesque" → Body / UI text
   - "JetBrains Mono"      → Tags / Labels / Code
─────────────────────────────────────────────── */

/* ── CSS Variables ─────────────────────────── */
:root {
    /* Colors */
    --dd-white:       #ffffff;
    --dd-bg:          #f9f9f8;
    --dd-ink:         #0d0d0d;
    --dd-ink-2:       #3d3d3d;
    --dd-ink-3:       #8a8a8a;
    --dd-ink-4:       #d4d4d4;
    --dd-border:      #e8e8e6;
    --dd-blue:        #0052cc;
    --dd-blue-light:  #eef3ff;
    --dd-green:       #00875a;
    --dd-green-light: #e3fcef;
    --dd-hero-bg:     #07111f;

    /* Fonts */
    /* Fonts */
	--dd-font-hero:   'Poppins', sans-serif;
	--dd-font-body:   'Poppins', sans-serif;
	--dd-font-serif:  'Poppins', sans-serif;
	--dd-font-mono:   'Poppins', sans-serif;

    /* Elementor global color overrides */
    --e-global-color-primary:   #0052cc;
    --e-global-color-secondary: #07111f;
    --e-global-color-accent:    #00875a;
    --e-global-color-text:      #0d0d0d;
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--dd-font-body);
    background-color: var(--dd-white);
    color: var(--dd-ink);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
body, h1, h2, h3, h4, h5, h6, p, a, span, div, li, td, th {
  font-family: 'Poppins', sans-serif !important;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ── Remove Elementor default padding ──────── */
.elementor-section-wrap > .elementor-section:first-child {
    margin-top: 0;
}
.elementor-widget-container {
    line-height: inherit;
}

/* ── HEADER / NAV ──────────────────────────── */
#site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: rgba(7, 17, 31, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Site Name / Logo */
.site-branding a {
    font-family: var(--dd-font-hero);
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: opacity 0.15s;
}
.site-branding a:hover { opacity: 0.8; }

/* Navigation Menu */
.primary-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-menu li a {
    font-family: var(--dd-font-hero);
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.15s;
}
.primary-menu li a:hover,
.primary-menu li.current-menu-item a {
    color: #ffffff;
}

/* CV Button */
.header-cta a {
    font-family: var(--dd-font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--dd-hero-bg);
    background: #ffffff;
    padding: 7px 16px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s;
    letter-spacing: 0.02em;
}
.header-cta a:hover {
    background: #c8deff;
    color: var(--dd-blue);
}

/* Mobile nav */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: all 0.2s;
}

@media (max-width: 768px) {
    .header-inner { padding: 0 20px; }
    .primary-menu { display: none; }
    .menu-toggle { display: block; }
    .header-cta { display: none; }

    .primary-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 56px;
        left: 0; right: 0;
        background: rgba(7, 17, 31, 0.98);
        padding: 16px 20px 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }
}

/* ── FOOTER ────────────────────────────────── */
#site-footer {
    background: var(--dd-ink);
    padding: 36px 48px;
    text-align: center;
}
.footer-inner p {
    font-family: var(--dd-font-mono);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.05em;
    margin: 0;
}

@media (max-width: 768px) {
    #site-footer { padding: 28px 20px; }
}

/* ── Live dot animation (reusable) ─────────── */
@keyframes livePulse {
    0%,100% { box-shadow: 0 0 0 2px rgba(74,222,128,0.25); }
    50%      { box-shadow: 0 0 0 6px rgba(74,222,128,0.08); }
}

/* ── Fade-up animation (reusable) ──────────── */
@keyframes riseUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.elementor-location-single,
.e-con,
.elementor {
  min-height: unset !important;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body #page,
body .site {
  flex: 1;
  display: flex;
  flex-direction: column;
}

body .site-content,
body #content {
  flex: 1;
}

#site-footer {
  margin-top: auto !important;
}