/* 
 * FED Sports - Core Design System & CSS Stylesheet 
 * 2026 Premium Web Standards
 */

/* Theme Variables Definition */
:root, [data-theme="dark"] {
    --bg-color: #0c0d0e;
    --bg-surface: #131517;
    --bg-surface-hover: #191c1f;
    --text-color: #f3f4f6;
    --text-muted: #9ca3af;
    
    --primary-color: #39ff14; /* Neon lime green */
    --primary-hover: #2ee60e;
    --primary-rgb: 57, 255, 20;
    --accent-color: #a3e635;
    
    --border-color: #22252a;
    --border-color-focus: rgba(57, 255, 20, 0.4);
    
    --nav-bg: rgba(12, 13, 14, 0.85);
    --footer-bg: #090a0b;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
    
    --glass-bg: rgba(19, 21, 23, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] {
    --bg-color: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-hover: #f1f5f9;
    --text-color: #0f172a;
    --text-muted: #64748b;
    --primary-color: #39ff14; /* Neon lime green matching buttons */
    --primary-hover: #2ee60e;
    --primary-rgb: 57, 255, 20;
    --accent-color: #a3e635;
    
    --border-color: #e2e8f0;
    --border-color-focus: rgba(57, 255, 20, 0.4);
    
    --nav-bg: rgba(248, 250, 252, 0.85);
    --footer-bg: #f1f5f9;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(15, 23, 42, 0.05);
}

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

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-color);
    font-style: normal !important;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Helper Layout Classes */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    z-index: -1;
    transform: skewX(-10deg);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

/* CSS Theme Specific Button Color for light vs dark */
[data-theme="dark"] .btn:not(.btn-secondary):not(.btn-instagram) {
    color: #000;
}
[data-theme="light"] .btn:not(.btn-secondary):not(.btn-instagram) {
    color: #fff;
}
[data-theme="dark"] .btn-secondary {
    color: #ffffff;
}
[data-theme="light"] .btn-secondary {
    color: #1f2937;
}

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

.btn:hover::before {
    background-color: var(--primary-hover);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.6);
    transform: skewX(-10deg) scale(1.05);
}

.btn-secondary {
    color: var(--text-color);
    background: transparent;
}

.btn-secondary::before {
    background-color: transparent;
    border: 2px solid var(--border-color);
    box-shadow: none;
}

/* Theme-specific outline colors for main site secondary buttons */
[data-theme="dark"] .btn-secondary::before {
    border-color: rgba(255, 255, 255, 0.2);
}
[data-theme="light"] .btn-secondary::before {
    border-color: rgba(0, 0, 0, 0.15);
}

/* Hover color transitions for secondary */
[data-theme="dark"] .btn-secondary:hover {
    color: #000;
}
[data-theme="light"] .btn-secondary:hover {
    color: #fff;
}

.btn-secondary:hover::before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}

/* Specific overrides for Hero Slider secondary buttons (forced visibility on dark slide overlays) */
.slide-content .btn-secondary {
    color: #ffffff !important;
}

.slide-content .btn-secondary::before {
    border-color: rgba(255, 255, 255, 0.55) !important;
    background-color: rgba(255, 255, 255, 0.05);
}

.slide-content .btn-secondary:hover {
    color: #000000 !important;
}

.slide-content .btn-secondary:hover::before {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
}

/* Theme-Based Logo Display */
[data-theme="dark"] .logo-dark-theme { display: block; }
[data-theme="dark"] .logo-light-theme { display: none; }
[data-theme="light"] .logo-dark-theme { display: none; }
[data-theme="light"] .logo-light-theme { display: block; }

/* Header & Navigation Bar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    padding: 18px 0; /* Increased from 10px to pull the logo and menu down slightly */
}

.site-header.scrolled {
    padding: 0;
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.3s ease;
}

.logo-link {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.site-logo {
    height: 76px; /* Increased logo size for better visual presence */
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.site-header.scrolled .site-logo {
    height: 58px; /* Increased minified size */
}

/* Responsive Desktop Header Utilities */
@media (min-width: 769px) {
    .nav-container {
        position: relative;
    }
    
    .nav-menu,
    .nav-list,
    .nav-list-left,
    .mega-dropdown {
        position: static !important;
    }
}

/* Centered Logo Split Menu Desktop Layout */
@media (min-width: 1025px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-link {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1010;
    }
    
    .nav-actions {
        position: absolute;
        right: 24px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1010;
    }
    
    .nav-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-grow: 1;
        width: 100%;
    }
    
    .nav-list-left {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex: 1;
        gap: 20px; /* Increased gap spacing */
    }
    
    .nav-list-right {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex: 1;
        gap: 20px; /* Increased gap spacing */
    }
    
    .nav-logo-gap {
        width: 320px; /* Expanded centered gap spacer to prevent menu elements sticking to logo */
        flex-shrink: 0;
    }
}

/* Hide mobile nav footer elements on desktop */
.mobile-nav-footer {
    display: none !important;
}

/* Slider Vertical Phone Link (Desktop only) */
.slider-vertical-phone {
    position: absolute;
    left: 43px;
    bottom: calc(50% + 42px); /* Positioned directly above the left slider arrow */
    width: 48px; /* Centered relative to 54px arrow at left: 40px */
    z-index: 1010;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vertical-phone-card {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 24px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 2px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.vertical-phone-card span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg); /* Read from bottom to top (opposite direction) */
}

.vertical-phone-card:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000000 !important;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.5);
}

@media (max-width: 1024px) {
    .slider-vertical-phone {
        display: none !important;
    }
}

/* Desktop Header Phone Number Link */
.header-phone-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem; /* "bir tık büyük" - slightly larger */
    margin-right: 20px;
    transition: all 0.3s ease;
}

.site-header.scrolled .header-phone-link {
    color: var(--text-color);
}

.inner-page .site-header:not(.scrolled) .header-phone-link {
    color: #ffffff;
}

