/* Global Styles - global-styles.css */
/* Modern CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #179B95;
    --primary-color-rgb: 23, 155, 149;
    --secondary-color: #E1CB36;
    --secondary-color-rgb: 225, 203, 54;
    --dark-color: #001716;
    --dark-color-rgb: 0, 23, 22;
    --light-color: #eafbfb;
    --light-color-rgb: 234, 251, 251;
    --background-color: #ffffff;
    --text-color: #333333;
    --light-text: #666666;
    --border-radius: 15px;
    --border-radius-circle: 50%;
    --card-shadow: 0 4px 20px rgba(23, 155, 149, 0.08);
    --max-width: 1200px;
    --padding: 2rem;
}

[data-theme="dark"] {
    --background-color: #1a1a1a;
    --text-color: #ffffff;
    --light-text: #cccccc;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Navigation */
.nav-container {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    gap: 2rem;
    padding: 0.75rem 1.5rem;
    background: rgba(var(--light-color-rgb), 0.2);
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

.nav-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 0.75rem 1.5rem;
    max-width: var(--max-width);
    width: 100%;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

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

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Settings Container */
.settings-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1001;
    background: rgba(var(--primary-color-rgb), 0.1);
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0.75rem;
}

.toggle-container {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-circle);
    width: 2.25rem;
    height: 2.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.theme-toggle i {
    font-size: 1rem;
    color: var(--background-color);
}

/* Language Toggle */
.lang-toggle {
    background: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-circle);
    width: 2.25rem;
    height: 2.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    padding: 0;
}

.lang-toggle:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

/* Flag Icons using flag-icons library */
.fi {
    width: 1.4rem;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    color: var(--text-color);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--background-color);
    color: var(--light-text);
}

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

.footer-separator {
    color: var(--light-text);
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--secondary-color);
}

/* Animations */
.animate-in {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Primary Button Styles */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem !important;
    background: var(--primary-color) !important;
    color: var(--background-color) !important;
    text-decoration: none;
    border: none !important;
    border-radius: var(--border-radius) !important;
    font-weight: 600 !important;
    font-size: clamp(1rem, 2vw, 1.1rem) !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(23, 155, 149, 0.2);
}

.cta-button:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(225, 203, 54, 0.3) !important;
}

/* Ripple Effect - Diagonal Sweep */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.cta-button:active::before {
    left: 100%;
    transition: left 0s;
}

.cta-button:active {
    transform: translateY(0) !important;
}

/* Dark mode adjustments for nav */
[data-theme="dark"] .nav-container {
    background: rgba(var(--primary-color-rgb), 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Media queries for mobile responsiveness */
@media (max-width: 768px) {
    .nav-container {
        top: 5rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0.5rem 1rem;
        gap: 1rem;
        height: 2.25rem;
        display: flex;
        align-items: center;
    }
    
    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .settings-container {
        padding: 0.5rem;
    }
    
    .settings-container .toggle-container {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .theme-toggle,
    .lang-toggle {
        width: 2.25rem;
        height: 2.25rem;
        padding: 0;
    }
}

/* Decorative Circles */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.1;
    z-index: 0;
}

.circle-1 {
    width: 350px;
    height: 350px;
    top: -150px;
    left: -150px;
}

.circle-2 {
    width: 250px;
    height: 250px;
    bottom: -100px;
    right: -100px;
    background: var(--secondary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 6rem;
    padding-bottom: 2rem;
    background: linear-gradient(rgba(23, 155, 149, 0.1), rgba(142, 226, 220, 0.1));
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    padding: var(--padding);
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: fadeInUp 1s ease forwards;
    padding-bottom: 0.2em;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    margin-bottom: 1.5rem !important;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
    opacity: 0.9;
    padding: 0;
}

[data-theme="dark"] .hero-subtitle {
    color: white;
    opacity: 0.95;
}

/* Success Icon styles */
.success-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.success-icon i {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}