/* Language Mini Intro at top */
/* Language Info in Hero Section */
.hero-language-info {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-family: 'Fira Mono', monospace;
    font-size: 1.01rem;
    color: #27e0d9;;
    margin-top: 0.2em;
    margin-bottom: 0.7em;
    background: none;
    position: relative;
    z-index: 2;
}
.hero-language-info .flag {
    display: inline-block;
    width: 1.25em;
    height: 1.25em;
    vertical-align: middle;
    margin-left: 0.15em;
    margin-right: 0.05em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.flag-gb {
    background-image: url('https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/6.6.6/flags/4x3/gb.svg');
}
.flag-de {
    background-image: url('https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/6.6.6/flags/4x3/de.svg');
}
/* Data GIF at bottom */
.data-gif-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 48px 0 0 0;
    padding-bottom: 24px;
    background: #000;
}
.data-gif {
    max-width: 420px;
    width: 90vw;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
    background: #000;
    display: block;
}
/* --- Contact Section Improvements --- */
.contact {
    background: #181f24;
    padding: 60px 0 40px 0;
}
.contact-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
}
.contact-info {
    flex: 1 1 320px;
    background: rgba(30, 40, 50, 0.97);
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
    padding: 36px 32px 32px 32px;
    color: #e6f9f0;
    min-width: 300px;
    max-width: 400px;
    margin-bottom: 24px;
}
.contact-info h2 {
    color: #fcfcfc;
    font-size: 2rem;
    margin-bottom: 18px;
    text-align: left;
}
.contact-info p {
    font-size: 1.08em;
    margin-bottom: 18px;
    color: #ffffff;
}
.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-info li {
    margin-bottom: 12px;
    font-size: 1.08em;
}
.contact-info a {
    color: #27e0d9;
    text-decoration: none;
    transition: color 0.15s;
}
.contact-info a:hover {
    color: #fff;
    text-decoration: underline;
}
.contact-form {
    flex: 1 1 340px;
    background: rgba(30, 40, 50, 0.97);
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
    padding: 36px 32px 32px 32px;
    min-width: 320px;
    max-width: 420px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.form-title {
    color: #ffa76f;
    font-size: 1.18em;
    font-family: 'Fira Mono', monospace;
    margin-bottom: 18px;
    text-align: center;
}
.contact-form form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-form input,
.contact-form textarea {
    background: #232c33;
    border: 1.5px solid #ffa76f;
    border-radius: 8px;
    color: #e6f9f0;
    font-size: 1em;
    padding: 12px 14px;
    font-family: 'Open Sans', sans-serif;
    transition: border 0.15s, box-shadow 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border: 1.5px solid #fff;
    box-shadow: 0 0 0 2px #ffa76f;
}
.contact-form textarea {
    min-height: 90px;
    resize: vertical;
}
.contact-form .btn-primary {
    background: linear-gradient(90deg, #ffa76f 0%, #3c2b1a 100%);
    color: #181f24;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    padding: 14px 0;
    margin-top: 6px;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(127,255,167,0.10);
    transition: background 0.18s, color 0.18s, transform 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.contact-form .btn-primary:hover {
    background: linear-gradient(90deg, #3c2b1a 0%, #ffa76f 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.03);
}
/* --- Services Section Styling --- */
.services {
    padding: 60px 0 40px 0;
    background: #151b20;
}
.services .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.services h2 {
    color: #ffa76f;
    font-size: 2.2rem;
    margin-bottom: 36px;
    letter-spacing: 1px;
    text-align: center;
}
    .services-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
        max-width: 1100px;
        margin: 0 auto;
    }
.service-card {
    background: rgba(30, 40, 50, 0.97);
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
    padding: 32px 36px 28px 36px;
    font-size: 1.08rem;
    color: #e6f9f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 260px;
    max-width: 320px;
    transition: transform 0.18s, box-shadow 0.18s;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
}
.service-card i {
    font-size: 2.1em;
    color: #ffa76f;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 2px #3c2b1a);
}
.service-card h3 {
    margin: 0 0 12px 0;
    font-size: 1.18em;
    color: #ffa76f;
    font-family: 'Fira Mono', monospace;
    font-weight: 700;
}
.service-card p {
    color: #e6f9f0;
    font-size: 1em;
    margin: 0;
}
.service-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 6px 32px 0 rgba(127,255,167,0.13);
}
/* --- Technologies Section Improvements --- */
.skills {
    padding: 60px 0 40px 0;
    background: #181f24;
}
.skills .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.skills h2 {
    color: #ffa76f;
    font-size: 2.2rem;
    margin-bottom: 36px;
    letter-spacing: 1px;
    text-align: center;
}
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    max-width: 900px;
    margin: 0 auto;
}
.skill-card {
    background: rgba(30, 40, 50, 0.95);
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
    padding: 22px 36px;
    font-size: 1.18rem;
    color: #e6f9f0;
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Fira Mono', monospace;
    font-weight: 600;
    transition: transform 0.18s, box-shadow 0.18s;
    min-width: 180px;
    justify-content: center;
}
.skill-card i, .skill-card .trino-bunny {
    font-size: 1.5em;
    color: #ffa76f;
    filter: drop-shadow(0 0 2px #3c2b1a);
}
.skill-card .trino-bunny {
    filter: brightness(0) saturate(100%) invert(82%) sepia(72%) saturate(4068%) hue-rotate(152deg) brightness(95%) contrast(101%) drop-shadow(0 0 2px rgba(39, 224, 217, 0.3));
}
.skill-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 6px 32px 0 rgba(127,255,167,0.13);
}
/* Hero Banner Layout */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 80vh;
    height: auto;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-bottom: none !important;
    box-shadow: none !important;
    background: #181f24 !important;
}
.hero-banner > .hero-text {
    position: absolute;
    z-index: 2;
    left: 3vw;
    top: 60px;
    max-width: 480px;
}

