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

/* Mobile hero alignment override: push hero content to bottom half */
@media (max-width: 768px) {
    .hero {
        align-items: flex-end !important;
        justify-content: center !important;
        min-height: 100dvh !important;
        min-height: 100svh !important;
    }
    .hero-content {
        min-height: calc(100dvh - 80px) !important;
        min-height: calc(100svh - 80px) !important;
        align-items: flex-end !important;
        justify-content: flex-end !important;
        padding: 0 20px calc(24px + env(safe-area-inset-bottom)) !important;
        padding-top: calc(50vh - 90px) !important; /* Move content 90px higher */
        display: flex !important;
        flex-direction: column !important;
    }
    .hero-text {
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 2rem !important; /* Add some bottom margin */
        align-items: center !important;
        text-align: center !important;
    }
    
    /* Make hero subtitle 30% smaller on mobile */
    .hero-subtitle {
        font-size: 0.98rem !important; /* 30% smaller than 1.4rem */
    }
    
    /* Make hero buttons full-width and thinner on mobile */
    .hero-buttons {
        width: 100% !important;
        max-width: 100% !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-top: 0.5rem !important;
    }
    
    .hero .hero-buttons .btn {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        padding: 12px 24px !important; /* Make buttons thinner */
        text-align: center !important;
        justify-content: center !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        font-size: 0.95rem !important;
    }
    
    .hero .hero-buttons .hero-phone {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        margin: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero .hero-buttons .phone-link {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        padding: 12px 24px !important; /* Make phone button thinner */
        text-align: center !important;
        justify-content: center !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        font-size: 0.95rem !important;
    }
    
    .hero-address {
        width: 100% !important;
        text-align: center;
        margin-top: 16px;
    }
    
    .hero-address .address-link {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        padding: 12px 24px !important;
        text-align: center !important;
        justify-content: center !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        font-size: 0.85rem !important;
        margin-top: 8px !important;
        margin-left: 0 !important;
    }
}

/* Mobile header logo - maximize within container across languages */
@media (max-width: 768px) {
    .nav-container {
        height: 90px;
        justify-content: center;
        position: relative;
    }
    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        height: 100%;
        z-index: 99999;
    }
    .nav-logo .logo {
        height: 95px; /* Increased from 85px */
        max-width: 85vw;
        width: auto;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .nav-logo .logo {
        height: 85px; /* Increased from 75px */
        max-width: 90vw;
    }
}

/* Remove fixed width buttons for screens between 481px and 768px - use full-width mobile buttons instead */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(135deg, #FFB6C1 0%, #E6E6FA 100%);
    overflow-x: hidden;
}

/* Ensure media never overflow containers on small screens */
img, svg, video {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #20b2aa; /* fallback color */
    display: inline-block;
}

/* Mobile language button - Hidden on desktop */
.language-button {
    background: none !important;
    border: none !important;
    cursor: pointer;
    display: none !important; /* Hidden on desktop */
    align-items: center;
    gap: 0.5rem;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    width: 100%;
    justify-content: center;
}

.language-button:hover {
    color: var(--primary-color);
}

/* Mobile menu language button styling */
@media (max-width: 768px) {
    .nav-item .language-button {
        font-size: 1.1rem !important;
        padding: 0.8rem 1.5rem !important;
        border-radius: 50px !important;
        background: linear-gradient(135deg, rgba(32, 178, 170, 0.1) 0%, rgba(0, 139, 139, 0.1) 100%) !important;
        backdrop-filter: blur(20px) !important;
        border: 2px solid transparent !important;
        transition: all 0.4s ease !important;
        text-align: center !important;
        min-width: 180px !important;
        max-width: 250px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        color: #1a1a1a !important;
        font-weight: 500 !important;
        overflow: hidden !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        margin: 0.3rem 0 !important;
    }
    
    .nav-item .language-button:hover {
        background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%) !important;
        color: white !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(32, 178, 170, 0.3);
    }
    
    /* Mobile language section will use the existing styles below */
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 22px;
    right: 20px;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-toggle {
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.1) 0%, rgba(0, 139, 139, 0.1) 100%);
    border: 2px solid transparent;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.2);
    backdrop-filter: blur(10px);
}

.language-toggle:hover {
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.2) 0%, rgba(0, 139, 139, 0.2) 100%);
    border: 2px solid rgba(32, 178, 170, 0.3);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.3);
}

.language-toggle.active {
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    color: white;
    border: 2px solid rgba(32, 178, 170, 0.5);
    box-shadow: 0 6px 25px rgba(32, 178, 170, 0.4);
}

.language-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    display: none;
    overflow: hidden;
    z-index: 1002;
    border: 1px solid rgba(32, 178, 170, 0.2);
}

.language-dropdown.active {
    display: block;
    animation: dropdownSlideIn 0.3s ease;
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header Instagram Icon */
.header-instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-instagram-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.header-instagram-link:active {
    transform: translateY(-1px) scale(1.05);
}

.language-option {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    background: transparent;
}

.language-option:hover {
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.1) 0%, rgba(0, 139, 139, 0.1) 100%);
    color: #20b2aa;
    padding-left: 22px;
}

.language-option:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.language-option:hover:before {
    transform: scaleY(1);
}

