/* -------------------------------------------------------------
   SYSTEM DESIGN TOKENS & RESET
   ------------------------------------------------------------- */
:root {
    /* Color Palette - Light Mode (Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --accent-primary: #1e3a8a; /* Navy Blue */
    --accent-secondary: #2563eb; /* Electric Blue */
    --accent-hover: #1d4ed8;
    --accent-light: #eff6ff;
    
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(226, 232, 240, 0.6);
    --card-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
    --hover-shadow: 0 30px 60px -20px rgba(37, 99, 235, 0.15);
    --navbar-bg: rgba(255, 255, 255, 0.8);
    --glow-color: rgba(37, 99, 235, 0.15);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Layout Constants */
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Color Palette - Dark Mode overrides */
[data-theme="dark"] {
    --bg-primary: #0b0f19; /* Deep space slate */
    --bg-secondary: #111827; /* Dark slate */
    --bg-tertiary: #1f2937;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    --accent-primary: #3b82f6; /* Lighter bright blue */
    --accent-secondary: #60a5fa;
    --accent-hover: #2563eb;
    --accent-light: rgba(59, 130, 246, 0.1);
    
    --border-color: #374151;
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(55, 65, 81, 0.5);
    --card-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 30px 60px -20px rgba(59, 130, 246, 0.2);
    --navbar-bg: rgba(11, 15, 25, 0.8);
    --glow-color: rgba(96, 165, 250, 0.12);
}

/* Smooth Resets */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

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

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

/* -------------------------------------------------------------
   UTILITY & LAYOUT CLASSES
   ------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-red { color: #ef4444; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-primary);
    border: none;
}

.btn-primary {
    background-color: var(--accent-secondary);
    color: #ffffff;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-color: var(--accent-light);
    color: var(--accent-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-block {
    width: 100%;
}

/* Glass Card design */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--card-shadow);
}

/* Section Common Headers */
.section-header {
    margin-bottom: 50px;
    max-width: 700px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-secondary);
    background-color: var(--accent-light);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* -------------------------------------------------------------
   MAIN HEADER / NAVIGATION
   ------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--navbar-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background-color var(--transition-normal), border var(--transition-normal), transform var(--transition-fast);
}

.main-header.scrolled {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    max-height: 50px;
    height: 50px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.header-logo:hover {
    transform: scale(1.03);
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

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

/* Underline Animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Toggle button */
.theme-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.theme-btn:hover {
    background-color: var(--accent-light);
    color: var(--accent-secondary);
    transform: rotate(15deg);
}

/* Mobile menu trigger */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 44px;
    height: 44px;
    padding: 12px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
    background-color: var(--accent-light);
}

.menu-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-fast);
}

.mobile-menu-btn.active .menu-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-primary);
    border-left: 1px solid var(--border-color);
    z-index: 999;
    padding: 32px 24px;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px -10px rgba(0, 0, 0, 0.1);
}

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

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-link {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-tertiary);
}

.mobile-link:hover {
    color: var(--accent-secondary);
    padding-left: 8px;
}

/* -------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------- */
.hero-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-color) 0%, rgba(37, 99, 235, 0) 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(40px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.text-highlight {
    color: var(--accent-secondary);
    background: linear-gradient(120deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Hero Visual right side */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
    max-width: 440px;
}

.hero-image {
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.15);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover .hero-image {
    transform: translateY(-8px);
}

/* Badges floating on image */
.visual-badge {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.06);
    z-index: 10;
}

.visual-badge i {
    color: #eab308; /* Star color */
}

.float-badge-1 {
    top: 20%;
    left: -20px;
    animation: floating-badge 4s ease-in-out infinite;
}

.float-badge-2 {
    bottom: 15%;
    right: -20px;
    animation: floating-badge 4s ease-in-out infinite 2s;
}

.float-badge-2 i {
    color: var(--accent-secondary);
}

@keyframes floating-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* -------------------------------------------------------------
   CATEGORIES SECTION
   ------------------------------------------------------------- */
.categories-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

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

.category-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px;
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-secondary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition-normal);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    background-color: var(--bg-primary);
}

.category-card:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.category-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background-color: var(--accent-light);
    color: var(--accent-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: all var(--transition-fast);
}

.category-card:hover .category-icon-wrapper {
    background-color: var(--accent-secondary);
    color: #ffffff;
    transform: scale(1.08) rotate(5deg);
}

.category-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.category-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition-fast);
}

.category-card:hover .card-link {
    gap: 12px;
}

/* -------------------------------------------------------------
   BRANCHES / SUCURSALES SECTION
   ------------------------------------------------------------- */
.branches-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.branch-explorer {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 32px;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Left Selection Panel */
.branch-selector-panel {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 650px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.search-box-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

#branch-search {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: all var(--transition-fast);
}

#branch-search:focus {
    border-color: var(--accent-secondary);
    background-color: var(--bg-primary);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.branch-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 4px;
}

/* Scrollbar customization for branch list */
.branch-list::-webkit-scrollbar {
    width: 6px;
}
.branch-list::-webkit-scrollbar-track {
    background: transparent;
}
.branch-list::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 20px;
}

/* Branch List Items */
.branch-item {
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
}

.branch-item:hover {
    border-color: var(--accent-secondary);
    background-color: var(--bg-primary);
    transform: translateX(4px);
}

