/* ==========================================================================
   HARMONIE Terapi & Förderzentrum - Primary Stylesheet
   Design matching theme.png perfectly
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Allura&family=Great+Vibes&family=Dancing+Script:wght@500;600;700&family=Caveat:wght@600;700&family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-navy: #0F3854;
    --primary-navy-dark: #0A263A;
    --accent-green: #44834E;
    --accent-green-hover: #366D3F;
    --accent-green-light: #EAF4EC;
    --bg-light: #F8FAF9;
    --bg-white: #FFFFFF;
    --text-dark: #2B3A42;
    --text-muted: #556B77;
    --border-color: #E2E8F0;
    --shadow-sm: 0 2px 8px rgba(15, 56, 84, 0.05);
    --shadow-md: 0 5px 20px rgba(15, 56, 84, 0.08);
    --shadow-lg: 0 10px 30px rgba(15, 56, 84, 0.12);
    --font-heading: 'Outfit', sans-serif;
    --font-script: 'Alex Brush', 'Great Vibes', 'Allura', 'Dancing Script', cursive;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section Header Titles */
.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.section-title svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-green);
}

/* ==========================================================================
   TOP BAR SECTION (Phone & Email Left, Languages Right)
   ========================================================================== */
.top-bar {
    background-color: #F1F5F9;
    border-bottom: 1px solid #E2E8F0;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.top-contact-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-dark);
}

.top-contact-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent-green);
    fill: none;
    stroke-width: 2;
}

.top-contact-item:hover {
    color: var(--accent-green);
}

.top-wa-btn {
    color: #25D366 !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease;
}

.top-wa-btn svg {
    fill: #25D366 !important;
    stroke: none !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
}

.top-wa-btn:hover {
    color: #1ea952 !important;
    transform: translateY(-1px);
}

.top-wa-btn:hover svg {
    fill: #1ea952 !important;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-navy);
    cursor: pointer;
    border: none;
    background: transparent;
    transition: var(--transition);
}

.lang-btn.active {
    background: #CBD5E1;
    color: var(--primary-navy);
    font-weight: 700;
}

.lang-btn:hover {
    background: #F1F5F2;
}

.flag-icon {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* ==========================================================================
   MAIN HEADER / NAVIGATION (Exact theme.png replica)
   ========================================================================== */
.main-header {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img-main {
    max-height: 64px;
    width: auto;
    object-fit: contain;
}

.logo-img-footer {
    max-height: 56px;
    width: auto;
    object-fit: contain;
    background: #FFFFFF;
    padding: 5px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo-icon-img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: 1px;
    line-height: 1;
}

.logo-subtitle {
    font-size: 9px;
    font-weight: 700;
    color: var(--accent-green);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-navy);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    background-color: var(--accent-green-light);
    color: var(--accent-green);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-navy);
    fill: none;
    stroke-width: 2.5;
}

/* ==========================================================================
   OFF-CANVAS MOBILE DRAWER STYLES
   ========================================================================== */
.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 56, 84, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.offcanvas-drawer {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #FFFFFF;
    z-index: 2000;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto;
}

.offcanvas-drawer.active {
    right: 0;
}

.offcanvas-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.offcanvas-close-btn {
    background: #F1F5F2;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.offcanvas-close-btn:hover {
    background: #E2E8F0;
    color: var(--accent-green);
}

.offcanvas-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.offcanvas-lang-section {
    background: #F8FAF9;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #E2E8F0;
}

.lang-switcher-mobile {
    display: flex;
    gap: 8px;
}

.lang-btn-mob {
    flex: 1;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-navy);
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    transition: var(--transition);
}

.lang-btn-mob.active {
    background: var(--accent-green);
    color: #FFFFFF;
    border-color: var(--accent-green);
}

.offcanvas-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.offcanvas-link {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-navy);
    padding: 12px 14px;
    border-radius: 10px;
    transition: var(--transition);
}

.offcanvas-link:hover {
    background: var(--accent-green-light);
    color: var(--accent-green);
}

