/* Import optional theme packs (cool and warm). These only take effect when
    html has class/attribute: .theme-cool / [data-theme="cool"] or
    .theme-warm / [data-theme="warm"]. */
@import url("./theme-cool.css");
@import url("./theme-warm.css");

/* =====================
   CSS Variables & Reset
   ===================== */
:root {
  --primary-color: #0b132b;
  --primary-dark: #060a18;
  --primary-light: #162447;
  --secondary-color: #3a86ff;
  --accent-color: #4cc9f0;
  --secondary-hover: #2563eb; /* hover shade for secondary */
  --accent-hover: #38bdf8; /* hover shade for accent */
  --text-dark: #0b132b;
  --text-light: #475569;
  --bg-light: #f5f7fb;
  --bg-white: #ffffff;
  --border-color: #e6eef7;
  --shadow-sm: 0 1px 2px rgba(6, 10, 24, 0.04);
  --shadow-md: 0 6px 18px rgba(6, 10, 24, 0.08);
  --shadow-lg: 0 12px 28px rgba(6, 10, 24, 0.12);
  --shadow-xl: 0 18px 44px rgba(6, 10, 24, 0.14);
  --transition: all 0.3s ease;
  --border-radius: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "IBM Plex Sans",
    system-ui,
    -apple-system,
    "Inter",
    sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================
   Typography
   ===================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", "Sora", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--primary-color);
}

.section-description {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--accent-color)
  );
  margin: 0 auto 2rem;
  border-radius: 2px;
}

/* =====================
   Buttons
   ===================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-color)
  );
  color: var(--bg-white);
  box-shadow: 0 8px 20px rgba(58, 134, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(58, 134, 255, 0.4);
  background: linear-gradient(
    135deg,
    var(--secondary-hover),
    var(--accent-hover)
  );
}

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

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-2px);
}

/* =====================
    Header & Navigation
    ===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  transition: var(--transition);
}

.navbar {
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Sora", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.01em;
}

.logo i {
  font-size: 2rem;
  color: var(--secondary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: var(--transition);
}

/* =====================
   Hero Section
   ===================== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e6f0ff 0%, #f7fbff 60%, #ffffff 100%);
  padding-top: 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140"><defs><pattern id="dots" width="6" height="6" patternUnits="userSpaceOnUse"><circle cx="1" cy="1" r="1" fill="rgba(11,19,43,0.06)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    60% 60% at 70% 30%,
    rgba(58, 134, 255, 0.18) 0%,
    transparent 65%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--bg-white);
  max-width: 900px;
  animation: fadeInUp 1s ease;
}

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

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: none;
  color: var(--primary-color);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: var(--secondary-color);
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  opacity: 0.85;
  color: var(--text-light);
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--primary-color);
  font-size: 2rem;
  opacity: 0.7;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* =====================
   Section Spacing
   ===================== */
section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 4rem;
}

/* =====================
   About Section
   ===================== */
.about {
  background: var(--bg-white);
}

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

.about-image {
  position: relative;
}

.image-placeholder {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-color)
  );
  border-radius: var(--border-radius);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
}

.image-placeholder i {
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.25);
}

.about-text h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* =====================
   Services Section
   ===================== */
.services {
  background: #f7faff;
}

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

.service-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-color)
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.service-icon i {
  font-size: 2rem;
  color: var(--bg-white);
}

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

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-features {
  list-style: none;
  padding: 0;
}

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

.service-features li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: 700;
}

/* =====================
   Why Choose Us Section
   ===================== */
.why-us {
  background: linear-gradient(135deg, #0b132b 0%, #162447 100%);
  color: var(--bg-white);
}

.why-us .section-title {
  color: var(--bg-white);
}

.why-us .title-underline {
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--accent-color)
  );
}

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

.why-us-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.why-us-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-5px);
}

.why-us-card i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.why-us-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--bg-white);
}

.why-us-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* =====================
   Contact Section
   ===================== */
.contact {
  background: var(--bg-white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-color)
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.5rem;
  color: var(--bg-white);
}

.contact-details h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.map-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  transform: translateX(3px);
}

.map-link i {
  font-size: 0.8rem;
}


.contact-form-container {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #dfe8f3;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: var(--transition);
  background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.error-message {
  color: var(--accent-color);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--accent-color);
}

.form-group.error .error-message {
  display: block;
}

.btn-submit {
  width: 100%;
  font-size: 1.1rem;
  padding: 1rem;
  margin-top: 1rem;
}

/* =====================
   Footer
   ===================== */
.footer {
  background: #0b132b;
  color: var(--bg-white);
  padding: 4rem 0 2rem;
}

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

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--bg-white);
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
  color: var(--accent-color);
  margin-top: 3px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0.5rem 0;
}

.footer-bottom i {
  color: var(--accent-color);
}

/* =====================
   Responsive Design
   ===================== */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--bg-white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
    gap: 0;
  }

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

  .nav-menu li {
    padding: 1rem 0;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.4rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

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

  .hero-subtitle {
    font-size: 1.2rem;
  }

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

  .btn {
    width: 100%;
  }

  .contact-form-container {
    padding: 2rem 1.5rem;
  }

  .logo span {
    font-size: 1.1rem;
  }

  section {
    padding: 3rem 0;
  }
}

