:root {
  /* Light Theme (Default) */
  --primary: #0A2540;
  --secondary: #007bff; /* A more accessible blue for light mode links/buttons */
  --accent: #FFD700;
  --neutral-white: #FFFFFF;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --text-primary: #212529; /* Near-black for body text */
  --text-secondary: #0A2540; /* Navy for headlines */
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  --glow-secondary: none;
  --glow-accent: none;
  --border: #dee2e6;
  --hero-overlay: rgba(10, 37, 64, 0.5);
}

body.dark-theme {
  --primary: #0A2540;
  --secondary: #00D4FF;
  --accent: #FFD700;
  --neutral-white: #FFFFFF;
  --bg-primary: #020C17;
  --bg-secondary: #0A2540;
  --text-primary: #E6F7FF;
  --text-secondary: #0A2540; /* Used for text on light backgrounds (like buttons) */
  --shadow: 0 0 15px rgba(0, 212, 255, 0.3);
  --glow-secondary: 0 0 8px var(--secondary);
  --glow-accent: 0 0 8px var(--accent);
  --border: rgba(0, 212, 255, 0.2);
  --hero-overlay: rgba(2, 12, 23, 0.6);
}

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

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: 300;
}

strong, b {
    font-weight: 700;
}

/* Scanline Overlay for dark theme only */
body.dark-theme::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.3) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 0;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}
.dark-theme h1, .dark-theme h2, .dark-theme h3, .dark-theme h4 {
  color: var(--text-primary);
}


h1 { font-size: clamp(2.2rem, 7vw, 4rem); }
h2 { font-size: clamp(2rem, 6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.5rem); }
h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--secondary); text-decoration: none; transition: all 0.3s ease; }
a:hover { filter: brightness(1.2); }

/* Subheaders: Poppins Semi-Bold */
h4,
.card-content h3 {
    font-weight: 600;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  border: 2px solid var(--secondary);
  background: transparent;
  color: var(--secondary);
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  text-shadow: var(--glow-secondary);
}

.btn:hover {
  background-color: var(--secondary);
  color: var(--neutral-white);
  box-shadow: 0 0 20px var(--secondary);
  text-shadow: none;
}
.dark-theme .btn:hover {
  color: var(--text-secondary);
}

.btn-secondary {
  border-color: var(--text-secondary);
  color: var(--text-secondary);
  text-shadow: none;
}
/* This button is only used in the hero, which is always dark */
.hero .btn-secondary {
  border-color: var(--neutral-white);
  color: var(--neutral-white);
}

.btn-secondary:hover {
  background-color: var(--text-secondary);
  color: var(--bg-primary);
  box-shadow: 0 0 20px var(--text-secondary);
}
.hero .btn-secondary:hover {
  background-color: var(--neutral-white);
  color: var(--primary);
  box-shadow: 0 0 20px var(--neutral-white);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, border-bottom 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--bg-primary);
  box-shadow: var(--shadow);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}
.logo-subtitle {
  font-weight: 300;
  font-size: 0.9rem;
  opacity: 0.8;
  padding-left: 0.5rem;
}
.navbar:not(.scrolled) .nav-logo {
  color: var(--neutral-white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.navbar.scrolled .nav-logo {
  color: var(--text-secondary);
}
.dark-theme .navbar.scrolled .nav-logo {
  color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.navbar:not(.scrolled) .nav-links a {
  color: var(--neutral-white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.navbar.scrolled .nav-links a {
    color: var(--text-secondary);
}
.dark-theme .navbar.scrolled .nav-links a {
    color: var(--text-primary);
}
.nav-links a:hover {
  color: var(--secondary);
  text-shadow: var(--glow-secondary);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.nav-contact-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}
.navbar:not(.scrolled) .nav-contact-btn {
    border-color: var(--neutral-white);
    color: var(--neutral-white);
}
.navbar:not(.scrolled) .nav-contact-btn:hover {
    background-color: var(--neutral-white);
    color: var(--primary);
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
}
.hamburger svg {
    width: 28px;
    height: 28px;
    color: var(--neutral-white);
    transition: color 0.3s ease;
}
.navbar.scrolled .hamburger svg {
    color: var(--text-primary);
}
.nav-menu.open .hamburger svg {
    color: var(--text-primary);
}

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding: 2rem;
  }
  .nav-menu.open {
    transform: translateX(0);
  }
  .nav-links {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .nav-links a {
      font-size: 1.5rem;
      color: var(--text-primary) !important;
      text-shadow: none !important;
  }
  .nav-actions {
      flex-direction: column;
      margin-top: 2.5rem;
      gap: 1.5rem;
  }
  .nav-contact-btn {
      padding: 0.75rem 1.5rem;
      font-size: 1.2rem;
      border-color: var(--secondary) !important;
      color: var(--secondary) !important;
  }
  .nav-contact-btn:hover {
    color: var(--neutral-white) !important;
  }
  .dark-theme .nav-contact-btn:hover {
    color: var(--text-secondary) !important;
  }
  .hamburger {
    display: block;
  }
}


/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('https://images.unsplash.com/photo-1541185934-01b600ea069c?auto=format&fit=crop&q=80&w=2070');
  background-size: cover;
  background-position: center;
  color: var(--neutral-white);
  padding: 1rem;
  position: relative;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-headline {
  color: var(--accent);
  text-shadow: var(--glow-accent), 0 0 20px var(--accent);
  margin-bottom: 0;
}

.hero-attribution {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-style: italic;
  font-weight: 300;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--neutral-white);
  opacity: 0.9;
  text-align: right;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.hero-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

/* Sections General */
section {
  padding: 4rem 0;
}
section:last-of-type {
  border-bottom: none;
}
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -2rem auto 3rem auto;
    font-size: 1.1rem;
    color: var(--text-primary);
    opacity: 0.9;
}


.bg-alt {
  background-color: var(--bg-secondary);
}

.title-navy { color: var(--text-secondary); }
.dark-theme .title-navy { color: var(--neutral-white); }
.title-blue { color: var(--secondary); text-shadow: var(--glow-secondary); }
.title-gold { color: var(--accent); text-shadow: var(--glow-accent); }

/* About Section */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 4rem;
}

@media (min-width: 900px) {
  .about-intro-grid {
    grid-template-columns: 300px 1fr;
    gap: 4rem;
  }
}

.about-image-container {
  text-align: center;
}

.about-profile-img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 4px solid var(--bg-secondary);
  object-fit: cover;
  aspect-ratio: 1 / 1.2;
}
.dark-theme .about-profile-img {
    border: 4px solid var(--primary);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.3);
}

