/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Theme (Default) */
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --success-color: #4bb543;
    --success-hover: #3a9434;
    --danger-color: #f72585;
    --warning-color: #f8961e;
    --dark-color: #1e1e2f;
    --gray-color: #6c757d;
    --border-radius: 10px;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --topbar-height: 68px;
    
    /* Light theme specific */
    --bg-primary: #f4f7fc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    --bg-modal: #ffffff;
    --bg-info-btn: #f0f2f5;
    --bg-duration-box: #f8f9fa;
    --bg-feature-modal-alert: #f0f7ff;
    --bg-topbar: #ffffff;
    --bg-sidebar-gradient-start: #667eea;
    --bg-sidebar-gradient-end: #764ba2;
    --bg-footer-gradient-start: #667eea;
    --bg-footer-gradient-end: #764ba2;
    --bg-features-gradient-start: #667eea;
    --bg-features-gradient-end: #764ba2;
    
    --text-primary: #333333;
    --text-secondary: #6c757d;
    --text-dark: #1e1e2f;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --text-footer: rgba(255,255,255,0.82);
    --text-footer-hover: #ffffff;
    --text-sidebar: #ffffff;
    --text-features: #ffffff;
    --text-features-muted: rgba(255,255,255,0.85);
    
    --border-color: #e0e0e0;
    --border-light: #e2e8f0;
    --border-sidebar: rgba(255,255,255,0.1);
    --border-footer: rgba(255,255,255,0.12);
    
    --shadow-card: 0 8px 25px rgba(0,0,0,0.08);
    --shadow-card-hover: 0 25px 40px rgba(0,0,0,0.15);
    --shadow-topbar: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-modal: 0 25px 50px rgba(0,0,0,0.2);
    --shadow-notification: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-sidebar: -5px 0 20px rgba(0,0,0,0.2);
    
    --overlay-bg: rgba(0,0,0,0.4);
    --carousel-caption-bg: rgba(0,0,0,0.5);
    
    --feature-icon-bg: rgba(255,255,255,0.18);
    --feature-icon-bg-hover: rgba(255,255,255,0.3);
    --feature-item-hover: rgba(255,255,255,0.08);
    
    --social-link-bg: rgba(255,255,255,0.15);
    --social-link-hover-bg: #ffffff;
    --social-link-hover-color: var(--primary-color);
    
    --section-header-star: #f9a826;
    --feature-detail-list-border: #f0f0f0;
    --feature-detail-list-text: #555;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #121212;
    --bg-secondary: #1e1e2f;
    --bg-card: #1e1e2f;
    --bg-input: #2a2a3e;
    --bg-modal: #1e1e2f;
    --bg-info-btn: #2a2a3e;
    --bg-duration-box: #2a2a3e;
    --bg-feature-modal-alert: #1a1a2e;
    --bg-topbar: #1a1a2e;
    --bg-sidebar-gradient-start: #1a1a2e;
    --bg-sidebar-gradient-end: #2a1a3e;
    --bg-footer-gradient-start: #1a1a2e;
    --bg-footer-gradient-end: #2a1a3e;
    --bg-features-gradient-start: #1a1a2e;
    --bg-features-gradient-end: #2a1a3e;
    
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0b0;
    --text-dark: #e0e0e0;
    --text-light: #ffffff;
    --text-muted: #a0a0b0;
    --text-footer: rgba(255,255,255,0.75);
    --text-footer-hover: #ffffff;
    --text-sidebar: #ffffff;
    --text-features: #ffffff;
    --text-features-muted: rgba(255,255,255,0.75);
    
    --border-color: #3a3a4e;
    --border-light: #3a3a4e;
    --border-sidebar: rgba(255,255,255,0.08);
    --border-footer: rgba(255,255,255,0.08);
    
    --shadow-card: 0 8px 25px rgba(0,0,0,0.3);
    --shadow-card-hover: 0 25px 40px rgba(0,0,0,0.5);
    --shadow-topbar: 0 2px 10px rgba(0,0,0,0.3);
    --shadow-modal: 0 25px 50px rgba(0,0,0,0.5);
    --shadow-notification: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-sidebar: -5px 0 20px rgba(0,0,0,0.5);
    
    --overlay-bg: rgba(0,0,0,0.7);
    --carousel-caption-bg: rgba(0,0,0,0.7);
    
    --feature-icon-bg: rgba(255,255,255,0.1);
    --feature-icon-bg-hover: rgba(255,255,255,0.2);
    --feature-item-hover: rgba(255,255,255,0.05);
    
    --social-link-bg: rgba(255,255,255,0.1);
    --social-link-hover-bg: var(--primary-color);
    --social-link-hover-color: #ffffff;
    
    --section-header-star: #f9a826;
    --feature-detail-list-border: #2a2a3e;
    --feature-detail-list-text: #b0b0c0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, color 0.3s ease;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

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

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-input);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    flex-shrink: 0;
    outline: none;
}

