@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-color: #6A0DAD; /* Techwave Purple */
  --accent-color: #00D2FF;  /* Techwave Teal */
  --secondary-color: #0F172A; /* Deep Navy */
  --accent-hover: #00B4D8;
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-dark: #0F172A;
  --bg-darker: #020617;
  --text-dark: #0F172A;
  --text-gray: #475569;
  --text-light: #94A3B8;
  --gradient-main: linear-gradient(135deg, #6A0DAD 0%, #00D2FF 100%);
  --gradient-glass: linear-gradient(135deg, rgba(106, 13, 173, 0.1) 0%, rgba(0, 210, 255, 0.1) 100%);
  
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --max-width: 1240px;
  --header-height: 80px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(106, 13, 173, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --section-padding: 100px;
  --border-radius: 12px;
}

@media (max-width: 768px) {
  :root {
    --header-height: 50px;
    --section-padding: 32px;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding) 0;
}

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

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}

.heading-xl { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; line-height: 1.1; }
.heading-lg { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
.heading-md { font-size: clamp(1.5rem, 3vw, 2rem); }
.text-lead { font-size: 1.125rem; color: var(--text-gray); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(138, 43, 226, 0.3);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  transition: var(--transition-normal);
  border-bottom: 1px solid rgba(106, 13, 173, 0.1);
}

.navbar.scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
  background-color: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(106, 13, 173, 0.16);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}

@media (max-width: 768px) {
  .logo img {
    max-height: 32px;
  }
}

.navbar.scrolled .logo img {
  max-height: 42px;
}

@media (max-width: 768px) {
  .navbar.scrolled .logo img {
    max-height: 30px;
  }
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #111827;
  font-size: 0.9rem;
  position: relative;
  padding: 8px 0;
}

@media (max-width: 768px) {
  .nav-links a {
    font-size: 0.85rem;
    padding: 4px 0;
  }
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: var(--transition-normal);
  transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary-color);
}

.explore-nav {
  color: var(--primary-color) !important;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800 !important;
}

.explore-nav span {
  -webkit-text-fill-color: var(--primary-color);
  transition: transform var(--transition-fast);
  display: inline-block;
}

.explore-nav:hover span {
  transform: rotate(180deg);
}

/* Dropdown Styles */
.nav-links li {
  position: relative;
  list-style: none;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #fff;
  min-width: 240px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 16px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  border: 1px solid rgba(106, 13, 173, 0.1);
  z-index: 1001;
}

.nav-links li:hover .dropdown-menu,
.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 12px 24px;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary-color);
  padding-left: 32px;
}

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-white);
    flex-direction: column;
    align-items: center;
    padding: 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: var(--transition-normal);
    opacity: 0;
    z-index: 999;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }
  .mobile-menu-btn {
    display: block;
  }
}

.hero {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 120px;
  background: var(--gradient-main);
  color: #fff;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
  }
}

.hero .grid-12 {
  align-items: center;
}

.hero-content {
  grid-column: span 7;
  z-index: 2;
}

.hero-image {
  grid-column: span 5;
  position: relative;
  z-index: 1;
}

.hero-title {
  margin-bottom: 24px;
  color: #fff;
}

.hero-text {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

@media (max-width: 992px) {
  .hero-content { grid-column: span 12; text-align: center; }
  .hero-text { margin: 0 auto 40px auto; }
  .hero-buttons { justify-content: center; }
  .hero-image { display: none; }
}

.services-section {
  background-color: var(--bg-light);
  color: var(--text-gray);
  padding: var(--section-padding) 0;
}

.services-section .section-header h2 {
  color: var(--text-dark);
  margin-bottom: 48px;
}

.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.services-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  padding: 20px 0 40px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  flex: 1;
}

.services-slider::-webkit-scrollbar {
  display: none;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(106, 13, 173, 0.2);
  color: var(--primary-color);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 10;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.slider-btn:hover {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .slider-btn {
    display: none;
  }
}

.service-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  border-radius: var(--border-radius);
  padding: 48px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.16);
  position: relative;
  overflow: hidden;
}

.service-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  opacity: 0;
  transition: var(--transition-normal);
}

.service-slide:hover::before {
  opacity: 1;
}

.service-slide > * {
  position: relative;
  z-index: 2;
}

/* Grid Responsiveness */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 992px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
}

