/* ==========================================================================
   💎 GARUDA TECH 2.0 - CORE DESIGN SYSTEM & CUSTOM CSS
   Architected for PT Garuda Sakha Technology by Antigravity (Google DeepMind Team)
   ========================================================================== */

/* --- CSS VARIABLES & TOKENS --- */
:root {
    --bg-primary: #080711;
    --bg-secondary: #0f0e21;
    --bg-tertiary: #161430;
    
    --accent-primary: #ec4899;   /* Hot pink gradient start */
    --accent-secondary: #8b5cf6; /* Indigo/violet gradient end */
    --accent-gold: #eab308;      /* Luxurious gold accent */
    --accent-gold-rgb: 234, 179, 8;
    
    --text-primary: #f3f4f6;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    --glass-bg: rgba(15, 14, 33, 0.65);
    --glass-bg-hover: rgba(22, 20, 48, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(139, 92, 246, 0.4);
    
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.25);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* --- PREMIUM TYPOGRAPHY & HELPERS --- */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p {
    font-weight: 400;
    color: var(--text-secondary);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- DYNAMIC MESH BACKGROUNDS & GLOW ORBS --- */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(at 0% 0%, rgba(236, 72, 153, 0.07) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(234, 179, 8, 0.03) 0px, transparent 50%);
    z-index: -3;
    pointer-events: none;
}

.glow-orb {
    position: fixed;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.35;
    animation: orbFloat 25s infinite alternate ease-in-out;
}

.orb-1 {
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    top: -20%;
    right: -10%;
}

.orb-2 {
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    bottom: -20%;
    left: -10%;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(8%, 10%) scale(1.15); }
    100% { transform: translate(-5%, -5%) scale(0.9); }
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.25);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4), var(--shadow-glow);
}

.error-state {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4) !important;
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
    transform: translateY(-3px);
}

/* --- HEADER / NAVIGATION --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(8, 7, 17, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background: var(--bg-primary);
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    padding: 0.85rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition-smooth);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2.25rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-quick);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: var(--transition-quick);
}

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

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
}

.mobile-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-quick);
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 7rem;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.25);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-badge .badge-icon {
    color: var(--accent-primary);
    font-size: 0.9rem;
    animation: rotateSparkle 3s infinite linear;
}

@keyframes rotateSparkle {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.hero-badge .badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

.hero-content h1 {
    font-size: 3.75rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-primary) 50%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.25rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--accent-secondary);
    filter: blur(120px);
    opacity: 0.4;
    z-index: -1;
}

.interactive-circuit-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    width: 100%;
    max-width: 380px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.interactive-circuit-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: rotate(45deg);
    animation: shineCard 6s infinite linear;
}

@keyframes shineCard {
    0% { transform: translate(-30%, -30%) rotate(45deg); }
    100% { transform: translate(30%, 30%) rotate(45deg); }
}

.circuit-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

.circuit-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.circuit-header .red { background-color: #ef4444; }
.circuit-header .yellow { background-color: #eab308; }
.circuit-header .green { background-color: #22c55e; }

.circuit-header .title {
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--text-muted);
    margin-left: auto;
}

.circuit-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.85rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
}

.status-row .label {
    font-size: 0.85rem;
    font-weight: 500;
}

.status-row .val {
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.status-row .val.online {
    color: #22c55e;
}

.status-row .val.protected {
    color: #3b82f6;
}

.pulse-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid var(--accent-secondary);
    margin: 0.5rem auto 1rem auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--accent-primary);
    animation: radarPulse 2s infinite linear;
}

@keyframes radarPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* --- SECTION TAGS & HEADERS --- */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent-primary);
    background: rgba(236, 72, 153, 0.08);
    padding: 0.35rem 0.95rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid rgba(236, 72, 153, 0.15);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 1.05rem;
    max-width: 650px;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
}

section {
    padding: 6.5rem 0;
    position: relative;
}

/* --- DIVISION SHOWCASE (TABS) --- */
.divisions-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.divisions-tab-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.25rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-premium);
}

.divisions-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1.25rem;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    border-radius: 12px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.tab-btn i {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}

.tab-btn.active {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-secondary);
    box-shadow: inset 0 0 10px rgba(139, 92, 246, 0.05);
}

.tab-btn.active i {
    color: var(--accent-secondary);
}

.tab-contents {
    position: relative;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tab-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.tab-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.tab-info p {
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.features-list li i {
    color: var(--accent-secondary);
    font-size: 1.1rem;
}

.tab-graphic {
    display: flex;
    justify-content: center;
}

.glass-tech-box {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at 0% 0%, rgba(139, 92, 246, 0.15), transparent 70%), var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-premium);
}

.glass-tech-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.glass-tech-box:hover::before {
    opacity: 1;
}

.glass-tech-box .icon-holder {
    font-size: 3.5rem;
    color: var(--accent-secondary);
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3));
    animation: floatIcon 4s infinite ease-in-out;
}

.glass-tech-box.creative .icon-holder {
    color: var(--accent-primary);
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.3));
}

.glass-tech-box.training .icon-holder {
    color: var(--accent-gold);
    filter: drop-shadow(0 0 10px rgba(234, 179, 8, 0.3));
}