.offcanvas-contact-box {
    background: #F8FAF9;
    border-radius: 14px;
    padding: 18px;
    border: 1px solid #E2E8F0;
    margin-top: auto;
}

.offcanvas-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.offcanvas-contact-item:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   HERO SLIDER SECTION (Optimized Spacing & Transparent Hover Arrows)
   ========================================================================== */
.hero-slider {
    position: relative;
    background: #FFFFFF;
    padding: 10px 0 40px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    max-width: 1360px;
}

.slider-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    position: relative;
    width: 100%;
    min-height: 460px;
    overflow: hidden;
}

.slide-item {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 30px;
    align-items: center;
    min-height: 460px;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s ease;
    z-index: 1;
}

.slide-item.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
    z-index: 2 !important;
}

.slide-item.prev-slide {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-60px) !important;
    z-index: 1 !important;
}

/* Inner elements smooth transition without keyframe conflicts */
.slide-content, .slide-media {
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s ease;
}

.slide-item:not(.active) .slide-content {
    transform: translateY(20px);
    opacity: 0;
}

.slide-item.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-item:not(.active) .slide-media {
    transform: scale(0.92);
    opacity: 0;
}

.slide-item.active .slide-media {
    transform: scale(1);
    opacity: 1;
}

.slide-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0 20px 45px;
    z-index: 2;
}

.slide-title {
    margin-bottom: 12px;
}

.slide-title-main {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.05;
    letter-spacing: -0.5px;
    display: block;
}

/* Calligraphic Script Text with clean 6px gap from Line 1 */
.script-text {
    font-family: var(--font-script);
    font-size: 64px;
    font-weight: 400;
    color: var(--accent-green);
    font-style: normal;
    display: block;
    margin-top: 6px;
    line-height: 1.05;
    letter-spacing: 0.5px;
    text-transform: none;
}

/* Subtitle Badge with tight balanced spacing */
.slide-badge {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.slide-badge span.dot-sep {
    color: var(--accent-green);
    font-size: 16px;
}

.slide-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 22px;
    max-width: 480px;
}

.slide-btns {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--accent-green);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 13px 26px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(68, 131, 78, 0.25);
    transition: var(--transition);
}

.btn-hero-primary .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
}

.btn-hero-primary:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(68, 131, 78, 0.35);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: var(--primary-navy);
    border: 1.5px solid #A5B8C6;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 13px 26px;
    border-radius: 30px;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    border-color: var(--primary-navy);
    background-color: rgba(15, 56, 84, 0.04);
}

.slide-media {
    position: relative;
    height: 100%;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.slide-curve-container {
    position: relative;
    width: 100%;
    height: 440px;
    border-radius: 220px 0 0 220px / 220px 0 0 220px;
    overflow: hidden;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.06);
    border-left: 8px solid rgba(68, 131, 78, 0.25);
    background: #F8FAF9;
}

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

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(15, 56, 84, 0.12);
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.slider-arrow:hover {
    background: var(--accent-green);
    color: #FFFFFF;
    border-color: var(--accent-green);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev { left: 0px; }
.slider-arrow.next { right: 0px; }

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

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CBD5E1;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot:hover {
    background: #94A3B8;
}

.dot.active {
    width: 32px;
    border-radius: 10px;
    background: var(--accent-green);
    box-shadow: 0 2px 8px rgba(77, 139, 85, 0.35);
}

/* ==========================================================================
   SECTION 1: FEATURE CARDS (4 Grid Cards matching theme.png)
   ========================================================================== */
.feature-cards-section {
    padding: 20px 0 35px;
    background: #FFFFFF;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: #FFFFFF;
    border: 1px solid #E5E9EC;
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-green);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: var(--primary-navy);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-box svg {
    width: 24px;
    height: 24px;
    stroke: #FFFFFF;
    fill: none;
    stroke-width: 2;
}

.feature-card-content {
    display: flex;
    flex-direction: column;
}

.feature-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 6px;
}

.feature-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   SECTION 2 & 3: SERVICES GRID (Therapy & Complementary Services)
   ========================================================================== */