.header-phone-link:hover {
    color: var(--primary-color) !important;
}

.header-phone-link svg {
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.header-phone-link:hover svg {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .header-phone-link {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .nav-logo-gap {
        display: none !important;
    }
}

/* Homepage Transparent Header Over Slider */
.home-page .site-header:not(.scrolled) {
    background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}
.home-page .site-header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.85);
}
.home-page .site-header:not(.scrolled) .nav-link:hover,
.home-page .site-header:not(.scrolled) .nav-link.active {
    color: var(--primary-color);
}
.home-page .site-header:not(.scrolled) .site-logo.logo-dark-theme {
    display: block !important;
}
.home-page .site-header:not(.scrolled) .site-logo.logo-light-theme {
    display: none !important;
}
.home-page .site-header:not(.scrolled) .theme-toggle {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}
.home-page .site-header:not(.scrolled) .theme-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.home-page .site-header:not(.scrolled) .mobile-nav-toggle .bar {
    background-color: #fff;
}

/* Primary Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 6px;
    color: var(--text-muted);
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--primary-color);
}

/* Dropdown Menu Styling */
.nav-item.dropdown {
    position: relative;
}

.dropdown-icon {
    transition: transform 0.2s ease;
}

.nav-item.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Mega Menu (Full-width, Visual Desktop dropdown) */
.mega-dropdown {
    position: static !important;
}

.mega-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Services Popup Modal Styles */
.services-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1200;
    display: none !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-modal.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.services-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.services-modal-content {
    position: relative;
    z-index: 1210;
    width: 90%;
    max-width: 1100px;
    height: 620px;
    max-height: 85vh;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-2xl);
}

.services-modal.active .services-modal-content {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.services-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    z-index: 1220;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.services-modal-close:hover {
    background: var(--primary-color);
    color: #000000;
    transform: rotate(90deg);
    border-color: var(--primary-color);
}

.services-modal-body {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    min-height: 480px;
    height: 100%;
}

.services-modal-left {
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}

.services-modal-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.85rem;
    color: var(--text-color);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}

.services-modal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.services-modal-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    margin-left: -28px;
}

.services-modal-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-service-link {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-service-link:hover,
.modal-service-link.active {
    color: var(--primary-color) !important;
    background-color: var(--bg-surface-hover);
}

.modal-service-bullet {
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.25s ease;
    color: var(--primary-color);
    font-weight: bold;
}

.modal-service-link:hover .modal-service-bullet,
.modal-service-link.active .modal-service-bullet {
    opacity: 1;
    transform: translateX(0);
}

.services-modal-right {
    position: relative;
    overflow: hidden;
    background-color: #0c0d0e;
}

.services-modal-preview {
    height: 100%;
    width: 100%;
}

.services-modal-img-wrap {
    position: relative;
    height: 100%;
    width: 100%;
}

.services-modal-img-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

#modal-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.services-modal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#modal-preview-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    margin: 0;
}

#modal-preview-sentence {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.45;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    margin: 0;
    max-width: 90%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 991px) {
    .services-modal-content {
        width: 95%;
        height: auto !important;
        max-height: 90vh;
    }
    .services-modal-body {
        grid-template-columns: 1fr;
        min-height: auto;
        height: auto !important;
    }
    .services-modal-right {
        display: none;
    }
    .services-modal-left {
        padding: 35px 28px;
    }
}

@media (max-width: 576px) {
    .services-modal-cols {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .services-modal-title {
        font-size: 1.45rem;
        margin-bottom: 18px;
    }
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1010;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    width: 250px;
    list-style: none;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.dropdown-item:hover {
    color: var(--primary-color);
    background-color: var(--bg-surface-hover);
    padding-left: 24px;
}

/* Sub-dropdowns (Alt Hizmetler) */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 230px;
    list-style: none;
    padding: 8px 0;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.25s ease;
}

.dropdown-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.parent-item {
    font-weight: 600;
    border-bottom: 1px dashed var(--border-color);
}

/* Utility Actions Wrapper (Social Icons & Divider) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-social-link {
    color: var(--text-color);
    opacity: 0.85;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-social-link:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateY(-2px);
}

.nav-divider {
    width: 1px;
    height: 18px;
    background-color: var(--border-color);
    opacity: 0.6;
}

/* Header not scrolled transparent styling */
.home-page .site-header:not(.scrolled) .nav-social-link {
    color: rgba(255, 255, 255, 0.85);
}
.home-page .site-header:not(.scrolled) .nav-social-link:hover {
    color: var(--primary-color);
}
.home-page .site-header:not(.scrolled) .nav-divider {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Theme Switcher Button */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.25s ease;
}

.theme-toggle:hover {
    background-color: var(--bg-surface-hover);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Show/hide icons depending on theme */
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="light"] .icon-moon { display: block; }
[data-theme="light"] .icon-sun { display: none; }

/* Mobile navigation toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}

.mobile-nav-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Page Spacing */
.site-main {
    margin-top: 80px; /* Offset fixed header */
    min-height: calc(100vh - 400px);
}

/* Sections Structure */
.section {
    padding: 50px 0; /* 50px top + 50px bottom = exactly 100px vertical gap between consecutive sections */
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-style: normal;
}

.section-title span {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* 1. ANASAYFA / HERO SLIDER SECTION */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: -76px; /* Pull slide under the transparent header */
}

/* Left-aligned Vertical Social Sidebar in Hero Slider */
.hero-social-sidebar {
    position: absolute;
    left: 40px;
    bottom: 50px; /* Moved down to the bottom left corner */
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 25;
}

.hero-social-sidebar a {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 48px; /* Slightly larger! */
    height: 48px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-social-sidebar a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000000;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.5);
}

@media (max-width: 768px) {
    .hero-social-sidebar {
        left: 20px;
        bottom: 50px; /* Moved down to the bottom left corner on mobile */
        gap: 12px;
    }
    
    .hero-social-sidebar a {
        width: 40px;
        height: 40px;
    }
}

