/*
Theme Name: QuickRespo
Theme URI: https://quickrespo.com
Author: QuickRespo
Author URI: https://quickrespo.com
Description: QuickRespo — Kuwait's Leading AI Digital Marketing Agency. Elementor-ready theme with light/dark modes, futuristic neon dark palette (orange-red + neon cyan) and pleasant royal-blue + dark-maroon light palette. Fully replicates the QuickRespo brand site.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quickrespo
Tags: elementor, dark, one-column, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   DESIGN TOKENS — DARK (default) & LIGHT
   Mirrors src/index.css from the React site.
   ========================================================= */
:root {
  --bg: 0 0% 6%;
  --bg-elev: 0 0% 9%;
  --surface: 0 0% 11%;
  --border: 0 0% 18%;
  --text: 0 0% 98%;
  --text-muted: 0 0% 70%;
  --primary: 16 100% 50%;   /* #FF4500 orange-red */
  --primary-fg: 0 0% 100%;
  --accent: 180 100% 50%;   /* #00FFFF neon cyan */
  --accent-fg: 0 0% 6%;
  --glow: 180 100% 50%;
  --gradient-neon: linear-gradient(135deg, hsl(16 100% 50%), hsl(180 100% 50%));
  --gradient-primary: linear-gradient(135deg, hsl(16 100% 50%), hsl(24 100% 55%));
  --gradient-hero: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.85));
  --shadow-glow: 0 0 24px hsl(180 100% 50% / .35), 0 0 60px hsl(16 100% 50% / .18);
  --shadow-card: 0 8px 30px rgba(0,0,0,.55);
  --radius: 12px;
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Roboto', system-ui, sans-serif;
}

[data-theme="light"] {
  --bg: 0 0% 100%;
  --bg-elev: 220 25% 97%;
  --surface: 0 0% 100%;
  --border: 220 15% 88%;
  --text: 225 30% 12%;
  --text-muted: 225 10% 40%;
  --primary: 225 85% 45%;   /* royal blue */
  --primary-fg: 0 0% 100%;
  --accent: 350 75% 35%;    /* dark maroon */
  --accent-fg: 0 0% 100%;
  --glow: 225 85% 55%;
  --gradient-neon: linear-gradient(135deg, hsl(225 85% 45%), hsl(350 75% 35%));
  --gradient-primary: linear-gradient(135deg, hsl(225 85% 45%), hsl(225 80% 55%));
  --gradient-hero: linear-gradient(180deg, rgba(240,244,255,.6), rgba(255,255,255,.92));
  --shadow-glow: 0 0 20px hsl(225 85% 55% / .28), 0 0 50px hsl(350 75% 35% / .18);
  --shadow-card: 0 10px 30px rgba(20,30,60,.10);
}

