@charset "UTF-8";
/* ===================== */
/* NOHEMI TYPEFACE       */
/* ===================== */
@font-face { font-family: 'Nohemi'; src: url('../fonts/Nohemi-Thin.woff2') format('woff2'), url('../fonts/Nohemi-Thin.otf') format('opentype'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nohemi'; src: url('../fonts/Nohemi-ExtraLight.woff2') format('woff2'), url('../fonts/Nohemi-ExtraLight.otf') format('opentype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nohemi'; src: url('../fonts/Nohemi-Light.woff2') format('woff2'), url('../fonts/Nohemi-Light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nohemi'; src: url('../fonts/Nohemi-Regular.woff2') format('woff2'), url('../fonts/Nohemi-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nohemi'; src: url('../fonts/Nohemi-Medium.woff2') format('woff2'), url('../fonts/Nohemi-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nohemi'; src: url('../fonts/Nohemi-SemiBold.woff2') format('woff2'), url('../fonts/Nohemi-SemiBold.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nohemi'; src: url('../fonts/Nohemi-Bold.woff2') format('woff2'), url('../fonts/Nohemi-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nohemi'; src: url('../fonts/Nohemi-ExtraBold.woff2') format('woff2'), url('../fonts/Nohemi-ExtraBold.otf') format('opentype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nohemi'; src: url('../fonts/Nohemi-Black.woff2') format('woff2'), url('../fonts/Nohemi-Black.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
    --bg-main: #f8f9fc;
    --bg-secondary: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: rgba(37, 99, 235, 0.08);
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --dark: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.72);
    --border-color: #e2e8f0;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --nav-bg: rgba(255, 255, 255, 0.92);
    --card-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 6px 24px rgba(0,0,0,0.04);
    --card-shadow-hover: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    --th-bg: #f1f5f9;
    --footer-bg: #0f172a;
    --footer-text: #94a3b8;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
}

/* Dark Theme - manual toggle */
[data-theme="dark"] {
    --bg-main: #0b0f1a;
    --bg-secondary: #131829;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent-light: rgba(37, 99, 235, 0.15);
    --glass-bg: rgba(19, 24, 41, 0.85);
    --border-color: #1e293b;
    --nav-bg: rgba(11, 15, 26, 0.92);
    --card-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 8px 32px rgba(0,0,0,0.2);
    --card-shadow-hover: 0 12px 40px rgba(0,0,0,0.4);
    --th-bg: #131829;
    --footer-bg: #060a14;
    --footer-text: #64748b;
}
/* Dark Theme - OS prefers-color-scheme auto */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg-main: #0b0f1a;
        --bg-secondary: #131829;
        --text-primary: #f1f5f9;
        --text-secondary: #94a3b8;
        --accent-light: rgba(37, 99, 235, 0.15);
        --glass-bg: rgba(19, 24, 41, 0.85);
        --border-color: #1e293b;
        --nav-bg: rgba(11, 15, 26, 0.92);
        --card-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 8px 32px rgba(0,0,0,0.2);
        --card-shadow-hover: 0 12px 40px rgba(0,0,0,0.4);
        --th-bg: #131829;
        --footer-bg: #060a14;
        --footer-text: #64748b;
    }
}
[data-theme="dark"] .hero-overlay,
:root:not([data-theme="light"]) .hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.7) 100%);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .hero-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.7) 100%);
    }
}
[data-theme="dark"] .navbar {
    background-color: var(--nav-bg);
    border-bottom-color: rgba(255,255,255,0.05);
}
[data-theme="dark"] .navbar.navbar-transparent.scrolled {
    background-color: var(--nav-bg);
    border-bottom-color: rgba(255,255,255,0.05);
}
[data-theme="dark"] .nav-links a { color: var(--text-primary) !important; }
[data-theme="dark"] .nav-links a.active { color: var(--accent) !important; }
[data-theme="dark"] .navbar .logo { color: var(--text-primary); }
[data-theme="dark"] .hamburger { color: var(--text-primary); }
[data-theme="dark"] section[style*="background: white"],
[data-theme="dark"] section[style*="background:white"] {
    background: var(--bg-secondary) !important;
}
/* prefers-color-scheme dark - structural overrides */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .navbar {
        background-color: var(--nav-bg);
        border-bottom-color: rgba(255,255,255,0.05);
    }
    :root:not([data-theme="light"]) .navbar.navbar-transparent.scrolled {
        background-color: var(--nav-bg);
        border-bottom-color: rgba(255,255,255,0.05);
    }
    :root:not([data-theme="light"]) .nav-links a { color: var(--text-primary) !important; }
    :root:not([data-theme="light"]) .nav-links a.active { color: var(--accent) !important; }
    :root:not([data-theme="light"]) .navbar .logo { color: var(--text-primary); }
    :root:not([data-theme="light"]) .hamburger { color: var(--text-primary); }
    :root:not([data-theme="light"]) section[style*="background: white"],
    :root:not([data-theme="light"]) section[style*="background:white"] {
        background: var(--bg-secondary) !important;
    }
}

/* Logo images - theme switching */
.logo-img { height: 38px; width: auto; display: block; }
.logo-img.logo-dark { display: none; }
[data-theme="dark"] .logo-img.logo-light { display: none; }
[data-theme="dark"] .logo-img.logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .logo-img.logo-light { display: none; }
    :root:not([data-theme="light"]) .logo-img.logo-dark { display: block; }
}
[data-theme="light"] .logo-img.logo-light { display: block; }
[data-theme="light"] .logo-img.logo-dark { display: none; }

/* Theme toggle button */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    flex-shrink: 0;
}
.theme-toggle:hover { background: var(--accent); color: white; border-color: var(--accent); }
.navbar.navbar-transparent .theme-toggle { border-color: rgba(255,255,255,0.3); color: white; }
.navbar.navbar-transparent.scrolled .theme-toggle { border-color: var(--border-color); color: var(--text-primary); }