.slider-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-content {
    max-width: 800px;
    z-index: 2;
}

.slide-content h1 {
    color: #ffffff;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
    font-style: normal;
}

.slide-content h1 span {
    color: var(--primary-color);
    background: linear-gradient(
        120deg,
        var(--primary-color) 0%,
        var(--primary-color) 35%,
        #ffffff 50%,
        var(--primary-color) 65%,
        var(--primary-color) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 2s infinite linear;
    display: inline-block; /* Ensure clipping works perfectly on block bounds */
}

@keyframes textShimmer {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}

.slide-content p {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin-bottom: 36px;
    max-width: 650px;
}

[data-theme="light"] .slide-content p {
    color: #f3f4f6; /* Force readable text over dark slide image overlay in light mode */
}

.slide-buttons {
    display: flex;
    gap: 16px;
}

/* Slide active animations */
.slide-content h1, 
.slide-content p, 
.slide-content .slide-buttons {
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.slide.active .slide-content h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.slide.active .slide-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.slide.active .slide-content .slide-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

/* Slider arrows navigation */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.25s ease;
    z-index: 10;
    outline: none;
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4);
}

.prev-arrow {
    left: 40px;
}

.next-arrow {
    right: 40px;
}

/* Slider dots navigation */
.slider-dots {
    position: absolute;
    bottom: 160px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

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

.dot:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.25);
    box-shadow: 0 0 10px var(--primary-color);
}

@media (max-width: 1024px) {
    .slide-content h1 {
        font-size: 3rem;
    }
    .slider-arrow {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    .prev-arrow {
        left: 20px;
    }
    .next-arrow {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        margin-top: -65px; /* Offset mobile header */
    }
    .slide-content h1 {
        font-size: 2.25rem;
    }
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    .slider-arrow {
        display: none; /* Hide arrows on small screens */
    }
}

/* Feature Cards on Home */
.features-overlap-section {
    position: relative;
    z-index: 20;
    margin-top: -125px; /* Pulls cards half-way over the slider bottom */
    padding: 0 0 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    position: relative;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 40px;
    overflow: hidden;
    transform: skewX(-8deg);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-md);
}

.feature-card:hover {
    transform: translateY(-8px) skewX(-8deg) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.25);
    background-color: var(--bg-surface-hover);
}

.feature-icon-box {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%) skewX(8deg);
    font-size: 8rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    color: rgba(var(--primary-rgb), 0.04);
    line-height: 1;
    pointer-events: none;
    z-index: 1;
    user-select: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-card:hover .feature-icon-box {
    left: -10px;
    color: rgba(var(--primary-rgb), 0.08);
    transform: translateY(-50%) skewX(8deg) scale(1.05);
}

.feature-card-content {
    position: relative;
    z-index: 2;
    transform: skewX(8deg);
    transform-origin: left top;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* 2. KURUMSAL / ABOUT PAGE */
.corporate-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.25rem;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.value-box {
    background-color: var(--bg-surface);
    border-left: 4px solid var(--primary-color);
    padding: 24px;
    border-radius: 0 8px 8px 0;
    box-shadow: var(--shadow-sm);
}

.value-box h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

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

/* 3. HİZMETLER / SERVICES PAGE & CARDS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    height: 480px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.25);
}

.service-img-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #000;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover .service-img-wrap img {
    transform: scale(1.08);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
    transition: background 0.4s ease;
}

.service-card:hover::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.25) 100%);
}

.service-card-body {
    position: relative;
    z-index: 3;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.service-card p {
    color: #e5e7eb;
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.service-link:hover {
    color: var(--primary-hover);
    padding-left: 4px;
}

/* Home services preview overrides */
.home-services-section {
    padding-bottom: 80px !important;
}

.home-services-section .services-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 3%;
}

.home-services-section .service-card {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin: 0;
    height: 380px; /* Reduced height to keep cards proportional in 6-column layout */
}

@media (max-width: 1400px) {
    .home-services-section .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .home-services-section .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .home-services-section .service-card {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .home-services-section .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .home-services-section .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Photo Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns per row */
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    background-color: #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* Hover neon overlay */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(var(--primary-rgb), 0.18); /* Light brand tint overlay */
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
    pointer-events: none; /* Let click events pass through directly to image element */
}

.gallery-item:hover::after {
    opacity: 1;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Subservices List inside parent service card */
.subservices-list-in-card {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    list-style: none;
}

.subservices-list-in-card li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.subservices-list-in-card li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
}

/* Service Detail View */
.service-detail-header {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
    margin-bottom: 60px;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr; /* 25% sidebar width, 75% content width */
    gap: 50px;
}

.service-detail-content h2 {
    margin-bottom: 24px;
    font-size: 2rem;
}

.service-detail-content h3 {
    margin: 30px 0 16px;
    font-size: 1.4rem;
}

.seo-content-paragraphs p,
.rich-text-content p {
    margin-bottom: 24px !important;
    line-height: 1.85 !important;
}

.service-detail-sidebar {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    height: fit-content;
}

.sidebar-title {
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

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

.sidebar-parent-item {
    margin-bottom: 8px;
}

.sidebar-parent-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 18px;
    background: transparent !important;
    border: none !important;
    font-size: 0.88rem; /* Font size reduced a bit! */
    font-weight: 600;
    color: var(--text-color) !important;
    transition: all 0.25s ease;
    text-decoration: none;
    z-index: 1;
}

.sidebar-parent-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-surface-hover); /* Gray background like custom secondary button */
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transform: skewX(-8deg); /* Slanted style like custom button background */
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sidebar-parent-link:hover {
    transform: translateX(4px);
    color: var(--primary-color) !important;
}

.sidebar-parent-link:hover::before {
    border-color: var(--primary-color);
    background-color: var(--bg-surface);
}

