:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #f59e0b;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
  --dark-gray: #64748b;
}

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

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark);
  overflow-x: hidden;
  background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--secondary);
  bottom: -8px;
  left: 0;
}

.section-heading {
  font-size: 42px;
  margin-bottom: 30px;
  color: var(--dark);
}

.section-subheading {
  font-size: 18px;
  color: var(--dark-gray);
  margin-bottom: 40px;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 20px 0;
}

header.scrolled {
  background-color: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
}

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

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

.nav-links a {
  font-weight: 500;
  font-size: 16px;
  color: var(--dark);
  position: relative;
  transition: all 0.3s ease;
}

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

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

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

.nav-buttons {
  display: flex;
  gap: 15px;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--dark);
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: #f8fafc;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image {
  flex: 1;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

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

.about-text {
  flex: 1;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--dark-gray);
  line-height: 1.8;
}

/* Who We Are Section */
.who-we-are {
  padding: 100px 20px;
  background-color: #F5F4F7;
  text-align: center;
}

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

.who-card {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.who-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.who-card .text-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.who-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #314259;
}

.who-card p {
  font-size: 16px;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 100px 20px;
  background-color: #ffffff;
  text-align: center;
}

.choose-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.choose-card {
  background-color: #f8fafc;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.choose-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);

}

.choose-card .text-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.choose-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #314259;
}

.choose-card p {
  font-size: 16px;
  color: var(--dark-gray);
  line-height: 1.6;
}


/* Mission-Vision Section */

.mission-vision-section {
  padding: 100px 20px;
  background-color: #f8f9fa;
  text-align: center;
}

.mv-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
}

.mv-card {
  flex: 1 1 300px;
  background: #fafafa;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mv-card .icon {
  color: #1d4ed8;
  margin-bottom: 15px;
  display: block;
}

.mv-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #1e293b;
}

.mv-card p {
  font-size: 16px;
  color: var(--dark-gray);
  line-height: 1.7;
}


/* Technologies Section */

.technologies-section {
  padding: 80px 20px;
  background-color: white;
}

.custom-container {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #314259;
  margin-bottom: 30px;
}

.section-subtitle {
  font-size: 16px;
  color: #888;
  margin-bottom: 40px;
  font-weight: 700;
  margin-left: auto;
  margin-right: auto;
  font-family: "Montserrat", sans-serif;
}

.technologies-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.tech-card {
  width: 180px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.text-primary {
  color: #1d4ed8;
  margin-bottom: 10px;
}

.tech-card p {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: #f5f4f7;
}

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

.service-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 30px;
}

.service-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.service-content p {
  color: var(--dark-gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.service-link:hover {
  color: var(--primary-dark);
}

.service-link:hover i {
  transform: translateX(5px);
}

.learn-more {
  padding-top: 22px;
}

/* Team Section */
.team-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
  text-align: center;
}

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

.team-card {
  padding: 12px 0px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.team-image img {
  width: 75%;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-content {
  padding: 20px 15px;
}

.team-content h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  color: #777;
}

.team-content p {
  font-size: 1rem;
  font-weight: 600;
  color: #314259;
}





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

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
}

.footer-logo-text {
  font-size: 24px;
  font-weight: 700;
  color: white;
}

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

.footer-about p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

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

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

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-links h3 {
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--secondary);
  bottom: 0;
  left: 0;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--gray);
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-newsletter p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  margin-bottom: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 50px 0 0 50px;
  font-size: 14px;
  outline: none;
}

.newsletter-form button {
  background-color: var(--secondary);
  color: white;
  border: none;
  padding: 0 25px;
  border-radius: 0 50px 50px 0;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #e67e22;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  color: var(--gray);
  font-size: 14px;
}


/* ---------- MEDIA QUERIES ---------- */

/* Responsive Styles */
@media (max-width: 1200px) {
  .section-heading {
    font-size: 36px;
  }

}

@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-buttons {
    display: none;
  }
}

@media (max-width: 768px) {
  .section-heading {
    font-size: 32px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .section-heading {
    font-size: 28px;
  }

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

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

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: 50px;
    margin-bottom: 10px;
  }

  .newsletter-form button {
    border-radius: 50px;
    padding: 12px;
  }
}

/*  Team Section Responsive */
@media (min-width: 1024px)and (max-width: 1280px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Why Choose Us Section Responsive */
@media (min-width: 900px) and (max-width: 1024px) {
  .choose-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Technologies Section Responsive */

@media (min-width: 900px) and (max-width: 1024px) {
  .technologies-grid {
    justify-content: center;
  }

  .tech-card {
    width: calc((100% - 60px) / 3); /* 3 cards with 30px gap between */
  }
}

/* Who We Are Section */
@media (min-width: 900px) and (max-width: 1024px) {
  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}