/* ===================== */
/* ACCORDION             */
/* ===================== */
.accordion-item { background: var(--bg-secondary); border-radius: 16px; box-shadow: var(--card-shadow); margin-bottom: 1.5rem; overflow: hidden; }
.accordion-header {
    padding: 1.5rem 2rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-size: 1.2rem; font-weight: 600; color: var(--text-primary); transition: background 0.3s ease;
    border: none; background: none; width: 100%; text-align: left;
}
.accordion-header:hover { background: rgba(41,151,255,0.05); }
.accordion-header i { transition: transform 0.3s ease; color: var(--accent); }
.accordion-header.active i { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion-body-inner { padding: 0 2rem 2rem; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.cert-card { border-radius: 12px; overflow: hidden; box-shadow: var(--card-shadow); cursor: pointer; transition: var(--transition); background: var(--bg-main); }
.cert-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.cert-card img { width: 100%; height: 280px; object-fit: cover; display: block; }
.cert-empty { text-align: center; padding: 3rem; color: var(--text-secondary); font-size: 1rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 10001; display: none; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; color: white; font-size: 2rem; cursor: pointer; background: none; border: none; z-index: 10002; }

/* ===================== */
/* GALLERY MODAL         */
/* ===================== */
.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: none;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.gallery-modal.active {
    display: flex;
    opacity: 1;
}
.gallery-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.gallery-modal-header h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.gallery-modal-close {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.gallery-modal-close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}
.gallery-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 2.5rem;
}

/* Masonry Grid */
.masonry-grid {
    column-count: 4;
    column-gap: 1rem;
}
.masonry-grid .masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.masonry-grid .masonry-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.masonry-grid .masonry-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.25) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.masonry-grid .masonry-item:hover::after {
    opacity: 1;
}
.masonry-grid .masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}
.masonry-grid .masonry-item:hover img {
    transform: scale(1.03);
}
.gallery-empty {
    text-align: center;
    padding: 5rem 2rem;
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
}
.gallery-empty i {
    display: block;
    font-size: 3rem;
    margin-bottom: 1.2rem;
    opacity: 0.4;
}

/* ===================== */
/* GALLERY LIGHTBOX      */
/* ===================== */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10002;
    display: none;
    align-items: center;
    justify-content: center;
}
.gallery-lightbox.active {
    display: flex;
}
.gallery-lightbox img {
    max-width: 88vw;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    user-select: none;
}
.gallery-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10003;
}
.gallery-lightbox-close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}
.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10003;
    backdrop-filter: blur(8px);
}
.gallery-lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.1);
}
.gallery-lightbox-nav.prev { left: 1.5rem; }
.gallery-lightbox-nav.next { right: 1.5rem; }
.gallery-lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
    background: rgba(0,0,0,0.5);
    padding: 0.4rem 1.2rem;
    border-radius: 980px;
    backdrop-filter: blur(8px);
    z-index: 10003;
}

