/* Variables for consistent theming */
:root {
  --bg-color: #000000;
  --card-bg-color: #000000;
  --primary-purple: #a37dfd;
  --secondary-purple: #7957d5;
  --text-light: #e0e0e0;
  --text-dark: #666;
  --star-yellow: #fddf5e;
}




/* General Styles */

html,
body {
  width: 100vw;
  max-width: 100vw;
  /* Do NOT restrict overflow-x globally, allow horizontal scroll where needed */
}

@media (max-width: 767px) {

  html,
  body {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    /* Prevent horizontal scroll on mobile except for team section */
  }
}

/* keep Poppins as-is and add common fallback fonts */
body {
  font-family: 'Poppins',
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  background-color: var(--bg-color);
  color: var(--text-light);
  margin: 0;
  padding: 0;
  /* Do NOT restrict overflow-x globally, allow horizontal scroll where needed */
}

/* Add this new rule */

.site-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}


.site-main {
  padding-top: 120px;
}

/* Header */
.header-container {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  /* smooth transform for hide/show on scroll */
  transition: transform 0.50s cubic-bezier(.2, .9, .2, 1), opacity 0.44s;
  will-change: transform, opacity;
}



/* When scrolling down, slide header up out of view */
.header-hidden {
  transform: translateY(-100px);
  opacity: 0;
  pointer-events: none;
  /* avoid accidental clicks while hidden */
}

.logo {
  height: 90px;
  width: auto;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 24px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--primary-purple);
}

.logo-text {
  font-size: 20px;
  font-weight: bold;
}

.center-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-links-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  flex: 1;
}

.nav-links-container a {
  color: var(--text-light);
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-links-container a:hover {
  color: var(--primary-purple);
}

.btn {
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 9999px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease-in-out;
}

.get-in-touch-btn {
  background: linear-gradient(to right, #8e44ad, #9b59b6);
  color: #fff;
  padding: 12px 24px;
  margin-left: 12px;


}

/* Hamburger button (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  align-items: center;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* When active, animate into an X */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Responsive navigation for larger screens */
@media (min-width: 768px) {

  .nav-links-container,
  .get-in-touch-btn {
    display: flex;
  }
}

/* show hamburger on small screens (phones and small tablets) */
@media (max-width: 767px) {

  body,
  html {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .moon {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    transform: none !important;
  }

  .moon .hero-image {
    width: 100vw !important;
    max-width: 100vw !important;
    object-fit: cover;
  }

  .banner-container {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hamburger {
    display: inline-flex;
  }

  /* hide desktop links and CTA on small screens */
  .nav-links-container {
    display: none;
  }

  .get-in-touch-btn {
    display: none;
  }
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 64px;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease-in-out;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
  /* Prevent background scroll when menu is open */
  position: fixed;
  overflow-y: auto;
  height: 100vh;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
  /* Prevent horizontal scroll on mobile */
  touch-action: none;
}

.mobile-nav {
  width: 90vw;
  max-width: 420px;
  background: linear-gradient(180deg, rgba(26, 25, 43, 0.98), rgba(18, 18, 30, 0.98));
  border-radius: 18px;
  padding: 32px 20px 28px 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
  transform: translateY(-10px);
  transition: transform 260ms cubic-bezier(.2, .9, .25, 1), opacity 260ms;
  opacity: 1;
  margin: 0 auto;
}

.mobile-close {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 32px;
  float: right;
  cursor: pointer;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
  align-items: center;
}

/* Larger, more touch-friendly links */
.mobile-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 500;
  padding: 16px 0;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.mobile-links a:hover,
.mobile-links a:focus {
  background: rgba(163, 125, 253, 0.12);
  color: var(--primary-purple);
}

.mobile-cta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Prevent background scroll when mobile nav is open */
body.mobile-nav-open {
  overflow: hidden;
  height: 100vh;
  touch-action: none;
}

.btn:hover,
.card:hover {
  box-shadow: 0 0 20px rgba(163, 125, 253, 0.6), 0 0 40px rgba(163, 125, 253, 0.4);
  transform: translateY(0);
  opacity: 1;
  transform: translateY(-5px);
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 16px 160px;
  position: relative;
  overflow: visible;


}

.hero-section:before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
  display: inline-block;
}


.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 80px;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 10;
  display: inline-block;
  margin-top: auto;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  color: #ffffff;
  margin-top: 10px;
  position: relative;
  z-index: 10;
  display: block;
}

.connect-btn {
  background: transparent;
  border: 2px solid var(--primary-purple);
  color: var(--primary-purple);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 9999px;
  position: relative;
  z-index: 10;
  display: inline-block;
}

.tagline {
  display: inline-block;
  margin-bottom: 10px;
}

.moon {
  position: absolute;
  left: 50%;
  height: 350px;
  ;
  transform: translateX(-50%);
  width: 120vw;
  /* wider than viewport to cover left/right corners */
  max-width: none;
  z-index: 1;
  pointer-events: none;
  /* avoid blocking clicks */
  display: flex;
  justify-content: center;
  overflow: visible;
}

.moon .hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transform: translateZ(0);
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .hero-section {
    padding-bottom: 220px;
  }

  .moon {
    width: 140vw;
    bottom: -10vw;
    opacity: 0.25;
  }

  .moon .hero-image {
    filter: blur(1.5px);
  }
}

/* Small screens (phones) */
@media (max-width: 479px) {
  .header-container {
    padding: 12px 16px;
    gap: 8px;
    justify-content: space-between;
  }

  .logo {
    height: 56px;
    margin-left: 0;
  }

  .nav-links-container {
    display: none;
  }

  .get-in-touch-btn {
    display: none;
  }

  /* show hamburger on small screens */
  .hamburger {
    display: inline-flex;
  }

  .hero-section {
    padding: 56px 12px 140px;
  }

  .hero-title {
    font-size: 32px;
    padding: 8px 12px;
    display: block;
    margin: 0 auto 12px auto;
  }

  .hero-subtitle {
    font-size: 16px;
    padding: 6px 10px;
    display: block;
    margin: 0 auto 16px auto;
  }

  .connect-btn {
    padding: 10px 18px;
  }

  .card {
    padding: 18px;
  }

  .section-title {
    font-size: 28px;

  }

  .section-subtitle {
    font-size: 15px;
  }
}

/* Medium screens (small tablets / large phones) */
@media (min-width: 480px) and (max-width: 767px) {
  .hero-title {
    font-size: 44px;
    display: block;
    padding: 6px 10px;
  }

  .hero-subtitle {
    font-size: 18px;
    display: block;
    padding: 4px 8px;
  }

  .header-container {
    padding: 16px 20px;
  }

  .logo {
    height: 64px;
  }

  .card {
    padding: 22px;
  }
}

@media (min-width: 1200px) {
  .hero-section {
    padding-bottom: 140px;
  }

  .moon {
    width: 110vw;
    bottom: -4vw;
    opacity: 0.38;
  }
}

/* Improve grid behavior for very narrow viewports */
@media (max-width: 420px) {
  .grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}



.section-tagline {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-purple);
  animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 20px;
}

