html,
body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast; /* Better clarity for logos and images */
}

.center-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.commonBtn {
  /* Ensure buttons can be centered easily */
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
}

:root {
  /* Dark Mode (Default) - Pure Black */
  --bg-color: #000000;
  --text-color: #ffffff;
  --text-muted: #cccccc;
  --card-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --header-bg: #000000;

  --primary-color: #7b2cff;
  --secondary-color: #00f2ff;
  --white: #ffffff;
  --primary-glow: rgba(123, 44, 255, 0.5);
  --gradient-deep: linear-gradient(135deg, #000000 0%, #000000 100%);
  --gradient-accent: linear-gradient(90deg, #7b2cff, #00f2ff);
  --hero-overlay: rgba(0, 0, 0, 0.9);
  --invert: 0;
}

[data-theme="light"] {
  /* Light Mode - Pure White */
  --bg-color: #ffffff;
  --text-color: #000000;
  --text-muted: #444444;
  --card-bg: rgba(0, 0, 0, 0.04);
  --glass-border: rgba(0, 0, 0, 0.12);
  --header-bg: #ffffff;
  --primary-glow: rgba(123, 44, 255, 0.15);
  --hero-overlay: rgba(255, 255, 255, 0.9);
  --invert: 1;
}

/* Specific styling for review boxes in light mode as requested */
[data-theme="light"] #all-reviews-grid .card,
[data-theme="light"] #home-reviews-grid .card {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-theme="light"] #all-reviews-grid .card p,
[data-theme="light"] #home-reviews-grid .card p,
[data-theme="light"] #all-reviews-grid .card h4,
[data-theme="light"] #home-reviews-grid .card h4 {
  color: #ffffff !important;
}

[data-theme="light"] #all-reviews-grid .card .text-muted,
[data-theme="light"] #home-reviews-grid .card .text-muted {
  color: #cccccc !important;
}

[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
  color: #000000 !important;
  background: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
  color: #666666 !important;
}

[data-theme="light"] .chatbot-floating .chatbot-icon,
[data-theme="light"] #sendChat {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Ensure review modal inputs are white with black text for clarity as requested */
.modal-overlay input,
.modal-overlay textarea {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.modal-overlay input::placeholder,
.modal-overlay textarea::placeholder {
  color: #666666 !important;
}

[data-theme="light"] .chatbot-window {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .chatbot-header {
  background: var(--primary-color) !important;
  color: #ffffff !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    sans-serif;
  scroll-behavior: smooth;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

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

body {
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
}

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

/* Header & Navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 10%;
  position: absolute;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  text-align: center;
  /* Center align items for mobile if needed */
}

header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.8rem 10%;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-color);
  letter-spacing: -1px;
}

.logo i {
  color: var(--secondary-color);
  margin-right: 5px;
}

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

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover,
nav a.active {
  color: var(--secondary-color);
  text-shadow: 0 0 10px var(--secondary-color);
}

#mainHeader {
  position: absolute;
  /* Changed. Keep transparent over hero initially */
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  z-index: 1000;
  background: transparent;
  transition: all 0.4s ease;
}

#mainHeader.fixed {
  position: fixed;
  background: var(--header-bg) !important;
  backdrop-filter: blur(15px) !important;
  padding: 15px 8%;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

#mainHeader.fixed .logo,
#mainHeader.fixed #navMenu a {
  color: var(--text-color);
}

#mainHeader:not(.fixed) .logo,
#mainHeader:not(.fixed) #navMenu a {
  color: #ffffff;
  /* Always white over hero image initially */
}

#mainHeader.always-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

#mainHeader .logo {
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}

#navMenu {
  display: flex;
  align-items: center;
  gap: 30px;
}

#navMenu a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.3s;
  opacity: 0.8;
}

#navMenu a:hover,
#navMenu a.active {
  color: var(--secondary-color) !important;
  opacity: 1;
}

/* Theme Toggle Button */
#theme-toggle {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: 0.3s;
}

#theme-toggle:hover {
  background: var(--secondary-color);
  color: var(--bg-color);
  border-color: var(--secondary-color);
  transform: rotate(20deg);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
  /* Ensure above mobile menu */
}

#mainHeader.fixed .hamburger span {
  background: var(--text-color);
}

#mainHeader:not(.fixed) .hamburger span {
  background: #ffffff;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  transition: 0.3s;
}

.hamburger.toggle span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.toggle span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Sections Common */
.container {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
}

.heading {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
  text-align: center !important;
  width: 100%;
}

