/* =========================================================================
   STYLE.CSS - Boost Brilliance Agency
   Extreme Theme Toggle functionality (Day/Classic vs. Night/Cyberpunk)
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&family=Orbitron:wght@500;700;900&family=Open+Sans:wght@400;500;600&family=Outfit:wght@400;500;600;700;800;900&family=Nunito:wght@400;500;600;700;800&display=swap');

/* =========================================================================
   BASE AESTHETIC (VERSION A: DAY / CLASSIC / CORPORATE)
   ========================================================================= */
:root {
  /* BASE: Sydney Dark */
  --bg-main: #0b132b;
  --bg-card: rgba(11, 19, 43, 0.85);
  --bg-header: rgba(11, 19, 43, 0.95);
  
  --text-main: #ffffff;
  --text-muted: #cbd5e1;
  
  --primary: #ffd700;
  --accent-1: #ffd700; 
  --accent-2: #f59e0b;
  
  --border-color: rgba(255, 255, 255, 0.15);
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Styling & FX */
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --border-radius: 8px;
  --clip-shape: none;
  --btn-radius: 4px;
  --btn-padding: 15px 30px;
  --glass-bg: transparent;
  --glass-border: transparent;
  
  /* Buttons Base */
  --btn-primary-bg: #ffc107;
  --btn-primary-text: #000000;
  --btn-secondary-border: #ffffff;
  --btn-secondary-text: #ffffff;
  --btn-secondary-hover-bg: #ffffff;
  --btn-secondary-hover-text: #000000;
  
  /* Animation Config */
  --transition: all 0.4s ease;
  --ease: ease-out;
  --btn-transform: translateY(-2px);
  --bg-dark-hero: linear-gradient(rgba(15, 25, 45, 0.85), rgba(15, 25, 45, 0.85)), url('images/hero-bg.jpg') center/cover;
}

body.light-theme {
  /* TOGGLED: Playful Web Startup Theme */
  --bg-main: #f8f9fa;
  --bg-card: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.98); /* Original white header */
  
  --text-main: #1e293b;
  --text-muted: #475569;
  
  /* Ultra-Bright Playful Palette */
  --primary: #FF1493;
  --accent-1: #00E5FF;
  --accent-2: #FF6B00;
  --accent-purple: #8A2BE2;
  
  --border-color: #e2e8f0;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  /* Styling & FX */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  --border-radius: 16px;
  --btn-radius: 50px;
  
  /* Buttons Playful */
  --btn-primary-bg: linear-gradient(135deg, #FF1493, #FF6B00);
  --btn-primary-text: #ffffff;
  --btn-secondary-border: #8A2BE2;
  --btn-secondary-text: #8A2BE2;
  --btn-secondary-hover-bg: #8A2BE2;
  --btn-secondary-hover-text: #ffffff;
  
  /* Restored original clear background to match your preferred light theme */
  --bg-hero: transparent;
}

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

html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  background-image: var(--hero-bg);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  transition: font-family 0.5s ease;
}

