/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #20495a;
    --primary-dark: #163340;
    --primary-light: #2d5a6b;
    --accent-color: #3a7a8f;
    --text-color: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(32, 73, 90, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(32, 73, 90, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(58, 122, 143, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

main {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header und Navigation */
header {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.85) 0%, 
        rgba(248, 249, 250, 0.8) 100%);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 
                0 1px 0 rgba(255, 255, 255, 0.6) inset,
                0 -1px 0 rgba(32, 73, 90, 0.05) inset;
    border-bottom: 2px solid rgba(32, 73, 90, 0.08);
    position: relative;
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

header.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 25%,
        var(--accent-color) 50%,
        var(--primary-color) 75%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
    pointer-events: none;
}

header:hover::after {
    left: 100%;
}

header.scrolled::before {
    opacity: 1;
}

header.scrolled {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 249, 250, 0.92) 100%);
    backdrop-filter: blur(50px) saturate(200%);
    -webkit-backdrop-filter: blur(50px) saturate(200%);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12),
                0 1px 0 rgba(255, 255, 255, 0.7) inset,
                0 -1px 0 rgba(32, 73, 90, 0.08) inset,
                0 0 0 1px rgba(32, 73, 90, 0.03) inset;
    border-bottom: 2px solid rgba(32, 73, 90, 0.12);
    transform: translateY(0);
}

header.scrolled .navbar {
    padding: 1.25rem 0;
}

.navbar {
    padding: 1.75rem 0;
    position: relative;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.nav-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(32, 73, 90, 0.1) 50%, 
        transparent 100%);
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

header.scrolled .nav-wrapper::before {
    opacity: 1;
}

.logo {
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(32, 73, 90, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.logo:hover::after {
    width: 120px;
    height: 120px;
}

.logo img {
    height: 75px;
    width: auto;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
    position: relative;
}

.logo:hover img {
    transform: scale(1.1) translateY(-3px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(248, 249, 250, 0.05) 100%);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

header.scrolled .nav-menu {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(248, 249, 250, 0.15) 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.75rem 1rem;
    display: inline-block;
    border-radius: 12px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(32, 73, 90, 0.3);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(32, 73, 90, 0.08) 0%, 
        rgba(58, 122, 143, 0.08) 100%);
    border-radius: 12px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    box-shadow: 0 2px 8px rgba(32, 73, 90, 0.1);
    transform: scale(0.95);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: calc(100% - 1rem);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(32, 73, 90, 0.15);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.nav-menu a.active {
    font-weight: 700;
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white) !important;
    padding: 0.875rem 2rem !important;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(32, 73, 90, 0.3),
                0 0 0 0 rgba(32, 73, 90, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    margin-left: 1.5rem;
    position: relative;
    overflow: hidden;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 70%);
    transform: rotate(45deg);
    transition: left 0.6s ease;
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-cta:hover::after {
    width: 400px;
    height: 400px;
}

.nav-cta:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 35px rgba(32, 73, 90, 0.4),
                0 0 0 4px rgba(32, 73, 90, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: var(--bg-white) !important;
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, 
        var(--primary-light) 0%, 
        var(--accent-color) 100%);
}

.nav-cta:active {
    transform: translateY(-2px) scale(0.98);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(32, 73, 90, 0.15);
    border-radius: 12px;
    cursor: pointer;
    padding: 12px 10px;
    gap: 6px;
    z-index: 1001;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(32, 73, 90, 0.15);
}

.mobile-menu-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(32, 73, 90, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.mobile-menu-toggle:hover::before {
    width: 60px;
    height: 60px;
}

.mobile-menu-toggle:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 249, 250, 0.95) 100%);
    border-color: rgba(32, 73, 90, 0.25);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(32, 73, 90, 0.2);
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
    position: relative;
    box-shadow: 0 2px 4px rgba(32, 73, 90, 0.2);
}

.mobile-menu-toggle.active {
    background: rgba(32, 73, 90, 0.1);
    border-color: var(--primary-color);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    background: var(--primary-color);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
    background: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--bg-white);
    transform-style: preserve-3d;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    transform: scale(1.1);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hero:hover .hero-image {
    transform: scale(1.15);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(32, 73, 90, 0.85) 0%, rgba(22, 51, 64, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 4rem 3rem;
    animation: fadeInUp 1s ease-out;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 32px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset,
                0 1px 0 rgba(255, 255, 255, 0.2) inset;
    transform: translateZ(0);
    transition: all 0.5s ease;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.3) 100%);
    border-radius: 32px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-content:hover::before {
    opacity: 1;
}