/* removed stray bracket */
.hero-bg-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: #181f24 !important;
    overflow: hidden;
}
.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
    filter: brightness(0.7);
    z-index: 1;
}
.hero-bg-slide.active {
    opacity: 1;
    z-index: 1;
}
.hero-left {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    padding: 40px 3vw 40px 6vw;
    background: rgba(24,28,36,0.85);
    min-width: 350px;
    max-width: 500px;
    box-shadow: 8px 0 32px 0 rgba(0,0,0,0.10);
}
.hero-image-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1.2em;
    width: 100%;
}
.hero-image-top img {
    width: min(340px, 80vw);
    height: min(340px, 80vw);
    object-fit: cover;
    border-radius: 50%;
    border: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.22);
    margin-bottom: 1.2em;
}
.hero-text h1 {
    font-size: 2.1rem;
    color: #fff;
    margin-bottom: 0.2em;
}
.hero-text h2 {
    font-size: 1.2rem;
    color: #ff9e54;
    margin-bottom: 0.7em;
}
.hero-text p {
    color: #e0e0e0;
    font-size: 1.05rem;
    margin-bottom: 4em;
    max-width: 320px;
}
.btn-primary {
    background: #27e0d9;
    color: #23272f;
    padding: 0.7em 2em;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-primary:hover {
    background: #5bbf3a;
    color: #fff;
}
@media (max-width: 900px) {
    .hero {
        background: linear-gradient(135deg, #181f24 0%, #1a2128 50%, #1e252d 100%);
        padding: 80px 0 0 0;
        min-height: 100vh;
    }
    
    .hero-banner {
        min-height: 100vh;
        height: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px 0;
        background: transparent;
        position: relative;
    }
    
    .hero-bg-slideshow {
        display: none;
    }
    
    .hero-banner > .hero-text {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: 480px;
        padding: 0 20px;
        text-align: center;
        background: rgba(24,31,36,0.8);
        border-radius: 20px;
        margin: 0 auto;
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 40px rgba(0,0,0,0.4);
        display: block;
        height: auto;
        z-index: 2;
        border: 1px solid rgba(39,224,217,0.2);
    }
    
    .hero-image-top {
        order: 1;
        margin: 0 auto 30px auto;
        padding: 0;
        background: transparent;
        border-radius: 50%;
        width: fit-content;
        border: 4px solid #27e0d9;
        box-shadow: 0 0 30px rgba(39,224,217,0.3);
        transform: translateY(-30px);
    }
    
    .hero-content-bottom {
        order: 2;
        background: transparent;
        padding: 30px 30px 40px 30px;
        margin: 0;
        border-radius: 0;
        backdrop-filter: none;
        box-shadow: none;
    }
    
    .hero-left {
        width: 100%;
        max-width: none;
        min-width: 0;
        padding: 40px 20px;
        align-items: center;
        text-align: center;
        background: rgba(24,28,36,0.95);
    }
    
    .hero-image-top img {
        width: 140px;
        height: 140px;
        margin: 0;
        border-radius: 50%;
        object-fit: cover;
    }
    
    .hero-content-bottom h1 {
        font-size: 2.5rem;
        margin-bottom: 0.3em;
        color: #fff;
        font-weight: 700;
    }
    
    .hero-content-bottom h2 {
        font-size: 1.4rem;
        margin-bottom: 0.8em;
        color: #27e0d9;
        font-weight: 500;
    }
    
    .hero-content-bottom p {
        font-size: 1.1rem;
        margin-bottom: 2em;
        color: #e0e0e0;
        line-height: 1.6;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-language-info {
        margin-bottom: 1.5em;
        color: #27e0d9;
    }
    
    .btn-primary {
        padding: 12px 30px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 25px;
        transition: all 0.3s ease;
    }
    
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(39,224,217,0.3);
    }
}

@media (max-width: 480px) {
    .hero-banner > .hero-text {
        max-width: 95vw;
        padding: 0 15px;
    }
    
    .hero-image-top {
        transform: translateY(-20px);
    }
    
    .hero-image-top img {
        width: 120px;
        height: 120px;
    }
    
    .hero-content-bottom {
        padding: 20px 20px 30px 20px;
    }
    
    .hero-content-bottom h1 {
        font-size: 2rem;
        margin-bottom: 0.2em;
    }
    
    .hero-content-bottom h2 {
        font-size: 1.2rem;
        margin-bottom: 0.6em;
    }
    
    .hero-content-bottom p {
        font-size: 1rem;
        margin-bottom: 1.5em;
        line-height: 1.5;
        max-width: 100%;
    }
    
    .btn-primary {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

/* Professional Slideshow - Mobile Only (Upper Position) */
.professional-slideshow {
    background: #151b20;
    padding: 60px 0;
    display: none;
    position: relative;
}

@media (max-width: 900px) {
    .professional-slideshow {
        display: block;
    }
    
    .professional-slideshow h2 {
        color: #27e0d9;
        font-size: 2.2rem;
        margin-bottom: 40px;
        text-align: center;
        font-weight: 700;
    }
    
    .slideshow-container {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    }
    
    .professional-slide {
        position: relative;
        display: none;
        width: 100%;
        height: 400px;
        overflow: hidden;
    }
    
    .professional-slide.active {
        display: block;
        animation: slideIn 0.5s ease-in-out;
    }
    
    .professional-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 30%;
        filter: brightness(0.8);
    }
    
    .slide-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0,0,0,0.8));
        padding: 30px 20px 20px 20px;
        color: white;
        text-align: center;
    }
    
    .slide-caption h3 {
        color: #27e0d9;
        font-size: 1.4rem;
        margin-bottom: 8px;
        font-weight: 700;
    }
    
    .slide-caption p {
        color: #e0e0e0;
        font-size: 1rem;
        margin: 0;
        opacity: 0.9;
        line-height: 1.4;
    }
    
    .slideshow-dots {
        text-align: center;
        margin-top: 20px;
        padding: 0 20px;
    }
    
    .dot {
        cursor: pointer;
        height: 12px;
        width: 12px;
        margin: 0 5px;
        background-color: rgba(255,255,255,0.3);
        border-radius: 50%;
        display: inline-block;
        transition: all 0.3s ease;
    }
    
    .dot:hover,
    .dot.active {
        background-color: #27e0d9;
        transform: scale(1.2);
    }
}

