/* 
   Shyangbo Mobile Repair & Electronic 
   Premium Dark & Modern Responsive Design
*/

/* CSS Variables & Theme Setup */
:root {
    --bg-dark: #090b11;
    --bg-card: rgba(18, 22, 35, 0.65);
    --bg-card-hover: rgba(26, 32, 50, 0.85);
    
    --primary: #00f2fe; /* Cyber Cyan */
    --primary-glow: rgba(0, 242, 254, 0.3);
    --secondary: #4facfe; /* Neon Blue */
    --accent: #a18cd1; /* Cyber Lavender */
    
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.2);
    
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(0, 242, 254, 0.25);
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* Light Mode Overrides */
body.light-mode {
    --bg-dark: #eff9ff;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --text-main: #0f172a;
    --text-muted: #475569;
    --border-glass: rgba(15, 23, 42, 0.08);
    --border-glass-hover: rgba(0, 242, 254, 0.35);
    --primary-glow: rgba(0, 242, 254, 0.15);
}

body.light-mode .form-group select {
    background-color: #ffffff;
    color: #0f172a;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

body.light-mode .mobile-drawer {
    background: rgba(255, 255, 255, 0.98) !important;
}

body.light-mode .main-header,
body.light-mode .main-header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

body.light-mode .btn-primary {
    background: transparent;
    border: 1.5px solid var(--secondary);
    color: var(--secondary);
    box-shadow: none;
    animation: none;
}

body.light-mode .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
    border-color: transparent;
}

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

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

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

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

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

/* Reusable Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1360px;
    }
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-dark);
    box-shadow: 0 4px 20px var(--primary-glow);
    animation: pulse-glow 3s infinite alternate;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-color: var(--border-glass);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-dark);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-dark);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-full {
    width: 100%;
}

/* Glassmorphism Styles */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.glass:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.2);
}

/* Badges */
.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-success {
    background: transparent;
    padding: 0;
    color: #34d399;
    border: none;
}

