/* Modern CSS Custom Properties */
:root {
    /* Colors */
    --primary-gold: #d4af37;
    --primary-gold-dark: #b8941f;
    --primary-brown: #8b4513;
    --text-primary: #2d1810;
    --text-secondary: #5d4037;
    --text-muted: #8b7355;
    --background-primary: #fdfbf7;
    --background-secondary: #f8f4e6;
    --background-tertiary: #f5f0e8;
    --white: #ffffff;
    --border-light: rgba(212, 175, 55, 0.2);
    --shadow-light: rgba(139, 69, 19, 0.08);
    --shadow-medium: rgba(139, 69, 19, 0.12);
    --shadow-strong: rgba(139, 69, 19, 0.15);

    /* Typography */
    --font-family: 'Inter', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Remove tap highlight on mobile */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection for content areas */
p,
span,
div,
h1,
h2,
h3,
h4,
h5,
h6,
li,
td,
th,
input,
textarea {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

html {
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #3d2914;
    background-color: #fdf8f0;
    overscroll-behavior: none;
}

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

/* Header Styles */
.header {
    background: #541D23;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 70px;
    opacity: 1;
}

/* Mobile header needs background for visibility */
@media (max-width: 768px) {
    .header {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(139, 69, 19, 0.1);
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    }

    .header.scrolled {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 4px 15px rgba(139, 69, 19, 0.15);
    }
}

.header.scrolled {
    background: #541D23;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* Initial state for animation */
    opacity: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
}

.logo {
    width: 106px;
    height: 25px;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 0;
}

.logo:hover {
    transform: scale(0.95);
}

/* Removed nav-brand h1 styles since we removed the title text */

/* Navigation Left Section */
.nav-left {
    display: flex;
    align-items: center;
    gap: 1px;
    justify-content: flex-start;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    padding-left: 0.5rem;
    max-width: 33.33vw;
    overflow: hidden;
}

/* Navigation Center Section */
.nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Navigation Right Section */
.nav-right {
    display: flex;
    align-items: center;
    gap: 2px;
    justify-content: flex-end;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    padding-right: 1rem;
}

/* Navigation Links Styling */
.nav-left a,
.nav-right a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.3rem 0.2rem;
    border-radius: 6px;
    position: relative;
    opacity: 1;
    display: flex;
    align-items: center;
    min-height: 36px;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0 0.1rem;
}

/* Hide About and Contact on larger screens to save space */
.nav-left a[data-translate="nav-about"],
.nav-left a[data-translate="nav-contact"] {
    display: flex;
}

@media (min-width: 1000px) {

    .nav-left a[data-translate="nav-about"],
    .nav-left a[data-translate="nav-contact"] {
        display: none;
    }
}

.nav-left a:hover,
.nav-left a:focus,
.nav-left a.active,
.nav-right a:hover,
.nav-right a:focus,
.nav-right a.active {
    color: #d4af37;
    transform: scale(0.95);
}

.nav-left a.active,
.nav-right a.active {
    font-weight: 600;
}

/* Old nav-links styles removed - replaced with nav-left and nav-right */

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1500;
    /* Initial state for animation */
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating Contact Button */
.floating-contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.floating-contact-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.floating-contact-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: white;
    transition: transform 0.3s ease;
}

.floating-contact-btn:hover .contact-icon {
    transform: scale(1.1);
}

/* Floating Language Selector */
.floating-language-selector {
    position: relative;
}

.floating-language-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 2px solid rgba(212, 175, 55, 0.3);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.floating-language-toggle:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(139, 69, 19, 0.2);
    border-color: #d4af37;
}

.floating-language-toggle:active {
    transform: translateY(-1px) scale(1.02);
}

.floating-language-toggle .language-icon {
    width: 26px;
    height: 26px;
    color: #3d2914;
    transition: transform 0.3s ease;
}

.floating-language-toggle:hover .language-icon {
    transform: scale(1.1);
}

.floating-language-dropdown {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: white;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(139, 69, 19, 0.15);
    min-width: 160px;
    z-index: 1501;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1rem;
    overflow: hidden;
}

.floating-language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.floating-language-dropdown .language-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: #3d2914;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.floating-language-dropdown .language-option:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
}

.floating-language-dropdown .language-option.active {
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    font-weight: 600;
}

.floating-language-dropdown .lang-code {
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 20px;
}

.floating-language-dropdown .lang-name {
    font-size: 0.85rem;
}

/* Simple header animations */
.nav-left a,
.nav-right a,
.nav-brand,
.kvitel-btn,
.reservations-btn,
.desktop-language-selector {
    opacity: 1;
    transform: none;
}

/* Desktop Header Responsive Styles */
@media (min-width: 769px) {
    .header {
        height: 70px;
    }

    .nav {
        height: 70px;
        padding: 0;
        position: relative;
    }

    .nav-left {
        padding-left: 0.5rem;
        gap: 1px;
        max-width: 33.33vw;
    }

    .nav-right {
        padding-right: 1rem;
        gap: 1px;
    }

    .nav-left a,
    .nav-right a {
        font-size: 0.85rem;
        padding: 0.3rem 0.2rem;
        margin: 0 0.05rem;
    }

    .kvitel-btn,
    .reservations-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        min-height: 38px;
        border-radius: 25px;
    }

    .logo {
        width: 120px;
        height: 28px;
    }
}

/* Compact navigation for smaller screens */
@media (min-width: 769px) and (max-width: 1100px) {

    .nav-left a,
    .nav-right a {
        font-size: 0.75rem;
        padding: 0.25rem 0.15rem;
        margin: 0;
    }

    .nav-left {
        gap: 0px;
        padding-left: 0.3rem;
        max-width: 33.33vw;
    }

    .nav-right {
        gap: 0px;
        padding-right: 0.8rem;
    }

    .kvitel-btn,
    .reservations-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        border-radius: 20px;
    }
}

/* Extra compact for very tight screens */
@media (min-width: 769px) and (max-width: 950px) {

    .nav-left a,
    .nav-right a {
        font-size: 0.7rem;
        padding: 0.2rem 0.1rem;
        margin: 0;
    }

    .nav-left {
        gap: 0px;
        padding-left: 0.2rem;
        max-width: 33.33vw;
    }

    .nav-right {
        gap: 0px;
        padding-right: 0.3rem;
    }

    .kvitel-btn,
    .reservations-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
        border-radius: 18px;
    }

    .logo {
        width: 100px;
        height: 24px;
    }
}

@media (min-width: 1100px) {
    .nav-left {
        padding-left: 0.8rem;
        gap: 2px;
        max-width: 33.33vw;
    }

    .nav-right {
        padding-right: 1.5rem;
        gap: 2px;
    }

    .nav-left a,
    .nav-right a {
        font-size: 0.9rem;
        padding: 0.4rem 0.3rem;
        margin: 0 0.1rem;
    }

    .kvitel-btn,
    .reservations-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        min-height: 40px;
        border-radius: 25px;
    }

    .logo {
        width: 130px;
        height: 30px;
    }
}

@media (min-width: 1300px) {
    .nav-left {
        padding-left: 1rem;
        gap: 3px;
        max-width: 33.33vw;
    }

    .nav-right {
        padding-right: 2rem;
        gap: 3px;
    }

    .nav-left a,
    .nav-right a {
        font-size: 0.95rem;
        padding: 0.5rem 0.4rem;
        margin: 0 0.15rem;
    }

    .kvitel-btn,
    .reservations-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
        min-height: 42px;
        border-radius: 25px;
    }

    .logo {
        width: 140px;
        height: 32px;
    }
}

/* Ensure minimal gaps across all desktop sizes */
@media (min-width: 769px) {

    /* Constrain nav-left to first third of screen */
    .nav-left {
        max-width: 33.33vw;
        overflow: hidden;
    }

    /* Minimal margins for compact layout */
    .nav-left a,
    .nav-right a {
        flex-shrink: 1;
        min-width: 0;
    }
}

/* Ultra-compact for very tight screens */
@media (min-width: 769px) and (max-width: 850px) {
    .nav-left {
        gap: 0px;
        max-width: 33.33vw;
        padding-left: 0.1rem;
    }

    .nav-right {
        gap: 0px;
        padding-right: 0.2rem;
    }

    .nav-left a,
    .nav-right a {
        padding: 0.2rem 0.05rem;
        font-size: 0.65rem;
        margin: 0;
    }

    .kvitel-btn,
    .reservations-btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.65rem;
        border-radius: 15px;
    }
}

/* Container queries for responsive navigation */
@container (max-width: 800px) {

    .nav-left a,
    .nav-right a {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
        margin: 0 0.05rem;
    }

    .kvitel-btn,
    .reservations-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.7rem;
    }
}

@container (max-width: 600px) {

    .nav-left a,
    .nav-right a {
        font-size: 0.75rem;
        padding: 0.25rem 0.4rem;
        margin: 0;
    }

    .nav-left,
    .nav-right {
        gap: 0.1rem;
    }

    .kvitel-btn,
    .reservations-btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
}

/* Fallback for browsers without container query support */
@supports not (container-type: inline-size) {
    @media (min-width: 769px) and (max-width: 900px) {

        .nav-left a,
        .nav-right a {
            font-size: 0.8rem;
            padding: 0.3rem 0.5rem;
        }

        .kvitel-btn,
        .reservations-btn {
            font-size: 0.8rem;
            padding: 0.4rem 0.7rem;
        }
    }
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #3d2914;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    position: relative;
    flex-shrink: 0;
    margin-left: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Hide mobile toggle on desktop */
@media (min-width: 769px) {
    .mobile-nav-toggle {
        display: none !important;
    }

    .nav-left,
    .nav-center,
    .nav-right {
        display: flex !important;
    }
}

.mobile-nav-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
}

.hamburger-line {
    width: 22px;
    height: 3px;
    background: #3d2914;
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    border-radius: 2px;
}

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

.mobile-nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 50%, var(--background-tertiary) 100%);
    z-index: 1002;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-menu.open {
    right: 0;
}

