/* ========================================
   STANNUM PRODUCTIONS - HYPER-CREATIVE CSS
   Cinematic, Disruptive, Shiny Premium
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700;900&family=Montserrat:wght@400;700&display=swap');

:root {
  --primary-color: #0d1117;
  --secondary-color: #00FFD1;
  --accent-color: #FF007A;
  --dark-bg: #0d1117;
  --light-text: #ffffff;
  --gray-text: #b0b0b0;
  --card-bg: #161b22;
  --border-color: rgba(0, 255, 209, 0.3);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ========== BACKGROUND NOISE EFFECT ========== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj4KICAKICA8ZmlsdGVyIGlkPSJub2lzZSI+CiAgICA8ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjY1IiBudW1PY3RhdmVlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPgogICAgPGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPgogIDwvZmlsdGVyPgogIDxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNub2lzZSkiIG9wYWNpdHk9IjAuMDYiLz4KPC9zdmc+');
  pointer-events: none;
  z-index: -1;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  background: linear-gradient(135deg, var(--secondary-color), var(--light-text));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  color: var(--light-text);
  text-transform: uppercase;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ========== GLITCH EFFECT ========== */
.glitch-text {
  position: relative;
  display: inline-block;
  color: var(--secondary-color);
  animation: glitch-color 1s infinite;
}

.glitch-text::before, .glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-text::before {
  left: 2px;
  text-shadow: -2px 0 var(--accent-color);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch-text::after {
  left: -2px;
  text-shadow: -2px 0 var(--secondary-color);
  clip: rect(85px, 450px, 100px, 0);
  animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% { clip: rect(72px, 9999px, 10px, 0); }
  25% { clip: rect(10px, 9999px, 80px, 0); }
  50% { clip: rect(50px, 9999px, 20px, 0); }
  75% { clip: rect(90px, 9999px, 10px, 0); }
  100% { clip: rect(30px, 9999px, 70px, 0); }
}

@keyframes glitch-anim-2 {
  0% { clip: rect(20px, 9999px, 70px, 0); }
  25% { clip: rect(80px, 9999px, 10px, 0); }
  50% { clip: rect(10px, 9999px, 90px, 0); }
  75% { clip: rect(60px, 9999px, 30px, 0); }
  100% { clip: rect(40px, 9999px, 60px, 0); }
}

@keyframes glitch-color {
  0%, 100% { color: var(--secondary-color); }
  50% { color: var(--accent-color); }
}

/* ========== BUTTONS ========== */
.btn {
  padding: 1rem 2rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 255, 209, 0.2);
}

.btn-secondary:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 0 30px var(--secondary-color), 0 10px 30px rgba(0, 255, 209, 0.3);
  background: var(--accent-color);
  color: var(--light-text);
}

.btn-clickbait {
  background: var(--accent-color);
  color: var(--light-text);
  font-size: 1.2rem;
  padding: 1.5rem 3rem;
  animation: pulse 1.5s infinite;
  border: 4px solid var(--secondary-color);
}

.btn-clickbait:hover {
  animation: none;
  box-shadow: 0 0 50px var(--accent-color), 0 0 100px rgba(255, 0, 122, 0.5);
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: scale(1.08);
}

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

.btn-outline:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 0 30px var(--secondary-color);
}

.btn-sm {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1.75rem 3.5rem;
  font-size: 1.3rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 15px rgba(255, 0, 122, 0.2); }
  50% { box-shadow: 0 0 30px rgba(255, 0, 122, 0.5); }
}

/* ========== HEADER ========== */
header {
  background: var(--primary-color);
  border-bottom: 2px solid var(--border-color);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(0, 212, 255, 0.1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--secondary-color);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition);
}

.logo:hover {
  color: var(--accent-color);
  text-shadow: 0 0 20px var(--secondary-color);
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--light-text);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: var(--transition);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--secondary-color);
}

nav a:hover::after {
  width: 100%;
}

/* ========== MOBILE MENU ACTIVE STATE ========== */
nav.active {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--primary-color);
  border-bottom: 2px solid var(--border-color);
  padding: 1rem 2rem;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
  z-index: 999;
}

nav.active a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

nav.active a:last-child {
  border-bottom: none;
}