h1 { font-size: clamp(3rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  background-color: #e2e8f0;
  min-height: 200px;
  object-fit: cover;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.section-padding { padding: 100px 0; }

.text-gradient {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Extreme theme specific glows */
body.theme-extreme .text-gradient {
  text-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

/* Glass/Card Panel Base */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  clip-path: var(--clip-shape);
  padding: 40px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
}

/* Add inner glass only in light mode */
body.light-theme .glass-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.glass-panel:hover {
  box-shadow: var(--shadow-hover);
}
body.light-theme .glass-panel:hover {
  border-color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-padding, 15px 30px);
  border-radius: var(--btn-radius);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: none;
}

.btn-primary:hover {
  transform: var(--btn-transform);
  opacity: 0.9;
}

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

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

/* Header & Navigation */
header {
  position: absolute;
  top: 0; left: 0; width: 100%;
  padding: 20px 0;
  z-index: 1000;
  background: transparent !important;
  transition: padding 0.3s ease;
  border-bottom: none;
}

header.scrolled {
  background: rgba(11, 19, 43, 0.95) !important;
  padding: 15px 0;
}

body.light-theme header.scrolled {
  background: rgba(94, 23, 235, 0.95) !important;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.logo span { color: var(--accent-1); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links li a {
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0%; height: 2px;
  background: var(--accent-1);
  transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after { width: 100%; }

/* Theme Toggle Button in Header */
.theme-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

body.theme-extreme .theme-toggle {
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  border-color: var(--accent-1);
  color: var(--accent-1);
}

.theme-toggle:hover {
  background: var(--accent-1);
  color: #fff;
}
body.theme-extreme .theme-toggle:hover {
  background: var(--accent-1);
  color: #000;
  box-shadow: 0 0 15px var(--accent-1);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  width: 100%;
  background: var(--bg-dark-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px; 
  transition: background 0.5s ease;
}

body.light-theme .hero {
  background: var(--bg-hero);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  transition: var(--transition);
  z-index: 2;
  position: relative;
}

body.light-theme .hero-container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.hero-content {
  width: 100%;
  max-width: 800px;
  transition: var(--transition);
}

body.light-theme .hero-content {
  width: 50%;
  max-width: 50%;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem); /* Max 4rem */
  color: #ffffff;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem); /* Max 1.2rem */
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

body.light-theme .hero p {
  margin: 0 0 30px 0; /* Left align margin */
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

body.light-theme .hero-buttons {
  justify-content: flex-start;
}

.hero-img-wrapper {
  display: block;
  width: 50%;
  padding-left: 40px;
  opacity: 1;
  transition: var(--transition);
  box-sizing: border-box;
}

/* --- NEW HERO LAYOUT OVERRIDES --- */
/* Light Theme SVG Vibrancy Enhancement */
body.light-theme #heroRocketSVG {
  filter: saturate(1.8) contrast(1.3) drop-shadow(0 20px 40px rgba(0,0,0,0.15)) !important;
  opacity: 1 !important;
}
body.light-theme #heroRocketSVG .float-slow,
body.light-theme #heroRocketSVG .float-fast {
  opacity: 0.5 !important;
}

/* Dark Theme Desktop Background Backdrop */
@media (min-width: 993px) {
  body:not(.light-theme) .hero-container {
    position: relative;
    z-index: 1;
  }
  
  body:not(.light-theme) .hero-content {
    position: relative;
    z-index: 2; /* Ensure original text flow stays gracefully above without forcing overrides */
  }

  body:not(.light-theme) .hero-img-wrapper {
    position: absolute;
    top: 50%;
    right: -5%; /* Offset to the right rather than exactly center-behind */
    left: auto;
    transform: translateY(-50%);
    width: 60% !important; /* Take up right side of screen */
    max-width: 700px;
    z-index: 0; /* Behind content */
    opacity: 0.75; /* Highly visible background element */
    pointer-events: none; /* Do not block buttons */
    margin: 0 !important;
    padding: 0 !important;
  }

  body:not(.light-theme) #heroRocketSVG {
    width: 100%;
    max-width: 100% !important;
    filter: drop-shadow(0 0 40px rgba(0, 243, 255, 0.2)); /* Extra glowing pop for dark background */
  }
}
/* ---------------------------------- */

.hero-img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  background-color: transparent !important; 
  transition: var(--transition);
}

/* SVG Hero Animation Classes */
@keyframes float-slow {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
@keyframes float-fast {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-25px); }
    100% { transform: translateY(0px); }
}
@keyframes rocket-float {
    0% { transform: translate(350px, 250px) rotate(45deg); }
    50% { transform: translate(350px, 230px) rotate(45deg); }
    100% { transform: translate(350px, 250px) rotate(45deg); }
}

.float-slow { animation: float-slow 4s ease-in-out infinite; }
.float-fast { animation: float-fast 3s ease-in-out infinite; }
.rocket-anim-group { animation: rocket-float 5s ease-in-out infinite; }

/* Section Headings */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}
.section-title h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: 15px; }
.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.theme-extreme .service-card {
  transform-style: preserve-3d;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent-1);
  margin-bottom: 20px;
  transition: var(--transition);
}

