/* ===== CSS Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Root Variables ===== */
:root {
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f5f5f5;
    --gray-dark: #333333;
    --primary: #000000;
    --secondary: #ffffff;
    --accent-blue-light: #018eef;
    --accent-blue-dark: #004799;
    --bg-bluish-white: #e3f9ff;
    --transition: all 0.3s ease;
    --header-height: 80px;
}

/* ===== Base Styles ===== */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Bricolage Grotesque", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--bg-bluish-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Header Styles ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    box-shadow: none;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.header-container {
    max-width: 1400px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    cursor: pointer;
}

.logo-img:hover {
    opacity: 0.8;
}

/* ===== Navigation Styles ===== */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-size: 1.125rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.03em;
    font-variation-settings: "wdth" 100;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue-dark);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-blue-dark);
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== Mobile Menu Toggle ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 25px;
    height: 2px;
    background-color: var(--black);
    transition: var(--transition);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-menu-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: var(--bg-bluish-white);
    padding: calc(var(--header-height) + 6rem) 1rem 2rem;
    padding-bottom: 8rem;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    text-align: left;
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6.5vw, 5.85rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--black);
    letter-spacing: -0.02em;
    line-height: 1.1;
    white-space: nowrap;
    font-variation-settings: "wdth" 100;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.375rem);
    color: var(--gray-dark);
    margin-bottom: 0;
    opacity: 0.85;
    line-height: 1.7;
    max-width: 600px;
    font-weight: 400;
    font-variation-settings: "wdth" 100;
}

/* ===== Hero Right - Animated Element ===== */
.hero-right {
    position: relative;
    width: 100%;
    max-width: 460px;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-globe {
    width: 100%;
    height: 100%;
    display: block;
    cursor: crosshair;
}

/* Push the updates card section down */
.hero-bottom {
    margin-top: 60px;
}

@media (max-width: 768px) {
    .hero-right {
        max-width: 100%;
        height: 340px;
    }

    .hero-bottom {
        margin-top: 40px;
    }
}

/* ===== Responsive Design ===== */
/* Tablet */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .header-container {
        padding: 0 1.5rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .hero {
        padding: calc(var(--header-height) + 3rem) 1rem 1.5rem;
        padding-bottom: 6rem;
        align-items: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-left {
        text-align: center;
        order: 2;
    }
    
    .hero-right {
        order: 1;
    }
    
    .hero-title {
        white-space: normal;
        font-size: clamp(2.6rem, 5.2vw, 4.68rem);
    }
    
    .hero-subtitle {
        max-width: 100%;
        font-size: clamp(0.95rem, 1.9vw, 1.2rem);
        opacity: 0.85;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .hero-right {
        height: 350px;
    }
    
    .circle-1 {
        width: 16px;
        height: 16px;
    }
    
    .circle-2 {
        width: 14px;
        height: 14px;
    }
    
    .circle-3 {
        width: 12px;
        height: 12px;
    }
    
    .shape-1 {
        width: 150px;
        height: 150px;
    }
    
    .shape-2 {
        width: 220px;
        height: 220px;
    }
    
    .shape-3 {
        width: 300px;
        height: 300px;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-bluish-white);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .nav-link {
        font-size: 1.46rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --header-height: 60px;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .hero {
        padding: calc(var(--header-height) + 2rem) 0.75rem 1rem;
        padding-bottom: 4rem;
        align-items: center;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .hero-right {
        height: 300px;
    }
    
    .circle-1 {
        width: 14px;
        height: 14px;
    }
    
    .circle-2 {
        width: 12px;
        height: 12px;
    }
    
    .circle-3 {
        width: 10px;
        height: 10px;
    }
    
    .shape-1 {
        width: 120px;
        height: 120px;
    }
    
    .shape-2 {
        width: 180px;
        height: 180px;
    }
    
    .shape-3 {
        width: 240px;
        height: 240px;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-bluish-white);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .nav-link {
        font-size: 1.31rem;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .hero-container {
        max-width: 1400px;
    }
}

/* Globe tooltip animation */
.globe-tooltip::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(20, 20, 20, 0.95);
}

@media (max-width: 768px) {
    .globe-tooltip {
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* Globe tooltip arrow */
.globe-tooltip::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(20, 20, 20, 0.95);
}
