/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #333;
}

/* Top Bar */
.top-bar {
  background: #d32f2f;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  font-size: 14px;
}
.top-bar a {
  color: #fff;
  text-decoration: none;
  margin-left: 10px;
}
.top-bar .btn {
  background: #fff;
  color: #d32f2f;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
}

/* Navigation */
nav {
  background: #f9f9f9;
  border-bottom: 2px solid #d32f2f;
}
nav ul.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 10px;
  margin: 0;
}
nav ul.menu li {
  position: relative;
}
nav ul.menu li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 8px 12px;
  display: block;
}
nav ul.menu li a:hover {
  background: #d32f2f;
  color: #fff;
  border-radius: 4px;
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 999;
}
.dropdown-content li {
  border-bottom: 1px solid #ddd;
}
.dropdown-content li a {
  padding: 10px;
  color: #333;
}
.dropdown-content li a:hover {
  background: #d32f2f;
  color: #fff;
}
nav ul.menu li.dropdown:hover .dropdown-content {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul.menu {
    flex-direction: column;
    align-items: flex-start;
  }
  .dropdown-content {
    position: static;
    box-shadow: none;
    min-width: 100%;
  }
}


.banner-slider {
  position: relative;
  max-width: 1400px;   /* Banner width */
  height: 195px;       /* Banner height */
  margin: auto;
  overflow: hidden;
}

.slide {
  display: none;
}

.slide img {
  width: 1400px;       /* Match image width */
  height: 195px;       /* Match image height */
  object-fit: cover;   /* Ensures proper fit */
}

.caption {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px 12px;
  font-size: 16px;
  border-radius: 4px;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 10px;
  color: #fff;
  font-size: 20px;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
}
.prev { left: 10px; }
.next { right: 10px; }

.dots {
  text-align: center;
  position: absolute;
  bottom: 5px;
  width: 100%;
}
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 3px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}
.dot.active {
  background-color: #d32f2f;
}

/* Services */
.services {
  padding: 40px;
  text-align: center;
}
.services .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.services .card {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 6px;
}
.services .card a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.services {
  padding: 40px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 30px;
  margin-top: 20px;
}

.service-item h2 {
  font-size: 20px;
  margin: 0;
}

.service-item h2 a {
  text-decoration: none;
  color: #d32f2f;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
}

.service-item h2 a:hover {
  color: #333;
}

.service-item h2 i {
  font-size: 22px;
  color: #333;
}

/* Responsive: 2 columns on tablets, 1 column on mobile */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}



.why-choose-us {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.why-choose-us h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #d32f2f;
  position: relative;
}

.why-choose-us h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #d32f2f;
  margin: 10px auto 0;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.choose-item {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.choose-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.choose-item i {
  font-size: 40px;
  color: #d32f2f;
  margin-bottom: 15px;
}

.choose-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.choose-item p {
  font-size: 15px;
  color: #666;
}



/* CTA Section */
.cta {
  text-align: center;
  padding: 50px 20px;
  background: #d32f2f;
  color: #fff;
}

.cta h2 {
  margin-bottom: 25px;
  font-size: 24px;
  font-weight: bold;
}

/* Attractive Box Button */
.btn-cta {
  display: inline-block;
  background: #fff;
  color: #d32f2f;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  border: 2px solid #fff;
}

.btn-cta:hover {
  background: #333;
  color: #fff;
  border-color: #333;
  transform: scale(1.05);
}


/* Forms */
form {
  max-width: 600px;
  margin: auto;
  padding: 20px;
}
form input, form select, form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
}
form button {
  background: #d32f2f;
  color: #fff;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 4px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 20px;
}
.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border: 2px solid #ccc;
  border-radius: 6px;
}

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  padding: 20px;
}
.client {
  background: #f4f4f4;
  border: 1px solid #ddd;
  text-align: center;
  padding: 20px;
  font-weight: bold;
  border-radius: 6px;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: #fff;
  padding: 50px 20px;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-column h3 {
  margin-bottom: 15px;
  color: #d32f2f;
  font-size: 18px;
  border-bottom: 2px solid #d32f2f;
  display: inline-block;
  padding-bottom: 5px;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column ul li {
  margin: 8px 0;
}
.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-column ul li a:hover {
  color: #fff;
}
.social-icons a {
  display: inline-block;
  margin-right: 12px;
  font-size: 20px;
  color: #ccc;
  transition: transform 0.3s, color 0.3s;
}
.social-icons a:hover {
  color: #d32f2f;
  transform: scale(1.2);
}
.footer-bottom {
  text-align: center;
  font-size: 14px;
  border-top: 1px solid #555;
  padding-top: 15px;
  color: #aaa;
}
.footer-bottom p {
  margin: 5px 0;
}

footer a {
  color: #ccc !important;        /* force grey instead of blue */
  text-decoration: none !important; /* remove underline */
  transition: color 0.3s ease;
}

footer a:hover {
  color: #d32f2f !important;     /* brand red on hover */
}




/* Admin Tables */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0;
}
table th, table td {
  border: 1px solid #ddd;
  padding: 8px;
}
table th {
  background: #d32f2f;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul.menu {
    flex-direction: column;
    align-items: flex-start;
  }
  .dropdown-content {
    position: static;
    box-shadow: none;
    min-width: 100%;
  }
}

