/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Allvita Spitex Color System - basierend auf Logo-Farben */
    /* Primäre Farben vom Logo */
    --logo-teal: #20B2AA;
    --logo-lime: #32CD32;
    --logo-charcoal: #2C3E50;
    
    /* Erweiterte Farbpalette */
    --primary-gradient: linear-gradient(135deg, #20B2AA 0%, #17A2B8 50%, #32CD32 100%);
    --secondary-gradient: linear-gradient(135deg, #48CAE4 0%, #90E0EF 100%);
    --accent-gradient: linear-gradient(135deg, #32CD32 0%, #7CFC00 100%);
    --success-gradient: linear-gradient(135deg, #20B2AA 0%, #32CD32 100%);
    --warning-gradient: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    --info-gradient: linear-gradient(135deg, #48CAE4 0%, #0077B6 100%);
    
    /* Zusätzliche harmonische Farben */
    --soft-teal: #fafafa;
    --soft-lime: #FaFaFa;
    --warm-white: #FAFAFA;
    --deep-teal: #0D7377;
    --bright-lime: #ADFF2F;
    
    /* Glass Morphism - angepasst an neue Farben */
    --glass-bg: rgba(32, 178, 170, 0.1);
    --glass-border: rgba(32, 178, 170, 0.2);
    --glass-bg-dark: rgba(44, 62, 80, 0.1);
    --glass-border-dark: rgba(255, 255, 255, 0.1);
    --glass-teal: rgba(32, 178, 170, 0.15);
    --glass-lime: rgba(50, 205, 50, 0.15);
    
    /* Shadows - angepasst an neue Farben */
    --shadow-light: 0 8px 32px rgba(32, 178, 170, 0.2);
    --shadow-heavy: 0 15px 50px rgba(32, 178, 170, 0.3);
    --shadow-neu: 20px 20px 60px #E0F7FA, -20px -20px 60px #F0FFF0;
    --shadow-neu-inset: inset 20px 20px 60px #E0F7FA, inset -20px -20px 60px #F0FFF0;
    --shadow-elevated: 0 20px 40px rgba(32, 178, 170, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.05);
    --shadow-teal: 0 10px 30px rgba(32, 178, 170, 0.25);
    --shadow-lime: 0 10px 30px rgba(50, 205, 50, 0.25);
    
    /* Spacing System */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-bounce: 300ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-spring: 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}



body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--logo-charcoal);
    overflow-x: hidden;
    background: linear-gradient(135deg, var(--soft-teal) 0%, var(--soft-lime) 50%, #E8F8F5 100%);
    scroll-behavior: smooth;
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: #fafafa;
}

/* Advanced Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(32, 178, 170, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(50, 205, 50, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(72, 202, 228, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 60% 30%, rgba(173, 255, 47, 0.04) 0%, transparent 50%);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(0, 0, 0, 0.02) 50%, transparent 70%);
    z-index: -1;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Advanced Navigation */
.navbar {
    background: #fafafa;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(32, 178, 170, 0.2);
    box-shadow: var(--shadow-elevated);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
    transform: translateY(0);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    transition: all var(--transition-spring);
    position: relative;
}

/* Navigation Logo - jetzt noch größer */
.nav-logo-image {
    height: 90px;
    width: auto;
    transition: all var(--transition-spring);
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.15));
}

/* Allgemeine Logo-Styles */
.logo-image {
    height: 50px;
    width: auto;
    transition: all var(--transition-spring);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.nav-logo:hover .nav-logo-image {
    transform: scale(1.08) translateY(-3px);
    filter: drop-shadow(0 0 20px rgba(32, 178, 170, 0.5));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-2xl);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #2d3748;
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--transition-normal);
    position: relative;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--logo-teal);
    background: var(--glass-teal);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--logo-teal);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.emergency-btn {
    background: var(--warning-gradient);
    color: white !important;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--text-sm);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-spring);
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
}

.emergency-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.emergency-btn:hover::before {
    left: 100%;
}

.emergency-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 15px 35px rgba(245, 87, 108, 0.6);
    filter: brightness(1.1);
}

.emergency-btn:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 5px 15px rgba(245, 87, 108, 0.4);
}

.emergency-btn:hover {
    background: linear-gradient(135deg, #FF4757 0%, #FF3742 100%);
}

.emergency-btn::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Advanced Hero Section */
.hero {
    background: var(--primary-gradient);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

/* Großes Logo anstelle des Kreises */
.hero-large-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all ease-in-out 500ms;
    
}

.hero-main-logo {
    width: clamp(300px, 40vw, 500px);
    height: auto;
    filter: drop-shadow(0 30px 70px rgba(255, 255, 255, 0.856));
    animation: heroLogoFloat 6s ease-in-out infinite;
    transition: all var(--transition-spring);
    transition: all ease-in-out 500ms;
}

.hero-main-logo:hover {
    transform: scale(1.3);
    filter: drop-shadow(0 0px 50px rgb(255, 255, 255));
}

@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: var(--space-xl);
    line-height: 1.1;
    background: linear-gradient(45deg, #fff, #E0F7FA, #F0FFF0, #fff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 4s ease-in-out infinite;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: block;
    position: relative;
    min-height: 1.1em;
}

@keyframes textShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content p {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2xl);
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 400;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(31, 38, 135, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-placeholder {
    width: clamp(300px, 30vw, 450px);
    height: clamp(300px, 30vw, 450px);
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow: var(--shadow-elevated), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    animation: float 8s ease-in-out infinite;
    transition: all var(--transition-normal);
}

.hero-placeholder::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--accent-gradient);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 10s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-placeholder:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: var(--shadow-heavy), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    filter: brightness(1.1);
}