.hero-content:hover {
    transform: translateY(-10px) translateZ(0);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.3);
    color: var(--bg-white);
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.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;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, 
        var(--bg-white) 0%, 
        rgba(248, 249, 250, 0.95) 100%);
    color: var(--primary-color);
    box-shadow: var(--shadow-md),
                0 0 0 1px rgba(255, 255, 255, 0.8) inset,
                0 4px 15px rgba(32, 73, 90, 0.15);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(32, 73, 90, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, 
        var(--bg-white) 0%, 
        rgba(255, 255, 255, 0.98) 100%);
    transform: translateY(-6px) scale(1.03);
    box-shadow: var(--shadow-xl), 
                0 0 40px rgba(32, 73, 90, 0.3),
                0 0 0 1px rgba(255, 255, 255, 1) inset,
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.9);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 42px;
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 140px 0;
    background: linear-gradient(135deg, 
        var(--bg-white) 0%, 
        rgba(248, 249, 250, 0.8) 50%,
        var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 20%, rgba(32, 73, 90, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(58, 122, 143, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.services::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(32, 73, 90, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-50px, -50px) scale(1.1);
    }
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 5rem;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(32, 73, 90, 0.1);
}

.services h2::before {
    content: '';
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.6;
    animation: sparkle 2s ease-in-out infinite;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 20%,
        var(--accent-color) 50%,
        var(--primary-color) 80%,
        transparent 100%);
    border-radius: 3px;
    box-shadow: 0 4px 15px rgba(32, 73, 90, 0.3);
    animation: expand 1s ease-out;
}

@keyframes expand {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
}

.service-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(248, 249, 250, 0.6) 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md),
                0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(32, 73, 90, 0.03) 0%, rgba(58, 122, 143, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-20px) scale(1.03) rotateX(2deg);
    box-shadow: var(--shadow-xl), 
                var(--shadow-glow),
                0 0 40px rgba(32, 73, 90, 0.15);
    border-color: rgba(32, 73, 90, 0.3);
}

.service-card:nth-child(1):hover {
    transform: translateY(-20px) scale(1.03) rotateX(2deg) rotateY(-1deg);
}

.service-card:nth-child(2):hover {
    transform: translateY(-20px) scale(1.03) rotateX(2deg) rotateY(1deg);
}

.service-card:nth-child(3):hover {
    transform: translateY(-20px) scale(1.03) rotateX(2deg) rotateY(-1deg);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(32, 73, 90, 0.2) 0%, 
        transparent 100%);
    z-index: 1;
    transition: opacity 0.5s ease;
}

.service-card:hover .service-image::before {
    opacity: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.8s ease;
    filter: brightness(0.9) contrast(1.1);
}

.service-card:hover .service-image img {
    transform: scale(1.15) rotate(1deg);
    filter: brightness(1) contrast(1.2);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 5px rgba(32, 73, 90, 0.1);
}

.service-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Why Us Section */
.why-us {
    padding: 140px 0;
    background: linear-gradient(135deg, 
        var(--bg-white) 0%, 
        rgba(248, 249, 250, 0.8) 50%,
        var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(32, 73, 90, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(58, 122, 143, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(58, 122, 143, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
    z-index: 0;
}

.why-us .container {
    position: relative;
    z-index: 1;
}

.why-us h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 5rem;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(32, 73, 90, 0.1);
}

.why-us h2 {
    position: relative;
}

.why-us h2::before {
    content: '';
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.6;
    animation: sparkle 2s ease-in-out infinite;
}

.why-us h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 20%,
        var(--accent-color) 50%,
        var(--primary-color) 80%,
        transparent 100%);
    border-radius: 3px;
    box-shadow: 0 4px 15px rgba(32, 73, 90, 0.3);
    animation: expand 1s ease-out 0.2s both;
}

.why-us h2 .sparkle-right {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.6;
    animation: sparkle 2s ease-in-out infinite 1s;
    pointer-events: none;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.4;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-50%) scale(1.2);
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

.feature {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 249, 250, 0.6) 100%);
    padding: 3.5rem 3rem;
    border-radius: 28px;
    border-left: 8px solid var(--primary-color);
    box-shadow: var(--shadow-md),
                0 0 0 1px rgba(255, 255, 255, 0.9) inset,
                0 4px 20px rgba(32, 73, 90, 0.08);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    transform-style: preserve-3d;
    cursor: pointer;
}

