
/* ========================================
   CSS Variables for Theme System
   ======================================== */
:root {
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #212529;
    --text-secondary: #495057;
    --text-light: #6c757d;
    
    /* Brand Colors */
    --color-orange: #ff6b35;
    --color-orange-dark: #e55a2b;
    --color-orange-light: #ff8c5a;
    --color-blue: #4a90e2;
    --color-green: #00b894;
    --color-purple: #6c5ce7;
    
    /* UI Colors */
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
    
    /* Card Colors */
    --card-bg: #ffffff;
    --card-border: #e1e5e8;
    --card-shadow: 0 4px 16px rgba(0,0,0,0.08);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    
    /* Layout */
    --nav-height: 80px;
    --container-width: 1200px;
    --spacing-unit: 8px;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-light: #808080;
    --border-color: #333333;
    --card-bg: #1a1a1a;
    --card-border: #2a2a2a;
    --card-shadow: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.6);
}

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

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

    /* === ADDED: ensures anchors/focus stop below sticky header === */
    scroll-padding-top: var(--nav-height);
}

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

/* ========================================
   Closure Notice Popup (MOBILE OPTIMIZED)
   ======================================== */
.notice-popup {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.85) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.notice-popup.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.notice-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    max-width: 90%;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    border: 3px solid #ff6b35;
}

[data-theme="dark"] .notice-content {
    background: #1a1a1a;
}

.notice-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #ff6b35;
    border: none;
    font-size: 1.25rem;
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
}

.notice-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.notice-content h3 {
    color: #212529;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

[data-theme="dark"] .notice-content h3 {
    color: #e0e0e0;
}

.notice-content p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

[data-theme="dark"] .notice-content p {
    color: #b0b0b0;
}

.notice-content strong {
    color: #ff6b35;
    font-weight: 700;
    font-size: 1.125rem;
}

.notice-contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 1rem;
}

.notice-contact a {
    color: var(--color-orange);
    font-weight: 700;
    text-decoration: none;
}

.notice-contact a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .notice-content {
        padding: 2rem 1.5rem;
    }
    
    .notice-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .notice-content h3 {
        font-size: 1.5rem;
    }
    
    .notice-content p {
        font-size: 1rem;
    }
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Spacing */
section {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-primary);
}


/* ========================================
   Accessibility Utilities
   ======================================== */
.visually-hidden2 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === ADDED: Skip link (global, not just mobile) === */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 1001; /* above navbar so it’s not hidden when focused */
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ========================================
   Keyboard Focus (Accessibility)
   ======================================== */
a:focus-visible,
button:focus-visible,
.nav-phone:focus-visible,
.mobile-menu-toggle:focus-visible {
  outline: 3px solid rgba(255, 107, 53, 0.5);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Make the nav underline fully expand on keyboard focus */
.nav-link:focus-visible::after {
  width: 100%;
}

.mobile-menu-toggle { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.mobile-menu-toggle span { pointer-events: none; }

/* === UPDATED: Robust anchor/focus safety so targets are not hidden === */
:where(h1, h2, h3, h4, h5, h6, [id], [tabindex], a, button, input, select, textarea) {
  scroll-margin-top: var(--nav-height);
}

/* Links */
a {
    color: var(--color-orange);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-orange-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left var(--transition-base);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

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

.btn-primary::before {
    background: var(--color-orange-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--color-orange);
    border: 2px solid var(--color-orange);
}

.btn-secondary:hover {
    background: var(--color-orange);
    color: white;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ========================================
   Theme Toggle Button
   ======================================== */
.theme-toggle {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: transform var(--transition-base);
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-toggle i {
    font-size: 20px;
    color: white;
    position: absolute;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(-180deg);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="dark"] .theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    height: 60px;
    box-shadow: var(--shadow-md);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Robust logo styling: works for both &lt;a class="nav-logo"&gt; and &lt;div class="nav-logo"&gt;&lt;a&gt; */
.nav-logo,
.nav-logo a {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  flex-direction: column;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;  /* Reduce from 2rem */
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;  /* Add this line - slightly smaller font */
    position: relative;
    transition: color var(--transition-base);
    white-space: nowrap;  /* Add this - prevents text wrapping */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--color-orange);
}

.nav-link:hover::after {
    width: 100%;
}

/* Active nav link styling (when aria-current="page" is present) */
.nav-link[aria-current="page"] {
  color: var(--color-orange);
}

.nav-link[aria-current="page"]::after {
  width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    padding-left: 2rem;  /* This creates space between Contact and phone */
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 25px;
    font-weight: 600;
}

.nav-phone:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-base);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    /*  margin-top: var(--nav-height); */
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.circuit-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h30v30h-30zM60 10h30v30h-30zM10 60h30v30h-30zM60 60h30v30h-30z' fill='%23ff6b35' fill-opacity='0.5'/%3E%3C/svg%3E");
    background-size: 100px 100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideInLeft 1s ease;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-line-1 {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-secondary);
}

.title-line-2 {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border-radius: 25px;
    font-size: 0.9rem;
}

.hero-feature i {
    color: var(--color-green);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    animation: slideInRight 1s ease;
}

.laptop-3d {
    width: 100%;
    max-width: 500px;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.laptop-screen {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px;
    padding: 20px;
    height: 300px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 2px solid #333;
}

.laptop-keyboard {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    height: 20px;
    margin-top: -5px;
    border-radius: 0 0 12px 12px;
    position: relative;
    z-index: -1;
}

.laptop-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.code-animation {
    font-family: 'Courier New', monospace;
    color: #00ff00;
    font-size: 14px;
}

.code-line {
    display: block;
    margin: 10px 0;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.code-line:nth-child(1) { animation-delay: 0.5s; }
.code-line:nth-child(2) { animation-delay: 0.7s; }
.code-line:nth-child(3) { animation-delay: 0.9s; }
.code-line:nth-child(4) { animation-delay: 1.1s; }
.code-line:nth-child(5) { animation-delay: 1.3s; }

/* ========================================
   Services Section
   ======================================== */
/* ========================================
   Services Hero Section (LEFT-ALIGNED)
   ======================================== */
.services-hero {
    padding: calc(var(--nav-height) + 0rem) 0 2rem; 
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.services-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
}

.services-hero .container {
    position: relative;
    z-index: 1;
}

.services-hero .hero-content {
    text-align: left;
}

.services-hero h1 {
    margin-bottom: 1rem;
    text-align: left;
}

.services-hero .hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 0 2rem 0;
    text-align: left;
}

/* Hero Stats - Circular Design (LEFT-ALIGNED) */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    background: var(--card-bg);
    border: 3px solid #ff6b35;
    border-radius: 50%;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
}

.stat:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.3);
    border-color: #e55a2b;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.2;
}

