/* General Typography */
/* 🌟 Global Styles */
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
}

/* 🎨 Typography */
h1, h2, h3 {
  text-align: center;
  margin-bottom: 10px;
}

h1 { font-size: 1.5rem; font-weight: 600; color: #484AAA; }
h2 { font-size: 1.4rem; font-weight: 500; color: #484AAA; }
h3 { font-size: 1.3rem; font-weight: 400; color: #484AAA; }

p {
  font-size: 1.1rem;
  font-weight: 300;
  color: #555;
  line-height: 1.6;
  text-align: center;
  max-width: 90%;
  margin: 10px auto;
}
.branch-image {
  text-align: center;
  padding: 40px 20px;
}

.branch-image img {
  width: 100%; /* Makes it adapt to screen size */
  max-width: 900px; /* Adjust max width for better scaling */
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
  .branch-image {
    padding: 20px 10px; /* Reduce padding */
  }

  .branch-image img {
    width: 90%; /* Make image slightly smaller */
    max-width: 100%; /* Prevent overflow */
  }
}

@media screen and (max-width: 480px) {
  .branch-image img {
    width: 95%; /* Reduce width slightly on smaller screens */
    border-radius: 5px; /* Softer edges */
  }
}
.services {
  text-align: center;
  padding: 50px 20px;
}

.services h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: start;
}

.service-box {
  background: #fff;
  cursor: pointer;
  padding: 40px 20px 20px; /* Increased top padding to accommodate the icon */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease-in-out;
  position: relative;
  /* Removed overflow: hidden; */
}

.service-box:hover {
  transform: translateY(-5px);
}

.icon-box {
  background: #ee3d8e;
  color: #fff;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 1.5rem;
  position: absolute;
  top: 10px; /* Adjusted to position within the padding area */
  left: 50%;
  transform: translateX(-50%);
}

.service-box h3 {
  margin-top: 60px; /* Adjusted to provide space for the icon */
  font-size: 1.2rem;
  font-weight: bold;
}

.service-box p {
  font-size: 1rem;
  color: #555;
}
/* Hover Effects */
.service-box:hover {
  background-color: #ee3d8e; /* Change service box to pink on hover */
}

.service-box:hover .icon-box {
  background-color: #fff; /* Change icon box to white on hover */
  color: #ee3d8e; /* Change icon color to pink on hover */
}
.service-box:hover h3,
.service-box:hover p {
  color: #fff; /* Change heading and paragraph text to white on hover */
}
/* Responsive Design */
@media (min-width: 768px) {
  .services-container {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* 📌 Sections */
section {
  padding: 20px;
  margin: 20px auto;
  background: #fff;
  max-width: 1000px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


h3 {
  font-family: sans-serif;
  font-size: 1.1rem;
  margin: 10px 0;
}

p {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
}


.map {
  text-align: center;
  padding: 20px;
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: auto;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

/* Responsive for Mobile */
@media screen and (max-width: 768px) {
  .map-container iframe {
    height: 300px; /* Adjust height for smaller screens */
  }
}

@media screen and (max-width: 480px) {
  .map-container iframe {
    height: 250px; /* Even smaller height for mobile */
  }
}


/* 📱 Responsive Design */
@media (max-width: 768px) {
  .branch-banner { height: 40vh; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }
  p { font-size: 1rem; max-width: 95%; }

  .working-hours { padding: 30px 15px; }

  .pink-btn { padding: 10px 16px; font-size: 0.9rem; }

  .services-container { grid-template-columns: 1fr; } /* Single column on small screens */
}
