/* Malta Sokak - Custom Styles */
/* Mobile-First Approach with Bootstrap 5 */

/* ========================================
   Root Variables
   ======================================== */
:root {
    --primary-color: #2C2323;
    --text-light: #ffffff;
    --text-dark: #333333;
}

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

/* ========================================
   Image Loading Indicator Styles
   ======================================== */
.image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

/* Ensure images in white containers display properly */
.white-container .image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.white-container .image-container .container-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    margin: 0;
    display: block;
}

/* Ensure text content is above the image */
.white-container .image-text {
    position: relative;
    z-index: 2;
}

.white-container .transparent-overlay {
    position: relative;
    z-index: 2;
}

/* Fix card icons display - Override existing styles */
.card-item .image-container {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 65px !important;
    height: 65px !important;
    display: block !important;
    margin: 0 !important;
}

.card-item .image-container .card-icon {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    position: static !important;
    margin: 0 !important;
}

/* Card content positioning - text should be to the left of icon space on desktop */
.card-item .card-content {
    margin-left: 0 !important;
    margin-right: 95px !important; /* Space for larger icon (65px) + margin (30px) */
    padding-top: 0;
    padding-left: 20px !important;
    padding-right: 20px !important;
    text-align: left !important;
}

/* Desktop card-description should have same width as card-content */
@media (min-width: 769px) {
    .card-item .card-description {
        margin-right: 0 !important; /* No right margin - spans full width */
        margin-left: 0 !important;
        padding-right: 0 !important; /* No right padding */
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* FINAL Mobile adjustments for card icons and content - OVERRIDE ALL */
@media (max-width: 768px) {
    .card-item .image-container {
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        width: 60px !important;
        height: 60px !important;
        display: block !important;
        margin: 0 !important;
        z-index: 10 !important;
    }
    
    .card-item .image-container .card-icon {
        width: 60px !important;
        height: 60px !important;
        display: block !important;
        margin: 0 !important;
        position: static !important;
    }
    
    .card-item .card-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        padding: 20px !important;
        text-align: left !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .card-item .card-title {
        margin-right: 90px !important; /* Space for larger icon (60px) + margin (30px) */
        margin-bottom: 15px !important;
    }
    
    .card-item .card-description {
        margin-right: 90px !important; /* Same as card-title - space for icon (60px) + margin (30px) */
        padding-right: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .card-item {
        padding: 0 !important;
        width: 100% !important;
        max-width: 354px !important;
        height: auto !important;
        min-height: 200px !important;
        display: block !important;
        flex-direction: unset !important;
        align-items: unset !important;
        justify-content: unset !important;
    }
}

.image-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s ease;
}

/* Special positioning for white-container loading overlay to match transparent-overlay */
.white-container-2 .image-loading-overlay {
    left: auto !important;
    right: 0 !important;
    width: 50% !important;
}

/* Desktop text alignment for overlay elements */
.overlay-title {
    text-align: left !important;
}

.overlay-description {
    text-align: left !important;
}

/* Desktop positioning - place transparent-overlay inside image-loading-overlay area */
@media (min-width: 769px) {
    .white-container-2 .transparent-overlay {
        position: absolute !important;
        right: 0 !important;
        top: 0 !important;
        width: 50% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding-top: 80px !important;
        z-index: 15 !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
        padding-bottom: 40px !important;
        background: transparent !important;
        pointer-events: auto !important;
    }
}

.image-loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e0e0e0;
    border-top: 3px solid #2B2020;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-dots {
    display: flex;
    gap: 4px;
}

.loading-dot {
    width: 8px;
    height: 8px;
    background-color: #2B2020;
    border-radius: 50%;
    animation: loading-pulse 1.4s ease-in-out infinite both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }
.loading-dot:nth-child(3) { animation-delay: 0; }

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

@keyframes loading-pulse {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Hero Loading Indicator */
.hero-loading-indicator {
    margin: 30px 20px 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.hero-loading-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Mobile adjustments for hero loading indicator */
@media (max-width: 768px) {
    .hero-loading-indicator {
        margin: 25px 15px 0 15px;
    }
}

/* Hero reveal animations - automatic on page load */
.hero-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Scroll Reveal Animation Styles
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.reveal-fade.active {
    opacity: 1;
}

.reveal-slide-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-slide-right {
    opacity: 0;
    transform: translateX(80px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ========================================
   Lazy Loading Styles
   ======================================== */
img[loading="lazy"] {
    background: #f0f0f0;
    min-height: 100px;
}

img[loading="lazy"].loaded {
    background: transparent;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    background: linear-gradient(rgba(44, 35, 35, 0.4), rgba(44, 35, 35, 0.4));
    overflow: hidden;
}

.hero-section .hero-background {
    z-index: -1;
}

.hero-content {
    z-index: 2;
}

.hero-logo-img {
    max-width: 194px;
    height: 87px;
    width: auto;
}

/* Base Hero Title Styles */
.hero-title {
    color: #F5F5F0;
    font-size: 67.13px;
    font-family: 'Cinzel', serif;
    font-weight: 400;
    line-height: 67.13px;
    word-wrap: break-word;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Base Hero Subtitle Styles */
.hero-subtitle {
    color: white;
    font-size: 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 30.72px;
    word-wrap: break-word;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

@media (max-width: 575.98px) {
    .hero-logo-img {
        max-width: 140px;
        height: auto;
    }
    
    .hero-title-desktop {
        display: none !important;
    }
    
    .hero-title-section.text-center {
        text-align: center !important;
    }
    
    .hero-title-mobile {
        display: block !important;
        width: 100% !important;
        max-width: 450px !important;
        word-spacing: normal !important;
        letter-spacing: -0.617px !important;
        text-align: center !important;
        margin: 0 auto !important;
    }
    
    .mobile-line-2, .mobile-line-3, .mobile-line-4 {
        display: inline !important;
        white-space: nowrap !important;
    }
    
    .mobile-line-3 {
        margin-left: 0.3em !important;
        margin-right: 0.3em !important;
    }
    
    .hero-title {
        width: 100%;
        max-width: 450px;
        height: auto;
        color: #F5F5F0;
        text-align: center;
        font-family: 'Cinzel', serif;
        font-size: 30.845px !important;
        font-style: normal;
        font-weight: 400;
        line-height: 100% !important; /* 30.845px */
        letter-spacing: -0.617px;
        margin: 0 auto;
    }
    
    .hero-subtitle {
        width: 338px !important;
        height: 109px !important;
        color: #FFF !important;
        text-align: center !important;
        font-family: 'Inter', sans-serif !important;
        font-size: 16px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 128% !important; /* 20.48px */
        letter-spacing: -0.32px !important;
        margin: 0 auto !important;
    }
    
    .hero-cta-btn {
        padding: 7px 20px;
    }
    
    .hero-cta-text {
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* MOVED ABOVE MOBILE MEDIA QUERY TO AVOID CONFLICTS */

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

.hero-title-mobile {
    display: none;
}

.nowrap {
    white-space: nowrap !important;
    display: inline-block !important;
}

/* Base Desktop Dark Title Styles */
.dark-title {
    color: white;
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 120%;
    margin-bottom: 30px;
}

.dark-title-centered {
    color: white;
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 120%;
    margin-bottom: 40px;
    text-align: center;
}

/* Base Desktop Contact Form Title Styles */
.contact-form-title {
    color: #FFF;
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.96px;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

.hero-buttons {
    margin-top: 200px;
    margin-bottom: 40px;
}

.hero-cta-btn {
    padding: 7px 30px;
    background: #FD9F02;
    border-radius: 40px;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-cta-btn:hover {
    background: #e68900;
    transform: translateY(-2px);
    text-decoration: none;
}

.hero-cta-text {
    color: #090909;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 32px;
    word-wrap: break-word;
}

.hero-cta-icon {
    width: 24px;
    height: 24px;
    position: relative;
    overflow: hidden;
}

.hero-cta-arrow {
    width: 10px;
    height: 10px;
    position: absolute;
    left: 7px;
    top: 7.2px;
    border: 2px solid #090909;
    border-left: none;
    border-bottom: none;
    transform: rotate(45deg);
}

/* ========================================
   Scroll Indicator
   ======================================== */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-icon-wrapper {
    cursor: pointer;
    transition: all 0.3s ease;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-icon-wrapper:hover {
    transform: translateY(-8px);
    animation-play-state: paused;
}

.scroll-mouse-icon {
    width: 61px;
    height: 60px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.scroll-icon-wrapper:hover .scroll-mouse-icon {
    filter: brightness(0) invert(1) drop-shadow(0 5px 15px rgba(255,255,255,0.3));
    transform: scale(1.1);
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

.scroll-text {
    color: white;
    font-size: 18.64px;
    font-family: 'Actor', sans-serif;
    font-weight: 400;
    line-height: 26.65px;
    word-wrap: break-word;
    transition: all 0.3s ease;
}

.scroll-icon-wrapper:hover .scroll-text {
    color: #FD9F02;
    transform: translateY(-2px);
}

/* Mobile Hero Height */
@media (max-width: 767.98px) {
    .hero-section {
        height: 748px !important;
    }
    
    .hero-content {
        padding-top: 2rem !important;
    }
    
    /* Mobile counter styles */
    .stat-number {
        font-size: 16px !important;
        margin-bottom: 0 !important;
        line-height: 23px !important;
        font-family: 'DM Sans', sans-serif !important;
        font-weight: 400 !important;
        color: #FFF !important;
        text-align: center !important;
        white-space: nowrap !important;
        display: inline-block !important;
        width: 10px !important;
        min-width: 10px !important;
        max-width: 10px !important;
        overflow: visible !important;
        padding: 0 !important;
    }
    
    .stat-label {
        font-size: 16px !important;
        font-weight: 400 !important;
        line-height: 23px !important;
        font-family: 'DM Sans', sans-serif !important;
        color: #FFF !important;
        text-align: center !important;
        white-space: nowrap !important;
        display: inline !important;
        width: auto !important;
        flex-shrink: 0 !important;
        margin-left: 5px !important;
        text-transform: none !important;
    }
    
    .stat-text {
        font-size: 16px !important;
        font-weight: 400 !important;
        line-height: 23px !important;
        font-family: 'DM Sans', sans-serif !important;
        color: #FFF !important;
        text-align: center !important;
        text-transform: none !important;
    }
    
    .stat-item-new {
        margin-bottom: 30px !important;
        padding: 0 15px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: nowrap !important;
        gap: 1ch !important;
        width: auto !important;
        max-width: fit-content !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .stats-section .row {
        flex-direction: column !important;
    }
    
    .stats-section .col-12,
    .stats-section .col-md-3 {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .stat-divider {
        display: none !important;
    }
    
    .stats-section {
        height: auto !important;
        min-height: 300px !important;
        padding: 30px 0 !important;
    }
    
    .stats-section .position-absolute {
        position: relative !important;
    }
}

@media (min-width: 768px) {
    .hero-content {
        padding-top: 3rem;
    }
}

/* ========================================
   Stats Section
   ======================================== */
.stat-item-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
}

/* Desktop layout - numbers and labels in same line */
@media (min-width: 768px) {
    .stat-item-new {
        flex-direction: row;
        gap: 15px;
        justify-content: center;
        align-items: center;
    }
    
    .stat-number {
        color: #FFF;
        text-align: center;
        font-family: "DM Sans", sans-serif;
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 23px;
        margin-bottom: 0;
    }
    
    .stat-label {
        color: #FFF;
        text-align: center;
        font-family: "DM Sans", sans-serif;
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 23px;
    }
    
    .stat-text {
        color: #FFF;
        text-align: center;
        font-family: "DM Sans", sans-serif;
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 23px;
    }
}

.stat-number {
    font-size: 24px;
    font-weight: 400;
    color: #FFFFFF;
    font-family: 'DM Sans', sans-serif;
    display: block;
    transition: all 0.3s ease;
    line-height: 23px;
}

.stat-label {
    font-size: 24px;
    font-weight: 400;
    color: #FFFFFF;
    font-family: 'DM Sans', sans-serif;
    line-height: 23px;
}

.stat-text {
    color: #FFFFFF;
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 23px;
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    background: #2b2020 !important;
    height: 100px;
    position: relative;
}

.stats-gradient-bar {
    height: 124px;
    padding: 0 71px;
    background: transparent;
}

.stat-item-new {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    background: transparent;
}

.stat-text {
    color: white;
    font-size: 24px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 23px;
    word-wrap: break-word;
    text-align: center;
}

.stat-divider {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 109px;
    background: linear-gradient(180deg, rgba(2, 14, 14, 0.10) 0%, rgba(16.57, 116, 116, 0.10) 100%);
}

.stats-section .container,
.stats-section .row {
    background: transparent !important;
}

@media (max-width: 767.98px) {
    .stats-section {
        height: auto !important;
        position: relative !important;
        background: #2C2323 !important;
        padding: 20px 20px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .stats-section > div {
        position: relative !important;
        height: auto;
        padding: 0;
    }
    
    .stat-text {
        font-size: 16px;
        line-height: 23px;
    }
    
    .stat-item-new {
        padding: 8px 0;
        background: transparent;
        height: auto;
        min-height: unset;
    }
    
    .stats-section .row {
        gap: 15px;
    }
    
    .stats-section .col-12 {
        margin-bottom: 0;
    }
}

/* ========================================
   Content Section
   ======================================== */
.content-section {
    padding: 80px 0;
    background-image: url('../assets/images/optimized_images/pattern light.webp.webp');
    background-repeat: repeat;
    background-size: auto;
    background-position: top left;
}

.section-title {
    color: var(--primary-color);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.2;
}

.feature-item {
    margin-bottom: 1rem;
}

.feature-item i {
    color: var(--primary-color) !important;
}

/* ========================================
   Image Section
   ======================================== */
.image-section {
    width: 100%;
    height: 1200px;
    flex-shrink: 0;
    background-color: white;
    background-image: url('../assets/images/optimized_images/pattern_light.webp.webp');
    background-position: -271.368px -23px;
    background-size: 126.842% 104.261%;
    background-repeat: no-repeat;
}

.image-section-title {
    width: 100%;
    max-width: 823px;
    height: auto;
    flex-shrink: 0;
    color: #231C1C;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 67.127px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -1.343px;
    margin: 120px auto 120px auto;
    padding: 0 20px;
}

.white-container {
    width: 100%;
    max-width: 1200px;
    height: 400px;
    flex-shrink: 0;
    border-radius: 20px;
    background: #FFF;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.white-container-2 {
    margin: 0 auto !important;
    padding: 0 !important;
}

.container-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    margin: 0;
}

.image-text {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.image-title {
    width: 100%;
    max-width: 374px;
    color: #302424;
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -0.72px;
    margin-bottom: 20px;
}

.image-description {
    width: 100%;
    max-width: 389px;
    color: #302424;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: -0.36px;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 0 auto;
    padding: 0 20px;
}

.card-item {
    width: 100%;
    max-width: 380px;
    height: 240px;
    flex-shrink: 0;
    border-radius: 20px;
    background: #F0EEEC;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
}

.card-content {
    margin-top: 30px;
}

.card-title {
    color: #302424;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

.card-description {
    color: #302424;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: -0.54px;
    margin: 0;
    padding-right: 20px;
}

@media (max-width: 767.98px) {
    .image-section {
        height: auto;
        min-height: 400px;
        background-position: center;
        padding: 40px 20px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .image-section-title {
        width: 100%;
        height: auto;
        font-size: 34.514px;
        line-height: 120%;
        letter-spacing: -0.69px;
        margin: 60px 0 40px 0;
        text-align: left;
        padding: 0 20px;
    }

    .white-container {
        width: 100%;
        max-width: 354px;
        height: 450px;
        flex-shrink: 0;
        aspect-ratio: 59/75;
        background: transparent;
        margin: 0;
        position: relative;
    }

    .image-text {
        position: absolute;
        top: 150px;
        left: 20px;
        right: 20px;
        z-index: 2;
        padding: 0;
        background: transparent;
    }

    .container-image {
        content: url('../assets/images/optimized_images/image2 mobile.webp.webp');
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
        position: absolute;
        top: 0;
        left: 0;
    }

    .image-title {
        width: 100%;
        font-size: 28px;
        margin-bottom: 15px;
        color: #302424;
    }

    .image-description {
        width: 100%;
        font-size: 16px;
        line-height: 25.695px;
        letter-spacing: -0.16px;
        color: #302424;
    }

    .cards-container {
        flex-direction: column;
        width: 100%;
        gap: 20px;
        margin-top: 30px;
        padding: 0;
    }

    .card-item {
        width: 100%;
        max-width: 354px;
        height: auto;
        min-height: 200px;
        margin: 0;
        border-radius: 20px;
        background: #F0EEEC;
        padding: 20px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-description {
        font-size: 16px;
        line-height: 25.695px;
        letter-spacing: -0.16px;
        padding-right: 10px;
    }

    .dark-title {
        width: 289.333px !important;
        color: #FFF !important;
        font-family: 'Cinzel', serif !important;
        font-size: 34.514px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 120% !important; /* 41.416px */
        letter-spacing: -0.69px !important;
        margin: 0 0 25px 0 !important;
        text-align: left !important;
    }

    .dark-subtitle,
    .dark-list li {
        color: #FFF;
        font-family: 'Inter', sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 25.695px;
        letter-spacing: -0.16px;
    }
    
    .dark-image-container {
        padding: 0 15px;
    }
    
    .dark-image {
        width: 100%;
        max-width: 354px;
        margin: 0;
        display: block;
        border-radius: 15px;
    }

    /* Image Section 2 Mobile Styles - Match image-section exactly */
    .image-section-2 {
        height: auto;
        min-height: 1560px;
        background-size: cover;
        background-position: center;
        padding: 40px 20px 100px 20px;
        position: relative;
        overflow: visible;
    }

    .image-section-2 .image-section-title {
        width: 100%;
        height: auto;
        font-size: 34.514px;
        line-height: 120%;
        letter-spacing: -0.69px;
        margin: 60px 0 40px 0;
        text-align: left;
        padding: 0 20px;
    }

    .image-section-2 .white-container {
        width: 100%;
        max-width: 354px;
        height: 450px;
        flex-shrink: 0;
        aspect-ratio: 59/75;
        background: transparent;
        margin: 0;
        position: relative;
    }

    .image-section-2 .container-image {
        content: url('../assets/images/optimized_images/image1 mobile.webp.webp');
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
        position: absolute;
        top: 0;
        left: 0;
    }

    .image-section-2 .transparent-overlay {
        display: none !important;
    }
    
    .image-section-2 .image-text {
        position: absolute !important;
        top: 30px !important;
        left: 20px !important;
        right: 20px !important;
        z-index: 2 !important;
        padding: 0 !important;
        background: transparent !important;
        display: block !important;
        width: auto !important;
        height: auto !important;
        transform: none !important;
    }

    .image-section-2 .overlay-title {
        width: 100%;
        font-size: 28px;
        margin-bottom: 15px;
        color: #302424;
        text-align: left;
    }

    .image-section-2 .overlay-description {
        width: 100%;
        font-size: 16px;
        line-height: 25.695px;
        letter-spacing: -0.16px;
        color: #302424;
        text-align: left;
    }

    .image-section-2 .cards-container {
        flex-direction: column;
        width: 100%;
        gap: 20px;
        margin-top: 30px;
        padding: 0;
    }

    .image-section-2 .card-item {
        width: 100%;
        max-width: 354px;
        height: auto;
        min-height: 200px;
        margin: 0;
        border-radius: 20px;
        background: #F0EEEC;
        padding: 20px;
    }

    .image-section-2 .card-title {
        font-size: 18px;
    }

    .image-section-2 .card-description {
        font-size: 16px;
        line-height: 25.695px;
        letter-spacing: -0.16px;
        padding-right: 10px;
    }

    /* Contact Section Mobile Positioning */
    .contact-section {
        margin-top: 0;
        padding-top: 60px !important;
    }
}

/* ========================================
   Dark Pattern Section
   ======================================== */
.dark-pattern-section {
    width: 100%;
    min-height: 600px;
    background-image: url('../assets/images/optimized_images/patrern dark.webp.webp');
    background-repeat: repeat;
    background-size: auto;
    background-position: top left;
    padding: 80px 0;
}

.dark-content {
    padding: 20px;
}

/* MOVED ABOVE MOBILE MEDIA QUERY TO AVOID CONFLICTS */

.dark-subtitle {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.dark-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dark-list li {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 12px;
}

.dark-image-container {
    padding: 20px;
}

.dark-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ========================================
   Image Section 2 Styles
   ======================================== */
.image-section-2 {
    background-image: url('../assets/images/optimized_images/pattern_light.webp.webp');
    background-size: 126.842% 104.261%;
    background-repeat: no-repeat;
    background-color: white;
    width: 100%;
    height: 1200px;
    flex-shrink: 0;
}

.image-section-2 .image-text {
    display: none;
}

.white-container-2 {
    position: relative;
    margin: 0;
    padding: 0;
}

.image-text-2 {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 100%;
    max-width: 374px;
}

.image-text-2 .image-title {
    text-align: left;
}

.image-text-2 .image-description {
    text-align: left;
}

.transparent-overlay {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: transparent;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.overlay-title {
    color: #302424;
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: -0.72px;
    margin-bottom: 20px;
    text-align: center;
}

.overlay-description {
    color: #302424;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: -0.4px;
    text-align: center;
}

/* ========================================
   New Gallery Section
   ======================================== */
.gallery-section-new {
    width: 100%;
    background-color: white;
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.gallery-title {
    color: #231C1C;
    font-family: 'Cinzel', serif;
    font-size: 67.127px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -1.343px;
    margin-bottom: 60px;
    text-align: left;
}

.gallery-buttons {
    margin-bottom: 60px;
}

.gallery-btn {
    display: inline-flex;
    min-width: 144px;
    height: 53px;
    padding: 2px 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 25px;
    background: rgba(48, 36, 36, 0.30);
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(5px);
    border: none;
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 20px;
    white-space: nowrap;
}

.gallery-btn:hover,
.gallery-btn-active {
    background: #302424;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(5px);
    color: #FFF;
}

.gallery-grid {
    width: 100%;
}

.gallery-tab-content {
    display: none !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.gallery-tab-content.gallery-tab-active {
    display: grid !important;
}

.gallery-image-item {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    /* Touch optimizations */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.gallery-modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 3D perspective for flip animation */
    perspective: 1000px;
    -webkit-perspective: 1000px;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    /* Performance optimizations */
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Touch optimizations */
    touch-action: pan-y pinch-zoom;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    /* 3D Flip Animation */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* 3D Flip animation state */
.gallery-modal-image.flipping {
    pointer-events: none;
}

.gallery-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.gallery-close svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.gallery-close:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.gallery-close:hover svg {
    transform: rotate(90deg);
}

.gallery-close:active {
    transform: scale(0.95);
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.gallery-next {
    right: 30px;
}

.gallery-prev {
    left: 30px;
}

.gallery-prev svg,
.gallery-next svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev:hover svg {
    transform: translateX(-2px);
}

.gallery-next:hover svg {
    transform: translateX(2px);
}

.gallery-prev:active,
.gallery-next:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-modal-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #ccc;
    text-align: center;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
}

.gallery-swipe-info {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 15px;
    display: none;
    font-family: 'Inter', sans-serif;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Gallery Modal Mobile Styles */
@media (max-width: 767.98px) {
    .gallery-modal-content {
        width: 95%;
        padding: 10px;
    }
    
    .gallery-modal-image {
        /* Better mobile viewport handling */
        max-height: 80vh; /* Reduced to account for browser UI */
        max-height: 80dvh; /* Dynamic viewport height for modern browsers */
        max-width: 95vw;
        border-radius: 8px;
        /* Ensure images are sharp on high-DPI screens */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .gallery-close {
        top: 10px;
        right: 10px;
        font-size: 28px;
        width: 36px;
        height: 36px;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .gallery-prev,
    .gallery-next {
        display: none; /* Hide navigation buttons on mobile and tablets */
    }
    
    
    .gallery-swipe-info {
        display: block; /* Show swipe info on mobile */
    }
    
    .gallery-modal-caption {
        font-size: 12px;
        padding: 6px 12px;
        bottom: 5px;
        max-width: 90%;
        background: rgba(0, 0, 0, 0.7);
    }
}

/* Gallery Modal Tablet Styles */
@media (min-width: 768px) and (max-width: 991.98px) {
    .gallery-modal-content {
        width: 92%;
    }
    
    .gallery-modal-image {
        max-height: 88vh;
    }
}

/* Mobile styles for gallery */
@media (max-width: 767.98px) {
    .gallery-section-new {
        padding: 60px 0 40px 0;
        margin-top: 0;
        position: relative;
        z-index: 10;
        clear: both;
    }
    
    .gallery-title {
        font-size: 34.514px;
        line-height: 120%;
        letter-spacing: -0.69px;
        margin: 0 0 30px 0;
        padding: 20px 20px 0 20px;
        text-align: left;
        position: relative;
        z-index: 20;
        background: white;
    }
    
    .gallery-buttons {
        margin-bottom: 30px;
        padding: 0 20px;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .gallery-btn {
        padding: 12px 24px;
        font-size: 16px;
        margin-right: 0;
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
    
    .gallery-grid {
        padding: 0 20px;
    }
    
    .gallery-tab-content {
        display: none !important;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }
    
    .gallery-tab-content.gallery-tab-active {
        display: grid !important;
    }
    
    .gallery-image-item {
        width: 100%;
        max-width: 354px;
        height: 280px;
        border-radius: 15px;
        margin: 0;
    }
    
    .gallery-image {
        border-radius: 15px;
    }
}

/* Tablet styles for gallery */
@media (min-width: 768px) and (max-width: 991.98px) {
    .gallery-section-new {
        padding: 80px 0;
    }
    
    .gallery-title {
        font-size: 48px;
        margin-bottom: 50px;
    }
    
    .gallery-tab-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .gallery-image-item {
        height: 280px;
    }
}

/* ========================================
   Location Section
   ======================================== */
.location-section {
    width: 100%;
    background-image: url('../assets/images/optimized_images/patrern dark.webp.webp');
    background-repeat: repeat;
    background-size: auto;
    background-position: top left;
    background-color: #2C2323;
    padding: 100px 0;
}

.location-content {
    padding: 20px;
}

.location-title {
    color: #FFF;
    font-family: 'Cinzel', serif;
    font-size: 67.127px;
    font-style: normal;
    font-weight: 400;
    line-height: 105%;
    letter-spacing: -1.343px;
    margin-bottom: 30px;
    text-align: left;
}

.location-description {
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 139%;
    letter-spacing: -0.36px;
    margin-bottom: 30px;
}

.location-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-list li {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.32px;
    margin-bottom: 12px;
}

.location-map-container {
    padding: 20px;
}

.location-map {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

/* Mobile styles for location section */
@media (max-width: 767.98px) {
    .location-section {
        padding: 60px 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .location-section .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .location-content {
        padding: 0;
        text-align: left;
        margin-bottom: 40px;
        width: 100%;
    }
    
    .location-title {
        font-size: 34.514px;
        line-height: 120%;
        letter-spacing: -0.69px;
        margin: 0 0 25px 0;
        text-align: left;
    }
    
    .location-description {
        font-size: 16px;
        line-height: 25.695px;
        letter-spacing: -0.16px;
        margin-bottom: 25px;
    }
    
    .location-list li {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .location-map-container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .location-map {
        width: 100%;
        max-width: 354px;
        height: 300px;
        border-radius: 15px;
        overflow: hidden;
        margin: 0;
    }
    
    .location-map iframe {
        width: 100% !important;
        max-width: 100% !important;
        height: 300px !important;
        border-radius: 15px;
        border: none;
        display: block;
    }
    
    /* Stack content vertically on mobile */
    .location-section .row {
        flex-direction: column;
        margin: 0;
        width: 100%;
    }
    
    .location-section .col-12,
    .location-section .col-md-6 {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin-bottom: 0;
    }
    
    .location-section .col-md-6:first-child {
        margin-bottom: 30px;
    }
}

/* ========================================
   Contact Form Section
   ======================================== */
.contact-form-section {
    background-color: #E8E6E2;
    padding: 120px 0;
}

.contact-form-container {
    background-color: #302424;
    border-radius: 30px;
    padding: 80px 60px;
    margin: 0 auto;
    max-width: 1200px;
}

.contact-form-text {
    padding-right: 40px;
}

/* MOVED ABOVE MOBILE MEDIA QUERY TO AVOID CONFLICTS */

.contact-form-description {
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.32px;
    margin-bottom: 30px;
}

.contact-form-email {
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.32px;
    margin-bottom: 0;
}

.contact-form-wrapper {
    padding-left: 40px;
}

.contact-form-new {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-label-new {
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.28px;
    margin-bottom: 8px;
    display: block;
}

.form-control-new {
    width: 100%;
    background: #FFF;
    border: none;
    border-radius: 25px;
    padding: 15px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.form-control-new:focus {
    box-shadow: 0 0 0 3px rgba(253, 159, 2, 0.3);
}

.form-select-new {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.btn-submit-new {
    background: #FD9F02;
    border: none;
    border-radius: 25px;
    padding: 15px 40px;
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: -0.32px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-submit-new:hover {
    background: #e68900;
    transform: translateY(-2px);
}

/* Mobile styles for contact form */
@media (max-width: 991.98px) {
    .contact-form-section {
        padding: 80px 0;
        overflow-x: hidden;
    }
    
    .contact-form-section .container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .contact-form-container {
        border-radius: 20px;
        padding: 60px 40px;
        margin: 0 auto;
        width: 100%;
        max-width: calc(100vw - 40px);
    }
    
    .contact-form-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: left;
    }
    
    .contact-form-wrapper {
        padding-left: 0;
    }
    
    .contact-form-title {
        width: 289.333px !important;
        color: #FFF !important;
        font-family: 'Cinzel', serif !important;
        font-size: 30px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 110% !important;
        letter-spacing: -0.69px !important;
        margin: 0 0 25px 0 !important;
        text-align: left !important;
    }
    
    .contact-form-description {
        font-size: 16px;
        line-height: 25.695px;
        letter-spacing: -0.16px;
        text-align: left;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    .contact-form-email {
        font-size: 15px;
        text-align: left;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 20px;
    }
    
    .form-control-new {
        padding: 12px 18px;
        border-radius: 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .btn-submit-new {
        width: 100%;
        padding: 15px;
        border-radius: 20px;
    }
}

@media (max-width: 767.98px) {
    .contact-form-container {
        margin: 0;
        padding: 40px 30px;
        width: 100%;
        max-width: 354px;
    }
    
    .contact-form-title {
        font-size: 34.514px;
        line-height: 120%;
        letter-spacing: -0.69px;
        margin: 0 0 25px 0;
        text-align: left;
    }
    
    /* Additional mobile overflow prevention */
    section {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .col-12,
    .col-md-6,
    .col-lg-6 {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100%;
    }
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery-section {
    padding: 80px 0;
}

.nav-pills .nav-link {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.nav-pills .nav-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.gallery-img {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3) !important;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 35, 35, 0.25);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

/* ========================================
   Footer Section
   ======================================== */
.footer-section {
    background-color: var(--primary-color) !important;
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #ffc107 !important;
    transform: translateY(-2px);
}

/* New Footer Styles */
.footer-section-new {
    background-color: #302424;
    padding: 20px 0;
}

.footer-copyright {
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.28px;
    margin: 0;
}

.social-links-new {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    color: #FFF;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: #FD9F02;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 20px;
}

/* Mobile styles for footer */
@media (max-width: 767.98px) {
    /* Image Section Titles - Remove Left Margin on Mobile */
    .image-section-title {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    .image-section .container {
        margin-left: 0 !important;
    }
    
    .image-section .col-12 {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    
    /* Cards Section - Center on Mobile */
    .cards-container {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin: 60px auto 0 auto !important;
        padding: 0 20px !important;
    }
    
    .card-item {
        text-align: left !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        max-width: 350px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .card-content {
        text-align: left !important;
        width: 100% !important;
    }
    
    .card-title {
        text-align: left !important;
    }
    
    .card-description {
        text-align: left !important;
    }
    
    .card-icon {
        margin: 0 auto !important;
        display: block !important;
    }
    
    /* White Container Section - Force Center on Mobile */
    .white-container,
    .white-container-2 {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 90% !important;
        max-width: 400px !important;
        padding: 20px !important;
    }
    
    .image-text {
        text-align: left !important;
        position: absolute !important;
        top: 30px !important;
        left: 20px !important;
        right: 20px !important;
        z-index: 2 !important;
        width: auto !important;
        transform: none !important;
        padding: 0 !important;
    }
    
    .image-title {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
        color: #302424 !important;
        font-family: 'Inter', sans-serif !important;
        font-size: 28px !important;
        font-style: normal !important;
        font-weight: 700 !important;
        line-height: 110% !important;
        word-wrap: break-word !important;
        margin-bottom: 15px !important;
    }
    
    .image-description {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        color: #302424 !important;
        font-family: 'Inter', sans-serif !important;
        font-size: 16px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 25.695px !important;
        word-wrap: break-word !important;
        letter-spacing: -0.16px !important;
    }
    
    .container-image {
        margin: 0 auto !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Image Section Container Force Center */
    .image-section .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        text-align: center !important;
    }
    
    .image-section .row {
        justify-content: center !important;
        text-align: center !important;
    }
    
    .image-section .col-12 {
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    /* Image Text Section - Left Align on Mobile */
    .image-text {
        text-align: left !important;
    }
    
    .image-title {
        text-align: left !important;
    }
    
    .image-description {
        text-align: left !important;
    }
    
    /* Contact Section - Force Center on Mobile */
    .contact-form-section {
        text-align: center !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .contact-form-container {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .contact-form-text {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 40px !important;
    }
    
    .contact-form-wrapper {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
        padding: 0 !important;
    }
    
    .contact-form-new {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    .contact-form-title {
        text-align: left !important;
        margin: 0 0 0 0 !important;
        width: 100% !important;
    }
    
    .contact-form-description {
        text-align: left !important;
        margin: 20px 0 20px 0 !important;
        width: 100% !important;
    }
    
    .contact-form-email {
        text-align: left !important;
        margin: 0 0 0 0 !important;
        width: 100% !important;
    }
    
    .form-row {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    .form-group {
        text-align: center !important;
        margin: 0 auto 20px auto !important;
        width: 100% !important;
    }
    
    .form-control-new {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    .form-label-new {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    .btn-submit-new {
        text-align: center !important;
        margin: 30px auto 0 auto !important;
        width: 100% !important;
        display: block !important;
    }
    
    /* Gallery Section - Force Center on Mobile */
    .gallery-section-new {
        text-align: center !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .gallery-title {
        text-align: left !important;
        margin: 0 !important;
        width: 100% !important;
        margin-left: 0 !important;
    }
    
    .gallery-buttons {
        text-align: center !important;
        margin: 30px auto 40px auto !important;
        width: 100% !important;
    }
    
    .gallery-grid {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    .gallery-tab-content {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    .gallery-image-item {
        text-align: center !important;
        margin: 0 auto !important;
    }
    
    .gallery-image {
        text-align: center !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    /* Stats Section - Force Center on Mobile */
    .stats-section {
        text-align: center !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .stats-container {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .stat-item {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
        margin-bottom: 30px !important;
    }
    
    .stat-number {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    .stat-description {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    .footer-section-new {
        padding: 15px 0;
    }
    
    .footer-section-new .row {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-section-new .col-auto:first-child {
        order: 2;
    }
    
    .footer-section-new .col-auto:last-child {
        order: 1;
    }
    
    .footer-copyright {
        font-size: 12px;
    }
    
    .social-links-new {
        justify-content: center;
        gap: 20px;
    }
    
    .social-link i {
        font-size: 18px;
    }
}

/* ========================================
   Utilities
   ======================================== */
.object-fit-cover {
    object-fit: cover;
}

.object-fit-contain {
    object-fit: contain;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 991.98px) {
    .hero-title-desktop br {
        display: none;
    }
    
    .hero-title-mobile br {
        display: block;
    }
}

/* MERGED WITH MAIN 575px MEDIA QUERY - MOVED TO LINE 135 */

/* Tablet styles - removed hero-title to avoid conflicts */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-subtitle {
        font-size: 18px;
        line-height: 23.04px;
    }
}

/* Small desktop styles - removed hero-title to avoid conflicts */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-subtitle {
        font-size: 20px;
        line-height: 25.6px;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 67.13px;
        line-height: 67.13px;
    }
    
    .hero-title-desktop br {
        display: inline;
    }
    
    .hero-title-mobile {
        display: none;
    }
    
    .hero-title-desktop {
        display: block;
    }
    
    .hero-subtitle {
        font-size: 24px;
        line-height: 30.72px;
    }
    
    /* Contact Section Title for Desktop */
    .contact-form-title {
        color: #FFF;
        font-family: 'Cinzel', serif;
        font-size: 40px;
        font-style: normal;
        font-weight: 400;
        line-height: 105%;
        letter-spacing: -0.92px;
    }
    
    .contact-section h2 {
        color: #FFF;
        font-family: 'Cinzel', serif;
        font-size: 46px;
        font-style: normal;
        font-weight: 400;
        line-height: 105%;
        letter-spacing: -0.92px;
    }
}

/* ========================================
   Comprehensive Tablet Styles (768px - 1024px)
   ======================================== */

/* Tablet General Styles */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Hero Section for Tablets */
    .hero-section {
        padding: 60px 0;
        min-height: 75vh;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 30px;
    }
    
    /* hero-title removed to avoid conflicts with main responsive design */
    
    .hero-subtitle {
        font-size: 20px;
        line-height: 1.6;
        margin-bottom: 35px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Image Sections for Tablets */
    .image-section {
        padding: 60px 0;
        background-position: center !important;
    }
    
    .image-section-title {
        font-size: 42px;
        line-height: 1.3;
        margin-bottom: 40px;
        padding: 0 30px;
    }
    
    .white-container {
        margin: 50px auto;
        max-width: 100%;
        padding: 40px;
        /* Match width with cards-container */
        width: calc(100% - 60px); /* Same as cards-container padding */
    }
    
    /* Image text elements for tablets */
    .image-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
        margin-bottom: 18px;
    }
    
    .image-description {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
    
    .overlay-title {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .overlay-description {
        font-size: 18px;
        line-height: 1.6;
    }
    
    /* Cards Section for Tablets - 3 kartice u redu */
    .cards-container {
        margin: 70px auto 0 auto;
        padding: 0 30px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        max-width: 100%;
        width: 100%;
    }
    
    /* Reset third card special positioning */
    .card-item:nth-child(3) {
        grid-column: auto;
        max-width: none;
        justify-self: stretch;
    }
    
    .card-item {
        text-align: center !important;
        max-width: none !important;
        width: 100% !important;
        height: auto !important;
        min-height: 180px !important;
        padding: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        position: relative !important;
    }
    
    /* Center icons at top for tablets */
    .card-item .image-container {
        position: static !important;
        top: auto !important;
        right: auto !important;
        width: 50px !important;
        height: 50px !important;
        margin: 0 auto 15px auto !important;
        display: block !important;
    }
    
    .card-item .image-container .card-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    /* Tablet card content - no margin for icon space */
    .card-item .card-content {
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .card-item .card-title {
        font-size: 16px !important;
        line-height: 1.3 !important;
        margin: 0 0 10px 0 !important;
        text-align: center !important;
    }
    
    .card-item .card-description {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    /* Gallery Section for Tablets */
    .gallery-section-new {
        padding: 80px 0;
    }
    
    .gallery-title {
        font-size: 42px;
        line-height: 1.3;
        margin-bottom: 40px;
    }
    
    /* Location Section for Tablets - match gallery-title size */
    .location-title {
        font-size: 42px !important;
        line-height: 1.3 !important;
        margin-bottom: 40px;
    }
    
    .gallery-buttons {
        margin-bottom: 40px;
    }
    
    .gallery-btn {
        padding: 12px 30px;
        font-size: 18px;
        margin: 0 10px;
    }
    
    .gallery-grid .gallery-tab-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
    
    .gallery-image {
        border-radius: 12px;
    }
    
    /* Stats Section for Tablets */
    .stats-section {
        padding: 50px 0;
        height: 80px;
        display: flex;
        align-items: center;
    }
    
    .stats-section .position-absolute {
        position: static !important;
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    .stats-container {
        padding: 0 40px;
    }
    
    .stat-item h3 {
        font-size: 42px;
        line-height: 1.2;
    }
    
    .stat-item p {
        font-size: 18px;
        line-height: 1.5;
    }
    
    /* Stats Numbers and Labels - smaller for tablets to fit in one row */
    .stat-number {
        font-size: 18px !important;
        line-height: 1.2 !important;
    }
    
    .stat-label {
        font-size: 18px !important;
        line-height: 1.2 !important;
    }
    
    .stat-text {
        font-size: 18px !important;
        line-height: 1.2 !important;
    }
    
    .stat-item-new {
        gap: 8px !important;
        padding: 10px 5px !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* Contact Section for Tablets */
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-section h2 {
        font-size: 42px;
        line-height: 1.3;
        margin-bottom: 40px;
    }
    
    .contact-form {
        max-width: 600px;
        margin: 0 auto;
        padding: 0 30px;
    }
    
    .form-control {
        padding: 15px 20px;
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .btn-primary {
        padding: 15px 40px;
        font-size: 18px;
    }
    
    /* Footer for Tablets */
    .footer {
        padding: 60px 0 40px 0;
    }
    
    .footer-content {
        flex-direction: row;
        text-align: left;
        gap: 60px;
        padding: 0 40px;
    }
    
    /* Gallery Modal for Tablets */
    .modal-content {
        max-width: 90%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 20px 30px;
    }
    
    .modal-body {
        padding: 0 30px 30px 30px;
    }
    
    .modal img {
        max-height: 65vh;
        width: auto;
    }
    
    /* Navigation for Tablets */
    .navbar-nav .nav-link {
        font-size: 18px;
        padding: 12px 20px;
    }
    
    /* Gallery Navigation Buttons for Tablets - Hidden */
    .gallery-prev,
    .gallery-next {
        display: none; /* Hide navigation buttons on tablets too */
    }
    
    /* Dark Pattern Section - Keep normal order on tablets (text left, image right) */
    .dark-content-row {
        flex-direction: row;
    }
    
    /* Image Section 2 - Hide transparent overlay and show content in loading overlay on tablets */
    .image-section-2 .transparent-overlay {
        display: none !important;
    }
    
    .image-section-2 .image-loading-overlay.hidden {
        opacity: 1 !important;
        pointer-events: all !important;
        display: flex !important;
        position: absolute;
        left: auto !important;
        right: 0 !important;
        top: 0 !important;
        width: 50% !important;
        height: 100% !important;
        background: transparent !important;
        z-index: 2;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 25px !important;
    }
    
    .image-section-2 .image-loading-overlay .loading-dots {
        display: none;
    }
    
    .image-section-2 .image-loading-overlay .overlay-title {
        color: #302424;
        font-family: 'Inter', sans-serif;
        font-size: 28px !important;
        font-weight: 700;
        line-height: 130%;
        letter-spacing: -0.56px;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .image-section-2 .image-loading-overlay .overlay-description {
        color: #302424;
        font-family: 'Inter', sans-serif;
        font-size: 15px !important;
        font-weight: 400;
        line-height: 140%;
        text-align: center;
    }
    
    /* Move image-text to left side on tablets */
    .image-text {
        left: 25px !important;
        right: auto !important;
        width: 45% !important;
        max-width: none !important;
    }
}

/* Tablet Landscape Specific Styles */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-section {
        min-height: 65vh;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 44px;
    }
    
    .cards-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .card-item:nth-child(3) {
        grid-column: auto;
        max-width: none;
        justify-self: stretch;
    }
    
    .card-item {
        min-height: 160px !important;
        padding: 12px !important;
    }
    
    .card-item .image-container {
        width: 40px !important;
        height: 40px !important;
        margin: 0 auto 12px auto !important;
    }
    
    .card-item .image-container .card-icon {
        width: 40px !important;
        height: 40px !important;
    }
    
    .card-item .card-title {
        font-size: 14px !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
    }
    
    .card-item .card-description {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
    
    /* Location title for landscape tablets */
    .location-title {
        font-size: 42px !important;
        line-height: 1.2 !important;
    }
    
    .gallery-grid .gallery-tab-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .white-container {
        max-width: 100%;
        width: calc(100% - 40px); /* Match cards-container landscape padding */
    }
    
    /* Image Section for landscape tablets */
    .image-section {
        background-position: center !important;
    }
    
    .image-section-title {
        font-size: 38px !important;
        line-height: 1.2 !important;
        margin-bottom: 30px;
    }
    
    /* Stats for landscape tablets - even smaller */
    .stat-number {
        font-size: 16px !important;
        line-height: 1.1 !important;
    }
    
    .stat-label {
        font-size: 16px !important;
        line-height: 1.1 !important;
    }
    
    .stat-text {
        font-size: 16px !important;
        line-height: 1.1 !important;
    }
    
    .stat-item-new {
        gap: 6px !important;
        padding: 8px 3px !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* Image text for landscape tablets */
    .image-title {
        font-size: 26px !important;
        line-height: 1.2 !important;
        margin-bottom: 15px;
    }
    
    .image-description {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }
    
    /* Stats section for landscape tablets */
    .stats-section {
        padding: 40px 0;
        height: 70px;
        display: flex;
        align-items: center;
    }
    
    .stats-section .position-absolute {
        position: static !important;
        height: 100%;
        display: flex;
        align-items: center;
    }
}

/* Tablet Portrait Specific Styles */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-section {
        min-height: 70vh;
        padding: 80px 0;
    }
    
    /* hero-title removed to avoid conflicts */
    
    .white-container {
        margin: 60px auto;
        max-width: 100%;
        width: calc(100% - 80px); /* Match cards-container portrait padding */
    }
    
    .gallery-grid .gallery-tab-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .cards-container {
        padding: 0 40px;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .card-item:nth-child(3) {
        grid-column: auto;
        max-width: none;
        justify-self: stretch;
    }
    
    .card-item {
        min-height: 200px !important;
        padding: 18px !important;
    }
    
    .card-item .image-container {
        width: 55px !important;
        height: 55px !important;
        margin: 0 auto 18px auto !important;
    }
    
    .card-item .image-container .card-icon {
        width: 55px !important;
        height: 55px !important;
    }
    
    .card-item .card-title {
        font-size: 18px !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }
    
    .card-item .card-description {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
    
    /* Location title for portrait tablets */
    .location-title {
        font-size: 42px !important;
        line-height: 1.3 !important;
    }
    
    /* Image Section for portrait tablets */
    .image-section {
        background-position: center !important;
    }
    
    .image-section-title {
        font-size: 40px !important;
        line-height: 1.3 !important;
        margin-bottom: 35px;
    }
    
    /* Stats for portrait tablets */
    .stat-number {
        font-size: 17px !important;
        line-height: 1.2 !important;
    }
    
    .stat-label {
        font-size: 17px !important;
        line-height: 1.2 !important;
    }
    
    .stat-text {
        font-size: 17px !important;
        line-height: 1.2 !important;
    }
    
    .stat-item-new {
        gap: 7px !important;
        padding: 10px 4px !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* Image text for portrait tablets */
    .image-title {
        font-size: 30px !important;
        line-height: 1.3 !important;
        margin-bottom: 20px;
    }
    
    .image-description {
        font-size: 17px !important;
        line-height: 1.5 !important;
    }
    
    /* Stats section for portrait tablets */
    .stats-section {
        padding: 60px 0;
        height: 90px;
        display: flex;
        align-items: center;
    }
    
    .stats-section .position-absolute {
        position: static !important;
        height: 100%;
        display: flex;
        align-items: center;
    }
}

/* Desktop Specific Styles - 1025px and above */
@media (min-width: 1025px) {
    /* Dark Pattern Section - Desktop layout */
    .dark-pattern-section .dark-title-centered {
        text-align: left !important;
    }
    
    .dark-pattern-section .dark-content-row {
        flex-direction: row !important;
    }
    
    .dark-pattern-section .dark-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .dark-pattern-section .dark-content .dark-title-centered {
        margin-bottom: 30px;
    }
}