.theme-toggle-btn:hover {
    transform: rotate(15deg) scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(67, 97, 238, 0.3);
}

.theme-toggle-btn:active {
    transform: rotate(15deg) scale(0.95);
}

.theme-toggle-btn i {
    position: absolute;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-dark);
}

.theme-toggle-btn .fa-sun {
    opacity: 0;
    transform: translateY(30px) rotate(-90deg);
    color: #f8961e;
}

.theme-toggle-btn .fa-moon {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
    color: #6366f1;
}

/* When dark mode is active, swap icons */
[data-theme="dark"] .theme-toggle-btn .fa-sun {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

[data-theme="dark"] .theme-toggle-btn .fa-moon {
    opacity: 0;
    transform: translateY(-30px) rotate(90deg);
}

[data-theme="dark"] .theme-toggle-btn:hover {
    box-shadow: 0 0 15px rgba(248, 150, 30, 0.3);
}

/* ===== SIDEBAR OVERLAY ===== */
#sidebarOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--overlay-bg);
    z-index: 1040;
}

#sidebarOverlay.active {
    display: block;
}

/* ===== SIDEBAR ===== */
#sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1050;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--bg-sidebar-gradient-start) 0%, var(--bg-sidebar-gradient-end) 100%);
    overflow-x: hidden;
    transition: width 0.3s ease, background 0.3s ease;
    box-shadow: var(--shadow-sidebar);
    padding-top: 70px;
}

#sidebar a {
    padding: 14px 28px;
    font-size: 15px;
    display: flex;
    align-items: center;
    color: var(--text-sidebar);
    border-bottom: 1px solid var(--border-sidebar);
    white-space: nowrap;
    transition: var(--transition);
}

#sidebar a:hover {
    background: rgba(255,255,255,0.2);
    padding-left: 38px;
}

#sidebar a i {
    margin-right: 12px;
    width: 18px;
    flex-shrink: 0;
}

#sidebar .closebtn {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 28px;
    border-bottom: none;
    padding: 5px;
    display: flex;
    align-items: center;
}

#sidebar .closebtn:hover {
    background: transparent;
    padding-left: 5px;
}

/* ===== TOP BAR ===== */
.top-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-topbar);
    padding: 10px 20px;
    box-shadow: var(--shadow-topbar);
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: var(--topbar-height);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.logo-link {
    flex-shrink: 0;
}

.logo {
    width: 130px;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

/* Search Container */
.search-container {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 520px;
}

.location-select {
    flex-shrink: 0;
    border-radius: 25px;
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-input);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: var(--transition), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100px;
}

.location-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
}

.search-input {
    flex: 1;
    min-width: 0;
    padding: 8px 16px;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-input);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
}