.branch-item.active {
    border-color: var(--accent-secondary);
    background-color: var(--accent-light);
    box-shadow: 0 4px 12px -3px rgba(37, 99, 235, 0.1);
}

.branch-item h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.branch-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.branch-item .branch-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 8px;
}

.branch-item.active h3 {
    color: var(--accent-primary);
}

/* Right Detail & Map Panel */
.branch-detail-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.branch-detail-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--card-shadow);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

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

.detail-header h3 {
    font-size: 1.8rem;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.open {
    background-color: #dcfce7;
    color: #166534;
}

.status-badge.closed {
    background-color: #fee2e2;
    color: #991b1b;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}

.detail-info-item {
    display: flex;
    gap: 16px;
}

.detail-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--accent-light);
    color: var(--accent-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.detail-text h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.detail-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.branch-amenities {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-bottom: 24px;
}

.branch-amenities h4 {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.amenities-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.amenity-badge {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.amenity-badge i {
    color: var(--accent-secondary);
}

.detail-actions {
    display: flex;
    gap: 16px;
}

/* Map Wrapper */
.map-wrapper {
    height: 320px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    z-index: 5; /* Keep below dropdown navbar */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#map {
    width: 100%;
    height: 100%;
    max-width: 100%;
    overflow: hidden !important;
}

.leaflet-container {
    max-width: 100% !important;
    overflow: hidden !important;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    color: var(--text-muted);
    font-weight: 500;
}

/* -------------------------------------------------------------
   CONTACT SECTION
   ------------------------------------------------------------- */
.contact-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.contact-bg-glow {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--glow-color) 0%, rgba(37, 99, 235, 0) 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(40px);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    position: relative;
    z-index: 2;
}

/* Premium Form Elements */
.premium-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.premium-form input, .premium-form select, .premium-form textarea {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: all var(--transition-fast);
}

.premium-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.premium-form input:focus, .premium-form select:focus, .premium-form textarea:focus {
    border-color: var(--accent-secondary);
    background-color: var(--bg-primary);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.premium-form input:focus + .input-icon, .premium-form select:focus + .input-icon, .premium-form textarea:focus + .input-icon {
    color: var(--accent-secondary);
}

.text-area-wrapper {
    position: relative;
}

.text-area-icon {
    top: 24px !important;
}

.premium-form textarea {
    padding-top: 16px;
    resize: none;
}

/* Contact Sidebar Card */
.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.contact-intro {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.quick-contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.quick-contact-item {
    display: flex;
    gap: 16px;
}

.quick-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--accent-light);
    color: var(--accent-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.quick-text h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.quick-text p {
    font-size: 1rem;
    font-weight: 600;
}

.quick-text a:hover {
    color: var(--accent-secondary);
}

.social-connect h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.social-connect p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

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

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
    transition: all var(--transition-fast);
}

.social-btn.facebook {
    background-color: #1877f2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.25);
}

.social-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* -------------------------------------------------------------
   FOOTER STYLE
   ------------------------------------------------------------- */
.main-footer {
    background-color: #0b0f19;
    color: #94a3b8;
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
}

/* Overwrite footer colors in both modes */
.main-footer h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.main-footer a {
    color: #cbd5e1;
}

.main-footer a:hover {
    color: var(--accent-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 360px;
}

.footer-logo {
    height: 50px;
    object-fit: contain;
    align-self: flex-start;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a, .footer-legal a {
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover, .footer-legal a:hover {
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    font-size: 0.88rem;
}

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

/* -------------------------------------------------------------
   TOAST NOTIFICATION & FEEDBACK
   ------------------------------------------------------------- */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2000;
    pointer-events: none;
}

.toast {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    pointer-events: auto;
    animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    max-width: 360px;
    border-left: 4px solid var(--accent-secondary);
}

.toast.success {
    border-left-color: #22c55e;
}

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

.toast.success .toast-icon {
    color: #22c55e;
}

.toast-content h5 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.toast-content p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

@keyframes slideInToast {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.toast.fade-out {
    animation: fadeOutToast 0.3s ease forwards;
}

@keyframes fadeOutToast {
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .branch-explorer {
        grid-template-columns: 1fr;
    }
    
    .branch-selector-panel {
        height: 350px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .detail-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .detail-actions .btn {
        width: 100%;
    }

    .detail-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .header-logo {
        max-width: 140px;
        max-height: 44px;
        height: auto;
        width: auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 12px 20px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .stat-item {
        align-items: center;
        min-width: 100px;
    }

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

    .section-title {
        font-size: 1.8rem;
    }

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

    .categories-section, .branches-section, .contact-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    /* Prevent floating absolute badges from pushing viewport width */
    .visual-badge {
        display: none !important;
    }

    .container {
        padding: 0 16px;
    }

    .header-logo {
        max-width: 110px;
        max-height: 40px;
        height: auto;
        width: auto;
    }

    .hero-image-wrapper {
        max-width: 100%;
    }

    .branch-selector-panel {
        padding: 16px 12px;
    }

    .branch-item {
        padding: 12px;
    }

    .branch-detail-card {
        padding: 20px 16px;
    }

    .detail-header h3 {
        font-size: 1.4rem;
    }

    .detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .amenities-icons {
        gap: 8px;
    }

    .amenity-badge {
        padding: 6px 12px;
        font-size: 0.78rem;
    }
}