/* Keyframe for pulse animation */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

/* Sections */
.section-container {
  padding: 64px 16px;
  max-width: 1280px;
  margin: auto;
}

/* ===== Section Divider (glowing line) ===== */
.section-divider {
  width: 100%;
  height: 18px;
  /* visible band for glow */
  margin: -30px 0 0 0;
  /* pull up slightly to touch sections */
  pointer-events: none;
  /* don't interfere with interaction */
  position: relative;
  z-index: 1;
  /* sits above orbit (1) and below features content (3) */
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-divider::before {
  content: '';
  width: 85%;
  height: 4px;
  /* the thin glowing line */
  background: linear-gradient(90deg, rgba(163, 125, 253, 0) 0%, rgba(163, 125, 253, 0.85) 20%, rgba(120, 85, 230, 1) 50%, rgba(163, 125, 253, 0.85) 80%, rgba(163, 125, 253, 0) 100%);
  border-radius: 9999px;
  filter: blur(6px);
  box-shadow: 0 0 30px rgba(163, 125, 253, 0.45), 0 0 60px rgba(120, 85, 230, 0.2);
  opacity: 0.95;
}

/* Subtle inner crisp line for definition */
.section-divider::after {
  content: '';
  position: absolute;
  width: 70%;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
}

@media (max-width: 767px) {
  .section-divider {
    height: 12px;
    margin-top: -20px;
  }

  .section-divider::before {
    width: 92%;
    height: 3px;
    filter: blur(5px);
  }

  .section-divider::after {
    width: 80%;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header.text-center-content {
  text-align: center;
}

.tag-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  /* Space between icon and text */

  /* Sizing and Shape */
  padding: 8px 24px 8px 10px;
  /* Top, Right, Bottom, Left */
  border-radius: 50px;
  /* Makes the button pill-shaped */

  /* Glassmorphism Effect */
  background-color: rgba(138, 71, 255, 0.1);
  /* Semi-transparent purple */
  border: 1px solid rgba(138, 71, 255, 0.25);
  /* Subtle border */
  backdrop-filter: blur(10px);
  /* The key for the frosted glass look */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  /* Text Styling */
  color: #e0d8ff;
  font-size: 16px;
  font-weight: 500;

  /* Positioning for the glow effect */
  position: relative;
  overflow: hidden;
  /* Hides the part of the glow outside the button */

  /* Smooth transition for hover effects */
  transition: all 0.3s ease;
  cursor: pointer;
}

.tag-label:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.tag-container {
  /* Flexbox to center the SVG inside */
  display: flex;
  justify-content: center;
  align-items: center;

  /* Shape and Color */
  width: 36px;
  height: 36px;
  border-radius: 50%;
  /* Makes it a perfect circle */
  background-color: #8a47ff;
  /* Solid purple background */

  /* Ensures the icon is above the glow */
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: #9ca3af;
  max-width: 672px;
  margin-left: auto;
  margin-right: auto;
}

.book-appointment-btn,
.view-about-btn {
  margin-top: 32px;
  background: linear-gradient(to right, var(--secondary-purple), var(--primary-purple));
  color: #fff;
  font-weight: bold;
  padding: 12px 32px;
  border-radius: 9999px;
}

/* Grid Layout */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

/* Card Styles */
.core-container {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: flex-start;
  padding: 20px 20px;
  flex-wrap: wrap;
  align-items: start;
}

.core-card {
  background: #0d0d0d;
  color: #fff;
  border-radius: 20px;
  height: 500px;
  width: 320px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: -10px;
}

.core-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.core-card .icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, #8e2de2, #4a00e0);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(142, 45, 226, 0.6);
}

.core-card p {
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.core-card img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
}

.banner-container {
  position: relative;
  width: 100%;
  max-width: 1500px;
  /* Max width for the banner content */
  height: 450px;
  /* Fixed height for the banner */
  background-image: url('serviceimg/services back.png');
  /* Set your uploaded image as background */
  background-size: cover;
  /* Ensures the image covers the entire container */
  background-position: center;
  /* Centers the background image */
  background-repeat: no-repeat;
  /* Prevents the image from repeating */

  border-radius: 10px;
  /* Slightly rounded corners for the banner */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  /* Include padding in element's total width and height */
  overflow: hidden;
  /* Ensure background effects don't spill */
}

/* Gradient/light rays effect at the top */
.banner-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  /* Cover the top portion */
  background: radial-gradient(circle at center top, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  /* Ensure it's above the background, but below content */
}

/* Dotted pattern overlay */
.banner-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#ffffff22 1px, transparent 1px);
  /* White dots, slightly transparent */
  background-size: 20px 20px;
  /* Spacing of the dots */
  opacity: 0.1;
  /* Overall opacity of the dots */
  pointer-events: none;
  z-index: 0;
  /* Behind other content */
}