/* Logo */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
nav .logo img {
  height: 60px;
  width: auto;
}
nav ul.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}

.services-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;   /* reduced spacing (was 40px) */
}

.services-images img {
  width: 50%;
  max-width: 695px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Reduce top margin of services section */
.services {
  padding: 20px;     /* was 40px */
  margin-top: 10px;  /* small gap only */
  text-align: center;
}

/* Responsive: stack images on mobile */
@media (max-width: 768px) {
  .services-images {
    flex-direction: column;
    align-items: center;
  }
  .services-images img {
    width: 90%;
    max-width: 100%;
  }
}


.page-section {
  padding: 40px 20px;
  text-align: center;
}

.page-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #d32f2f;
  display: flex;
  justify-content: center;   /* center heading */
  align-items: center;
  gap: 10px;
}

.page-section h2 i {
  color: #333;
  font-size: 30px;
}

/* Enlarged Image */
.page-section .page-image {
  display: block;
  margin: 0 auto 30px;       /* center image */
  width: 80%;                /* enlarge image (relative to container) */
  max-width: 900px;          /* allow bigger size */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* Text with wider margins */
.page-section p {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 80px;           /* increased left & right margin */
  font-size: 17px;
  color: #444;
  line-height: 1.8;
  text-align: justify;
}

.page-section {
  padding: 40px 20px;
  text-align: center;
}

.page-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #d32f2f;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.page-section h2 i {
  color: #333;
  font-size: 30px;
}

.page-section .page-image {
  display: block;
  margin: 0 auto 25px;
  width: 80%;
  max-width: 900px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  cursor: pointer;
}

.page-section p {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 80px;
  font-size: 17px;
  color: #444;
  line-height: 1.8;
  text-align: justify;
}

/* Lightbox effect */
.lightbox img {
  transition: transform 0.3s ease;
}

.lightbox img:hover {
  transform: scale(1.05);
}

.lightbox:target img {
  transform: scale(1.2);
}


.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* always 3 columns */
  gap: 30px;
  margin: 40px auto;
  max-width: 1200px;        /* ensures enough width */
}

.clients-item {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.clients-item:nth-child(1) { animation-delay: 0.1s; }
.clients-item:nth-child(2) { animation-delay: 0.2s; }
.clients-item:nth-child(3) { animation-delay: 0.3s; }
.clients-item:nth-child(4) { animation-delay: 0.4s; }
.clients-item:nth-child(5) { animation-delay: 0.5s; }
.clients-item:nth-child(6) { animation-delay: 0.6s; }
.clients-item:nth-child(7) { animation-delay: 0.7s; }
.clients-item:nth-child(8) { animation-delay: 0.8s; }
.clients-item:nth-child(9) { animation-delay: 0.9s; }
.clients-item:nth-child(10){ animation-delay: 1s; }
.clients-item:nth-child(11){ animation-delay: 1.1s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.clients-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.clients-item i {
  font-size: 36px;
  color: #d32f2f;
  margin-bottom: 15px;
}

.clients-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.clients-item p {
  font-size: 15px;
  color: #666;
}


.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* fixed 3 columns */
  gap: 30px;
  margin: 40px auto;
  max-width: 1200px;
}

.career-item {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.career-item:nth-child(1) { animation-delay: 0.1s; }
.career-item:nth-child(2) { animation-delay: 0.2s; }
.career-item:nth-child(3) { animation-delay: 0.3s; }
.career-item:nth-child(4) { animation-delay: 0.4s; }
.career-item:nth-child(5) { animation-delay: 0.5s; }
.career-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.career-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.career-item i {
  font-size: 36px;
  color: #d32f2f;
  margin-bottom: 15px;
}

.career-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.career-item p {
  font-size: 15px;
  color: #666;
}


.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 10px auto;
  max-width: 1000px;
}

.contact-item {
  background: #fff;
  padding: 1px;
  border-radius: 1px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.contact-item i {
  font-size: 36px;
  color: #d32f2f;
  margin-bottom: 15px;
}

.contact-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.contact-item p {
  font-size: 15px;
  color: #666;
}

/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.contact-form button {
  background: #d32f2f;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #b71c1c;
}


.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* fixed 3 columns */
  gap: 25px;
  margin: 40px auto;
  max-width: 1200px;
}

.about-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.about-item i {
  font-size: 32px;
  color: #d32f2f;
  margin-bottom: 10px;
}

.about-item h3 {
  font-size: 18px;
  color: #333;
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ✅ 3 columns */
  gap: 10px;
  justify-items: center;
}
.thumb {
  width: 225px;
  height: 167px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: transform 0.2s;
}
.thumb:hover { transform: scale(1.05); }

/* Popup */
.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  text-align: center;
}
.popup img {
  max-width: 700px;
  max-height: 518px;
  margin-top: 50px;
  border-radius: 6px;
}
.close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
.nav { margin-top: 20px; }
.nav button {
  background: #ff6600;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  cursor: pointer;
  border-radius: 4px;
}
.nav button:hover { background: #e65c00; }

