* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f4f7fb;
  color: #111;
  line-height: 1.6;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ================= HEADER ================= */

.header {
  background: #ffffff;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo img {
  height: 45px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 35px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #2f63ff;
}

/* ================= BUTTONS ================= */

.btn-primary {
  display: inline-block;
  background: #2f63ff;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: #1c45c7;
  transform: translateY(-3px);
}

.btn-outline {
  display: inline-block;
  border: 2px solid #2f63ff;
  padding: 12px 28px;
  border-radius: 8px;
  color: #2f63ff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.btn-outline:hover {
  background: #2f63ff;
  color: #fff;
}

/* ================= HERO ================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  color: #fff;
  background: url("hero.png") center center / cover no-repeat;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 31, 68, 0.85),
    rgba(47, 99, 255, 0.75)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}


.hero h1 {
  font-size: 52px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  margin-bottom: 35px;
  font-size: 18px;
  opacity: 0.95;
}


.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ================= SECTIONS ================= */

.about,
.services,
.testimonials,
.contact {
  padding: 110px 0;
}

.section-title {
  text-align: center;
  font-size: 34px;
  margin-bottom: 15px;
  font-weight: 600;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 60px;
  color: #555;
  font-size: 16px;
}

/* ================= GRID ================= */

.about-grid,
.service-grid,
.testimonial-grid {
  display: grid;
  gap: 35px;
}

.about-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* ================= CARDS ================= */

.about-card,
.service-card,
.testimonial-card {
  background: #fff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.about-card:hover,
.service-card:hover,
.testimonial-card:hover {
  transform: translateY(-10px);
}

/* ================= CTA ================= */

.cta {
  background: linear-gradient(135deg, #2f63ff, #0a1f44);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 25px;
}

/* ================= CONTACT ================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: inherit;
}

.contact-form textarea {
  resize: none;
  min-height: 140px;
}

/* ================= FOOTER ================= */

.footer {
  background: #0a1f44;
  color: #fff;
  padding: 70px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
}

.footer a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  transition: 0.3s;
}

.footer a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  margin-top: 45px;
  font-size: 14px;
  opacity: 0.7;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {

  .nav-links {
    display: none;
  }

  .hero {
    text-align: center;
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about,
  .services,
  .testimonials,
  .contact {
    padding: 80px 0;
  }

  .cta {
    padding: 80px 20px;
  }
}