.sidebar-parent-link.active {
    color: #ffffff !important; /* Premium white text over active brand green background */
    font-weight: 700;
}

.sidebar-parent-link.active::before {
    background-color: var(--primary-color) !important; /* Solid green background when active */
    border-color: var(--primary-color) !important;
}

.sidebar-parent-link span {
    transform: skewX(8deg); /* Unskew text */
    display: inline-block;
}

.parent-arrow {
    transform: skewX(8deg); /* Unskew arrow */
    display: inline-block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.sidebar-child-list {
    list-style: none;
    padding-left: 18px;
    margin: 8px 0 12px 10px;
    border-left: 1.5px solid var(--border-color); /* Elegant vertical line tree connection */
}

.sidebar-child-link {
    display: block;
    padding: 7px 12px;
    font-size: 0.8rem; /* Font size reduced a bit! */
    font-weight: 500;
    color: var(--text-muted) !important;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
}

.sidebar-child-link::before {
    content: '';
    position: absolute;
    left: -19px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 1.5px;
    background-color: var(--border-color); /* Connection branch tick */
}

.sidebar-child-link:hover {
    color: var(--primary-color) !important;
    transform: translateX(4px);
}

.sidebar-child-link.active {
    color: #ffffff !important; /* Premium white text over active brand green background */
    font-weight: 700;
    background-color: var(--primary-color) !important; /* Solid green background when active */
    border-radius: 4px;
    transform: skewX(-8deg); /* Slanted style child active link */
    padding: 7px 14px;
}

.sidebar-child-link.active::before {
    background-color: var(--primary-color);
}

/* Sub-services 4-column responsive grid layout */
.subservices-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .subservices-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .subservices-grid-4col {
        grid-template-columns: 1fr;
    }
}

/* 4. ŞUBEMİZ / BRANCH PAGE */
.branch-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
}

.branch-info-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.branch-info-card h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--text-color);
}

.info-item {
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
}

.info-icon {
    font-size: 24px;
    color: var(--primary-color);
}

.info-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

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

.map-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    border: 0;
    filter: grayscale(0.9) contrast(1.1) invert(0.9);
}

[data-theme="light"] .map-wrapper iframe {
    filter: none;
}

/* 5. FORM PAGES / KAYIT OL & BIZE ULASIN */
.form-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.form-info-content h2 {
    font-size: 2.25rem;
    margin-bottom: 24px;
}

.form-info-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.15);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%239ca3af' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.recaptcha-wrapper {
    margin: 24px 0;
}

.recaptcha-placeholder {
    background-color: var(--bg-color);
    border: 1px dashed var(--border-color);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.alert-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-message-success {
    background-color: rgba(16, 185, 129, 0.12);
    border: 1px solid #10b981;
    color: #10b981;
}

.alert-message-error {
    background-color: rgba(239, 68, 68, 0.12);
    border: 1px solid #ef4444;
    color: #ef4444;
}

/* Footer Section */
.site-footer {
    background-color: var(--footer-bg);
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1.1fr 0.9fr;
    gap: 40px;
}

.footer-column h3 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.brand-col .brand-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0;
    margin-bottom: 16px;
    max-width: 320px;
}

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

.social-links a {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.social-links a svg {
    stroke: currentColor;
    fill: none;
    transition: stroke 0.25s ease;
}

.social-links a:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: #ffffff; /* White icon outline on green background on hover */
    transform: translateY(-2px);
}