[data-theme="dark"] .stat {
    background: var(--bg-tertiary);
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat {
        width: 130px;
        height: 130px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .stat {
        width: 110px;
        height: 110px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--card-border);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
}

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

.service-card:hover::before {
    transform: translateX(0);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 24px;
    color: white;
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-green);
}

/* ========================================
   About Section
   ======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.guarantee-badges {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: nowrap;   /* force them to stay in one line */
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 8px;
    font-weight: 600;
}

.badge i {
    font-size: 20px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.tech-item {
    width: 80px;
    height: 80px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.tech-item i {
    font-size: 30px;
    color: var(--color-orange);
}

.tech-item:hover {
    transform: scale(1.1);
    background: var(--gradient-primary);
}

.tech-item:hover i {
    color: white;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    background: var(--bg-secondary);
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    transition: all var(--transition-base);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-orange);
}

.feature-icon {
    font-size: 3rem;
    color: var(--color-orange);
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.5rem;
}

/* ========================================
   Reviews Section
   ======================================== */
.reviews {
    padding: 80px 0;
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    transition: all var(--transition-base);
}

.review-card:hover {
    box-shadow: var(--shadow-xl);
}

.review-stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.review-author strong {
    display: block;
    color: var(--text-primary);
}

.review-author span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   Computer Lessons Section
   ======================================== */
.lessons {
    background: var(--bg-secondary);
}

.lessons-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lessons-list {
    list-style: none;
    margin: 2rem 0;
}

.lessons-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lessons-list i {
    color: var(--color-green);
}

.lessons-cta {
    margin-top: 2rem;
}

.lessons-price {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.lessons-price strong {
    color: var(--color-orange);
    font-size: 1.5rem;
}

.lesson-animation {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.lesson-screen {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 8px;
}

.lesson-content i {
    font-size: 4rem;
    color: var(--color-orange);
    margin-bottom: 1rem;
}

.lesson-content span {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: all var(--transition-base);
}

.info-card:hover {
    background: var(--bg-tertiary);
    transform: translateX(5px);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--color-orange);
    margin-top: 0.25rem;
}

.info-card h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.info-card p {
    margin: 0;
    font-size: 0.9rem;
}

.map-container {
    margin-top: 2rem;
}

/* Contact Form */
.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: var(--text-secondary);
    transition: all var(--transition-base);
    pointer-events: none;
    background: var(--card-bg);
    padding: 0 4px;
}

.form-group textarea ~ label {
    top: 20px;
    transform: translateY(0);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--color-orange);
}

/* ========================================
   Social Media Section
   ======================================== */
