/**
 * DKSB Euskirchen - Homepage Styles
 * Professionell, Warm & Kinderfreundlich - 100% Corporate Design
 */

/* ============================================
   HERO SLIDER
   ============================================ */

.hero-slider {
    position: relative;
    min-height: 500px;
    height: 60vh;
    max-height: 650px;
    overflow: hidden;
    /* Fallback-Gradient - immer sichtbar als Hintergrund */
    background: linear-gradient(135deg, #0064ad 0%, #1159af 100%);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
}

/* Erstes Bild mit sanftem Fade-in */
.hero-slide.active {
    opacity: 1;
    z-index: 2;
    animation: heroFadeIn 0.8s ease-out;
}

@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Transition nur nach Slider-Initialisierung (für sanfte Übergänge) */
.hero-slider.slider-ready .hero-slide {
    transition: opacity 1s ease-in-out;
    animation: none;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* Falls kein Bild: Fallback-Hintergrund im Slide */
.hero-slide:empty,
.hero-slide > div[style*="background"] {
    background: linear-gradient(135deg, #0064ad 0%, #1159af 100%);
}

/* Warmer Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 100, 173, 0.85) 0%,
        rgba(236, 124, 50, 0.75) 100%
    );
    z-index: 3;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 4;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    color: white;
}

/* Hero Tagline - "Wir machen Kinder stark!" */
.hero-tagline {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 10px;
    animation: fadeInUp 0.6s ease;
    background: rgba(236, 124, 50, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-block;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 500;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-content .subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-content .cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.slider-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* Arrow Navigation */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    opacity: 0;
}

.hero-slider:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 3;
}

/* ============================================
   WILLKOMMENS-BLOCK
   ============================================ */

.welcome-section {
    background: linear-gradient(180deg, #fff 0%, #fef6f2 100%); /* Sanfter Übergang zu hellem Rosa */
    padding: 60px 20px;
    text-align: center;
}

.welcome-section .container {
    max-width: 800px;
}

.welcome-section h2 {
    font-size: 35px;
    color: #222222;
    margin-bottom: 20px;
}

.welcome-section p {
    font-size: 19px;
    color: #555e68;
    line-height: 1.7;
}

/* ============================================
   SERVICE CARDS ENHANCED
   ============================================ */

.services-section {
    padding: 80px 20px;
    background: white;
}

.services-section h2 {
    text-align: center;
    font-size: 39px;
    color: #222222;
    margin-bottom: 50px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border: 2px solid #e9e9eb;
    border-radius: 0px; /* Rechteckig - CD */
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0px 15px 15px -10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 100, 173, 0.15);
    border-color: #ec7c32; /* Orange on hover */
}

.service-card svg {
    width: 100px;
    height: 100px;
    color: #0064ad;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover svg {
    transform: scale(1.1);
    color: #ec7c32;
}

.service-card h3 {
    font-size: 25px;
    color: #0064ad;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #ec7c32;
}

.service-card p {
    color: #555e68;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ============================================
   ÜBER UNS SECTION
   ============================================ */

.about-section {
    padding: 80px 20px;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 100, 173, 0.15);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}


.about-content h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
}

.about-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    margin-top: 15px;
    border-radius: 2px;
}

.about-lead {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-content p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.about-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 500;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 18px;
}

.about-content .btn {
    margin-top: 10px;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .about-section {
        padding: 60px 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image::before {
        display: none;
    }

    .about-image {
        height: 450px;
        min-height: auto;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .about-lead {
        font-size: 18px;
    }
}

/* ============================================
   TEAMS SECTION - Logo Puzzle Grid
   ============================================ */

.teams-section {
    padding: 80px 20px;
    background: #fff;
}

.teams-section h2 {
    text-align: center;
    font-size: 39px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.teams-intro {
    text-align: center;
    font-size: 19px;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Puzzle-Logo (Gesamtbild, klickbar) */
.teams-puzzle-image {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    display: inline-block;
}

.teams-section .container {
    text-align: center;
}

.teams-puzzle-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.puzzle-link {
    position: absolute;
    width: 50%;
    height: 50%;
    z-index: 2;
    transition: background 0.2s ease;
}

.puzzle-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.puzzle-tl { top: 0; left: 0; }
.puzzle-tr { top: 0; right: 0; }
.puzzle-bl { bottom: 0; left: 0; }
.puzzle-br { bottom: 0; right: 0; }

/* Responsive: Mobile */
@media (max-width: 768px) {
    .teams-section {
        padding: 60px 20px;
    }

    .teams-section h2 {
        font-size: 30px;
    }

    .teams-intro {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .teams-puzzle-image {
        max-width: 100%;
    }
}

/* ============================================
   STATISTIK-BLOCK mit Parallax
   ============================================ */

.stats-section {
    position: relative;
    padding: 100px 20px;
    color: white;
    overflow: hidden;
}

/* Parallax Hintergrundbild */
.stats-parallax .stats-bg-image {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: calc(100% + 100px);
    /* background-image wird inline via PHP gesetzt für lokale/Unsplash-Fallback */
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
    z-index: 1;
}

/* Dunkles Overlay für bessere Lesbarkeit */
.stats-parallax .stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 100, 173, 0.8);
    z-index: 2;
}

.stats-section .container {
    position: relative;
    z-index: 3;
}

.stats-section h2 {
    text-align: center;
    font-size: 39px;
    color: white;
    margin-bottom: 50px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    font-family: 'Blogger Sans', sans-serif;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Fallback für Mobile (kein fixed attachment) */
@media (max-width: 768px) {
    .stats-parallax .stats-bg-image {
        background-attachment: scroll;
        top: 0;
        height: 100%;
    }
}

/* ============================================
   KARRIERE-BANNER SECTION
   ============================================ */

.karriere-banner {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0064ad 0%, #004a82 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.karriere-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(236, 124, 50, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.karriere-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.karriere-badge {
    display: inline-block;
    background: var(--primary-orange);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.karriere-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.25;
}

.karriere-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.92;
    margin-bottom: 1.5rem;
}

.karriere-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

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

.karriere-feature svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--primary-orange);
    margin-top: 2px;
}

.karriere-feature strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

.karriere-feature span {
    font-size: 0.9rem;
    opacity: 0.85;
}

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

.btn-karriere {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: var(--primary-orange);
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-karriere:hover {
    background: #d86a1f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 124, 50, 0.4);
}

.btn-karriere-outline {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: transparent;
    color: white !important;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-karriere-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Urgency Card */
.karriere-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.karriere-urgency-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.urgency-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary-orange);
    color: white;
    border-radius: 50%;
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.urgency-icon svg {
    stroke: white;
    width: 32px;
    height: 32px;
}

.karriere-urgency-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: white;
}

.karriere-urgency-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Karriere-Banner Responsive */
@media (max-width: 768px) {
    .karriere-banner {
        padding: 50px 20px;
    }

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

    .karriere-banner h2 {
        font-size: 1.6rem;
    }

    .karriere-buttons {
        flex-direction: column;
    }

    .btn-karriere,
    .btn-karriere-outline {
        text-align: center;
        justify-content: center;
    }

    .karriere-urgency-card {
        padding: 1.5rem;
    }
}

/* ============================================
   MITGLIED WERDEN & SPENDEN SECTION
   ============================================ */

.support-section {
    padding: 80px 20px;
    background: #fefcfa;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.support-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(236, 124, 50, 0.2);
}

.support-image::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-orange);
    border-radius: 12px;
    z-index: -1;
    opacity: 0.4;
}

