:root {
  --teal: #0d9488;       /* main teal */
  --teal-dark: #0b776e;
  --muted: #6b7280;
  --bg: #ffffff;
  --max-width: 1200px;
  --radius: 10px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* ---------- NAVBAR ---------- */
.site-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eef2f4;
  position: fixed;
  top: 0;
  z-index: 100;
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 14px 20px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.logo:focus { outline: 3px solid rgba(13,148,136,0.18); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}
.nav-links li a {
  display: inline-block;
  color: #0f172a;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 500;
  position: relative;
  transition: transform .15s ease, color .18s ease;
}
.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  width: 0;
  background: var(--teal);
  border-radius: 2px;
  transition: width .22s ease;
}
.nav-links li a:hover,
.nav-links li a:focus {
  color: var(--teal-dark);
  transform: translateY(-2px);
}
.nav-links li a:hover::after,
.nav-links li a:focus::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform .15s ease, box-shadow .15s ease;
}

/* Primary CTA */
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 30px rgba(13,148,136,0.12);
}
.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-3px);
  filter: brightness(.98);
}

/* Outline button */
.btn-outline {
  background: transparent;
  color: var(--teal-dark);
  border: 1px solid var(--teal);
}
.btn-outline:hover,
.btn-outline:focus {
  background: rgba(13,148,136,0.06);
  transform: translateY(-2px);
}

/* Hamburger (mobile) */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

/* ---------------- HERO SECTION ---------------- */
.hero {
  position: relative;

  max-width: 1200px;
  margin: 0 auto;
  height: 60vh; /* full screen hero */
  background: url("/images/hero_services.png") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* light transparent overlay */
  display: flex;
  align-items: center;
  justify-content: left;
  padding: 0 20px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #00bfa6; /* teal highlight */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 15px;
}

.hero-text .tagline {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.hero-text .description {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 25px;
  line-height: 1.6;
  color: #f0f0f0;
}

.hero-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #00bfa6;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0, 191, 166, 0.4);
}

.hero-btn:hover {
  background: #009f8c;
  box-shadow: 0 6px 16px rgba(0, 191, 166, 0.6);
}


/* ---------------- SERVICES ---------------- */
/* ---------- Services Section ---------- */
.services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0d9488; /* teal */
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
}

/* Grid Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

/* Service Card */
.service-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.50);
  transition: all 0.3s ease-in-out;
  text-align: center;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

/* Icon */
.service-card i {
  font-size: 40px;
  color: #0d9488;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.service-card:hover i {
  color: #0b776e;
}

/* Title */
.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}

/* Description */
.service-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* ---------- Responsive ---------- */



@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Illustration Title ---------------- */

.hero2-text {
  padding: 60px 20px 20px; /* top spacing before image */
  text-align: center;
  background: #f9f9f9; /* same as illustration bg */
}

.hero2-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero2-content p {
  font-size: 1.2rem;
  color: #555;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}


/* ---------------- Illustration images ---------------- */

.illustration-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.illustration-container img {
  max-width: 80%;
  height: 70vh;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}



/* Call to Action Section */
.cta {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  border-radius: 20px;
  margin: 60px auto;
  max-width: 1000px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.cta .btn {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: #007bff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.cta .btn:hover {
  background: #f0f0f0;
  color: #0056b3;
  transform: translateY(-3px);
}

/* ---------- FOOTER ---------- */


/* Footer (teal box + bottom note) */
.site-footer {
  padding: 30px 16px 10px;            /* outer spacing */
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;               /* page background behind footer */
}

/* teal container */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #0d9488;               /* teal */
  color: #fff;
  border-radius: 12px;
  padding: 36px 32px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(13,148,136,0.12);
}

/* each column */
.footer-col {
  flex: 1 1 250px;                   /* grow/shrink, min width */
  min-width: 220px;
}

/* Left column list should stay left-aligned */
.footer-col:first-child {
  text-align: left;
}

/* Middle column center aligned (contact) */
.footer-col:nth-child(2) {
  text-align: center;
}

/* Developer column right (center content inside) */
.footer-col.developer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Headings */
.footer-col h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  font-weight: 700;
  color: #ffffff;
}

/* Quick links list */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: color .18s ease, transform .18s ease;
}

.footer-col ul li a:hover {
  color: #fff3b0; /* subtle warm hover */
  transform: translateX(4px);
}

/* Contact text */
.footer-col:nth-child(2) p {
  margin: 8px 0;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
}

/* Developer portrait */
.developer-pic {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  margin-bottom: 12px;
}

/* Developer name line */
.footer-col.developer p {
  margin: 6px 0 12px;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

/* Social buttons (circular colored backgrounds) */
.social-links {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

/* Anchor as circle */
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* specific platform colors (first = facebook, second = instagram) */
.social-links a:first-child { background: #1877f2; } /* facebook blue */
.social-links a:last-child  { 
  background: radial-gradient(circle at 30% 30%, #fccc63 0%, #f56040 45%, #d6249f 100%); /* instagram-ish */
}

/* social image/icon inside button */
.social-links a img {
  width: 18px;
  height: 18px;
  display: block;
  filter: none; /* if your icons are colored PNGs; if white icons, try filter: invert(1) */
}

/* hover */
.social-links a:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

/* Footer bottom note below teal box */
.footer-bottom {
  max-width: 1200px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: #6b6b6b;
}

/* ========= COMPACT FOOTER RESPONSIVE ========= */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #0d9488;  
  color: #fff;
  border-radius: 12px;
  padding: 24px 20px;   /* reduced padding */
  display: flex;
  flex-wrap: wrap;       /* allow wrapping */
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  box-shadow: 0 6px 20px rgba(13,148,136,0.12);
}

.footer-col {
  flex: 1 1 200px;
  min-width: 180px;
}

.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 6px;    /* reduce gap between links */
}

.footer-col ul li a,
.footer-col p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #fff3b0;
  transform: translateX(2px);
}

.developer-pic {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-bottom: 8px;
}

.social-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 6px;
}

.social-links a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.social-links a img {
  width: 14px;
  height: 14px;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #d9d9d9;
  margin-top: 10px;
  padding-bottom: 8px;
}

/* ====== MOBILE ====== */
@media (max-width: 880px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
    padding: 28px 20px;
    align-items: stretch;
  }
  .footer-col:first-child,
  .footer-col:nth-child(2),
  .footer-col.developer {
    text-align: center;   /* center for stacked layout */
  }
  .footer-col ul li a { display: inline-block; } /* keep spacing */
}

/* ---------- Mobile Navbar Responsive ---------- */

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, box-shadow 0.3s ease;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    width: 100%;
    padding: 14px 20px;
    border-radius: 0;
    color: #0f172a;
  }

  .nav-links li a:hover {
    background: rgba(13,148,136,0.05);
  }

  .nav-actions {
    width: 100%;
    padding: 14px 20px;
  }

  /* Hamburger toggle button */
  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    cursor: pointer;
  }

  .nav-toggle-label span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--teal);
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* Hide checkbox */
  .nav-toggle {
    display: none;
  }

  /* When checked (menu open) */
  .nav-toggle:checked ~ .nav-menu {
    max-height: 500px;
  }

  /* Animate hamburger to X */
  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}