@keyframes floatIcon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.glass-tech-box .tech-metric {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

/* --- SERVICES CARD GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.75rem 2.25rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.service-card .card-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), var(--shadow-glow);
}

.service-card:hover .card-glow {
    background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, transparent 70%);
    transform: scale(1.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.75rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.service-card h3 {
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

.card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.card-features li {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-features li i {
    font-size: 0.75rem;
    color: var(--accent-primary);
    transition: var(--transition-quick);
}

.service-card:hover .card-features li i {
    transform: translateX(3px);
}

/* --- ABOUT & STATS --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 4.5rem;
    align-items: center;
    margin-bottom: 6.5rem;
}

.about-info h2 {
    margin-bottom: 1.25rem;
}

.about-info p {
    font-size: 1.05rem;
    margin-bottom: 2.25rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.stat-item .stat-num {
    display: block;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-item .stat-lbl {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-card-stack {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
}

.about-card-stack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(8, 7, 17, 0.8) 100%);
    z-index: 1;
}

.about-img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.about-card-stack:hover .about-img {
    transform: scale(1.05);
}

/* --- BOARD OF DIRECTORS --- */
.directors-container {
    margin-top: 2rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 5rem;
}

.directors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (min-width: 1025px) {
    .grid-col-start-2-desktop {
        grid-column-start: 2;
    }
}

.director-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.director-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(236, 72, 153, 0.15);
}

.director-img-wrapper {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background-color: var(--bg-tertiary);
}

.director-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    mix-blend-mode: luminosity;
    transition: var(--transition-smooth);
}

.director-card:hover .director-img-wrapper img {
    filter: grayscale(0%);
    mix-blend-mode: normal;
    transform: scale(1.04);
}

.director-info {
    padding: 1.25rem 1rem;
    text-align: center;
    position: relative;
}

.director-info h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    transition: var(--transition-quick);
}

.director-card:hover .director-info h4 {
    color: var(--accent-primary);
}

.director-info .role {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.director-socials {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(5px);
    transition: var(--transition-smooth);
}

.director-card:hover .director-socials {
    opacity: 1;
    transform: translateY(0);
}

.director-socials a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-quick);
}

.director-socials a:hover {
    color: var(--accent-secondary);
}

/* --- SOLUTIONS CONSULTATION FORM --- */
.consultation-section {
    position: relative;
    border-top: 1px solid var(--glass-border);
}

.consultation-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, transparent 70%);
    top: 10%;
    right: 5%;
    pointer-events: none;
}

.consultation-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-premium);
}

.consultation-info h2 {
    margin-bottom: 1.25rem;
}

.consultation-info > p {
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(234, 179, 8, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.consultation-form-wrapper {
    background: rgba(8, 7, 17, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
}

.consultation-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: var(--transition-smooth);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
}

input, select, textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    font-family: var(--font-sans);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-quick);
    width: 100%;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-secondary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

textarea {
    resize: vertical;
}

.form-success-msg {
    display: none;
    text-align: center;
    padding: 2rem 0;
    opacity: 0;
    transition: var(--transition-smooth);
}

.form-success-msg.show {
    display: block;
    opacity: 1;
}

.success-icon {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 1.25rem;
    animation: scaleCheck 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleCheck {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.form-success-msg h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* --- FOOTER --- */
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 0 0;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4.5rem;
    margin-bottom: 4rem;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .footer-logo {
    height: 35px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
    text-decoration: none;
}

.footer-socials a:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-secondary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links ul a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-quick);
}

.footer-links ul a:hover {
    color: var(--accent-secondary);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact p {
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact p i {
    color: var(--accent-secondary);
    margin-top: 0.25rem;
    font-size: 1.1rem;
}

.footer-contact p a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: var(--transition-quick);
}

.footer-contact p a:hover {
    color: var(--accent-secondary) !important;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    background: var(--bg-primary);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .directors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 991px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .divisions-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .tab-graphic {
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .consultation-box {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        padding: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-contact {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .divisions-tabs {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 0.75rem !important;
        padding-bottom: 0.75rem !important;
        border-bottom: 1px solid var(--glass-border) !important;
        margin-bottom: 1.5rem !important;
    }
    .divisions-tabs::-webkit-scrollbar {
        display: none !important;
    }
    .tab-btn {
        flex: 0 0 auto !important;
        padding: 0.8rem 1.2rem !important;
        font-size: 0.85rem !important;
    }

    .header-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        padding: 6rem 2.5rem;
        transition: var(--transition-smooth);
        z-index: 99;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .mobile-toggle.open .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.open .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .directors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.85rem; }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .directors-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-contact {
        grid-column: span 1;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* --- FLOATING WHATSAPP BUTTON --- */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 15px rgba(37, 211, 102, 0.2);
    z-index: 999;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5), 0 0 25px rgba(37, 211, 102, 0.3);
    background-color: #20ba5a;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(15, 14, 33, 0.95);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    
    .whatsapp-tooltip {
        display: none; /* Hide tooltip on small mobile screens for clean layout */
    }
}

/* --- SCROLL PROGRESS INDICATOR --- */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    width: 0%;
    z-index: 1001;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
    transition: width 0.1s ease;
}

/* --- SCROLL REVEAL ENTRY ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.reveal-left {
    transform: translateX(-35px);
}

.reveal.reveal-right {
    transform: translateX(35px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- PREMIUM CARD HOVER INTERACTIVE GLARE --- */
.director-card, .service-card, .tab-grid {
    position: relative;
    overflow: hidden;
}

.director-card::before, .service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    transform: scale(0.5);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

.director-card:hover::before, .service-card:hover::before {
    transform: scale(1) translate(10%, 10%);
    opacity: 1;
}
