/* 
 * LERNWERKSTATT TECHNOLOGY & SYSTEMS - Master Stylesheet
 * Version 1.0 | Last Updated: December 2, 2025
 * 
 * TABLE OF CONTENTS:
 * 1.  CSS Variables & Root           2.  Reset & Base Styles
 * 3.  Animated Background            4.  Typography
 * 5.  Layout & Containers            6.  Navigation
 * 7.  Hero Section                   8.  Page Header
 * 9.  Buttons                        10. Cards
 * 11. Sections                       12. Service/Feature Cards
 * 13. Statistics & Metrics           14. Team/Leadership
 * 15. Project Cards                  16. Why Choose Us
 * 17. Contact Page                   18. Footer
 * 19. Utility Classes                20. Legal Pages
 * 21. Animations                     22. Responsive Design
 */

/* ═════════════════════════════════════════════════════════════════════════════
   1. CSS VARIABLES & ROOT STYLES
   ═════════════════════════════════════════════════════════════════════════════
   
   USED BY: All HTML pages (global variables)
   PURPOSE: Define color scheme, fonts, spacing, shadows, and transitions
   ═════════════════════════════════════════════════════════════════════════════ */
:root {
    /* Primary Colors - Premium German Corporate Identity */
    --primary-color: #1a4d8f;
    --primary-dark: #0d3468;
    --primary-light: #2563a8;
    
    /* Secondary Colors */
    --secondary-color: #0891b2;
    --accent-color: #f59e0b;
    --accent-red: #dc2626;
    
    /* Neutral Colors - Sophisticated Palette */
    --dark: #0f172a;
    --gray-dark: #1e293b;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --gray-lighter: #f1f5f9;
    --white: #FFFFFF;
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    
    /* Typography - Premium German Standards */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    /* Spacing - German Precision */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    
    /* Shadows - Elegant Depth */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═════════════════════════════════════════════════════════════════════════════
   2. RESET & BASE STYLES
   ═════════════════════════════════════════════════════════════════════════════
   
   USED BY: All HTML pages
   PURPOSE: Browser reset, normalize styles, base HTML/body configuration
   ═════════════════════════════════════════════════════════════════════════════ */

/* Universal reset - removes default margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HTML root element - smooth scrolling and base font size */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Body element - main typography and background settings */
body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.7;
    background-color: transparent;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* ═════════════════════════════════════════════════════════════════════════════
   3. ANIMATED BACKGROUND - PREMIUM TECH EFFECT
   ═════════════════════════════════════════════════════════════════════════════
   
   USED BY: All HTML pages (background is global)
   PURPOSE: Starry space background with animations, particles, gradients
   CREATED BY: animations.js (JavaScript generates the stars)
   ═════════════════════════════════════════════════════════════════════════════ */

/* Main background container - stays behind all content */
.tech-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(to bottom, #000000 0%, #0a0a1a 50%, #000814 100%);
    transition: transform 0.3s ease-out;
}

/* Animated gradient overlay - creates moving colored glows */
.tech-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
    animation: gradientShift 20s ease-in-out infinite;
}

/* Animated grid lines - creates subtle tech grid pattern */
.tech-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridScroll 60s linear infinite;
    transform-origin: center;
}

/* Gradient shift animation - moves and rotates the colored glows */
@keyframes gradientShift {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }
    33% { 
        transform: translate(10%, 10%) rotate(5deg) scale(1.1);
        opacity: 0.8;
    }
    66% { 
        transform: translate(-10%, 5%) rotate(-5deg) scale(1.05);
        opacity: 0.9;
    }
}

/* Grid scroll animation - creates 3D perspective grid movement */
@keyframes gridScroll {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(100px); }
}

/* Floating particles with glow - individual animated stars */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 1),
        0 0 40px rgba(99, 102, 241, 1),
        0 0 60px rgba(139, 92, 246, 0.8);
    animation: particleFloat linear infinite;
    opacity: 1;
}

/* Particle float animation - stars rise from bottom to top with drift */
@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(50vh) translateX(var(--drift, 0)) scale(1.5);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) translateX(var(--drift, 0)) scale(1);
        opacity: 0;
    }
}

/* Animated connecting lines between particles */
.tech-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(99, 102, 241, 1) 50%, 
        transparent 100%);
    transform-origin: left center;
    animation: lineExpand 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(99, 102, 241, 1);
    opacity: 0.8;
}

/* Line expand animation - grows from left to right */
@keyframes lineExpand {
    0%, 100% { 
        width: 0; 
        opacity: 0;
    }
    50% { 
        width: 300px; 
        opacity: 1;
    }
}

/* Hexagonal pattern overlay - geometric tech background */
.hex-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(99, 102, 241, 1) 50px, rgba(99, 102, 241, 1) 51px),
        repeating-linear-gradient(60deg, transparent, transparent 50px, rgba(139, 92, 246, 1) 50px, rgba(139, 92, 246, 1) 51px),
        repeating-linear-gradient(120deg, transparent, transparent 50px, rgba(59, 130, 246, 1) 50px, rgba(59, 130, 246, 1) 51px);
    animation: hexRotate 40s linear infinite;
}

/* Hexagon rotation animation - rotates and scales the pattern */
@keyframes hexRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Orbiting circular elements - creates orbital motion effect */
.orbit {
    position: absolute;
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 50%;
    animation: orbit 20s linear infinite;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

/* Orbit animation - rotates circles with scale and opacity changes */
@keyframes orbit {
    0% { transform: rotate(0deg) scale(1); opacity: 0.4; }
    50% { transform: rotate(180deg) scale(1.2); opacity: 0.8; }
    100% { transform: rotate(360deg) scale(1); opacity: 0.4; }
}

/* Glowing dot pattern - pulsating light particles */
.glow-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(99, 102, 241, 1);
    border-radius: 50%;
    box-shadow: 
        0 0 10px rgba(99, 102, 241, 1),
        0 0 20px rgba(99, 102, 241, 1),
        0 0 30px rgba(99, 102, 241, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

/* Pulse animation - expands and brightens dots */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.6; 
    }
    50% { 
        transform: scale(2); 
        opacity: 1; 
    }
}

