/* General Styles */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  color: #333;
  background-color: #f9f9f9;
}

/* Header Section */
header {
  background-color: #f1f837;
  color: #efe5e5;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px; /* Fixed header height */
}



/* Navigation Styling */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #FFD700;
}

/* Hero Section */
.hero {
  background-image: url('photos/index2.jpg'); /* Ensure the correct path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 150px 5%;
}

.hero h1 {
  font-size: 3.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Button Styling */
.btn {
  background-color: #f4a70e;
  color: #333;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #f4a70e;
}

/* Responsive Hero Section */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 80px 5%;
  background-color: #F8F9FA;
  text-align: center;
}

.benefits-container {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
}

.benefit {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 30%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.benefit h3 {
  color: #1F2937;
}

/* Responsive for Smaller Screens */
@media (max-width: 768px) {
  .benefits-container {
    flex-direction: column;
    gap: 20px;
  }
  .benefit {
    width: 100%;
  }
}

/* Testimonials Section */
.testimonials {
  background-color: #FFF8E1;
  padding: 80px 5%;
  text-align: center;
}

.testimonial-card {
  background-color: #fff;
  padding: 30px;
  margin: 20px auto;
  max-width: 600px;
  border-left: 5px solid #FFD700;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.testimonial-card span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

/* Call to Action Section */
.cta {
  background-color: #1F2937;
  color: #fff;
  text-align: center;
  padding: 100px 5%;
}

.cta h2 {
  font-size: 2.8rem;
}

.cta p {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.cta .btn {
  background-color: #FFD700;
}

/* Responsive for CTA Section */
@media (max-width: 768px) {
  .cta h2 {
    font-size: 2.2rem;
  }
  .cta p {
    font-size: 1.1rem;
  }
}

/* Footer Section */
footer {
  background-color: #1F2937;
  color: #fff;
  text-align: center;
  padding: 20px;
}

footer a {
  color: #f4a70e;
  text-decoration: none;
}

footer a:hover {
  color: #f4a70e;
}


/* Projects Section */
.projects-section {
  text-align: center;
  padding: 50px 5%;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Project Card */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Hover Zoom Effect */
.project-card:hover img {
  transform: scale(1.1);
}

/* Overlay with Project Details */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show Overlay on Hover */
.project-card:hover .overlay {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10;
  padding-top: 60px;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 900px;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}



/* Services Section */
.services-section {
  padding: 80px 5%;
  background-color: #F9F9F9;
  text-align: center;
}

.services-section h2 {
  color: #2C3E50;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.services-section p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
}

/* Service Container for Vertical Layout */
.service {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FFF;
  padding: 40px;
  border-radius: 8px;
  border: 2px solid #007b83;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  margin-bottom: 40px;
}

/* Image Styling */
.service img {
  width: 350px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 30px;
}

/* Text Styling */
.service-text {
  flex: 1;
  text-align: left;
}

.service h3 {
  color: #007b83;
  font-size: 1.8rem;
}

.service p {
  font-size: 1rem;
  color: #555;
  margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .service {
    flex-direction: column;
    text-align: center;
  }

  .service img {
    margin-bottom: 20px;
    width: 100%;
    height: auto;
  }

  .service-text {
    text-align: center;
  }
}


/* About Us Section */
.about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 5%;
  background-color: #F9F9F9;
}

.about-content {
  flex: 1;
  max-width: 600px;
}

.about-content h2 {
  font-size: 2.5rem;
  color: #2C3E50;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Logo Section */
.about-logo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-logo img {
  width: 550px;
  height: auto;
  max-width: 100%;
}

/* Responsive Design */
@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }

  .about-logo img {
    width: 300px;
  }
}



/* Footer */
footer {
  background-color: #2C2C2C;
  color: #F5F5F5;
  text-align: center;
  padding: 20px;
}

/* Footer Styling */
footer {
  background-color: #2C2C2C;
  color: #F5F5F5;
  text-align: center;
  padding: 20px;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* Contact Section */
.contact-section {
  padding: 80px 5%;
  background-color: #F5F5F5;
}

.contact-section h2 {
  color: #2C2C2C;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-section p {
  font-size: 1.2rem;
  color: #555;
}

.contact-details h3 {
  margin-top: 30px;
  color: #466A7C;
}

.contact-details p {
  margin: 10px 0;
}

.contact-details a {
  color: #D4A373;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Responsive Map */
iframe {
  border-radius: 10px;
  margin-top: 20px;
}


/* Background with Image */
.page-background {
  background-image: url('photos/backgroundforwebpages.jpg'); /* Ensure correct path */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  color: #333;
  padding: 80px 5%;
  min-height: 100vh;
  position: relative;
}

/* Optional: Overlay to make text more readable */
.page-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7); /* Adjust opacity if needed */
  z-index: 0;
}

/* Ensures content remains above the overlay */
.page-content {
  position: relative;
  z-index: 1;
}

/* Contact Details Styling */
.contact-details h3 {
  color: #2C3E50;
}

.contact-details a {
  color: #007bff;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 600px) {
  .page-background {
    padding: 40px 3%;
  }
}


.projects-section {
  text-align: center;
  padding: 50px 5%;
  padding-bottom: 100px; /* Add space to prevent overlap */
}


/* phone*/
/* Basic Reset for Consistent Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

/* Body and HTML Setup */
body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Header Styling */
header {
  background-color: #002b5b;
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-size: 24px;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #00aaff;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

/* Section Styling */
section {
  padding: 60px 20px;
}

/* About Section */
.about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-logo img {
  width: 150px;
  margin-top: 20px;
}

/* Contact Section */
.contact-section iframe {
  border-radius: 8px;
}

/* Projects Section */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 100px;
}

.project-container {
  position: relative;
  overflow: hidden;
}

.project-container img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s;
}

.project-container:hover img {
  transform: scale(1.05);
}

/* Project Legends */
.project-legend {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-container:hover .project-legend {
  opacity: 1;
}

/* Responsive Adjustments for Projects */
@media (max-width: 768px) {
  .project-gallery {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 480px) {
  .project-gallery {
    grid-template-columns: 1fr;
  }
  .project-legend {
    font-size: 12px;
  }
}

/* Footer Styling */
footer {
  background-color: #002b5b;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Fix Footer Overlap */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto;
}



/* Header Section */
header {
  background-color: #f4a70e; /* Cream color */
  color: #000; /* Black text for contrast */
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul li a {
  color: #000; /* Black for the navigation links */
}

nav ul li a:hover {
  color: #555; /* Subtle dark grey hover effect */
}


/* Footer Section */
footer {
  background-color: #f4a70e; /* Cream color */
  color: #000; /* Black text for contrast */
  text-align: center;
  padding: 20px;
}

footer a {
  color: #000; /* Black color for links */
  text-decoration: none;
}

footer a:hover {
  color: #555; /* Dark grey hover effect */
} 



/* Basic navbar styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #333;
    padding: 15px 20px; /* Increased padding for more height */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* Default desktop view: Horizontal layout */
.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px;
}

/* Hide menu on mobile, show hamburger icon */
.menu-icon {
    display: none;
    font-size: 35px; /* Increased size */
    color: white;
    cursor: pointer;
}

