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

:root {
  --primary-color: #0066cc;
  --secondary-color: #00a3e0;
  --accent-color: #ff6b35;
  --dark-color: #1a1a1a;
  --light-color: #f5f5f5;
  --text-color: #333333;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation Bar */
.navbar {
  background: var(--dark-color);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo h1 {
  color: var(--secondary-color);
  font-size: 28px;
  margin: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 5px;
}

/* Page Display */
.page {
  display: none;
  animation: fadeIn 0.5s ease-in;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 100px 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-btn {
  background-color: var(--accent-color);
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.cta-btn:hover {
  background-color: #ff5722;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--light-color);
}

.features h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--dark-color);
}

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

.feature-card {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.feature-card p {
  color: #666;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--primary-color) 100%
  );
  color: white;
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* About Section */
.about-section {
  padding: 80px 0;
}

.about-section h1 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 50px;
  color: var(--dark-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 20px;
  margin-top: 30px;
}

.about-text h2:first-child {
  margin-top: 0;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #555;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.stat {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
}

.stat h3 {
  font-size: 36px;
  margin-bottom: 10px;
}

.stat p {
  font-size: 14px;
}

/* Team Section */
.team-section {
  margin-top: 80px;
}

.team-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: var(--dark-color);
}

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

.team-member {
  background: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.member-avatar {
  font-size: 64px;
  margin-bottom: 15px;
}

.team-member h3 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.team-member p {
  color: #666;
  font-size: 14px;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.services-section h1 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.service-card {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-top: 4px solid var(--accent-color);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  margin-bottom: 20px;
}

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

.service-features li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #555;
}

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

/* Pricing Section */
.pricing-section {
  padding: 80px 0;
}

.pricing-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--dark-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.pricing-card {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  border: 3px solid var(--accent-color);
  transform: scale(1.05);
}

.featured-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: white;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.pricing-card h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.price {
  font-size: 36px;
  color: var(--accent-color);
  font-weight: bold;
  margin-bottom: 15px;
}

.price span {
  font-size: 16px;
  color: #999;
}

.pricing-features {
  list-style: none;
  padding: 30px 0;
  margin-bottom: 30px;
}

.pricing-features li {
  padding: 10px 0;
  color: #555;
}

.pricing-btn {
  background: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
  width: 100%;
}

.pricing-btn:hover {
  background: var(--secondary-color);
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.testimonials-section h1 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.testimonial-card {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.client-avatar {
  font-size: 48px;
}

.client-info h3 {
  color: var(--primary-color);
  margin-bottom: 5px;
  font-size: 16px;
}

.client-info p {
  color: #999;
  font-size: 13px;
  margin: 0;
}

.stars {
  margin-bottom: 15px;
  font-size: 16px;
}

.testimonial-text {
  color: #555;
  font-style: italic;
  line-height: 1.8;
}

/* Testimonials Stats */
.testimonials-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-stat {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
}

.testimonial-stat h3 {
  font-size: 32px;
  margin-bottom: 10px;
}

.testimonial-stat p {
  font-size: 14px;
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h4 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-section p {
  color: #ccc;
  margin-bottom: 10px;
  line-height: 1.8;
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 15px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }

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

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

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

  .pricing-card.featured {
    transform: scale(1);
  }

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

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

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

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

@media (max-width: 480px) {
  .logo h1 {
    font-size: 20px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero {
    padding: 60px 0;
  }

  .features h2,
  .team-section h2 {
    font-size: 28px;
  }

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

  .services-section h1 {
    font-size: 28px;
  }

  .pricing-section h2 {
    font-size: 28px;
  }

  .testimonials-section h1 {
    font-size: 28px;
  }

  .cta-btn {
    padding: 12px 30px;
    font-size: 14px;
  }

  .container {
    padding: 0 15px;
  }
}

/* Navbar Base */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 14px 0;
  transition: background 0.3s ease;
}

.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}

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

/* Logo */
.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff6600;
  letter-spacing: 1px;
  transition: color 0.3s;
}
.logo h1:hover {
  color: #ff3c00;
}

/* Navigation Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 35px;
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

/* Hover & Active Line Effect */
.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #ff7b00, #ff4500);
  transition: width 0.3s ease;
}
.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

/* Active & Hover Color */
.nav-links li a:hover {
  color: #ffae42;
}
.nav-links li a.active {
  color: #ff7b00;
}

/* ====== HAMBURGER BUTTON ====== */
.menu-toggle {
  display: none;
  margin-left: 60px;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 65px;
    right: 25px;
    background: rgba(0, 0, 0, 0.85);
    flex-direction: column;
    width: 220px;
    padding: 20px;
    border-radius: 12px;
    display: none;
  }

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

  .nav-links li {
    margin: 12px 0;
  }

  .menu-toggle {
    display: flex;
  }

  /* Animate menu toggle (X shape) */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}

.services-section .card:hover {
  transform: translateY(-8px);
  transition: all 0.3s ease;
}

.pricing-section .card:hover {
  transform: scale(1.03);
  transition: all 0.3s ease;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
}

.bg-light {
  background: #f8f9fa !important;
}

.about-section h1 {
  font-weight: 700;
  letter-spacing: 1px;
}

.about-section h2 {
  font-size: 1.4rem;
  margin-top: 1rem;
  color: #333;
}

.about-section p {
  color: #555;
  line-height: 1.6;
}

.team-member:hover {
  cursor: pointer;
  background-color: #3569b8;
  color: #2b2727;
  transform: translateY(-5px);
  transition: 0.3s;
}

.team-member p {
  margin: 0;
  font-size: 0.9rem;
}

/* testimonial design */
.testimonials-section {
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
}

.testimonial-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stars {
  font-size: 1.2rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

.contact-section {
  background: #f8f9fa;
}

.contact-section h2 {
  color: #222;
}

#contactForm {
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contactForm:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.btn-primary {
  background-color: #007bff;
  border: none;
  border-radius: 30px;
}

.btn-primary:hover {
  background-color: #0056b3;
}



/* navbar fixed */


.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #222 !important;
  z-index: 9999;
  background: inherit; /* keeps your existing background */
}
