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

:root {
    /* Globe image colors */
    --primary-color: #0078c1; /* Bright blue from the globe */
    --primary-dark: #005a94; /* Darker blue from the globe */
    --secondary-color: #00a0e4; /* Light blue from the globe */
    --light-hover: #88bce9ce;
    --accent-color: #00c1f3; /* Lightest blue accent from the globe */
    --text-color: #002b47; /* Darker blue for text - improved contrast */
    --text-light: #3a6a88; /* Darker medium blue for lighter text - improved contrast */
    --bg-color: #ffffff; /* White background */
    --bg-light: #f0f8ff; /* Very light blue background */
    --bg-dark: #001a2e; /* Very dark blue - darkened for better contrast */
    --light-bg: #e6f3ff; /* Pale blue background */
    --border-color: #cce5ff; /* Light blue border */
    --shadow-sm: 0 1px 3px rgba(0, 120, 193, 0.1), 0 1px 2px rgba(0, 120, 193, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 120, 193, 0.1), 0 2px 4px -1px rgba(0, 120, 193, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 120, 193, 0.1), 0 4px 6px -2px rgba(0, 120, 193, 0.05);
    --footer-text: #e6f3ff; /* Light text for footer */
    --footer-text-muted: #a0c4e4; /* Muted text for footer */
}

* {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: var(--primary-dark);
}

.light-bg:hover {
    background-color: var(--light-hover) !important;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-slideInRight {
    animation: slideInRight 0.5s ease forwards;
}

/* Navigation Styles */
/* Mobile navbar animation */
#mobile-menu {
    max-height: 0;
    transform: translateY(-20px);
    overflow: hidden;
    transition: max-height 1s ease-in-out, transform 0.7s ease-in-out, opacity 0.2s ease-in-out, visibility 0.7s ease-in-out;
    opacity: 0;
    visibility: hidden;
    transform-origin: top;
    will-change: transform, max-height, opacity;
}

#mobile-menu.open {
    max-height: 400px; /* Adjust based on your menu height */
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Hide mobile menu on large screens regardless of open state */
@media (min-width: 1024px) {
    #mobile-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        max-height: 0 !important;
        transform: translateY(-20px) !important;
    }
}
.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
}

.active.nav-link {
    background-color: var(--light-hover);
    color: var(--text-color);
}

.nav-link:hover {
    background-color: var(--light-hover);
    color: var(--text-color);
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.375rem;
    margin-right: 0.5rem;
    transition: all 0.2s ease;
}

.nav-icon i {
    font-size: 1.5rem;
    color: var(--text-color);
}

/* Social Media Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    color: white;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* Utility Classes */
.container {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Card Styles */
.card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile Menu Styles */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* Footer Styles */
footer a:hover {
    color: var(--accent-color);
}