/* Specific section centering */
.hero-sub .heading,
.hero-sub p,
.service-section .text-box,
.projectsSection .heading,
.watchSection .heading,
.clientsSection .heading,
.priceSection .heading,
.testimonialSection .heading,
.contactSection .heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.commonBtn {
  background: var(--gradient-accent);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px var(--primary-glow);
  text-decoration: none;
  display: inline-block;
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 10px rgba(123, 44, 255, 0.4); transform: scale(1); }
  50% { box-shadow: 0 0 25px rgba(0, 242, 255, 0.8), 0 0 40px rgba(123, 44, 255, 0.6); transform: scale(1.02); }
  100% { box-shadow: 0 0 10px rgba(123, 44, 255, 0.4); transform: scale(1); }
}

.commonBtn:hover {
  transform: scale(1.08) translateY(-3px) !important;
  box-shadow: 0 10px 30px var(--secondary-color) !important;
  filter: brightness(1.2);
  animation: none;
}

/* Hero Section */
.heroSection {
  position: relative;
  min-height: 100vh;
  padding-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.heroSection::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
}

.hero {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.hero-text {
  width: 100%;
  max-width: 900px;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: -1px;
  background: linear-gradient(90deg, #ffffff, var(--secondary-color), var(--primary-color), #ffffff);
  background-size: 300% auto;
  color: transparent !important;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 5s linear infinite;
}

@keyframes shine {
  to {
    background-position: 300% center;
  }
}

.hero-text p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #eeeeee;
  /* Better contrast on hero images */
  max-width: 700px;
  margin: 0 auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.play-btn {
  background: var(--text-color);
  color: var(--bg-color);
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 400px;
}

.shape {
  background: var(--gradient-color);
  width: 450px;
  height: 450px;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph 8s ease-in-out infinite;
  z-index: 1;
}

@keyframes morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }

  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.userImage {
  position: absolute;
  max-height: 500px;
  height: auto;
  width: auto;
  z-index: 2;
  bottom: 0;
  object-fit: contain;
}

.heroIcon1,
.heroIcon2,
.heroIcon3,
.heroIcon4 {
  position: absolute;
  width: 60px;
  z-index: 3;
}

.heroIcon1 {
  top: 10%;
  left: 10%;
  animation: float 3s ease-in-out infinite;
}

.heroIcon2 {
  top: 20%;
  right: 10%;
  animation: float 4s ease-in-out infinite reverse;
}

.heroIcon3 {
  bottom: 20%;
  left: 5%;
  animation: float 5s ease-in-out infinite;
}

.heroIcon4 {
  bottom: 10%;
  right: 5%;
  animation: float 3.5s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* About Section */
.image-box {
  flex: 1;
  position: relative;
  min-width: 400px;
}

.image-box img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.purple-corner {
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--gradient-color);
  top: -20px;
  right: -20px;
  z-index: -1;
  border-radius: 10px;
}

.text-box {
  flex: 1.2;
  min-width: 400px;
}

.highlight {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 15px 0;
  display: block;
}

/* Services Section */
.service-section {
  background: var(--bg-color);
  padding: 100px 0;
  border-top: 1px solid var(--glass-border);
}

.services-list {
  list-style: none;
  margin: 30px 0;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-weight: 500;
}

.check {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
}

.check.purple {
  background: #a259ff;
}

.check.orange {
  background: #ff9f43;
}

.check.green {
  background: #1dd1a1;
}

.services-right {
  flex: 1.5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: 0.4s;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
}

/* Modal Overlay Style */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
  box-shadow: 0 10px 30px var(--primary-glow);
}

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

.card p {
  color: var(--text-muted);
  word-wrap: break-word;
  /* Ensure text stays inside */
  overflow-wrap: break-word;
}

.card .icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.purple-card .icon {
  color: #a259ff;
  background: var(--card-bg);
}

.yellow-card .icon {
  color: #ff9f43;
  background: var(--card-bg);
}

.green-card .icon {
  color: #1dd1a1;
  background: var(--card-bg);
}

/* Stats Section */
.watchSection {
  padding: 100px 0;
  text-align: center;
}

.video-container {
  max-width: 1000px;
  margin: 50px auto;
  position: relative;
}

.video-container > img {
  width: 100%;
  border-radius: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-color);
}

.progress-bar {
  height: 8px;
  background: var(--card-bg);
  border-radius: 10px;
  margin-top: 10px;
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
}

.progress-bar span.orange {
  background: #ff9f43;
}

.progress-bar span.blue {
  background: #54a0ff;
}

.progress-bar span.teal {
  background: #00d2d3;
}

.progress-bar span.purple {
  background: #a259ff;
}

/* Pricing Section */
.priceSection {
  padding: 80px 0;
  text-align: center;
}