.badge-rating {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.star-icon {
    fill: currentColor;
}

/* Main Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: rgba(9, 11, 17, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.main-header.scrolled {
    padding: 12px 0;
    background: rgba(9, 11, 17, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(to right, var(--primary) 0%, var(--secondary) 20%, #d946ef 40%, #ff7b00 60%, var(--accent) 80%, var(--primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 4s linear infinite;
    transition: var(--transition-smooth);
}

.logo:hover {
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.6));
    transform: scale(1.02);
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.logo-accent {
    color: inherit;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary);
    border-color: var(--primary);
}

body.light-mode .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: -450px;
    left: 0;
    width: 100%;
    height: auto;
    background: rgba(9, 11, 17, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 9999;
    padding: 30px 24px;
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.mobile-drawer.open {
    top: 72px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 320px;
}

.mobile-nav-links a {
    font-size: 1.2rem;
    font-weight: 500;
}

.mobile-nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px 0;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-intro {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    background: linear-gradient(to right, #ffb03a 0%, #ff6b3d 25%, #ff3d7f 50%, #8f3dff 75%, #ffb03a 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 5s linear infinite;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    display: inline-block;
}

.mobile-br {
    display: none;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 12px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-actions .btn {
    padding: clamp(10px, 1.2vw, 14px) clamp(16px, 2.2vw, 32px);
    font-size: clamp(0.85rem, 1.8vw, 1.05rem);
}

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

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

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 3.5vw, 1.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: clamp(0.6rem, 1.6vw, 0.85rem);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.03);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 40px 32px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-dark);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Specialist Section */
.expert-section {
    padding: 100px 0;
    background: transparent;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.expert-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.expert-visual {
    position: relative;
    height: 400px;
    border-radius: var(--border-radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blob-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.2;
    animation: blob-float 8s infinite alternate;
}

@keyframes blob-float {
    0% { transform: translate(-30px, -30px) scale(0.9); }
    100% { transform: translate(30px, 30px) scale(1.1); }
}

.expert-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.expert-badge-circle {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    background: rgba(9, 11, 17, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-glass);
    padding: 8px 16px;
    border-radius: 50px;
    z-index: 2;
}

.expert-badge-circle i {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.expert-badge-circle span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.expert-info h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 20px;
}

.expert-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.expert-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.expert-feature-item {
    display: flex;
    gap: 16px;
}

.expert-feature-item i {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.expert-feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.expert-feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Price Estimator */
.estimator-section {
    padding: 100px 0;
}

.estimator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.estimator-card {
    padding: 40px;
}

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

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

.form-group select {
    width: 100%;
    padding: 14px 45px 14px 18px;
    background: rgba(9, 11, 17, 0.7);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.estimator-output {
    background: rgba(0, 242, 254, 0.03);
    border: 1px solid rgba(0, 242, 254, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.output-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.price-range {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.price-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.estimator-info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 32px;
}

.booking-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.booking-benefits li {
    display: flex;
    gap: 16px;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 242, 254, 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.booking-benefits li div {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.booking-benefits li strong {
    display: block;
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

/* Reviews Section */
.reviews-section {
    padding: 100px 0;
    background: transparent;
}

.reviews-summary-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.reviews-summary-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.write-review-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.rating-huge {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stars-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stars-row {
    display: flex;
    gap: 4px;
    color: #fbbf24;
}

.star-filled {
    fill: currentColor;
}

.reviews-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.review-card {
    padding: 32px;
}

.review-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-dark);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.review-header h4 {
    font-size: 1rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-header .stars {
    display: flex;
    gap: 2px;
    color: #fbbf24;
    transform: scale(0.8);
}

.review-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    border: 1px solid var(--border-glass);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 40px 0;
}

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

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 242, 254, 0.08);
    color: var(--primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-dark);
    transform: scale(1.05);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-muted);
}

.btn-chat {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
}

.btn-chat.whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-chat.whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.map-wrapper {
    overflow: hidden;
    display: block;
}

.map-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-glass);
}

.map-header span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

.map-placeholder {
    height: 380px;
    background: var(--bg-dark);
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 11, 17, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 10;
}

.map-wrapper:hover .map-overlay {
    opacity: 1;
}

.map-overlay .btn {
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}


/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 11, 17, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    max-width: 500px;
    width: 100%;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: var(--success);
    margin-bottom: 16px;
}

.modal-body {
    text-align: center;
}

.modal-body p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.booking-code-card {
    background: rgba(16, 185, 129, 0.05);
    border: 1px dashed rgba(16, 185, 129, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    margin-bottom: 24px;
}

.code-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.code-value {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--success);
}

.modal-summary {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin-bottom: 32px;
    text-align: left;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row span {
    color: var(--text-muted);
}

.accent-text {
    color: var(--primary);
}

/* Footer */
.main-footer {
    padding: 80px 0 40px 0;
    background: transparent;
    border-top: 1px solid var(--border-glass);
}

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

.footer-brand h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 320px;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.footer-links h5,
.footer-contact h5 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-main);
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.footer-contact p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact a {
    color: var(--text-muted);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-bottom-links {
    display: flex;
    gap: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* Scroll Entry animations via class (JS handles intersection) */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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

/* Service Cards Staggered Entry */
.services-grid .service-card:nth-child(1) { transition-delay: 0.05s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.15s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.25s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(7) { transition-delay: 0.35s; }
.services-grid .service-card:nth-child(8) { transition-delay: 0.4s; }

/* Reviews Staggered Entry */
.reviews-grid .review-card:nth-child(1) { transition-delay: 0.05s; }
.reviews-grid .review-card:nth-child(2) { transition-delay: 0.15s; }
.reviews-grid .review-card:nth-child(3) { transition-delay: 0.25s; }
.reviews-grid .review-card:nth-child(4) { transition-delay: 0.35s; }
.reviews-grid .review-card:nth-child(5) { transition-delay: 0.45s; }

/* Hero Page Load Entrance Animations */
.hero-content > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content .badge-row { animation-delay: 0.15s; }
.hero-content .hero-intro { animation-delay: 0.25s; }
.hero-content h1 { animation-delay: 0.35s; }
.hero-content .hero-subtitle { animation-delay: 0.45s; }
.hero-content .hero-actions { animation-delay: 0.55s; }
.hero-content .hero-stats { animation-delay: 0.65s; }

.hero-image-wrapper {
    opacity: 0;
    transform: scale(0.96) translateY(20px);
    animation: imageFadeIn 1.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.35s;
}

@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes imageFadeIn {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 992px) {
    .main-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(9, 11, 17, 0.95) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-bottom: 1px solid var(--border-glass) !important;
        z-index: 99999 !important;
    }

    .main-header.scrolled {
        background: rgba(9, 11, 17, 0.95) !important;
        padding: 10px 0 !important;
        z-index: 99999 !important;
    }

    .nav-links, .header-cta {
        display: none;
    }
    
    .header-container {
        justify-content: space-between;
        position: relative;
    }

    .right-header-controls {
        position: absolute;
        right: 70px;
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-image-wrapper {
        order: -1;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-actions {
        justify-content: flex-start;
    }
    
    .hero-stats {
        justify-content: flex-start;
    }
    
    .expert-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .estimator-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .expert-visual {
        height: 320px;
    }
}

@media (max-width: 768px) {

    .container {
        padding: 0 20px;
    }

    .services-section,
    .expert-section,
    .estimator-section,
    .reviews-section,
    .contact-section {
        padding: 50px 0 !important;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-section {
        padding: 120px 0 60px 0;
    }

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

    .map-overlay {
        opacity: 1;
        background: rgba(9, 11, 17, 0.25);
    }

    .mobile-br {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 32px;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-links h5, .footer-contact h5 {
        margin-bottom: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        gap: 10px;
    }

    .hero-actions .btn {
        flex: 1;
        justify-content: center;
        text-align: center;
        padding: 10px 8px;
        font-size: 0.78rem;
        border-radius: 8px;
        box-sizing: border-box;
        white-space: nowrap;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        width: 100%;
    }

    .stat-number {
        font-size: 1.15rem;
        white-space: nowrap;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .hero-content h1 {
        font-size: 2.0rem;
    }

    .estimator-card {
        padding: 24px 16px;
    }

    .contact-info {
        padding: 24px 16px;
    }

    .review-card {
        padding: 20px;
    }

    .review-header {
        grid-template-columns: auto 1fr;
        gap: 12px;
    }

    .review-header .stars {
        grid-column: 1 / -1;
        justify-content: flex-start;
        margin-top: 4px;
    }

    .map-placeholder {
        height: 280px;
    }

    .modal-content {
        padding: 24px 16px;
    }

    .price-range {
        font-size: 1.8rem;
    }
}

/* Custom Keyframe Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

@keyframes pulse-glow {
    0% { box-shadow: 0 4px 20px var(--primary-glow); }
    50% { box-shadow: 0 4px 30px rgba(0, 242, 254, 0.55); }
    100% { box-shadow: 0 4px 20px var(--primary-glow); }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: #fff;
}

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

