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

:root {
  --blue-dark: #073865;
  --blue-mid: #1f6fcb;
  --text-dark: #073865;
  --white: #ffffff;
  --shadow-card: 0 15px 35px rgba(11, 60, 104, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', sans-serif; 
  background-color: var(--white); 
  color: var(--text-dark);
}

img {
  display: block;
  max-width: 100%;
}

/* =========================================
   SITE WRAPPER (Master Background)
========================================= */
.site-shell {
  position: relative;
  background-image: url('images/top.png');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover; 
  min-height: 100vh;
}

/* =========================================
   DESKTOP (COMPUTER) LAYOUT 
========================================= */
.hero-section {
  position: relative;
  background: transparent;
  padding: 0px 20px 10vw; 
  text-align: center;
}

.hero-inner {
  position: relative;
  z-index: 5;
  max-width: 900px;
  margin: 0 auto;
}

.main-logo {
  width: min(450px, 90%); 
  margin: 0 auto 10px;
  filter: drop-shadow(0 10px 20px rgba(11, 60, 104, 0.15));
}

.hero-inner h1 {
  margin: 15px auto 0;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  line-height: 1.3;
  font-weight: 900;
  color: var(--blue-dark);
}

/* Container to keep the bubbles side-by-side */
.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; 
  gap: 15px;
  margin: 15px auto 30px;
}

/* The blue badge style (Now clickable!) */
.badge-blue {
  display: inline-block;
  background: linear-gradient(180deg, #3b8fe2 0%, #1260b0 100%);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(18, 96, 176, 0.2), inset 0 2px 4px rgba(255,255,255,0.3);
  text-decoration: none; /* Added so links don't have underlines */
  transition: transform 0.2s; /* Added smooth animation */
}

/* Added hover effect so users know they are buttons */
.badge-blue:hover {
  transform: translateY(-2px);
}

/* Container to keep the red action buttons perfectly side-by-side */
.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; 
  gap: 20px;
  margin-top: 10px;
}

.btn-red {
  display: inline-block;
  background: linear-gradient(180deg, #f24e50 0%, #d42a2d 100%);
  color: var(--white);
  padding: 16px 45px; 
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(1.2rem, 2vw, 1.5rem); 
  box-shadow: 0 8px 20px rgba(223, 58, 61, 0.3), inset 0 2px 4px rgba(255,255,255,0.4);
  transition: transform 0.2s;
}

.btn-red:hover { transform: translateY(-3px); }

/* The Call/Text link matches the Visit Us button exactly */
.btn-call {
  display: inline-block;
  background: linear-gradient(180deg, #f24e50 0%, #d42a2d 100%);
  color: var(--white);
  padding: 16px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  box-shadow: 0 8px 20px rgba(223, 58, 61, 0.3), inset 0 2px 4px rgba(255,255,255,0.4);
  transition: transform 0.2s;
}

.btn-call:hover { transform: translateY(-3px); }

/* SERVICES */
.services-section {
  position: relative;
  z-index: 10;
  background-color: transparent; 
  margin-top: -5vw; 
  padding-bottom: 100px; 
}

.service-cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  padding: 0 20px;
}

/* Service cards are now clickable links */
.service-card {
  width: 220px; 
  background: var(--white);
  border-radius: 25px;
  box-shadow: var(--shadow-card);
  text-align: center;
  padding: 30px 15px 25px;
  text-decoration: none; /* Prevents underline */
  color: inherit; /* Prevents text turning blue */
  display: block; /* Makes the whole card a single clickable block */
  transition: transform 0.2s, box-shadow 0.2s; /* Smooth animation setup */
}

/* Floating hover effect for the service cards */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(11, 60, 104, 0.15);
}

.service-icon {
  width: 95px;
  height: 95px;
  object-fit: contain;
  margin: 0 auto 15px;
}

.service-card h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--blue-dark);
  font-weight: 900;
}

/* =========================================
   MODAL (POP-UP) STYLES
========================================= */
.modal-overlay {
  display: none; 
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(7, 56, 101, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px); 
}

.modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 25px;
  text-align: center;
  position: relative;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  animation: modalFadeIn 0.3s ease-out forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 2rem;
  color: #a0aec0;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}

.close-btn:hover { color: var(--red); }

.modal-content h2 {
  color: var(--blue-dark);
  margin-top: 0;
  font-weight: 900;
  font-size: 1.8rem;
  margin-bottom: 25px;
}

/* Info Modal Content Styling (For your new popup text) */
.info-content-body {
  text-align: left;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.6;
}

.info-content-body ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.info-content-body li {
  margin-bottom: 8px;
}

.info-content-body p {
  margin-bottom: 15px;
}

.location-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.location-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.location-item strong {
  display: block;
  color: var(--blue-mid);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 5px;
}

/* Map Link Styling */
.map-link {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 600;
  transition: color 0.2s;
  display: inline-block;
}

.map-link:hover {
  color: var(--blue-mid);
  text-decoration: underline;
}

/* =========================================
   IPAD / TABLET LAYOUT 
========================================= */
@media (max-width: 1024px) {
  .hero-section { padding: 0px 20px 140px; } 
  .services-section { margin-top: -60px; } 
}

/* =========================================
   PHONE / MOBILE LAYOUT 
========================================= */
@media (max-width: 767px) {
  .hero-section { padding: 0px 20px 120px; } 
  .main-logo { width: 80%; }
  .services-section { margin-top: -50px; } 
}