.feature:nth-child(1) {
    animation-delay: 0.1s;
}

.feature:nth-child(2) {
    animation-delay: 0.2s;
}

.feature:nth-child(3) {
    animation-delay: 0.3s;
}

.feature:nth-child(4) {
    animation-delay: 0.4s;
}

.feature::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(32, 73, 90, 0.1) 0%, 
        rgba(58, 122, 143, 0.05) 50%,
        transparent 70%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.feature::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 0;
    background: linear-gradient(180deg, 
        var(--primary-color) 0%, 
        var(--accent-color) 100%);
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(32, 73, 90, 0.3);
}

.feature:hover::before {
    transform: scale(1.5) rotate(45deg);
    opacity: 1;
}

.feature:hover::after {
    height: 100%;
}

.feature:hover {
    transform: translateX(15px) translateY(-12px) scale(1.03) rotateY(2deg);
    box-shadow: var(--shadow-xl),
                0 0 40px rgba(32, 73, 90, 0.15),
                0 10px 30px rgba(32, 73, 90, 0.1);
    border-color: rgba(32, 73, 90, 0.3);
    border-left-width: 10px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(248, 249, 250, 0.8) 100%);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 8px rgba(32, 73, 90, 0.2));
    position: relative;
    z-index: 1;
}

.feature:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(32, 73, 90, 0.3));
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.feature p {
    color: var(--text-light);
    position: relative;
    z-index: 1;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.35rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    position: relative;
}

.page-header h1::before {
    content: '';
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.7;
    animation: sparkle 2s ease-in-out infinite;
}

.page-header h1::after {
    content: '';
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.7;
    animation: sparkle 2s ease-in-out infinite 1s;
}

.page-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* About Content */
.about-content {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.about-image-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.about-section {
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 2.25rem;
    margin-bottom: 2.5rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 1.25rem;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(32, 73, 90, 0.1);
}

.about-section h2::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 0;
    font-size: 1.5rem;
    opacity: 0.6;
    animation: sparkle 2s ease-in-out infinite;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--accent-color) 50%,
        var(--primary-color) 100%);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(32, 73, 90, 0.3);
}

.about-section p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.value-item {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 249, 250, 0.8) 100%);
    padding: 3.5rem 2.5rem;
    border-radius: 28px;
    border-top: 6px solid var(--primary-color);
    box-shadow: var(--shadow-md),
                0 0 0 1px rgba(255, 255, 255, 0.9) inset,
                0 4px 20px rgba(32, 73, 90, 0.08);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    transform-style: preserve-3d;
    text-align: center;
}

.value-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(32, 73, 90, 0.1) 0%, 
        rgba(58, 122, 143, 0.05) 50%,
        transparent 70%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.value-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--accent-color) 50%,
        var(--primary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    box-shadow: 0 2px 10px rgba(32, 73, 90, 0.3);
}

.value-item:hover::before {
    transform: scale(1.5) rotate(45deg);
    opacity: 1;
}

.value-item:hover::after {
    transform: scaleX(1);
}

.value-item:hover {
    transform: translateY(-15px) scale(1.04) rotateX(2deg);
    box-shadow: var(--shadow-xl),
                0 0 50px rgba(32, 73, 90, 0.2),
                0 10px 40px rgba(32, 73, 90, 0.15);
    border-color: rgba(32, 73, 90, 0.3);
    border-top-width: 8px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(248, 249, 250, 0.95) 100%);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(32, 73, 90, 0.25),
                0 0 0 4px rgba(255, 255, 255, 0.3) inset,
                0 4px 15px rgba(32, 73, 90, 0.15);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
    transform: translateZ(0);
}

.value-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.value-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--bg-white);
    stroke-width: 2.5;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.value-item:hover .value-icon {
    transform: translateY(-8px) scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(32, 73, 90, 0.35),
                0 0 0 4px rgba(255, 255, 255, 0.4) inset,
                0 6px 20px rgba(32, 73, 90, 0.2);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-color) 100%);
}