.services-button {
  display: flex;
  align-items: center;
  padding: 8px 24px 10px 10px;
  /* Adjusted padding to match the visual */
  border: none;
  border-radius: 9999px;
  /* Fully rounded corners */
  background-color: #1f2937;
  /* Dark gray for the button */
  color: #ffffff;
  /* White text */
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease-in-out;
  margin-bottom: 40px;
  /* Space below the button */
  z-index: 2;
  /* Ensure button is above background effects */

  /* Custom glow effect using box-shadow (same as previous button) */
  box-shadow:
    0 0 5px rgba(139, 92, 246, 0.7),
    0 0 15px rgba(139, 92, 246, 0.5),
    0 0 30px rgba(139, 92, 246, 0.3);
}

.services-button:hover {
  box-shadow:
    0 0 8px rgba(139, 92, 246, 0.9),
    0 0 25px rgba(139, 92, 246, 0.7),
    0 0 50px rgba(139, 92, 246, 0.5);
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #8b5cf6;
  /* Purple for the icon background */
  flex-shrink: 0;
  margin-right: 12px;
}

.icon-svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  color: #ffffff;
  /* White color for the SVG icon */
}

.main-heading {
  font-size: 3.5rem;
  /* Large font size for the heading */
  font-weight: 700;
  /* Bold */
  color: #e0e0e0;
  /* Off-white color */
  text-align: center;
  margin-bottom: 20px;
  z-index: 2;
  line-height: 1.2;
  /* Adjust line height for better readability */
}