.pricing-wrapper {
  justify-content: center;
  margin-top: 50px;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 25px;
  text-align: center;
  transition: 0.4s;
  width: 350px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
  transform: scale(1.03);
}

.pricing-card.featured {
  background: var(--gradient-accent);
  color: var(--white);
  transform: scale(1.05);
  box-shadow: 0 0 40px var(--primary-glow);
  border: none;
}

.pricing-card.featured .plan-description {
  color: rgba(255, 255, 255, 0.8);
}

.plan-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.plan-features {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}

.plan-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary-color);
}

.featured .plan-features li::before {
  color: #fff;
}

.price {
  font-size: 3rem;
  font-weight: 900;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
}

.join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 30px auto 0;
  padding: 12px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  transition: 0.3s;
}

.featured .join-btn {
  background: #fff;
  border: none;
}

/* Portfolio */
.portfolioSection {
  padding: 100px 0;
  text-align: center;
}

.portfolio-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 300px;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(162, 89, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
  color: #fff;
  padding: 20px;
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

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

/* Contact Section */
.contactSection {
  background: var(--bg-dark);
  padding: 100px 0;
}

.form-section {
  flex: 1.5;
  background: var(--card-bg);
  padding: 50px;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-section input,
.form-section textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--white);
  padding: 15px;
  border-radius: 12px;
  width: 100%;
}

.form-section input:focus,
.form-section textarea:focus {
  border-color: var(--secondary-color);
  outline: none;
  background: rgba(255, 255, 255, 0.05);
}

.info-section {
  flex: 1;
}

.phone {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-top: 20px;
}

/* AI Chatbot */
.chatbot-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.chatbot-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(162, 89, 255, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 450px;
  background: var(--bg-color);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-window.show {
  display: flex;
}

.chatbot-header {
  background: var(--gradient-color);
  padding: 20px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.message {
  padding: 10px 15px;
  border-radius: 15px;
  max-width: 80%;
}

.message.bot {
  background: var(--card-bg);
  color: var(--text-color);
  align-self: flex-start;
}

.message.user {
  background: var(--primary-color);
  color: #fff;
  align-self: flex-end;
}

.chatbot-input {
  padding: 20px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 10px;
}

.chatbot-input input {
  flex: 1;
  border: none;
  outline: none;
}

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

/* WhatsApp Floating Button */
#whatsapp-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

#whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

#whatsapp-btn.hide {
  transform: scale(0);
}

/* Adjusted Chatbot icon position relative to WhatsApp */
.chatbot-floating .chatbot-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(162, 89, 255, 0.4);
  transition: all 0.3s ease;
  /* Override any pulse animation for cleaner interaction */
  animation: none;
}

.chatbot-floating .chatbot-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(162, 89, 255, 0.6);
}

.chatbot-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

/* Adjust chatbot window position to account for WhatsApp */
.chatbot-window {
  bottom: 80px;
  right: 0;
}

/* Scroll Top */
#backToTop {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: #fff;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 999;
}