.value-item:hover .value-icon::before {
    width: 120px;
    height: 120px;
}

.value-item:hover .value-icon svg {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.value-item:nth-child(1) .value-icon {
    background: linear-gradient(135deg, #20495a 0%, #3a7a8f 100%);
}

.value-item:nth-child(2) .value-icon {
    background: linear-gradient(135deg, #2d5a6b 0%, #4a8aa0 100%);
}

.value-item:nth-child(3) .value-icon {
    background: linear-gradient(135deg, #3a7a8f 0%, #5a9ab0 100%);
}

.value-item:nth-child(4) .value-icon {
    background: linear-gradient(135deg, #4a8aa0 0%, #6aaac0 100%);
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 5px rgba(32, 73, 90, 0.1);
    position: relative;
    z-index: 1;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.why-list {
    list-style: none;
    padding-left: 0;
}

.why-list li {
    padding: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 249, 250, 0.6) 100%);
    border-left: 6px solid var(--primary-color);
    border-radius: 16px;
    box-shadow: var(--shadow-md),
                0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.why-list li::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(32, 73, 90, 0.08) 0%, 
        transparent 70%);
    transition: transform 0.6s ease;
    opacity: 0;
}

.why-list li::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 0;
    background: linear-gradient(180deg, 
        var(--primary-color) 0%, 
        var(--accent-color) 100%);
    transition: height 0.5s ease;
    box-shadow: 0 2px 10px rgba(32, 73, 90, 0.3);
}

.why-list li:hover::before {
    transform: scale(1.3) rotate(45deg);
    opacity: 1;
}

.why-list li:hover::after {
    height: 100%;
}

.why-list li:hover {
    transform: translateX(15px) translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg),
                0 0 30px rgba(32, 73, 90, 0.1);
    border-color: rgba(32, 73, 90, 0.25);
    border-left-width: 8px;
}

.why-list li strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Contact Content */
.contact-content {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--bg-white) 0%, var(--bg-light) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.25rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 1.25rem;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(32, 73, 90, 0.1);
}

.contact-info h2::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 0;
    font-size: 1.5rem;
    opacity: 0.6;
    animation: sparkle 2s ease-in-out infinite;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--accent-color) 50%,
        var(--primary-color) 100%);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(32, 73, 90, 0.3);
}

.contact-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.contact-item p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.contact-phone {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.contact-phone a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-phone a:hover {
    color: var(--accent-color);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-note {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-light);
}

/* Contact Form */
.contact-form-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.8) 100%);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(32, 73, 90, 0.03) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-size: 2.25rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 1.25rem;
    z-index: 1;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(32, 73, 90, 0.1);
}

.contact-form-wrapper h2::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 0;
    font-size: 1.5rem;
    opacity: 0.6;
    animation: sparkle 2s ease-in-out infinite;
    z-index: 1;
}

.contact-form-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--accent-color) 50%,
        var(--primary-color) 100%);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(32, 73, 90, 0.3);
}

.contact-form {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--bg-white);
    position: relative;
    z-index: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(32, 73, 90, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: normal;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Form Messages */
.form-message {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
    position: relative;
    z-index: 10;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #c3e6cb;
    box-shadow: 0 4px 12px rgba(21, 87, 36, 0.1);
}

.form-message-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #f5c6cb;
    box-shadow: 0 4px 12px rgba(114, 28, 36, 0.1);
}

.form-message {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: var(--bg-white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.emergency-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.emergency-content {
    position: relative;
    z-index: 1;
}

.emergency-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.emergency-content p {
    font-size: 1.35rem;
    margin-bottom: 2rem;
}

.emergency-banner .btn-primary {
    background-color: var(--bg-white);
    color: #dc3545;
}

.emergency-banner .btn-primary:hover {
    background-color: var(--bg-light);
}

/* Legal Content */
.legal-content {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(32, 73, 90, 0.1);
}

.legal-section h2::before {
    content: '';
    position: absolute;
    left: -45px;
    top: 0;
    font-size: 1.25rem;
    opacity: 0.6;
    animation: sparkle 2s ease-in-out infinite;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--accent-color) 50%,
        var(--primary-color) 100%);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(32, 73, 90, 0.3);
}

.legal-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 5px rgba(32, 73, 90, 0.1);
}