/* Branding Section */
.mobile-nav-branding {
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.mobile-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.15);
}

.mobile-brand-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    text-shadow: none;
}

.mobile-brand-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
}

/* Navigation Links */
.mobile-nav-links {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    min-height: 56px;
    opacity: 0;
    transform: translateY(20px);
    background: rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.mobile-nav-menu.open .mobile-nav-link {
    animation: slideInNavLink 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.mobile-nav-menu.open .mobile-nav-link:nth-child(1) {
    animation-delay: 0.1s;
}

.mobile-nav-menu.open .mobile-nav-link:nth-child(2) {
    animation-delay: 0.15s;
}

.mobile-nav-menu.open .mobile-nav-link:nth-child(3) {
    animation-delay: 0.2s;
}

.mobile-nav-menu.open .mobile-nav-link:nth-child(4) {
    animation-delay: 0.25s;
}

@keyframes slideInNavLink {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: left 0.4s ease;
}

.mobile-nav-link:hover::before,
.mobile-nav-link:active::before {
    left: 100%;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-brown);
    transform: translateX(4px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.15);
}

.mobile-nav-link:active {
    transform: translateX(4px) scale(0.98);
}

.mobile-nav-link.active {
    background: rgba(212, 175, 55, 0.25);
    color: var(--primary-brown);
    border-color: rgba(212, 175, 55, 0.5);
    font-weight: 600;
}

.nav-icon {
    width: 22px;
    height: 22px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-nav-link:hover .nav-icon,
.mobile-nav-link:active .nav-icon,
.mobile-nav-link.active .nav-icon {
    color: var(--primary-gold);
    transform: scale(1.1);
}

.nav-text {
    flex: 1;
    font-weight: 500;
}

/* Donate Section - positioned right after nav links */
.mobile-nav-donate-section {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.mobile-kvitel-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: white;
    border: 3px solid #d4af37;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.mobile-nav-menu.open .mobile-kvitel-btn {
    animation: slideInDonate 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.3s;
}

@keyframes slideInDonate {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shining effect without gradients */
.mobile-kvitel-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.mobile-kvitel-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

.mobile-kvitel-btn .nav-text,
.mobile-kvitel-btn .nav-icon {
    position: relative;
    z-index: 2;
}

/* Shine sweep animation */
@keyframes shineSweep {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }

    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

.mobile-kvitel-btn:hover {
    background: linear-gradient(135deg, #b8860b, #d4af37);
    border-color: #b8860b;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.7);
}

.mobile-kvitel-btn:hover::before {
    animation: shineSweep 1.5s ease-in-out infinite;
}

@keyframes donateButtonShine {

    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    }

    25% {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
    }

    50% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    }

    75% {
        transform: translateY(-1px) scale(1.01);
        box-shadow: 0 5px 18px rgba(255, 107, 53, 0.5);
    }
}

/* Additional pulsing glow effect */
@keyframes donateGlow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4), 0 0 0 0 rgba(255, 107, 53, 0.7);
    }

    50% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4), 0 0 0 8px rgba(255, 107, 53, 0);
    }
}

.mobile-kvitel-btn:active {
    transform: scale(0.95);
    animation: none;
}

.kvitel-icon {
    width: 22px;
    height: 22px;
    transition: all 0.3s ease;
}

.mobile-kvitel-btn:hover .kvitel-icon {
    animation: donateIconSpin 1s ease-in-out infinite;
}

@keyframes donateIconSpin {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }
}

/* Main attention-grabbing animation */
.mobile-kvitel-btn {
    animation: donateButtonShine 2.5s ease-in-out infinite, donateGlow 3s ease-in-out infinite;
}

.kvitel-text {
    font-weight: 700;
    animation: donateTextGlow 2s ease-in-out infinite alternate;
}

@keyframes donateTextGlow {
    0% {
        opacity: 0.9;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Old donate button styles removed - replaced with kvitel and reservations buttons */

/* Old nav-buttons container removed */

/* Kvitel Button */
.kvitel-btn {
    background: white;
    color: #541D23;
    border: 2px solid #541D23;
    padding: 0.5rem 0.8rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(84, 29, 35, 0.2);
    position: relative;
    overflow: hidden;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    margin: 0 0.25rem;
}

.kvitel-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.kvitel-btn:hover::before {
    left: 100%;
}

.kvitel-btn:hover {
    transform: scale(0.95);
    box-shadow: 0 4px 15px rgba(84, 29, 35, 0.3);
    background: #541D23;
    color: white;
    border-color: white;
}

.kvitel-btn:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 2px 8px rgba(84, 29, 35, 0.2);
}

/* Eye-catching animations for kvitel button - desktop */
.hero-actions .kvitel-btn {
    animation: kvitelPulseDesktop 3s ease-in-out infinite, kvitelGlowDesktop 2s ease-in-out infinite alternate;
}

@keyframes kvitelPulseDesktop {
    0%, 70%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(84, 29, 35, 0.2), 0 0 0 0 rgba(84, 29, 35, 0.5);
    }
    35% {
        transform: scale(1.03);
        box-shadow: 0 6px 25px rgba(84, 29, 35, 0.4), 0 0 0 12px rgba(84, 29, 35, 0);
    }
}

@keyframes kvitelGlowDesktop {
    0% {
        box-shadow: 0 2px 8px rgba(84, 29, 35, 0.2), 0 0 3px rgba(84, 29, 35, 0.3);
    }
    100% {
        box-shadow: 0 2px 8px rgba(84, 29, 35, 0.2), 0 0 12px rgba(84, 29, 35, 0.6);
    }
}

/* Reservations Button */
.reservations-btn {
    background: #541D23;
    color: white;
    border: 2px solid white;
    padding: 0.5rem 0.8rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    margin: 0 0.25rem;
}

.reservations-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.reservations-btn:hover::before {
    left: 100%;
}

.reservations-btn:hover {
    background: white;
    color: #541D23;
    border-color: white;
    transform: scale(0.95);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.reservations-btn:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.08);
}

/* Reservations button removed - now using regular nav link */

.language-selector select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    font-family: inherit;
}

/* Modern Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/mobile-hero-index-gh.svg') center center/cover no-repeat;
    overflow: hidden;
    padding: 120px 0 80px;
    /* Simple zoom-out animation */
    transform: scale(1.05);
    animation: simpleZoomOut 1s ease-out forwards;
}

/* Desktop hero with SVG background */
@media (min-width: 769px) {
    .hero {
        background: url('../images/hero-bg-gh.svg') center center/cover no-repeat;
        transform: scale(1.08);
        animation: simpleZoomOutDesktop 1.2s ease-out forwards;
    }
}

/* Simple, smooth zoom animations */
@keyframes simpleZoomOut {
    0% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes simpleZoomOutDesktop {
    0% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

/* Removed laggy scroll animations for better performance */

/* Hero Recent Posts Card - Desktop Only */
.hero-recent-posts {
    position: absolute;
    top: 120px;
    right: 40px;
    z-index: 10;
    display: none;
    /* Hidden by default, shown on desktop */
}

@media (min-width: 1200px) {
    .hero-recent-posts {
        display: block;
    }
}

@media (min-width: 1400px) {
    .hero-recent-posts {
        right: 60px;
    }
}

@media (min-width: 1600px) {
    .hero-recent-posts {
        right: 80px;
    }

    .recent-post-card {
        width: 320px;
        height: 320px;
    }

    .post-title-overlay {
        font-size: 1.2rem;
        padding: 50px 25px 25px;
    }
}

.recent-post-card {
    width: 280px;
    height: 280px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(139, 69, 19, 0.15);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
}

.recent-post-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(139, 69, 19, 0.25);
    border-color: rgba(212, 175, 55, 0.4);
}

.recent-post-card:active {
    transform: translateY(-4px) scale(1.01);
    transition: all 0.1s ease;
}

.post-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, #f8f5f0 0%, #f0ebe0 100%);
    color: #d4af37;
    transition: transform 0.4s ease;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-card:hover .post-image {
    transform: scale(1.05);
}

.post-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 20px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.post-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #b8860b);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6));
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

/* Animation for card entrance */
.hero-recent-posts {
    opacity: 0;
    transform: translateX(100px);
    animation: slideInFromRight 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 2s;
}

@keyframes slideInFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(184, 148, 31, 0.05) 100%);
    animation: float 20s ease-in-out infinite;
    backdrop-filter: blur(1px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -3%;
    animation-delay: -7s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 20%;
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-30px) rotate(120deg);
    }

    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-light);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-xl);
    font-size: 0.9rem;
    color: var(--primary-brown);
    font-weight: var(--font-weight-medium);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.hero-badge:hover {
    background: rgba(212, 175, 55, 0.15);
    transform: translateY(-1px);
}

.badge-icon {
    font-size: 1.1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2d1810;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #5d4037;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    text-align: center;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.1);
    min-width: 120px;
    transition: all 0.3s ease;
}

.hero-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(139, 69, 19, 0.12);
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 0.5rem;
    display: block;
}

.hero-stats .stat-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(139, 69, 19, 0.15));
}

.hero-stats .stat-item:hover .stat-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(139, 69, 19, 0.25));
}

.hero-stats .stat-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(139, 69, 19, 0.15));
}

.hero-stats .stat-item:hover .stat-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(139, 69, 19, 0.25));
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    color: #8b4513;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.primary-btn:hover::before {
    left: 100%;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #8b4513;
    border: 2px solid rgba(212, 175, 55, 0.3);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.08);
}

.secondary-btn:hover {
    background: #d4af37;
    color: white;
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.3);
}

.btn-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.primary-btn:hover .btn-icon {
    transform: translateX(3px);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.1);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    font-size: 0.9rem;
    color: #5d4037;
    font-weight: 500;
}

/* Ensure all main sections are visible */
main section {
    opacity: 1;
    visibility: visible;
    display: block;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
    display: block;
    visibility: visible;
    opacity: 1;
    transform: none;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #8b4513;
}

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

.about-card {
    background: #f5f0e8;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.about-card h3 {
    color: #8b4513;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-card p {
    color: #666;
    line-height: 1.6;
}