.services-section {
    padding: 30px 0;
    background: #FFFFFF;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.service-card {
    background: #FFFFFF;
    border: 1px solid #E5E9EC;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-green);
}

.service-card-image {
    position: relative;
    height: 160px;
    background: #E2E8F0;
}

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

.service-icon-badge {
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent-green);
    border: 3px solid #FFFFFF;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.service-icon-badge svg {
    width: 20px;
    height: 20px;
    stroke: #FFFFFF;
    fill: none;
    stroke-width: 2;
}

.service-card-body {
    padding: 30px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.service-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-navy);
    transition: var(--transition);
}

.service-card-link:hover {
    color: var(--accent-green);
}

/* ==========================================================================
   SECTION 4: HOW WE WORK (5 Step Process matching theme.png)
   ========================================================================== */
.how-we-work-section {
    padding: 30px 0;
    background: #FFFFFF;
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    align-items: flex-start;
    position: relative;
}

.process-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-circle-badge {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.step-number-tag {
    position: absolute;
    top: -8px;
    background: var(--accent-green);
    color: #FFFFFF;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-circle-badge svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-navy);
    fill: none;
    stroke-width: 2;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 6px;
}

.step-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 180px;
}

.process-step-arrow {
    position: absolute;
    top: 35px;
    right: -25px;
    width: 35px;
}

.process-step-arrow svg {
    width: 100%;
    stroke: #CBD5E1;
}

/* ==========================================================================
   SECTION 5: WHY HARMONIE (Icon Boxes Grid matching theme.png)
   ========================================================================== */
.why-harmonie-section {
    padding: 30px 0;
    background: #FFFFFF;
}

