body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
}

h1,
h3 {
  font-weight: 700;
  color: #fffefe;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2,
h4,
h5,
h6 {
  font-weight: 600;
  color: #222;
}

.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.hero {
  background-image: url(images/mainherobackground.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  object-fit: cover;
  color: #f1f3f5;
  position: relative;
}

/* Modern Buttons */
.btn-custom {
  background: linear-gradient(135deg, #114e50, #1a7a7d);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(17, 78, 80, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-weight: 500;
  font-size: 1rem;
}

.btn-custom:hover {
  background: linear-gradient(135deg, #1a7a7d, #0fc9b0);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(15, 201, 176, 0.3);
  color: white;
}

.btn-light {
  border-radius: 12px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Header sections */
section.bg-light {
  background-color: #f9f9f9 !important;
}

section.py-5 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

section.text-center h1 {
  font-size: 3.5rem;
  margin-bottom: 1.2rem;
  letter-spacing: -1.5px;
}

section.text-center p.lead {
  font-size: 1.35rem;
  color: #f0f0f0;
  font-weight: 300;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  border: none;
  border-radius: 12px;
  padding: 12px 30px;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0b5ed7, #0a58ca);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

.feature-card h5 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #114e50;
}

.feature-card p {
  color: #666;
  font-size: 1rem;
}

/* Portfolio Cards */
.card {
  border: none;
  border-radius: 16px;
  background: #ffffff;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* Footer - Sticky at bottom */
footer {
  background: linear-gradient(to right, #114e50, #0d3e40);
  color: #ffffff;
  padding: 4rem 0;
  margin-top: auto;
  font-size: 1rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

footer p {
  margin: 0.5rem 0;
  opacity: 0.9;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  cursor: grab;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  touch-action: none;
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================== */

/* Mobile Devices (Portrait phones, less than 576px) */
@media (max-width: 575px) {
  body {
    font-size: 14px;
  }

  section.text-center h1 {
    font-size: 2rem !important;
    line-height: 1.2;
  }

  section.text-center p.lead {
    font-size: 1rem !important;
  }

  .hero {
    padding: 3rem 0 !important;
  }

  .btn-light,
  .btn-custom,
  .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .card {
    margin-bottom: 1.5rem;
  }

  .card-img-top {
    height: 180px;
  }

  .feature-card h5 {
    font-size: 1.2rem;
  }

  .feature-card p {
    font-size: 0.9rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-icon {
    width: 50px !important;
    height: 50px !important;
  }

  footer {
    padding: 2rem 0;
    font-size: 0.9rem;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Force each card into its own row - 4 rows total */
  .col-12,
  .col-md-3,
  .col-md-4,
  .col-md-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 1rem;
  }
}

/* Tablets (Portrait tablets and large phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  section.text-center h1 {
    font-size: 2.5rem;
  }

  section.text-center p.lead {
    font-size: 1.15rem;
  }

  .btn-light,
  .btn-custom {
    padding: 11px 25px;
  }

  .card-img-top {
    height: 200px;
  }
}

/* Tablets (Landscape tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  section.text-center h1 {
    font-size: 3rem;
  }

  section.text-center p.lead {
    font-size: 1.25rem;
  }

  .card-img-top {
    height: 210px;
  }

  /* 2 columns on tablets */
  .col-md-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Desktop (Large devices, 992px and up) */
@media (min-width: 992px) {
  .custom-navbar .navbar-nav .nav-link {
    font-size: 1.05rem;
  }

  section.text-center h1 {
    font-size: 3.5rem;
  }

  .card-img-top {
    height: 220px;
  }
}

/* Large Desktop (Extra large devices, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  section.text-center h1 {
    font-size: 3.8rem;
  }
}

/* Extra Large Desktop (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}