/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Razorpay X Color Variables */
:root {
  /* Primary Colors - Deep Navy Blues */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;
  --primary-950: #172554;

  /* Razorpay X Brand Colors */
  --razorpay-blue: #0f172a;
  --razorpay-blue-light: #1e293b;
  --razorpay-blue-lighter: #334155;
  --razorpay-accent: #3730a3;
  --razorpay-accent-light: #4f46e5;

  /* Neutral Colors */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Success Colors */
  --success-50: #f0fdf4;
  --success-500: #22c55e;
  --success-600: #16a34a;

  /* Warning Colors */
  --warning-50: #fefce8;
  --warning-500: #eab308;
  --warning-600: #ca8a04;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Neumorphic Shadows */
  --neumorphic-light: 20px 20px 60px rgba(209, 213, 219, 0.3),
    -20px -20px 60px rgba(255, 255, 255, 0.8);
  --neumorphic-inset: inset 20px 20px 60px rgba(209, 213, 219, 0.2),
    inset -20px -20px 60px rgba(255, 255, 255, 0.8);

  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 6rem 0;
  --section-padding-sm: 4rem 0;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-700);
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 42rem;
  margin: 0 auto;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-50);
  color: var(--primary-700);
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid var(--primary-200);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(
    135deg,
    var(--primary-600),
    var(--razorpay-accent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.nav-brand {
  flex-shrink: 0;
}

.brand-logo {
  height: 6.5vh;
  width: 20vw;
  background-image: url("logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-600),
    var(--razorpay-accent)
  );
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
}

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

.nav-link {
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s ease;
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-600);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-phone:hover {
  color: var(--primary-600);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all 0.3s ease;
}

@media (max-width: 820px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-200);
    display: none;
    gap: 0.5rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

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

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

  .nav-link {
    padding: 0.75rem;
    border-radius: var(--radius-md);
    transition: background-color 0.2s ease;
  }

  .nav-link:hover {
    background: var(--gray-50);
  }
  .brand-logo {
    width: 60vw;
    height: 4vh;
  }
}

/* Hero Section */
.hero {
  margin-top: 11vh;
  position: relative;
  min-height: 90vh;
  padding-top: 5rem;
  display: flex;
  overflow: hidden;

  background-image: url("herobg.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

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

.hero-text {
  max-width: 800px;
  text-align: center;
}

.hero-title {
  line-height: 1.1;
  font-size: 3rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  /* margin-bottom: 2.5rem; */
  line-height: 1.6;
}
.herobgtext {
  position: absolute;
  top: 80%;
  white-space: nowrap;
  font-size: 15rem;
  font-weight: bold;
  color: rgba(0, 4, 255, 0.05); /* subtle background look */
  animation: moveText 20s linear infinite;
  z-index: -1;
  transform: translateY(-50%);
}

@keyframes moveText {
  from {
    left: 100%;
  }
  to {
    left: -1000%;
  }
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-features {
  display: none;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-700);
  font-weight: 500;
}

.feature-item svg {
  color: var(--success-600);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero {
    background-image: url("ipadbg.svg");
    margin-top: 8vh;
    padding-top: 10rem;
    min-height: 92vh;
  }
  .herobgtext {
    top: 40%;
    z-index: 2;
  }

  .hero-overlay-content {
    position: static;
    transform: none;
    margin: 2rem auto 0;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.98);
  }

  .hero-main-image {
    max-width: 600px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 6rem 0 2rem;
    margin-bottom: 5vh;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .herobgtext {
    top: 80%;
    z-index: -1;
  }
  .hero-features {
    text-align: left;
  }

  .hero-overlay-content {
    padding: 1.5rem;
    max-width: 95%;
    margin: 1rem auto 0;
  }

  .overlay-title {
    font-size: 1.25rem;
  }

  .overlay-description {
    font-size: 0.8rem;
  }

  .overlay-services li {
    font-size: 0.7rem;
  }

  .overlay-stat .stat-number {
    font-size: 1.1rem;
  }

  .overlay-stat .stat-label {
    font-size: 0.7rem;
  }
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background: var(--primary-900);
  color: white;
}

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

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-icon {
  margin: 0 auto 1rem;
  width: 3rem;
  height: 3rem;
  color: rgba(255, 255, 255, 0.8);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Services Section */
.services {
  padding: var(--section-padding);
  background: var(--gray-50);
}

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

.service-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-2xl);
  box-shadow: var(--neumorphic-light);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

.service-card.featured {
  border: 2px solid var(--primary-600);
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-600);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: var(--primary-50);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-600);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--primary-600);
  color: white;
  transform: scale(1.1);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.service-description {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

.service-features li {
  padding: 0.5rem 0;
  color: var(--gray-700);
  font-size: 0.875rem;
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-600);
  font-weight: bold;
}

.services-cta {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-600),
    var(--razorpay-accent)
  );
  border-radius: var(--radius-2xl);
  color: white;
}

.services-cta h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.services-cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

  .service-card {
    padding: 1.5rem;
  }

  .services-cta {
    padding: 2rem 1rem;
  }
}

/* About Section */
.about {
  padding: var(--section-padding);
}

.about-hero {
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
  text-align: center;
}

.about-content {
  max-width: 900px;
}
.about-badge {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

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

.about-stat {
  text-align: center;
  padding: 1rem;
}

.about-visual {
  position: relative;
}

.about-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.team-section {
  margin-bottom: 6rem;
}
.meet-our .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.team-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-2xl);
  box-shadow: var(--neumorphic-light);
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

.team-image {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-lg);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.team-role {
  color: var(--primary-600);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-badge {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-specialization {
  font-size: 0.875rem;
  color: var(--gray-600);
}

@media (max-width: 1024px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .about-stats {
    justify-content: center;
    max-width: 400px;
    margin: 2rem auto 0;
  }
}

@media (max-width: 640px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
  .about-hero {
    align-items: center;
    text-align: left;
    margin-bottom: 2.5rem;
  }
  .about-badge {
    font-size: 1.8rem;
    text-align: center;
  }

  .section-title {
    font-size: 1.6rem;
  }
  .about {
    padding: 0;
    padding-top: 2rem;
  }
  .services {
    padding: 0;
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }
  .hero {
    overflow: hidden;
    margin-top: 4rem;
    background-image: none;

    padding-top: 4.5rem;
  }
}