.mobile-menu-btn.active {
  color: var(--accent-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--secondary-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem;
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48ZmlsdGVyIGlkPSJub2lzZSI+PGZlVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9Ii45IiBudW1PY3RhdmVzPSI0IiBzZWVkPSIyIi8+PC9maWx0ZXI+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNub2lzZSkiIG9wYWNpdHk9IjAuMDUiLz48L3N2Zz4=');
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  max-width: 1400px;
  text-align: center;
  position: relative;
  z-index: 10;
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  line-height: 0.9;
  margin-bottom: 2rem;
  text-shadow: 0 0 30px rgba(0, 255, 209, 0.3);
}

.hero-content p {
  font-size: 1.5rem;
  color: var(--gray-text);
  max-width: 900px;
  margin: 0 auto 3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

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

/* ========== CARDS ========== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 2.5rem;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease, border-color 0.5s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 209, 0.1), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.card:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow: 0 30px 80px rgba(0, 255, 209, 0.4), inset 0 0 30px rgba(0, 255, 209, 0.1);
  border-color: var(--secondary-color);
}

.service-card-content p, .service-card-content li {
  transition: color 0.3s ease;
}

.service-card-content:hover p, .service-card-content:hover li {
  color: var(--secondary-color);
}

.card:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow: 0 30px 80px rgba(0, 255, 209, 0.4), inset 0 0 30px rgba(0, 255, 209, 0.1);
  border-color: var(--secondary-color);
}

.card:hover::before {
  left: 100%;
}

.card h3 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.card ul {
  list-style: none;
  padding: 0;
}

.card ul li {
  padding: 0.5rem 0;
  color: var(--gray-text);
  border-bottom: 1px solid rgba(0, 255, 209, 0.1);
}

.card ul li:last-child {
  border-bottom: none;
}

/* ========== FOUNDER IMAGE ========== */
.founder-image {
  transition: transform 0.5s ease, filter 0.5s ease, box-shadow 0.5s ease !important;
}

.founder-image:hover {
  transform: scale(1.05) rotateY(5deg);
  filter: brightness(1.1) drop-shadow(0 0 30px rgba(0, 255, 209, 0.6));
  box-shadow: 0 0 60px rgba(0, 255, 209, 0.8), inset 0 0 30px rgba(0, 255, 209, 0.2) !important;
}

/* ========== SECTION TITLE ========== */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.2rem;
  color: var(--gray-text);
}

/* ========== GRID ========== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

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

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

/* ========== ANIMATIONS ========== */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* ========== TEXT UTILITIES ========== */
.text-secondary {
  color: var(--secondary-color);
}

.text-accent {
  color: var(--accent-color);
}

/* ========== FOOTER ========== */
footer {
  background: var(--primary-color);
  border-top: 5px solid var(--secondary-color);
  padding: 4rem 2rem 2rem;
  margin-top: 6rem;
  position: relative;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3); /* Subtle lift */
}

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

.footer-section h4 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-weight: 900; /* Heavier font weight */
  letter-spacing: 2px;
}

.footer-section a {
  display: block;
  color: var(--gray-text);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--accent-color); /* Use accent color for hover */
  padding-left: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--secondary-color); /* Highlight the copyright text */
  font-size: 0.9rem;
}

/* ========== CHATBOT ========== */
.chatbot-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.chatbot-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 255, 209, 0.4);
  transition: var(--transition);
  animation: pulse 1s infinite;
}

.chatbot-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(0, 255, 209, 0.8);
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.chatbot-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chatbot-header {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: var(--primary-color);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0.5rem 0.5rem 0 0;
}

.chatbot-header h3 {
  margin: 0;
  font-size: 1rem;
}