.description-text {
  font-size: 1.125rem;
  /* Text size for description */
  color: #a0a0a0;
  /* Lighter gray for description */
  text-align: center;
  max-width: 600px;
  /* Limit width for readability */
  line-height: 1.6;
  z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .banner-container {
    height: 350px;
    padding: 15px;
  }

  .main-heading {
    font-size: 2.5rem;
  }

  .description-text {
    font-size: 1rem;
    padding: 0 10px;
  }

  .services-button {
    margin-bottom: 25px;
  }
}

@media (max-width: 480px) {
  .banner-container {
    height: 300px;
    border-radius: 8px;
  }

  .main-heading {
    font-size: 2rem;
  }

  .description-text {
    font-size: 0.9rem;
  }

  .services-button {
    padding: 6px 18px 6px 6px;
    font-size: 1rem;
  }

  .icon-container {
    width: 38px;
    height: 38px;
    margin-right: 8px;
  }

  .icon-svg {
    width: 20px;
    height: 20px;
  }
}

/*services*/
.page-container {
  width: 900px;
  max-width: 1280px;
  /* Max width for the entire page content */
  display: flex;
  justify-content: center;
}

.services-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* This creates three equal columns */
  gap: 32px;
  /* Adjust the gap between cards as needed */
  justify-items: center;
  /* This centers the items within each grid cell */
  max-width: 1200px;
  /* Set a max-width for the grid to keep it from spreading too wide */
  margin-left: auto;
  /* Auto margins on left and right will center the block-level element */
  margin-right: auto;
}

.service-card {
  background-color: #1a1a1a;
  /* Darker background for cards */
  border-radius: 12px;
  /* Rounded corners */
  padding: 15px;
  display: flex;
  height: 481px;
  width: 291px;
  flex-direction: column;
  /* Subtle glow effect for cards */
  box-shadow:
    0 0 5px rgba(128, 78, 246, 0.663),
    0 0 10px rgba(119, 62, 250, 0.607);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-5px);
  /* Slight lift effect on hover */
  box-shadow:
    0 0 8px rgb(146, 50, 255),
    0 0 20px rgb(149, 44, 241);
}

.icon-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 12px;
  /* Space between icon and title */
}

.card-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  /* Size of the icon circle */
  height: 44px;
  border-radius: 50%;
  background-color: #8b5cf6;
  /* Purple background for the icon */
  flex-shrink: 0;
  /* Prevent icon from shrinking */
}

.card-icon {
  width: 24px;
  /* Size of the SVG icon */
  height: 24px;
  color: #fff;
  /* White icon color */
}

.card-title {
  font-size: 1.25rem;
  /* Larger title font size */
  font-weight: 600;
  /* Semi-bold */
  color: #e0e0e0;
  /* Light gray text */
  margin: 0;
  /* Remove default margin */
}

.card-description {
  font-size: 0.95rem;
  color: #a0a0a0;
  /* Lighter gray for description */
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
  /* Allows description to take available space */
}

.card-image-wrapper {
  width: 100%;
  height: 150px;
  /* Fixed height for consistency */
  border-radius: 8px;
  /* Rounded corners for the image container */
  overflow: hidden;
  /* Ensure image corners are rounded */
  margin-top: auto;
  /* Push image to the bottom of the card */
}

.card-image {
  width: 300px;
  height: 500px;
  object-fit: cover;
  /* Cover the area, cropping if necessary */
  border-radius: 8px;
  /* Ensure image itself has rounded corners */
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .services-grid-container {
    grid-template-columns: 1fr;
    /* Stack cards vertically on smaller screens */
    padding: 0 20px;
    /* Add some padding on the sides for smaller screens */
  }
}

.main-heading {
  font-size: 2.5rem;
}


@media (max-width: 768px) {
  body {
    padding: 30px 15px;
  }

  .services-grid-container {
    grid-template-columns: 1fr;
    /* Single column on small screens */
  }

  .card-title {
    font-size: 1.15rem;
  }

  .card-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 20px 10px;
  }

  .service-card {
    padding: 20px;
  }

  .card-icon-container {
    width: 38px;
    height: 38px;
  }

  .card-icon {
    width: 20px;
    height: 20px;
  }

  .icon-header {
    margin-bottom: 10px;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-description {
    font-size: 0.85rem;
    margin-bottom: 15px;
  }

  .card-image-wrapper {
    height: 120px;
  }
}