.social-links a:hover svg {
    stroke: #ffffff; /* Explicitly ensure SVG outlines remain white on hover */
    fill: none;
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.footer-branch-item {
    margin-bottom: 16px;
}

.footer-branch-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-branch-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-branch-item .hours {
    font-size: 0.8rem;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.designer {
    text-align: right;
}

.designer-link {
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 0.78rem; /* Slightly reduced font size */
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.designer-link:hover {
    color: var(--primary-color);
}

/* Gallery Lightbox Popup styling */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 85%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    user-select: none;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 44px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.25s ease, transform 0.25s ease;
    user-select: none;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 10000;
    user-select: none;
    outline: none;
}

.lightbox-arrow:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000000;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

@media (max-width: 768px) {
    .lightbox-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    .lightbox-prev {
        left: 15px;
    }
    .lightbox-next {
        right: 15px;
    }
    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 36px;
    }
}

/* Mega Menu Backdrop Gaussian Blur overlay */
.mega-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998; /* Sits behind the header container but above slider */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.mega-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Media Queries (Mobile-first Adaptation) */
@media (max-width: 1024px) {
    .hero-grid, 
    .corporate-about, 
    .branch-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-layout {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .form-layout .form-card {
        order: -1;
    }

    .form-layout .form-info-content {
        order: 1;
    }
    
    .service-detail-grid {
        display: flex;
        flex-direction: column-reverse;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }

    .feature-card,
    .feature-card-content,
    .feature-icon-box {
        transform: none !important;
    }

    .feature-card:hover {
        transform: translateY(-4px) !important;
    }
}

/* ----------------------------------------------------
   100% Isolated Desktop & Mobile Navigation CSS Architecture
   ---------------------------------------------------- */

/* Default Global States */
.mobile-nav-toggle,
.mobile-nav-drawer {
    display: none !important;
}

/* 1. Desktop View (1025px and wider) */
@media (min-width: 1025px) {
    .desktop-only-nav {
        display: flex !important;
    }
    
    .mobile-nav-toggle,
    .mobile-nav-drawer,
    #mobile-nav-drawer {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: fixed !important;
        left: -9999px !important;
        top: -9999px !important;
    }
}

/* 2. Mobile & Tablet View (1024px and narrower) */
@media (max-width: 1024px) {
    .desktop-only-nav {
        display: none !important;
    }
    
    .mobile-nav-toggle {
        display: flex !important;
    }
    
    .mobile-nav-drawer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--bg-color);
        z-index: 99999;
        padding: 30px 24px 40px 24px;
        display: none !important;
        flex-direction: column;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .mobile-nav-drawer.open {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

.mobile-nav-logo {
    margin-bottom: 20px;
}

.mobile-nav-logo img {
    max-height: 44px;
    width: auto;
}

.mobile-drawer-menu {
    list-style: none;
    padding: 0;
    margin: 10px 0 25px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-drawer-link {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-drawer-accordion-btn {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
}

.mobile-drawer-accordion-btn .accordion-arrow {
    transition: transform 0.25s ease;
}

.mobile-drawer-accordion-btn.active .accordion-arrow {
    transform: rotate(180deg);
}

.mobile-drawer-accordion-body {
    display: none;
    padding: 12px 0 12px 14px;
    border-left: 2px solid var(--primary-color);
    margin-top: 8px;
    margin-bottom: 8px;
}

.mobile-drawer-accordion-body.open {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-cat-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-cat-parent {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    padding: 4px 0;
}

.mobile-cat-parent:hover {
    color: var(--primary-color);
}

.mobile-cat-sublist {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 12px;
    margin-top: 2px;
    border-left: 1px solid var(--border-color);
}

.mobile-cat-child {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    padding: 3px 0;
}

.mobile-cat-child:hover {
    color: var(--primary-color);
}

    .mega-menu-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .mega-menu-links-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-auto-flow: row;
        gap: 12px;
        grid-column: span 1;
    }

    .mega-menu-link {
        font-size: 0.95rem;
    }

    .mega-menu-spotlight-col {
        display: none; /* Hide preview card on mobile */
    }
    
    .dropdown-submenu .submenu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background-color: var(--bg-color);
        margin-top: 4px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .dropdown-submenu:hover .submenu {
        display: block;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Brute-force hamburger animation */
.mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Floating Action WhatsApp Button with Ripple Indicator */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float svg {
    z-index: 10002;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background-color: #20ba5a;
}

/* Animated Ripple Indicator */
.whatsapp-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.7;
    z-index: 10001;
    animation: whatsapp-ripple-pulse 2.2s infinite ease-in-out;
    pointer-events: none;
}

@keyframes whatsapp-ripple-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* ----------------------------------------------------
   Inner Subpages Layout & Header Contrast System
   ---------------------------------------------------- */
.inner-page {
    background-color: var(--bg-surface) !important;
    padding-top: 0 !important; /* Start at the very top of the page under header */
}

.inner-page .section {
    background-color: var(--bg-surface) !important;
}

.inner-page .site-header {
    background-color: transparent !important; /* Transparent navigation header on subpage top overlay */
    border-bottom: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Force white logo on transparent header for inner subpages */
.inner-page .site-header:not(.scrolled) .site-logo.logo-dark-theme {
    display: block !important;
}
.inner-page .site-header:not(.scrolled) .site-logo.logo-light-theme {
    display: none !important;
}

.inner-page .site-header.scrolled {
    background-color: var(--nav-bg) !important; /* Blurred solid navigation header only when scrolled */
    border-bottom: 1px solid var(--border-color) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

/* Translucent links style on transparent top navigation header */
.inner-page .site-header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

.inner-page .site-header:not(.scrolled) .nav-link:hover,
.inner-page .site-header:not(.scrolled) .nav-link.active {
    color: var(--primary-color) !important;
}

.inner-page .site-header:not(.scrolled) .theme-toggle {
    color: #ffffff !important;
}

/* ----------------------------------------------------
   Branch Page Layout Redesign
   ---------------------------------------------------- */
.branch-intro-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px; /* Increased from 60px to 80px to open up breathing room */
}

.branch-image-col img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.branch-text-col h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-color);
}

.branch-text-col p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 16px;
}

@media (max-width: 991px) {
    .branch-intro-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ----------------------------------------------------
   Our Trainer Team Grid Section (Kadromuz)
   ---------------------------------------------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.team-member-card {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    background-color: #000;
}

.team-member-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.team-member-card:hover img {
    transform: scale(1.08);
}

/* Text overlay on image */
.member-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.3s ease;
    z-index: 2;
}

.member-info-overlay h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff !important;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.member-info-overlay p {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-color) !important;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ----------------------------------------------------
   Instagram Follow CTA Section Styling
   ---------------------------------------------------- */
.instagram-cta-section {
    background-color: var(--bg-surface-hover);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 50px 0; /* Reduced padding from 70px to 50px for a more compact height */
}

.insta-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
    align-items: center;
}

.insta-info-block {
    max-width: 440px;
}

.insta-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2.5px;
    margin-bottom: 18px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
    box-shadow: 0 0 10px var(--primary-color);
}

.insta-info-block h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.insta-handle {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.insta-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
    color: #ffffff !important;
    padding: 14px 34px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 0.92rem;
    position: relative;
    z-index: 1;
}

.btn-instagram::before {
    display: none !important; /* Hide default skewed background element from leaking on the sides */
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.55);
}

.insta-photos-block {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 items in a single row */
    gap: 15px; /* Slightly tighter gap for 5 columns */
}

.insta-grid-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.insta-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.insta-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(220, 39, 67, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}

.insta-grid-item:hover img {
    transform: scale(1.08);
}

.insta-grid-item:hover .insta-grid-overlay {
    opacity: 1;
}

@media (max-width: 1200px) {
    .insta-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 20px;
    }
    .insta-info-block {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .instagram-cta-section {
        padding: 50px 0;
    }
    .insta-photos-block {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .insta-photos-block {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .insta-info-block h2 {
        font-size: 2rem;
    }
}

/* ----------------------------------------------------
   Subpage Hero Banner Section Styling
   ---------------------------------------------------- */
.subpage-hero {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -112px; /* Pull the hero section up under the fixed header */
}

.subpage-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.subpage-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Solid dark gradient mask for text contrast, fading out to theme background surface at the bottom */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 50%, var(--bg-surface) 100%);
    z-index: 2;
}

