@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap');

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

:root {
  --primary-color: #0d6efd;
  --secondary-color: #198754;
  --dark-color: #212529;
  --light-bg: #f8f9fa;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* Navbar Logo Styling */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 50, 100, 0.85), rgba(0, 150, 100, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.hero-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-overlay .lead {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn-green {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
}

.btn-green:hover {
  background-color: #128C7E;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

/* Services Section */
#services {
  background-color: var(--light-bg);
}

#services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.service-box {
  background: white;
  padding: 30px 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
  transition: all 0.3s ease;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.service-box i {
  font-size: 50px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.service-box h4 {
  font-size: 1.25rem;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.service-box p {
  color: #6c757d;
  font-size: 0.95rem;
  margin: 0;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
}

.contact-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-section p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.contact-section i {
  margin-right: 10px;
  width: 20px;
}

.contact-section form .form-control,
.contact-section form .form-select {
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #dee2e6;
}

.contact-section form .form-control:focus,
.contact-section form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.contact-section form .btn-primary {
  padding: 12px;
  font-weight: 600;
  border-radius: 10px;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 25px 0;
  text-align: center;
}

footer p {
  margin: 0;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  color: white;
  transform: scale(1.1);
}

/* Desktop Responsive Styles */
@media (min-width: 768px) {
  .hero-overlay h1 {
    font-size: 3.5rem;
  }
  
  .hero-overlay .lead {
    font-size: 1.5rem;
  }

  #services h2 {
    font-size: 2.5rem;
  }
  
  .service-box {
    min-height: 250px;
    padding: 35px 30px;
  }
  
  .service-box i {
    font-size: 55px;
  }
}

@media (min-width: 992px) {
  .hero-overlay h1 {
    font-size: 4rem;
  }
  
  .service-box {
    min-height: 280px;
  }
  
  .contact-section {
    padding: 100px 0;
  }
}

/* Ensure service cards in the same row have equal height */
#services .row {
  display: flex;
  flex-wrap: wrap;
}

#services .row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