.search-btn {
    flex-shrink: 0;
    border-radius: 25px;
    padding: 8px 18px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.search-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

/* Top bar actions */
.top-bar-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-btn {
    white-space: nowrap;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hamburger {
    font-size: 26px;
    cursor: pointer;
    color: var(--text-dark);
    background: none;
    border: none;
    padding: 4px 6px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

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

/* ===== BUTTONS ===== */
.btn {
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
    color: white;
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: var(--success-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(75, 181, 67, 0.3);
    color: white;
}

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

.btn-outline-secondary {
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-outline-secondary:hover {
    background-color: var(--bg-duration-box);
    color: var(--text-primary);
}

/* ===== CAROUSEL ===== */
.carousel {
    border-radius: 12px;
    overflow: hidden;
    margin: 16px auto;
    max-width: 1200px;
    width: calc(100% - 32px);
    box-shadow: var(--box-shadow);
}

.carousel-inner {
    border-radius: 12px;
}

.carousel-item {
    height: 420px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition);
}

.carousel-control-prev { left: 16px; }
.carousel-control-next { right: 16px; }

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
    background: rgba(255,255,255,0.5);
}

.carousel-caption {
    background: var(--carousel-caption-bg);
    border-radius: 10px;
    padding: 16px 20px;
    bottom: 40px;
    left: 10%;
    right: 10%;
}

.carousel-caption h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.carousel-caption p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 0.95rem;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 4px;
    background-color: white;
    opacity: 0.5;
    border: none;
}

.carousel-indicators button.active {
    opacity: 1;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 50px 16px 30px;
    transition: color 0.3s ease;
}

.hero-section h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-dark);
}

.hero-section .lead {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-muted);
    margin-top: 12px;
}

/* ===== FEATURED SERVICES SECTION ===== */
.featured-services-section {
    padding: 30px 16px 40px;
}

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

.section-header h2 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-header h2 i {
    color: var(--section-header-star);
    margin-right: 8px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--section-header-star));
    border-radius: 3px;
}

.section-header .lead {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
}

.card-img-wrap {
    width: 100%;
    height: 210px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-body-inner {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card .title {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

.service-card .description {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.service-card .price {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
}

.card-actions .btn {
    flex: 1;
    justify-content: center;
    font-size: 0.88rem;
    padding: 8px 12px;
    border-radius: 40px;
}

.info-btn {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-info-btn);
    border-radius: 50%;
    color: var(--text-muted);
    border: none;
    cursor: pointer;
    transition: var(--transition), background-color 0.3s ease, color 0.3s ease;
    font-size: 14px;
}

.info-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.08);
}

/* ===== PREMIUM FEATURES ROW ===== */
.premium-features-row {
    background: linear-gradient(135deg, var(--bg-features-gradient-start) 0%, var(--bg-features-gradient-end) 100%);
    padding: 55px 0 45px;
    margin: 40px 0 0;
    position: relative;
    transition: background 0.3s ease;
}

.feature-item {
    text-align: center;
    padding: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 10px;
    position: relative;
}

.feature-item:hover {
    background: var(--feature-item-hover);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--feature-icon-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 36px;
    color: var(--text-features);
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--feature-icon-bg-hover);
    transform: scale(1.05);
}

.feature-item:hover .feature-icon i {
    transform: scale(1.1);
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-features);
    margin-bottom: 8px;
    pointer-events: none;
}

.feature-item p {
    color: var(--text-features-muted);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
    pointer-events: none;
}

/* Feature Modal Styling */
.feature-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-modal);
    background-color: var(--bg-modal);
    transition: background-color 0.3s ease;
}

.feature-modal .modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0.5rem;
    background: var(--bg-modal);
    transition: background-color 0.3s ease;
}

.feature-modal .modal-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-modal .modal-body {
    padding: 1.5rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.feature-modal .modal-footer {
    border-top: none;
    padding: 1rem 1.5rem 1.5rem;
}

.feature-modal .text-muted {
    color: var(--text-muted) !important;
}

.feature-detail-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-features-gradient-start) 0%, var(--bg-features-gradient-end) 100%);
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-detail-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-detail-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--feature-detail-list-border);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--feature-detail-list-text);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.feature-detail-list li:last-child {
    border-bottom: none;
}

.feature-detail-list li i {
    color: var(--success-color);
    font-size: 1.1rem;
}

