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

:root {
  --primary-dark: #0a0a0f;
  --secondary-dark: #1a1a2e;

  /* Ajilebyte Brand Colors (from logo) */
  --brand-blue: #245DF3;  /* deep blue */
  --brand-cyan: #1B9CFA;  /* cyan */
  --brand-teal: #2FD9BC;  /* teal */

  --white: #ffffff;
  --gray: #b4b4b4;
  --light-gray: #e0e0e0;

  /* Gradients */
  --brand-grad: linear-gradient(135deg, var(--brand-blue), var(--brand-teal));
  --brand-grad-2: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan), var(--brand-teal));
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

/* =========================
   Animated Background
========================= */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(30, 90, 240, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(50, 210, 190, 0.16) 0%, transparent 55%),
    var(--primary-dark);
}

.dot-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(30, 160, 250, 0.10) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.25;
}

/* =========================
   Navigation
========================= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 5%;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 160, 250, 0.18);
  z-index: 1000;
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 0.5rem 5%;
  background: rgba(10, 10, 15, 0.95);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== Logo (image + text) ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.logo span {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-grad);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--brand-teal);
}

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

.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  min-width: 250px;
  padding: 1rem 0;
  border-radius: 10px;
  border: 1px solid rgba(30, 160, 250, 0.25);
  margin-top: 1rem;
}

.nav-links .dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.dropdown-content a:hover {
  background: rgba(30, 160, 250, 0.18);
  padding-left: 2rem;
}

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

/* =========================
   Hero Section
========================= */
.hero {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 5% 3rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 1200px;
  z-index: 2;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  background: var(--brand-grad-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.4rem;
  color: var(--gray);
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    margin-bottom: 0;
}
  

.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background: var(--brand-grad);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(30, 90, 240, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(30, 160, 250, 0.9);
}

.btn-secondary:hover {
  background: rgba(30, 160, 250, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(30, 160, 250, 0.2);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 5rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s backwards;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--gray);
  font-size: 1rem;
}

/* =========================
   Section Styling
========================= */
section {
  padding: 6rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

/* =========================
   About Section
========================= */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text p {
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-image {
  background: linear-gradient(135deg, rgba(30, 90, 240, 0.18), rgba(50, 210, 190, 0.15));
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 160, 250, 0.25);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

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

.value-card {
  background: rgba(26, 26, 46, 0.5);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(30, 160, 250, 0.22);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-teal);
  box-shadow: 0 10px 30px rgba(50, 210, 190, 0.18);
}

.value-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--brand-teal);
}

.value-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* =========================
   Services Section
========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: rgba(26, 26, 46, 0.5);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(30, 160, 250, 0.22);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 90, 240, 0.10), rgba(50, 210, 190, 0.10));
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--brand-teal);
  box-shadow: 0 15px 40px rgba(50, 210, 190, 0.22);
}

.service-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* =========================
   Products Section
========================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.product-card {
  background: rgba(26, 26, 46, 0.5);
  padding: 3rem 2rem;
  border-radius: 20px;
  border: 2px solid rgba(30, 160, 250, 0.22);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, transparent, rgba(30, 90, 240, 0.10), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.product-card:hover::before {
  left: 100%;
}

.product-card:hover {
  transform: scale(1.05);
  border-color: var(--brand-teal);
  box-shadow: 0 20px 50px rgba(30, 90, 240, 0.22);
}

.product-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.product-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-card p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product-features {
  text-align: left;
  margin-top: 1.5rem;
}

.product-features li {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-teal);
  font-weight: bold;
}

/* =========================
   Industries Section
========================= */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.industry-card {
  background: rgba(26, 26, 46, 0.5);
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid rgba(30, 160, 250, 0.22);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-teal);
  background: rgba(26, 26, 46, 0.8);
}

.industry-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.industry-card h3 {
  font-size: 1.3rem;
  color: var(--white);
}

/* =========================
   Why Section
========================= */
/*.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}*/

.why-card {
  background: rgba(26, 26, 46, 0.5);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(30, 160, 250, 0.22);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-teal);
}

.why-card h3 {
  font-size: 2.5rem;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.why-card p {
  color: var(--gray);
  font-size: 1rem;
}

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

.feature-card {
  background: rgba(26, 26, 46, 0.5);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(30, 160, 250, 0.22);
  backdrop-filter: blur(10px);
  display: flex;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateX(10px);
  border-color: var(--brand-teal);
}

.feature-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.feature-content p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* =========================
   Testimonials
========================= */
.testimonials-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: rgba(26, 26, 46, 0.5);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(30, 160, 250, 0.22);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  color: rgba(30, 160, 250, 0.20);
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-teal);
}

.testimonial-text {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--brand-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.author-info h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* =========================
   Contact Section
========================= */
.contact-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: stretch;
}

.contact-form {
  background: rgba(26, 26, 46, 0.5);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(30, 160, 250, 0.22);
  backdrop-filter: blur(10px);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(30, 160, 250, 0.22);
  background: rgba(10, 10, 15, 0.5);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 20px rgba(50, 210, 190, 0.18);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  height:100%;
}

.office-card {
  background: rgba(26, 26, 46, 0.5);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(30, 160, 250, 0.22);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.office-card:hover {
  transform: translateX(10px);
  border-color: var(--brand-teal);
}

.office-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--brand-teal);
}

.office-card p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.6;
}

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

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(30, 90, 240, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(30, 160, 250, 0.22);
  text-decoration: none;
}

.social-link:hover {
  background: var(--brand-grad);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(30, 90, 240, 0.20);
}

/* =========================
   Footer
========================= */
footer {
  background: rgba(26, 26, 46, 0.5);
  border-top: 1px solid rgba(30, 160, 250, 0.22);
  padding: 4rem 5% 2rem;
  backdrop-filter: blur(10px);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

/* Footer logo (image + text) */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.footer-logo span {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.footer-section p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

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

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

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

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(30, 160, 250, 0.15);
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
}

/* =========================
   Animations
========================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .services-grid,
  .products-grid,
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: left 0.3s ease;
  }

  .nav-links.active { left: 0; }
  .mobile-menu-btn { display: block; }

  .dropdown-content {
    position: static;
    display: none;
    background: transparent;
    border: none;
    margin-top: 0.5rem;
  }

  .dropdown.active .dropdown-content { display: block; }

  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.1rem; }
  .hero-stats { gap: 2rem; }

  .about-content { grid-template-columns: 1fr; }

  .services-grid,
  .products-grid,
  .industries-grid,
  .testimonials-container,
  .values-grid,
  .why-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

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

  section { padding: 4rem 5%; }
  .section-header h2 { font-size: 2rem; }

  .logo span { 
    font-size: 1.3rem; 
  }
  .logo img { 
     width:45px;
     height:45px;

}
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .stat-item h3 { font-size: 2rem; }
  .btn { padding: 0.8rem 2rem; font-size: 1rem; }
}