/* ===================== */
/* PROJECT CATEGORY CARD */
/* ===================== */
.project-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.project-category-card {
    background: #111;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    color: #fff;
}
/* Dark overlay for text readability above bg image */
.project-category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.90) 50%, rgba(0,0,0,0.95) 100%);
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s ease;
}
.project-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #00d4ff);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
}
.project-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.project-category-card:hover::before {
    opacity: 1;
}
.project-category-card:hover::after {
    background: linear-gradient(160deg, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.85) 50%, rgba(0,0,0,0.95) 100%);
}
.project-category-card > *:not(.project-card-bg-img) {
    position: relative;
    z-index: 2;
}
.project-category-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}
.project-category-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
    color: #fff;
}
.project-category-card p {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1.5rem;
}
.btn-gallery {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1.5px solid rgba(255,255,255,0.35);
    background: transparent;
    color: #fff;
    transition: var(--transition);
    align-self: flex-start;
}
.btn-gallery:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: scale(1.03);
}
.btn-gallery i {
    font-size: 13px;
    transition: transform 0.3s ease;
}
.btn-gallery:hover i {
    transform: translateX(3px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nohemi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1 { font-weight: 800; letter-spacing: -0.03em; }
h2 { font-weight: 700; letter-spacing: -0.02em; }
h3 { font-weight: 600; letter-spacing: -0.01em; }
h4, h5 { font-weight: 600; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 6rem 0; }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.btn-primary { background-color: var(--accent); color: white; }
.btn-primary:hover { background-color: var(--accent-hover); transform: scale(1.02); }
.btn-outline { background-color: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-outline:hover { background-color: var(--accent); color: white; }

/* Typography */
.section-title { margin-bottom: 3rem; text-align: center; }
.section-title h2 { font-size: 2.8rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.02em; }
.section-title p { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* ===================== */
/* NAVBAR                */
/* ===================== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 0.8rem 0;
    z-index: 1000;
    background-color: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}
.navbar a { color: var(--text-primary); }
.navbar .logo { color: var(--text-primary); }

/* Transparent variation for Home Page hero */
.navbar.navbar-transparent {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    padding: 1rem 0;
}
.navbar.navbar-transparent a { color: rgba(255,255,255,0.9); }
.navbar.navbar-transparent .logo { color: white; }
.navbar.navbar-transparent .hamburger { color: white; }

/* When home page scrolls down */
.navbar.navbar-transparent.scrolled {
    background-color: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.8rem 0;
}
.navbar.navbar-transparent.scrolled a { color: var(--text-primary); }
.navbar.navbar-transparent.scrolled .logo { color: var(--text-primary); }
.navbar.navbar-transparent.scrolled .hamburger { color: var(--text-primary); }

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.logo {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}
.logo-icon { color: var(--accent); }
.logo .logo-img { height: 38px; width: auto; }
.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}
.nav-links a {
    font-size: 14px;
    opacity: 0.8;
    font-weight: 400;
    white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; color: var(--accent); }
/* Hide Home link on desktop — logo serves as homepage link */
.nav-home { display: none; }

/* Hamburger */
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 0.5rem;
    z-index: 1002;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active {
    opacity: 1;
}

/* ===================== */
/* HERO                  */
/* ===================== */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
/* Hero image fader slides */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    will-change: opacity;
}
.hero-slide.active {
    opacity: 1;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem;
}
.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.hero-content p {
    font-size: 1.4rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 2rem;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

/* ===================== */
/* CARDS & LAYOUTS       */
/* ===================== */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.glass-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

/* Core Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.value-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}
.value-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.value-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 1.5rem; }

/* ===================== */
/* ORG CHART (PDF-exact) */
/* ===================== */
.org-chart-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    width: 100%;
    overflow-x: auto;
}
.org-box {
    padding: 0.8rem 1rem;
    text-align: center;
    z-index: 2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    font-weight: 600;
    color: white;
    margin: 0 auto;
}
.root-box { background-color: #c00000; border-radius: 50px; width: 220px; height: 55px; }
.exec-box { background-color: #ed7d31; border-radius: 50px; width: 220px; height: 55px; }
.dept-box { background-color: #800000; border-radius: 50px; width: 170px; height: 50px; font-size: 12px; }
.sub-box {
    background-color: #d9d9d9;
    border-radius: 10px;
    width: 170px;
    min-height: 45px;
    color: #333;
    font-weight: 500;
    font-size: 12px;
    border: 1px solid #bfbfbf;
}
.org-box h3 { font-size: 13px; margin: 0; color: white; font-weight: 600; }
.org-line-vertical { width: 2px; height: 30px; background-color: #444; z-index: 1; margin: 0 auto; }
.org-line-horizontal-wide { width: 75%; max-width: 800px; height: 2px; background-color: #444; z-index: 1; }
.org-branches-container-wide {
    display: flex;
    justify-content: space-between;
    width: 75%;
    max-width: 800px;
    align-items: flex-start;
}
.org-branch-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
}

/* ===================== */
/* SERVICES GRID         */
/* ===================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--bg-secondary);
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.service-card .icon { font-size: 3rem; color: var(--accent); margin-bottom: 1.5rem; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.service-card p { color: var(--text-secondary); font-size: 15px; }

/* ===================== */
/* EQUIPMENT TABLE       */
/* ===================== */
.table-wrap {
    overflow-x: auto;
    background: var(--bg-secondary);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-top: 2rem;
    -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; min-width: 500px; }
th, td { padding: 1rem 1.5rem; text-align: left; border-bottom: 1px solid var(--border-color); }
th {
    background-color: var(--th-bg);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
td { color: var(--text-secondary); font-size: 14px; }
tr:last-child td { border-bottom: none; }

/* ===================== */
/* CLIENTS GRID          */
/* ===================== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}
.client-logo {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition);
    min-height: 140px;
}
.client-logo i { font-size: 2rem; color: var(--text-secondary); margin-bottom: 0.8rem; transition: var(--transition); }
.client-logo span { font-weight: 600; font-size: 13px; color: var(--text-primary); line-height: 1.3; }
.client-logo:hover { transform: scale(1.05); }
.client-logo:hover i { color: var(--accent); }

/* ===================== */
/* PROJECT SHOWCASE      */
/* ===================== */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.showcase-item {
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: var(--transition);
}
.showcase-item:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.showcase-item img { width: 100%; height: 220px; object-fit: cover; display: block; }
.showcase-item .content { padding: 1.5rem; }
.showcase-item h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.showcase-item p { color: var(--text-secondary); font-size: 14px; line-height: 1.5; }

/* ===================== */
/* CONTACT               */
/* ===================== */
.contact-minimal { text-align: center; max-width: 800px; margin: 0 auto; }
.contact-minimal i { font-size: 2.5rem; color: var(--accent); margin-bottom: 0.8rem; display: block; }
.contact-minimal h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-minimal p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 1rem; }

/* ===================== */
/* FOOTER                */
/* ===================== */
footer {
    background-color: var(--footer-bg);
    color: #f5f5f7;
    padding: 3rem 0 1.5rem 0;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/footer-bg-logo.png') repeat center center;
    background-size: auto;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}
footer > * { position: relative; z-index: 1; }
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}
.footer-brand .logo { color: white; margin-bottom: 1rem; }
.footer-brand .logo .logo-img { height: 42px; }
.footer-brand p { color: var(--footer-text); }
.footer-links h3, .footer-contact h3 { margin-bottom: 1.2rem; color: white; font-size: 16px; }
.footer-links ul li { margin-bottom: 0.7rem; }
.footer-links ul li a { color: var(--footer-text); }
.footer-links ul li a:hover { color: white; }
.footer-contact p { color: var(--footer-text); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.8rem; }
.footer-contact i { color: #f5f5f7; }
.footer-bottom { text-align: center; border-top: 1px solid #424245; padding-top: 1.5rem; color: #86868b; }
.footer-bottom .powered-by { color: #555; font-size: 12px; margin-top: 0.4rem; }
.footer-bottom .powered-by a { color: var(--accent); }
/* Footer logo images - always show correct variant */
footer .logo-img.footer-logo-light { display: block; }
footer .logo-img.footer-logo-dark { display: none; }
[data-theme="dark"] footer .logo-img.footer-logo-light { display: none; }
[data-theme="dark"] footer .logo-img.footer-logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) footer .logo-img.footer-logo-light { display: none; }
    :root:not([data-theme="light"]) footer .logo-img.footer-logo-dark { display: block; }
}
[data-theme="light"] footer .logo-img.footer-logo-light { display: block; }
[data-theme="light"] footer .logo-img.footer-logo-dark { display: none; }

/* ===================== */
/* CONTACT INFO CARDS    */
/* ===================== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}
.contact-info-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #00d4ff);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.contact-info-card:hover::before { opacity: 1; }
.contact-info-card .card-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(41,151,255,0.12), rgba(0,212,255,0.08));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--accent);
    margin: 0 auto 1.5rem;
}
.contact-info-card h3 {
    font-size: 1.15rem; font-weight: 700;
    margin-bottom: 0.8rem;
}
.contact-info-card p {
    color: var(--text-secondary); font-size: 14px; line-height: 1.6;
}
.contact-info-card a {
    color: var(--accent); font-weight: 500;
}
.contact-info-card a:hover { color: var(--accent-hover); }

/* Registration strip */
.registration-strip {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 1.5rem 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-bottom: 3rem;
}
.registration-strip .reg-item {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 14px; color: var(--text-secondary);
}
.registration-strip .reg-item i {
    color: var(--accent); font-size: 1rem;
}
.registration-strip .reg-item strong {
    color: var(--text-primary); font-weight: 600;
}

/* ===================== */
/* CONTACT FORM          */
/* ===================== */
.contact-form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact-form {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.contact-form h3 {
    font-size: 1.4rem; font-weight: 700;
    margin-bottom: 0.5rem;
}
.contact-form .form-subtitle {
    color: var(--text-secondary); font-size: 14px;
    margin-bottom: 2rem;
}
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}
.form-group label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--text-secondary); margin-bottom: 0.5rem;
    text-transform: uppercase; letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-main);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(41,151,255,0.12);
}
.form-group textarea {
    resize: vertical; min-height: 130px;
}
.form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.btn-submit {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.85rem 2rem;
    border-radius: 980px;
    font-size: 15px; font-weight: 600;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, var(--accent), #0071e3);
    color: white;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}
.btn-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(41,151,255,0.3);
}
.btn-submit:disabled {
    opacity: 0.6; cursor: not-allowed; transform: none;
}
.btn-submit .spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: none;
}
.btn-submit.loading .spinner { display: inline-block; }
.btn-submit.loading .btn-text { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Contact map wrapper */
.contact-map-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    height: 100%;
    min-height: 450px;
}
.contact-map-wrap iframe {
    width: 100%; height: 100%; min-height: 450px; border: 0;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 2rem; right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 14px; font-weight: 500;
    display: flex; align-items: center; gap: 0.6rem;
    z-index: 11000;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-success { background: #10b981; color: white; }
.toast-error { background: #ef4444; color: white; }

/* ===================== */
/* CTA PARALLAX BG       */
/* ===================== */
.cta-bridge-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}
.cta-bridge-bg--light {
    background-image: url('../images/home_par_bg_light.jpg');
}
.cta-bridge-bg--dark {
    background-image: url('../images/home_par_bg_dark.jpg');
    display: none;
}
[data-theme="dark"] .cta-bridge-bg--light { display: none; }
[data-theme="dark"] .cta-bridge-bg--dark  { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .cta-bridge-bg--light { display: none; }
    :root:not([data-theme="light"]) .cta-bridge-bg--dark  { display: block; }
}

/* ===================== */
/* PROJECT CARD BG IMAGE */
/* ===================== */
.project-card-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
    transition: transform 0.6s ease;
}
.project-category-card:hover .project-card-bg-img {
    transform: scale(1.08);
}

/* ===================== */
/* SM MESSAGE (SECONDARY)*/
/* ===================== */
.sm-message-section {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 2rem;
    background: var(--bg-secondary);
}
.sm-message-section .md-portrait img,
.sm-message-section .md-portrait-placeholder {
    width: 140px;
    height: 140px;
}
.sm-message-section .md-message-content h3 {
    font-size: 1.15rem;
}
.sm-message-section .md-message-content p {
    font-size: 14px;
}
[data-theme="dark"] .sm-message-section {
    border-color: rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
}

/* ===================== */
/* CTA SECTION           */
/* ===================== */
.cta-section {
    position: relative;
    z-index: 3;
    margin-top: 0;
    padding-top: 2rem;
    padding-bottom: 4rem;
    overflow: visible;
}
.cta-section > .container {
    position: relative;
    z-index: 2;
}
.cta-card {
    margin-top: -7rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    color: white;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(41,151,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.cta-card::after {
    content: '';
    position: absolute;
    bottom: -40%; left: -20%;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.cta-inner {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}
.cta-content h2 {
    font-size: 2rem; font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}
.cta-content .cta-expertise {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1rem;
}
.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    line-height: 1.6;
    max-width: 550px;
}
.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.btn-download {
    display: inline-flex; align-items: center; gap: 0.7rem;
    padding: 1rem 2.2rem;
    border-radius: 980px;
    font-size: 16px; font-weight: 600;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, var(--accent), #0071e3);
    color: white;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-download:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(41,151,255,0.4);
}
.btn-download:disabled { opacity: 0.7; cursor: wait; transform: none; }
.btn-download .spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: none;
}
.btn-download.loading .spinner { display: inline-block; }
.btn-download.loading .dl-text { display: none; }
.cta-file-info {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}
.cta-stats {
    display: flex; gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.cta-stat {
    text-align: center;
}
.cta-stat .stat-num {
    font-size: 2rem; font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
}
.cta-stat .stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.3rem;
}

/* ===================== */
/* PAGE HEADER HERO      */
/* ===================== */
.page-header {
    padding: 10rem 0 5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Transparent overlay for text readability */
.page-header .page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.88) 0%, rgba(15,23,42,0.72) 50%, rgba(15,23,42,0.92) 100%);
    z-index: 1;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -40%; left: -15%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
}
.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    z-index: 3;
}
.page-header .page-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.7;
    position: relative;
    z-index: 3;
}
.page-header .accent-line {
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    position: relative;
    z-index: 3;
}

