/* CSS Variables */
:root {
    /* Color Palette - Carnival Theme with Dark Background */
    --primary-color: #ff006e;      /* Vibrant Pink */
    --primary-light: #ff5470;     /* Light Pink */
    --primary-dark: #d9004c;      /* Dark Pink */
    --secondary-color: #fb8500;    /* Carnival Orange */
    --secondary-light: #ffb366;   /* Light Orange */
    --secondary-dark: #cc6b00;    /* Dark Orange */
    --accent-purple: #8338ec;     /* Carnival Purple */
    --accent-teal: #06ffa5;       /* Neon Teal */
    --accent-yellow: #ffbe0b;     /* Bright Yellow */
    --accent-blue: #3a86ff;       /* Electric Blue */
    --accent-green: #06d6a0;      /* Carnival Green */
    
    /* Dark Theme Colors */
    --text-primary: #ffffff;      /* White text */
    --text-secondary: #e2e8f0;    /* Light gray text */
    --text-light: #a0aec0;        /* Medium gray text */
    --text-white: #ffffff;
    --text-dark: #1f2937;         /* Dark text for white backgrounds */
    --bg-primary: #1a1a2e;        /* Dark navy background */
    --bg-secondary: #16213e;      /* Darker navy */
    --bg-dark: #0f0f1e;           /* Very dark background */
    --bg-overlay: rgba(26, 26, 46, 0.9);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Layout */
    --container-max-width: 1200px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, 
        var(--bg-primary) 0%, 
        var(--bg-secondary) 25%, 
        var(--bg-dark) 50%, 
        var(--bg-secondary) 75%, 
        var(--bg-primary) 100%);
    background-size: 400% 400%;
    animation: carnivalGradientShift 20s ease infinite;
    overflow-x: hidden;
    position: relative;
}

@keyframes carnivalGradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 25%; }
    50% { background-position: 100% 75%; }
    75% { background-position: 0% 75%; }
    100% { background-position: 0% 50%; }
}

/* Floating symbols styles */
.floating-symbol {
    user-select: none;
    will-change: transform;
    text-shadow: 0 2px 8px rgba(255, 0, 110, 0.3);
    color: var(--accent-teal);
    filter: drop-shadow(0 0 10px rgba(6, 255, 165, 0.4));
}

/* Enhanced carnival background patterns */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 0, 110, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 255, 165, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(131, 56, 236, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(251, 133, 0, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 100%, rgba(255, 190, 11, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 0% 0%, rgba(58, 134, 255, 0.07) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
    animation: carnivalPatternFloat 25s ease-in-out infinite;
}

@keyframes carnivalPatternFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    25% { transform: translateY(-15px) rotate(2deg) scale(1.02); }
    50% { transform: translateY(-5px) rotate(-1deg) scale(0.98); }
    75% { transform: translateY(15px) rotate(1.5deg) scale(1.01); }
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-orange) 100%);
    color: var(--text-white);
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.1rem;
    font-weight: 600;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(255, 0, 110, 0.3);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px rgba(255, 0, 110, 0.1);
}

.navbar.scrolled {
    background: rgba(15, 15, 30, 0.98);
    box-shadow: 0 4px 25px rgba(255, 0, 110, 0.2);
    border-bottom: 2px solid rgba(255, 0, 110, 0.5);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) var(--spacing-md);
    max-width: var(--container-max-width);
    margin: 0 auto;
    min-height: 80px;
}

.nav-logo h2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-size: 1.8rem;
    filter: drop-shadow(0 0 10px rgba(255, 0, 110, 0.3));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-link {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    padding: var(--spacing-sm) var(--spacing-md);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(255, 0, 110, 0.6);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-teal) 100%);
    transition: width var(--transition-fast);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 0, 110, 0.5);
}

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

.language-switcher {
    margin-left: var(--spacing-sm);
}

.lang-link {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 0, 110, 0.3);
    color: var(--text-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.lang-link:hover {
    background: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.5);
    border-color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--spacing-sm);
    height: 44px;
    width: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    background: rgba(255, 0, 110, 0.2);
    border: 2px solid rgba(255, 0, 110, 0.6);
    transition: all var(--transition-fast);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.4);
}

.hamburger span {
    width: 28px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--text-primary));
    margin: 3px 0;
    transition: all var(--transition-fast);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(255, 0, 110, 0.8);
}

.hamburger:hover {
    background: rgba(255, 0, 110, 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.4);
}