/* =====================
   Animations & Utilities
   ===================== */
.fade-in {
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Smooth appearance on scroll */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

/* =====================
   Dark Mode Support
   ===================== */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #e6f0ff;
    --primary-dark: #f7fbff;
    --primary-light: #b3d4ff;
    --secondary-color: #5a9eff;
    --accent-color: #6dd5fa;
    --secondary-hover: #7ab2ff;
    --accent-hover: #8ee8ff;

    --text-dark: #e6f0ff;
    --text-light: #a8b8d8;

    --bg-light: #0a1628;
    --bg-white: #0f1b2e;
    --border-color: #1e3a5f;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 18px 44px rgba(0, 0, 0, 0.6);
  }

  body {
    background-color: var(--bg-light);
    color: var(--text-dark);
  }

  /* Header */
  .header {
    background: rgba(15, 27, 46, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
  }

  .logo {
    color: var(--primary-color);
  }

  .nav-link {
    color: var(--text-light);
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--primary-color);
  }

  .nav-toggle span {
    background: var(--primary-color);
  }

  /* Hero - Dark gradient */
  .hero {
    background: linear-gradient(135deg, #050a14 0%, #0a1628 60%, #0f1b2e 100%);
  }

  .hero::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140"><defs><pattern id="dots-dark" width="6" height="6" patternUnits="userSpaceOnUse"><circle cx="1" cy="1" r="1" fill="rgba(230,240,255,0.08)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots-dark)"/></svg>');
  }

  .hero-overlay {
    background: radial-gradient(
      60% 60% at 70% 30%,
      rgba(90, 158, 255, 0.25) 0%,
      transparent 65%
    );
  }

  .hero-title {
    color: var(--primary-color);
  }

  .hero-subtitle {
    color: var(--secondary-color);
  }

  .hero-description {
    color: var(--text-light);
  }

  .scroll-indicator {
    color: var(--primary-color);
  }

  /* Sections */
  .about {
    background: var(--bg-white);
  }

  .services {
    background: var(--bg-light);
  }

  .contact {
    background: var(--bg-white);
  }

  /* Cards */
  .service-card {
    background: #142236;
    border-color: var(--border-color);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  }

  .service-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  }

  .service-card h3 {
    color: var(--primary-color);
  }

  .service-card p,
  .service-features li {
    color: var(--text-light);
  }

  /* About section */
  .about-text h3 {
    color: var(--primary-color);
  }

  .about-text p {
    color: var(--text-light);
  }

  .stat-item {
    background: #142236;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  }

  .stat-item:hover {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  }

  .stat-label {
    color: var(--text-light);
  }

  /* Why Us - Lighter in dark mode */
  .why-us {
    background: linear-gradient(135deg, #0a1628 0%, #0f1b2e 100%);
  }

  .why-us-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
  }

  .why-us-card:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  /* Fix: Section titles and headers high contrast in dark mode */
  .section-title,
  .section-header h2,
  .services .section-title,
  .why-us .section-title {
    color: var(--primary-color);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  }

  .title-underline {
    background: linear-gradient(
      90deg,
      var(--secondary-color),
      var(--accent-color)
    );
  }

  /* Fix: Social icons high contrast in dark mode */
  .social-links a {
    background: rgba(255, 255, 255, 0.18);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
  }
  .social-links a:hover {
    background: var(--secondary-color);
    color: var(--bg-white);
  }

  /* Fix: Why Us card icons and text */
  .why-us-card i {
    color: var(--accent-color);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  }
  .why-us-card h3 {
    color: var(--primary-color);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  }
  .why-us-card p {
    color: var(--text-light);
  }

  /* Contact */
  .contact-details h4 {
    color: var(--primary-color);
  }

  .contact-details p {
    color: var(--text-light);
  }

  .contact-form-container {
    background: #142236;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    background: #0f1b2e;
    border-color: var(--border-color);
    color: var(--text-dark);
  }

  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: #6b7d9d;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--secondary-color);
    background: #142236;
  }

  /* Footer */
  .footer {
    background: #050a14;
    border-top: 1px solid var(--border-color);
  }

  .footer-section h3,
  .footer-section h4 {
    color: var(--primary-color);
  }

  /* Fix: Footer social icons high contrast */
  .footer .social-links a {
    background: rgba(255, 255, 255, 0.18);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
  }
  .footer .social-links a:hover {
    background: var(--secondary-color);
    color: var(--bg-white);
  }

  /* Mobile nav menu */
  @media (max-width: 968px) {
    .nav-menu {
      background: rgba(15, 27, 46, 0.98);
      border-top: 1px solid var(--border-color);
    }
  }
}

/* =====================
   Theme Switcher Button
   ===================== */
.theme-toggle {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
  z-index: 1100; /* above header but below chat container */
}

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.theme-toggle i {
  font-size: 1.1rem;
}

@media (prefers-color-scheme: dark) {
  .theme-toggle {
    background: rgba(15, 27, 46, 0.9);
    color: var(--primary-color);
    border-color: var(--border-color);
  }
}

@media (max-width: 480px) {
  .theme-toggle {
    left: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}