body.theme-extreme .service-icon {
  transform: translateZ(30px);
  text-shadow: 0 0 10px var(--accent-1);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

body.theme-extreme .service-card h3 {
  transform: translateZ(20px);
}

.service-card p {
  color: var(--text-muted);
  flex-grow: 1;
}

body.theme-extreme .service-card p {
  transform: translateZ(10px);
}

/* Stats / Why Choose Us */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 50px;
}

.stat-box {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 30px;
  border-radius: var(--border-radius);
  clip-path: var(--clip-shape);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

body.theme-extreme .stat-box {
  background: linear-gradient(145deg, rgba(20,20,20,0.8), rgba(10,10,10,0.9));
}

.stat-label {
  color: var(--text-main);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-top: 15px;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 100px 0;
  position: relative;
}

body.theme-extreme .cta-section {
  background: linear-gradient(to right, rgba(0, 243, 255, 0.05), rgba(188, 19, 254, 0.05));
}

/* Contact Page Specifics */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--accent-1);
  background: rgba(128, 128, 128, 0.1);
  padding: 15px;
  border-radius: var(--border-radius);
}

body.theme-extreme .info-item i {
  background: rgba(0, 243, 255, 0.1);
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 15px 20px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-main);
  font-family: var(--font-body);
  transition: var(--transition);
}

body.theme-extreme .input-group input,
body.theme-extreme .input-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--accent-1);
}

/* Map */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius);
  clip-path: var(--clip-shape);
  overflow: hidden;
  margin-top: 50px;
  border: 1px solid var(--border-color);
}
.map-container iframe { width: 100%; height: 100%; }

/* Blog Page Specifics */
.blog-controls {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  font-weight: 600;
}

body.theme-extreme .filter-btn {
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--accent-1);
  color: #fff;
  border-color: var(--accent-1);
}

body.theme-extreme .filter-btn.active, 
body.theme-extreme .filter-btn:hover {
  color: #000;
  box-shadow: 0 0 15px var(--accent-1);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 30px;
  perspective: 1200px;
}

.blog-card {
  border-radius: var(--border-radius);
  clip-path: var(--clip-shape);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  opacity: 0; 
  transform: translateY(30px);
}

body.theme-extreme .blog-card {
  transform-style: preserve-3d;
}

.blog-card.loaded {
  opacity: 1;
  transform: translateY(0);
}

.blog-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  transition: transform 0.6s var(--ease);
}

.blog-card:hover .blog-img { transform: scale(1.05); }

.blog-content { padding: 25px; position: relative; z-index: 2; background: var(--bg-card); }

.blog-tag {
  color: var(--accent-2);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.blog-title { font-size: 1.3rem; margin-bottom: 10px; line-height: 1.3; }

.blog-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  display: flex;
  gap: 15px;
}
.blog-meta i { color: var(--accent-1); margin-right: 5px; }

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  color: var(--accent-1);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.read-more i { transition: transform 0.3s; }
.read-more:hover i { transform: translateX(5px); }

/* Article Full Page Styling */
.article-header {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 50px;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.article-poster {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  border-radius: var(--border-radius);
  clip-path: var(--clip-shape);
  margin-bottom: 40px;
}

.article-content-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-content-body h2, .article-content-body h3 {
  margin: 40px 0 20px;
}
.article-content-body p {
  margin-bottom: 20px;
  color: var(--text-muted);
}
.article-content-body ul {
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-muted);
}
.article-content-body li { margin-bottom: 10px; }

/* Footer */
footer {
  background: var(--accent-2); /* Darker yellow for better white text readability in Default Dark Mode */
  color: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px;
  margin-top: 60px;
}

body.light-theme footer {
  background: var(--primary); /* Reverts Light Mode back to its intended Vibrant Orange */
}

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

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.footer-col p { color: var(--text-muted); margin-bottom: 20px; }

.social-links { display: flex; gap: 15px; }

.social-links a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: #ffffff !important;
  transition: var(--transition);
}

body.theme-extreme .social-links a {
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  background: var(--glass-bg);
}

.social-links a:hover {
  background: var(--accent-1);
  color: #fff;
  border-color: var(--accent-1);
}