/* ===================== */
/* MD MESSAGE SECTION    */
/* ===================== */
.md-message-section {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}
.md-portrait {
    position: relative;
}
.md-portrait img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow-hover);
    object-fit: cover;
    aspect-ratio: 3/4;
}
.md-portrait-name {
    text-align: center;
    margin-top: 1.5rem;
}
.md-portrait-name h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.md-portrait-name span {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
}
.md-message-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.md-message-content::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 8rem;
    color: var(--accent);
    opacity: 0.08;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}
.md-message-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}
.md-message-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1.2rem;
}
.md-message-content p:last-child {
    margin-bottom: 0;
}
.md-signature {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}
.md-signature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    flex-shrink: 0;
}
.md-signature-info strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}
.md-signature-info span {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
}
@media (max-width: 768px) {
    .md-message-section {
        grid-template-columns: 1fr;
    }
    .md-portrait {
        max-width: 250px;
        margin: 0 auto;
    }
    .md-message-content {
        padding: 2rem;
    }
}

/* ===================== */
/* MODERN CARDS          */
/* ===================== */
.modern-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.modern-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}
.modern-card .card-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}
.modern-card:hover .card-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
}
.modern-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}
.modern-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ===================== */
/* ABOUT - PILLARS       */
/* ===================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.pillar-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.pillar-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: var(--card-shadow-hover); }
.pillar-card:hover::after { opacity: 1; }
.pillar-card i { font-size: 2rem; color: var(--accent); margin-bottom: 1rem; display: block; }
.pillar-card h4 { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }

/* ===================== */
/* ABOUT - POLICY CARDS  */
/* ===================== */
.policy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.policy-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
}
.policy-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.policy-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-3px); }
.policy-card:hover::before { opacity: 1; }
.policy-card .policy-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--accent);
    margin-bottom: 1.2rem;
}
.policy-card h3 { font-size: 1.15rem; margin-bottom: 0.8rem; }
.policy-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* ===================== */
/* ABOUT - COMMITMENTS   */
/* ===================== */
.commitment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.commitment-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    color: white;
    transition: var(--transition);
}
.commitment-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.2); }
.commitment-card i { font-size: 2rem; color: #60a5fa; margin-bottom: 1.2rem; display: block; }
.commitment-card h3 { font-size: 1.15rem; margin-bottom: 0.8rem; color: white; }
.commitment-card p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.7; }