/* Feature Modal Alert */
.feature-modal .alert {
    position: relative;
    top: auto;
    right: auto;
    background: var(--bg-feature-modal-alert);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 1rem;
    min-width: auto;
    max-width: 100%;
    box-shadow: none;
    z-index: auto;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== SERVICE MODAL ===== */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: var(--shadow-modal);
    background-color: var(--bg-modal);
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: none;
    background: linear-gradient(135deg, var(--bg-features-gradient-start) 0%, var(--bg-features-gradient-end) 100%);
    color: white;
    transition: background 0.3s ease;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-title {
    color: white !important;
    font-weight: 700;
}

.modal-body {
    padding: 25px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.modal-footer {
    border-top: 1px solid var(--border-light);
    padding: 20px 25px;
    transition: border-color 0.3s ease;
}

.service-detail-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
}

.service-detail-price {
    font-size: 1.2rem;
    color: var(--primary-color) !important;
    font-weight: 600;
    margin: 8px 0;
}

.duration-box {
    background: var(--bg-duration-box);
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.duration-box i {
    color: var(--text-muted);
}

.duration-box strong {
    color: var(--text-dark);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--bg-footer-gradient-start) 0%, var(--bg-footer-gradient-end) 100%);
    color: white;
    padding: 50px 0 20px;
    transition: background 0.3s ease;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 10px;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 2px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
}

.footer p {
    color: var(--text-footer);
    line-height: 1.6;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer ul li {
    margin-bottom: 9px;
}

.footer ul li a {
    color: var(--text-footer);
    font-size: 0.93rem;
    transition: var(--transition), color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--text-footer-hover);
    padding-left: 5px;
}

.footer ul li i {
    margin-right: 8px;
    width: 16px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--social-link-bg);
    border-radius: 50%;
    color: white;
    font-size: 0.9rem;
    transition: var(--transition), background-color 0.3s ease;
}

.social-links a:hover {
    background: var(--social-link-hover-bg);
    color: var(--social-link-hover-color);
    transform: translateY(-3px);
}

.contact-info {
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-footer);
    font-size: 0.93rem;
    margin-bottom: 9px;
    transition: color 0.3s ease;
}

.contact-info li i {
    margin-top: 2px;
    color: rgba(255,255,255,0.9);
    flex-shrink: 0;
    width: 16px;
}

.contact-info li a {
    color: var(--text-footer);
    text-decoration: none;
    transition: var(--transition), color 0.3s ease;
}

.contact-info li a:hover {
    color: var(--text-footer-hover);
    text-decoration: underline;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 10px 15px;
    border-radius: 25px;
    border: none;
    outline: none;
    font-size: 14px;
    background-color: rgba(255,255,255,0.9);
    color: #333;
}

.newsletter-form input::placeholder {
    color: #888;
}

.newsletter-form button {
    flex-shrink: 0;
    padding: 10px 18px;
    border-radius: 25px;
    border: none;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid var(--border-footer);
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    transition: border-color 0.3s ease;
}

/* ===== NOTIFICATION / ALERT ===== */
.alert {
    position: fixed;
    top: 80px;
    right: 16px;
    z-index: 9999;
    min-width: 280px;
    max-width: calc(100vw - 32px);
    border-radius: 10px;
    box-shadow: var(--shadow-notification);
    border: none;
    color: white;
    transition: box-shadow 0.3s ease;
}