.support-image img {
    width: 100%;
    height: auto;
    display: block;
}

.support-content h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.support-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    margin-top: 15px;
    border-radius: 2px;
}

.support-lead {
    font-size: 20px;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.5;
}

.support-content p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 15px;
}

.support-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .support-section {
        padding: 60px 20px;
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .support-image::after {
        display: none;
    }

    .support-content h2 {
        font-size: 28px;
    }

    .support-lead {
        font-size: 18px;
    }

    .support-buttons {
        flex-direction: column;
    }

    .support-buttons .btn {
        text-align: center;
    }
}

/* ============================================
   NEWS SECTION
   ============================================ */

.news-section {
    background: #f8f9fa;
    padding: 80px 20px;
}

.news-section h2 {
    text-align: center;
    font-size: 39px;
    color: #222222;
    margin-bottom: 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.news-card {
    background: white;
    border-radius: 0px; /* Rechteckig - CD */
    overflow: hidden;
    box-shadow: 0px 15px 15px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.news-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

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

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

/* Placeholder wenn kein Bild vorhanden */
.news-card-image.no-image {
    background: linear-gradient(135deg, #0064ad 0%, #1159af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-image.no-image::after {
    content: '';
    width: 80px;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z' /%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.4;
}

/* Placeholder div für dynamische News */
.news-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0064ad 0%, #1159af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    opacity: 0.7;
}

.news-card-content {
    padding: 30px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.news-group-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-date {
    color: #ec7c32; /* Orange */
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-empty {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1rem;
}

.news-card h3 {
    font-size: 25px;
    color: #222222;
    margin-bottom: 15px;
}

.news-card p {
    color: #555e68;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ============================================
   CTA BLOCK
   ============================================ */

.cta-section {
    background: #ec7c32; /* Orange */
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 39px;
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons-white .btn {
    background: white;
    color: #ec7c32;
}

.cta-buttons-white .btn:hover {
    background: #0064ad;
    color: white;
    transform: translateY(-3px);
}

/* ============================================
   KARTE/KONTAKT SECTION
   ============================================ */

.contact-section {
    padding: 80px 20px;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.map-container {
    height: 400px;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0px 15px 15px -10px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background: #f5f7f9;
    padding: 40px;
    border-radius: 0px;
}

.contact-info h3 {
    font-size: 25px;
    color: #222222;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #555e68;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: #0064ad;
    flex-shrink: 0;
}

/* ============================================
   RESPONSIVE - Mobile & Tablet
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-slider {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content .subtitle {
        font-size: 18px;
    }

    .service-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Mobile */
@media (max-width: 768px) {
    .hero-slider {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content .subtitle {
        font-size: 16px;
    }

    .hero-content .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-content .btn {
        width: 100%;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .welcome-section {
        padding: 40px 20px;
    }

    .welcome-section h2 {
        font-size: 28px;
    }

    .services-section {
        padding: 60px 20px;
    }

    .services-section h2 {
        font-size: 30px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-card svg {
        width: 80px;
        height: 80px;
    }

    .stats-section {
        padding: 60px 20px;
    }

    .stats-section h2 {
        font-size: 30px;
    }

    .stat-number {
        font-size: 42px;
    }

    .news-section {
        padding: 60px 20px;
    }

    .news-section h2 {
        font-size: 30px;
    }

    .news-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .news-grid::-webkit-scrollbar {
        display: none;
    }

    .news-card {
        min-width: 72vw;
        max-width: 300px;
        flex-shrink: 0;
        scroll-snap-align: start;
        display: flex;
        flex-direction: column;
    }

    .news-card-image {
        width: 100%;
        aspect-ratio: 16 / 10;
        height: auto;
        min-width: auto;
    }

    .news-card-content {
        padding: 14px 16px;
        flex: 1;
        min-width: 0;
    }

    .news-card h3 {
        font-size: 16px;
        margin-bottom: 6px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-card p {
        font-size: 13px;
        margin-bottom: 8px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-meta {
        margin-bottom: 6px;
        gap: 6px;
    }

    .news-group-badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    .news-date {
        font-size: 12px;
    }

    .news-card .btn-link {
        font-size: 13px;
    }

    .news-card:hover {
        transform: none;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .cta-section h2 {
        font-size: 30px;
    }

    .contact-section {
        padding: 60px 20px;
    }

    .map-container {
        height: 300px;
    }

    .contact-info {
        padding: 30px 20px;
    }
}