.chatbot-close {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chatbot-message {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  max-width: 80%;
  word-wrap: break-word;
}

.chatbot-message.user {
  background: var(--secondary-color);
  color: var(--primary-color);
  align-self: flex-end;
  border-bottom-right-radius: 0;
}

.chatbot-message.bot {
  background: rgba(0, 255, 209, 0.1);
  color: var(--light-text);
  border: 1px solid var(--border-color);
  border-bottom-left-radius: 0;
}

.chatbot-input {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid var(--border-color);
}

.chatbot-input input {
  flex: 1;
  background: rgba(0, 255, 209, 0.05);
  border: 1px solid var(--border-color);
  color: var(--light-text);
  padding: 0.75rem;
  border-radius: 0.25rem;
  font-family: 'Montserrat', sans-serif;
}

.chatbot-input input::placeholder {
  color: var(--gray-text);
}

.chatbot-input button {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.chatbot-input button:hover {
  background: var(--accent-color);
  color: var(--light-text);
}

/* ========== LEAD CAPTURE MODAL ========== */
.lead-capture-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.lead-capture-content {
  background: var(--card-bg);
  border: 2px solid var(--secondary-color);
  border-radius: 0.5rem;
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 0 50px rgba(0, 255, 209, 0.3), inset 0 0 30px rgba(0, 255, 209, 0.1);
  position: relative;
}

.lead-capture-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--secondary-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.lead-capture-close:hover {
  color: var(--accent-color);
  transform: scale(1.2);
}

.lead-capture-content h2 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.lead-capture-content p {
  color: var(--gray-text);
  margin-bottom: 1.5rem;
}

.lead-capture-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.lead-capture-form input,
.lead-capture-form select {
  background: rgba(0, 255, 209, 0.05);
  border: 1px solid var(--border-color);
  color: var(--light-text);
  padding: 0.75rem;
  border-radius: 0.25rem;
  font-family: 'Montserrat', sans-serif;
  transition: var(--transition);
}

.lead-capture-form input::placeholder {
  color: var(--gray-text);
}

.lead-capture-form input:focus,
.lead-capture-form select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 15px rgba(0, 255, 209, 0.2);
}

.lead-capture-form select {
  cursor: pointer;
}

.lead-capture-form select option {
  background: var(--primary-color);
  color: var(--light-text);
}

.lead-capture-note {
  font-size: 0.9rem;
  color: var(--gray-text);
  text-align: center;
}

/* ========== SERVICE POPUP ========== */
.service-popup {
  position: fixed;
  bottom: 100px;
  right: 2rem;
  z-index: 9999;
  background: var(--card-bg);
  border: 2px solid var(--secondary-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  max-width: 300px;
  box-shadow: 0 0 40px rgba(0, 255, 209, 0.4);
}

.service-popup-content {
  position: relative;
}

.service-popup-close {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background: var(--accent-color);
  border: none;
  color: var(--light-text);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-popup-close:hover {
  transform: scale(1.1);
  background: var(--secondary-color);
  color: var(--primary-color);
}

.service-popup-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.service-popup h3 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.service-popup p {
  color: var(--gray-text);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.service-popup .btn {
  width: 100%;
  text-align: center;
}

.service-popup.closing {
  animation: slideOutDown 0.3s ease-out forwards;
}

/* ========== SCHEDULE MODAL ========== */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 10000; /* High z-index to be on top of everything */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  background-color: var(--dark-bg);
  color: var(--light-text);
  margin: auto;
  padding: 40px;
  border: 2px solid var(--secondary-color);
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(0, 255, 209, 0.5);
  position: relative;
  animation: slideInTop 0.4s ease-out;
}

.modal-content h2 {
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.modal-content p {
  color: var(--gray-text);
  margin-bottom: 1.5rem;
}

.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="tel"],
.modal-content textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 5px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.modal-content input:focus,
.modal-content textarea:focus {
  border-color: var(--secondary-color);
  outline: none;
}

.modal-content textarea {
  resize: vertical;
  min-height: 100px;
}

.modal-content .btn-primary {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: none;
  font-weight: 700;
  padding: 15px 25px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.modal-content .btn-primary:hover {
  background-color: #ff8c5c; /* Slightly lighter accent */
}

.service-popup .btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* ========== SOCIAL SIDEBAR (LEFT) ========== */
.social-sidebar-left {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem;
  background: var(--card-bg);
  border-radius: 0 0.5rem 0.5rem 0;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
  border-right: 2px solid var(--secondary-color);
}

.social-sidebar-left a {
  color: var(--gray-text);
  font-size: 1.5rem;
  padding: 0.5rem;
  transition: color 0.3s, transform 0.3s;
}

.social-sidebar-left a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .social-sidebar-left {
    display: none; /* Hide on mobile to save screen space */
  }
}

.close {
  color: var(--secondary-color);
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover,
.close:focus {
  color: var(--accent-color);
  text-decoration: none;
}

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

@keyframes slideInTop {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Ensure service popup is styled correctly after JS change */
.service-popup .btn-primary {
  width: 100%;
  text-align: center;
}

/* ========== SOCIAL SIDEBAR ========== */
.social-sidebar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  z-index: 999;
  background: rgba(13, 17, 23, 0.9);
  border-right: 2px solid var(--border-color);
}

.social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: var(--primary-color);
  border-radius: 0.25rem;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 0 15px rgba(0, 255, 209, 0.2);
}

.social-icon:hover {
  transform: scale(1.1) translateX(5px);
  box-shadow: 0 0 30px rgba(0, 255, 209, 0.5);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

/* ========== TESTIMONIALS ========== */
.testimonial {
  padding: 2rem !important;
}

.testimonial .stars {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

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

.testimonial-author {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.testimonial-title {
  color: var(--gray-text);
  font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .social-sidebar {
    left: auto;
    right: 0;
    top: auto;
    bottom: 2rem;
    flex-direction: row;
    border-right: none;
    border-top: 2px solid var(--border-color);
    padding: 0.5rem 1rem;
    gap: 0.25rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }

  .service-popup {
    bottom: 80px;
    right: 1rem;
    max-width: 280px;
  }

  .lead-capture-content {
    padding: 2rem;
  }

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

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

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

  .hero-cta a {
    width: 100%;
    text-align: center;
  }

  nav {
    display: none;
    position: static;
  }

  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
  }

  .mobile-menu-btn:hover {
    color: var(--accent-color);
  }

  .chatbot-window {
    width: 90vw;
    height: 70vh;
    max-width: 350px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 4rem 1rem;
  }

  .container {
    padding: 0 1rem;
  }
}




/* ========== HORIZONTAL SOCIAL SIDEBAR (RIGHT) ========== */
.social-sidebar-horizontal {
  position: fixed;
  top: 80px;
  right: 0;
  display: flex;
  gap: 0;
  background: linear-gradient(135deg, #0066cc, #00a8e8);
  padding: 0;
  border-radius: 8px 0 0 8px;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-sidebar-horizontal a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.social-sidebar-horizontal a:last-child {
  border-right: none;
}

.social-sidebar-horizontal a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .social-sidebar-horizontal {
    top: auto;
    bottom: 80px;
    right: 20px;
    flex-direction: column;
    border-radius: 8px;
  }

  .social-sidebar-horizontal a {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .social-sidebar-horizontal a:last-child {
    border-bottom: none;
  }
}

/* ========== CONTACT FORM STYLING ========== */
.contact-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1a3e 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form-wrapper, .contact-info-wrapper {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 168, 232, 0.3);
}

.contact-form-wrapper h2, .contact-info-wrapper h2 {
  color: #ffffff;
  margin-bottom: 2rem;
  font-size: 2rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #00a8e8;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 168, 232, 0.3);
  border-radius: 6px;
  color: #ffffff;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  background: rgba(0, 168, 232, 0.1);
  border-color: #00a8e8;
  box-shadow: 0 0 10px rgba(0, 168, 232, 0.3);
}

.form-group textarea {
  resize: vertical;
  font-family: 'Montserrat', sans-serif;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
}

.contact-info-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 168, 232, 0.2);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item h4 {
  color: #00a8e8;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.contact-info-item p {
  color: #b0b0b0;
  line-height: 1.8;
}

.contact-info-item a {
  color: #00a8e8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

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

.social-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 168, 232, 0.2);
  border: 1px solid rgba(0, 168, 232, 0.3);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(0, 168, 232, 0.4);
  border-color: #00a8e8;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form-wrapper, .contact-info-wrapper {
    padding: 1.5rem;
  }

  .contact-form-wrapper h2, .contact-info-wrapper h2 {
    font-size: 1.5rem;
  }
}

/* ========== PORTFOLIO STYLING ========== */
.portfolio {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1a3e 100%);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 168, 232, 0.3);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 168, 232, 0.3);
  border-color: #00a8e8;
}

.portfolio-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #0066cc, #00a8e8);
}

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

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-content {
  padding: 2rem;
}

.portfolio-content h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.portfolio-meta {
  color: #00a8e8;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.portfolio-content p {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.portfolio-link {
  display: inline-block;
  color: #00a8e8;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.portfolio-link:hover {
  color: #ffffff;
  transform: translateX(5px);
}

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

  .portfolio {
    padding: 3rem 1rem;
  }
}

