/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Layout 
body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}*/

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/background.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.1; /* adjust this value for desired transparency */
  z-index: -1;
}


.logo img {
  height: 70px;
  vertical-align: middle;
}

header {
  display: flex;
  position: fixed;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 5px 40px;
  background-color: #002f4b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding: 15px 30px;
  font-family:Constantia;
  color: white;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.changing-background {
  transition: background-image 1s ease-in-out;
}

.hero-text h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
}

section {
  padding: 3em 2em;
}

h1 {
  text-align: center;
  margin-bottom: 0.5em;
  color: #003366;
}

h2 {
  text-align: center;
  margin-bottom: 1.5em;
  color: #003366;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5em;
}

.services-section-wrapper {
  position: relative;
  overflow: hidden;
}

.services-section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("images/background.gif") center center/cover;
  opacity: 0.3; /* Adjust for how visible you want the gif */
  background-repeat: repeat;
  z-index: 0;
  pointer-events: none; /* Allows clicks through the overlay */
}

.services-section {
  position: relative;
  padding: 60px 30px;
  z-index: 1;
  color: #002f4b;
  text-align: center;
}

.services-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #002f4b;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.service-box {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px);
}

.service-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.service-box h3 {
  margin: 15px 0 10px;
  font-size: 1.2rem;
  color: #002f4b;
}

.service-box p {
  font-size: 0.95rem;
  color: #555;
  min-height: 60px;
}

.service-box a {
  display: inline-block;
  margin-top: 10px;
  color: #004c7d;
  font-weight: 500;
  text-decoration: none;
}

.service-box a:hover {
  text-decoration: underline;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background-color: #002f4b;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.read-more:hover {
  background-color: #004c7d;
}

footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 1em;
  margin-top: 2em;
}

.home-about {
  padding: 60px;
  background-color: #f7f7f7;
  font-size: 1.1em;
  color: #333;
  align-items: center;
  text-align: center;
}

.home-about .content {
  max-width: 1500px;
  margin: auto;
  line-height: 1.6;
}

.home-about .content .back-box {
  background-color: #0056a3;  /* Blue box */
  color: white;
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.home-about .content .back-box h1 {
  margin-top: 0;
  font-size: 2rem;
  color: white;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 2000px;
  margin: auto;
  gap: 40px;
  background-color: 9ce1f3;
  text-align: center;
}

.about-image {
  flex: 1 1 45%;
}

.about-image img {
  width: 80%;
  max-width: 80%;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.about-text {
  flex: 1 1 50%;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #002f4b;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #444;
  line-height: 1.6;
}

.location-section {
  padding: 60px 30px;
  background-color: #f4f9ff;
  text-align: center;
}

.location-section p {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.location-section h2 {
  font-size: 2rem;
  color: #002f4b;
  margin-bottom: 20px;
}

.map-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.location-details {
  padding: 60px 30px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-item {
  background-color: #f4f9ff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.grid-item h3 {
  margin-bottom: 15px;
  color: #002f4b;
}

.grid-item p {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #333;
}

.content-img {
  width: 100%;
  margin: 1%;
  border-radius: 8px;
}

.contact-section {
  padding: 80px 30px;
  text-align: center;
  background-size: cover;

}

.contact-section h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 10px;
}

.contact-section p {
  font-size: 1rem;
  color: black;
  margin-bottom: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  max-width: 1200px;
  margin-right: 50px;
  text-align: center;
}

.contact-info p {
  margin: 10px 0;
}

.map-box iframe {
  width: 100%;
  height: 300px;
  border-radius: 8px;
}

.contact-top-banner {
  width: 100%;
  height: 60vh; /* Full screen height */
  background-image: url('images/con.webp'); /* update with correct path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-banner-content {
  color: white;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4); /* Optional dark overlay */
  padding: 20px 40px;
  border-radius: 10px;
}

.contact-banner-content h1 {
  font-size: 3rem;
  margin: 0;
  color: white;
}