/* ===================== */
/* WHY-ECC GRID          */
/* ===================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.why-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--transition);
}
.why-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-3px); }
.why-card .why-icon {
    width: 52px; height: 52px; min-width: 52px;
    border-radius: 14px;
    background: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: var(--accent);
}
.why-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

/* ===================== */
/* INTRO TEXT BLOCK       */
/* ===================== */
.intro-block {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}
.intro-block p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
}

/* ===================== */
/* STATS COUNTER         */
/* ===================== */
.stats-counter-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}
.stats-counter-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.stats-counter-section::after {
    content: '';
    position: absolute;
    bottom: -40%; left: -15%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}
.stats-counter-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
}
.stats-counter-item:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
}
.stats-counter-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
}
.stats-counter-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    display: inline;
    letter-spacing: -0.03em;
}
.stats-counter-suffix {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    display: inline;
}
.stats-counter-label {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.8rem;
    font-weight: 500;
}

/* ===================== */
/* TESTIMONIALS          */
/* ===================== */
.testimonials-section {
    background: var(--bg-secondary);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.testimonial-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 7rem;
    color: var(--accent);
    opacity: 0.06;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}
.testimonial-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}
.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.2rem;
}
.testimonial-stars i {
    color: #f59e0b;
    font-size: 14px;
}
.testimonial-quote {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.8rem;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    flex-shrink: 0;
}
.testimonial-info strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}
.testimonial-info span {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===================== */
/* DOWNLOAD MODAL        */
/* ===================== */
.download-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 10500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 2rem;
}
.download-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.download-modal {
    background: var(--bg-secondary);
    border-radius: 28px;
    padding: 3rem;
    max-width: 680px;
    width: 100%;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.06);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
    overflow: hidden;
}
.download-modal-overlay.active .download-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.download-modal::before {
    content: '';
    position: absolute;
    top: -60%; right: -30%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.download-modal::after {
    content: '';
    position: absolute;
    bottom: -50%; left: -20%;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(124,58,237,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.download-modal-close {
    position: absolute;
    top: 1.2rem; right: 1.2rem;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    color: var(--text-secondary);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    z-index: 3;
}
.download-modal-close:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: rotate(90deg);
}
.download-modal-header {
    position: relative; z-index: 2;
    margin-bottom: 2rem;
    padding-right: 3rem;
}
.download-modal-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}
.download-modal-header p {
    font-size: 14px;
    color: var(--text-secondary);
}
.download-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    position: relative;
    z-index: 2;
}
.download-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.8rem 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: block;
}
.download-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.download-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--accent);
}
.download-card:hover::before {
    opacity: 1;
}
.download-card-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(124,58,237,0.08));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
    transition: var(--transition);
}
.download-card:hover .download-card-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.08);
}
.download-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.download-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
}
.download-card .download-card-arrow {
    position: absolute;
    bottom: 1.2rem; right: 1.2rem;
    font-size: 13px;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-6px);
    transition: var(--transition);
}
.download-card:hover .download-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ===================== */
/* TEAM PAGE             */
/* ===================== */
.team-intro {
    max-width: 760px;
    margin: 0 auto 3.5rem;
    text-align: center;
}
.team-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    font-weight: 300;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.team-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}
.team-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}
.team-card:hover::after {
    opacity: 1;
}
.team-card-img {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #131829 0%, #1e293b 100%);
}
.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.team-card:hover .team-card-img img {
    transform: scale(1.06);
}
.team-card-img .team-placeholder-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.15);
}
.team-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.team-card:hover .team-card-img-overlay {
    opacity: 1;
}
.team-card-body {
    padding: 2rem;
}
.team-card-body .team-role {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    background: var(--accent-light);
    padding: 0.3rem 0.9rem;
    border-radius: 980px;
    margin-bottom: 0.8rem;
}
.team-card-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}
.team-card-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}
.btn-profile {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1.5px solid var(--accent);
    background: transparent;
    color: var(--accent);
    transition: var(--transition);
    text-decoration: none;
}
.btn-profile:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.03);
}
.btn-profile i {
    font-size: 12px;
    transition: transform 0.3s ease;
}
.btn-profile:hover i {
    transform: translateX(4px);
}