.language-option .flag {
    margin-right: 12px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.language-option:hover .flag {
    transform: scale(1.1);
}

.language-option .language-name {
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 0 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    transition: all 0.3s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo .logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    image-rendering: smooth;
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translateZ(0);
    will-change: transform;
    max-width: 280px;
    backface-visibility: hidden;
}

.nav-logo:hover .logo {
    transform: scale(1.05);
}

/* High-DPI display optimizations for logo */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-logo .logo {
        height: 75px;
        image-rendering: smooth;
        image-rendering: high-quality;
        image-rendering: -webkit-optimize-contrast;
    }
    
    .footer-logo {
        height: 130px;
        image-rendering: smooth;
        image-rendering: high-quality;
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Large screen optimizations */
@media (min-width: 1440px) {
    .nav-logo .logo {
        height: 75px;
        image-rendering: smooth;
        image-rendering: high-quality;
    }
    
    .footer-logo {
        height: 135px;
        image-rendering: smooth;
        image-rendering: high-quality;
    }
}

/* Ultra-wide screen optimizations */
@media (min-width: 1920px) {
    .nav-logo .logo {
        height: 80px;
        image-rendering: smooth;
        image-rendering: high-quality;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    height: 100%;
}

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    padding: 0 8px;
}

.nav-link:hover {
    color: #20b2aa;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    transition: width 0.3s ease;
}

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

.nav-cta {
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    color: white !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.nav-cta::after {
    display: none;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 1rem 0;
    min-width: 250px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #20b2aa;
    padding-left: 2rem;
}

/* Mobile Language Section - Hidden on Desktop */
.mobile-language-section {
    display: none;
}

.language-section-wrapper {
    display: none !important;
}

/* Show mobile language section on mobile devices */
@media (max-width: 768px) {
    .mobile-language-section {
        display: block !important;
    }
    
    .language-section-wrapper {
        display: block !important;
    }
}

/* Mobile Header Specific Styles */
.mobile-header .nav-container {
    position: relative;
}

.mobile-header .mobile-language-section {
    position: relative;
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    align-items: center;
    height: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    /* Enlarge and constrain header logo */
    .nav-container {
        height: 92px;
    }
    .nav-logo .logo {
        height: 76px;
        max-width: 85vw;
    }
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1a1a1a;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    /* Use dynamic viewport units for consistent mobile sizing */
    min-height: 100dvh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: calc(80px + env(safe-area-inset-top, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Video Background */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.1) 0%, 
        rgba(0, 0, 0, 0.05) 50%, 
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 2;
}

.hero-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0;
    padding: 0 40px;
    text-align: left;
    min-height: 60dvh;
}

.hero-text {
    max-width: 50%;
    margin-left: 0;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title-line {
    display: block;
}

/* Center hero title on mobile and tablet */
@media (max-width: 768px) {
    .hero-title {
        align-items: center;
        text-align: center;
    }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.hero-team-info {
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-intro {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.hero-team-members {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hero-team-member {
    font-size: 0.95rem;
    color: #555;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-team-member:last-child {
    border-bottom: none;
}

.hero-team-member strong {
    color: #20b2aa;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    justify-content: center;
    align-items: center;
}

.hero-phone {
    margin-top: 0;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 14px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: none;
    margin-left: -0.5rem;
}

.phone-link:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
    border: none;
}

.phone-link i {
    font-size: 1.3rem;
    color: white;
}

.phone-link:hover i {
    color: #ff6b6b;
}

/* Address Link Styling - matches button size */
.address-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 18px 24px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    margin-top: 8px;
    margin-left: -0.5rem;
}

.address-link:hover {
    color: #20b2aa;
    background: rgba(32, 178, 170, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.2);
    border: 1px solid rgba(32, 178, 170, 0.3);
}

.address-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.address-text div {
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 18px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

/* Equalize hero button widths and alignment on desktop */
@media (min-width: 769px) {
    .hero .hero-buttons .btn {
        min-width: 280px;
        max-width: 280px;
        width: 280px;
        justify-content: center;
        text-align: center;
        display: flex;
        align-items: center;
        margin: 0 auto;
    }

    .hero .hero-buttons .phone-link {
        min-width: 280px;
        max-width: 280px;
        width: 280px;
        padding: 18px 24px; /* match button height */
        justify-content: center;
        text-align: center;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    .hero .hero-address .address-link {
        min-width: 280px;
        max-width: 280px;
        width: 280px;
        padding: 18px 24px; /* match button height */
        justify-content: center;
        text-align: center;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        margin: 0 auto;
        margin-top: 8px;
    }
    
    .hero-buttons {
        align-items: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        gap: 4px;
    }
}

.hero-address {
    margin-top: 0;
    text-align: center;
}

.hero-address small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

/* Show elements only on mobile */
.show-on-mobile { display: none; }
@media (max-width: 768px) {
    .show-on-mobile { display: block; }
}

.btn-primary {
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(32, 178, 170, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #20b2aa;
    border: 2px solid #20b2aa;
}

.btn-secondary:hover {
    background: #20b2aa;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Prevent word breaking for long German compound words */
.section-title.no-break {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.4) 0%, rgba(255, 192, 203, 0.4) 100%);
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
    align-items: stretch;
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 100%;
    /* Match team-assistant cards: auto height and similar footprint */
    height: 100%;
    max-width: 380px;
    min-width: 280px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.medical-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.service-link {
    color: #20b2aa;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin: 0 auto;
    margin-top: auto;
}

.service-link:hover {
    color: #008b8b;
    gap: 1rem;
}

/* Team Section */
.team {
    background: linear-gradient(135deg, rgba(230, 230, 250, 0.5) 0%, rgba(221, 160, 221, 0.5) 100%);
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-image {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.placeholder-image svg {
    width: 60px;
    height: 60px;
}

.placeholder-image svg path {
    fill: white;
}

.team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.3);
}

.team-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-title {
    color: #20b2aa;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-description {
    color: #666;
    line-height: 1.6;
}

.team-placeholder {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.3);
}

.team-placeholder-large {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    box-shadow: 0 8px 25px rgba(32, 178, 170, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-placeholder-large:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(32, 178, 170, 0.4);
}

/* Pyramid Team Layout */
.team-pyramid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.team-doctor-row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.team-assistants-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    flex-wrap: wrap;
}

.team-doctor {
    max-width: 380px;
    width: 100%;
}

.team-assistant {
    max-width: 380px;
    width: 100%;
    flex: 1;
    min-width: 280px;
}

/* About Section */
.about {
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.3) 0%, rgba(135, 206, 235, 0.3) 100%);
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature i {
    font-size: 1.5rem;
    color: #20b2aa;
    margin-top: 0.25rem;
    min-width: 24px;
}

.feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #666;
    line-height: 1.5;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    opacity: 0.9;
}

.practice-logo {
    max-width: 100%;
    height: auto;
    width: 100%;
    max-height: 500px;
    box-sizing: border-box;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(32, 178, 170, 0.4);
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
}

.practice-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(32, 178, 170, 0.5);
}

.practice-logo-main {
    max-width: 400px;
    max-height: 400px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    object-fit: contain;
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(32, 178, 170, 0.2);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 20px;
}

.practice-logo-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(32, 178, 170, 0.3);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, rgba(255, 255, 224, 0.3) 0%, rgba(255, 239, 213, 0.3) 100%);
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #666;
    line-height: 1.5;
}

.contact-details a {
    color: #20b2aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #008b8b;
}

.contact-details small {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.25rem;
}

/* Form Styles */
.form-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #20b2aa;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: rgba(26, 26, 26, 0.95);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 100px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    object-position: left top;
    image-rendering: smooth;
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translateZ(0);
    will-change: transform;
    margin-bottom: 1rem;
    margin-top: 0;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: #20b2aa;
}

.footer-links i {
    width: 16px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1rem;
}

.legal-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #20b2aa;
}


/* Mobile Header Adjustments */
@media (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    .nav-container::before {
        content: '';
        flex: 1;
    }
    
    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 99999 !important;
        pointer-events: auto !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        gap: 4px;
        z-index: 1002;
        margin-left: auto;
        order: 3;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        height: calc(100dvh - 90px);
        height: calc(100svh - 90px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 20px 20px 40px;
        transform: translateY(-100%);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        margin: 0.8rem 0;
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.5s ease;
        transition-delay: calc(var(--item-index, 0) * 0.1s);
    }
    
    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
        border-radius: 50px;
        background: linear-gradient(135deg, rgba(32, 178, 170, 0.1) 0%, rgba(0, 139, 139, 0.1) 100%);
        backdrop-filter: blur(20px);
        border: 2px solid transparent;
        transition: all 0.4s ease;
        text-align: center;
        min-width: 180px;
        max-width: 250px;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0.3rem 0;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
        transition: left 0.4s ease;
        z-index: -1;
    }
    
    .nav-link:hover::before {
        left: 0;
    }
    
    .nav-link:hover {
        color: white;
        transform: translateY(-3px) scale(1.05);
        border-color: rgba(32, 178, 170, 0.5);
        box-shadow: 0 8px 25px rgba(32, 178, 170, 0.4);
    }

    .nav-cta {
        background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
        color: white !important;
        font-weight: 600;
        box-shadow: 0 6px 20px rgba(32, 178, 170, 0.3);
    }
    
    .nav-cta::before {
        background: linear-gradient(135deg, #008b8b 0%, #20b2aa 100%);
    }
    
    .nav-cta:hover {
        transform: translateY(-3px) scale(1.08);
        box-shadow: 0 10px 30px rgba(32, 178, 170, 0.5);
    }

    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        gap: 4px;
        z-index: 1001;
        transition: transform 0.3s ease;
        position: relative;
    }
    
    .mobile-menu-toggle:hover {
        transform: scale(1.1);
    }

    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 3px;
        transform-origin: center;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .language-selector {
        display: none; /* Hide floating language selector on mobile */
    }
    
    .header-instagram-link {
        display: none; /* Hide header Instagram link on mobile */
    }

    /* Mobile Language Section inside menu - Always visible */
    .mobile-language-section {
        width: 100%;
        padding: 1rem 0;
        border-top: 2px solid rgba(32, 178, 170, 0.2);
        margin-top: 1rem;
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: all 0.5s ease;
        display: block !important;
        visibility: visible !important;
    }
    
    .language-section-wrapper .mobile-language-section {
        display: block !important;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu.active .mobile-language-section,
    .mobile-language-section {
        display: block !important;
        opacity: 1;
        transform: translateY(0);
    }
    
    .language-section-wrapper {
        width: 100%;
        margin-top: 1rem;
        display: block !important;
    }
    
    .nav-item.language-section-wrapper {
        display: block !important;
        width: 100%;
    }
    
    .mobile-language-title {
        text-align: center;
        color: #20b2aa;
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .mobile-language-options {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 0.75rem;
        max-width: 100%;
        padding: 0 1rem;
        width: 100%;
    }
    
    .mobile-language-option {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 1rem;
        padding: 12px 25px;
        background: linear-gradient(135deg, rgba(32, 178, 170, 0.1) 0%, rgba(0, 139, 139, 0.1) 100%);
        border-radius: 35px;
        text-decoration: none;
        color: #333;
        font-size: 15px;
        font-weight: 600;
        transition: all 0.4s ease;
        border: 2px solid transparent;
        position: relative;
        overflow: hidden;
        min-width: 140px;
        text-transform: none;
        letter-spacing: 0.2px;
    }
    
    .mobile-language-option::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
        transition: left 0.4s ease;
        z-index: -1;
    }
    
    .mobile-language-option:hover::before {
        left: 0;
    }
    
    .mobile-language-option:hover {
        color: white;
        transform: translateY(-2px) scale(1.05);
        border-color: rgba(32, 178, 170, 0.5);
        box-shadow: 0 6px 20px rgba(32, 178, 170, 0.3);
    }
    
    .mobile-language-option.active {
        background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
        color: white;
        border-color: rgba(32, 178, 170, 0.5);
        box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
    }
    
    .mobile-language-option.active::before {
        background: linear-gradient(135deg, #008b8b 0%, #20b2aa 100%);
    }
    
    .mobile-language-option .language-flag {
        font-size: 18px;
        flex-shrink: 0;
    }
    
    .mobile-language-option span:not(.language-flag) {
        flex: 1;
        text-align: left;
    }

    .hero-content {
        padding: 0 20px;
        text-align: left;
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-text {
        max-width: 100%;
        margin-left: 0;
        align-items: center;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
        align-items: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 1.5rem; /* Add proper gap for mobile */
    }
    
    .service-card {
        width: 100%;
        height: auto;
        max-width: 100%;
        min-width: 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-assistants-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .team-doctor {
        max-width: 100%;
    }
    
    .team-assistant {
        max-width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

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

    .nav-container {
        padding: 0 15px 0 0px;
    }

    /* Tighter header/logo on very small phones */
    .nav-logo .logo {
        height: 70px;
        max-width: 85vw;
    }
    .header {
        height: 80px;
    }
    .nav-menu {
        top: 80px;
        height: calc(100dvh - 80px);
        height: calc(100svh - 80px);
    }

    .hero-title {
        font-size: 2rem;
    }

    /* Mobile button styles are handled by the @media (max-width: 768px) rule above */

    .services-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 1.25rem;
    }

    .service-card,
    .service-card.reveal {
        padding: 1.5rem;
        width: 100%;
        height: auto;
        margin-bottom: 0; /* spacing is handled by grid gap */
    }

    /* Prevent horizontal overflow from about logo on small screens */
    .about-image,
    .about-image img,
    .practice-logo,
    .practice-logo-main {
        max-width: 100%;
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    section {
        padding: 3rem 0;
    }
}

/* Smooth Animations */

.hero-text > * {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Reveal Animation */
.service-card,
.team-card,
.contact-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    /* Preserve grid layout and container sizing */
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.service-card.reveal,
.team-card.reveal,
.contact-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure service cards adapt height without internal scroll */
.service-card,
.service-card.reveal {
    width: 100%;
    height: 100%;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.service-icon,
.contact-icon {
    animation: pulse 2s infinite;
}

/* Page-specific Styles */
.page-hero {
    padding: 80px 0 40px;
}

/* Team Hero Section */
.team-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.1) 0%, rgba(255, 192, 203, 0.1) 100%);
}

.team-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.team-hero-content .page-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.team-hero-content .page-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
}

.team-hero-logo {
    width: 120px;
    height: auto;
    margin: 2rem auto 0 auto;
    display: block;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    transition: all 0.3s ease;
}

.team-hero-logo:hover {
    transform: scale(1.05);
    opacity: 1;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.2));
}

.team-detailed {
    padding: 4rem 0;
}

/* Services Hero Section */
.services-hero {
    padding: 120px 0 20px;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.3) 0%, rgba(255, 192, 203, 0.3) 100%);
}