@media (max-width: 480px) {
    .professional-slideshow {
        padding: 40px 0;
    }
    
    .professional-slide {
        height: 320px;
    }
    
    .slide-caption {
        padding: 20px 15px 15px 15px;
    }
    
    .slide-caption h3 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .slide-caption p {
        font-size: 0.9rem;
    }
    
    .dot {
        height: 10px;
        width: 10px;
        margin: 0 4px;
    }
}

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

/* Hide on desktop */
@media (min-width: 901px) {
    .professional-slideshow {
        display: none !important;
    }
}

/* Mobile Compact Layout for Technologies and Services */
@media (max-width: 900px) {
    .skills {
        padding: 40px 0 30px 0;
    }
    
    .skills h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .skills-grid {
        gap: 8px 12px;
        max-width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
    
    .skill-card {
        padding: 14px 16px;
        font-size: 0.95rem;
        min-width: unset;
        width: 100%;
        max-width: 180px;
        text-align: center;
        justify-content: center;
    }
    
    .skill-card i, .skill-card .trino-bunny {
        font-size: 1.2em;
    }
    
    .services {
        padding: 40px 0 30px 0;
    }
    
    .services h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .services-grid {
        gap: 12px 16px;
        max-width: 100%;
    }
    
    .service-card {
        padding: 20px 16px;
        font-size: 1rem;
        min-width: 280px;
        max-width: calc(100% - 20px);
    }
    
    .service-card i {
        font-size: 1.6em;
        margin-bottom: 12px;
    }
    
    .service-card h3 {
        font-size: 1.1em;
        margin-bottom: 8px;
    }
    
    .service-card p {
        font-size: 0.95em;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .skills {
        padding: 30px 0 25px 0;
    }
    
    .skills h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .skills-grid {
        gap: 6px 8px;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skill-card {
        padding: 12px 14px;
        font-size: 0.85rem;
        min-width: unset;
        width: 100%;
        max-width: 160px;
    }
    
    .services {
        padding: 30px 0 25px 0;
    }
    
    .services h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .services-grid {
        gap: 10px 12px;
    }
    
    .service-card {
        padding: 18px 14px;
        min-width: 260px;
    }
    
    .service-card i {
        font-size: 1.4em;
        margin-bottom: 10px;
    }
    
    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .service-card p {
        font-size: 0.9em;
        line-height: 1.3;
    }
}

/* Insights Page Styling */
.insights-hero {
    background: linear-gradient(135deg, #181f24 0%, #1a2128 50%, #1e252d 100%);
    padding: clamp(110px, 12vw, 140px) 0 clamp(50px, 8vw, 80px) 0;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    margin-top: 0;
    position: relative;
}

.insights-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(135deg, #181f24 0%, #1a2128 50%, #1e252d 100%);
    z-index: -1;
}

.hero-container {
    max-width: min(1000px, 90%);
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    text-align: center;
}

.hero-header {
    margin-bottom: 30px;
}

.hero-metrics {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 600px;
    margin: auto;
}

.metric {
    text-align: center;
}

.metric-number {
    font-size: 2rem;
    font-weight: bold;
    color: #27e0d9;
}

.metric-label {
    font-size: 0.9rem;
    color: #b0b0b0;
}

.hero-content {
    max-width: min(800px, 95vw);
    margin: 0 auto;
    padding: 0 clamp(10px, 3vw, 20px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(39,224,217,0.15);
    border: 1px solid rgba(39,224,217,0.3);
    color: #27e0d9;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-header h1 {
    font-size: clamp(1.75rem, 5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
    line-height: 1.15;
    word-wrap: break-word;
}

.hero-header p {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    color: #e0e0e0;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Mobile responsiveness for hero section */
@media (max-width: 768px) {
    .insights-hero {
        padding: clamp(60px, 8vw, 80px) 0 clamp(40px, 6vw, 60px) 0;
        margin-top: 120px;
    }
    
    .insights-hero::before {
        top: -220px;
        height: 220px;
    }
    
    .hero-container {
        max-width: 95%;
        padding: 0 5px;
    }
    
    .hero-header {
        margin-bottom: 25px;
    }
    
    .hero-metrics {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        max-width: 300px;
    }
    
    .metric {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 200px;
        padding: 8px 12px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }
    
    .metric-number {
        font-size: 1.5rem;
    }
    
    .metric-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .insights-hero {
        padding: clamp(40px, 6vw, 60px) 0 clamp(30px, 5vw, 50px) 0;
        margin-top: 140px;
    }
    
    .insights-hero::before {
        top: -240px;
        height: 240px;
    }
    
    .hero-container {
        max-width: 98%;
        padding: 0 3px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-bottom: 15px;
    }
    
    .hero-header h1 {
        font-size: clamp(1.4rem, 6vw, 2rem);
        margin-bottom: 12px;
    }
    
    .hero-header p {
        font-size: clamp(0.85rem, 3vw, 1rem);
        line-height: 1.4;
    }
    
    .hero-metrics {
        gap: 12px;
        max-width: 280px;
    }
    
    .metric {
        padding: 6px 10px;
        max-width: 180px;
    }
    
    .metric-number {
        font-size: 1.3rem;
    }
    
    .metric-label {
        font-size: 0.8rem;
    }
}

/* Featured Insight Section */
.featured-insight {
    background: #151b20;
    padding: 80px 0;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #ffa76f 0%, #ff8c42 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.featured-text h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-text p {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.featured-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.highlight i {
    color: #27e0d9;
    font-size: 1.2em;
}

.highlight span {
    color: #e0e0e0;
    font-size: 1rem;
}

.highlight strong {
    color: #27e0d9;
    font-weight: 700;
}

.featured-image {
    margin: 25px 0 20px 0;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.featured-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-image img:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 8px;
}

/* Performance Chart */
.featured-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.performance-chart {
    background: rgba(30, 40, 50, 0.8);
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 350px;
}

.chart-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}

.chart-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 220px;
    padding: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.chart-image img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
    max-width: 90%;
    max-height: 90%;
}

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

/* Keep old styles for fallback */
.bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 200px;
    gap: 30px;
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.bar {
    width: 60px;
    border-radius: 4px 4px 0 0;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.bar.traditional {
    background: linear-gradient(180deg, #ff6b6b 0%, #ee5a52 100%);
}

.bar.clickhouse {
    background: linear-gradient(180deg, #27e0d9 0%, #20b2aa 100%);
}

.bar-label {
    color: #e0e0e0;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.3;
}

/* Articles Grid */
.insights-grid {
    background: #181f24;
    padding: 80px 0;
}

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

.article-card {
    background: rgba(30, 40, 50, 0.8);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(39,224,217,0.1);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(39,224,217,0.15);
}

.article-card.coming-soon {
    opacity: 0.6;
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.article-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.article-category {
    background: rgba(39,224,217,0.15);
    color: #27e0d9;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-date {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.article-card h2 {
    margin-bottom: 15px;
}

.article-card h2 a {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 1.3;
}

.article-card h2 a:hover {
    color: #27e0d9;
}

.article-card p {
    color: #e0e0e0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: rgba(255,167,111,0.15);
    color: #ffa76f;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-time {
    color: #b0b0b0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.read-more {
    color: #27e0d9;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.read-more:hover {
    color: #fff;
}

/* Article Page Styling */
.article-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 120px 0 60px 0;
}

.article-header {
    background: linear-gradient(135deg, #181f24 0%, #1e252d 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.article-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.article-content h2 {
    color: #181f24;
    font-size: 2rem;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #27e0d9;
}

.article-content p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.article-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    color: #444;
    line-height: 1.7;
    margin-bottom: 8px;
}

/* Mobile Responsiveness for Insights */
@media (max-width: 768px) {
    .insights-hero {
        padding: clamp(50px, 8vw, 80px) 0 clamp(30px, 6vw, 50px) 0;
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .insights-hero .container {
        padding: 0 clamp(10px, 2vw, 15px);
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 clamp(5px, 2vw, 10px);
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-badge {
        font-size: clamp(0.7rem, 1.8vw, 0.9rem);
        padding: clamp(6px, 1.5vw, 8px) clamp(12px, 3vw, 16px);
        margin-bottom: clamp(15px, 3vw, 24px);
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: clamp(10px, 3vw, 15px);
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        padding: 0 10px;
    }
    
    .stat {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        box-sizing: border-box;
        padding: 0 5px;
    }
    
    .stat strong {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
        word-wrap: break-word;
    }
    
    .stat span {
        font-size: clamp(0.7rem, 1.8vw, 0.8rem);
        word-wrap: break-word;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
        gap: clamp(20px, 5vw, 30px);
    }
    
    .featured-text h2 {
        font-size: clamp(1.3rem, 3.5vw, 1.6rem);
        line-height: 1.2;
    }
    
    .featured-text p {
        font-size: clamp(0.9rem, 2.2vw, 1rem);
        line-height: 1.4;
    }
    
    .featured-image {
        margin: 20px 0 15px 0;
    }
    
    .featured-image img {
        max-width: 100%;
        border-radius: 8px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: clamp(15px, 3vw, 20px);
    }
    
    .article-card {
        padding: clamp(15px, 3vw, 20px);
        margin-bottom: 0;
    }
    
    .article-image {
        margin-bottom: 15px;
        border-radius: 8px;
    }
    
    .article-image img {
        height: 150px;
        border-radius: 8px;
    }
    
    .article-content {
        padding: 30px 20px;
        margin-top: -20px;
    }
    
    .article-header h1 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
}

/* Additional mobile fixes for very small screens */
@media (max-width: 360px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    .insights-hero {
        min-height: auto;
        overflow-x: hidden;
        width: 100vw;
        max-width: 100vw;
        position: relative;
    }
    
    .hero-content {
        padding: 0 8px;
        width: calc(100vw - 16px);
        max-width: calc(100vw - 16px);
    }
    
    .insights-hero h1 {
        font-size: 1.25rem !important;
        line-height: 1.1;
        word-break: break-word;
        hyphens: auto;
        width: 100%;
    }
    
    .insights-hero p {
        font-size: 0.8rem !important;
        line-height: 1.3;
        width: 100%;
    }
    
    .hero-stats {
        margin-top: 15px;
        gap: 8px;
        width: 100%;
        max-width: 100vw;
        padding: 0 5px;
    }
    
    .stat {
        min-width: 80px;
        max-width: calc(100vw - 20px);
        width: 100%;
        margin: 0 auto 10px auto;
    }
    
    .featured-insight {
        padding: 40px 0;
        overflow-x: hidden;
    }
    
    .performance-chart {
        padding: 15px;
        margin: 0 5px;
        max-width: calc(100vw - 20px);
    }
    
    .chart-image {
        height: 140px;
        padding: 0.3rem;
    }
    
    .chart-image img {
        width: 85%;
        height: 85%;
        max-width: 85%;
        max-height: 85%;
    }
    
    .featured-image {
        margin: 15px 0 12px 0;
    }
    
    .featured-image img {
        border-radius: 6px;
        max-width: 320px;
    }
    
    .chart-image img {
        border-radius: 4px;
    }
    
    .chart-title {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .bars {
        height: 120px;
        gap: 15px;
    }
    
    .bar {
        width: 40px;
    }
    
    .insights-grid {
        padding: 40px 0;
    }
    
    .articles-grid {
        padding: 0 5px;
    }
    
    .article-card {
        padding: 12px;
    }
    
    .article-image {
        margin-bottom: 12px;
        border-radius: 6px;
    }
    
    .article-image img {
        height: 120px;
        border-radius: 6px;
    }
}

/* Extra wide screen optimization */
@media (min-width: 1600px) {
    .hero-left {
        max-width: 600px;
        padding-left: max(6vw, 120px);
    }
    
    .hero-bg-slide {
        object-position: center 20%;
    }
    
    .hero-banner {
        min-height: 90vh;
    }
    
    .hero-banner > .hero-text {
        top: 80px;
    }
}

/* Large desktop screens (MacBook 16", 4K monitors, etc.) */
@media (min-width: 1400px) and (max-width: 1599px) {
    .hero-banner {
        min-height: 85vh;
    }
    
    .hero-banner > .hero-text {
        top: 70px;
    }
    
    .hero-text p {
        margin-bottom: 3em;
    }
}

/* Standard desktop screens */
@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-banner {
        min-height: 80vh;
    }
    
    .hero-banner > .hero-text {
        top: 60px;
    }
}

/* Ensure slide images stay centered */
.hero-bg-slide {
    object-position: center center;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Insights page specific background fix */
body:has(.insights-hero) {
    background: linear-gradient(135deg, #181f24 0%, #1a2128 50%, #1e252d 100%);
}

/* Fallback for browsers that don't support :has() */
.insights-page body {
    background: linear-gradient(135deg, #181f24 0%, #1a2128 50%, #1e252d 100%);
}

.container {
    max-width: min(1200px, 100vw);
    margin: 0 auto;
    padding: 0 clamp(10px, 2vw, 20px);
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}

/* Header and Navigation */
header {
    background: #181c24;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.1em;
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
}
.nav-portrait {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid #27e0d9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
    background: #fff;
}
.nav-title-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1em;
}
.nav-title {
    font-size: 1rem;
    font-weight: 400;
    color: #27e0d9;
    margin-top: 0.1em;
    letter-spacing: 1px;
}

.nav-logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-menu li {
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: #27e0d9;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1002;
    position: relative;
    padding: 10px;
    border: none;
    background: transparent;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.2rem;
    margin-left: 0.8rem;
    flex-shrink: 0;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    white-space: nowrap;
}

.lang-btn:hover {
    border-color: #27e0d9;
    color: #27e0d9;
    transform: translateY(-1px);
}

.lang-btn.active {
    background: #27e0d9;
    border-color: #27e0d9;
    color: white;
}

.flag-icon {
    font-size: 1rem;
    line-height: 1;
}

.lang-text {
    font-weight: 600;
    font-size: 0.75rem;
}

/* Image Banner */
.image-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
    margin-top: 80px; /* Account for fixed header */
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

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

.banner-overlay {
    position: absolute;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    text-align: left;
    color: white;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    max-width: 450px;
    width: auto;
}

.banner-overlay h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.banner-overlay p {
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Prayer Countdown Timer */
.prayer-countdown {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.countdown-header i {
    font-size: 1rem;
    color: #ffd700;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 55px;
}

.time-unit span {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.time-unit label {
    font-size: 0.7rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.time-separator {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0 0.3rem;
}

/* Pulsing animation for countdown */
.countdown-timer .time-unit span {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Hero Section */
/* Hero Section */
.hero {
    background: #181f24;
    padding: 120px 0 0 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: none !important;
    box-shadow: none !important;
}

section {
    border: none !important;
    box-shadow: none !important;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}
.hero-image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 32px rgba(0,0,0,0.12);
}
.hero-text h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.3em;
}
.hero-text h2 {
    font-size: 1.5rem;
    color: #27e0d9;
    margin-bottom: 0.7em;
}
.hero-text p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 1.5em;
    max-width: 400px;
}
.btn-primary {
    background: #27e0d9;
    color: #23272f;
    padding: 0.7em 2em;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-primary:hover {
    background: #5bbf3a;
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #27e0d9;
    color: white;
}

.btn-primary:hover {
    background: #245a26;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: #27e0d9;
    color: white;
}

/* Prayer Times Section */
.prayer-times {
    padding: 80px 20px;
    background: #fff;
}

.prayer-times h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #27e0d9;
}

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

.prayer-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.prayer-item:hover {
    transform: translateY(-5px);
}

.prayer-item h3 {
    color: #27e0d9;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.prayer-item .time {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

/* Special Islamic Times Section */
.special-times {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.special-times h3 {
    display: none; /* Hide the "Besondere Zeiten" heading */
}

.special-time-item {
    background: #f0f8f0;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border: 1px solid #e8f5e8;
}

.special-time-item:hover {
    transform: translateY(-5px);
}

.special-time-item h4 {
    color: #27e0d9;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.special-time-item .time {
    font-size: 1.8rem;
    font-weight: 700;
    color: #27e0d9;
    opacity: 0.9;
}

.friday-prayer {
    background: #27e0d9;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.friday-prayer h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* About Section */
.about {
    background: #fff;
    padding: 60px 0;
}
.about-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
}
.about-text {
    flex: 1 1 350px;
    min-width: 300px;
}
.about-text h2 {
    color: #23272f;
    margin-bottom: 1em;
}
.about-text ul {
    margin-top: 1.2em;
    padding-left: 1.2em;
    color: #23272f;
}
.about-image {
    flex: 1 1 300px;
    text-align: center;
}
.about-image img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #27e0d9;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
}

/* Skills Section */
.skills {
    background: #23272f;
    color: #fff;
    padding: 60px 0 40px 0;
}
.skills h2 {
    text-align: center;
    margin-bottom: 2em;
    color: #27e0d9;
}
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    justify-content: center;
}
.skill-card {
    background: #23272f;
    border: 1.5px solid #27e0d9;
    color: #fff;
    border-radius: 10px;
    padding: 1.2em 2em;
    font-size: 1.1rem;
    font-family: 'Fira Mono', monospace;
    display: flex;
    align-items: center;
    gap: 0.7em;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    margin-bottom: 1em;
}
.skill-card i {
    color: #27e0d9;
    font-size: 1.3em;
}

/* Events Section */
.events {
    padding: 80px 20px;
    background: #f8f9fa;
}

.events h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #27e0d9;
}

.events-list {
    max-width: 800px;
    margin: 0 auto;
}

.event-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.event-date {
    background: #27e0d9;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

.event-info h3 {
    color: #27e0d9;
    margin-bottom: 0.5rem;
}

.event-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

.event-time {
    color: #27e0d9;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: #fff;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #27e0d9;
}

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

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

.contact-item i {
    font-size: 1.5rem;
    color: #27e0d9;
    margin-top: 0.5rem;
}

.contact-item h3 {
    color: #27e0d9;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contact-link a {
    color: #27e0d9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link a:hover {
    color: #245a26;
    text-decoration: underline;
}

.contact-note {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #27e0d9;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-note p {
    margin: 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-note i {
    color: #27e0d9;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #000000;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-logo img {
    height: 35px;
    margin-right: 10px;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
}

/* Banner Responsive Styles */
@media (max-width: 768px) {
    .image-banner {
        height: 40vh;
        min-height: 300px;
    }
    
    .banner-overlay {
        padding: 1rem;
        max-width: 350px;
        left: 1rem;
    }
    
    .banner-overlay h2 {
        font-size: 1.5rem;
    }
    
    .banner-overlay p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .prayer-countdown {
        padding: 0.8rem;
        margin-top: 1rem;
    }
    
    .countdown-header {
        font-size: 0.8rem;
    }
    
    .countdown-timer {
        gap: 0.6rem;
    }
    
    .time-unit {
        min-width: 45px;
    }
    
    .time-unit span {
        font-size: 1.5rem;
    }
    
    .time-unit label {
        font-size: 0.6rem;
    }
    
    .time-separator {
        font-size: 1.2rem;
        margin: 0 0.2rem;
    }
}

@media (max-width: 480px) {
    .image-banner {
        height: 35vh;
        min-height: 250px;
    }
    
    .banner-overlay {
        padding: 0.8rem;
        max-width: 280px;
        left: 0.5rem;
    }
    
    .banner-overlay h2 {
        font-size: 1.2rem;
    }
    
    .banner-overlay p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .prayer-countdown {
        padding: 0.6rem;
        margin-top: 0.8rem;
    }
    
    .countdown-header {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
    }
    
    .countdown-timer {
        gap: 0.4rem;
    }
    
    .time-unit {
        min-width: 40px;
    }
    
    .time-unit span {
        font-size: 1.2rem;
    }
    
    .time-unit label {
        font-size: 0.6rem;
    }
    
    .time-separator {
        font-size: 1rem;
        margin: 0 0.1rem;
    }
    
    .language-switcher {
        margin-bottom: 1.2rem;
    }
    .image-banner {
        margin-top: 200px; /* More space for stacked header */
        min-height: 220px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #181c24;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.3);
        padding: 2rem 0;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .nav-menu a {
        color: #fff;
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        transition: background-color 0.3s;
    }
    
    .nav-menu a:hover {
        background-color: rgba(39, 224, 217, 0.1);
        color: #27e0d9;
    }
    
    .language-switcher {
        position: absolute;
        top: 0.5rem;
        right: 1rem;
        z-index: 1001;
        /* Ensure language switcher stays fixed in header area */
    }
    
    .lang-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .flag-icon {
        font-size: 0.9rem;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: #27e0d9;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: #27e0d9;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 100px 20px 60px;
    }

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

    .hero-buttons {
        justify-content: center;
    }

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

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .prayer-schedule {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

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

    .event-item {
        flex-direction: column;
        text-align: center;
    }

    .event-date {
        min-width: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }

    .prayer-schedule {
        grid-template-columns: 1fr;
    }

    .nav-container {
        flex-direction: column;
        align-items: center;
    }
    .nav-logo {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    .language-switcher {
        position: static;
        margin-top: 0.3rem;
        margin-left: 0;
        justify-content: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #27e0d9;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: white;
    }
    
    .hero h1 {
        color: black;
    }
    
    .hero p {
        color: black;
    }
}

.donate {
    padding: 60px 20px;
    background-color: #f5f5f5;
    text-align: center;
}
.donate h2 {
    margin-bottom: 20px;
    font-size: 2em;
}
.donate p {
    font-size: 1.1em;
    margin-bottom: 30px;
}
.paypal-button button {
    font-size: 1.1em;
    padding: 10px 25px;
    background-color: #0070ba;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.paypal-button button:hover {
    background-color: #005c9e;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(24, 31, 36, 0.98) 0%, rgba(26, 33, 40, 0.98) 50%, rgba(30, 37, 45, 0.98) 100%);
    color: white;
    z-index: 10001;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 3px solid #27e0d9;
    transition: transform 0.3s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 2rem;
    color: #27e0d9;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #fff;
}

.cookie-text p {
    margin: 0 0 0.8rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #e0e0e0;
}

.cookie-links {
    font-size: 0.85rem;
}

.cookie-links a {
    color: #27e0d9;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(39, 224, 217, 0.3);
}

.cookie-links a:hover {
    color: #1fb8b1;
    border-bottom-color: #1fb8b1;
    text-decoration: none;
}

.cookie-links span {
    margin: 0 0.5rem;
    color: #ccc;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cookie-btn-essential {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.cookie-btn-essential:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.cookie-btn-all {
    background: #27e0d9;
    color: #fff;
    border: 2px solid #27e0d9;
}

.cookie-btn-all:hover {
    background: #1fb8b1;
    border-color: #1fb8b1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 224, 217, 0.3);
}

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: opacity 0.3s ease;
}

.cookie-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.cookie-modal-content {
    background: #fff;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h2 {
    margin: 0;
    color: #27e0d9;
    font-size: 1.3rem;
}

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

.cookie-close-btn:hover {
    background: rgba(39, 224, 217, 0.1);
    color: #27e0d9;
}

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

.cookie-modal-close:hover {
    background: #f0f0f0;
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

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

.cookie-category-header h4 {
    margin: 0;
    color: #27e0d9;
    font-size: 1rem;
}

.cookie-category p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Toggle Switch Styles */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #27e0d9;
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

input:disabled + .toggle-slider {
    background-color: #27e0d9;
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.cookie-btn-primary {
    background: #27e0d9;
    color: white;
    border: 2px solid #27e0d9;
}

.cookie-btn-primary:hover {
    background: #1fb8b1;
    border-color: #1fb8b1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39, 224, 217, 0.3);
}

.cookie-btn-secondary {
    background: transparent;
    color: #666;
    border: 2px solid #ddd;
}

.cookie-btn-secondary:hover {
    background: #f0f0f0;
    border-color: #bbb;
}

/* Responsive Design for Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    .cookie-modal {
        padding: 1rem;
    }
    
    .cookie-modal-content {
        max-height: 90vh;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Remove the old rule that moves language switcher inside menu */
    .nav-menu.active + .language-switcher {
        position: fixed !important;
        top: 0.5rem !important;
        right: 1rem !important;
        margin: 0 !important;
        background: rgba(255, 255, 255, 0.95);
        padding: 0.5rem;
        border-radius: 8px;
        backdrop-filter: blur(5px);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1002;
    }
}

@media (max-width: 480px) {
    .nav-menu.active + .language-switcher {
        position: fixed !important;
        top: 0.5rem !important;
        right: 0.5rem !important;
        margin: 0 !important;
        background: rgba(255, 255, 255, 0.95);
        padding: 0.4rem;
        border-radius: 6px;
        backdrop-filter: blur(5px);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1002;
    }
}

/* Homepage Insights Section */
.insights-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.insights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #27e0d9, transparent);
}

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

.insights-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(39,224,217,0.15);
    border: 1px solid rgba(39,224,217,0.3);
    color: #27e0d9;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.insights-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.insights-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.featured-insights {
    margin-bottom: 3rem;
}

.insight-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(39, 224, 217, 0.15);
}

.insight-card.featured {
    display: grid;
    grid-template-columns: 300px 1fr;
    margin-bottom: 2rem;
    min-height: 200px;
}

.insight-image {
    position: relative;
    overflow: hidden;
}

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

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

.insight-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.insight-category {
    display: inline-block;
    background: #27e0d9;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.insight-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

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

.insight-highlights {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.highlight i {
    color: #27e0d9;
}

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

.insights-grid .insight-card {
    padding: 1.5rem;
}

.insights-grid .insight-category {
    font-size: 0.75rem;
    padding: 3px 8px;
}

.insights-grid h4 {
    font-size: 1.2rem;
    color: #333;
    margin: 1rem 0 0.5rem 0;
    font-weight: 600;
    line-height: 1.4;
}

.insights-grid p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.insights-cta {
    text-align: center;
    margin-top: 3rem;
}

.insights-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.insights-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 224, 217, 0.3);
}

.insights-btn i {
    transition: transform 0.3s ease;
}

.insights-btn:hover i {
    transform: translateX(3px);
}

/* Responsive Design for Insights Section */
@media (max-width: 1024px) {
    .insight-card.featured {
        grid-template-columns: 250px 1fr;
    }
}

@media (max-width: 768px) {
    .insights-section {
        padding: 3rem 0;
    }
    
    .insights-header h2 {
        font-size: 2rem;
    }
    
    .insights-header p {
        font-size: 1rem;
    }
    
    .insight-card.featured {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .insight-content {
        padding: 1.5rem;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .insights-grid .insight-card {
        padding: 1.2rem;
    }
    
    .insight-highlights {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .insights-header h2 {
        font-size: 1.7rem;
    }
    
    .insight-content {
        padding: 1rem;
    }
    
    .insights-grid .insight-card {
        padding: 1rem;
    }
    
    .insight-highlights {
        flex-direction: column;
        align-items: center;
    }
    
    .insights-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}