.social-section {
    background: var(--bg-secondary);
    padding: 20px 20px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all var(--transition-base);
}

.social-link.facebook {
    background: #1877f2;
    color: white;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-tertiary);
    padding: 10px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-section h3,
.footer-section h4,
.footer-section .footer-section-title {
    margin-bottom: 1rem;
    color: var(--color-orange);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    line-height: 1.2;
}

.footer-tagline {
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 0.75rem; 
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.footer-credit {
    color: var(--color-orange);
}

/* Back to Top — base state (hidden by default) */
.back-to-top {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom)); /* iOS safe area */
  right: max(1rem, env(safe-area-inset-right));
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;

  /* Visuals */
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-lg);

  /* Interactions */
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;              /* avoids ghost clicks while hidden */
  transform: translateY(6px);        /* subtle slide-in */
  transition:
    opacity var(--transition-base),
    transform var(--transition-base),
    visibility 0s linear .2s;

  /* === UPDATED: below navbar to avoid overlap (note: inline style still wins) === */
  z-index: 900;
}

/* Show Back-to-Top when JS adds .visible */
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Subtle hover & focus lift (only when motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .back-to-top:hover,
  .back-to-top:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
}

/* Pressed state should override hover/focus */
.back-to-top:active {
  transform: translateY(0);
}

/* Icon sizing */
.back-to-top i {
  font-size: 18px;
  line-height: 1;
}

/* Larger tap target on small screens */
@media (max-width: 480px) {
  .back-to-top { width: 56px; height: 56px; }
  .back-to-top i { font-size: 20px; }
}

/* Dark theme contrast tweak (optional) */
[data-theme="dark"] .back-to-top {
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}

/* ========================================
   Preloader
   ======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.hide {
    opacity: 0;
    pointer-events: none;
}

.loader-container {
    text-align: center;
}

.tech-loader {
    width: 100px;
    height: 80px;
    position: relative;
    margin: 0 auto 20px;
}

.loader-laptop {
    position: relative;
    animation: bounce 1s ease-in-out infinite;
}

.loader-screen {
    width: 100px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 8px 8px 0 0;
}

.loader-keyboard {
    width: 100px;
    height: 10px;
    background: var(--color-orange-dark);
    border-radius: 0 0 4px 4px;
}

.loader-text {
    color: var(--text-primary);
    font-weight: 600;
}

/* ========================================
   Keyframes (for referenced animations)
   ======================================== */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Option 1 — Disable animations for main content */
@media (prefers-reduced-motion: reduce) {
  /* Disable decorative animations for motion-sensitive users */
  .hero-content,
  .hero-visual,
  .code-line,
  .laptop-3d,
  .loader-laptop {
    animation: none !important;
    transition: none !important;
  }
}

/* Option 2 — Disable motion for UI controls (Back-to-Top) */
@media (prefers-reduced-motion: reduce) {
  .back-to-top,
  .back-to-top.visible,
  .back-to-top:hover,
  .back-to-top:active {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem;
        transition: left var(--transition-base);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-phone {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .lessons-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .theme-toggle {
        top: auto;
        bottom: 80px;
    }
}

/* Desktop navbar blur + frosted translucency */
@media (min-width: 769px) {
  .navbar {
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(10px); /* Safari */
    backdrop-filter: blur(10px);
  }
}

[data-theme="dark"] .navbar {
  background: rgba(10, 10, 10, 0.7);
}

@media (max-width: 480px) {
    .hero-features {
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }
}

/* Membership Section */
.membership {
    padding: 80px 0;
    background: var(--bg-primary);
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.membership-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all var(--transition-base);
}

.membership-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-orange);
}

.membership-card.featured {
    border-color: var(--color-orange);
    transform: scale(1.05);
}

.popular-badge,
.save-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.save-badge {
    background: var(--gradient-success);
}

.membership-card h3 {
    margin: 1rem 0;
    color: var(--text-primary);
}

.price {
    margin: 1.5rem 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price .currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-orange);
}

.price .period {
    color: var(--text-secondary);
}

.membership-description {
    margin: 1.5rem 0;
    color: var(--text-secondary);
    min-height: 50px;
}

/* Video Tutorials Section */
.video-tutorials {
    padding: 80px 0;
    background: var(--bg-primary);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.video-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.video-card h3 {
    color: var(--color-orange);
    margin-bottom: 1rem;
    text-align: center;
}

.video-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-container iframe {
    display: block;
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }

    /* Removed skip-link styles from here (they’re now global) */

    .logo-tagline {
      font-size: 14px;
    }

    .text-orange {
      color: var(--color-orange);
    }
	
/* Screen-reader only utility (commonly used pattern) */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

}