/* Extended About Section Styles */
.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-top: 1rem;
    font-style: italic;
}

.about-hero-image {
    margin: 3rem 0;
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(139, 69, 19, 0.2);
    transition: transform 0.3s ease;
}

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

.image-caption {
    margin-top: 1rem;
}

.image-caption p {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
}

.about-article {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-content h3 {
    color: #8b4513;
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem 0;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 0.5rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 1.1rem;
}

.quote-block {
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f5f0 0%, #f0ebe0 100%);
    border-left: 4px solid #d4af37;
    border-radius: 10px;
}

.quote-block blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: #8b4513;
    margin: 0;
    line-height: 1.6;
}

.quote-block cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

.image-text-block {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
    align-items: start;
}

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

.image-content {
    text-align: center;
}

.article-img {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.15);
}

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

.facility-item {
    background: #f8f5f0;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #d4af37;
}

.facility-item h4 {
    color: #8b4513;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.facility-item ul {
    list-style: none;
    padding: 0;
}

.facility-item li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.facility-item li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 2rem 1rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
}

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

.program-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    transition: transform 0.3s ease;
}

.program-item:hover {
    transform: translateY(-3px);
}

.program-item h4 {
    color: #8b4513;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.program-item p {
    color: #666;
    line-height: 1.6;
}

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

.story-item {
    background: linear-gradient(135deg, #f8f5f0 0%, #f0ebe0 100%);
    padding: 2rem;
    border-radius: 15px;
    border-top: 4px solid #d4af37;
}

.story-item h4 {
    color: #8b4513;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.story-item p {
    color: #555;
    line-height: 1.6;
}

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

.initiative-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
}

.initiative-item h4 {
    color: #8b4513;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.initiative-item ul {
    list-style: none;
    padding: 0;
}

.initiative-item li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.initiative-item li:before {
    content: "🌱";
    position: absolute;
    left: 0;
    font-size: 1rem;
}

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

.testimonial-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    position: relative;
}

.testimonial-item:before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #d4af37;
    opacity: 0.3;
}