/* ===================== */
/* PROFILE HERO (raja)   */
/* ===================== */
.profile-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 7rem 0 4rem;
}
.profile-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1a1a3e 40%, #0d1b3e 100%);
    z-index: 0;
}
.profile-hero-bg::before {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(37,99,235,0.14) 0%, transparent 65%);
    pointer-events: none;
}
.profile-hero-bg::after {
    content: '';
    position: absolute;
    bottom: -25%; left: -8%;
    width: 550px; height: 550px;
    background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 65%);
    pointer-events: none;
}
.profile-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 4rem;
    align-items: center;
}
.profile-hero-portrait {
    position: relative;
}
.profile-hero-portrait img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
    border: 2px solid rgba(255,255,255,0.08);
}
.profile-hero-portrait-glow {
    position: absolute;
    inset: -20px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(37,99,235,0.25) 0%, rgba(124,58,237,0.15) 100%);
    filter: blur(40px);
    z-index: 1;
    opacity: 0.7;
}
.profile-hero-text {
    color: white;
}
.profile-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: rgba(37,99,235,0.12);
    border: 1px solid rgba(37,99,235,0.2);
    padding: 0.4rem 1.2rem;
    border-radius: 980px;
    margin-bottom: 1.5rem;
}
.profile-hero-label i {
    font-size: 11px;
}
.profile-hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1.2rem;
    color: white;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.profile-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    max-width: 520px;
    font-weight: 300;
    margin-bottom: 2.5rem;
}
.profile-hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.profile-hero-stat {
    text-align: center;
}
.profile-hero-stat .stat-val {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.profile-hero-stat .stat-lbl {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.4rem;
    font-weight: 500;
}

/* ===== Profile Quote ===== */
.profile-quote-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}
.profile-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 2.5rem;
}
.profile-quote-icon {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.15;
    display: block;
    margin-bottom: 1.5rem;
}
.profile-quote p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.65;
    color: var(--text-primary);
    font-style: italic;
    letter-spacing: -0.01em;
    margin-bottom: 1.2rem;
}
.profile-quote cite {
    font-size: 15px;
    color: var(--accent);
    font-style: normal;
    font-weight: 600;
    display: block;
}

/* ===== Profile Strengths ===== */
.profile-strengths {
    padding: 3rem 0;
    background: var(--bg-main);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.strengths-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.strength-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
    cursor: default;
}
.strength-pill:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.strength-pill i {
    font-size: 1rem;
    color: var(--accent);
}

/* ===== Profile Bio Single Column ===== */
.profile-bio-single {
    max-width: 860px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.profile-bio-single::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px 0 0 4px;
}
.profile-bio-single p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1.2rem;
}
.profile-bio-single p:last-child {
    margin-bottom: 0;
}

/* ===== Profile Business Card Section ===== */
.profile-bcard-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1a1a3e 40%, #0d1b3e 100%);
    position: relative;
    overflow: hidden;
}
.profile-bcard-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 30px,
            rgba(255,255,255,0.01) 30px,
            rgba(255,255,255,0.01) 31px
        );
    pointer-events: none;
    z-index: 1;
}
.profile-bcard-section::before {
    content: '';
    position: absolute;
    top: -40%; right: -15%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}
.profile-bcard-section::after {
    content: '';
    position: absolute;
    bottom: -35%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}

/* ===== Responsive - Profile Page ===== */
@media (max-width: 768px) {
    .profile-hero {
        min-height: auto;
        padding: 6rem 0 3rem;
    }
    .profile-hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .profile-hero-portrait {
        max-width: 260px;
        margin: 0 auto;
    }
    .profile-hero-text h1 {
        font-size: 2.5rem;
    }
    .profile-hero-subtitle {
        max-width: 100%;
        margin: 0 auto 2rem;
    }
    .profile-hero-label {
        margin: 0 auto 1.5rem;
    }
    .profile-hero-stats {
        justify-content: center;
    }
    .profile-quote p {
        font-size: 1.2rem;
    }
    .profile-bio-single {
        padding: 2rem;
    }
}
@media (max-width: 480px) {
    .profile-hero {
        padding: 5.5rem 0 2.5rem;
    }
    .profile-hero-portrait {
        max-width: 220px;
    }
    .profile-hero-text h1 {
        font-size: 2rem;
    }
    .profile-hero-subtitle {
        font-size: 1rem;
    }
    .profile-hero-stats {
        gap: 1.2rem;
    }
    .profile-hero-stat .stat-val {
        font-size: 1.5rem;
    }
    .profile-hero-stat .stat-lbl {
        font-size: 10px;
    }
    .profile-quote p {
        font-size: 1.05rem;
    }
    .profile-quote {
        padding: 1.5rem;
    }
    .strengths-grid {
        gap: 0.6rem;
    }
    .strength-pill {
        font-size: 12px;
        padding: 0.5rem 1rem;
    }
    .profile-bio-single {
        padding: 1.5rem;
    }
    .profile-bcard-section {
        padding: 4rem 0;
    }
}