.hamburger:hover span {
    box-shadow: 0 0 12px rgba(255, 0, 110, 0.8);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-slide {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Hero Carousel Controls */
.hero-carousel .glide__arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    pointer-events: none;
}

.hero-carousel .glide__arrow {
    position: absolute;
    top: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.hero-carousel .glide__arrow:hover {
    background: rgba(255, 0, 110, 0.8);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.6);
}

.hero-carousel .glide__arrow--left {
    left: 2rem;
}

.hero-carousel .glide__arrow--right {
    right: 2rem;
}

.hero-carousel .glide__bullets {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 15;
}

.hero-carousel .glide__bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 0, 110, 0.5);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.hero-carousel .glide__bullet--active {
    background: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.8);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 46, 0.7) 0%,
        rgba(255, 0, 110, 0.15) 25%,
        rgba(131, 56, 236, 0.1) 50%,
        rgba(6, 255, 165, 0.1) 75%,
        rgba(15, 15, 30, 0.8) 100%
    );
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-white);
    max-width: 900px;
    width: 90%;
    padding: 0 var(--spacing-lg);
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    color: white;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: var(--spacing-xl);
    color: white;
    font-weight: 400;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.hero-cta .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all var(--transition-normal);
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--text-white);
    border-bottom: 2px solid var(--text-white);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* Stats Section */
.stats-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-secondary);
}

.stats-carousel {
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.stat-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: #ff006e !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #ff006e !important;
    background-clip: initial !important;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-heading);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.stat-description {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Mission Section */
.mission-section {
    padding: var(--spacing-xxl) 0;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.mission-text h2 {
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
}

.mission-grid {
    display: grid;
    gap: var(--spacing-xl);
}

.mission-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.mission-item p {
    line-height: 1.7;
}

.mission-visual {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
}

.mission-visual img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.mission-visual:hover img {
    transform: scale(1.05);
}

/* Values Section */
.values-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-secondary);
    border-top: 2px solid rgba(255, 0, 110, 0.2);
    border-bottom: 2px solid rgba(6, 255, 165, 0.2);
}

.values-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.value-card {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-normal);
    border: 2px solid rgba(255, 0, 110, 0.2);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 110, 0.1), transparent);
    transition: left 0.5s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 0, 110, 0.3);
    border-color: rgba(255, 0, 110, 0.5);
}

.value-card:hover::before {
    left: 100%;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-white);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.4);
    position: relative;
    z-index: 1;
}

.value-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.value-card p {
    line-height: 1.6;
}

/* Services Preview */
.services-preview {
    padding: var(--spacing-xxl) 0;
}

.services-preview h2 {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xxl);
}

.service-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-normal);
    border: 2px solid rgba(131, 56, 236, 0.3);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(131, 56, 236, 0.08), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(131, 56, 236, 0.3);
    border-color: rgba(131, 56, 236, 0.5);
}

.service-card:hover::before {
    left: 100%;
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.service-content p {
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 500;
}

.service-content ul {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.service-content li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    color: var(--text-secondary);
    font-weight: 500;
}

.service-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 0, 110, 0.5);
}

/* Service Items in Services Pages */
.service-item {
    background: #ffffff;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 20px rgba(255, 0, 110, 0.15);
    transition: all var(--transition-normal);
    border: 2px solid rgba(255, 0, 110, 0.2);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 110, 0.05), transparent);
    transition: left 0.5s;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 0, 110, 0.25);
    border-color: rgba(255, 0, 110, 0.4);
}

.service-item:hover::before {
    left: 100%;
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    text-shadow: none;
    position: relative;
    z-index: 1;
}

.service-item p {
    color: #374151;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.service-item ul {
    list-style: none;
    position: relative;
    z-index: 1;
}

.service-item li {
    color: #374151;
    font-weight: 500;
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-lg);
    position: relative;
}

.service-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    text-shadow: 0 0 5px rgba(251, 133, 0, 0.5);
}

/* Pillar Cards in Services Pages */
.pillar-card {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    border: 2px solid rgba(6, 255, 165, 0.3);
    box-shadow: 0 10px 25px rgba(6, 255, 165, 0.15);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 255, 165, 0.08), transparent);
    transition: left 0.5s;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(6, 255, 165, 0.25);
    border-color: rgba(6, 255, 165, 0.5);
}

.pillar-card:hover::before {
    left: 100%;
}

.pillar-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.pillar-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-white);
    box-shadow: 0 0 20px rgba(6, 255, 165, 0.4);
}

.pillar-header h2 {
    color: var(--accent-teal);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(6, 255, 165, 0.3);
}

.pillar-header p {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Examples List Styling */
.examples-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.examples-list span {
    background: #f3f4f6;
    color: #374151;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(58, 134, 255, 0.3);
    transition: all var(--transition-fast);
}

.examples-list span:hover {
    background: var(--accent-blue);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.3);
}

/* Featured Projects */
.featured-projects {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-secondary);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xxl);
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.project-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-normal);
    border: 2px solid rgba(251, 133, 0, 0.2);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(131, 56, 236, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(251, 133, 0, 0.3);
    border-color: rgba(251, 133, 0, 0.5);
}

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

.project-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
}