.bg-service-1 { background: linear-gradient(135deg, #6A0DAD 0%, #8B5CF6 45%, #0EA5E9 100%); }
.bg-service-2 { background: linear-gradient(135deg, #00D2FF 0%, #0EA5E9 48%, #00529B 100%); }
.bg-service-3 { background: linear-gradient(135deg, #0F172A 0%, #334155 55%, #0EA5E9 100%); }
.bg-service-4 { background: linear-gradient(135deg, #00529B 0%, #0072BC 50%, #00D2FF 100%); }
.bg-service-5 { background: linear-gradient(135deg, #0F172A 0%, #6A0DAD 48%, #00D2FF 100%); }

@media (min-width: 768px) {
  .service-slide {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (min-width: 1024px) {
  .service-slide {
    flex: 0 0 calc(33.333% - 16px);
  }
}

.service-slide:hover {
  transform: translateY(-5px);
}

.service-slide h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: #fff;
}

.service-slide p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.service-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 32px;
  font-weight: 500;
  color: #fff;
}

.bg-service-1 { background: linear-gradient(135deg, #6A0DAD 0%, #8B5CF6 45%, #0EA5E9 100%); }
.bg-service-2 { background: linear-gradient(135deg, #00D2FF 0%, #0EA5E9 48%, #00529B 100%); }
.bg-service-3 { background: linear-gradient(135deg, #0F172A 0%, #334155 55%, #0EA5E9 100%); }

@media (max-width: 992px) {
  .about-image {
    order: -1 !important;
    min-height: 300px;
    width: 100%;
    margin-bottom: 24px;
  }
}

.about-grid {
  align-items: center;
}

.about-image {
  grid-column: span 5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  background: var(--primary-color);
  min-height: 400px;
}

@media (max-width: 768px) {
  .about-image {
    min-height: auto;
    aspect-ratio: 16/9;
  }
}

.about-content {
  grid-column: span 7;
}

.section-label {
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  margin-bottom: 12px;
  display: block;
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.mv-card {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.mv-card h4 {
  margin-bottom: 12px;
  color: var(--primary-color);
}

.tech-section {
  text-align: center;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.tech-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.tech-card svg {
  width: 40px;
  height: 40px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.tech-card h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.tech-card p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
}

.cta-section {
  background: var(--gradient-main);
  color: #fff;
  text-align: center;
  padding: var(--section-padding) 0;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 24px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.btn-white {
  background: #fff;
  color: var(--primary-color);
}
.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.footer {
  background-color: #01030A;
  color: rgba(255,255,255,0.6);
  padding: 80px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.footer-brand span {
  color: var(--accent-color);
}

.footer-brand p {
  margin-bottom: 24px;
}

.footer-logo {
  max-height: 30px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  display: block;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  color: #fff;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
}

.footer-col a:hover {
  color: var(--accent-color);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-header {
  padding: 100px 0 60px;
  background: var(--gradient-main);
  color: #fff;
  text-align: center;
}

.page-header h1 {
  color: #fff;
  margin-bottom: 16px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(79, 142, 247, 0.1);
  color: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  background-color: #fff;
  color: var(--text-dark);
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

@media (max-width: 992px) {
  .grid-12 {
    display: flex;
    flex-direction: column;
  }
}

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

/* Premium Corporate Contact Card Styles */
.contact-wrapper {
  background: #fff;
  border-radius: 8px; /* More corporate, structured corners */
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  border: 1px solid rgba(0,0,0,0.06);
}

.contact-info-panel {
  background: var(--secondary-color); /* Deep, solid corporate navy */
  color: #fff;
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}

.contact-info-panel::before,
.contact-info-panel::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.02);
  border-radius: 50%;
}

.contact-info-panel::before {
  width: 400px;
  height: 400px;
  bottom: -200px;
  right: -100px;
}

.contact-info-panel::after {
  width: 250px;
  height: 250px;
  top: 40px;
  left: -80px;
}

.contact-form-panel {
  padding: 64px 56px;
  background: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-form-panel .form-control {
  background-color: #fff;
  border: 1px solid #D1D5DB; /* crisp corporate border */
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--text-dark);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.contact-form-panel .form-control::placeholder {
  color: #9CA3AF;
}

.contact-form-panel .form-control:focus {
  background-color: #fff;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(5, 14, 41, 0.1);
  outline: none;
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-form-panel {
    padding: 48px 32px;
  }
  .contact-info-panel {
    padding: 48px 32px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