/* ===================== */
/* DIGITAL BUSINESS CARD */
/* ===================== */
.bcard-wrapper {
    max-width: 520px;
    margin: 0 auto;
}
.digital-bcard {
    background: linear-gradient(145deg, #0f172a 0%, #1a1a3e 45%, #0d1b3e 100%);
    border-radius: 24px;
    padding: 2.8rem 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.digital-bcard::before {
    content: '';
    position: absolute;
    top: -80px; right: -60px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 70%);
    pointer-events: none;
}
.digital-bcard::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.bcard-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bcard-logo {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.6rem;
    color: var(--accent);
}
.bcard-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}
.bcard-header .bcard-title {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.3rem;
    display: block;
}
.bcard-header .bcard-company {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    display: block;
}
.bcard-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
.bcard-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.2rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    transition: var(--transition);
}
.bcard-row:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.1);
}
.bcard-row-icon {
    width: 40px; height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: rgba(37,99,235,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: #60a5fa;
}
.bcard-row-content {
    flex: 1;
    min-width: 0;
}
.bcard-row-label {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 0.15rem;
}
.bcard-row-value {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    word-break: break-all;
}
.bcard-row-value a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}
.bcard-row-value a:hover {
    color: var(--accent);
}
.bcard-footer {
    position: relative;
    z-index: 2;
}
.btn-vcard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    color: white;
    transition: var(--transition);
    font-family: inherit;
}
.btn-vcard:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(37,99,235,0.35);
}
.btn-vcard i {
    font-size: 1.1rem;
}

/* ===================== */
/* ANIMATIONS            */
/* ===================== */
.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* =========================================================== */
/* RESPONSIVE - TABLET (max 1024px)                            */
/* =========================================================== */
@media (max-width: 1024px) {
    .org-line-horizontal-wide { width: 90%; }
    .org-branches-container-wide { width: 90%; }
    .grid-2-col { gap: 2.5rem; }
    .masonry-grid { column-count: 3; }
}

/* =========================================================== */
/* RESPONSIVE - MOBILE (max 768px)                             */
/* =========================================================== */
@media (max-width: 768px) {
    .container { padding: 0 1.2rem; }
    .section-padding { padding: 4rem 0; }

    /* Hamburger visible */
    .hamburger { display: block; }

    /* Nav links become side drawer */
    .nav-links {
        position: fixed;
        top: 0; right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        transition: right 0.35s ease;
        z-index: 999;
    }
    .nav-links.open {
        right: 0;
    }
    .nav-links a {
        font-size: 16px;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-primary) !important;
        opacity: 1;
        display: block;
    }
    .nav-links a.active { color: var(--accent) !important; }
    /* Show Home link in mobile drawer */
    .nav-home { display: list-item; }

    .mobile-nav-overlay { display: block; pointer-events: none; }
    .mobile-nav-overlay.active { pointer-events: auto; }

    /* Hero */
    .hero { min-height: 500px; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }

    /* Page titles */
    h1[style*="font-size: 4rem"] { font-size: 2.2rem !important; }

    /* Grids */
    .grid-2-col { grid-template-columns: 1fr; gap: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }
    .project-categories-grid { grid-template-columns: 1fr; }
    .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

    /* Glass cards */
    .glass-card { padding: 1.5rem; }

    /* Section title */
    .section-title h2 { font-size: 2rem; }
    .section-title p { font-size: 1rem; }

    /* Org chart mobile */
    .org-chart-wrapper { padding: 1rem 0; }
    .org-line-horizontal-wide { width: 95%; }
    .org-branches-container-wide {
        width: 95%;
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }
    .org-branch-col { width: 45%; min-width: 160px; }
    .root-box, .exec-box { width: 200px; height: 50px; }
    .dept-box { width: 150px; height: 45px; font-size: 11px; }
    .sub-box { width: 150px; min-height: 40px; font-size: 11px; }
    .org-box h3 { font-size: 11px; }

    /* Contact */
    .contact-minimal h3 { font-size: 1.2rem; }
    .contact-minimal i { font-size: 2rem; }

    /* Footer */
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }

    /* Table */
    th, td { padding: 0.8rem 1rem; font-size: 13px; }

    /* Work Experience Log margin */
    .section-title[style*="margin-top: 8rem"] { margin-top: 4rem !important; }

    /* Gallery responsive */
    .masonry-grid { column-count: 2; }
    .gallery-modal-header { padding: 1.2rem 1.5rem; }
    .gallery-modal-body { padding: 1.5rem; }
    .gallery-lightbox-nav { width: 42px; height: 42px; font-size: 1.2rem; }
    .gallery-lightbox-nav.prev { left: 0.8rem; }
    .gallery-lightbox-nav.next { right: 0.8rem; }

    /* Contact responsive */
    .contact-info-grid { grid-template-columns: 1fr; }
    .contact-form-section { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-map-wrap { min-height: 350px; }
    .contact-map-wrap iframe { min-height: 350px; }
    .registration-strip { gap: 1.5rem; }

    /* CTA responsive */
    .cta-section { margin-top: 0; }
    .cta-inner { grid-template-columns: 1fr; text-align: center; }
    .cta-content p { max-width: 100%; }
    .cta-actions { align-items: center; }
    .cta-stats { justify-content: center; }
    .cta-card { padding: 2.5rem 2rem; }

    /* New components responsive */
    .page-header { padding: 6rem 0 3rem; }
    .page-header h1 { font-size: 2.2rem; }
    .page-header .page-subtitle { font-size: 1rem; }
    .policy-grid { grid-template-columns: 1fr; }
    .commitment-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }

    /* Stats counter responsive */
    .stats-counter-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .stats-counter-section { padding: 3.5rem 0; }
    .stats-counter-num { font-size: 2.5rem; }
    .stats-counter-suffix { font-size: 1.8rem; }
    .stats-counter-item { padding: 1.5rem 1rem; }

    /* Testimonials responsive */
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card { padding: 2rem; }

    /* Download modal responsive */
    .download-modal { padding: 2rem; border-radius: 20px; }
    .download-modal-grid { grid-template-columns: 1fr; }
    .download-modal-header h3 { font-size: 1.3rem; }

    /* Team responsive */
    .team-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .team-card-img { height: 280px; }

    /* Business card responsive */
    .digital-bcard { padding: 2rem 1.5rem; }
    .bcard-row { padding: 0.75rem 1rem; }
}