.testimonial-item blockquote {
    font-style: italic;
    color: #555;
    margin: 0 0 1rem 0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-item cite {
    color: #8b4513;
    font-weight: 600;
    font-size: 0.9rem;
}

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

.support-item {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.support-item h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.support-item p {
    line-height: 1.6;
    opacity: 0.9;
}

.closing-message {
    background: linear-gradient(135deg, #f8f5f0 0%, #f0ebe0 100%);
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
    border: 2px solid #d4af37;
}

.closing-message p {
    font-size: 1.2rem;
    color: #8b4513;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f5f0e8;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

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

.contact-item h3 {
    color: #8b4513;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-item-icon {
    width: 20px;
    height: 20px;
    color: #d4af37;
    flex-shrink: 0;
}

.contact-item p {
    color: #666;
}

.contact-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-link:hover {
    color: #b8860b;
    text-decoration: underline;
}

.address-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 1.5;
}

.address-link:hover {
    color: #b8860b;
    text-decoration: underline;
}

.phone-link:before {
    content: "📞";
    font-size: 1.1em;
}

.whatsapp-link:before {
    content: "💬";
    font-size: 1.1em;
}

.email-link:before {
    content: "✉️";
    font-size: 1.1em;
}

.whatsapp-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.whatsapp-container p {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.qr-toggle-btn {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.qr-toggle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    filter: brightness(1.05);
}

.qr-toggle-btn:active {
    transform: translateY(0);
}

.whatsapp-qr {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 160px;
    margin-top: 1rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop-only QR code styling */
@media (min-width: 769px) {
    .whatsapp-qr {
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .whatsapp-qr:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .qr-code {
        transition: all 0.3s ease;
    }

    .whatsapp-qr:hover .qr-code {
        transform: scale(1.05);
    }
}

/* Hide QR code on mobile devices - desktop only */
@media (max-width: 768px) {
    .whatsapp-qr {
        display: none !important;
    }

    .qr-toggle-btn {
        display: none !important;
    }
}

.qr-code {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 2px solid #e8dcc0;
}

.qr-label {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    line-height: 1.3;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    background: #d4af37;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #b8860b;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 50%, var(--background-tertiary) 100%);
    color: var(--primary-brown);
    padding: 3rem 0;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--primary-gold);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-gold-dark);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: #000;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .nav {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-grid {
    direction: rtl;
}

/* Desktop-specific header enhancements */
@media (min-width: 769px) {
    .nav {
        padding: 1.2rem 2rem;
    }

    .nav-brand {
        gap: 1rem;
    }

    .logo {
        width: 85px;
        height: 32px;
    }

    .nav-brand h1 {
        font-size: 1.4rem;
    }

    .nav-links {
        gap: 0.8rem;
    }

    .nav-links a {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }

    .kvitel-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
        min-height: 44px;
    }
}

/* Large desktop screens */
@media (min-width: 1200px) {
    .nav {
        padding: 1.4rem 2.5rem;
    }

    .nav-brand h1 {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }

    .kvitel-btn {
        padding: 0.9rem 1.4rem;
        font-size: 0.9rem;
        min-height: 48px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        height: 70px;
    }

    .nav {
        padding: 0.75rem 1rem;
        height: 70px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-left {
        display: none !important;
    }

    .nav-brand {
        gap: 0.75rem;
        flex: 1;
    }

    .logo {
        width: 75px;
        height: 18px;
    }

    .nav-brand h1 {
        font-size: 1.1rem;
        color: #8b4513 !important;
    }

    .nav-right {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: flex !important;
        z-index: 1003;
        position: relative;
    }

    /* Ensure mobile nav elements are properly positioned */
    .mobile-nav-overlay,
    .mobile-nav-menu {
        position: fixed;
        z-index: 1001;
    }

    .mobile-nav-menu {
        z-index: 1002;
    }

    .hero {
        padding: 90px 0 40px;
        min-height: 100vh;
        min-height: 100dvh;
        /* Dynamic viewport height for mobile */
    }

    .hero-content {
        padding: 0 1.25rem;
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
        margin-bottom: 1.25rem;
        gap: 0.4rem;
    }

    .badge-icon {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.15;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
        word-break: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        padding: 0 0.75rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        gap: 1rem;
        margin-bottom: 2.25rem;
        justify-content: space-around;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .hero-stats .stat-item {
        padding: 0.9rem 1.2rem;
        min-width: 90px;
        flex-shrink: 0;
        border-radius: 12px;
    }

    .hero-stats .stat-number {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }

    .hero-stats .stat-label {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.9rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        justify-content: center;
        border-radius: 12px;
        min-height: 48px;
        /* Touch target size */
    }

    .hero-features {
        gap: 0.8rem;
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
    }

    .feature-item {
        padding: 0.75rem 1.1rem;
        width: 100%;
        max-width: 240px;
        justify-content: center;
        border-radius: 25px;
        min-height: 44px;
        /* Touch target size */
    }

    .feature-icon {
        font-size: 1.3rem;
    }

    .feature-text {
        font-size: 0.85rem;
        text-align: center;
    }

    /* Optimize floating shapes for mobile */
    .shape-1 {
        width: 180px;
        height: 180px;
        top: 8%;
        left: -15%;
        opacity: 0.4;
    }

    .shape-2 {
        width: 120px;
        height: 120px;
        top: 75%;
        right: -12%;
        opacity: 0.4;
    }

    .shape-3 {
        width: 80px;
        height: 80px;
        top: 45%;
        right: 10%;
        opacity: 0.3;
    }

    /* Mobile-specific improvements */
    .hero-background {
        background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(139, 69, 19, 0.03) 0%, transparent 50%);
    }

    /* Improve touch interactions */
    .primary-btn:active,
    .secondary-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    .feature-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    /* Better spacing for mobile landscape */
    @media (max-height: 600px) and (orientation: landscape) {
        .hero {
            padding: 70px 0 30px;
            min-height: 90vh;
        }

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

        .hero-subtitle {
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
        }

        .hero-stats {
            margin-bottom: 1.8rem;
        }

        .hero-actions {
            margin-bottom: 2rem;
        }

        .hero-features {
            flex-direction: row;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.6rem;
        }

        .feature-item {
            width: auto;
            max-width: none;
            padding: 0.6rem 1rem;
        }
    }

    .about,
    .contact {
        padding: 60px 1rem;
    }

    .about h2,
    .contact h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

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

    .about-card {
        padding: 1.5rem;
    }

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

    .contact-info {
        order: 2;
    }

    .contact-form {
        order: 1;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 1rem;
        font-size: 1rem;
    }

    .footer {
        padding: 2rem 1rem;
    }

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

    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1rem;
    }

    .close {
        right: 0.5rem;
        top: 0.5rem;
    }

    /* Mobile floating buttons */
    .floating-buttons {
        bottom: 1rem;
        right: 1rem;
        gap: 0.75rem;
    }

    .floating-contact-btn,
    .floating-language-toggle {
        width: 50px;
        height: 50px;
    }

    .contact-icon {
        width: 22px;
        height: 22px;
    }

    .floating-language-toggle .language-icon {
        width: 22px;
        height: 22px;
    }

    .floating-language-dropdown {
        min-width: 140px;
        margin-bottom: 0.75rem;
    }

    .floating-language-dropdown .language-option {
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 35px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.8rem;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 1.9rem;
        line-height: 1.1;
        margin-bottom: 0.9rem;
        padding: 0 0.25rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 1.8rem;
        padding: 0 0.5rem;
    }

    .hero-stats {
        gap: 0.8rem;
        margin-bottom: 2rem;
        padding: 0 0.25rem;
    }

    .hero-stats .stat-item {
        padding: 0.75rem 1rem;
        min-width: 85px;
        border-radius: 10px;
    }

    .hero-stats .stat-number {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }

    .hero-stats .stat-label {
        font-size: 0.65rem;
        line-height: 1.1;
    }

    .hero-actions {
        gap: 0.8rem;
        margin-bottom: 2.2rem;
        padding: 0 0.75rem;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 260px;
        padding: 0.95rem 1.3rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    .hero-features {
        gap: 0.7rem;
        padding: 0 0.75rem;
    }

    .feature-item {
        padding: 0.65rem 1rem;
        max-width: 220px;
        border-radius: 20px;
    }

    .feature-icon {
        font-size: 1.25rem;
    }

    .feature-text {
        font-size: 0.8rem;
    }

    /* Optimize shapes for small screens */
    .shape-1 {
        width: 150px;
        height: 150px;
        top: 10%;
        left: -20%;
        opacity: 0.3;
    }

    .shape-2 {
        width: 100px;
        height: 100px;
        top: 80%;
        right: -15%;
        opacity: 0.3;
    }

    .shape-3 {
        width: 60px;
        height: 60px;
        top: 50%;
        right: 5%;
        opacity: 0.25;
    }

    .about h2,
    .contact h2 {
        font-size: 1.75rem;
    }

    .about-card h3 {
        font-size: 1.25rem;
    }

    .nav-brand h1 {
        font-size: 1rem;
    }

    .language-selector select {
        padding: 0.3rem;
        font-size: 0.8rem;
    }
}

/* Mobile-Specific Optimizations */
@media (max-width: 768px) {

    /* Remove tap highlights and borders on all interactive elements */
    button,
    .cta-btn,
    .kvitel-btn,
    a,
    .floating-contact-btn,
    .floating-language-toggle,
    .mobile-nav-toggle,
    .mobile-nav-close,
    .nav-links a,
    .language-option,
    .filter-btn,
    .qr-toggle-btn,
    .about-card,
    .contact-link {
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        outline: none !important;
    }

    /* Remove focus outlines but keep accessibility */
    button:focus,
    a:focus,
    .cta-btn:focus,
    .kvitel-btn:focus {
        outline: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    /* Improve touch targets */
    button,
    .cta-btn,
    .kvitel-btn,
    a {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Better form inputs on mobile */
    input,
    textarea,
    select {
        font-size: 16px;
        /* Prevents zoom on iOS */
        -webkit-appearance: none;
        appearance: none;
        border-radius: 8px;
    }

    /* Smooth scrolling performance */
    * {
        -webkit-overflow-scrolling: touch;
    }

    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }

    /* Better tap highlights */
    button,
    a,
    .cta-btn,
    .kvitel-btn {
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.3);
    }

    /* Optimize images for mobile */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* Better modal on mobile */
    .modal {
        padding: 1rem;
    }

    .modal-content {
        border-radius: 15px;
        max-height: 90vh;
        overflow-y: auto;
    }

    /* Improve contact form on mobile */
    .contact-form {
        gap: 1.25rem;
    }

    .contact-form input,
    .contact-form textarea {
        border: 2px solid #ddd;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
        border-color: #d4af37;
        box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    }

    /* Mobile contact styles */
    .whatsapp-container {
        align-items: flex-start;
    }

    .whatsapp-qr {
        max-width: 140px;
        padding: 0.75rem;
    }

    .qr-code {
        width: 100px;
        height: 100px;
    }

    .contact-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        min-height: 44px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    /* Optimize for retina displays */
    .hero {
        background-attachment: scroll;
        /* Better performance on mobile */
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 70vh;
        padding: 80px 1rem 40px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }
    
    .about,
    .contact {
        padding: 40px 1rem;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .nav-brand {
        gap: 0.5rem;
    }

    .logo {
        width: 65px;
        height: 15px;
    }

    .nav-brand h1 {
        font-size: 0.9rem;
    }

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

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .hero-stats {
        gap: 0.8rem;
    }

    .hero-stats .stat-item {
        padding: 0.6rem 1rem;
        min-width: 70px;
    }

    .hero-stats .stat-number {
        font-size: 1.1rem;
    }

    .hero-stats .stat-label {
        font-size: 0.7rem;
    }

    .primary-btn,
    .secondary-btn {
        width: 160px;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .feature-item {
        padding: 0.6rem 0.8rem;
    }

    .feature-icon {
        font-size: 1.2rem;
    }

    .feature-text {
        font-size: 0.75rem;
    }

    .about-card,
    .contact-form {
        padding: 1rem;
    }

    .whatsapp-qr {
        max-width: 120px;
        padding: 0.5rem;
    }

    .qr-code {
        width: 80px;
        height: 80px;
    }

    .qr-label {
        font-size: 0.7rem;
    }
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {

    /* Fix iOS Safari viewport issues */
    .hero {
        min-height: -webkit-fill-available;
    }

    /* Fix iOS input styling */
    input,
    textarea,
    select {
        -webkit-appearance: none;
        appearance: none;
        border-radius: 8px;
    }

    /* Fix iOS button styling */
    button {
        -webkit-appearance: none;
        appearance: none;
        border-radius: 8px;
    }
}

/* Android specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {

    /* Fix Android Chrome input zoom */
    input,
    textarea,
    select {
        font-size: 16px;
    }
}

/* Accessibility improvements for mobile */
@media (max-width: 768px) {

    /* Larger focus indicators */
    button:focus,
    a:focus,
    input:focus,
    textarea:focus,
    select:focus {
        outline: 3px solid #d4af37;
        outline-offset: 2px;
    }

    /* Better contrast for small screens */
    .nav-left a:hover,
    .nav-left a:focus,
    .nav-right a:hover,
    .nav-right a:focus {
        background: rgba(212, 175, 55, 0.15);
        color: #b8860b;
    }
}

/* Performance optimizations */
@media (max-width: 768px) {
    /* Reduce animations on slower devices */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }

    /* GPU acceleration for smooth scrolling */
    .hero,
    .about-card,
    .mobile-nav-menu {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
}

/* So
cial Media Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 0.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #deb887;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.copyright p {
    margin: 0;
}

/* Mobile responsive social icons */
@media (max-width: 768px) {
    .social-icons {
        justify-content: center;
        gap: 0.75rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .copyright {
        font-size: 0.85rem;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .social-icons {
        gap: 0.5rem;
    }

    .social-icon {
        width: 32px;
        height: 32px;
    }

    .social-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* Extended About Section Styles */
.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-top: 1rem;
    font-style: italic;
}

.about-hero-image {
    margin: 3rem 0;
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(139, 69, 19, 0.2);
    transition: transform 0.3s ease;
}

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

.image-caption {
    margin-top: 1rem;
}

.image-caption p {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
}

.about-article {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-content h3 {
    color: #8b4513;
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem 0;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 0.5rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 1.1rem;
}

.quote-block {
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f5f0 0%, #f0ebe0 100%);
    border-left: 4px solid #d4af37;
    border-radius: 10px;
}

.quote-block blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: #8b4513;
    margin: 0;
    line-height: 1.6;
}

.quote-block cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

.image-text-block {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
    align-items: start;
}

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

.image-content {
    text-align: center;
}

.article-img {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.15);
}

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

.facility-item {
    background: #f8f5f0;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #d4af37;
}

.facility-item h4 {
    color: #8b4513;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.facility-item ul {
    list-style: none;
    padding: 0;
}

.facility-item li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.facility-item li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 2rem 1rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
}

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

.program-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    transition: transform 0.3s ease;
}

.program-item:hover {
    transform: translateY(-3px);
}

.program-item h4 {
    color: #8b4513;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.program-item p {
    color: #666;
    line-height: 1.6;
}

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

.story-item {
    background: linear-gradient(135deg, #f8f5f0 0%, #f0ebe0 100%);
    padding: 2rem;
    border-radius: 15px;
    border-top: 4px solid #d4af37;
}

.story-item h4 {
    color: #8b4513;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.story-item p {
    color: #555;
    line-height: 1.6;
}

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

.initiative-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
}

.initiative-item h4 {
    color: #8b4513;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.initiative-item ul {
    list-style: none;
    padding: 0;
}

.initiative-item li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.initiative-item li:before {
    content: "🌱";
    position: absolute;
    left: 0;
    font-size: 1rem;
}

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

.testimonial-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    position: relative;
}

.testimonial-item:before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #d4af37;
    opacity: 0.3;
}

.testimonial-item blockquote {
    font-style: italic;
    color: #555;
    margin: 0 0 1rem 0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-item cite {
    color: #8b4513;
    font-weight: 600;
    font-size: 0.9rem;
}

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

.support-item {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.support-item h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.support-item p {
    line-height: 1.6;
    opacity: 0.9;
}

.closing-message {
    background: linear-gradient(135deg, #f8f5f0 0%, #f0ebe0 100%);
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
    border: 2px solid #d4af37;
}

.closing-message p {
    font-size: 1.2rem;
    color: #8b4513;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

/* Mobile Responsive Styles for Extended About Section */
@media (max-width: 768px) {
    .about-header {
        margin-bottom: 2rem;
    }

    .about-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-img {
        height: 250px;
        margin: 0 1rem;
    }

    .article-content {
        padding: 0 1rem;
    }

    .article-content h3 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem 0;
    }

    .article-content p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .quote-block {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }

    .quote-block blockquote {
        font-size: 1.1rem;
    }

    .image-text-block {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1.5rem 1rem;
    }

    .facilities-grid,
    .programs-section,
    .impact-stories,
    .sustainability-initiatives,
    .testimonials-section,
    .support-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1.5rem 1rem;
    }

    .community-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 2rem 1rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .facility-item,
    .program-item,
    .story-item,
    .initiative-item,
    .testimonial-item,
    .support-item {
        padding: 1.5rem;
    }

    .closing-message {
        margin: 2rem 1rem;
        padding: 2rem 1.5rem;
    }

    .closing-message p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .article-content h3 {
        font-size: 1.3rem;
    }

    .hero-img {
        height: 200px;
    }

    .community-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .quote-block blockquote {
        font-size: 1rem;
    }

    .testimonial-item blockquote {
        font-size: 1rem;
    }

    .closing-message p {
        font-size: 1rem;
    }
}

/* Print Styles for About Section */
@media print {
    .about-article {
        max-width: none;
    }

    .hero-img,
    .article-img {
        max-width: 100%;
        height: auto;
    }

    .facilities-grid,
    .programs-section,
    .impact-stories,
    .sustainability-initiatives,
    .testimonials-section,
    .support-options {
        grid-template-columns: 1fr;
    }

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

/* ===
== ADDITIONAL MOBILE OPTIMIZATIONS FOR ABOUT SECTION ===== */

/* Enhanced Mobile Typography */
@media (max-width: 768px) {
    .about-article {
        font-size: 16px;
        /* Prevents zoom on iOS */
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .article-content {
        line-height: 1.6;
        word-spacing: 0.1em;
        letter-spacing: 0.01em;
    }

    .article-content h3 {
        word-wrap: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }

    .article-content p {
        text-align: left;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Mobile Image Optimizations */
@media (max-width: 768px) {

    .hero-img,
    .article-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    .hero-img {
        aspect-ratio: 16/9;
        object-position: center;
    }

    .article-img {
        aspect-ratio: 4/3;
        object-position: center;
    }
}

/* Mobile Accessibility Improvements */
@media (max-width: 768px) {

    /* Larger touch targets */
    .stat-item,
    .program-item,
    .testimonial-item,
    .support-item {
        min-height: 44px;
        cursor: pointer;
    }

    /* Better focus indicators */
    .stat-item:focus,
    .program-item:focus,
    .testimonial-item:focus,
    .support-item:focus {
        outline: 3px solid #d4af37;
        outline-offset: 2px;
    }

    /* High contrast mode support */
    @media (prefers-contrast: high) {
        .quote-block {
            border-left-width: 5px;
            background: #ffffff;
        }

        .stat-item,
        .program-item,
        .testimonial-item {
            border: 2px solid #8b4513;
        }

        .support-item {
            background: #8b4513;
            border: 2px solid #d4af37;
        }
    }

    /* Reduced motion preferences */
    @media (prefers-reduced-motion: reduce) {

        .hero-img,
        .article-img,
        .stat-item,
        .program-item,
        .story-item,
        .testimonial-item,
        .support-item {
            transition: none !important;
            animation: none !important;
            transform: none !important;
        }

        .hero-img:hover,
        .stat-item:hover,
        .program-item:hover,
        .support-item:hover {
            transform: none !important;
        }
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {

    /* Optimize rendering performance */
    .facilities-grid,
    .community-stats,
    .programs-section,
    .impact-stories,
    .sustainability-initiatives,
    .testimonials-section,
    .support-options {
        contain: layout style;
        will-change: auto;
    }

    /* Optimize scroll performance */
    .about-article {
        contain: layout style paint;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }

    /* Optimize image loading */
    .hero-img,
    .article-img {
        content-visibility: auto;
        contain-intrinsic-size: 300px 200px;
    }
}

/* Mobile Light Mode Override - Force light background */
@media (max-width: 768px) {
    .about {
        background: #ffffff !important;
        color: #3d2914 !important;
    }
}

/* Mobile Dark Mode Support - Disabled for now */
@media (max-width: 768px) and (prefers-color-scheme: dark) and (min-width: 9999px) {
    .about {
        background: #1a1a1a;
        color: #e0e0e0;
    }

    .about-header h2 {
        color: #d4af37;
    }

    .about-subtitle {
        color: #b0b0b0;
    }

    .article-content h3 {
        color: #d4af37;
        border-bottom-color: #d4af37;
    }

    .article-content p {
        color: #d0d0d0;
    }

    .quote-block {
        background: linear-gradient(135deg, #2a2a2a 0%, #333333 100%);
        border-left-color: #d4af37;
    }

    .quote-block blockquote {
        color: #d4af37;
    }

    .quote-block cite {
        color: #b0b0b0;
    }

    .facility-item,
    .story-item {
        background: #2a2a2a;
        border-left-color: #d4af37;
    }

    .facility-item h4,
    .story-item h4 {
        color: #d4af37;
    }

    .facility-item li,
    .story-item p {
        color: #c0c0c0;
    }

    .stat-item,
    .program-item,
    .initiative-item,
    .testimonial-item {
        background: #2a2a2a;
        color: #e0e0e0;
    }

    .stat-number {
        color: #d4af37;
    }

    .stat-label {
        color: #b0b0b0;
    }

    .program-item h4,
    .initiative-item h4 {
        color: #d4af37;
    }

    .program-item p,
    .initiative-item li {
        color: #c0c0c0;
    }

    .testimonial-item:before {
        color: #d4af37;
    }

    .testimonial-item blockquote {
        color: #c0c0c0;
    }

    .testimonial-item cite {
        color: #d4af37;
    }

    .closing-message {
        background: linear-gradient(135deg, #2a2a2a 0%, #333333 100%);
        border-color: #d4af37;
    }

    .closing-message p {
        color: #d4af37;
    }
}

/* Mobile Print Styles */
@media print and (max-width: 768px) {
    .about {
        padding: 20px 0;
    }

    .about-header,
    .about-article {
        padding: 0;
    }

    .hero-img {
        height: auto;
        max-height: 150px;
    }

    .community-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        page-break-inside: avoid;
    }

    .facilities-grid,
    .programs-section,
    .impact-stories,
    .sustainability-initiatives,
    .testimonials-section,
    .support-options {
        display: block;
    }

    .facility-item,
    .program-item,
    .story-item,
    .initiative-item,
    .testimonial-item,
    .support-item {
        page-break-inside: avoid;
        margin-bottom: 10px;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .quote-block,
    .closing-message {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #d4af37;
    }
}

/* Mobile RTL Support */
@media (max-width: 768px) {
    [dir="rtl"] .about-article {
        text-align: right;
    }

    [dir="rtl"] .facility-item li,
    [dir="rtl"] .initiative-item li {
        padding-right: 1.25rem;
        padding-left: 0;
    }

    [dir="rtl"] .facility-item li:before,
    [dir="rtl"] .initiative-item li:before {
        right: 0;
        left: auto;
    }

    [dir="rtl"] .quote-block {
        border-left: none;
        border-right: 3px solid #d4af37;
    }

    [dir="rtl"] .testimonial-item:before {
        right: 15px;
        left: auto;
    }
}

/* Mobile Landscape Specific Optimizations */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
    .about {
        padding: 20px 0;
    }

    .about-header {
        margin-bottom: 1rem;
    }

    .about-header h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .hero-img {
        height: 120px;
    }

    .article-content h3 {
        font-size: 1.2rem;
        margin: 1rem 0 0.5rem 0;
    }

    .quote-block {
        padding: 1rem;
        margin: 1rem 0;
    }

    .community-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .stat-item {
        padding: 0.75rem 0.5rem;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }
}

/* Very Small Mobile Screens - Additional Optimizations */
@media (max-width: 320px) {
    .about-header h2 {
        font-size: 1.3rem;
        line-height: 1.1;
    }

    .about-subtitle {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .hero-img {
        height: 140px;
        border-radius: 8px;
    }

    .article-content h3 {
        font-size: 1.1rem;
        margin: 1.25rem 0 0.5rem 0;
    }

    .article-content p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .quote-block {
        padding: 0.75rem 0.5rem;
        margin: 1rem 0;
    }

    .quote-block blockquote {
        font-size: 0.85rem;
    }

    .quote-block cite {
        font-size: 0.75rem;
    }

    .community-stats {
        gap: 0.5rem;
    }

    .stat-item {
        padding: 1rem 0.5rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.65rem;
        line-height: 1.1;
    }

    .facility-item,
    .program-item,
    .story-item,
    .initiative-item,
    .testimonial-item,
    .support-item {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .facility-item h4,
    .program-item h4,
    .story-item h4,
    .initiative-item h4 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .facility-item li,
    .initiative-item li {
        font-size: 0.8rem;
        padding: 0.25rem 0;
        padding-left: 0.9rem;
    }

    .program-item p,
    .story-item p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .testimonial-item:before {
        font-size: 1.8rem;
        top: -2px;
        left: 10px;
    }

    .testimonial-item blockquote {
        font-size: 0.85rem;
        padding-top: 0.2rem;
    }

    .testimonial-item cite {
        font-size: 0.75rem;
    }

    .support-item h4 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .support-item p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .closing-message {
        padding: 1rem 0.5rem;
        margin: 1rem 0;
    }

    .closing-message p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Override animation classes to ensure content is always visible */
.hero,
.about,
#home,
#about,
#contact {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Ensure hero section is always visible */
.hero {
    display: flex !important;
}

/* Ensure about section content is visible */
.about-header,
.about-hero-image,
.about-article,
.article-content {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Final O
verride: Force Light Background on Mobile */
@media (max-width: 768px) {

    .about,
    .about *,
    body {
        background: #ffffff !important;
        background-color: #ffffff !important;
        color: #3d2914 !important;
    }

    /* Restore specific element colors */
    .about h2,
    .about h3,
    .about h4 {
        color: #8b4513 !important;
    }

    .stat-number {
        color: #d4af37 !important;
    }

    .support-item {
        background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%) !important;
        color: white !important;
    }
}

/* Blog Slider Section */
.blog-slider-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fdf8f0 0%, #f8f4e6 100%);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: block;
    visibility: visible;
}

.blog-slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23d4af37" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23d4af37" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="%23d4af37" opacity="0.02"/><circle cx="10" cy="60" r="0.5" fill="%23d4af37" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.blog-slider-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.blog-slider-header h2 {
    font-size: 2.5rem;
    color: #3d2914;
    margin-bottom: 15px;
    font-weight: 600;
}

.blog-slider-header p {
    font-size: 1.1rem;
    color: #8b4513;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #b8941f 0%, #d4af37 100%);
}

.blog-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.blog-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.blog-slide {
    min-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.blog-slide-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.blog-slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #b8941f, #d4af37);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.blog-slide-content:hover::before {
    transform: scaleX(1);
}

.blog-slide-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(139, 69, 19, 0.15);
}

.blog-slide-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #f8f4e6 0%, #ede8d3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #d4af37;
}

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

.blog-slide-content:hover .blog-slide-image img {
    transform: scale(1.05);
}

.blog-slide-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #8b4513;
}

.blog-slide-category {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-slide-date {
    color: #8b4513;
}

.blog-slide h3 {
    font-size: 1.5rem;
    color: #3d2914;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.blog-slide p {
    color: #5d4037;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-slide-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.read-more-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: #b8941f;
    transform: translateX(5px);
}

.blog-slide-languages {
    display: flex;
    gap: 5px;
}

.lang-badge {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.1);
    color: #d4af37;
}

.slider-btn:hover {
    background: #d4af37;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.slider-btn svg {
    width: 20px;
    height: 20px;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #d4af37;
    transform: scale(1.2);
}

.slider-dot:hover {
    background: #d4af37;
}

/* Loading state */
.loading-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: #8b4513;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-top: 3px solid #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* Auto-play indicator */
.slider-progress {
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 3px;
    background: #d4af37;
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-slider-section {
        padding: 60px 0;
    }

    .blog-slider-header h2 {
        font-size: 2rem;
    }

    .blog-slide-content {
        padding: 25px;
    }

    .blog-slide h3 {
        font-size: 1.3rem;
    }

    .slider-controls {
        margin-top: 30px;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .blog-slider-header h2 {
        font-size: 1.8rem;
    }

    .blog-slide-content {
        padding: 20px;
    }

    .blog-slide-image {
        height: 150px;
        margin-bottom: 20px;
    }

    .blog-slide-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Modern Glassmorphism Effects */
.hero-stats .stat-item {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Smooth Focus States */
.primary-btn:focus,
.secondary-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* Enhanced Button Interactions */
.primary-btn:active {
    transform: translateY(0) scale(0.98);
}

.secondary-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Improved Typography */
.hero-title {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hero-subtitle {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.03);
}

/* Performance Optimizations */
.hero-shapes,
.shape {
    will-change: transform;
}

.primary-btn,
.secondary-btn,
.feature-item,
.hero-stats .stat-item {
    will-change: transform, box-shadow;
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) and (min-width: 9999px) {
    :root {
        --background-primary: #1a1a1a;
        --background-secondary: #2a2a2a;
        --background-tertiary: #333333;
        --text-primary: #ffffff;
        --text-secondary: #e0e0e0;
        --text-muted: #b0b0b0;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hero-badge {
        border-width: 2px;
        background: var(--white);
    }

    .hero-stats .stat-item {
        border-width: 2px;
        border-color: var(--primary-brown);
    }

    .primary-btn,
    .secondary-btn {
        border-width: 2px;
    }
}

/* Print Styles */
@media print {
    .hero {
        min-height: auto;
        padding: 2rem 0;
        background: white;
    }

    .hero-shapes {
        display: none;
    }

    .hero-actions {
        display: none;
    }
}

/* Very Small Mobile Screens - Enhanced Mobile Optimization */
@media (max-width: 320px) {
    .hero {
        padding: 75px 0 30px;
    }

    .hero-content {
        padding: 0 0.75rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
        margin-bottom: 0.9rem;
        gap: 0.3rem;
    }

    .badge-icon {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 1.65rem;
        line-height: 1.05;
        margin-bottom: 0.8rem;
        padding: 0;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.35;
        margin-bottom: 1.6rem;
        padding: 0 0.25rem;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .hero-stats {
        gap: 0.6rem;
        margin-bottom: 1.8rem;
        padding: 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stats .stat-item {
        padding: 0.6rem 0.9rem;
        min-width: 75px;
        border-radius: 8px;
    }

    .hero-stats .stat-number {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }

    .hero-stats .stat-label {
        font-size: 0.6rem;
        line-height: 1;
    }

    .hero-actions {
        gap: 0.7rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 240px;
        padding: 0.85rem 1.1rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .hero-features {
        gap: 0.6rem;
        padding: 0 0.5rem;
    }

    .feature-item {
        padding: 0.6rem 0.9rem;
        max-width: 200px;
        border-radius: 18px;
    }

    .feature-icon {
        font-size: 1.15rem;
    }

    .feature-text {
        font-size: 0.75rem;
    }

    /* Minimize shapes on very small screens */
    .shape-1 {
        width: 120px;
        height: 120px;
        top: 12%;
        left: -25%;
        opacity: 0.2;
    }

    .shape-2 {
        width: 80px;
        height: 80px;
        top: 85%;
        right: -20%;
        opacity: 0.2;
    }

    .shape-3 {
        display: none;
        /* Hide third shape on very small screens */
    }

    .nav-brand {
        gap: 0.5rem;
    }

    .logo {
        width: 65px;
        height: 15px;
    }

    .nav-brand h1 {
        font-size: 0.9rem;
    }
}

/* Mobile Performance and Accessibility Enhancements */
@media (max-width: 768px) {

    /* Improve touch targets */
    .hero-stats .stat-item,
    .primary-btn,
    .secondary-btn,
    .feature-item {
        min-height: 44px;
        cursor: pointer;
    }

    /* Better focus indicators for mobile */
    .primary-btn:focus,
    .secondary-btn:focus,
    .feature-item:focus {
        outline: 3px solid rgba(212, 175, 55, 0.5);
        outline-offset: 2px;
    }

    /* Optimize for mobile Safari */
    .hero {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }

    /* Prevent zoom on input focus */
    .primary-btn,
    .secondary-btn {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    /* Improve text contrast on mobile */
    .hero-title {
        color: #1a0f08;
    }

    .hero-subtitle {
        color: #4a3429;
    }

    /* Mobile-specific animations */
    .primary-btn:active,
    .secondary-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    .feature-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    .hero-stats .stat-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Mobile Landscape Optimization */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 600px) {
    .hero {
        padding: 70px 0 30px;
        min-height: 90vh;
    }

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

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        margin-bottom: 1.8rem;
    }

    .hero-actions {
        margin-bottom: 2rem;
    }

    .hero-features {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .feature-item {
        width: auto;
        max-width: none;
        padding: 0.6rem 1rem;
    }
}

/* iOS Safari Specific Fixes */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }

    .primary-btn,
    .secondary-btn {
        -webkit-appearance: none;
        appearance: none;
    }
}

/* Reduced Motion Support for Mobile */
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    .shape {
        animation: none;
        opacity: 0.1;
    }

    .primary-btn:hover,
    .secondary-btn:hover,
    .feature-item:hover,
    .hero-stats .stat-item:hover {
        transform: none;
    }
}

/* Mobile
-First Responsive Images */
@media (max-width: 768px) {
    .hero-background {
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        /* Better performance on mobile */
    }
}

/* Mobile Typography Optimization */
@media (max-width: 768px) {

    .hero-title,
    .hero-subtitle {
        font-display: swap;
        /* Improve font loading performance */
        text-size-adjust: 100%;
        /* Prevent text scaling issues */
        -webkit-text-size-adjust: 100%;
    }
}

/* Mobile Interaction Improvements */
@media (max-width: 768px) {

    /* Improve button tap response */
    .primary-btn,
    .secondary-btn {
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.3);
    }

    /* Better scroll behavior */
    .hero {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Optimize for mobile viewport */
    .hero-content {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
}

/* Mobile Battery and Performance Optimization */
@media (max-width: 768px) {

    /* Reduce GPU usage on mobile */
    .shape {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    /* Optimize will-change for mobile */
    .primary-btn:hover,
    .secondary-btn:hover,
    .feature-item:hover {
        will-change: transform;
    }

    .primary-btn,
    .secondary-btn,
    .feature-item {
        will-change: auto;
    }
}

/* Mobile Network Optimization */
@media (max-width: 768px) and (prefers-reduced-data: reduce) {
    .hero-background {
        background: var(--background-primary);
    }

    .shape {
        display: none;
    }

    .hero-stats .stat-item,
    .feature-item {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: white;
    }
}

/* About
 Section Loading and Dynamic Content Styles */
.about-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 300px;
}

.about-loading .loading-spinner {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.about-loading .loading-spinner::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border: 3px solid #f3f4f6;
    border-top: 3px solid #d4af37;
    border-radius: 50%;
    animation: aboutSpin 1s linear infinite;
}

.about-loading p {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

@keyframes aboutSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.about-content {
    animation: aboutFadeIn 0.6s ease-in-out;
}

@keyframes aboutFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-fallback {
    animation: aboutFadeIn 0.6s ease-in-out;
}

/* Article-Style About Content Layout with Text Wrapping */
.about-content .article-content {
    position: relative;
    overflow: hidden;
}

.about-content .article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #374151;
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;
}

/* Inline Images that Text Wraps Around */
.about-content .article-image-inline {
    margin: 0;
    padding: 0;
    max-width: 350px;
    position: relative;
}

.about-content .article-image-inline.left {
    float: left;
    margin: 0 2rem 1.5rem 0;
    shape-outside: margin-box;
}

.about-content .article-image-inline.right {
    float: right;
    margin: 0 0 1.5rem 2rem;
    shape-outside: margin-box;
}

/* Clearfix utility */
.about-content .clearfix {
    clear: both;
    height: 0;
    overflow: hidden;
}

.about-content .article-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.about-content .article-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.about-content .image-caption {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.75rem;
    font-style: italic;
    line-height: 1.4;
    text-align: center;
    padding: 0 0.5rem;
}

/* Clear floats after each section */
.about-content .article-section::after {
    content: "";
    display: table;
    clear: both;
}

.about-content .about-article {
    margin: 3rem 0;
}

.about-content .article-content {
    line-height: 1.8;
    color: #374151;
    max-width: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.about-content .article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;
}

.about-content .article-content h3 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #d4af37;
    clear: both;
}

/* Article Typography Enhancements */
.about-content .article-content p:first-of-type {
    font-size: 1.15rem;
    font-weight: 400;
    color: #1f2937;
}

.about-content .article-content p:first-of-type::first-letter {
    font-size: 3.5rem;
    font-weight: 700;
    float: left;
    line-height: 1;
    margin: 0.1rem 0.5rem 0 0;
    color: #d4af37;
    font-family: Georgia, serif;
}

/* Link Styles for About Content */
.about-content .article-content a {
    color: #d4af37;
    text-decoration: underline;
    text-decoration-color: rgba(212, 175, 55, 0.3);
    text-underline-offset: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

.about-content .article-content a:hover {
    color: #b8941f;
    text-decoration-color: #b8941f;
    text-decoration-thickness: 2px;
    background-color: rgba(212, 175, 55, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

.about-content .article-content a:active {
    color: #9d7e1a;
    transform: translateY(1px);
}

.about-content .article-content a:visited {
    color: #a68b2e;
}

/* External link indicator */
.about-content .article-content a[href^="http"]:after,
.about-content .article-content a[href^="https"]:after {
    content: " ↗";
    font-size: 0.8em;
    opacity: 0.7;
    margin-left: 2px;
}

/* Email link styling */
.about-content .article-content a[href^="mailto:"]:before {
    content: "✉ ";
    font-size: 0.9em;
    opacity: 0.8;
}

/* Phone link styling */
.about-content .article-content a[href^="tel:"]:before {
    content: "📞 ";
    font-size: 0.9em;
    opacity: 0.8;
}

/* Focus styles for accessibility */
.about-content .article-content a:focus {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 3px;
}

/* Ensure links are distinguishable from regular text */
.about-content .article-content a {
    word-break: break-word;
    hyphens: none;
}

/* Long URL handling */
.about-content .article-content a[href^="http"] {
    word-break: break-all;
    overflow-wrap: break-word;
}

/* Quote styling for better article appearance */
.about-content .article-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: #f9fafb;
    border-left: 4px solid #d4af37;
    font-style: italic;
    font-size: 1.1rem;
    color: #374151;
    clear: both;
}

.about-content .article-content blockquote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Links in blockquotes */
.about-content .article-content blockquote a {
    color: #b8941f;
    font-weight: 600;
}

.about-content .article-content blockquote a:hover {
    color: #d4af37;
    background-color: rgba(212, 175, 55, 0.15);
}

/* Mobile News Article Layout */
@media (max-width: 768px) {
    .about-content .article-content p {
        font-size: 1rem;
        line-height: 1.7;
        text-align: left;
        margin-bottom: 1.25rem;
        hyphens: none;
    }

    /* Mobile: All images are full-width and centered, no floating */
    .about-content .article-image-inline {
        float: none !important;
        margin: 1.5rem 0 !important;
        max-width: 100% !important;
        text-align: center;
        clear: both;
        display: block;
    }

    .about-content .article-image-inline.left,
    .about-content .article-image-inline.right {
        float: none !important;
        margin: 1.5rem 0 !important;
        text-align: center;
    }

    .about-content .article-img {
        max-width: 100%;
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .about-content .image-caption {
        font-size: 0.8rem;
        margin-top: 0.5rem;
        padding: 0 1rem;
        color: #6b7280;
    }

    .about-loading {
        padding: 2rem 1rem;
        min-height: 200px;
    }

    .about-content .article-content h3 {
        font-size: 1.25rem;
        margin: 2rem 0 0.75rem 0;
        clear: both;
    }

    /* Mobile typography adjustments */
    .about-content .article-content p:first-of-type::first-letter {
        font-size: 2.5rem;
        margin: 0.05rem 0.3rem 0 0;
    }

    .about-content .article-content p:first-of-type {
        font-size: 1.05rem;
    }

    .about-content .article-content blockquote {
        margin: 1.5rem 0;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        clear: both;
    }
}

/* Tablet-specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .about-content .article-image-inline {
        max-width: 300px;
    }

    .about-content .article-image-inline.left {
        margin: 0 1.5rem 1rem 0;
    }

    .about-content .article-image-inline.right {
        margin: 0 0 1rem 1.5rem;
    }

    .about-content .article-content p {
        font-size: 1.05rem;
    }
}

/* Desktop enhancements for better text wrapping */
@media (min-width: 1025px) {
    .about-content .article-image-inline {
        max-width: 400px;
    }

    .about-content .article-image-inline.left {
        margin: 0 2.5rem 1.5rem 0;
    }

    .about-content .article-image-inline.right {
        margin: 0 0 1.5rem 2.5rem;
    }

    /* Better text wrapping with shape-outside */
    .about-content .article-image-inline.left,
    .about-content .article-image-inline.right {
        shape-outside: margin-box;
        shape-margin: 1rem;
    }
}

/* Enhanced About Header for Dynamic Content */
.about-content .about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-content .about-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content .about-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Enhanced Hero Image for Dynamic Content */
.about-content .about-hero-image {
    margin: 3rem 0;
    text-align: center;
}

.about-content .about-hero-image .hero-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content .about-hero-image .hero-img:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.about-content .about-hero-image .image-caption {
    margin-top: 1rem;
    font-size: 1rem;
    color: #6b7280;
    font-style: italic;
}

@media (max-width: 768px) {
    .about-content .about-header h2 {
        font-size: 2rem;
        /* Remove gradient text on mobile for better visibility */
        background: none !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: unset !important;
        background-clip: unset !important;
        color: #d4af37 !important;
        /* Ensure visibility */
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        text-shadow: none !important;
        /* Add some spacing */
        margin-bottom: 1rem;
        padding: 0 1rem;
    }

    .about-content .about-header {
        margin-bottom: 2rem;
        padding: 1rem;
        /* Ensure visibility */
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        /* Override any animation states */
        transform: none !important;
        animation: none !important;
    }

    .about-content .about-subtitle {
        font-size: 1.1rem;
        /* Ensure visibility */
        opacity: 1 !important;
        visibility: visible !important;
        color: #6b7280 !important;
        padding: 0 1rem;
    }

    /* Override scroll animations on mobile for about header */
    .about-content .about-header.scroll-reveal,
    .about-content .about-header {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        animation: none !important;
    }

    /* Mobile-friendly link styles */
    .about-content .article-content a {
        /* Larger touch targets for mobile */
        padding: 6px 8px;
        margin: -3px -4px;
        border-radius: 4px;
        /* Ensure links are easily tappable */
        min-height: 44px;
        display: inline-block;
        line-height: 1.4;
        /* Remove hover effects on mobile (use active instead) */
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
        text-decoration-thickness: 1px;
    }

    .about-content .article-content a:hover {
        /* Disable hover on mobile */
        background-color: transparent;
        padding: 6px 8px;
        text-decoration-thickness: 1px;
    }

    .about-content .article-content a:active {
        background-color: rgba(212, 175, 55, 0.2);
        color: #d4af37;
        transform: none;
    }

    /* Adjust external link indicators for mobile */
    .about-content .article-content a[href^="http"]:after,
    .about-content .article-content a[href^="https"]:after {
        font-size: 0.9em;
    }

    .about-content .about-hero-image {
        margin: 2rem 0;
    }
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

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

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    gap: 1rem;
}

.notification-message {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

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

.notification-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.notification-success {
    border-left: 4px solid #10b981;
}

.notification-success .notification-message {
    color: #065f46;
}

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

.notification-error .notification-message {
    color: #991b1b;
}

.notification-info {
    border-left: 4px solid #3b82f6;
}

.notification-info .notification-message {
    color: #1e40af;
}

/* Loading spinner for form button */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile notification adjustments */
@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100%);
    }

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

    .notification-content {
        padding: 0.875rem 1rem;
    }

    .notification-message {
        font-size: 0.875rem;
    }
}

/* 
New Pages Styles */

/* Donate Page Styles */
.donate-content {
    padding: var(--spacing-3xl) 0;
    background: var(--background-primary);
}

.donate-info {
    margin-bottom: var(--spacing-3xl);
    text-align: center;
}

.donate-info h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
}

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

.impact-card {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
    text-align: center;
    transition: var(--transition-smooth);
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
}

.impact-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.impact-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.donate-form-section {
    text-align: center;
}

.donate-form-section h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
}

.donate-frame-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-medium);
}

/* Moments Page Styles */
.moments-content {
    padding: var(--spacing-3xl) 0;
    background: var(--background-primary);
}

.moments-intro {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.moments-intro h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.moments-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.moments-gallery {
    margin-bottom: var(--spacing-3xl);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.gallery-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.gallery-item.placeholder {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    padding: var(--spacing-xl);
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.6;
}

.placeholder-content p {
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
}

.moments-cta {
    text-align: center;
    background: var(--background-secondary);
    padding: var(--spacing-3xl);
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-2xl);
}

.moments-cta h3 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.moments-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

/* Reservations Page Styles */
.reservations-content {
    padding: var(--spacing-3xl) 0;
    background: var(--background-primary);
}

.reservations-info {
    margin-bottom: var(--spacing-3xl);
}

.reservations-info h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.info-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
    text-align: center;
    transition: var(--transition-smooth);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.reservation-form-section {
    margin-bottom: var(--spacing-3xl);
}

.reservation-form-section h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.reservation-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-2xl);
}

.method-card {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
}

.method-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.method-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.contact-options {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: var(--transition-fast);
}

.contact-btn svg {
    width: 20px;
    height: 20px;
}

.phone-btn {
    background: var(--primary-gold);
    color: var(--white);
}

.phone-btn:hover {
    background: var(--primary-gold-dark);
}

.whatsapp-btn {
    background: #25d366;
    color: var(--white);
}

.whatsapp-btn:hover {
    background: #20b858;
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.reservation-form input,
.reservation-form textarea {
    padding: var(--spacing-md);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.reservation-form input:focus,
.reservation-form textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.reservation-policies {
    background: var(--background-secondary);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
}

.reservation-policies h2 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.policy-item h4 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.policy-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

    .impact-grid,
    .info-grid,
    .policies-grid {
        grid-template-columns: 1fr;
    }

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

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

    .contact-options {
        flex-direction: column;
    }

    .donate-info h2,
    .moments-intro h2,
    .reservations-info h2,
    .reservation-form-section h2 {
        font-size: 2rem;
    }

    .moments-cta h3 {
        font-size: 1.5rem;
    }
}

/* Kvitel
 Page Styles */
.kvitel-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 50%, var(--background-tertiary) 100%);
    min-height: 100vh;
}

.kvitel-header {
    text-align: center;
    margin-bottom: 3rem;
}

.kvitel-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.kvitel-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.kvitel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.kvitel-info {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.kvitel-info h2 {
    color: var(--primary-brown);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.kvitel-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.kvitel-benefits {
    background: linear-gradient(135deg, #f8f5f0 0%, #f0ebe0 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-gold);
}

.kvitel-benefits h3 {
    color: var(--primary-brown);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.kvitel-benefits ul {
    list-style: none;
    padding: 0;
}

.kvitel-benefits li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
    font-weight: 500;
}

.kvitel-benefits li:before {
    content: "🕊️";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.kvitel-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.kvitel-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fdfbf7;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: white;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.submit-kvitel-btn {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.submit-kvitel-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.submit-kvitel-btn:hover::before {
    left: 100%;
}

.submit-kvitel-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.submit-kvitel-btn:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.submit-kvitel-btn:hover .btn-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .kvitel-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .kvitel-header h1 {
        font-size: 2.2rem;
    }

    .kvitel-info,
    .kvitel-form-container {
        padding: 1.5rem;
    }

    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Mobile responsive styles - consolidated above */

@media (max-width: 480px) {
    .nav {
        padding: 0.6rem 1rem;
        min-height: 55px;
    }

    .nav-links {
        gap: 0.3rem;
    }

    .nav-links a {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
        min-height: auto;
    }

    .logo {
        width: 65px;
        height: 15px;
    }
}

/* Desktop layout adjustments for new header structure */
@media (min-width: 1200px) {
    .nav {
        max-width: 1600px;
        padding: 1.4rem 3rem;
    }

    .nav-left,
    .nav-right {
        gap: 0.8rem;
    }

    .nav-left a,
    .nav-right a {
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
    }

    .logo {
        width: 120px;
        height: 36px;
    }

    .kvitel-btn {
        padding: 1rem 1.6rem;
        font-size: 0.95rem;
    }
}

/* Extra large screens */
@media (min-width: 1600px) {
    .nav {
        max-width: 1800px;
        padding: 1.6rem 4rem;
    }

    .nav-left,
    .nav-right {
        gap: 1rem;
    }

    .logo {
        width: 130px;
        height: 40px;
    }
}

/* Mo
bile responsive styles for reservations button */
@media (max-width: 768px) {
    .reservations-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .reservations-btn {
        padding: 0.9rem 1.4rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 1200px) {
    .reservations-btn {
        padding: 1rem 1.6rem;
        font-size: 0.95rem;
    }
}

@media (min-width: 1400px) {
    .reservations-btn {
        padding: 1rem 1.8rem;
        font-size: 1rem;
    }
}

/* Kvitel Page Styles */
.hero.kvitel-hero {
    min-height: 100vh;
    background: url('../images/kvitel-image.svg') center center/cover no-repeat !important;
}

/* Desktop kvitel hero with specific background */
@media (min-width: 769px) {
    .hero.kvitel-hero {
        background: url('../images/kvitel-image.svg') center center/cover no-repeat !important;
        min-height: 100vh;
    }
}

/* Mobile kvitel hero */
@media (max-width: 768px) {
    .hero.kvitel-hero {
        background: url('../images/kvitel-mobile-image.svg') center center/cover no-repeat !important;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 90px 0 40px;
    }
}

@media (max-width: 480px) {
    .hero.kvitel-hero {
        background: url('../images/kvitel-mobile-image.svg') center center/cover no-repeat !important;
        padding: 80px 0 35px;
    }
}

/* Kvitel hero landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero.kvitel-hero {
        background: url('../images/kvitel-mobile-image.svg') center center/cover no-repeat !important;
        min-height: 70vh;
        padding: 80px 1rem 40px;
    }
}

@media (max-width: 768px) and (orientation: landscape) and (max-height: 600px) {
    .hero.kvitel-hero {
        background: url('../images/kvitel-mobile-image.svg') center center/cover no-repeat !important;
        padding: 70px 0 30px;
    }
}

/* iOS Safari viewport fixes for kvitel hero */
@supports (-webkit-touch-callout: none) {
    .hero.kvitel-hero {
        min-height: -webkit-fill-available;
    }
}



.kvitel-header {
    text-align: center;
    margin-bottom: 3rem;
}

.kvitel-header h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.kvitel-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.kvitel-info {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
    border: 1px solid var(--border-light);
}

.kvitel-info h2 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.kvitel-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.kvitel-benefits h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.kvitel-benefits ul {
    list-style: none;
    padding: 0;
}

.kvitel-benefits li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.kvitel-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

.kvitel-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
    border: 1px solid var(--border-light);
}

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

.kvitel-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
}

.kvitel-form input,
.kvitel-form textarea,
.kvitel-form select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition-normal);
    background: var(--background-primary);
}

.kvitel-form input:focus,
.kvitel-form textarea:focus,
.kvitel-form select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.kvitel-form textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: var(--font-weight-normal);
    position: relative;
    padding-left: 2rem;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 4px;
    transition: var(--transition-normal);
}

.checkbox-label:hover input ~ .custom-checkbox {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.checkbox-label input:checked ~ .custom-checkbox {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.custom-checkbox:after {
    content: "";
    position: absolute;
    display: none;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

.checkbox-label input:checked ~ .custom-checkbox:after {
    display: block;
}

.pidyen-options {
    background: var(--background-tertiary);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    border: 1px solid var(--border-light);
}

.pidyen-options label {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
}

.amount-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.amount-chip {
    background: var(--white);
    border: 2px solid var(--border-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

.amount-chip:hover {
    border-color: var(--primary-gold);
    background: var(--background-secondary);
}

.amount-chip.selected {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--white);
}

.custom-amount-btn {
    background: linear-gradient(135deg, var(--primary-brown) 0%, #6d3410 100%);
    color: var(--white);
    border-color: var(--primary-brown);
}

.custom-amount-btn:hover {
    background: linear-gradient(135deg, #6d3410 0%, var(--primary-brown) 100%);
    border-color: #6d3410;
}

.custom-amount-btn.selected {
    background: linear-gradient(135deg, #5a2c0d 0%, #4a240a 100%);
    border-color: #5a2c0d;
    color: var(--white);
}

.custom-amount-input {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.custom-amount-input label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
}

.amount-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 0.75rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    z-index: 1;
}

.amount-input-wrapper input {
    padding-left: 2rem;
    width: 100%;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.amount-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.submit-kvitel-btn {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.submit-kvitel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.pay-btn {
    background: linear-gradient(135deg, #28a745 0%, #20923a 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.pay-btn:hover {
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Animation Overlays */
#loadingOverlay,
#successOverlay,
#paymentOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.loading-content,
.success-content,
.payment-content {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 400px;
    animation: slideUp 0.3s ease;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-light);
    border-top: 4px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #28a745;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    animation: bounce 0.6s ease;
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-content h3,
.payment-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.success-content p,
.payment-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    
    .kvitel-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .kvitel-info,
    .kvitel-form-container {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .amount-chips {
        justify-content: center;
    }
    
    .loading-content,
    .success-content,
    .payment-content {
        margin: 1rem;
        padding: 2rem;
    }
    
    /* Mobile checkbox alignment */
    .checkbox-group {
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    /* Larger checkboxes for mobile */
    .custom-checkbox {
        height: 24px;
        width: 24px;
    }
    
    .checkbox-label {
        padding-left: 2.5rem;
        font-size: 1rem;
        justify-content: flex-start;
    }
    
    .custom-checkbox:after {
        width: 7px;
        height: 12px;
        transform: translate(-50%, -60%) rotate(45deg);
    }
}

@media (max-width: 480px) {
    

    
    .container {
        padding: 0 1rem;
    }
    
    .amount-chips {
        flex-direction: column;
        align-items: stretch;
    }
    
    .amount-chip {
        text-align: center;
        padding: 0.75rem 1rem;
        margin-bottom: 0.5rem;
    }
    
    /* Even larger checkboxes for small mobile */
    .custom-checkbox {
        height: 28px;
        width: 28px;
    }
    
    .checkbox-label {
        padding-left: 3rem;
        font-size: 1.1rem;
        line-height: 1.4;
        justify-content: flex-start;
    }
    
    .custom-checkbox:after {
        width: 8px;
        height: 14px;
        border-width: 0 3px 3px 0;
        transform: translate(-50%, -60%) rotate(45deg);
    }
    
    .custom-amount-input {
        margin-top: 1rem;
    }
    
    .amount-input-wrapper input {
        font-size: 1.1rem;
        padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    }
    
    .currency-symbol {
        left: 1rem;
        font-size: 1.1rem;
    }
}


/* Coming Soon Section Styles */
.coming-soon-section {
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.coming-soon-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    max-width: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.coming-soon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #b8860b);
}

.coming-soon-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.coming-soon-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #541D23;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.coming-soon-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon-card .contact-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.coming-soon-card .contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.coming-soon-card .phone-btn {
    background: #541D23;
    color: white;
}

.coming-soon-card .phone-btn:hover {
    background: white;
    color: #541D23;
    border-color: #541D23;
    transform: translateY(-2px);
}

.coming-soon-card .whatsapp-btn {
    background: #25D366;
    color: white;
}

.coming-soon-card .whatsapp-btn:hover {
    background: white;
    color: #25D366;
    border-color: #25D366;
    transform: translateY(-2px);
}

.coming-soon-card .contact-btn svg {
    width: 20px;
    height: 20px;
}

/* Mobile responsiveness for coming soon */
@media (max-width: 768px) {
    .coming-soon-section {
        padding: 2rem 0;
        min-height: 50vh;
    }
    
    .coming-soon-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .coming-soon-title {
        font-size: 2rem;
    }
    
    .coming-soon-description {
        font-size: 1rem;
    }
    
    .coming-soon-card .contact-options {
        flex-direction: column;
        align-items: center;
    }
    
    .coming-soon-card .contact-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}