:root {
  --teal: #009688;
  --dark: #07112a;
  --light: #f8f9fa;
  --radius: 10px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  color: var(--dark);
  background: #fff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* ===== HEADER ===== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: var(--shadow);
}

/* Top Info Bar */
.topbar {
  background: var(--teal);
  color: #fff;
  font-size: 0.9rem;
  padding: 0.4rem 0;
}

.topbar .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.topbar-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Navbar */
.navbar {
  padding: 0.8rem 0;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--dark);
}

.logo-mark {
  font-size: 1.6rem;
  color: var(--teal);
}

.brand-name {
  font-weight: 700;
  font-size: 1.3rem;
}

.brand-sub {
  font-size: 1rem;
  color: #666;
}

.nav {
  display: flex;
  gap: 18px;
}

.nav-link {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal);
  background: rgba(0, 150, 136, 0.1);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  color: var(--teal);
  cursor: pointer;
}

/* Spacer fixes overlap dynamically */
.header-spacer {
  width: 100%;
  height: 0;
}

/* ===== HERO ===== */
.hero {
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: var(--max-width);
  padding: 2rem 1rem;
  gap: 2rem;
}

.hero-text h1 {
  font-size: 2.8rem;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #555;
}

.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary:hover {
  background: #00796b;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== SECTION ===== */
.section {
  padding: 4rem 1rem;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .topbar-content {
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image img {
    max-width: 90%;
    margin: 0 auto;
  }

  .nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    gap: 1rem;
  }

  .nav.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: #f8f9fb;
  padding: 80px 25px;

}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #07112a;
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
}

/* Left Image Section */
.about-left {
  text-align: left;
}

.about-image {
  margin-top: 20px;
}

.about-image img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

/* Right Content */
.about-text {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text strong {
  color: #009688;
}

/* Features */
.about-features {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 150, 136, 0.15);
}

.feature-item i {
  font-size: 1.8rem;
  color: #009688;
}

.feature-item h4 {
  font-size: 1.15rem;
  color: #07112a;
  margin-bottom: 5px;
}

.feature-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

@media (max-width: 768px) {
  .about-section {
  padding: 60px 15px;
 }
}


  .section-title {
    text-align: center;
  }

  .about-left {
    text-align: center;
  }

  .about-features {
    align-items: center;
  }

  .feature-item {
    width: 90%;
    text-align: left;
  }
}


/* ===== Services Section ===== */
.services {
  background: #f9fafc;
  padding: 100px 0;
}

.services .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px; /* left and right space */
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 38px;
  color: #1c1c1c;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title p {
  color: #555;
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(40px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.card-image {
  height: 220px;
  overflow: hidden;
}

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

.card-content {
  padding: 25px 25px 35px;
  text-align: center;
}

.card-content h3 {
  font-size: 20px;
  color: #1c1c1c;
  margin-bottom: 10px;
  font-weight: 600;
}

.card-content p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

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

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .services-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-row {
    grid-template-columns: 1fr;
  }

  .card-image {
    height: 200px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .services .container {
    padding: 0 20px;
  }
}

/* ===== WHY CHOOSE US ===== */
.why-us {
  background: #ffffff;
  padding: 100px 0;
}

.why-us .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 38px;
  color: #1c1c1c;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title p {
  color: #555;
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-card {
  background: #f8fafc;
  border-radius: 14px;
  text-align: center;
  padding: 40px 25px;
  transition: all 0.4s ease;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(40px);
}

.why-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.why-icon {
  margin-bottom: 20px;
}

.why-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.why-card:hover .why-icon img {
  transform: scale(1.1);
}

.why-card h3 {
  font-size: 20px;
  color: #1c1c1c;
  font-weight: 600;
  margin-bottom: 12px;
}

.why-card p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.why-card:hover {
  background: #009688;
  color: #fff;
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.why-card:hover p {
  color: #f0f0f0;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-us .container {
    padding: 0 20px;
  }

  .section-title h2 {
    font-size: 30px;
  }
}

/* ===== CONTACT US ===== */
.contact-us {
  background: #f8fafc;
  padding: 100px 0;
}

.contact-us .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 38px;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 10px;
}

.section-title p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
}

/* ===== Map ===== */
.contact-map {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 60px;
}

/* ===== Form ===== */
.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #009688;
  outline: none;
  box-shadow: 0 0 6px rgba(0, 150, 136, 0.2);
}

/* Two fields side by side on desktop */
.form-group:first-child input {
  flex: 1;
}

.btn-submit {
  align-self: center;
  background: #009688;
  color: #fff;
  font-size: 16px;
  padding: 14px 40px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  background: #00796b;
  transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .contact-us .container {
    padding: 0 20px;
  }

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

  .contact-form {
    padding: 30px 20px;
  }

  .section-title h2 {
    font-size: 30px;
  }
}


/* ===== FOOTER ===== */
.footer {
  background: #07112a;
  color: #fff;
  padding: 80px 0 0;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-col h3, 
.footer-col h4 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #009688;
  margin-top: 8px;
}

.footer-col p {
  color: #ccc;
  font-size: 15px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li i {
  color: #009688;
  font-size: 16px;
}

.footer-col a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #009688;
}

/* Social Icons */
.footer-socials {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

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

.footer-socials a:hover {
  background: #009688;
  transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  background: #060e23;
  padding: 20px 10px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  color: #aaa;
  font-size: 14px;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    padding: 0 20px;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-col ul li {
    justify-content: center;
  }
}