.subpage-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-top: 100px; /* Leave padding clearance for the fixed header */
    padding-left: 20px;
    padding-right: 20px;
}

.subpage-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff !important; /* Enforce white color for high contrast readability */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-style: normal;
    margin-bottom: 12px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.subpage-hero-content p {
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important; /* Enforce light gray color for readability over dark overlay */
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1024px) {
    .subpage-hero {
        margin-top: -80px; /* Match mobile header height */
        height: auto;
        min-height: 240px;
        padding: 30px 0 20px 0;
    }
    .subpage-hero-content {
        padding-top: 70px;
    }
    .subpage-hero-content h1 {
        font-size: 1.75rem !important;
        line-height: 1.25;
    }
    .subpage-hero-content p {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 768px) {
    .subpage-hero-content h1 {
        font-size: 1.35rem !important;
        line-height: 1.25;
        letter-spacing: 0;
        margin-bottom: 8px;
    }
    .subpage-hero-content p {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .subpage-hero-content h1 {
        font-size: 1.15rem !important;
        line-height: 1.25;
    }
    .subpage-hero-content p {
        font-size: 0.8rem !important;
    }
}

/* ----------------------------------------------------
   Corporate Page Image Slider Fading System
   ---------------------------------------------------- */
.corp-image-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    background-color: #000;
    transform: skewX(-8deg); /* Match feature cards skew angle */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.corp-image-slider:hover {
    transform: translateY(-8px) skewX(-8deg) scale(1.02); /* Match card translations */
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.28);
}

.corp-image-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.15) skewX(8deg); /* Unskew and zoom image to prevent blank corners */
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.corp-image-slider img.active {
    opacity: 1;
    z-index: 2;
}

.corp-image-slider:hover img {
    transform: scale(1.22) skewX(8deg); /* Interactive zoom animation inside container */
}

/* ----------------------------------------------------
   Premium Advantages List Styling (Registration Page)
   ---------------------------------------------------- */
.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Tighter spacing gap */
    margin-top: 20px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px; /* Compact padding */
    background-color: var(--bg-surface-hover);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.advantage-item:hover {
    transform: translateX(4px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.12);
}

.advantage-icon {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    width: 24px; /* Slightly smaller icon badge */
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 1px;
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.15);
}

.advantage-text h3 {
    font-size: 0.92rem; /* Clean, slightly smaller font sizing */
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2px;
    text-transform: none;
    letter-spacing: 0;
}

.advantage-text p {
    font-size: 0.78rem; /* Clean, slightly smaller paragraph sizing */
    color: var(--text-muted);
    margin: 0;
    line-height: 1.45;
}

/* ----------------------------------------------------
   Sub-services Cards Grid Styling (Service Detail)
   ---------------------------------------------------- */
.subservice-card-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    text-decoration: none;
    color: inherit;
    transform: skewX(-8deg); /* Slanted signature style! */
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-sm);
}

.subservice-card-item:hover {
    transform: translateY(-6px) skewX(-8deg) scale(1.02);
    border-color: var(--primary-color) !important;
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.22) !important;
}

.subservice-card-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15) skewX(8deg); /* Unskew and scale content */
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.subservice-card-item:hover img {
    transform: scale(1.22) skewX(8deg);
}

/* Also unskew the text header inside the subservice card */
.subservice-card-item h4 {
    transform: skewX(8deg);
}

/* Premium Button Shimmer (Light Beam) Animation */
.btn-shimmer {
    position: relative;
    overflow: hidden !important;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    z-index: 2;
    animation: buttonSheen 2s infinite ease-in-out;
    pointer-events: none;
}

@keyframes buttonSheen {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

/* Contact Detail Cards Hover Animation */
.contact-detail-card:hover {
    transform: translateY(-4px) skewX(-8deg) scale(1.02) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.18) !important;
}

/* Corporate Overlapping Text Card */
.corp-text-card {
    margin-left: -80px;
    background-color: var(--bg-surface) !important;
    opacity: 0.98;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 50px 50px 50px 70px; /* Added more padding on the left to clear the slant bounds */
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    z-index: 10;
    position: relative;
    transform: skewX(-8deg);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.corp-text-card:hover {
    transform: translateY(-6px) skewX(-8deg) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.22);
}

.corp-text-card .unskew-content {
    transform: skewX(8deg);
}

@media (max-width: 991px) {
    .corp-text-card {
        margin-left: 0;
        transform: none !important;
        padding: 30px 20px;
    }
    .corp-text-card:hover {
        transform: translateY(-4px) !important;
    }
    .corp-text-card .unskew-content {
        transform: none !important;
    }
}

/* Corporate Biz Kimiz Lead Paragraph Styling */
.corp-text-card .unskew-content p:first-of-type {
    font-size: 1.15rem;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
}

/* Corporate Page Slider Dots Pagination */
.corp-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.corp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-muted);
    opacity: 0.4;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.corp-dot:hover {
    opacity: 0.8;
}

