@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@600;700;800&display=swap');

:root {
    /* Premium Emerald & Slate Design Tokens */
    --primary-bg: #0F172A;
    --secondary-bg: #1E293B;
    --dark-bg: #0B0F1A;
    --accent-primary: #10B981;
    --accent-secondary: #3B82F6;
    --accent-glow: rgba(16, 185, 129, 0.4);
    
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Shadows & Effects */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px var(--accent-glow);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Borders */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --radius-md: 16px;
    --radius-lg: 32px;
    
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
    font-weight: 700;
}

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

ul { list-style: none; }

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

/* Layout Utilities */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-top-padding {
    padding-top: 140px;
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .section { padding: var(--spacing-lg) 0; }
    .section-top-padding { padding-top: 100px; }
}

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

@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex { display: flex; gap: 1rem; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

/* Modern Components */
.glass-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.1), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.glass-card:hover::before {
    opacity: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.8rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #059669);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.6);
}

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

.btn-outline:hover {
    background: var(--accent-primary);
    color: #fff;
    transform: translateY(-4px);
}

/* Header Navigation */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(15, 23, 42, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.nav-header .container {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 65px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 1rem;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.static-hero {
    background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6)), url('../assets/hero_global_ops_az.png');
    background-attachment: fixed;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}

.hero-heading {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 2rem;
    color: #fff;
    background: linear-gradient(to right, #ffffff, #a7f3d0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.hero-subtext {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 750px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.text-gradient {
    color: var(--accent-primary); /* Fallback */
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Swiper Slider Overrides */
.hero-slider .swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-slider .swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.9)); /* Balanced overlay for better image visibility but clear text */
}

.hero-slider .slide-content {
    position: relative;
    z-index: 10;
}

/* Footer */
footer {
    background: var(--dark-bg);
    padding: var(--spacing-xl) 0 3rem;
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    height: 60px;
    margin-bottom: var(--spacing-md);
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-primary);
}

.footer-col ul li { margin-bottom: 1rem; }
.footer-col ul li a { color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--accent-primary); padding-left: 5px; }

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

@media (max-width: 992px) {
    .nav-links { 
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark-bg);
        padding: 100px 2rem;
        transition: var(--transition-smooth);
        z-index: 1500;
        overflow-y: auto;
    }
    .nav-links.active { right: 0; }
    .menu-toggle { display: flex; z-index: 2001; }
    .nav-cta { display: none; }
}

/* Dropdown Arrow Support */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--accent-primary);
    border-bottom: 2px solid var(--accent-primary);
    transform: rotate(45deg);
    margin-top: -3px;
    transition: var(--transition-smooth);
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

/* Dropdown Menu - Modern & Multi-column */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--secondary-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    min-width: 800px; /* Wider for all services */
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 992px) {
    .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        display: none; /* Hidden by default on mobile */
        min-width: 100%;
        box-shadow: none;
        background: rgba(255,255,255,0.03);
        padding: 1rem;
        margin-top: 1rem;
    }
    .dropdown.active .dropdown-menu {
        display: block;
    }
}

.dropdown-item {
    display: flex;
    gap: 1.2rem;
    padding: 1rem;
    border-radius: 12px;
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.05);
}

.dropdown-item h5 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.dropdown-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