/* =========================================================
   BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: hsl(var(--bg));
  color: hsl(var(--text));
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: hsl(var(--accent)); text-decoration: none; transition: color .2s ease; }
a:hover { color: hsl(var(--primary)); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 800; line-height: 1.2; margin: 0 0 .6em; color: hsl(var(--text)); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; color: hsl(var(--text-muted)); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute; left: -9999px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: hsl(var(--primary)); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 8px; top: 8px; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius);
  font-family: var(--font-heading); font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; font-size: .9rem; cursor: pointer; border: 0;
  transition: transform .2s ease, box-shadow .3s ease, background .3s ease;
}
.btn-primary { background: var(--gradient-primary); color: hsl(var(--primary-fg)); box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); color: #fff; }
.btn-outline { background: transparent; color: hsl(var(--accent)); border: 2px solid hsl(var(--accent)); }
.btn-outline:hover { background: hsl(var(--accent)); color: hsl(var(--accent-fg)); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px 0; backdrop-filter: blur(12px);
  background: hsl(var(--bg) / .6);
  border-bottom: 1px solid hsl(var(--border) / .6);
  transition: background .3s ease, padding .3s ease;
}
.site-header.scrolled { background: hsl(var(--bg) / .95); padding: 8px 0; }
.header-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo a { display: flex; align-items: center; gap: 10px; color: hsl(var(--text)); }
.site-logo img { height: 44px; width: auto; filter: drop-shadow(0 0 8px hsl(var(--glow) / .5)); }
.site-logo .brand-text { font-family: var(--font-heading); font-weight: 800; letter-spacing: 2px; }
.nav-menu { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav-menu a { color: hsl(var(--text)); font-weight: 600; font-size: .95rem; position: relative; }
.nav-menu a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--gradient-neon); transition: width .3s ease; }
.nav-menu a:hover::after, .nav-menu .current-menu-item > a::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid hsl(var(--border));
  background: hsl(var(--surface)); color: hsl(var(--text)); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.theme-toggle:hover { transform: rotate(20deg); box-shadow: var(--shadow-glow); }
.mobile-menu-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; }
.mobile-menu-toggle .hamburger-line { display: block; width: 24px; height: 2px; background: hsl(var(--text)); margin: 5px 0; transition: .3s; }
.mobile-menu-overlay { display: none; position: fixed; inset: 0; background: hsl(var(--bg) / .98); z-index: 99; padding: 100px 24px; }
.mobile-menu-overlay.open { display: block; }
.mobile-nav-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; text-align: center; }
.mobile-nav-menu a { color: hsl(var(--text)); font-size: 1.25rem; font-weight: 700; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; padding: 140px 0 80px;
  display: flex; align-items: center; overflow: hidden;
  background:
    var(--gradient-hero),
    url('assets/images/hero-bg.jpg') center/cover no-repeat fixed;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 40% at 20% 30%, hsl(var(--accent) / .18), transparent 60%),
              radial-gradient(50% 40% at 80% 70%, hsl(var(--primary) / .22), transparent 60%);
}
.hero-inner { position: relative; text-align: center; max-width: 900px; margin: 0 auto; }
.hero-badge { display: inline-block; padding: 6px 14px; border: 1px solid hsl(var(--accent) / .6); border-radius: 999px; color: hsl(var(--accent)); font-size: .85rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { color: hsl(var(--text)); text-shadow: 0 0 30px hsl(var(--glow) / .4); }
.hero h1 .gradient { background: var(--gradient-neon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.15rem; color: hsl(var(--text-muted)); margin: 12px auto 30px; max-width: 720px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   SECTIONS / CARDS
   ========================================================= */