body.theme-extreme .social-links a:hover {
  color: #000;
  box-shadow: 0 0 15px var(--accent-1);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--accent-1); padding-left: 5px; }

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: #ffffff;
  font-size: 0.9rem;
}

/* Force all footer text to white globally */
footer, footer h1, footer h2, footer h3, footer h4, footer h5, footer h6, 
footer p, footer span, footer a, footer i, .footer-col p, .footer-links a {
  color: #ffffff !important;
}

/* Custom Override for Inner Pages */
body.light-theme .hero .container:not(.hero-container) p {
  color: var(--text-muted) !important;
}

@media (min-width: 769px) {
  .mobile-injected-item {
    display: none !important; /* Hide mobile CTA links on Desktop */
  }
}

/* Media Queries */
@media (max-width: 992px) {
  .hero { padding-top: 120px; }
  .hero-container {
      flex-direction: column !important;
      text-align: center !important;
  }
  .hero-content {
      width: 100% !important;
      max-width: 100% !important;
  }
  .hero p {
      margin-left: auto !important;
      margin-right: auto !important;
  }
  .hero-buttons {
      justify-content: center !important;
      flex-wrap: wrap;
  }
  .hero-img-wrapper { 
      display: block !important;
      width: 100% !important; 
      opacity: 1 !important; 
      padding-left: 0 !important;
      margin-top: 40px;
      position: relative;
      right: 0 !important;
  }
  /* Reduce blob intensity on smaller screens so text remains legible */
  .blob {
      opacity: 0.15 !important;
      filter: blur(50px);
  }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* About Page Inner Layout Fixes */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-features {
  display: flex;
  gap: 20px;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .about-features {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  /* Premium Clutch-style Fullscreen Drawer */
  .nav-links {
    position: absolute;
    top: 100%; left: 0;
    width: 100%; height: auto;
    min-height: calc(100vh - 70px);
    background: var(--bg-main);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    margin: 0;
    padding: 20px 0 30px 0;
    border-left: none;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.4s ease;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-links li a {
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 25px;
    color: var(--text-main);
    text-transform: none;
  }
  
  .nav-links li a::after {
    content: '\f054'; /* FontAwesome Chevron Right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--text-muted);
    position: static;
    background: none;
    width: auto;
    height: auto;
  }
  
  .nav-links li a:hover::after,
  .nav-links li a.active::after {
    width: auto;
  }
  
  .nav-links li a.btn::after {
    display: none !important;
  }
  
  header { padding: 15px 0 !important; background: var(--bg-main) !important; }
  header.menu-open { position: absolute !important; top: 0; left: 0; width: 100%; }
  .mobile-toggle { display: block; position: relative; z-index: 1005; }
  .header-actions { display: flex; gap: 15px; align-items: center; z-index: 1005; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   SERVICES PAGE OVERRIDES (Light Theme Space & Cards)
   ========================================================================= */
.services-hero {
    min-height: 60vh !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-grid-section {
    padding-top: 0 !important;
}

body.light-theme .services-hero {
    padding-top: 150px !important;
    padding-bottom: 50px !important;
}

body.light-theme .services-grid-section {
    padding-top: 100px !important;
}

/* Base class for the 4 dark cards */
.bg-card {
    background-size: cover !important;
    background-position: center !important;
    border: 1px solid var(--border-color) !important;
    transition: background-image 0.5s ease;
}

/* Specific background images for cards */
.bg-1 { background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), url('https://img.freepik.com/free-vector/flat-hotel-review-concept-background_4370523.jpg') !important; }
.bg-3 { background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), url('https://img.freepik.com/free-photo/online-marketing-commercial-connection-technology_18092009.jpg') !important; }
.bg-4 { background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), url('https://img.freepik.com/free-psd/social-media-facebook-post-frame-isolated-3d-rendering_175811665.jpg') !important; }
.bg-6 { background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), url('https://img.freepik.com/free-vector/web-development-concept-website-optimization-web-page-interface-design-coding-testing-site-internet-modern-technology-idea-isolated-flat-vector-illustration_28695439.jpg') !important; }

/* Light Theme overrides for the cards */
body.light-theme .bg-1 { background-image: linear-gradient(rgba(248,249,250,0.85), rgba(248,249,250,0.95)), url('https://img.freepik.com/free-vector/flat-hotel-review-concept-background_4370523.jpg') !important; }
body.light-theme .bg-3 { background-image: linear-gradient(rgba(248,249,250,0.85), rgba(248,249,250,0.95)), url('https://img.freepik.com/free-photo/online-marketing-commercial-connection-technology_18092009.jpg') !important; }
body.light-theme .bg-4 { background-image: linear-gradient(rgba(248,249,250,0.85), rgba(248,249,250,0.95)), url('https://img.freepik.com/free-psd/social-media-facebook-post-frame-isolated-3d-rendering_175811665.jpg') !important; }
body.light-theme .bg-6 { background-image: linear-gradient(rgba(248,249,250,0.85), rgba(248,249,250,0.95)), url('https://img.freepik.com/free-vector/web-development-concept-website-optimization-web-page-interface-design-coding-testing-site-internet-modern-technology-idea-isolated-flat-vector-illustration_28695439.jpg') !important; }

/* Text colors inside those cards */
.bg-card-title { color: #fff; transition: color 0.5s ease; }
body.light-theme .bg-card-title { color: var(--text-main) !important; }

.bg-card-text { color: #ccc; transition: color 0.5s ease; }
body.light-theme .bg-card-text { color: var(--text-muted) !important; }

/* =========================================================================
   STICKY WHATSAPP BUTTON (Animated & Stylish)
   ========================================================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: wa-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: translateY(-5px) scale(1.05);
    color: #FFF !important;
    box-shadow: 0 6px 15px rgba(37,211,102,0.4);
}

.whatsapp-float i {
    margin-top: 2px;
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* =========================================================================
   PLAYFUL STARTUP THEME OVERRIDES (Light Mode Only)
   ========================================================================= */

/* Blobs Background (Hidden in Dark Mode) */
.blob {
    display: none;
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

body.light-theme .blob {
    display: block;
    animation: float 10s ease-in-out infinite;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple), var(--accent-1));
    top: -150px;
    right: -150px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    bottom: -200px;
    left: -150px;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-purple), var(--primary));
    top: 40%;
    left: 45%;
    animation-delay: -2s;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-40px) scale(1.05); }
}