@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* Advanced Services Section */
.services {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--soft-teal) 0%, var(--warm-white) 50%, var(--soft-lime) 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.services h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-3xl);
    color: var(--logo-charcoal);
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    width: 100%;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-2xl);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.service-card {
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(32, 178, 170, 0.2);
    padding: var(--space-3xl) var(--space-2xl);
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: var(--shadow-elevated);
    transition: all var(--transition-spring);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(32, 178, 170, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: var(--shadow-heavy), 0 25px 50px rgba(32, 178, 170, 0.15);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(32, 178, 170, 0.3);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-xl);
    position: relative;
    transition: all var(--transition-spring);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
    flex-shrink: 0;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
    animation: rotate 10s linear infinite;
}

.service-icon i {
    font-size: 2.25rem;
    color: white;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 20px 40px rgba(32, 178, 170, 0.6);
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-card:hover .service-icon i {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
}

.service-card h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
    color: var(--logo-charcoal);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.service-card p {
    margin-bottom: var(--space-xl);
    color: #4a5568;
    line-height: 1.6;
    font-size: var(--text-base);
    flex-grow: 1;
}

.service-card ul {
    list-style: none;
    text-align: left;
    margin-top: auto;
    padding-top: var(--space-lg);
}

.service-card li {
    padding: var(--space-sm) 0;
    color: #4a5568;
    position: relative;
    padding-left: var(--space-xl);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--logo-teal);
    font-weight: 700;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.service-card li:hover {
    color: var(--logo-teal);
}

.service-card li:hover::before {
    transform: scale(1.2);
    filter: drop-shadow(0 0 5px rgba(32, 178, 170, 0.5));
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--warm-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--logo-teal);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #666;
    line-height: 1.8;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature i {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-top: 5px;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.feature p {
    color: #666;
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-placeholder {
    width: 400px;
    height: 400px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-placeholder i {
    font-size: 6rem;
    color: white;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--soft-lime) 0%, var(--soft-teal) 100%);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--logo-teal);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.contact-item:hover::before {
    transform: scaleY(1);
}

.contact-item.emergency {
    background: #fff5f5;
    border-left: 4px solid #e74c3c;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--logo-teal);
    margin-top: 5px;
}

.contact-item.emergency i {
    color: #e74c3c;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.contact-form:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-5px);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--logo-teal);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(225, 229, 233, 0.5);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--logo-teal);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.1);
    transform: translateY(-2px);
}


.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Emergency Section */
.emergency {
    background: var(--warning-gradient);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.emergency::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: emergencyPulse 4s ease-in-out infinite;
}

@keyframes emergencyPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.emergency-content {
    position: relative;
    z-index: 2;
}

.emergency-content i {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: emergencyBounce 2s ease-in-out infinite;
}

@keyframes emergencyBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

.emergency h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.emergency p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.emergency-phone {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 20px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.emergency-phone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.emergency-phone:hover::before {
    left: 100%;
}

.emergency-phone:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

.emergency-note {
    margin-top: 30px;
    font-size: 1rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--logo-charcoal);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo .logo-image {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
    transition: all var(--transition-normal);
}

.footer-logo:hover .logo-image {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section ul li i {
    margin-right: 8px;
    color: var(--logo-teal);
}

.footer-bottom {
    border-top: 1px solid rgba(32, 178, 170, 0.3);
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: all var(--transition-normal);
        box-shadow: var(--shadow-elevated);
        padding: var(--space-xl) 0;
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
        border: 1px solid rgba(255, 255, 255, 0.2);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: var(--space-sm) 0;
    }
    
    .nav-link {
        display: block;
        padding: var(--space-md) var(--space-xl);
        margin: 0 var(--space-lg);
        border-radius: var(--radius-lg);
        transition: all var(--transition-normal);
    }
    
    .nav-link:hover {
        background: var(--glass-teal);
        transform: translateX(10px);
    }
    
    .emergency-btn {
        margin: var(--space-lg) var(--space-xl);
        display: inline-block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-placeholder {
        width: 250px;
        height: 250px;
    }
    
    .hero-main-logo {
        width: 250px;
        height: auto;
    }
    
    
    .about-placeholder {
        width: 300px;
        height: 300px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services h2,
    .about-text h2,
    .contact h2,
    .emergency h2 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .emergency-phone {
        font-size: 1.5rem;
        padding: 15px 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    
    .hero-main-logo {
        width: 200px;
        height: auto;
    }
    
    .about-placeholder {
        width: 250px;
        height: 250px;
    }
    
    .nav-logo-image {
        height: 60px;
    }
    
    .footer-logo .logo-image {
        height: 50px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .services,
    .about,
    .contact {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Additional Fancy Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 0 30px rgba(102, 126, 234, 0.6); }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

/* Particle Animation */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: floatParticle 15s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Morphing Shapes */
.morphing-shape {
    position: absolute;
    background: var(--primary-gradient);
    border-radius: 50%;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { border-radius: 50%; transform: rotate(0deg); }
    25% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    75% { border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%; }
}

/* Advanced Hover Effects */
.fancy-hover {
    position: relative;
    overflow: hidden;
}

.fancy-hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.fancy-hover:hover::after {
    width: 300px;
    height: 300px;
}

/* 3D Card Effect */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.card-3d:hover {
    transform: rotateY(10deg) rotateX(5deg);
}

/* Gradient Text Animation */
.gradient-text {
    background: linear-gradient(45deg, var(--logo-teal), var(--logo-lime), var(--deep-teal), var(--bright-lime));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* Notification Styles */
.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: auto;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.contact-item,
.feature {
    animation: fadeInUp 0.6s ease forwards;
}

/* Hover Effects */
.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}


.about-placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}