/* Social Icons */
.social-icons-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 64px;
}

.social-icon {
  width: 48px;
  height: 48px;
  background-color: var(--card-bg-color);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--primary-purple);
}

/* About Us Section */
.about-us-section {
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
}


@media (min-width: 768px) {
  .about-us-section {
    flex-direction: row;
    gap: 96px;
    align-items: flex-start;
  }

  .about-image-container {
    display: block;
  }
}

.about-content {
  flex: 1;
}

.about-card-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-icon {
  font-size: 32px;
  color: var(--primary-purple);
}

.about-image-container {
  flex: 1;
  display: none;
}

.about-image {
  border-radius: 24px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.team-member-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.team-member-photo {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  object-fit: cover;
}

.team-member-name {
  font-size: 20px;
  font-weight: bold;
}

.team-member-role {
  font-size: 14px;
  color: #9ca3af;
}



/* Footer */
.footer-container {
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #9ca3af;
  font-size: 14px;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    padding: 32px 64px;
  }
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
}



/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Responsive features-center styles */
.features-center {
  /* --- Layout & Spacing --- */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
}

.features-center .section-title {
  font-size: 2.5rem;
  /* Smaller title on wide screens */
  text-align: center;
  margin-bottom: 1rem;
}

.features-center .section-subtitle {
  padding: 0;
  /* Remove extra padding as screen is wider */
}

.modal-content {
  background: rgba(26, 25, 43, 0.9);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 50px rgba(163, 125, 253, 0.5);
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #a37dfd;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  margin: 0 16px;
  font-size: 28px;
  color: #8c8ca5;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.social-icons-container {
  display: flex;
  width: fit-content;
  /* Adjust width based on content */
  animation: scroll 30s linear infinite;
}


.integration-button {
  /* Flexbox to align icon and text */
  display: inline-flex;
  align-items: center;
  gap: 12px;
  /* Space between icon and text */

  /* Sizing and Shape */
  padding: 8px 24px 8px 10px;
  /* Top, Right, Bottom, Left */
  border-radius: 50px;
  /* Makes the button pill-shaped */

  /* Glassmorphism Effect */
  background-color: rgba(138, 71, 255, 0.1);
  /* Semi-transparent purple */
  border: 1px solid rgba(138, 71, 255, 0.25);
  /* Subtle border */
  -webkit-backdrop-filter: blur(10px);
  /* The key for the frosted glass look */
  backdrop-filter: blur(10px);
  /* For Safari support */

  /* Text Styling */
  color: #e0d8ff;
  font-size: 16px;
  font-weight: 500;

  /* Positioning for the glow effect */
  position: relative;
  overflow: hidden;
  /* Hides the part of the glow outside the button */

  /* Smooth transition for hover effects */
  transition: all 0.3s ease;
  cursor: pointer;
}

/* --- Glow Effect (using a pseudo-element) --- */
.integration-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  /* Wider than the button */
  height: 50%;
  /* Covers the top part */
  /* A soft, radial gradient for the top glow */
  background: radial-gradient(circle, rgba(160, 110, 255, 0.3) 0%, rgba(160, 110, 255, 0) 70%);
  filter: blur(5px);
  z-index: 0;
}

/* --- Icon Styling --- */
.integration-container {
  /* Flexbox to center the SVG inside */
  display: flex;
  justify-content: center;
  align-items: center;

  /* Shape and Color */
  width: 36px;
  height: 36px;
  border-radius: 50%;
  /* Makes it a perfect circle */
  background-color: #8a47ff;
  /* Solid purple background */

  /* Ensures the icon is above the glow */
  position: relative;
  z-index: 1;
}

/* --- Text Styling --- */
.button-text {
  /* Ensures the text is above the glow */
  position: relative;
  z-index: 1;
}

/* --- Hover Effect --- */
.integration-button:hover {
  border-color: rgba(160, 110, 255, 0.5);
  background-color: rgba(138, 71, 255, 0.15);
  transform: translateY(-2px);
  /* Lifts the button slightly */
  box-shadow: 0 4px 20px rgba(138, 71, 255, 0.2);
}