.project-category {
    background: var(--primary-color);
    color: var(--text-white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
}

.project-content {
    padding: var(--spacing-lg);
}

.project-content h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.project-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.project-stats {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.project-stats .stat {
    background: var(--bg-secondary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 25%,
        var(--accent-purple) 50%,
        var(--accent-teal) 75%,
        var(--accent-blue) 100%
    );
    color: var(--text-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 0, 110, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 255, 165, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(131, 56, 236, 0.1) 0%, transparent 50%);
    animation: carnivalPatternFloat 30s ease-in-out infinite;
}

.cta-content h2 {
    color: var(--text-white);
    margin-bottom: var(--spacing-lg);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta-section .btn-primary:hover {
    background: var(--bg-secondary);
}

.cta-section .btn-outline {
    border-color: var(--text-white);
    color: var(--text-white);
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-primary) 50%, var(--bg-dark) 100%);
    color: var(--text-white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    border-top: 3px solid;
    border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-teal)) 1;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 0, 110, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(6, 255, 165, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3,
.footer-section h4 {
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 0, 110, 0.2);
    border: 2px solid rgba(255, 0, 110, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: all var(--transition-fast);
    position: relative;
    z-index: 1;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.6);
    border-color: var(--primary-color);
}

.footer-bottom {
    border-top: 2px solid rgba(255, 0, 110, 0.2);
    padding-top: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(255, 0, 110, 0.5);
}

/* Responsive Design */

/* Tablet breakpoint for better intermediate screen support */
@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .services-grid {
        gap: var(--spacing-lg);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .hero-content {
        max-width: 90%;
    }
    
    .section-padding {
        padding: var(--spacing-xxl) 0;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: var(--spacing-md) var(--spacing-sm);
        min-height: 80px;
        position: relative;
    }
    
    .nav-logo h2 {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        border-top: 2px solid var(--primary-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        z-index: 1000;
        display: flex !important;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: var(--spacing-md);
        text-align: center;
        border-bottom: 1px solid rgba(255, 0, 110, 0.1);
        margin-bottom: var(--spacing-sm);
        border-radius: var(--border-radius);
        transition: all var(--transition-fast);
    }
    
    .nav-link:hover {
        background: rgba(255, 0, 110, 0.1);
        border-color: var(--primary-color);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hamburger {
        display: flex !important;
        z-index: 1001;
        position: absolute;
        right: var(--spacing-sm);
        top: 50%;
        transform: translateY(-50%);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .hamburger {
        display: flex !important;
        z-index: 1001;
        position: absolute;
        right: var(--spacing-sm);
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        border-top: 2px solid var(--primary-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        z-index: 1000;
        display: flex !important;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: var(--spacing-md);
        text-align: center;
        border-bottom: 1px solid rgba(255, 0, 110, 0.1);
        margin-bottom: var(--spacing-sm);
        border-radius: var(--border-radius);
        transition: all var(--transition-fast);
    }
    
    .nav-link:hover {
        background: rgba(255, 0, 110, 0.1);
        border-color: var(--primary-color);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-content {
        padding: 0 var(--spacing-sm);
    }
    
    .value-card,
    .service-content,
    .project-content {
        padding: var(--spacing-lg);
    }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-arrow {
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000000;
        --text-secondary: #000000;
        --bg-primary: #ffffff;
        --bg-secondary: #f0f0f0;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-link:focus,
.lang-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Value Visual Elements */
.value-visual {
    margin-bottom: var(--spacing-md);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.value-visual img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.value-visual:hover img {
    transform: scale(1.05);
}

/* Fix text visibility on white backgrounds - CRITICAL OVERRIDE */
.value-expanded,
.value-expanded *,
.team-member,
.team-member *,
.recognition .recognition-card,
.recognition .recognition-card *,
.diff-card,
.diff-card * {
    color: #000000 !important;
}

.value-expanded h3,
.value-expanded p,
.value-expanded li,
.value-expanded ul,
.value-header h3,
.value-content,
.value-content p,
.value-content li,
.team-member h3,
.team-member p,
.team-member .member-role,
.team-member .member-bio,
.member-info h3,
.member-info p,
.member-info .member-role,
.member-info .member-bio,
.recognition-card h4,
.recognition-card p,
.diff-card h3,
.diff-card p {
    color: #000000 !important;
    text-shadow: none !important;
    font-weight: 500 !important;
}

/* Ensure form elements are visible */
.contact-form input,
.contact-form textarea,
.contact-form label {
    color: var(--text-dark) !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #6b7280 !important;
    opacity: 1;
}

/* Contact info section visibility */
.contact-info h3,
.contact-info p,
.contact-info .info-item {
    color: var(--text-white) !important;
}

/* Print styles */
@media print {
    .navbar,
    .hamburger,
    .hero-video,
    .scroll-indicator,
    .cta-section,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
        background: none;
    }
    
    .hero-overlay {
        display: none;
    }
    
    .hero-content {
        color: var(--text-primary);
    }
}

/* Mobile UX Enhancements */
html {
    scroll-behavior: smooth;
}

/* Touch target optimization - ensure minimum 48px touch targets */
@media (max-width: 768px) {
    .btn {
        min-height: 48px;
        padding: 12px 24px;
    }
    
    .hamburger {
        min-width: 48px;
        min-height: 48px;
    }
    
    .lang-link {
        min-height: 48px;
        padding: 12px 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    /* Improve form field touch targets */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px;
        padding: 12px 16px;
    }
}

/* Core Web Vitals Optimization */
img {
    content-visibility: auto;
}

/* Font optimization for faster loading */
@font-face {
    font-display: swap;
}