/* Transparent backgrounds for content sections - lets background show through */
.section,
.hero,
.introduction,
.competencies,
.about-hero,
.services-hero,
.projects-hero,
.leadership-hero,
.contact-hero {
    background: transparent;
    position: relative;
    z-index: 1;
}

/* Image element reset - responsive by default */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Link reset - removes default styling */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

/* List reset - removes default bullets/numbers */
ul, ol {
    list-style: none;
}

/* Button reset - removes default button styling */
button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* =============================================
   TYPOGRAPHY
   
   USED BY: All HTML pages
   PURPOSE: Typography styles for all headings (h1-h6), paragraphs, and text
            Classes: .lead-text (for intro paragraphs with larger font)
   ============================================= */

/* Shared heading styles - all headings (h1-h6) */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* H1 heading - largest heading, typically page titles */
h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
}

/* H2 heading - section titles */
h2 {
    font-size: 2.75rem;
    font-weight: 700;
}

/* H3 heading - subsection titles */
h3 {
    font-size: 1.875rem;
    font-weight: 600;
}

/* H4 heading - smaller subsection titles */
h4 {
    font-size: 1.375rem;
    font-weight: 600;
}

/* Paragraph - standard body text */
p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Lead text - larger intro paragraphs for emphasis */
.lead-text {
    font-size: 1.35rem;
    line-height: 1.9;
    color: var(--text-primary);
    font-weight: 400;
}

/* =============================================
   LAYOUT & CONTAINER
   
   USED BY: All HTML pages
   PURPOSE: Site-wide layout containers and section wrappers
            Classes: .container (max-width wrapper), .section (vertical padding),
                    .section-title, .section-subtitle, .bg-light
   ============================================= */

/* Container - max-width wrapper with horizontal padding */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* Section - vertical padding wrapper for page sections */
.section {
    padding: 7rem 0;
    position: relative;
}

/* Section overlay - subtle white tint for depth */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    z-index: 0;
}

/* Section children - ensures content appears above overlay */
.section > * {
    position: relative;
    z-index: 1;
}

/* Section title - large heading for sections */
.section-title {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Section title centered variant */
.section-title.center {
    text-align: center;
}

/* Section subtitle - smaller descriptive text below title */
.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

/* Section subtitle centered variant - auto-margins for centering */
.section-subtitle.center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.bg-light {
    background-color: var(--gray-lighter);
}

/* =============================================
   NAVIGATION
   
   USED BY: All HTML pages (header with logo and menu)
   PURPOSE: Fixed navigation bar with glassmorphism effect, logo, menu links,
            language toggle (DE/EN), and mobile hamburger menu
            FEATURES: Scrolled state styling, hover effects, active link indicators
   ============================================= */

/* Main navigation bar - fixed to top with glassmorphism effect */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(135, 206, 250, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(135, 206, 250, 0.4);
    z-index: 1000;
    transition: all var(--transition-normal);
}

/* Navbar scrolled state - darker background when user scrolls down */
.navbar.scrolled {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.95) 100%);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(135, 206, 250, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border-bottom-color: rgba(135, 206, 250, 0.6);
}

/* Navigation wrapper - flex container for logo and menu */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

/* Logo container - stays fixed on left side */
.logo {
    flex-shrink: 0; /* Prevent logo from shrinking */
    margin-right: auto; /* Push logo to the left */
}

/* Logo link - flex column layout for text and subtitle */
.logo a {
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

/* Logo hover effect - subtle lift */
.logo a:hover {
    transform: translateY(-1px);
}

/* Main logo text - company name */
.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(26, 77, 143, 0.5);
}

/* Logo subtitle - "Technology & Systems" text */
.logo-subtitle {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Navigation menu - flex container for links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.8rem; /* Reduced from 2.5rem to accommodate longer German text */
    flex-wrap: nowrap; /* Prevent menu items from wrapping to new line */
    margin-left: auto; /* Align menu to the right */
    justify-content: flex-end; /* Items grow to the right */
}

/* Navigation menu links - individual menu item styling */
.nav-menu li a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition-normal);
    white-space: nowrap; /* Prevent text wrapping */
}

/* Animated underline effect for menu links */
.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
    transition: width var(--transition-normal);
}

/* Show underline on hover or active state */
.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

/* Text color change on hover or active */
.nav-menu li a:hover,
.nav-menu li a.active {
    color: #60a5fa;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

/* Primary button in navigation (Contact button) */
.btn-primary-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white) !important;
    padding: 0.75rem 1.75rem !important;
    border-radius: var(--radius-md);
    border: none !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(26, 77, 143, 0.25);
    transition: all var(--transition-normal);
}

/* Remove underline effect from button */
.btn-primary-nav::after {
    display: none !important;
}

/* Primary button hover effect */
.btn-primary-nav:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    box-shadow: 0 4px 12px rgba(26, 77, 143, 0.35);
    transform: translateY(-2px);
}

/* Mobile hamburger menu button - hidden on desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

/* Hamburger menu lines - three horizontal bars */
.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition-normal);
}

/* =============================================
   HERO SECTION
   
   USED BY: index.html only (homepage hero banner)
   PURPOSE: Full-screen hero section with animated background, title, subtitle,
            description, CTA buttons, and scroll indicator
            FEATURES: Gradient overlays, animations (fadeInUp, bounce)
   ============================================= */

/* Main hero container - full viewport height */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0a1628;
    color: var(--white);
    text-align: center;
    margin-top: 70px;
    overflow: hidden;
}

/* Hero gradient overlay - radial colored glows */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 82, 204, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0, 163, 191, 0.15) 0%, transparent 50%);
    z-index: 1;
}

/* Hero overlay - darkens background for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.35) 0%, rgba(13, 40, 71, 0.35) 100%);
    z-index: 1;
}

/* Hero content container - centered with animation */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

/* Main hero title - largest heading */
.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    animation: fadeInUp 1s ease;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Hero subtitle - secondary heading */
.hero-subtitle {
    font-size: 2.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 1.2s ease;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* Hero description - longer text paragraph */
.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.85);
    animation: fadeInUp 1.4s ease;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 300;
}