.services-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Overview Section */
.services-overview-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.2);
}

.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.services-overview-grid .hero-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.services-overview-grid .hero-container:hover {
    transform: translateY(-10px);
}

/* Ensure card text fits and cards remain equal height across languages */
.services-overview-grid .hero-container p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.services-overview-grid .hero-container .btn {
    margin-top: auto;
}

@media (max-width: 768px) {
    .services-overview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.page-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.page-hero-content.centered {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-main {
    grid-column: 1 / 3;
    text-align: left;
}

.hero-side {
    grid-column: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-card-small {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 250px;
    transition: transform 0.3s ease;
}

.hero-card-small:hover {
    transform: translateY(-5px);
}

.hero-card-small .card-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-card-small h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-card-small p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Video Section Styles */
.video-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.1);
}

.video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.video-text h2 {
    margin-bottom: 1.5rem;
}

.video-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* 3-Container Hero Layouts */
.hero-3-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
    justify-items: stretch;
    min-height: 300px;
}

.hero-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}

.hero-container:hover {
    transform: translateY(-10px);
}

.hero-container.primary {
    grid-column: span 1;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.hero-container .hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.hero-container.primary .hero-icon {
    margin: 0 auto 1.5rem auto;
}

.hero-container h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-container.primary h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-container p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.hero-container .btn {
    margin-top: 1rem;
}

/* Team Page Styles */
.team-detailed {
    padding: 4rem 0;
}

.team-grid-detailed {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.team-card-detailed {
    display: grid;
    grid-template-columns: 250px 1fr auto;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    min-height: 320px;
    height: auto;
    align-items: center;
    position: relative;
}

.team-logo-container {
    position: absolute;
    bottom: 9rem;
    right: 1rem;
    width: 240px;
    height: 240px;
    opacity: 0.8;
    z-index: 1;
}

.team-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-image-large {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.placeholder-image-large {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.team-photo-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
    display: block;
    box-shadow: 0 8px 25px rgba(32, 178, 170, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-photo-large:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(32, 178, 170, 0.4);
}


.team-info-detailed {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-align: center;
}

.team-info-detailed h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.team-title-large {
    color: #20b2aa;
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.team-details h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
    color: #333;
}

.team-details ul {
    list-style: none;
    margin-bottom: 1rem;
}

.team-details li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.team-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #20b2aa;
    font-weight: bold;
}

.team-philosophy {
    background: rgba(255, 255, 255, 0.3);
    padding: 4rem 0;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.philosophy-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.philosophy-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

/* Service Detail Styles */
.service-detail {
    padding: 4rem 0;
}

.service-detail.alternate {
    background: rgba(255, 255, 255, 0.2);
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail.alternate .service-detail-content {
    grid-template-columns: 1fr 1fr;
}

.service-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.5rem;
    color: #20b2aa;
    margin-top: 0.25rem;
    min-width: 24px;
}

.service-list ul {
    list-style: none;
    margin-top: 1rem;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #20b2aa;
    font-weight: bold;
}

.service-highlight {
    background: rgba(102, 126, 234, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #20b2aa;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-timeline {
    margin-top: 2rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contraception-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.method-category h4 {
    color: #20b2aa;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.method-category ul {
    list-style: none;
}

.method-category li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.method-category li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #20b2aa;
}

.menopause-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card h4 {
    color: #20b2aa;
    margin-bottom: 1rem;
}

.cta-section {
    background: rgba(255, 255, 255, 0.3);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Page Styles */
.about-main {
    padding: 4rem 0;
}

.about-content-detailed {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-intro {
    font-size: 1.2rem;
    color: #20b2aa;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-description-long {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.image-placeholder-main {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    opacity: 0.9;
}

.mission-vision {
    background: rgba(255, 255, 255, 0.3);
    padding: 4rem 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.mission-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.values-section {
    padding: 4rem 0;
}

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

.value-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.practice-features {
    background: rgba(255, 255, 255, 0.2);
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.feature-detail {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-detail-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.feature-detail-content h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.practice-history {
    padding: 4rem 0;
}

.history-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.history-timeline {
    margin-top: 2rem;
}

.timeline-item-detailed {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.timeline-year {
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    min-width: 70px;
    text-align: center;
}

.timeline-event h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.history-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #20b2aa;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.practice-location {
    background: rgba(255, 255, 255, 0.3);
    padding: 4rem 0;
}

.location-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.location-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.location-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #20b2aa;
    font-weight: 500;
}

.address-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.address-actions {
    margin-top: 1.5rem;
}

/* Contact Page Styles */
.contact-detailed {
    padding: 4rem 0;
}

.contact-intro-text {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-grid-detailed {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card-detailed {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.contact-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.contact-icon-large.emergency {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
}

.contact-main-info {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-main-info a {
    color: #20b2aa;
    text-decoration: none;
}

.emergency-text {
    color: #ff4757;
}

.emergency-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff4757;
    margin: 0.5rem 0;
}

/* Contact Video Styling */
.contact-video-container {
    margin: 1rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(32, 178, 170, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-video {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.contact-video:hover {
    transform: scale(1.02);
}

/* Video card icon styling */
.contact-icon-large i.fa-video {
    color: #20b2aa;
}

/* Video-only card styling */
.contact-card-detailed.video-card {
    padding: 0;
    overflow: hidden;
    position: relative;
}

.contact-video-full {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
    display: block;
}

.contact-video-full:hover {
    transform: scale(1.02);
}

.contact-details-extra {
    text-align: left;
    margin-top: 1rem;
}

.contact-details-extra ul {
    list-style: none;
    margin: 0.5rem 0;
}

.contact-details-extra li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.contact-details-extra li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #20b2aa;
}

.appointment-booking {
    background: rgba(255, 255, 255, 0.2);
    padding: 4rem 0;
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.booking-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.booking-benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #20b2aa;
    font-weight: 500;
}

.important-info {
    background: rgba(102, 126, 234, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #20b2aa;
    margin-top: 2rem;
}

.important-info h4 {
    color: #20b2aa;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.important-info ul {
    list-style: none;
}

.important-info li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.important-info li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #20b2aa;
}

.form-container-large {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-container-large h3 {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.radio-group,
.checkbox-group {
    margin-top: 0.5rem;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.radio-custom,
.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #20b2aa;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.checkbox-custom {
    border-radius: 4px;
}

input[type="radio"],
input[type="checkbox"] {
    display: none;
}

input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #20b2aa;
    border-radius: 50%;
}

input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #20b2aa;
    font-weight: bold;
    font-size: 14px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
}

.map-section {
    padding: 4rem 0;
}

.map-container {
    margin-top: 3rem;
}

.map-placeholder {
    height: 400px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    gap: 1rem;
}

.map-placeholder i {
    font-size: 4rem;
    color: #20b2aa;
}

.faq-section {
    background: rgba(255, 255, 255, 0.3);
    padding: 4rem 0;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.05);
}

.faq-question h4 {
    margin: 0;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* Links Page Styles */
.links-section {
    padding: 2rem 0;
}

/* Impressum Page Styles */
.impressum-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.impressum-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.impressum-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 2rem 0 1rem 0;
    color: var(--secondary-color);
}

.impressum-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.impressum-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.impressum-info p {
    margin: 0;
    font-size: 1.1rem;
}

.links-section.alternate {
    background: rgba(255, 255, 255, 0.2);
}

.links-category {
    margin-bottom: 3rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
}

.links-grid .link-card:nth-child(4) {
    grid-column: 2;
}

.link-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    gap: 1.5rem;
}

.link-card:hover {
    transform: translateY(-5px);
}

.link-card.emergency-card {
    border-left: 4px solid #ff4757;
}

.link-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.link-icon.emergency {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
}

.link-content {
    flex: 1;
}

.link-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.link-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #20b2aa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.link-button:hover {
    color: #008b8b;
}

.disclaimer-section {
    background: rgba(255, 200, 200, 0.1);
    padding: 3rem 0;
    border-top: 2px solid rgba(255, 100, 100, 0.2);
}

.disclaimer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-content h3 {
    color: #c0392b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.disclaimer-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Active nav state */
.nav-link.active {
    color: #20b2aa;
}

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

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .page-hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-main {
        grid-column: 1;
        text-align: center;
    }

    .hero-side {
        grid-column: 1;
    }

    .hero-3-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-container.primary {
        grid-column: span 1;
        text-align: center;
        align-items: center;
    }

    .hero-container.primary .hero-icon {
        margin: 0 auto 1.5rem auto;
    }

    .team-grid-detailed {
        gap: 2rem;
    }
    
    .team-card-detailed {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        min-height: auto;
        height: auto;
        padding: 1.5rem;
    }
    
    .team-logo-container {
        width: 180px;
        height: 180px;
        bottom: 9rem;
        right: 1rem;
    }
    
    .team-image-large {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .team-photo-large {
        width: 100%;
        height: auto;
        max-height: 200px;
        object-fit: cover;
    }
    
    .team-placeholder-large {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .team-info-detailed h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .team-title-large {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .team-summary {
        margin-bottom: 1.5rem;
    }
    
    .team-summary p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .cv-btn {
        margin-top: 1rem;
        padding: 10px 16px;
        font-size: 0.9rem;
        width: auto;
        min-width: auto;
    }
    
    .team-hero {
        padding: 100px 0 40px;
    }
    
    .team-hero-content {
        padding: 0 1rem;
    }
    
    .team-hero-content .page-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
     .team-hero-content .page-subtitle {
         font-size: 1rem;
         line-height: 1.5;
     }
     
     .team-hero-logo {
         width: 100px;
         margin: 1.5rem auto 0 auto;
     }

    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail.alternate .service-detail-content {
        grid-template-columns: 1fr;
    }

    .about-content-detailed {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .history-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid-detailed {
        grid-template-columns: 1fr;
    }

    .booking-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .menopause-info {
        grid-template-columns: 1fr;
    }

    .contraception-methods {
        grid-template-columns: 1fr;
    }

    .links-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .links-grid .link-card:nth-child(4) {
        grid-column: 1;
    }

    .video-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-text {
        text-align: center;
    }

    .link-card {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Team Summary Styles */
.team-summary {
    margin: 0.5rem 0 0.3rem 0;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

.team-summary p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.cv-btn {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: auto;
    min-width: auto;
    padding: 12px 20px;
    white-space: nowrap;
    margin-left: auto;
    margin-right: auto;
}

/* CV Modal Styles */
.cv-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.cv-modal.show {
    display: block;
}

.cv-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cv-modal-header {
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cv-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.cv-modal-close {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.cv-modal-close:hover {
    opacity: 0.7;
}

.cv-modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
    line-height: 1.6;
}

.cv-section {
    margin-bottom: 2rem;
}

.cv-section h3 {
    color: #20b2aa;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.cv-section ul {
    list-style: none;
    padding: 0;
}

.cv-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.cv-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #20b2aa;
    font-weight: bold;
}

.cv-experience-item {
    background: rgba(102, 126, 234, 0.05);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid #20b2aa;
}

.cv-experience-item h4 {
    color: #333;
    margin: 0 0 0.5rem 0;
}

.cv-experience-item .cv-period {
    color: #20b2aa;
    font-weight: 600;
    font-size: 0.9rem;
}

.cv-experience-item .cv-company {
    color: #666;
    font-style: italic;
    margin-bottom: 0.5rem;
}

/* Responsive CV Modal */
@media (max-width: 768px) {
    .cv-modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 75vh;
    }
    
    .cv-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .cv-modal-body {
        padding: 1.5rem;
    }
}

/* Work in Progress Popup Styles */
.work-in-progress-popup {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-in-progress-popup.show {
    display: block;
    opacity: 1;
}

.work-in-progress-content {
    background-color: white;
    margin: 20% auto;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.work-in-progress-popup.show .work-in-progress-content {
    transform: scale(1);
}

.work-in-progress-icon {
    font-size: 3rem;
    color: #20b2aa;
    margin-bottom: 1rem;
}

.work-in-progress-content h3 {
    color: #1a1a1a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.work-in-progress-content p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.work-in-progress-close {
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.work-in-progress-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(32, 178, 170, 0.3);
}

/* Responsive Work in Progress Popup */
@media (max-width: 768px) {
    .work-in-progress-content {
        width: 95%;
        margin: 30% auto;
        padding: 1.5rem;
    }
    
    .work-in-progress-icon {
        font-size: 2.5rem;
    }
    
    .work-in-progress-content h3 {
        font-size: 1.3rem;
    }
}

/* Footer Social Media */
.footer-social {
    text-align: center;
    padding: 2rem 0 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.instagram-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-link:active {
    transform: translateY(-1px) scale(1.05);
}

/* Add CSS variables for staggered animations */
.nav-item:nth-child(1) { --item-index: 1; }
.nav-item:nth-child(2) { --item-index: 2; }
.nav-item:nth-child(3) { --item-index: 3; }
.nav-item:nth-child(4) { --item-index: 4; }
.nav-item:nth-child(5) { --item-index: 5; }
.nav-item:nth-child(6) { --item-index: 6; }

/* Legal Information Styles */
.legal-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.legal-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.legal-card:hover {
    transform: translateY(-5px);
}

.legal-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(32, 178, 170, 0.2);
}

.legal-card-header i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.legal-card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.legal-card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-card-content p:last-child {
    margin-bottom: 0;
}

.legal-card-content strong {
    color: #20b2aa;
    font-weight: 600;
}

/* Active legal link style */
.legal-links a.active {
    color: #20b2aa;
    font-weight: 600;
}

/* Responsive Legal Cards */
@media (max-width: 768px) {
    .legal-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .legal-card {
        padding: 1.5rem;
    }
    
    .legal-card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .legal-card-header h3 {
        font-size: 1.1rem;
    }
}

/* Privacy Policy Styles */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-intro {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border-left: 4px solid #20b2aa;
}

.privacy-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.privacy-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.privacy-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(32, 178, 170, 0.2);
}

.privacy-section h3 i {
    color: #20b2aa;
    font-size: 1.2rem;
}

.privacy-content-text {
    color: #666;
    line-height: 1.7;
}

.privacy-content-text p {
    margin-bottom: 1rem;
}

.privacy-content-text strong {
    color: #20b2aa;
    font-weight: 600;
}

.privacy-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.privacy-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.privacy-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #20b2aa;
    font-weight: bold;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.right-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(32, 178, 170, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(32, 178, 170, 0.1);
}

.right-item i {
    color: #20b2aa;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.right-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
}

.right-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    color: white;
    padding: 1.5rem 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 3px solid #20b2aa;
    box-sizing: border-box;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    box-sizing: border-box;
}

.cookie-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cookie-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-text h4 i {
    color: #20b2aa;
}

.cookie-text p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    color: white;
}

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.4);
}

.cookie-btn.customize {
    background: transparent;
    color: #20b2aa;
    border: 2px solid #20b2aa;
}

.cookie-btn.customize:hover {
    background: #20b2aa;
    color: white;
}

.cookie-btn.reject {
    background: transparent;
    color: #999;
    border: 2px solid #555;
}

.cookie-btn.reject:hover {
    background: #555;
    color: white;
}

/* Language Popup */
.language-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 15000;
    justify-content: center;
    align-items: center;
}

.language-popup.show {
    display: flex;
}

.language-popup-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.language-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(32, 178, 170, 0.2);
}

.language-popup-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-popup-header h3 i {
    color: #20b2aa;
}

.language-popup-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.language-popup-close:hover {
    background: rgba(32, 178, 170, 0.1);
    color: #20b2aa;
}

.language-options-popup {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.language-option-popup {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    background: rgba(32, 178, 170, 0.05);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.language-option-popup:hover {
    background: rgba(32, 178, 170, 0.1);
    border-color: rgba(32, 178, 170, 0.3);
    transform: translateX(5px);
}

.language-option-popup.active {
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.15) 0%, rgba(0, 139, 139, 0.15) 100%);
    border-color: #20b2aa;
}

.language-flag {
    font-size: 1.5rem;
}

.language-info {
    flex: 1;
}

.language-name-popup {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.language-native {
    font-size: 0.85rem;
    color: #666;
}

.language-check {
    color: #20b2aa;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.language-option-popup.active .language-check {
    opacity: 1;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 12000;
    justify-content: center;
    align-items: center;
}

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(32, 178, 170, 0.2);
}

.cookie-settings-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(32, 178, 170, 0.05);
    border: 1px solid rgba(32, 178, 170, 0.1);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-category h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    background: #ccc;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-toggle.active {
    background: #20b2aa;
}

.cookie-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-toggle.active::after {
    transform: translateX(24px);
}

.cookie-category p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.cookie-settings-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(32, 178, 170, 0.2);
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .cookie-btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    .language-popup-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .cookie-settings-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .cookie-settings-actions {
        flex-direction: column;
    }
    
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-section {
        padding: 1.5rem;
    }
    
    .privacy-intro {
        padding: 1rem;
    }
}

/* Responsive Instagram Icon */
@media (max-width: 768px) {
    .footer-social {
        padding: 1.5rem 0 0.5rem 0;
    }
    
    .instagram-link {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

/* Responsive Video Background */
@media (max-width: 768px) {
    .hero-video-background video {
        object-position: center;
        min-height: 100dvh;
        min-height: 100svh;
    }
    
    .hero-video-overlay {
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.2) 0%, 
            rgba(0, 0, 0, 0.1) 50%, 
            rgba(0, 0, 0, 0.2) 100%
        );
    }
}

/* Improve video performance on low-end devices */
@media (max-width: 480px) {
    .hero-video-overlay {
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.3) 0%, 
            rgba(0, 0, 0, 0.2) 50%, 
            rgba(0, 0, 0, 0.3) 100%
        );
    }
}

/* Booking Page Styles */
.booking-content-simple {
    max-width: 800px;
    margin: 0 auto;
}

.form-intro {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-info-simple {
    background: rgba(255, 255, 255, 0.3);
    padding: 4rem 0;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-option {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-5px);
}

.contact-option h3 {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem 0;
}

.contact-option p {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-option a {
    color: #20b2aa;
    text-decoration: none;
}

.contact-option small {
    color: #666;
    font-size: 0.9rem;
}

/* Gradient Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* News Button Styles */
.hero-news-button {
    position: absolute;
    top: 20%;
    right: 1%;
    transform: translateY(-50%);
    z-index: 10;
}

/* Desktop News Button - show only on desktop */
.desktop-news-button {
    display: block;
}

/* Mobile News Button - hide on desktop, show on mobile */
.mobile-news-button {
    display: none;
}

@media (max-width: 768px) {
    /* Hide desktop news button on mobile */
    .desktop-news-button {
        display: none;
    }
    
    /* Hide mobile news button in hero (only show in header menu) */
    .mobile-news-button {
        display: none !important;
    }
}

.news-btn {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.3);
    animation: newsButtonFloat 3s ease-in-out infinite;
}

.news-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.news-btn-content {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 50%, #ff6b6b 100%);
    padding: 14px 18px; /* 30% smaller on desktop */
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px; /* 30% smaller */
    position: relative;
    overflow: hidden;
}

.news-btn-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.news-btn:hover .news-btn-content::before {
    opacity: 1;
    animation: shimmer 1.5s ease-out;
}

.news-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 32px; /* 30% smaller */
    height: 32px; /* 30% smaller */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
    position: relative;
}

.news-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: white;
    flex: 1;
}

.news-label {
    font-weight: 700;
    font-size: 12px; /* 30% smaller */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-subtitle {
    font-size: 9px; /* slightly smaller */
    opacity: 0.9;
    font-weight: 500;
}

.news-pulse {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 15px;
    height: 15px;
    background: #ffff00;
    border-radius: 50%;
    animation: newsPulse 2s infinite;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.6);
}

/* Animations */
@keyframes newsButtonFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes newsPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Responsive News Button */
@media (max-width: 1200px) {
    .hero-news-button {
        right: 0.5%;
        top: 15%;
    }
    
    .news-btn-content {
        min-width: 180px;
        padding: 18px 20px;
    }
    
    .news-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .news-label {
        font-size: 15px;
    }
    
    .news-subtitle {
        font-size: 11px;
    }
}

/* Desktop News Button: square, smaller, fixed to top-right of hero */
@media (min-width: 769px) {
    .hero-news-button {
        position: fixed;
        top: 110px; /* 20px lower than before */
        right: 20px;
        transform: none;
        z-index: 1000;
    }
    .desktop-news-button .news-btn {
        border-radius: 0;
        transform: scale(0.8);
        transform-origin: top right;
    }
    .desktop-news-button .news-btn-content {
        border-radius: 0;
    }
    .desktop-news-button .news-btn:hover {
        transform: translateY(-8px) scale(0.8);
    }
}

@media (max-width: 768px) {
    /* Mobile news button styling - use desktop colors and effects */
    .mobile-news-button .news-btn {
        animation: none; /* Remove floating animation on mobile */
        border-radius: 20px;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        cursor: pointer;
        box-shadow: 0 8px 30px rgba(255, 107, 107, 0.3);
        display: inline-block;
    }
    
    .mobile-news-button .news-btn:hover {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
    }
    
    .mobile-news-button .news-btn-content {
        /* Use desktop gradient background and styling */
        background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 50%, #ff6b6b 100%);
        padding: 14px 16px; /* Keep mobile size padding */
        display: flex;
        align-items: center;
        gap: 0.8rem; /* Keep mobile gap for better fit */
        position: relative;
        overflow: hidden;
        border-radius: 20px;
        min-width: auto;
        max-width: none;
        margin: 0;
    }
    
    .mobile-news-button .news-btn-content::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transform: rotate(45deg);
        transition: all 0.6s;
        opacity: 0;
    }
    
    .mobile-news-button .news-btn:hover .news-btn-content::before {
        opacity: 1;
        animation: shimmer 1.5s ease-out;
    }
    
    .mobile-news-button .news-icon {
        background: rgba(255, 255, 255, 0.2);
        width: 35px; /* Slightly smaller for mobile */
        height: 35px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        color: white;
        flex-shrink: 0;
        position: relative;
    }
    
    .mobile-news-button .news-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
        color: white;
        flex: 1;
    }
    
    .mobile-news-button .news-label {
        font-weight: 700;
        font-size: 14px; /* Slightly smaller for mobile */
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .mobile-news-button .news-subtitle {
        font-size: 10px; /* Smaller for mobile */
        opacity: 0.9;
        font-weight: 500;
    }
    
    .mobile-news-button .news-pulse {
        display: none; /* Hide pulse on mobile for cleaner look */
    }
}

@media (max-width: 480px) {
    .mobile-news-button {
        margin-top: 0;
    }
    
    .mobile-news-button .news-btn-content {
        padding: 12px 14px; /* Slightly smaller padding for very small screens */
        gap: 0.6rem;
    }
    
    .mobile-news-button .news-icon {
        width: 30px; /* Smaller icon for very small screens */
        height: 30px;
        font-size: 12px;
    }
    
    .mobile-news-button .news-label {
        font-size: 12px; /* Smaller text for very small screens */
        font-weight: 700;
    }
    
    .mobile-news-button .news-subtitle {
        font-size: 9px;
        opacity: 0.9;
        font-weight: 500;
    }
}

/* Service Modal Styles */
.service-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.service-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #20b2aa;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.service-section {
    margin-bottom: 2rem;
}

.service-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #20b2aa;
}

.service-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.service-section li::before {
    content: "•";
    color: #20b2aa;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-section li:last-child {
    margin-bottom: 0;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .service-section h3 {
        font-size: 1.2rem;
    }
}

/* News Page Styles */
.news-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.1);
}

.featured-news {
    margin-bottom: 4rem;
}

.featured-news-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 400px;
}

.featured-news-image {
    position: relative;
    overflow: hidden;
}

.featured-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.featured-news-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.news-category {
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-news-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.featured-news-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-news-meta i {
    color: #20b2aa;
}

.featured-news-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.3;
}

.featured-news-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.featured-news-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.featured-news-actions {
    margin-top: auto;
}

.news-archive {
    margin-top: 4rem;
}

.news-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #20b2aa;
    background: transparent;
    color: #20b2aa;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.news-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.news-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-card-meta i {
    color: #20b2aa;
    font-size: 0.8rem;
}

