/* 
  TECHBIG SOLUTIONS - Premium Landing Page Styles
  Color Palette:
  Primary: #0B2C5F (Deep Blue)
  Accent: #F7931E (Orange)
  Secondary: #1E468A (Gradient Blue)
  Background: #FFFFFF (White) / #F8FAFC (Alice Blue)
*/

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

:root {
  --primary: #0B2C5F;
  --primary-light: #1E468A;
  --accent: #F7931E;
  --accent-hover: #E88214;
  --text: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --bg-light: #F8FAFC;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --glass: rgba(255, 255, 255, 0.82);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
  font-weight: 700;
}

/* --- Layout Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

/* --- Header & Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 1.2rem 0;
  background: #ffffff !important;
  box-shadow: var(--shadow-sm);
  display: block;
}

header.scrolled {
  padding: 0.8rem 0;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary) !important;
  text-decoration: none;
}

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

.logo-img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent) !important;
}

.mobile-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* --- Hero Section --- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: #020617; /* Deep Navy Base */
  background: radial-gradient(circle at 0% 0%, rgba(30, 70, 138, 0.4) 0%, transparent 50%),
              radial-gradient(circle at 100% 100%, rgba(11, 44, 95, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 1) 0%, rgba(2, 6, 23, 1) 100%);
  color: white;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 60%;
  transform: translateX(-50%) skewX(-15deg);
  width: 40%;
  height: 140%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  z-index: 1;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 100%;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: white;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.95;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

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

.hero-image img {
  width: auto;
  max-width: 90%;
  height: auto;
  /* box-shadow: var(--shadow-premium); */
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

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

/* --- Buttons --- */
.btn {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(247, 147, 30, 0.4);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 147, 30, 0.5);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-green {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-green:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
}

/* --- Stats Strip --- */
.stats-strip {
  background: var(--white);
  padding: 2.5rem 0;
  margin-top: -3rem;
  z-index: 10;
  position: relative;
  box-shadow: var(--shadow-lg);
  border-radius: 15px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.stat-item p {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- About Section --- */
.about .container {
  display: block;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

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

.feature-item {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  z-index: -1;
  transform: translateY(100%);
  transition: var(--transition);
}

.feature-item h4 {
  color: var(--accent);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-premium);
}

.feature-item:hover h4,
.feature-item:hover p {
  color: white;
}

.feature-item:hover .feature-icon {
  background: white;
  color: var(--accent);
}

.feature-item:hover::before {
  transform: translateY(0);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  margin: 0 auto;
  font-size: 1.8rem;
  transition: var(--transition);
}



/* --- Services Grid --- */
.services {
  background: var(--bg-light);
}

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

.service-card {
  background: white;
  padding: 2.5rem 2.5rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 1;
  overflow: hidden;
  cursor: pointer;
}

.card-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.learn-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.service-card:hover .learn-more {
  color: white;
}

.service-card:hover .card-footer {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  z-index: -1;
  transform: translateY(100%);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-premium);
}

.service-card:hover h3,
.service-card:hover p {
  color: white;
}

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

.service-card:hover::before {
  transform: translateY(0);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  transition: var(--transition);
}

/* --- Why Choose Us --- */
.why-us .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-premium);
}

.check-list {
  list-style: none;
  margin-top: 2rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.check-item i {
  color: var(--accent);
  background: rgba(247, 147, 30, 0.1);
  padding: 8px;
  border-radius: 50%;
  font-size: 0.9rem;
}

/* --- Process Section --- */
.process {
  background: var(--primary);
  color: white;
}

.process .section-header h2 {
  color: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--accent);
  transition: var(--transition);
}

.process-step:hover .process-icon {
  background: var(--accent);
  color: white;
  transform: scale(1.1);
}

.process-step h3 {
  color: white;
  margin-bottom: 0.5rem;
}

/* --- Testimonials Carousel --- */
.testimonials-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonials-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
  padding: 1rem 0 2rem;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.testimonial-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--accent);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  background: #cbd5e1;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.stars {
  color: #FFD700;
  margin-bottom: 1rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.client-name h4 {
  margin-bottom: 0.1rem;
  font-size: 1rem;
}

.client-name p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Contact Section --- */
.contact {
  background: var(--bg-light);
}

.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  background: white;
  padding: 3.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 44, 95, 0.1);
}

/* --- WhatsApp Floating --- */
/* --- Floating Contact FABs --- */
.fab-stack {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 2000;
}

.fab-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.fab-btn:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.call-btn {
  background: linear-gradient(135deg, #1E468A 0%, #0B2C5F 100%);
  animation: pulse-blue 2s infinite;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-blue {
  0% { box-shadow: 0 0 0 0 rgba(30, 70, 138, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(30, 70, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 70, 138, 0); }
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Go Up Button --- */
.go-up-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  text-decoration: none;
}

.go-up-btn.visible {
  opacity: 1;
  visibility: visible;
}

.go-up-btn:hover {
  background: var(--accent);
  transform: translateY(-5px);
  color: white;
}

/* --- Footer --- */
footer {
  background: #061630;
  color: white;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  color: white;
  margin-bottom: 1rem;
}

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

.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  transform: translateY(-5px);
}

.footer-links h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--transition);
}

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

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

/* --- Animations --- */
.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- Modal Overlay --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 22, 48, 0.85);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  width: 100%;
  max-width: 650px;
  border-radius: 24px;
  position: relative;
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow-y: auto;
  max-height: 90vh;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-light);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}

.modal-close:hover {
  background: #ffeded;
  color: #ff4d4d;
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-icon {
  margin-bottom: 1rem;
}

.modal-header h2 {
  font-size: 2.2rem;
  color: var(--primary);
}

.modal-body {
  color: var(--text);
  line-height: 1.8;
}

.modal-body ul {
  list-style: none;
  margin-top: 1.5rem;
}

.modal-body li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.modal-body li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.1rem;
}

.modal-footer {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  text-align: center;
}

.no-scroll {
  overflow: hidden;
}

/* --- Responsive --- */
@media (max-width: 1199px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

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

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

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

  .about .container,
  .why-us .container,
  .contact .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .form-group {
    text-align: left;
  }

  .stats-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-content,
  .why-content {
    text-align: center;
  }

  .section-header {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .section-header h2 {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-item {
    text-align: left;
  }

  .check-list {
    display: inline-block;
    text-align: left;
  }
}

@media (max-width: 767px) {
  header {
    background: white;
    padding: 0.8rem 0;
  }

  .mobile-toggle {
    display: block;
    color: var(--primary);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
  }

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

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    gap: 1rem;
  }

  .hero-btns .btn {
    width: 100%;
  }

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

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

  .testimonial-card {
    padding: 2rem;
  }
}

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

  .section-header h2 {
    font-size: 2rem;
  }

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

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

@media (max-width: 767px) {
  .modal-content {
    padding: 2.5rem 1.5rem;
  }
  .modal-header h2 {
    font-size: 1.8rem;
  }
}