/* Base Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #111;
}

h1, h2, h3, p {
  margin: 0.5em 0;
}

/* Header */
header {
  background: url('../images/background/hero.jpg') center/cover no-repeat;
  color: white;
  padding: 1em;
  text-align: center;
}
header h1:first-of-type {
  font-size: 3.7rem;
  text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.6);
}
header h1:last-of-type {
  font-size: 3.5rem;
  text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.6);
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  list-style: none;
  padding: 0;
  justify-content: center;
}

nav a {
  color: white;
  text-decoration: none;
}



/* Hero Section */
.hero {
  padding: 5em 2em;
  background-color: #1e3a5f;
  color: whitesmoke;
  text-align: center;
}

.cta {
  display: inline-block;
  padding: 0.75em 1.5em;
  background-color: #ff8c00;
  color: white;
  text-decoration: none;
  margin-top: 1em;
  border-radius: 5px;
}
/* === TILE CONTAINER === */
.service-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* === INDIVIDUAL TILES === */
.tile {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* === TILE IMAGES === */
.tile img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* === TILE HEADINGS === */
.tile h3 {
  font-size: 1.3rem;
  color: #1a1a1a;
  margin-bottom: 10px;
}

/* === TILE TEXT === */
.tile p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

/* === TILE BUTTONS === */
.tile-btn {
  display: inline-block;
  padding: 10px 18px;
  background-color: #f4b400;
  color: #1a1a1a;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.tile-btn:hover {
  background-color: #d99e00;
}

/* === RESPONSIVE TWEAKS === */
@media (max-width: 768px) {
  .service-tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .service-tiles {
    grid-template-columns: 1fr;
  }
}


/* Top Slideshow Section */
.slide {
  display: none;
  width: 100%;
  height: auto;
}

.slide.active {
  display: block;
}

.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 800px;
  margin: auto;
  overflow: hidden;
}

.top-slide {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
}

.top-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-slide.active {
  display: block;
}

/* Portfolio Section */
.portfolio {
  padding: 2em 1em;
  background-color: #f0f0f0;
}

.project-gallery {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.carousel img {
  width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
  object-fit: cover;
}

#auto-gallery a {
  display: none;
  text-align: center;
}

#auto-gallery a.active {
  display: block;
  margin: 0 auto;
}

#auto-gallery img {
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  margin-top: 1em;
}

.project-section {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  text-align: center;
}

.project-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.project-description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Responsive video container */
video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  video {
    max-width: 95%;
    border-radius: 10px;
  }
}




/* Contact Form */
.contact {
  max-width: 600px;
  margin: 2em auto;
  padding: 1em;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact h2 {
  text-align: center;
  color: #1e3a5f;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.contact label {
  font-weight: bold;
}

.contact input,
.contact textarea {
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  width: 100%;
}

.contact button {
  background-color: #1e3a5f;
  color: white;
  padding: 0.75em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.contact button:hover {
  background-color: #16314a;
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5em;
  }

  .cta {
    padding: 0.5em 1em;
    font-size: 0.9em;
  }

  .slideshow-container {
    height: 180px;
  }

  #auto-gallery img {
    width: 90%;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 1em;
  background-color: #1e3a5f;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 2em 1em;
  }

  .slideshow-container {
    height: 250px;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5em;
  }

  #auto-gallery img {
    width: 80%;
  }
}
.social-links {
  margin-top: 1em;
  display: flex;
  justify-content: center;
  gap: 1em;
}

.social-links a img {
  width: 24px;  /* smaller size */
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.social-links a:hover img {
  transform: scale(1.2);
}