.news-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    line-height: 1.3;
}

.news-card-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.news-card-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-card-actions {
    margin-top: auto;
}

.news-card-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.news-tag {
    background: rgba(32, 178, 170, 0.1);
    color: #20b2aa;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.newsletter-section {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.3) 0%, rgba(255, 192, 203, 0.3) 100%);
    padding: 4rem 0;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.newsletter-signup {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.newsletter-signup .form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-signup input {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(32, 178, 170, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-signup input:focus {
    outline: none;
    border-color: #20b2aa;
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.1);
}

.newsletter-signup .btn {
    white-space: nowrap;
    padding: 1rem 1.5rem;
}

.newsletter-disclaimer {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-disclaimer i {
    color: #20b2aa;
}

/* News placeholders and errors */
.news-placeholder,
.news-error {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.news-placeholder-icon,
.news-error-icon {
    font-size: 3rem;
    color: #20b2aa;
    margin-bottom: 1rem;
}

.news-placeholder h3,
.news-error h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.news-placeholder p,
.news-error p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-news-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .featured-news-image {
        height: 250px;
    }
    
    .featured-news-content {
        padding: 1.5rem;
    }
    
    .featured-news-title {
        font-size: 1.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-card-image {
        height: 180px;
    }
    
    .news-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .filter-btn {
        flex-shrink: 0;
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-signup .form-group {
        flex-direction: column;
    }
    
    .newsletter-signup .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .featured-news-content {
        padding: 1rem;
    }
    
    .news-card-content {
        padding: 1rem;
    }
    
    .newsletter-signup {
        padding: 1.5rem;
    }
}

/* News Popup */
.news-popup {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.news-popup-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin: 15% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: popupSlideIn 0.3s ease-out;
}

.news-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1rem 2rem;
    border-bottom: 1px solid rgba(32, 178, 170, 0.2);
}

.news-popup-header h3 {
    margin: 0;
    color: #20b2aa;
    font-size: 1.5rem;
    font-weight: 600;
}

.news-popup-close {
    font-size: 2rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.news-popup-close:hover {
    color: #20b2aa;
}

.news-popup-body {
    padding: 1.5rem 2rem 2rem 2rem;
}

.news-popup-body p {
    margin: 0 0 1rem 0;
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.news-popup-body p:last-child {
    margin-bottom: 0;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Team mini logo under subtitle */
.team-mini-logo {
    width: 80px;
    height: auto;
    margin: 8px auto 0 auto;
    display: block;
    opacity: 0.9;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}

@media (max-width: 768px) {
    .team-mini-logo {
        width: 70px;
    }
}

/* Kathrin's image blur effect around edges */
img[src*="WhatsApp Image 2025-09-17 at 14.59.58 copy.jpg"] {
    position: relative;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

img[src*="WhatsApp Image 2025-09-17 at 14.59.58 copy.jpg"]:hover {
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.5));
    transform: scale(1.02);
}

/* No News State Styles */
.no-news-container {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 600px;
}

.no-news-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.no-news-container h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.no-news-container p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* News Page Styles */
.news-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.featured-news-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.news-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 500;
}

.news-date, .news-author {
    display: flex;
    align-items: center;
}

.news-title {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    line-height: 1.2;
}

.news-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 0 0 1rem 0;
    font-weight: 400;
}

.news-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    background: #f8f9fa;
    color: #495057;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    align-self: flex-start;
}

.news-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.news-read-more i {
    transition: transform 0.3s ease;
}

.news-read-more:hover i {
    transform: translateX(3px);
}

/* News Grid Section */
.news-grid-section {
    padding: 4rem 0;
    background: white;
}

.news-filter-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    background: #f8f9fa;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: #495057;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #666;
}

.news-card-title {
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
    color: #2c3e50;
    line-height: 1.3;
}

.news-card-excerpt {
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.news-card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.news-card-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.news-load-more {
    text-align: center;
}

/* News Detail Page */
.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #20b2aa;
}

.breadcrumb-separator {
    color: #999;
}

.breadcrumb-current {
    color: #333;
    font-weight: 500;
}

.news-detail-section {
    padding: 2rem 0;
}

.news-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.news-back {
    margin-bottom: 2rem;
}

.news-detail-article {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.news-detail-header {
    margin-bottom: 2rem;
}

.news-detail-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
    flex-wrap: wrap;
}

.news-detail-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-detail-meta i {
    color: #20b2aa;
    font-size: 0.8rem;
}

.news-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.news-detail-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.news-detail-image {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-detail-image:hover img {
    transform: scale(1.02);
}

.news-detail-content {
    line-height: 1.8;
}

.news-detail-excerpt {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(32, 178, 170, 0.05);
    border-radius: 10px;
    border-left: 4px solid #20b2aa;
}

.news-detail-body {
    margin-bottom: 2rem;
}

.news-detail-body h1,
.news-detail-body h2,
.news-detail-body h3 {
    color: #333;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.news-detail-body h1 {
    font-size: 2rem;
}

.news-detail-body h2 {
    font-size: 1.5rem;
}

.news-detail-body h3 {
    font-size: 1.3rem;
}

.news-detail-body p {
    margin-bottom: 1.5rem;
    color: #555;
}

.news-detail-body ul,
.news-detail-body ol {
    margin: 1rem 0 1.5rem 2rem;
    color: #555;
}

.news-detail-body li {
    margin-bottom: 0.5rem;
}

.news-detail-body strong {
    color: #333;
    font-weight: 600;
}

.news-detail-tags {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.news-detail-tags h4 {
    margin-bottom: 1rem;
    color: #333;
}

.tags-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.news-detail-share {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.news-detail-share h4 {
    margin-bottom: 1rem;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.copy {
    background: #6c757d;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Related Articles */
.related-articles {
    margin: 3rem 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.related-article-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.related-article-image {
    position: relative;
    height: 150px;
    overflow: hidden;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.related-article-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.related-article-content {
    padding: 1.5rem;
}

.related-article-meta {
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #666;
}

.related-article-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    line-height: 1.3;
}

.related-article-excerpt {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.no-related-articles {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Enhanced News Filters */
.news-filters {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: rgba(32, 178, 170, 0.1);
    border-color: rgba(32, 178, 170, 0.3);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(32, 178, 170, 0.3);
}

/* Load More Button */
.news-load-more {
    text-align: center;
    margin: 3rem 0;
}

.load-more-btn {
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 1rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(32, 178, 170, 0.3);
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(32, 178, 170, 0.4);
}

/* Placeholder and Loading Styles */
.featured-news-placeholder,
.news-grid-placeholder {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #FFB6C1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Image Fit Styles */
.news-card-image img,
.featured-news-card .news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
}

.featured-news-card .news-image img {
    height: 300px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-success {
    border-left: 4px solid #28a745;
}

.notification-error {
    border-left: 4px solid #dc3545;
}

.notification-info {
    border-left: 4px solid #17a2b8;
}

.notification-success i {
    color: #28a745;
}

.notification-error i {
    color: #dc3545;
}

.notification-info i {
    color: #17a2b8;
}

/* Loading States */
.news-loading {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.loading-spinner {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #20b2aa;
}

.news-error {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.news-error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-detail-title {
        font-size: 2rem;
    }
    
    .news-detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .news-detail-image img {
        height: 250px;
    }
    
    .news-detail-article {
        padding: 1.5rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .news-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .notification {
        right: 1rem;
        left: 1rem;
        transform: translateY(-100%);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

/* News Modal */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 2rem;
}

.news-modal-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.news-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.news-modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    color: #2c3e50;
}

.news-modal-close {
    background: #f8f9fa;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-modal-close:hover {
    background-color: #e9ecef;
    color: #2c3e50;
    transform: rotate(90deg);
}

.news-modal-body {
    line-height: 1.7;
    color: #555;
}

.news-modal-body h1,
.news-modal-body h2,
.news-modal-body h3 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.news-modal-body h1 {
    font-size: 2rem;
    margin-top: 0;
}

.news-modal-body h2 {
    font-size: 1.5rem;
}

.news-modal-body h3 {
    font-size: 1.2rem;
}

.news-modal-body ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.news-modal-body li {
    margin-bottom: 0.5rem;
}

.news-modal-body strong {
    color: #2c3e50;
}

.news-modal-body hr {
    border: none;
    border-top: 2px solid #f8f9fa;
    margin: 2rem 0;
}

/* Content Types Styles */
.content-type-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.content-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Photo Card Styles */
.photo-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.photo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.photo-card-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.photo-card-content {
    padding: 1.5rem;
}

.photo-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #666;
}

.photo-card-title {
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
    color: #2c3e50;
    line-height: 1.3;
}

.photo-card-excerpt {
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.photo-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.photo-card-view {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.photo-card-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Video Card Styles */
.video-card-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #000;
}

.video-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.video-card:hover .video-play-overlay {
    background: rgba(102, 126, 234, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
}

.video-card-content {
    padding: 1.5rem;
}

.video-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #666;
}

.video-card-title {
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
    color: #2c3e50;
    line-height: 1.3;
}

.video-card-excerpt {
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.video-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.video-card-play {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.video-card-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* Link Card Styles */
.link-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.link-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.link-card-content {
    flex: 1;
}

.link-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: #666;
    align-items: center;
}

.emergency-badge {
    background: #e74c3c;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.link-card-title {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    line-height: 1.3;
}

.link-card-description {
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.link-card-visit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.link-card-visit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 178, 170, 0.4);
}

/* Photo Gallery Styles */
.photo-gallery {
    margin-top: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.photo-caption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* Video Player Styles */
.video-player {
    margin-top: 1rem;
}

.video-player iframe {
    border-radius: 10px;
}

/* Responsive Design for All Content */
@media (max-width: 768px) {
    .featured-news-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .news-image {
        order: -1;
    }
    
    .news-title {
        font-size: 1.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .content-type-tabs {
        gap: 0.5rem;
    }
    
    .filter-tab {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .news-modal {
        padding: 1rem;
    }
    
    .news-modal-content {
        padding: 1.5rem;
    }
    
    .news-modal-header h2 {
        font-size: 1.4rem;
    }
    
    .link-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact page: top grid and cross layout */
.contact-cross-top {
    padding: 2rem 0 0;
}

.contact-cross-grid-top {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 400px) 1fr;
    gap: 2rem;
    align-items: center;
}

/* Grid positioning for contact cards */
.contact-video {
    grid-column: 2; /* Only middle column */
    grid-row: 1;
    padding: 0;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-phone {
    grid-column: 1;
    grid-row: 2;
}

.contact-email {
    grid-column: 2;
    grid-row: 2;
}

.contact-emergency {
    grid-column: 3;
    grid-row: 2;
}

.contact-address {
    grid-column: 1 / 4; /* Spans all 3 columns on bottom row */
    grid-row: 3;
}

.contact-video .contact-video-full {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    min-height: 350px;
}

.contact-top-left .section-title,
.contact-top-right .section-subtitle {
    margin: 0;
}

.contact-top-video .contact-video-full {
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(32, 178, 170, 0.2);
}

.contact-top-video.contact-card-detailed {
    padding: 0;
}

.contact-grid-detailed {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-phone { grid-column: 1; grid-row: 2; }
.contact-email { grid-column: 2; grid-row: 2; }
.contact-emergency { grid-column: 2; grid-row: 3; }
.contact-address { grid-column: 3; grid-row: 2; }

@media (max-width: 768px) {
    .contact-grid-detailed {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        max-width: 100%;
    }
    
    .contact-video,
    .contact-phone,
    .contact-email,
    .contact-emergency,
    .contact-address {
        grid-column: 1;
        grid-row: auto;
    }
    
    .contact-intro-text {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
}