.button-text {
  font-family: 'Poppins', sans-serif;
  ;
}

.section-title-tag {
  font-family: 'Poppins', sans-serif;
  display: block;
  font-size: 36px;
  font-weight: 600;

}

.title-button {
  /* Flexbox to align icon and text */
  display: inline-flex;
  align-items: center;
  gap: 12px;
  /* Space between icon and text */

  /* Sizing and Shape */
  padding: 8px 24px 8px 10px;
  /* Top, Right, Bottom, Left */
  border-radius: 50px;
  /* Makes the button pill-shaped */

  /* Glassmorphism Effect */
  background-color: rgba(138, 71, 255, 0.1);
  /* Semi-transparent purple */
  border: 1px solid rgba(138, 71, 255, 0.25);
  /* Subtle border */
  -webkit-backdrop-filter: blur(10px);
  /* The key for the frosted glass look */
  backdrop-filter: blur(10px);
  /* For Safari support */

  /* Text Styling */
  color: #e0d8ff;
  font-size: 16px;
  font-weight: 500;

  /* Positioning for the glow effect */
  position: relative;
  overflow: hidden;
  /* Hides the part of the glow outside the button */

  /* Smooth transition for hover effects */
  transition: all 0.3s ease;
  cursor: pointer;
  margin-left: 550px;
}

.section-title-about {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 16px;
  margin-left: 330px;
  display: inline-flex;

}

.about-card1-text {
  font-family: 'Poppins', sans-serif;

  color: #9ca3af;
  line-height: 0.1;
}

p {
  margin: 0;
  font-size: 15px;
  /* 15px */
  line-height: 1.6;
  font-weight: 400;
}

.section-team .section-header .section-title {
  font-size: 3.5rem;
  /* Larger font size */
  font-weight: 600;
  line-height: 1.2;
  background: linear-gradient(180deg, #FFFFFF, #E0E0E0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-team .title-break {
  display: block;
  /* Forces the second line of text to break */
}

.section-team .pill-tag {
  display: inline-flex;
  align-items: center;

}


/* New Team Grid Layout */
.new-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Creates the 2-column layout */
  gap: 20px;
  /* Space between the cards */
  max-width: 900px;
  margin: 0 auto;
  /* Centers the grid */
}

/* Individual Team Member Card */
.new-team-card {
  background-color: rgba(28, 22, 35, 0.6);
  border: 1px solid #2a2139;
  border-radius: 12px;
  padding: 60px;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.new-team-card:hover {
  background-color: rgba(42, 33, 57, 0.8);
  border-color: #4a3c61;
}

/* Profile Picture Styling */
.new-team-card .profile-pic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

/* Member Name and Role Text */
.new-team-card .member-info {
  flex-grow: 1;
  /* Pushes the icon button to the end */
}

.new-team-card .member-info p {
  margin: 0;
  line-height: 1.4;
}

.new-team-card .member-name {
  font-weight: 500;
  color: var(--primary-text);
}

.new-team-card .member-role {
  font-size: 0.875rem;
  color: var(--secondary-text, #D0D5DD);
}

/* Icon Button (the 'X') */
.new-team-card .icon-button {
  background-color: #703FEA;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-text);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.new-team-card .icon-button:hover {
  background-color: #8a4dff;
}


/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
  .new-team-grid {
    grid-template-columns: 1fr;
    /* Stacks cards into a single column on smaller screens */
  }

  .section-team .section-header .section-title {
    font-size: 2.5rem;
    /* Adjust title size for mobile */
  }
}

/* ================================================= */
/* == COMPLETE TESTIMONIALS SECTION STYLES == */
/* ================================================= */

/* --- Section Wrapper & Background Glows --- */
.testimonials-section {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 6rem;
  overflow: hidden;
  /* Hide overflow from angled cards and glows */
}

.testimonials-section::before,
.testimonials-section::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(112, 63, 234, 0.3) 0%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
}

.testimonials-section::before {
  top: 5%;
  left: -5%;
}

.testimonials-section::after {
  bottom: 5%;
  right: -5%;
}

/* --- Section Header Layout (Centered) --- */
.testimonials-section .section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
  padding: 0 2rem;
}

.testimonials-section .section-title {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #FFFFFF, #E0E0E0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testimonials-section .title-break {
  display: block;
}