/* =========================================================== */
/* RESPONSIVE - SMALL PHONE (max 480px)                        */
/* =========================================================== */
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .section-padding { padding: 3rem 0; }

    .hero { min-height: 450px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; margin-bottom: 1.5rem; }
    .hero-content { padding: 0 1rem; }

    .btn { font-size: 15px; padding: 0.7rem 1.5rem; }

    .section-title h2 { font-size: 1.6rem; }

    .clients-grid { grid-template-columns: 1fr 1fr; }
    .client-logo { padding: 1rem; min-height: 120px; }
    .client-logo i { font-size: 1.5rem; margin-bottom: 0.5rem; }
    .client-logo span { font-size: 11px; }

    .service-card { padding: 1.5rem 1rem; }
    .service-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
    .service-card h3 { font-size: 1.2rem; }

    .showcase-item img { height: 180px; }

    /* Org chart stacks vertically */
    .org-branches-container-wide {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .org-branch-col { width: 80%; }
    .org-line-horizontal-wide { display: none; }

    /* Contact cards stack */
    .contact-minimal > div { gap: 2rem !important; flex-direction: column; }

    /* Map height */
    iframe { height: 300px !important; }

    .footer-contact p { font-size: 13px; }

    /* Accordion/Certs mobile */
    .accordion-header { padding: 1rem 1.2rem; font-size: 1rem; }
    .accordion-body-inner { padding: 0 1rem 1.5rem; }
    .cert-grid { grid-template-columns: 1fr; }
    .cert-card img { height: 220px; }

    /* Gallery small phone */
    .masonry-grid { column-count: 1; }
    .gallery-modal-header { padding: 1rem; }
    .gallery-modal-header h3 { font-size: 1.1rem; }
    .gallery-modal-body { padding: 1rem; }
    .project-category-card { padding: 1.8rem; }
    .project-category-card h3 { font-size: 1.1rem; }
    .gallery-lightbox-nav { width: 36px; height: 36px; font-size: 1rem; }
    .gallery-lightbox-nav.prev { left: 0.5rem; }
    .gallery-lightbox-nav.next { right: 0.5rem; }

    /* Contact small phone */
    .contact-form { padding: 1.5rem; }
    .contact-info-card { padding: 1.5rem; }
    .registration-strip { padding: 1rem; gap: 1rem; }
    .registration-strip .reg-item { font-size: 12px; }

    /* CTA small phone */
    .cta-section { margin-top: 0; }
    .cta-card { padding: 2rem 1.5rem; }
    .cta-content h2 { font-size: 1.5rem; }
    .cta-stats { gap: 1.5rem; flex-wrap: wrap; }
    .cta-stat .stat-num { font-size: 1.5rem; }
    .btn-download { font-size: 14px; padding: 0.85rem 1.8rem; }

    /* New components small phone */
    .page-header { padding: 5rem 0 2.5rem; }
    .page-header h1 { font-size: 1.8rem; }
    .pillars-grid { grid-template-columns: 1fr; }
    .policy-card { padding: 1.5rem; }
    .commitment-card { padding: 1.5rem; }
    .why-card { flex-direction: column; }
    .modern-card { padding: 1.5rem; }

    /* Stats counter small phone */
    .stats-counter-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .stats-counter-section { padding: 2.5rem 0; }
    .stats-counter-num { font-size: 2rem; }
    .stats-counter-suffix { font-size: 1.4rem; }
    .stats-counter-icon { font-size: 1.5rem; margin-bottom: 0.8rem; }
    .stats-counter-label { font-size: 11px; }
    .stats-counter-item { padding: 1.2rem 0.8rem; }

    /* Testimonials small phone */
    .testimonial-card { padding: 1.5rem; }
    .testimonial-quote { font-size: 14px; }

    /* Download modal small phone */
    .download-modal { padding: 1.5rem; }
    .download-card { padding: 1.3rem 1.2rem; }
    .download-card-icon { width: 44px; height: 44px; font-size: 1.2rem; margin-bottom: 1rem; }

    /* Team small phone */
    .team-card-body { padding: 1.5rem; }
    .team-card-img { height: 240px; }

    /* Business card small phone */
    .digital-bcard { padding: 1.8rem 1.2rem; border-radius: 20px; }
    .bcard-header h3 { font-size: 1.3rem; }
    .bcard-row-value { font-size: 14px; }
}

/* Disabled profile button — shown when profile page doesn't exist yet */
.btn-profile-disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===================== */
/* 3D CARD STACK GALLERY */
/* ===================== */
.card-stack-3d {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    min-height: 520px;
}
.card-stack-viewport {
    position: relative;
    width: 500px;
    max-width: 95%;
    height: 420px;
    perspective: 1200px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.card-stack-item {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.25);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.4s ease,
                box-shadow 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform, opacity;
    backface-visibility: hidden;
}
.card-stack-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.card-stack-glow {
    position: absolute;
    inset: -8px;
    border-radius: 28px;
    background: radial-gradient(ellipse at center, rgba(41,151,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}
.card-stack-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    pointer-events: none;
}
.card-stack-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.card-stack-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.card-stack-dots {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 200;
}
.card-stack-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.card-stack-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(41,151,255,0.5);
}
.card-stack-dot:hover:not(.active) {
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.2);
}

/* Responsive 3D stack */
@media (max-width: 768px) {
    .card-stack-viewport {
        width: 100%;
        height: 350px;
    }
    .card-stack-3d { min-height: 420px; }
    .card-stack-dots {
        right: auto;
        bottom: -35px;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }
}
@media (max-width: 480px) {
    .card-stack-viewport { height: 280px; }
    .card-stack-3d { min-height: 350px; }
    .card-stack-title { font-size: 1rem; }
    .card-stack-desc { font-size: 0.78rem; }
}

/* ===================== */
/* PLACEHOLDER PORTRAITS */
/* ===================== */
.profile-hero-portrait-placeholder,
.md-portrait-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(41,151,255,0.12), rgba(0,212,255,0.08));
    border-radius: inherit;
    font-size: 5rem;
    color: var(--accent);
}
.md-portrait-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    font-size: 4rem;
}
@media (max-width: 768px) {
    .md-portrait-placeholder {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
}