.corp-dot.active {
    background-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

/* Force all section titles and slider headings to be a single unified color */
.section-title span,
h1 span,
h2 span,
h3 span,
.slide-content h1 span {
    color: inherit !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    animation: none !important;
}

/* ==========================================================================
   2026 Mobile Enhancements & Layout Updates (User Requests)
   ========================================================================== */

/* 1. Mobile Bottom Navigation Bar styling */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    /* Set bottom padding on body so bottom nav doesn't cover content */
    body {
        padding-bottom: 95px !important;
    }

    .mobile-bottom-nav {
        position: fixed;
        bottom: 15px;
        left: 15px;
        right: 15px;
        height: 70px;
        background-color: rgba(12, 13, 14, 0.88);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 35px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 0 16px;
        z-index: 980;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
        animation: mobileNavSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
    }
    
    .mobile-bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.55);
        text-decoration: none;
        font-size: 0.58rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        height: 52px;
        border-radius: 26px;
        position: relative;
        flex: 1;
        gap: 4px;
    }
    
    .mobile-bottom-nav-item svg {
        stroke: currentColor;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-bottom-nav-item:hover,
    .mobile-bottom-nav-item.active {
        color: var(--primary-color) !important;
    }
    
    .mobile-bottom-nav-item.active svg {
        transform: translateY(-2px) scale(1.1);
    }

    .mobile-bottom-nav-item::after {
        content: '';
        position: absolute;
        bottom: -2px;
        width: 4px;
        height: 4px;
        background-color: transparent;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .mobile-bottom-nav-item.active::after {
        background-color: var(--primary-color);
        box-shadow: 0 0 8px var(--primary-color);
    }
    
    .mobile-bottom-nav-item.whatsapp-item {
        color: #25d366;
    }

    .mobile-bottom-nav-item.whatsapp-item:hover,
    .mobile-bottom-nav-item.whatsapp-item.active {
        color: #25d366 !important;
    }

    .mobile-bottom-nav-item.whatsapp-item.active::after {
        background-color: #25d366;
        box-shadow: 0 0 8px #25d366;
    }
    
    .mobile-bottom-divider {
        width: 1px;
        height: 24px;
        background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.15), transparent);
        margin: 0 5px;
        flex-shrink: 0;
    }
    
    /* 2. Hide floating WhatsApp button on mobile */
    .whatsapp-float {
        display: none !important;
    }
    
    /* 3. Hide theme toggle switcher on mobile */
    #theme-toggle-btn, .theme-toggle, .nav-actions {
        display: none !important;
    }

    /* 4. Hide vertical social links in slider on mobile (handled in 1024px query) */

    /* 5. Stack slider buttons vertically on mobile (handled in 1024px query) */

}

/* Mobile menu logo hidden by default */
.mobile-nav-logo {
    display: none;
}