.why-boxes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-box {
    background: #F8FAF9;
    border: 1px solid #E5E9EC;
    border-radius: 16px;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.why-icon-box {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: var(--accent-green);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon-box svg {
    width: 26px;
    height: 26px;
    stroke: #FFFFFF;
    fill: none;
    stroke-width: 2;
}

.why-box-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.why-box-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   SECTION 6: GALLERY GRID (Matching theme.png)
   ========================================================================== */
.gallery-section {
    padding: 60px 0;
    background: #FFFFFF;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.gallery-item {
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* ==========================================================================
   SECTION 7: CTA BANNER (Green Callout matching theme.png)
   ========================================================================== */
.cta-banner-section {
    padding: 25px 0 40px;
}

.cta-banner-card {
    background: linear-gradient(135deg, #F4FAF5 0%, #E8F4EC 100%);
    border: 1px solid #D5E9DC;
    border-radius: 20px;
    padding: 35px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.cta-desc {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 650px;
}

/* ==========================================================================
   FOOTER (Matching theme.png)
   ========================================================================== */
.main-footer {
    background: var(--primary-navy-dark);
    color: #FFFFFF;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.1fr 1.3fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.footer-nav-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    font-size: 13px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.footer-nav-list li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-nav-link {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 2px 0 !important;
}

.footer-nav-link:hover {
    color: var(--accent-green);
    transform: translateX(5px);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-item svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    min-width: 18px !important;
    stroke: var(--accent-green);
    fill: none;
    stroke-width: 2;
}

.footer-wa-item svg {
    fill: #25D366 !important;
    stroke: none !important;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.social-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: var(--transition);
}

.social-icon-btn:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    transform: translateY(-2px);
}

.social-icon-btn svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: #FFFFFF;
}

/* Media Queries for all Sections */
@media (max-width: 1200px) {
    .services-grid, .gallery-grid, .process-steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .feature-cards-grid, .why-boxes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none; /* Mobile view utilizes off-canvas menu top bar */
    }
    .slide-content {
        padding: 20px;
    }
    .services-grid, .gallery-grid, .process-steps-grid, .feature-cards-grid, .why-boxes-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .cta-banner-card {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .slide-title-main {
        font-size: 36px;
    }
    .script-text {
        font-size: 48px;
    }
    .slider-arrow {
        opacity: 1;
        visibility: visible;
    }
}

/* ==========================================================================
   MOBILE-ONLY RESPONSIVE OVERRIDES (Preserves 100% Desktop Design)
   ========================================================================== */
@media (max-width: 991px) {
    /* Mobile Header & Logo Spacing */
    .header-inner {
        padding: 16px 8px !important;
    }
    .logo-img-main {
        max-height: 46px !important;
        width: auto !important;
    }

    /* Prevent horizontal page scrolling */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    /* Hero Slider Mobile Responsiveness */
    .hero-slider {
        padding: 10px 0 20px !important;
    }
    
    .slider-wrapper {
        min-height: auto !important;
    }

    .slide-item {
        display: none !important;
        gap: 15px !important;
        min-height: auto !important;
        text-align: center !important;
    }

    .slide-item.active {
        display: flex !important;
        flex-direction: column !important;
    }

    .slide-media {
        order: 1 !important;
        height: 220px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 10px !important;
    }

    .slide-content {
        order: 2 !important;
        padding: 10px 5px !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .slide-title-main {
        font-size: 26px !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
    }

    .script-text {
        font-size: 32px !important;
        line-height: 1.2 !important;
        margin-top: 4px !important;
        word-break: break-word !important;
    }

    .slide-badge {
        font-size: 11px !important;
        justify-content: center !important;
        letter-spacing: 1px !important;
        flex-wrap: wrap !important;
        white-space: normal !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
        margin-top: 8px !important;
        margin-bottom: 10px !important;
    }

    .slide-desc {
        font-size: 13px !important;
        text-align: center !important;
        max-width: 100% !important;
        margin-bottom: 18px !important;
        padding: 0 5px !important;
    }

    .slide-btns {
        justify-content: center !important;
        width: 100% !important;
    }

    .btn-hero-primary, .btn-hero-secondary {
        padding: 10px 20px !important;
        font-size: 12px !important;
    }

    .slide-media img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
        border-radius: 16px !important;
    }

    /* Hide floating side arrows on mobile so they do not cover text */
    .slider-arrow {
        display: none !important;
    }

    /* Convert ALL inline grid containers into responsive 1-column layouts on mobile/tablet */
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    /* Adjust large card inline paddings for mobile */
    div[style*="padding:40px"],
    div[style*="padding: 40px"],
    div[style*="padding:45px"],
    div[style*="padding: 45px"],
    div[style*="padding:35px 40px"],
    div[style*="padding: 35px 40px"] {
        padding: 22px 18px !important;
    }

    /* Adjust large featured image heights for mobile */
    div[style*="height:400px"],
    div[style*="height: 400px"],
    div[style*="height:380px"],
    div[style*="height: 380px"] {
        height: 210px !important;
    }

    /* Adjust large titles for mobile */
    h1[style*="font-size"] {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 768px) {
    /* Reduce left and right container margins on mobile subpages */
    .container {
        padding: 0 10px !important;
    }

    /* Reduce card outer padding on subpages and detail pages */
    div[style*="padding:40px"],
    div[style*="padding: 40px"],
    div[style*="padding:45px"],
    div[style*="padding: 45px"],
    div[style*="padding:35px 40px"],
    div[style*="padding: 35px 40px"] {
        padding: 16px 12px !important;
    }

    /* Reduce indents inside rich-text content on mobile */
    .rich-text-content {
        padding: 0 !important;
    }
    .rich-text-content blockquote,
    .rich-text-content ul,
    .rich-text-content ol {
        padding-left: 8px !important;
        margin-left: 0 !important;
    }
    
    /* Green callout box inside detail pages */
    div[style*="border-left"] {
        padding: 12px 10px !important;
        margin-left: 0 !important;
    }

    /* Reduce breadcrumb padding & margins */
    nav[style*="margin-bottom:25px"] {
        margin-bottom: 15px !important;
        padding-left: 2px !important;
    }

    /* 2-column image galleries on mobile screens for photos */
    div[style*="grid-template-columns: repeat(3, 1fr)"],
    div[style*="grid-template-columns:repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

/* ==========================================================================
   HOMEPAGE GALLERY CAROUSEL STYLES (5 Columns Desktop)
   ========================================================================== */
.gallery-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0 15px;
}

.gallery-carousel-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    will-change: transform;
}

.gallery-carousel-item {
    flex: 0 0 calc(20% - 12px) !important;
    width: calc(20% - 12px) !important;
    max-width: calc(20% - 12px) !important;
    min-width: calc(20% - 12px) !important;
    box-sizing: border-box !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: var(--transition);
    position: relative;
    height: 180px !important;
}

.gallery-carousel-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease;
}

.gallery-carousel-item:hover img {
    transform: scale(1.08);
}

.gallery-carousel-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: var(--transition);
    outline: none;
}

.gallery-nav-btn:hover {
    background: var(--accent-green);
    color: #FFFFFF;
    border-color: var(--accent-green);
    box-shadow: 0 6px 18px rgba(68, 131, 78, 0.3);
}

.gallery-nav-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

@media (max-width: 1199px) {
    .gallery-carousel-item {
        flex: 0 0 calc(25% - 11.25px) !important;
        width: calc(25% - 11.25px) !important;
        max-width: calc(25% - 11.25px) !important;
        min-width: calc(25% - 11.25px) !important;
        height: 170px !important;
    }
}

@media (max-width: 991px) {
    .gallery-carousel-item {
        flex: 0 0 calc(33.333% - 10px) !important;
        width: calc(33.333% - 10px) !important;
        max-width: calc(33.333% - 10px) !important;
        min-width: calc(33.333% - 10px) !important;
        height: 160px !important;
    }
}

@media (max-width: 575px) {
    .gallery-carousel-item {
        flex: 0 0 calc(50% - 7.5px) !important;
        width: calc(50% - 7.5px) !important;
        max-width: calc(50% - 7.5px) !important;
        min-width: calc(50% - 7.5px) !important;
        height: 140px !important;
    }
}

/* ==========================================================================
   GLOBAL LIGHTBOX MODAL STYLES (Gallery Popup with Nav Arrows & Close)
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex !important;
    opacity: 1 !important;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 24, 38, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-container {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 85vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.lightbox-counter {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 18px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-btn {
    position: fixed;
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(5px);
    outline: none;
}

.lightbox-btn:hover {
    background: var(--accent-green, #4D8B55);
    border-color: var(--accent-green, #4D8B55);
    box-shadow: 0 8px 25px rgba(77, 139, 85, 0.4);
}

.lightbox-btn svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

.lightbox-close {
    top: 25px;
    right: 25px;
}

.lightbox-close:hover {
    transform: scale(1.1) rotate(90deg);
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .lightbox-prev { left: 10px; width: 42px; height: 42px; }
    .lightbox-next { right: 10px; width: 42px; height: 42px; }
    .lightbox-close { top: 15px; right: 15px; width: 42px; height: 42px; }
    .lightbox-content img { max-width: 95vw; max-height: 75vh; }
}

/* ==========================================================================
   WhatsApp Floating Contact Widget & Social Media Hover Styles
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99999;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float-content {
    display: flex;
    align-items: center;
    background: #25D366;
    border-radius: 50px;
    padding: 6px 6px 6px 18px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.whatsapp-text {
    margin-right: 12px;
    white-space: nowrap;
    letter-spacing: 0.2px;
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.whatsapp-icon-wrapper {
    width: 44px;
    height: 44px;
    background: #FFFFFF;
    color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
}

.whatsapp-icon-wrapper svg {
    width: 26px;
    height: 26px;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* Brand specific social button hover states */
.social-icon-btn.social-tiktok:hover {
    background: #000000;
    border-color: #FE2C55;
    color: #25F4EE;
}
.social-icon-btn.social-youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: #FFFFFF;
}
.social-icon-btn.social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    color: #FFFFFF;
}
.social-icon-btn.social-facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #FFFFFF;
}
.social-icon-btn.social-whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: #FFFFFF;
}
.social-icon-btn.social-linkedin:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-text {
        display: none;
    }
    .whatsapp-float-content {
        padding: 3px;
        border-radius: 50%;
    }
    .whatsapp-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    .whatsapp-icon-wrapper svg {
        width: 30px;
        height: 30px;
    }
}