/* Hero CTA buttons container - flex layout for buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease;
}

/* Scroll indicator - prompts user to scroll down */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: var(--white);
    font-size: 0.875rem;
}

/* Scroll arrow - animated down arrow icon */
.scroll-arrow {
    width: 24px;
    height: 24px;
    margin: 0.5rem auto 0;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

/* Fade in and move up animation - used for hero content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bounce animation - for scroll arrow */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(-45deg);
    }
    40% {
        transform: translateY(-10px) rotate(-45deg);
    }
    60% {
        transform: translateY(-5px) rotate(-45deg);
    }
}

/* =============================================
   BUTTONS
   
   USED BY: All HTML pages
   PURPOSE: Button styles with hover effects and ripple animation
            Classes: .btn-primary (white button), .btn-secondary (outlined),
                    .btn-light (blue gradient), .btn-block (full width)
   ============================================= */

/* Base button styles - shared across all button types */
.btn {
    display: inline-block;
    padding: 1rem 2.25rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

/* Ripple effect - expanding circle on hover */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

/* Expand ripple on hover */
.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Primary button - white background, blue text */
.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

/* Primary button hover effect */
.btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

/* Secondary button - transparent with outline */
.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Secondary button hover effect */
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Light button - blue gradient background */
.btn-light {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(26, 77, 143, 0.3);
}

/* Light button hover effect */
.btn-light:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 77, 143, 0.4);
}

/* Block button - full width */
.btn-block {
    display: block;
    width: 100%;
}

/* =============================================
   PAGE HEADER
   
   USED BY: All pages except index.html (about, leadership, services, projects,
            why-choose-us, contact, privacy, terms, impressum)
   PURPOSE: Gradient header banner with page title, used instead of hero section
            on subpages
   ============================================= */

/* Page header container - gradient background banner */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 8rem 0 4rem;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

/* Page header background pattern - faded hero image */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero-bg.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

/* Page header title styling */
.page-header h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    letter-spacing: -0.01em;
}

/* Page header subtitle/description */
.page-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

/* =============================================
   INTRODUCTION SECTION
   
   USED BY: index.html only (homepage introduction)
   PURPOSE: Two-column grid with intro text and image, includes highlight box
            Classes: .intro-grid, .intro-content, .intro-text, .intro-highlight, .intro-image
   ============================================= */

/* Introduction section - white to gray gradient background */
.introduction {
    background: linear-gradient(to bottom, var(--white) 0%, var(--gray-lighter) 100%);
}

/* Introduction title override - dark text for light background */
.introduction .section-title {
    color: var(--text-primary);
    text-shadow: none;
}

/* Introduction grid - two equal columns layout */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Introduction content - left column with text */
.intro-content {
    padding-right: 2rem;
}

/* Introduction text - standard paragraph style */
.intro-text {
    font-size: 1.125rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Introduction highlight box - emphasized quote/callout */
.intro-highlight {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1.7;
    padding: 1.5rem;
    background: rgba(26, 77, 143, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-sm);
}

/* Introduction image container - right column */
.intro-image {
    text-align: center;
    position: relative;
}

/* Introduction image decorative background - offset gradient box */
.intro-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, rgba(26, 77, 143, 0.1), rgba(8, 145, 178, 0.1));
    border-radius: var(--radius-lg);
    z-index: 0;
}

/* Introduction image - actual image element with shadow */
.intro-image img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* =============================================
   COMPETENCIES SECTION
   
   USED BY: index.html only (homepage competencies/services overview)
   PURPOSE: Grid of glassmorphism cards showcasing main competencies with icons
            Classes: .competencies-grid, .competency-card, .competency-icon
            FEATURES: Hover effects with gradient border animation
   ============================================= */

/* Competencies grid - responsive auto-fit card layout */
.competencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

/* Competency card - individual glassmorphism card */
.competency-card {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(135, 206, 250, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
    border: 2px solid rgba(135, 206, 250, 0.4);
    position: relative;
    overflow: hidden;
}

/* Competency card gradient border - animated left edge */
.competency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transition: height var(--transition-normal);
}

/* Competency card hover - expands gradient border */
.competency-card:hover::before {
    height: 100%;
}

/* Competency card hover effect - lifts and glows */
.competency-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(135, 206, 250, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(135, 206, 250, 0.8);
}

/* Competency icon - gradient background container for SVG icons */
.competency-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.competency-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

/* Competency card heading - title for each competency */
.competency-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Competency card paragraph - description text for each competency */
.competency-card p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* =============================================
   CTA SECTION
   
   USED BY: index.html only (Call-To-Action section)
   PURPOSE: Gradient background section with centered CTA text and button
            Classes: .cta, .cta-content, .cta-title, .cta-text
   ============================================= */