.about-intro-text h3 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.dark-theme .about-intro-text h3 {
  color: var(--text-primary);
}
.about-intro-text .about-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  margin-bottom: 1.5rem;
  color: var(--secondary);
  text-shadow: var(--glow-secondary);
}
.about-intro-text p {
  margin-bottom: 1.5rem;
}

/* My Practice Section */
#practice {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

@keyframes aurora {
    0% { transform: rotate(0deg) scale(1.5); opacity: 0.4; }
    50% { transform: rotate(180deg) scale(1.6); opacity: 0.7; }
    100% { transform: rotate(360deg) scale(1.5); opacity: 0.4; }
}

.dark-theme #practice::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, hsla(190, 100%, 50%, 0.2), transparent 40%),
        radial-gradient(circle at 80% 90%, hsla(210, 80%, 30%, 0.2), transparent 50%),
        radial-gradient(circle at 50% 50%, hsla(210, 80%, 10%, 0.2), transparent 40%);
    z-index: 0;
    animation: aurora 20s ease-in-out infinite;
}

.practice-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.practice-card {
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    
    /* Glassmorphism Effect */
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.dark-theme .practice-card {
    background-color: rgba(10, 37, 64, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: none;
}

.practice-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.8);
    border-color: var(--secondary);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1), 0 0 15px -5px var(--secondary);
}

.dark-theme .practice-card:hover {
    background-color: rgba(10, 37, 64, 0.5);
    border-color: var(--secondary);
    box-shadow: 0 0 30px -5px var(--secondary);
}

.practice-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-card:hover .practice-image {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.dark-theme .practice-card:hover .practice-image {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.practice-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}
.dark-theme .practice-card h3 {
    color: var(--text-primary);
}

.practice-tagline {
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--text-secondary);
    opacity: 0.9;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.4;
}
.dark-theme .practice-tagline {
    color: var(--text-primary);
}

.practice-description {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.8;
    line-height: 1.6;
}
.practice-description strong {
    display: block;
    margin-top: 1rem;
    color: var(--secondary);
}
.practice-cta {
    text-align: center;
    margin-top: 4rem;
}
.practice-cta p {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.dark-theme .practice-cta p {
    color: var(--text-primary);
}
.practice-cta .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}


/* Track Record Section */
.track-record-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.track-record-item {
    position: relative;
    color: var(--neutral-white);
    border-radius: 10px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.track-record-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 10%, rgba(0,0,0,0.1) 80%);
    z-index: 1;
    transition: background 0.3s ease;
}

.track-record-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow);
}
.dark-theme .track-record-item:hover {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

.track-record-text {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

.track-record-text h3 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    color: var(--accent);
    text-shadow: var(--glow-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.track-record-text h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--neutral-white);
    margin-bottom: 0.75rem;
}

.track-record-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}