.legal-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Footer */
footer {
    background: linear-gradient(135deg, 
        var(--primary-dark) 0%, 
        var(--primary-color) 50%,
        var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 80px 0 40px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.01em;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--bg-white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-section a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Show mobile menu toggle button */
    .mobile-menu-toggle {
        display: flex !important;
        background: #ffffff !important;
        border: 1px solid rgba(32, 73, 90, 0.12) !important;
        border-radius: 8px !important;
        box-shadow: 0 1px 4px rgba(32, 73, 90, 0.08) !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        padding: 10px 8px !important;
    }

    .mobile-menu-toggle:hover {
        background: rgba(248, 249, 250, 0.8) !important;
        border-color: rgba(32, 73, 90, 0.18) !important;
        box-shadow: 0 2px 6px rgba(32, 73, 90, 0.12) !important;
    }

    .mobile-menu-toggle.active {
        background: rgba(32, 73, 90, 0.08) !important;
        border-color: var(--primary-color) !important;
    }

    .mobile-menu-toggle span {
        width: 24px !important;
        height: 2.5px !important;
    }

    /* Hide desktop navigation menu by default */
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: row;
        background: #ffffff;
        margin-top: 0.5rem;
        padding: 0;
        list-style: none;
        border: 1px solid rgba(32, 73, 90, 0.12);
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(32, 73, 90, 0.06);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Show mobile menu when active - pushes content down */
    .nav-menu.mobile-active {
        display: flex !important;
        max-height: 500px;
        padding: 0.125rem 0;
    }

    /* Hide CTA button in mobile menu */
    .nav-menu .nav-cta {
        display: none !important;
    }

    /* Mobile menu list items */
    .nav-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
        display: block;
    }

    .nav-menu li:not(:last-child) {
        border-bottom: 1px solid rgba(32, 73, 90, 0.06);
    }

    /* Mobile menu links */
    .nav-menu a {
        display: flex;
        align-items: center;
        padding: 0.4375rem 0.475rem;
        color: #20495a;
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 600;
        background: transparent;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
        box-sizing: border-box;
        border-radius: 6px;
        margin: 0.0625rem 0.25rem;
        position: relative;
        letter-spacing: -0.01em;
    }

    .nav-menu a::before {
        content: '';
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--primary-color);
        margin-right: 0.75rem;
        opacity: 0;
        transform: scale(0);
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu a:hover,
    .nav-menu a:active {
        background: rgba(32, 73, 90, 0.06);
        color: #20495a;
        padding-left: 1rem;
    }

    .nav-menu a:hover::before,
    .nav-menu a.active::before {
        opacity: 1;
        transform: scale(1);
    }

    .nav-menu a.active {
        background: rgba(32, 73, 90, 0.1);
        color: #20495a;
        font-weight: 700;
        padding-left: 1rem;
    }

    .nav-menu a.active::before {
        opacity: 1;
        transform: scale(1);
        width: 3px;
        height: 16px;
        border-radius: 2px;
        background: var(--primary-color);
    }

    /* Remove all pseudo-elements on mobile */
    .nav-menu a::before,
    .nav-menu a::after {
        display: none !important;
        content: none !important;
    }

    /* Adjust header for mobile menu */
    .navbar {
        padding: 1rem 0 !important;
    }

    .nav-wrapper {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .nav-wrapper > .logo,
    .nav-wrapper > .mobile-menu-toggle {
        align-self: flex-start;
    }

    .nav-wrapper {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
    }

    .nav-wrapper > .nav-menu {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }

    .logo {
        margin-bottom: 0 !important;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .features-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-item {
        padding: 2.5rem 2rem;
    }

    .value-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }

    .value-icon svg {
        width: 35px;
        height: 35px;
    }

    .value-item h3 {
        font-size: 1.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .services h2,
    .why-us h2 {
        font-size: 2rem;
    }

    .services h2::before,
    .why-us h2::before,
    .why-us h2 .sparkle-right,
    .services h2 .sparkle-right,
    .page-header h1::before,
    .page-header h1::after,
    .about-section h2::before,
    .contact-info h2::before,
    .contact-form-wrapper h2::before,
    .legal-section h2::before {
        display: none;
    }

    .page-header h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .services,
    .why-us,
    .about-content,
    .contact-content {
        padding: 60px 0;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .emergency-content h2 {
        font-size: 2rem;
    }
}