/* CTA section - glassmorphism container with gradient and blur */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.3) 0%, rgba(0, 163, 191, 0.3) 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(135, 206, 250, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(135, 206, 250, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    color: var(--white);
    text-align: center;
}

/* CTA content heading - large call-to-action title */
.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

/* CTA content paragraph - descriptive text below title */
.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* =============================================
   ABOUT PAGE STYLES
   
   USED BY: about.html
   PURPOSE: About page specific sections - Who We Are, Vision/Mission cards,
            Values grid, Trust section
            Classes: .content-block, .two-column-text, .styled-list, .vision-mission-grid,
                    .vm-card, .values-grid, .value-card, .trust-grid, .trust-item
   ============================================= */

/* Content block lead text - intro paragraph with white text for dark background */
.section .content-block .lead-text {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Content block heading - subsection titles with white text */
.section .content-block h3 {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Two-column text paragraphs - white text for readability */
.section .two-column-text p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Styled list items - white text for list items */
.section .styled-list li {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Vision & Mission card (light background) - white background cards */
.bg-light .vm-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Vision & Mission card heading (light background) - primary color text */
.bg-light .vm-card h3 {
    color: var(--primary-color);
}

/* Mission list items (light background) - dark text for readability */
.bg-light .mission-list li {
    color: var(--text-secondary);
}

/* Value card paragraph - white text for dark background */
.value-card p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Content block - section content wrapper with top margin */
.content-block {
    margin-top: 2rem;
}

/* Two-column text - grid layout for side-by-side paragraphs */
.two-column-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

/* Styled list - custom list with checkmark bullets */
.styled-list {
    list-style: none;
    padding: 0;
}

/* Styled list item - individual list item with custom spacing */
.styled-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

/* Styled list checkmark - blue glowing checkmark before each item */
.styled-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: rgba(135, 206, 250, 0.9);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(135, 206, 250, 0.5);
}

/* Vision & Mission grid - two-column layout for Vision and Mission cards */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Vision & Mission card - white background card container */
.vm-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Vision & Mission icon - large emoji icon at top of card */
.vm-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Vision & Mission card heading - large primary colored title */
.vm-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Mission list - custom list with arrow bullets */
.mission-list {
    list-style: none;
    padding: 0;
}

/* Mission list item - individual mission point with spacing */
.mission-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Mission list arrow - right arrow bullet before each mission item */
.mission-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Values grid - responsive auto-fit grid for value cards */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Value card - glassmorphism card with left border accent */
.value-card {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(135, 206, 250, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(135, 206, 250, 0.4);
    transition: var(--transition-normal);
}

/* Value card hover - lift and glow effect */
.value-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(135, 206, 250, 0.5);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(135, 206, 250, 0.8);
}

/* Value number - large glowing number at top of each value card */
.value-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(135, 206, 250, 0.7);
    opacity: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(135, 206, 250, 0.5);
}

/* Value card heading - title of each value */
.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Trust section - light gray background section */
.trust-section {
    background-color: var(--gray-lighter);
}

/* Trust section title needs to be dark on light background */
.trust-section .section-title {
    color: var(--text-primary);
    text-shadow: none;
}

/* Trust grid - responsive auto-fit grid for trust items */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Trust item - white card for individual trust point */
.trust-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* Trust icon - large primary colored icon at top of each trust item */
.trust-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Trust item heading - title of each trust point */
.trust-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Trust item paragraph - description text */
.trust-item p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* =============================================
   LEADERSHIP PAGE STYLES
   
   USED BY: leadership.html
   PURPOSE: Team member profiles with images, bios, quotes, and philosophy section
            Classes: .leader-profile, .leader-image, .leader-content, .leader-quote,
                    .leader-bio, .leader-responsibilities, .philosophy-section
            FEATURES: Alternating left/right layout using .reverse class
   ============================================= */
/* Leader profile - two-column grid with image and content */
.leader-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    align-items: start;
}

/* Leader profile reverse - flips the column order for alternating layout */
.leader-profile.reverse {
    grid-template-columns: 1fr 300px;
}

/* Leader profile reverse image - places image on right side */
.leader-profile.reverse .leader-image {
    order: 2;
}

/* Leader profile reverse content - places content on left side */
.leader-profile.reverse .leader-content {
    order: 1;
}

/* Leader image container - wrapper for profile photo */
.leader-image {
    position: relative;
}

/* Leader image photo - square profile image with gradient fallback */
.leader-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Leader content heading - leader name with white text */
.leader-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Leader title - job title with light blue accent color */
.leader-title {
    font-size: 1.125rem;
    color: rgba(135, 206, 250, 0.95);
    font-weight: 500;
    margin-bottom: 2rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Leader quote - glassmorphism card with personal quote */
.leader-quote {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    border: 2px solid rgba(135, 206, 250, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(135, 206, 250, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* Quote mark - large decorative opening quote symbol */
.quote-mark {
    font-size: 4rem;
    color: rgba(135, 206, 250, 0.8);
    opacity: 1;
    line-height: 0;
    position: absolute;
    top: 1.5rem;
    left: 1rem;
    text-shadow: 0 0 20px rgba(135, 206, 250, 0.5);
}

/* Leader quote paragraph - italic quote text */
.leader-quote p {
    font-size: 1.125rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-top: 2rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Leader bio subheading - section titles within bio */
.leader-bio h4 {
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Leader bio paragraph - biography text content */
.leader-bio p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Leader responsibilities - two-column grid for responsibility list */
.leader-responsibilities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Leader responsibilities list item - individual responsibility */
.leader-responsibilities li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Leader responsibilities bullet - blue glowing bullet point */
.leader-responsibilities li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgba(135, 206, 250, 0.9);
    font-weight: bold;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(135, 206, 250, 0.5);
}

/* Philosophy section - gradient background section for team philosophy */
.philosophy-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

/* Philosophy content heading - large section title */
.philosophy-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

/* Philosophy text - large impactful quote text */
.philosophy-text {
    font-size: 1.5rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =============================================
   SERVICES PAGE STYLES
   
   USED BY: services.html
   PURPOSE: Detailed service sections with numbered headers, feature grids,
            tech stacks, and benefits lists
            Classes: .service-detail, .service-header, .service-number, .service-intro,
                    .service-features, .feature-grid, .feature-item
   ============================================= */
/* Service detail - individual service section with bottom border */
.service-detail {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 2px solid rgba(135, 206, 250, 0.3);
}

/* Service detail last child - removes bottom border from last service */
.service-detail:last-child {
    border-bottom: none;
}

/* Service header - flex container with number and title */
.service-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Service number - large glowing number prefix for each service */
.service-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(135, 206, 250, 0.7);
    opacity: 1;
    line-height: 1;
    text-shadow: 0 0 30px rgba(135, 206, 250, 0.5);
}

/* Service header title - service name heading */
.service-header h2 {
    font-size: 2rem;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Service intro - introductory paragraph for service */
.service-intro {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 2rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Service features - container for feature grid */
.service-features {
    margin-bottom: 2rem;
}

/* Feature grid - responsive auto-fit grid for feature items */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

/* Feature item - glassmorphism card for individual feature with icon */
.feature-item {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(135, 206, 250, 0.3);
    transition: all 0.3s ease;
}

/* Feature item hover - highlights and slides right on hover */
.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(135, 206, 250, 0.5);
    transform: translateX(5px);
}

/* Feature icon - checkmark or icon before feature text */
.feature-icon {
    color: rgba(135, 206, 250, 0.9);
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
    text-shadow: 0 0 10px rgba(135, 206, 250, 0.5);
}

/* Feature item text - feature description text */
.feature-item span:last-child {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Service note - highlighted note box with left border accent */
.service-note {
    font-weight: 500;
    color: #ffffff;
    font-size: 1rem;
    padding: 1rem;
    background: rgba(135, 206, 250, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border-left: 4px solid rgba(135, 206, 250, 0.8);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* =============================================
   PROJECTS PAGE STYLES
   
   USED BY: projects.html
   PURPOSE: Project showcase cards with images, descriptions, features, and tech stack
            Classes: .project-card, .project-image, .project-tag, .project-content,
                    .project-features, .project-tech, .tech-badge
            FEATURES: Alternating left/right layout, hover animations, glassmorphism
   ============================================= */
/* Project card - two-column grid for project showcase */
.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: start;
    position: relative;
}

/* Project card reverse - maintains equal columns for reversed layout */
.project-card.reverse {
    grid-template-columns: 1fr 1fr;
}

/* Project card reverse image - places image on right side */
.project-card.reverse .project-image {
    order: 2;
}

/* Project card reverse content - places content on left side */
.project-card.reverse .project-content {
    order: 1;
}

/* Project image - rounded container with glow effect */
.project-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(135, 206, 250, 0.2);
    border: 2px solid rgba(135, 206, 250, 0.35);
    transition: all 0.5s ease;
}

/* Project image hover - lifts and intensifies glow on hover */
.project-image:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(135, 206, 250, 0.35);
    border-color: rgba(135, 206, 250, 0.5);
}

/* Project image photo - project screenshot with gradient fallback */
.project-image img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(135, 206, 250, 0.15), rgba(138, 43, 226, 0.15));
    transition: transform 0.5s ease;
}

/* Project image hover zoom - zooms image on parent hover */
.project-image:hover img {
    transform: scale(1.08);
}

/* Project tag - floating badge on top-left of project image */
.project-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(135, 206, 250, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #0a0f1e;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: 
        0 4px 20px rgba(135, 206, 250, 0.4),
        0 0 20px rgba(135, 206, 250, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* Project tag hover - brightens and lifts tag on image hover */
.project-image:hover .project-tag {
    background: rgba(135, 206, 250, 1);
    transform: translateY(-5px);
    box-shadow: 
        0 8px 30px rgba(135, 206, 250, 0.6),
        0 0 40px rgba(135, 206, 250, 0.5);
}

/* Project content - flex container for project details */
.project-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Project content heading - large project title */
.project-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 
        0 2px 15px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(135, 206, 250, 0.2);
    font-weight: 700;
    line-height: 1.2;
}

/* Project location - location badge with pin icon */
.project-location {
    font-size: 1rem;
    color: rgba(135, 206, 250, 0.9);
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    display: inline-block;
}

/* Project location pin icon - adds location pin emoji before text */
.project-location::before {
    content: "📍 ";
    margin-right: 0.5rem;
}

/* Project description - main project description paragraph */
.project-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

/* Project features - premium glassmorphism card for feature list */
.project-features {
    padding: 2rem;
    background: rgba(135, 206, 250, 0.08);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1.5px solid rgba(135, 206, 250, 0.25);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(135, 206, 250, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.4s ease;
}

/* Project features top gradient line - decorative gradient line at top */
.project-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(135, 206, 250, 0.5), 
        transparent);
}

/* Project features hover - brightens and lifts card on hover */
.project-features:hover {
    background: rgba(135, 206, 250, 0.12);
    border-color: rgba(135, 206, 250, 0.4);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(135, 206, 250, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* Project features heading - small uppercase section label */
.project-features h4 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: rgba(135, 206, 250, 0.95);
    font-weight: 700;
    text-shadow: 0 0 15px rgba(135, 206, 250, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.875rem;
}

/* Project features list - grid layout for feature items */
.project-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

/* Project features list item - individual feature with checkmark */
.project-features li {
    padding: 0.625rem 0;
    padding-left: 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Project features list item hover - brightens and slides right */
.project-features li:hover {
    color: rgba(255, 255, 255, 1);
    padding-left: 2.25rem;
}

/* Project features checkmark - glowing checkmark bullet */
.project-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: rgba(135, 206, 250, 0.9);
    font-weight: bold;
    font-size: 1.125rem;
    text-shadow: 0 0 15px rgba(135, 206, 250, 0.6);
    transition: all 0.3s ease;
}

/* Project features checkmark hover - intensifies glow on item hover */
.project-features li:hover::before {
    color: rgba(135, 206, 250, 1);
    text-shadow: 0 0 25px rgba(135, 206, 250, 0.8);
}

/* Project tech - flex container for technology badges */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Tech badge - individual technology pill badge */
.tech-badge {
    padding: 0.625rem 1.25rem;
    background: rgba(135, 206, 250, 0.12);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: rgba(135, 206, 250, 0.95);
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 700;
    border: 1px solid rgba(135, 206, 250, 0.35);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.25),
        0 0 15px rgba(135, 206, 250, 0.15);
    text-shadow: 0 0 10px rgba(135, 206, 250, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tech badge hover - brightens and lifts badge on hover */
.tech-badge:hover {
    background: rgba(135, 206, 250, 0.25);
    border-color: rgba(135, 206, 250, 0.6);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.35),
        0 0 30px rgba(135, 206, 250, 0.3);
    color: #ffffff;
}

/* =============================================
   CONTACT PAGE STYLES
   
   USED BY: contact.html
   PURPOSE: Contact information grid, premium contact form with FormSubmit integration,
            work process steps, and 12-layer security validation
            Classes: .contact-grid, .contact-info, .contact-details, .contact-item,
                    .contact-form, .form-group, .form-honeypot (security), .work-process
            SECURITY: URL blocking, SQL injection prevention, disposable email blocking,
                     honeypot field, reCAPTCHA (see main.js lines 144-296)
   ============================================= */

/* Contact page grid - 2 columns (info + form) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

/* Contact information column - left side */
.contact-info {
    padding-right: 2rem;
}

/* Contact info section title */
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Contact intro paragraph */
.contact-intro {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Contact details container - phone, email, address */
.contact-details {
    margin-bottom: 3rem;
}

/* Individual contact item card - phone, email, address */
.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: rgba(135, 206, 250, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(135, 206, 250, 0.2);
    transition: all 0.3s ease;
}

/* Contact item hover effect - slides right */
.contact-item:hover {
    background: rgba(135, 206, 250, 0.12);
    border-color: rgba(135, 206, 250, 0.4);
    transform: translateX(5px);
}

/* Contact icon - phone/email/location emoji */
.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(135, 206, 250, 0.5));
}

/* Contact text label - "Phone", "Email", "Address" */
.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: rgba(135, 206, 250, 0.95);
    font-weight: 600;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Contact text content and links */
.contact-text p,
.contact-text a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

/* Contact link hover effect */
.contact-text a:hover {
    color: rgba(135, 206, 250, 0.95);
    text-shadow: 0 0 10px rgba(135, 206, 250, 0.5);
}

/* Contact person name - italic smaller text */
.contact-text .contact-person {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
    font-style: italic;
}

/* Premium glassmorphism card for contact instructions */
.contact-note {
    background: rgba(135, 206, 250, 0.1);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 16px;
    border: 1.5px solid rgba(135, 206, 250, 0.3);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(135, 206, 250, 0.1);
    position: relative;
}

/* Contact note top gradient line decoration */
.contact-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(135, 206, 250, 0.5), 
        transparent);
}

/* Contact note title */
.contact-note h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: rgba(135, 206, 250, 0.95);
    font-weight: 700;
    text-shadow: 0 0 15px rgba(135, 206, 250, 0.5);
}

/* Contact note ordered list reset */
.contact-note ol {
    counter-reset: item;
    list-style: none;
    padding: 0;
}

/* Contact note list items with custom counter */
.contact-note li {
    counter-increment: item;
    padding: 0.75rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

/* Custom numbered bullets for contact note list */
.contact-note li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: rgba(135, 206, 250, 0.95);
    font-weight: bold;
    font-size: 1.125rem;
    text-shadow: 0 0 10px rgba(135, 206, 250, 0.5);
}

/* ========== CONTACT FORM SECTION ========== */

/* Contact form wrapper - right side column */
.contact-form-wrapper {
    position: relative;
}

/* Main contact form - glassmorphism with FormSubmit integration */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1.5px solid rgba(135, 206, 250, 0.3);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(135, 206, 250, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

/* Form group container - wraps label and input */
.form-group {
    margin-bottom: 1.5rem;
}

/* Form labels - blue colored with glow effect */
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgba(135, 206, 250, 0.95);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Form inputs - text, email, select, textarea with glassmorphism */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(135, 206, 250, 0.3);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    color: #ffffff;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Placeholder text styling - semi-transparent white */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Form focus state - brighter background with blue glow */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(135, 206, 250, 0.6);
    box-shadow: 0 0 0 3px rgba(135, 206, 250, 0.2);
}

/* Textarea specific - allows vertical resizing only */
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========== SECURITY: SPAM PREVENTION ========== */

/* Hidden honeypot field - catches spam bots (main.js validates) */
.form-honeypot {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Warning/help text below form fields */
.form-help-text {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Checkbox container - flex layout for checkbox + label */
.form-checkbox {
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    flex-shrink: 0;
    accent-color: rgba(135, 206, 250, 0.9);
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1.5px solid rgba(135, 206, 250, 0.3);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(135, 206, 250, 0.2);
}

.form-success.show {
    display: block;
}

.success-icon {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.5));
}

.form-success h3 {
    font-size: 1.75rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.form-success p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Work process grid - responsive auto-fit grid for process steps */
.work-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Process step - glassmorphism card for individual work step */
.process-step {
    background: rgba(135, 206, 250, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(135, 206, 250, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Process step hover - lifts and brightens on hover */
.process-step:hover {
    background: rgba(135, 206, 250, 0.12);
    border-color: rgba(135, 206, 250, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Process number - circular gradient badge with step number */
.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(135, 206, 250, 0.9), rgba(138, 43, 226, 0.8));
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 16px rgba(135, 206, 250, 0.4);
}

/* Process step heading - title for each process step */
.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Process step paragraph - description of each step */
.process-step p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Light background section title override - dark text for light background */
.bg-light .section-title {
    color: var(--text-primary);
    text-shadow: none;
}

/* Light background process step - white card with subtle border */
.bg-light .process-step {
    background: var(--white);
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-sm);
}

/* Light background process step hover - primary color border */
.bg-light .process-step:hover {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

/* Light background process number - maintains gradient on light background */
.bg-light .process-number {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(0, 82, 204, 0.3);
}

/* Light background process step heading - dark text */
.bg-light .process-step h3 {
    color: var(--text-primary);
    text-shadow: none;
}

/* Light background process step paragraph - gray text */
.bg-light .process-step p {
    color: var(--text-secondary);
    text-shadow: none;
}

/* =============================================
   FOOTER
   
   USED BY: All HTML pages
   PURPOSE: Glassmorphism footer with 4-column grid layout, quick links, contact info
            Classes: .footer, .footer-grid, .footer-col, .footer-tagline, .footer-bottom
   ============================================= */
/* Footer - glassmorphism footer with top border and glow */
.footer {
    background-color: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    color: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 2px solid rgba(135, 206, 250, 0.4);
    box-shadow: 
        0 -4px 24px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(135, 206, 250, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* Footer grid - 4-column layout for footer content */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer column main heading - large section title */
.footer-col h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Footer column subheading - smaller section title */
.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Footer column paragraph - description text */
.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Footer tagline - company slogan with accent color */
.footer-tagline {
    color: var(--secondary-color) !important;
    font-weight: 500;
    margin-top: 1rem;
}

/* Footer column list - removes default list styling */
.footer-col ul {
    list-style: none;
    padding: 0;
}

/* Footer column list item - individual link with bottom margin */
.footer-col li {
    margin-bottom: 0.75rem;
}

/* Footer link - semi-transparent link with transition */
.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-normal);
}

/* Footer link hover - brightens to white on hover */
.footer-col a:hover {
    color: var(--white);
}

/* Footer contact list item - contact information text */
.footer-contact li {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer bottom - copyright section with top border */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer bottom paragraph - copyright text */
.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* =============================================
   RESPONSIVE DESIGN
   
   USED BY: All HTML pages
   PURPOSE: Media queries for responsive layout across devices
            BREAKPOINTS: 992px (Tablet), 768px (Mobile), 480px (Small Mobile), Print
   ============================================= */

/* ========== TABLET BREAKPOINT (992px) ========== */
/* Tablet - Responsive layout for medium screens */
@media (max-width: 992px) {
    /* Reduce heading sizes for tablets */
    h1 {
        font-size: 2.5rem;
    }
    
    /* Heading 2 size for tablets */
    h2 {
        font-size: 2rem;
    }
    
    /* Hero title size for tablets */
    .hero-title {
        font-size: 3rem;
    }
    
    /* Hero subtitle size for tablets */
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    /* Stack grids to single column on tablets */
    .intro-grid,
    .vision-mission-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Single column text layout on tablets */
    .two-column-text {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Stack leader profiles to single column on tablets */
    .leader-profile,
    .leader-profile.reverse {
        grid-template-columns: 1fr;
    }
    
    /* Reset order for reversed leader profiles on tablets */
    .leader-profile.reverse .leader-image,
    .leader-profile.reverse .leader-content {
        order: initial;
    }
    
    /* Stack project cards to single column on tablets */
    .project-card,
    .project-card.reverse {
        grid-template-columns: 1fr;
    }
    
    /* Reset order for reversed project cards on tablets */
    .project-card.reverse .project-image,
    .project-card.reverse .project-content {
        order: initial;
    }
    
    /* Two-column footer grid on tablets */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* ========== MOBILE BREAKPOINT (768px) ========== */
/* Mobile - Responsive layout for small screens */
@media (max-width: 768px) {
    /* Reduce container padding for mobile */
    .container {
        padding: 0 1.5rem;
    }
    
    .section {
        padding: var(--spacing-md) 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        margin-top: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 0;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--gray-light);
    }
    
    .nav-menu li a {
        display: block;
        padding: 1rem 0;
    }
    
    .competencies-grid,
    .values-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .leader-responsibilities {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* ========== SMALL MOBILE BREAKPOINT (480px) ========== */
/* Small Mobile - Ultra-compact layout for very small screens */
@media (max-width: 480px) {
    /* Further reduce heading sizes for small mobile */
    h1 {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

/* ========== PRINT STYLES ========== */
/* Print Styles - Clean layout for printing */
@media print {
    /* Hide non-printable elements */
    .navbar,
    .hero-scroll-indicator,
    .mobile-menu-toggle,
    .cta-section,
    .contact-form-wrapper {
        display: none;
    }
    
    /* Optimize font size for printing */
    body {
        font-size: 12pt;
    }
    
    /* Remove header margin for print */
    .page-header {
        margin-top: 0;
    }
}

/* =============================================
   LEGAL PAGES STYLING
   
   USED BY: privacy.html, terms.html, impressum.html
   PURPOSE: Clean white background content area for legal/policy pages
            Classes: .legal-content, .legal-section
   ============================================= */
/* Legal content - white background wrapper for legal pages */
.legal-content {
    background: var(--white);
}

/* Legal document - centered content container with shadow */
.legal-document {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* Legal document H2 - section headings with bottom border */
.legal-document h2 {
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-lighter);
}

/* Legal document H3 - subsection headings */
.legal-document h3 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Legal document H4 - smaller subsection headings */
.legal-document h4 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* Legal document paragraph - body text with spacing */
.legal-document p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

/* Legal document list - bulleted lists */
.legal-document ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

/* Legal document list item - individual list items */
.legal-document ul li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Contact box - highlighted contact information box */
.contact-box {
    background: var(--gray-lighter);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

/* Contact box paragraph - contact details text */
.contact-box p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

/* Contact box strong text - emphasized contact labels */
.contact-box strong {
    color: var(--text-primary);
}

/* Last updated text - document update timestamp */
.last-updated {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

/* =============================================
   LANGUAGE TOGGLE BUTTON
   
   USED BY: All HTML pages (in navigation header)
   PURPOSE: DE/EN language switcher with hover effects and fixed width
            Classes: .language-toggle, [lang="en"], [lang="de"]
            CONTROLLED BY: translator.js
   ============================================= */
/* Language toggle button - DE/EN switcher with fixed width */
.language-toggle {
    background: linear-gradient(135deg, var(--gray-lighter), var(--white));
    color: var(--text-primary);
    border: 2px solid var(--gray-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 80px; /* Fixed width to prevent size changes */
    justify-content: center; /* Center the text/flag */
    white-space: nowrap; /* Prevent text wrapping */
}

/* Language toggle hover - gradient blue background on hover */
.language-toggle:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 77, 143, 0.25);
}

/* Language toggle active - removes lift on click */
.language-toggle:active {
    transform: translateY(0);
}

/* Language English - hides German-only content when English is active */
[lang="en"] .de-only {
    display: none;
}

/* Language German - hides English-only content when German is active */
[lang="de"] .en-only {
    display: none;
}

/* =============================================
   WHY CHOOSE US PAGE STYLES
   
   USED BY: why-choose-us.html
   PURPOSE: Comprehensive page showcasing differentiators, comparison table,
            guarantees, success metrics, and testimonials
            Classes: .intro-content, .differentiators-grid, .differentiator-card,
                    .comparison-table, .guarantees-grid, .success-metrics-grid,
                    .testimonials-grid, .testimonial-card
            FEATURES: Interactive cards, comparison table, metric counters
   ============================================= */

/* Introduction content - main content wrapper with bottom margin */
.intro-content {
    margin-bottom: 4rem;
}

/* Introduction lead text - centered large intro paragraph */
.intro-content .lead-text {
    max-width: 900px;
    margin: 2rem auto 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.8;
}

/* Differentiators grid - single column layout for differentiator cards */
.differentiators-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

/* Differentiator card - glassmorphism card for individual differentiator */
.differentiator-card {
    position: relative;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(135, 206, 250, 0.2);
    transition: all 0.4s ease;
}

/* Differentiator card hover - lifts card and intensifies glow */
.differentiator-card:hover {
    transform: translateY(-8px);
    border-color: rgba(135, 206, 250, 0.5);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(135, 206, 250, 0.3);
}

/* Differentiator number - large watermark number in top-right corner */
.diff-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(135, 206, 250, 0.15);
    line-height: 1;
}

/* Differentiator icon - large emoji icon at top of card */
.diff-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* Differentiator card heading - title with blue glow */
.differentiator-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: rgba(135, 206, 250, 0.95);
    text-shadow: 0 0 20px rgba(135, 206, 250, 0.5);
}

/* Differentiator card paragraph - description text */
.differentiator-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Differentiator benefits list - list of key benefits */
.diff-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

/* Differentiator benefits list item - individual benefit */
.diff-benefits li {
    padding: 0.5rem 0 0.5rem 2rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

/* Differentiator benefits checkmark - blue checkmark bullet */
.diff-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: rgba(135, 206, 250, 0.95);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Comparison table wrapper - scrollable container for comparison table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 3rem;
    border-radius: 16px;
    background: var(--white);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

/* Comparison table - feature comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

/* Comparison table header - light blue background for header row */
.comparison-table thead {
    background: rgba(135, 206, 250, 0.15);
}

/* Comparison table heading - column headers */
.comparison-table th {
    padding: 1.25rem;
    text-align: left;
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 2px solid rgba(135, 206, 250, 0.3);
}

/* Comparison table highlight column header - emphasized company column */
.comparison-table th.highlight-col {
    background: rgba(135, 206, 250, 0.25);
    color: var(--primary);
    font-weight: 700;
}

/* Comparison table cell - standard table data cells */
.comparison-table td {
    padding: 1rem 1.25rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(135, 206, 250, 0.15);
}

/* Comparison table highlight column cell - emphasized company data */
.comparison-table td.highlight-col {
    background: rgba(135, 206, 250, 0.1);
    font-weight: 600;
    color: var(--primary);
}

/* Comparison table row hover - highlights row on hover */
.comparison-table tbody tr:hover {
    background: rgba(135, 206, 250, 0.05);
}

/* Guarantees grid - responsive auto-fit grid for guarantee cards */
.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Guarantee card - glassmorphism card for individual guarantee */
.guarantee-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(135, 206, 250, 0.2);
    transition: all 0.3s ease;
}

/* Guarantee card hover - lifts and glows on hover */
.guarantee-card:hover {
    transform: translateY(-5px);
    border-color: rgba(135, 206, 250, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Guarantee icon - large emoji icon at top of card */
.guarantee-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Guarantee card heading - guarantee title with glow */
.guarantee-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(135, 206, 250, 0.5);
}

/* Guarantee card paragraph - guarantee description text */
.guarantee-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Success metrics grid - responsive auto-fit grid for metric cards */
.success-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Metric card - white card for individual success metric */
.metric-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    border: 2px solid rgba(135, 206, 250, 0.3);
    transition: all 0.3s ease;
}

/* Metric card hover - scales up and adds shadow */
.metric-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

/* Metric number - large numeric value display */
.metric-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

/* Metric label - metric name/title */
.metric-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Metric card paragraph - metric description text */
.metric-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Testimonial section - section wrapper for testimonials */
.testimonial-section {
    margin-top: 4rem;
}

/* Testimonial section heading - section title */
.testimonial-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

/* Testimonials grid - responsive auto-fit grid for testimonial cards */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Testimonial card - white card with left border accent */
.testimonial-card {
    position: relative;
    padding: 2.5rem 2rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary);
}

/* Testimonial quote mark - large decorative opening quote */
.testimonial-quote {
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(135, 206, 250, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Testimonial text - italic testimonial quote text */
.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* Testimonial author - flex container for author name and role */
.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Testimonial author name - bold author name */
.testimonial-author strong {
    color: var(--text-primary);
    font-size: 1rem;
}

/* Testimonial author role - author company/role information */
.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* CTA note - italic note text below CTA button */
.cta-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* Light background section subtitle override - gray text for light background */
.bg-light .section-subtitle {
    color: var(--text-secondary);
}

/* Light background testimonial heading override - dark text for light background */
.bg-light .testimonial-section h3 {
    color: var(--text-primary);
}

/* ========== WHY CHOOSE US PAGE RESPONSIVE ========== */
/* Responsive Design - Mobile adjustments for Why Choose Us page */
@media (max-width: 768px) {
    /* Reduce gap between differentiator cards on mobile */
    .differentiators-grid {
        gap: 2rem;
    }
    
    /* Reduce padding in differentiator cards on mobile */
    .differentiator-card {
        padding: 2rem 1.5rem;
    }
    
    /* Smaller watermark number on mobile */
    .diff-number {
        font-size: 2rem;
        top: 1rem;
        right: 1rem;
    }
    
    /* Reduce padding in comparison table wrapper on mobile */
    .comparison-table-wrapper {
        padding: 1rem;
    }
    
    /* Stack guarantee cards on mobile */
    .guarantees-grid {
        grid-template-columns: 1fr;
    }
    
    /* Two-column layout for success metrics on mobile */
    .success-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Smaller metric number on mobile */
    .metric-number {
        font-size: 2.5rem;
    }
    
    /* Stack testimonial cards on mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== LANGUAGE-SPECIFIC ADJUSTMENTS ========== */
/* German language - Font size adjustments for longer text */
html[lang="de"] .hero-title {
    font-size: 4rem;
    line-height: 1.15;
}

html[lang="de"] .hero-subtitle {
    font-size: 2rem;
    line-height: 1.35;
}

html[lang="de"] .hero-description {
    font-size: 1.15rem;
    line-height: 1.75;
}

html[lang="de"] .section-title {
    font-size: 2.25rem;
    line-height: 1.3;
}

html[lang="de"] .intro-text,
html[lang="de"] .intro-highlight {
    font-size: 1rem;
    line-height: 1.75;
}

/* German language - Responsive adjustments */
@media (max-width: 768px) {
    html[lang="de"] .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    html[lang="de"] .hero-subtitle {
        font-size: 1.35rem;
        line-height: 1.4;
    }
    
    html[lang="de"] .hero-description {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    html[lang="de"] .hero-title {
        font-size: 1.75rem;
    }
    
    html[lang="de"] .hero-subtitle {
        font-size: 1.15rem;
    }
}