@media (max-width: 1024px) {
    /* Hide vertical social links in slider on all screens under 1024px */
    .hero-social-sidebar {
        display: none !important;
    }

    /* 5. Stack slider buttons vertically on mobile and tablet screens */
    .slide-buttons {
        flex-direction: column !important;
        width: 100%;
        gap: 12px;
    }
    
    .slide-buttons .btn {
        width: 100% !important;
        text-align: center;
        justify-content: center;
        display: inline-flex;
    }

    /* 6. Mobile overlapping cards stack vertically under the slider instead of absolute overlap */
    .features-overlap-section {
        margin-top: 0 !important;
        padding: 40px 0 20px 0 !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .feature-card {
        transform: none !important;
        margin-bottom: 10px;
    }

    .feature-card h3,
    .feature-card p,
    .feature-icon-box {
        transform: none !important;
    }
}

@media (max-width: 768px) {

    /* 7. Full Screen Green Mobile Navigation Menu */
    .mobile-nav-logo {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin-bottom: 30px !important;
        flex-shrink: 0 !important;
    }

    .mobile-nav-logo a {
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .mobile-nav-logo img {
        max-height: 60px;
        width: auto;
        object-fit: contain;
    }

    .mobile-nav-toggle {
        z-index: 1000 !important;
        position: relative;
    }

    /* Header starts with white bars for hero background readability */
    .mobile-nav-toggle .bar {
        background-color: #ffffff !important;
    }

    /* Scrolled state: bars adapt to the current theme color (black on light scrolled header, white on dark scrolled header) */
    .site-header.scrolled .mobile-nav-toggle .bar {
        background-color: var(--text-color) !important;
    }

    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background-color: #16a34a !important; /* Green background */
        z-index: 990 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        transform: translateY(-100%) !important;
        transition: transform 0.4s cubic-bezier(0.85, 0, 0.15, 1) !important;
        padding: 100px 24px 80px 24px !important;
        overflow-y: auto !important;
    }

    .nav-menu.open {
        transform: translateY(0) !important;
    }

    .nav-list {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 16px !important;
        margin-bottom: 20px;
    }

    .nav-logo-gap {
        display: none !important;
    }

    .nav-item {
        width: 100% !important;
        text-align: center !important;
    }

    .nav-link {
        color: #ffffff !important;
        font-family: 'Outfit', sans-serif !important;
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        padding: 8px 0 !important;
        display: inline-block !important;
        transition: color 0.2s ease;
    }

    .nav-link:hover, 
    .nav-link.active,
    .home-page .site-header .nav-link.active,
    .inner-page .site-header .nav-link.active,
    .home-page .site-header:not(.scrolled) .nav-link.active,
    .inner-page .site-header:not(.scrolled) .nav-link.active,
    .nav-menu .nav-link.active,
    .nav-menu .mega-menu-link.active {
        color: #000000 !important;
    }

    .dropdown-icon {
        stroke: #ffffff !important;
    }

    /* Sub-services menu styling on mobile */
    .mega-menu {
        background-color: rgba(0, 0, 0, 0.15) !important;
        border-radius: 8px !important;
        margin-top: 10px !important;
        padding: 15px !important;
        display: none !important;
    }
    
    .mega-menu.open-mobile {
        display: block !important;
    }
    
    .mega-menu-container {
        padding: 0 !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    
    .mega-menu-cols {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    .mega-menu-col {
        gap: 10px !important;
    }
    
    .mega-menu-item-link {
        color: #ffffff !important;
        font-size: 1.05rem !important;
        font-weight: 600 !important;
        text-align: center !important;
        justify-content: center !important;
        display: flex !important;
        gap: 6px !important;
        padding: 6px 0 !important;
        width: 100% !important;
        border-radius: 4px !important;
        transition: background-color 0.2s ease !important;
    }
    
    .mega-menu-item-link:hover,
    .mega-menu-item-link.active {
        color: #0c0d0e !important;
        background-color: rgba(255, 255, 255, 0.2) !important;
        padding-left: 0 !important;
    }
    
    .mega-menu-bullet {
        display: none !important;
    }
    
    .mega-menu-preview-col {
        display: none !important;
    }
    
    .mega-menu-links-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    .mega-menu-link {
        color: #ffffff !important;
        font-size: 1.05rem !important;
        font-weight: 600 !important;
        text-align: center !important;
        justify-content: center !important;
        display: flex !important;
        gap: 6px !important;
        padding: 6px 0 !important;
    }
    
    .mega-menu-link:hover {
        color: #0c0d0e !important;
    }

    /* Mobile Nav Footer (inside full screen menu) */
    .mobile-nav-footer {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        margin-top: auto;
        padding-top: 30px;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .mobile-nav-phone {
        margin-bottom: 15px;
    }

    .mobile-nav-phone a {
        font-size: 1.3rem;
        font-weight: 800;
        color: #ffffff !important;
        letter-spacing: 0.5px;
    }

    .mobile-nav-socials {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .mobile-nav-socials a {
        color: #ffffff !important;
        transition: transform 0.2s ease;
    }

    .mobile-nav-socials a:hover {
        transform: scale(1.15);
        color: #0c0d0e !important;
    }

    /* 8. Ensure even number of images in grids on mobile */
    .gallery-grid .gallery-item:nth-child(15) {
        display: none !important;
    }
    
    .insta-photos-block .insta-grid-item:nth-child(5) {
        display: none !important;
    }
    
    /* 9. Force team expert grid to show one item per row on mobile */
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Prevent page scroll, change header background and icon colors when mobile nav is open */
    body.nav-menu-open {
        overflow: hidden !important;
    }

    body.nav-menu-open .site-header {
        background-color: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }

    body.nav-menu-open .logo-link {
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    body.nav-menu-open .mobile-nav-toggle .bar {
        background-color: #ffffff !important;
    }
}

/* ==========================================================================
   Fade-in scroll entrance animations rules
   ========================================================================== */
.fade-in-el {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

/* Service Card Interactive pointer overrides */
.service-card {
    cursor: pointer;
}

/* Keyframes for Bottom Mobile Navigation slide-up animation */
@keyframes mobileNavSlideUp {
    0% {
        transform: translateY(100px) scale(0.92);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* ==========================================================================
   Desktop Entrance Animations (Premium cinematic page load transitions)
   ========================================================================== */
@media (min-width: 1025px) {
    /* Logo Entrance */
    .logo-link {
        animation: logoEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
    }

    @keyframes logoEntrance {
        0% {
            transform: translate(-50%, -50%) scale(1.35);
            filter: blur(15px);
            opacity: 0;
        }
        100% {
            transform: translate(-50%, -50%) scale(1);
            filter: blur(0);
            opacity: 1;
        }
    }

    /* Menu Navigation Links Staggered Cascading Entrance */
    .nav-list-left li,
    .nav-list-right li {
        animation: navItemEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    
    .nav-list-left li:nth-child(1) { animation-delay: 0.2s; }
    .nav-list-left li:nth-child(2) { animation-delay: 0.3s; }
    .nav-list-left li:nth-child(3) { animation-delay: 0.4s; }
    
    .nav-list-right li:nth-child(1) { animation-delay: 0.45s; }
    .nav-list-right li:nth-child(2) { animation-delay: 0.55s; }
    .nav-list-right li:nth-child(3) { animation-delay: 0.65s; }

    @keyframes navItemEntrance {
        0% {
            transform: translateY(-25px);
            opacity: 0;
        }
        100% {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /* Left Social Link Sidebar Entrance */
    .hero-social-sidebar {
        animation: socialSidebarEntrance 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
    }

    @keyframes socialSidebarEntrance {
        0% {
            transform: translateX(-70px);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* Left Vertical Phone Sidebar Entrance */
    .slider-vertical-phone {
        animation: phoneSidebarEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
    }

    @keyframes phoneSidebarEntrance {
        0% {
            transform: translateX(-70px);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* Overlapping Feature Cards Staggered Skew Entrance */
    .features-grid .feature-card {
        animation: featureCardEntrance 1.3s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    
    .features-grid .feature-card:nth-child(1) { animation-delay: 0.55s; }
    .features-grid .feature-card:nth-child(2) { animation-delay: 0.7s; }
    .features-grid .feature-card:nth-child(3) { animation-delay: 0.85s; }

    @keyframes featureCardEntrance {
        0% {
            transform: translateY(140px) skewX(-8deg);
            opacity: 0;
        }
        100% {
            transform: translateY(0) skewX(-8deg);
            opacity: 1;
        }
    }
}

/* ----------------------------------------------------
   Timed Special Offer Popup Modal Styling
   ---------------------------------------------------- */
.timed-popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.timed-popup-modal.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.timed-popup-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.timed-popup-container {
    position: relative;
    z-index: 100010;
    width: 100%;
    max-width: 520px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 28px 28px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.timed-popup-modal.active .timed-popup-container {
    transform: scale(1) translateY(0);
}

.timed-popup-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.timed-popup-close-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.timed-popup-header {
    margin-bottom: 20px;
    text-align: center;
}

.timed-popup-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 230, 118, 0.12);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.timed-popup-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 6px;
    line-height: 1.3;
}

.timed-popup-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ----------------------------------------------------
   Modern Premium Footer & Multi-Column Grid Architecture
   ---------------------------------------------------- */
.site-footer {
    background-color: #0d0e12;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    padding-top: 60px;
    margin-top: 60px;
}

.footer-top {
    padding-bottom: 50px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-column h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.footer-column.brand-col .brand-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-column.brand-col .contact-details p {
    margin-bottom: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-column.brand-col .contact-details p strong {
    color: #ffffff;
}

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

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #08090b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-template-columns: none; /* override grid for footer bottom */
}

.footer-bottom .copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom .designer-link {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
}

/* Responsive Footer Adjustments */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}