.section { padding: 90px 0; }
.section-alt { background: hsl(var(--bg-elev)); }
.section-title { text-align: center; margin-bottom: 12px; }
.section-title .gradient { background: var(--gradient-neon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-sub { text-align: center; color: hsl(var(--text-muted)); max-width: 700px; margin: 0 auto 50px; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: hsl(var(--surface));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  box-shadow: var(--shadow-card);
}
.card:hover { transform: translateY(-6px); border-color: hsl(var(--accent) / .6); box-shadow: var(--shadow-glow); }
.card .icon { width: 52px; height: 52px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--gradient-neon); color: #fff; margin-bottom: 16px; font-size: 22px; }
.card h3 { color: hsl(var(--text)); }
.card ul { padding-left: 18px; color: hsl(var(--text-muted)); }
.card ul li { margin: 4px 0; }

/* Pricing tiers */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.tier { position: relative; }
.tier.featured { border-color: hsl(var(--accent)); box-shadow: var(--shadow-glow); transform: translateY(-6px); }
.tier .tier-name { text-transform: uppercase; letter-spacing: 2px; font-size: .85rem; color: hsl(var(--accent)); font-weight: 700; }
.tier .tier-price { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; margin: 6px 0 16px; color: hsl(var(--text)); }
.tier .tier-price small { font-size: .85rem; color: hsl(var(--text-muted)); font-weight: 500; }
.tier .badge { position: absolute; top: -12px; right: 20px; background: var(--gradient-neon); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: 1px; }

/* Timeline */
.timeline { position: relative; padding: 20px 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--gradient-neon); transform: translateX(-50%); }
.timeline-item { position: relative; width: 50%; padding: 20px 40px; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::before { content: ""; position: absolute; top: 30px; width: 14px; height: 14px; border-radius: 999px; background: hsl(var(--accent)); box-shadow: 0 0 0 4px hsl(var(--bg)); }
.timeline-item:nth-child(odd)::before { right: -7px; }
.timeline-item:nth-child(even)::before { left: -7px; }
.timeline-item .year { color: hsl(var(--primary)); font-weight: 800; font-family: var(--font-heading); font-size: 1.4rem; }
@media (max-width: 700px) { .timeline::before { left: 8px; } .timeline-item, .timeline-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding-left: 40px; } .timeline-item::before, .timeline-item:nth-child(odd)::before { left: 1px; right: auto; } }

/* Portfolio grid */
.portfolio-card { overflow: hidden; padding: 0; }
.portfolio-card .thumb { aspect-ratio: 16/10; background: var(--gradient-neon); position: relative; overflow: hidden; }
.portfolio-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-card:hover .thumb img { transform: scale(1.08); }
.portfolio-card .body { padding: 22px; }
.portfolio-card .category { color: hsl(var(--accent)); font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }

/* Steps (project detail) */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); margin-top: 30px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .steps { grid-template-columns: 1fr; } }
.step { background: hsl(var(--surface)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 24px; position: relative; }
.step .step-num { position: absolute; top: -16px; left: 20px; width: 40px; height: 40px; border-radius: 999px; background: var(--gradient-neon); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-heading); }
.step h4 { color: hsl(var(--accent)); margin: 10px 0 8px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 28px 12px; border-radius: var(--radius); background: hsl(var(--surface)); border: 1px solid hsl(var(--border)); }
.stat .num { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; background: var(--gradient-neon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: hsl(var(--text-muted)); font-size: .95rem; }

/* Testimonials */
.testimonial { background: hsl(var(--surface)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 26px; }
.testimonial .stars { color: hsl(var(--primary)); margin-bottom: 10px; }
.testimonial .who { margin-top: 14px; font-weight: 700; color: hsl(var(--text)); }
.testimonial .role { color: hsl(var(--text-muted)); font-size: .9rem; }

/* Contact form */
.contact-form { max-width: 720px; margin: 0 auto; display: grid; gap: 16px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .contact-form .row { grid-template-columns: 1fr; } }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  background: hsl(var(--bg-elev)); border: 1px solid hsl(var(--border));
  color: hsl(var(--text)); font-family: var(--font-body); font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: hsl(var(--accent)); box-shadow: 0 0 0 3px hsl(var(--accent) / .2); }

/* FAQ accordion */
.faq details { background: hsl(var(--surface)); border: 1px solid hsl(var(--border)); border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: hsl(var(--text)); list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: hsl(var(--accent)); font-size: 1.4rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; }

/* Contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 0 auto 60px; }
@media (max-width: 600px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-cards .card { text-align: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: hsl(var(--bg-elev)); border-top: 1px solid hsl(var(--border)); padding: 60px 0 20px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: hsl(var(--text)); text-transform: uppercase; letter-spacing: 1px; font-size: .9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin: 8px 0; }
.footer-grid ul a { color: hsl(var(--text-muted)); }
.footer-grid ul a:hover { color: hsl(var(--accent)); }
.socials { display: flex; gap: 12px; margin-top: 14px; }
.socials a { width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: hsl(var(--surface)); border: 1px solid hsl(var(--border)); color: hsl(var(--text)); }
.socials a:hover { background: var(--gradient-neon); color: #fff; border-color: transparent; }
.copyright { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid hsl(var(--border)); color: hsl(var(--text-muted)); font-size: .9rem; }

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 999px; background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; z-index: 200; box-shadow: 0 10px 30px rgba(37,211,102,.5); animation: waPulse 2s infinite; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
@keyframes waPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }

/* Preloader */
.preloader { position: fixed; inset: 0; background: hsl(var(--bg)); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity .5s ease; }
.preloader.hidden { opacity: 0; pointer-events: none; }
.preloader img { width: 140px; height: auto; }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-menu, .header-actions .btn { display: none; }
  .mobile-menu-toggle { display: block; }
}