/* Footer */
footer {
  background: var(--bg-color);
  color: var(--text-color);
  padding: 80px 0 30px;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  text-align: center;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer li {
  margin-bottom: 10px;
}

footer .social-links {
  justify-content: center;
}

.newsletter {
  max-width: 600px;
  margin: 0 auto 80px;
}

.newsletter .form-container {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.newsletter input {
  flex: 1;
  padding: 15px 25px;
  border-radius: 30px;
  border: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
  border-bottom: 1px solid #ffffff20;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  color: #fff;
  font-size: 1.2rem;
}

.copyright {
  margin-top: 40px;
  color: #777;
  font-size: 0.9rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  header {
    padding: 1rem 5%;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

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

  .pricing-card {
    width: 300px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-color);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 100px 30px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 1001;
  }

  nav.active {
    right: 0;
  }

  nav a {
    font-size: 1.2rem;
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
    width: 100%;
    text-align: center;
    color: var(--text-color) !important;
  }

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

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    min-width: 100%;
  }

  .shape {
    width: 300px;
    height: 300px;
  }

  .hero-image {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 400px;
    /* Fixed height for mobile fitting */
  }

  .userImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    bottom: auto;
    border-radius: 20px;
  }

  .container {
    margin: 40px auto;
  }

  .heading {
    font-size: 2.2rem;
  }

  .image-box,
  .text-box {
    min-width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .commonBtn {
    width: auto;
    margin: 10px auto;
  }

  section {
    padding: 60px 0;
    /* Reduced extra space on mobile */
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .form-row {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .reverse-mobile {
    display: flex !important;
    flex-direction: column-reverse;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

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

/* Admin Dashboard Styling */
.admin-login-body {
  background: var(--bg-color) !important;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
  color: var(--text-color);
}

.login-card h2 {
  margin-bottom: 25px;
  color: var(--text-color);
}

.login-card input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  background: var(--card-bg);
  color: var(--text-color);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
}

.admin-header {
  background: var(--header-bg);
  color: var(--text-color);
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.admin-container {
  display: flex;
  min-height: calc(100vh - 70px);
}

.admin-sidebar {
  width: 250px;
  background: var(--header-bg);
  border-right: 1px solid var(--glass-border);
  color: var(--text-color);
  padding: 30px 0;
}

.admin-sidebar ul {
  list-style: none;
}

.admin-sidebar ul li {
  padding: 15px 30px;
  cursor: pointer;
  transition: 0.3s;
}

.admin-sidebar ul li.active,
.admin-sidebar ul li:hover {
  background: var(--primary-color);
}

.admin-content {
  flex: 1;
  padding: 40px;
  background: var(--bg-color);
  color: var(--text-color);
  overflow-y: auto;
}

.dashboard-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  color: var(--text-color);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-color);
}

.admin-table th {
  background: var(--card-bg);
}

.action-btn {
  padding: 8px 15px;
  /* Slightly larger targets */
  border-radius: 8px;
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
  margin-right: 5px;
  transition: 0.3s;
}

.action-btn:hover {
  filter: brightness(1.2);
  transform: translateY(-2px);
}

.edit-btn {
  background: #54a0ff;
  color: #fff;
}

.delete-btn {
  background: #ff6b6b;
  color: #fff;
}

#admin-login-screen {
  display: inline-block;
}

#admin-dashboard {
  display: none;
  flex-direction: column;
  width: 100%;
}

.dashboard-section {
  display: none;
}

.dashboard-section:first-child {
  display: block;
}

/* ================= WhatsApp Floating Button ================= */
#whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  animation: float-wa 2.5s ease-in-out infinite;
}

#whatsapp-btn:hover {
  transform: scale(1.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

@keyframes float-wa {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

#whatsapp-btn.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  #whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
    bottom: 20px;
    right: 20px;
  }
}

/* Team Page Styles */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-card {
  transition: 0.4s;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 300px;
  /* Made smaller */
  margin: 0 auto;
}

.team-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
  box-shadow: 0 10px 30px rgba(162, 89, 255, 0.2);
}

.team-img-wrapper {
  width: 100%;
  height: 200px;
  /* Reduced height for smaller cards */
  overflow: hidden;
  position: relative;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.1);
}

.team-info {
  padding: 30px;
  text-align: center;
  flex-grow: 1;
}

.team-name {
  font-size: 1.8rem;
  margin-bottom: 5px;
  font-weight: 800;
}

.team-role {
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.team-bio {
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

.hero-sub {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 400px;
  padding-top: 80px;
}

.hero-sub::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.hero-sub .container {
  position: relative;
  z-index: 2;
}

/* Partners & Clients section */
.partners-section .container {
  max-width: 1200px;
  padding: 0 40px;
}

.clients-grid {
  transition: 0.5s;
}

.client-logo img {
  max-width: 140px;
  height: auto;
  filter: grayscale(1) invert(var(--invert, 0)) opacity(0.6);
  transition: all 0.4s ease;
  cursor: pointer;
}

.client-logo img:hover {
  filter: grayscale(0) invert(0) opacity(1);
  transform: scale(1.1);
}

/* Slider Animations */
.slider-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 20px 0;
}

.slider-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.slider-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50%));
  }
}

.client-logo img {
  filter: grayscale(1) opacity(0.6);
  transition: 0.3s;
  max-height: 50px;
}

.client-logo img:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.1);
}

/* Projects Slider Specifics */
#projects-slider .project-card {
  width: 350px;
  flex-shrink: 0;
}

.project-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  height: 250px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: 0.3s;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

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

/* Performance Graph */
.graph-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 40px;
  height: 200px;
  margin: 50px auto 0;
  border-bottom: 2px solid var(--glass-border);
  padding-bottom: 10px;
  max-width: 400px;
}

.graph-bar {
  width: 60px;
  background: var(--gradient-accent);
  position: relative;
  transition: height 2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 8px 8px 0 0;
  box-shadow: 0 0 20px var(--primary-glow);
}

.graph-bar::after {
  content: attr(id);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.graph-label {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: bold;
  font-size: 1rem;
  color: var(--secondary-color);
}

/* Global Forms Clear Theming */
input, textarea, select {
  color: var(--text-color) !important;
  background: var(--card-bg) !important;
  border: 1px solid var(--glass-border) !important;
}
input::placeholder, textarea::placeholder {
  color: var(--text-muted) !important;
}