/* Playful Cards */
body.light-theme .card-playful {
    border-radius: 30px !important;
    background: #ffffff;
    border: none !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

body.light-theme .card-playful:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(255, 20, 147, 0.15), 0 25px 50px -10px rgba(0, 229, 255, 0.15) !important;
}

/* Playful Gradients & Icons */
body.light-theme .text-gradient {
    background: linear-gradient(90deg, #FF1493, #8A2BE2, #00E5FF, #FF6B00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: gradientShift 6s ease infinite;
}

body.light-theme .hero h1 .text-gradient,
body.light-theme .section-title h2 .text-gradient {
    text-shadow: none; /* remove cyber glow */
}

body.light-theme .service-icon,
body.light-theme .icon-box i {
    background: linear-gradient(135deg, #FF1493, #FF6B00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    color: transparent; /* specific fix for Safari */
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Fix Light Theme Legibility without modifying the original backgrounds */
body.light-theme .logo,
body.light-theme .nav-links li a,
body.light-theme .theme-toggle,
body.light-theme .mobile-toggle { 
    color: var(--text-main); 
}
body.light-theme .theme-toggle {
    border-color: var(--border-color);
}
body.light-theme header.scrolled .logo,
body.light-theme header.scrolled .nav-links li a,
body.light-theme header.scrolled .theme-toggle,
body.light-theme header.scrolled .mobile-toggle {
    color: #ffffff;
}
body.light-theme .hero h1 { 
    color: var(--text-main); 
}
body.light-theme .hero p { 
    color: var(--text-muted) !important; 
}
body.light-theme .logo span {
    background: linear-gradient(90deg, #FF1493, #8A2BE2, #00E5FF, #FF6B00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: gradientShift 6s ease infinite;
}