.testimonials-section .section-subtitle {
  font-size: 1.125rem;
  color: var(--secondary-text, #D0D5DD);
  max-width: 500px;
  margin: 0;
}

.testimonials-section .book-appointment-btn {
  margin-top: 1.5rem;
}

/* --- Pill Tag Styling --- */
.pill-tag-container {
  display: flex;
  align-items: center;
  background-color: var(--card-bg, #120d1a);
  border: 1px solid var(--border-color, #2a2139);
  border-radius: 9999px;
  padding: 0.25rem 0.5rem 0.25rem 0.25rem;
  font-size: 0.875rem;
  color: var(--text-light);
  height: 36px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pill-tag-icon {
  background-color: var(--primary-purple, #703fea);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.5rem;
  color: var(--text-light);
}

.pill-tag-icon svg {
  stroke: currentColor;
  width: 16px;
  height: 16px;
}

.pill-tag-text {
  font-weight: 500;
  padding-right: 0.25rem;
}

/* --- Testimonials Grid & Angled Cards --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  perspective: 1000px;
}

.testimonial-card {
  background-color: #120d1a;
  border: 1px solid #2a2139;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: all 0.4s ease-in-out;
  transform-origin: center center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Transformations for the angled line effect */
.testimonials-grid .testimonial-card:nth-child(1) {
  transform: rotate(-3deg) translateY(20px) translateX(-10px);
  z-index: 3;
  margin-right: -40px;
}

.testimonials-grid .testimonial-card:nth-child(2) {
  transform: rotate(0deg) translateY(0px);
  z-index: 4;
  margin: 0 -40px;
  box-shadow: 0 0 40px rgba(112, 63, 234, 0.4);
  border-color: rgba(112, 63, 234, 0.6);
}

.testimonials-grid .testimonial-card:nth-child(3) {
  transform: rotate(3deg) translateY(20px) translateX(10px);
  z-index: 2;
  margin-left: -40px;
}

.testimonial-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 60px rgba(112, 63, 234, 0.6);
  z-index: 5;
  border-color: rgba(112, 63, 234, 0.8);
}

/* --- Testimonial Card Content --- */
.testimonial-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.author-pic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #3c324b;
  object-fit: cover;
}

.close-icon {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.testimonial-card:hover .close-icon {
  opacity: 1;
  pointer-events: auto;
}

.star-rating {
  color: var(--star-yellow, #fddf5e);
  font-size: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--secondary-text, #D0D5DD);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  border: 0;
}

.author-info {
  margin-top: auto;
  padding-top: 1rem;
}

.author-name {
  font-weight: 500;
  color: var(--text-light);
  margin: 0;
}

.author-company {
  font-size: 0.875rem;
  color: #9ca3af;
  margin: 0.25rem 0 0 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonials-grid .testimonial-card:nth-child(1),
  .testimonials-grid .testimonial-card:nth-child(2),
  .testimonials-grid .testimonial-card:nth-child(3) {
    transform: none;
    margin: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    border-color: #2a2139;
    z-index: auto;
  }

  .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(112, 63, 234, 0.1);
  }
}

@media (max-width: 768px) {
  .testimonials-section .section-title {
    font-size: 2.5rem;
  }
}

/* =================================== */
/* == CTA SECTION STYLES == */
/* =================================== */

.cta-section {
  padding: 4rem 1rem;
}

.cta-card {
  max-width: 1024px;
  margin: 0 auto;
  background-color: #0d0618;
  /* This is a fallback color */

  /* ADD THIS LINE FOR YOUR BACKGROUND IMAGE */
  background-image: url('serviceimg/services back.png');

  background-size: cover;
  /* Ensures the image covers the container */
  background-position: center;
  /* Centers the image */
  border: 1px solid #2a2139;
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* --- Background Effects --- */

/* 1. Main Purple Glow (Radial Gradient) */
.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(112, 63, 234, 0.4) 0%, transparent 60%);
  z-index: 1;
}

/* 2. Dotted Overlay */
.cta-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 16px 16px;
  z-index: 2;
}

/* 3. Animated Light Rays */
.light-rays {
  position: absolute;
  top: 0;
  left: 50%;
  width: 200%;
  height: 200px;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

.ray {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(192, 132, 252, 0.3), transparent);
  transform-origin: top center;
  animation: ray-anim 10s linear infinite;
}

.ray:nth-child(1) {
  transform: rotate(-20deg);
  animation-delay: -2s;
}

.ray:nth-child(2) {
  transform: rotate(0deg);
}

.ray:nth-child(3) {
  transform: rotate(20deg);
  animation-delay: -4s;
}

@keyframes ray-anim {
  from {
    opacity: 0;
    transform: rotate(-20deg) scaleY(0.5);
  }

  50% {
    opacity: 1;
    transform: rotate(0deg) scaleY(1);
  }

  to {
    opacity: 0;
    transform: rotate(20deg) scaleY(0.5);
  }
}


/* --- Content --- */
.cta-content {
  position: relative;
  z-index: 4;
  /* Ensure content is above all background effects */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pill-tag-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(127, 86, 217, 0.1);
  border: 1px solid rgba(127, 86, 217, 0.3);
  color: #BEA9F8;
  padding: 0.25rem 0.75rem 0.25rem 0.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.pill-icon-cta {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #703fea;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-title {
  font-size: 3rem;
  font-weight: 600;
  color: var(--text-light, #FFF);
  margin: 0 0 1rem 0;
  max-width: 600px;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--secondary-text, #D0D5DD);
  max-width: 500px;
  margin: 0 0 2rem 0;
  line-height: 1.6;
}


/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .cta-card {
    padding: 3rem 1.5rem;
  }

  .cta-title {
    font-size: 2.25rem;
  }

  .cta-subtitle {
    font-size: 1rem;
  }
}

/* ======================================================= */
/* == FADE-IN ON SCROLL ANIMATION (Universal Method) == */
/* ======================================================= */

/* The initial, hidden state of the element */
.fade-in-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* The state when the element becomes visible */
.fade-in-text.visible {
  opacity: 1;
  transform: translateY(0);
}

[id] {
  scroll-margin-top: 120px;
  /* same as header height */
}

/* NEW FOOTER */
.site-footer {
  background-color: #05020c;
  color: #a0a0a0;
  padding: 50px 20px 20px 20px;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.footer-logo {
  height: 100px;
  margin-bottom: 15px;
  display: block;
  margin-left: 50px;

}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 400px;
  background: radial-gradient(circle, rgba(163, 125, 253, 0.1), transparent 70%);
  pointer-events: none;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column .logo-svg {
  height: 40px;
  margin-bottom: 15px;
}

.footer-column p {
  font-size: 14px;
  line-height: 1.7;
}

.footer-column h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-heading {
  font-size: 30px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;

}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;

}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #a0a0a0;
  text-decoration: none;
  transition: color 0.3s, padding-left 0.3s;
}



.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.newsletter-input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(163, 125, 253, 0.3);
}

.subscribe-btn {
  background-color: var(--primary-purple);
  color: #fff;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  color: #a0a0a0;
  font-size: 18px;
  transition: color 0.3s, transform 0.3s;
}

.footer-socials a:hover {
  color: #fff;
  transform: scale(1.2);
}

.btn a {
  text-decoration: none;
  /* Removes the underline */
  color: inherit;
  /* Makes the link inherit the button's text color */
}

/* Responsive Profile Icon Placement */
.desktop-profile {
  display: flex;
}

.mobile-profile {
  display: none;
}

@media (max-width: 900px) {
  .desktop-profile {
    display: none !important;
  }

  .mobile-login-btn {
    display: inline-block;
    color: var(--primary-purple);
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 9999px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-right: 18px;

  }

  .mobile-login-btn:hover {
    background: var(--primary-purple);
    color: #fff;
  }
}

/* Profile Dropdown Styles */
.profile-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.profile-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 0 8px;
  display: flex;
  align-items: center;
}

.profile-btn:focus {
  outline: 2px solid var(--primary-purple);
}

.profile-btn i {
  font-size: 2rem;
  color: var(--primary-purple);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background: #181828;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  min-width: 140px;
  z-index: 1000;
  flex-direction: column;
  padding: 8px 0;
}

.dropdown-menu a {
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: var(--primary-purple);
  color: #fff;
}

.profile-dropdown.open .dropdown-menu {
  display: flex;
}

body {
  overflow-x: hidden;
}

chatgpt-sidebar {
  width: 100%;
  max-width: 100vw;
  overflow-x: auto;
}

/* Remove this from global scope */
/* html { overflow-x: hidden; } */

/* Add to containers you want to restrict */
.site-main,
.banner-container {
  overflow-x: hidden;
}

/* Allow horizontal scroll in team section */
.team-grid {
  overflow-x: auto;
  /* Optional: white-space: nowrap; if using flex or inline-block children */
}