.alert-success {
    background: linear-gradient(135deg, #4bb543, #3a9434);
}

.alert-danger {
    background: linear-gradient(135deg, #f72585, #e01e6d);
}

.alert-info {
    background: linear-gradient(135deg, #4cc9f0, #3b9fc0);
}

.alert-warning {
    background: linear-gradient(135deg, #f8961e, #e07a1a);
}

.alert .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.alert .btn-close:hover {
    opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .top-bar { 
        padding: 10px 16px; 
        gap: 10px; 
    }
    
    .logo { 
        width: 110px; 
    }
    
    .search-container { 
        max-width: 100%; 
    }
    
    .carousel-item { 
        height: 300px; 
    }
    
    .card-img-wrap { 
        height: 180px; 
    }
    
    .feature-icon { 
        width: 70px; 
        height: 70px; 
    }
    
    .feature-icon i { 
        font-size: 30px; 
    }
    
    .service-card .title {
        font-size: 1.1rem;
    }
    
    .service-card .description {
        font-size: 0.85rem;
    }
    
    .service-card .price {
        font-size: 1.1rem;
    }
    
    .theme-toggle-btn {
        width: 40px;
        height: 40px;
    }
    
    .theme-toggle-btn i {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .top-bar { 
        padding: 8px 12px; 
        gap: 8px; 
        flex-wrap: wrap;
    }
    
    .logo { 
        width: 85px; 
    }
    
    .search-container {
        order: 3;
        width: 100%;
        max-width: 100%;
        flex: none;
        margin-top: 4px;
    }
    
    .location-select {
        display: block;
        padding: 7px 10px;
        font-size: 12px;
        max-width: 80px;
        border-radius: 20px;
    }
    
    .search-input { 
        padding: 7px 12px; 
        font-size: 13px; 
    }
    
    .search-btn { 
        padding: 7px 12px; 
    }
    
    .search-btn .btn-text { 
        display: none; 
    }
    
    .login-btn { 
        padding: 7px 12px; 
        font-size: 13px;
    }
    
    .login-btn .btn-text { 
        display: none; 
    }
    
    .top-bar-actions {
        gap: 8px;
    }
    
    .theme-toggle-btn {
        width: 38px;
        height: 38px;
    }
    
    .theme-toggle-btn i {
        font-size: 1rem;
    }
    
    .carousel-item { 
        height: 250px; 
    }
    
    .carousel-caption { 
        padding: 10px 14px; 
        bottom: 20px; 
        left: 8%;
        right: 8%;
    }
    
    .carousel-caption h3 { 
        font-size: 1.1rem; 
        margin-bottom: 3px; 
    }
    
    .carousel-caption p { 
        font-size: 0.85rem; 
        display: block;
    }
    
    .hero-section {
        padding: 35px 16px 25px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section .lead {
        font-size: 0.95rem;
    }
    
    .feature-icon { 
        width: 65px; 
        height: 65px; 
    }
    
    .feature-icon i { 
        font-size: 28px; 
    }
    
    .feature-item h4 { 
        font-size: 1rem; 
    }
    
    .feature-item p { 
        font-size: 0.8rem; 
    }
    
    .premium-features-row { 
        padding: 40px 0 30px; 
    }
    
    .newsletter-form { 
        flex-direction: column; 
        gap: 10px; 
    }
    
    .newsletter-form input, 
    .newsletter-form button { 
        width: 100%; 
    }
    
    .card-img-wrap {
        height: 200px;
    }
    
    .service-card .title {
        font-size: 1.15rem;
    }
}

@media (max-width: 576px) {
    .top-bar {
        padding: 6px 10px;
        gap: 6px;
    }
    
    .logo {
        width: 72px;
    }
    
    .location-select {
        padding: 6px 8px;
        font-size: 11px;
        max-width: 70px;
        border-radius: 15px;
    }
    
    .search-input {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .search-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .login-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .hamburger {
        font-size: 22px;
        padding: 3px 5px;
    }
    
    .theme-toggle-btn {
        width: 34px;
        height: 34px;
    }
    
    .theme-toggle-btn i {
        font-size: 0.95rem;
    }
    
    .carousel-item {
        height: 200px;
    }
    
    .carousel-caption {
        padding: 8px 10px;
        bottom: 15px;
        left: 5%;
        right: 5%;
    }
    
    .carousel-caption h3 {
        font-size: 1rem;
    }
    
    .carousel-caption p {
        font-size: 0.75rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 36px;
        height: 36px;
    }
    
    .hero-section {
        padding: 30px 12px 20px;
    }
    
    .hero-section h1 {
        font-size: 1.35rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
    }
    
    .card-img-wrap {
        height: 180px;
    }
    
    .service-card .title {
        font-size: 1.1rem;
    }
    
    .service-card .description {
        font-size: 0.82rem;
    }
    
    .service-card .price {
        font-size: 1rem;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
    }
    
    .feature-icon i {
        font-size: 24px;
    }
    
    .feature-item h4 {
        font-size: 0.95rem;
    }
    
    .feature-item p {
        font-size: 0.75rem;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 5px 8px;
        gap: 5px;
    }
    
    .logo {
        width: 65px;
    }
    
    .search-container {
        gap: 5px;
    }
    
    .location-select {
        padding: 5px 6px;
        font-size: 10px;
        max-width: 62px;
        border-radius: 12px;
    }
    
    .search-input {
        padding: 5px 8px;
        font-size: 11px;
        border-radius: 20px;
    }
    
    .search-btn {
        padding: 5px 8px;
        font-size: 12px;
        border-radius: 20px;
    }
    
    .login-btn {
        padding: 5px 8px;
        font-size: 11px;
        border-radius: 20px;
    }
    
    .hamburger {
        font-size: 20px;
        padding: 2px 4px;
    }
    
    .theme-toggle-btn {
        width: 30px;
        height: 30px;
    }
    
    .theme-toggle-btn i {
        font-size: 0.85rem;
    }
    
    .carousel-item {
        height: 170px;
    }
    
    .carousel-caption {
        padding: 6px 8px;
        bottom: 10px;
        left: 4%;
        right: 4%;
    }
    
    .carousel-caption h3 {
        font-size: 0.9rem;
    }
    
    .carousel-caption p {
        font-size: 0.7rem;
    }
    
    .carousel-indicators button {
        width: 7px;
        height: 7px;
    }
    
    .hero-section {
        padding: 25px 10px 18px;
    }
    
    .hero-section h1 {
        font-size: 1.25rem;
    }
    
    .hero-section .lead {
        font-size: 0.85rem;
    }
    
    .card-img-wrap {
        height: 160px;
    }
    
    .card-body-inner {
        padding: 14px;
    }
    
    .service-card .title {
        font-size: 1rem;
    }
    
    .service-card .description {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .service-card .price {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .card-actions .btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .info-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }
    
    .feature-icon i {
        font-size: 22px;
    }
    
    .feature-item h4 {
        font-size: 0.9rem;
    }
    
    .feature-item p {
        font-size: 0.7rem;
    }
    
    .premium-features-row {
        padding: 30px 0 22px;
    }
    
    .feature-item {
        padding: 8px;
    }
    
    .section-header h2 {
        font-size: 1.2rem;
    }
    
    .section-header .lead {
        font-size: 0.85rem;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer h5 {
        font-size: 1rem;
    }
    
    .alert {
        min-width: 240px;
        font-size: 0.85rem;
    }
}

/* Fix for very small devices (320px - 380px) */
@media (max-width: 380px) {
    .top-bar {
        padding: 4px 6px;
        gap: 4px;
    }
    
    .logo {
        width: 56px;
    }
    
    .location-select {
        padding: 4px 5px;
        font-size: 9px;
        max-width: 56px;
    }
    
    .search-input {
        padding: 4px 7px;
        font-size: 10px;
    }
    
    .search-btn,
    .login-btn {
        padding: 4px 6px;
        font-size: 11px;
    }
    
    .hamburger {
        font-size: 18px;
    }
    
    .theme-toggle-btn {
        width: 28px;
        height: 28px;
    }
    
    .theme-toggle-btn i {
        font-size: 0.8rem;
    }
    
    .carousel-item {
        height: 145px;
    }
    
    .carousel-caption h3 {
        font-size: 0.8rem;
    }
    
    .carousel-caption p {
        font-size: 0.65rem;
    }
    
    .hero-section h1 {
        font-size: 1.1rem;
    }
    
    .card-img-wrap {
        height: 140px;
    }
    
    .feature-icon {
        width: 42px;
        height: 42px;
    }
    
    .feature-icon i {
        font-size: 20px;
    }
    
    .feature-item h4 {
        font-size: 0.85rem;
    }
}