/* Projects, Publications, Podcast Section */
.showcase-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.showcase-card {
    display: grid;
    grid-template-columns: 1fr;
    background-color: var(--bg-primary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-card:hover {
    transform: translateY(-5px);
}
.dark-theme .showcase-card:hover {
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.3);
}

.showcase-image {
    overflow: hidden;
    height: 300px;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

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

.showcase-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-category {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.showcase-content h4 {
    font-size: clamp(1.5rem, 4vw, 1.75rem);
    color: var(--text-secondary);
}
.dark-theme .showcase-content h4 {
    color: var(--text-primary);
}

.showcase-content .btn {
    margin-top: 1.5rem;
    align-self: flex-start;
}

@media(min-width: 768px) {
    .showcase-card {
        grid-template-columns: repeat(2, 1fr);
        min-height: 400px;
    }
    .showcase-image {
        height: auto; /* Let it fill the grid cell height */
    }
    .showcase-content {
        padding: 2.5rem;
    }
    .showcase-card.showcase-card--reversed .showcase-image {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }
    .showcase-card.showcase-card--reversed .showcase-content {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
}

/* Testimonials Section */
#testimonials {
    background-color: var(--bg-primary);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}
.dark-theme .testimonial-card:hover {
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.2);
    border-color: var(--secondary);
}

.testimonial-quote {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2.5rem;
}

.testimonial-quote::before {
    content: '“';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 4rem;
    font-family: 'Times New Roman', serif;
    color: var(--secondary);
    opacity: 0.8;
    line-height: 1;
}

.testimonial-author {
    margin-top: auto; /* Pushes author to the bottom */
}

.testimonial-name {
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.2rem;
    color: var(--text-secondary);
}
.dark-theme .testimonial-name {
    color: var(--text-primary);
}

.testimonial-title {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Client Ticker Section */
.client-ticker-section {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

.client-ticker-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.client-ticker-container::before,
.client-ticker-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}
.client-ticker-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary), transparent);
}
.client-ticker-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.client-ticker-track {
    display: flex;
    width: calc(250px * 40); /* 20 clients * 2 for loop */
    animation: scroll 100s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.client-logo {
    width: 250px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1rem;
    flex-shrink: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.dark-theme .client-logo {
    opacity: 0.5;
}

.client-logo:hover {
    opacity: 1;
}

/* Angled Divider */
.angled-divider {
    line-height: 0;
}
.angled-divider svg {
    display: block;
    width: 100%;
    height: 5vw;
    min-height: 30px;
    max-height: 100px;
}

/* Contact Section */
.contact-section {
    background: var(--primary);
    color: var(--neutral-white);
    text-align: center;
    padding-top: 0;
    margin-top: -1px;
}
.contact-section > .container {
    padding-top: 4rem;
}
.contact-section h2, .contact-section p {
    color: var(--neutral-white);
}
.contact-form {
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.contact-form .form-input {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.1);
    color: var(--neutral-white);
}
.contact-form .form-input::placeholder {
    color: rgba(255,255,255,0.7);
}
.contact-form textarea.form-input {
    min-height: 150px;
    resize: vertical;
}
.contact-form .btn {
    border-color: var(--accent);
    color: var(--accent);
    width: 100%;
}
.contact-form .btn:hover {
    background: var(--accent);
    color: var(--primary);
    box-shadow: var(--glow-accent);
}
.contact-success {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent) !important;
    font-weight: 600;
    border-radius: 5px;
    display: inline-block;
}


/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    padding-top: 0;
    margin-top: -1px;
}
footer > .container {
    padding-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-column ul {
    list-style: none;
}
.footer-column li {
    margin-bottom: 0.5rem;
}
.footer-column a:hover {
    color: var(--accent);
    padding-left: 5px;
}
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.social-icons a {
    display: inline-block;
    width: 30px;
    height: 30px;
    color: var(--text-primary);
}
.social-icons a svg {
    transition: transform 0.3s ease;
}
.social-icons a:hover svg {
    transform: scale(1.1);
    color: var(--secondary);
}
.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* Form inputs (used in modal and newsletter) */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}
.dark-theme .form-input:focus {
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.25);
}

/* Contact Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-content {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow);
    animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
    line-height: 1;
}
.modal-form {
    margin-top: 1.5rem;
}
.modal-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Theme Switcher */
.theme-switcher {
  background: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  width: 50px;
  height: 26px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px;
}
.theme-switcher::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--secondary);
  transition: transform 0.3s ease;
}
.dark-theme .theme-switcher::after {
  transform: translateX(24px);
}
.theme-switcher svg {
  width: 16px;
  height: 16px;
}
.icon-sun { color: #f39c12; }
.icon-moon { color: #f1c40f; }

.navbar:not(.scrolled) .theme-switcher {
    border-color: var(--neutral-white);
}
.navbar:not(.scrolled) .theme-switcher::after {
    background-color: var(--neutral-white);
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: var(--neutral-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInWidget 0.5s ease-in-out;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-widget svg {
    width: 32px;
    height: 32px;
}

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

@media (max-width: 768px) {
    .whatsapp-widget {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-widget svg {
        width: 28px;
        height: 28px;
    }
}
