* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  background-color: #1a1a1a;
  color: #ffffff;
  overflow-x: hidden;
}

header {
  width: 100%;
  padding: 20px 0;
  z-index: 100;
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: nowrap; /* Prevent wrapping */
}

.logo {
  flex: 0 0 auto; /* Don't grow or shrink */
  z-index: 101;
}

.logo img {
  width: auto;
  width: 60px;
  height: 60px;
}

nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1 0 auto; /* Allow to grow but not shrink */
}

.menu {
  display: flex;
  list-style: none;
  margin-right: 20px;
  flex-wrap: nowrap; /* Prevent wrapping */
}

.menu li {
  margin-left: 30px;
}

.menu li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  position: relative;
  transition: all 0.3s ease;
}

.menu li a:hover {
  color: #f7d046;
}

.menu li a.active {
  color: #f7d046;
}

.menu li a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #f7d046;
}

.slider {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.slider.half-height {
  height: 35vh;
  min-height: 300px;
}
.slider.half-height .slide-title {
  font-size: 36px;
}
.slider.half-height .slide-subtitle {
  font-size: 16px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.slide-content:before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  right: -50px;
  bottom: -50px;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
  border-radius: 10px;
  filter: blur(20px);
}

.slide-title {
  font-size: 96px;
  font-weight: bold;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeUp 1s ease forwards 0.3s;
}

.slide-subtitle {
  font-size: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards 0.6s;
}

.slide-subtitle:after {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background-color: #f7d046;
  margin: 15px auto 0;
}

.slider-controls {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: #f7d046;
  transform: scale(1.3);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.yellow-accent {
  color: #f7d046;
}

/* Service Categories Section */
.service-categories-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0px;
  margin-top: -37px;
  margin-bottom: -85px;
  z-index: 20;
}

.service-categories {
  display: flex;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: white;
}

.service-category {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  text-decoration: none;
  height: 130px;
}

.service-category:hover {
  opacity: 0.9;
}

.service-category:nth-child(1) {
  background-color: #000000;
  color: #fff;
}

.service-category:nth-child(2) {
  background-color: #ffd000;
  color: #000;
}

.service-category:nth-child(3) {
  background-color: #ffe466;
  color: #000;
}

.service-category:nth-child(4) {
  background-color: #fff0b3;
  color: #000;
}

.service-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 0;
  margin-right: 15px;
}

.service-category:nth-child(1) .service-icon {
  background-color: #ffd000;
}

.service-category:nth-child(2) .service-icon,
.service-category:nth-child(3) .service-icon,
.service-category:nth-child(4) .service-icon {
  background-color: #000;
}

.service-icon span {
  color: #ffd000;
  font-size: 24px;
  font-weight: bold;
}

.service-category:nth-child(1) .service-icon span {
  color: #000;
}

.service-title {
  font-size: 24px;
  font-weight: bold;
}

/* About Us Section */
.about-section {
  padding: 150px 0;
  background-color: #fff;
  color: #000;
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-content {
  flex: 0 0 60%;
}

.about-heading {
  font-size: 48px;
  margin-bottom: 30px;
  position: relative;
}

.about-heading:before {
  content: "";
  position: absolute;
  left: 0;
  top: 30px;
  width: 100px;
  height: 3px;
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background-color: #f7d046;
  color: #000;
}

.read-more-btn .arrow {
  margin-left: 10px;
}

.years-badge {
  flex: 0 0 auto;
  position: relative;
  text-align: center;
  margin: 10px;
}

.years-number {
  position: absolute;
  font-size: 200px;
  font-weight: bold;
  line-height: 1;
  z-index: 2;
  top: 50%;
  left: 50%;
  margin-top: -150px;
  margin-left: -50px;
}

.years-text {
  position: absolute;
  font-size: 80px;
  font-weight: bold;
  z-index: 2;
  top: 50%;
  left: 50%;
  margin-top: 10px;
  margin-left: -100px;
}

.years-diamond {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 10px solid #ffd700;
  transform: rotate(45deg);
  z-index: 1;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  margin-left: -100px;
}

/* Mobile menu */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000; /* Ensure it's above other elements */
}

/* Section Titles - From index.html */
.section-title {
  display: flex;
  align-items: center;
  margin: 50px 0 30px 90px;
}

.section-title h2 {
  font-size: 1.8rem;
  margin-left: 15px;
  font-weight: 500;
  color: #fff;
}
/* .section-title1 {
  display: flex;
  align-items: center;
  margin: 50px 0 30px 90px;
}
.section-title1 h2 {
  font-size: 1.8rem;
  margin-left: 10px;
  font-weight: 500;
  color: rgb(0, 0, 0);
}
.section-title1::before {
  content: '';
  margin-left: -210px;
  display: block;
  width: 150px;
  height: 2px;
  background-color: #ffd700;
} */

.section-title::before {
  content: "";
  display: block;
  width: 150px;
  height: 2px;
  background-color: #ffd700;
}

/* Gallery Section - From index.html */
.gallery-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  background-color: #000;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(9, 50px);
  gap: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
  border: none;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-1 {
  grid-column: 1 / 7;
  grid-row: 1 / 7;
}

.item-2 {
  grid-column: 7 / 10;
  grid-row: 1 / 3;
}

.item-3 {
  grid-column: 10 / 13;
  grid-row: 1 / 3;
}

.item-4 {
  grid-column: 7 / 10;
  grid-row: 3 / 5;
}

.item-5 {
  grid-column: 10 / 13;
  grid-row: 3 / 5;
}

.item-6 {
  grid-column: 7 / 13;
  grid-row: 5 / 9;
}

.item-7 {
  grid-column: 1 / 3;
  grid-row: 7 / 9;
}

.item-8 {
  grid-column: 3 / 5;
  grid-row: 7 / 9;
}

.item-9 {
  grid-column: 5 / 7;
  grid-row: 7 / 9;
}

/* Services Section - From index.html */
.services-section {
  padding: 50px 200px;
  max-width: 100%;
  margin: 0 auto;
  background-color: #fff;
  color: #000;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 20px;
}

/* Title and Contact blocks */
.service-title-block {
  background-color: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.service-title-text {
  display: flex;
  align-items: center;
}

.service-title-text::before {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background-color: #ffd700;
  margin-right: 15px;
}

.service-title-block h2 {
  font-size: 2rem;
  font-weight: 600;
}

.contact-block {
  background-color: #000;
  color: #ffd700;
  text-align: left;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-block h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-block p {
  font-size: 1.6rem;
  line-height: 1.4;
}

/* Flip Cards */
.flip-card {
  perspective: 1000px;
  width: 100%;
  height: 100%;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.flip-card-front {
  background-color: #ffd700;
  color: #000;
}

.flip-card-back {
  background-color: #ffd700;
  color: #000;
  transform: rotateY(180deg);
  text-align: center;
}

.flip-card-back h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.flip-card-back p {
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.card-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.icon-img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.6rem;
  font-weight: 600;
}

.learn-more-btn {
  background-color: #000;
  color: #ffd700;
  border: none;
  padding: 10px 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.learn-more-btn:hover {
  background-color: #333;
}

/* Image Preview Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Add this line */
}

.modal-content {
  max-width: 80%;
  max-height: 80%;
  overflow: hidden; /* Add this line */
}

.modal-content img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 600px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Navigation controls */
.nav-controls {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.nav-btn {
  background-color: #333;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.nav-btn:hover {
  background-color: #555;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
  }

  .about-content {
    flex: 0 0 100%;
    margin-bottom: 50px;
  }

  .years-experience {
    flex: 0 0 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: row; /* Keep flex direction as row */
  }

  .menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    padding: 20px 0;
    z-index: 999;
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    margin: 10px 20px;
  }

  .menu-btn {
    display: block;
    z-index: 1000;
  }

  .slide-title {
    font-size: 60px;
  }

  /* Service Categories - Mobile version */
  .service-categories {
    flex-direction: column;
  }

  .service-category {
    padding: 25px 20px;
  }

  .service-categories-container {
    margin-top: -50px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(9, auto);
  }

  .item-1,
  .item-2,
  .item-3,
  .item-4,
  .item-5,
  .item-6,
  .item-7,
  .item-8,
  .item-9 {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Responsive styles for footer */
@media (max-width: 992px) {
  .footer-logo-section {
    flex: 0 0 100%;
    text-align: center;
  }

  .footer-links {
    flex: 0 0 100%;
  }
}

@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
  }

  .footer-column {
    flex: 0 0 100%;
  }

  .footer-heading {
    text-align: center;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-menu,
  .footer-contact {
    text-align: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* Updated Footer Styles */
.footer-section {
  background-color: #1a1a1a;
  color: #fff;
  padding: 70px 0 0;
  margin-top: 70px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
}

.footer-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 16px;
  color: #aaa;
  margin-bottom: 30px;
}

.footer-heading {
  font-size: 20px;
  color: #f7d046;
  margin-bottom: 25px;
  position: relative;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 40px;
  height: 2px;
  background-color: #f7d046;
  transform: translateX(-50%);
}

.footer-contact {
  list-style: none;
  text-align: center;
}

.footer-contact li {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ccc;
}

.contact-icon {
  margin-right: 10px;
  min-width: 20px;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  justify-content: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #333;
  color: #f7d046;
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #f7d046;
  color: #000;
}

.footer-bottom {
  background-color: #111;
  padding: 20px 0;
  text-align: center;
  margin-top: 30px;
}

.footer-bottom p {
  color: #666;
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-section {
    padding: 40px 0 70px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  width: auto;
  height: 60px;
  bottom: 40px;
  left: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float span {
  font-size: 16px;
  margin-left: 10px;
  font-weight: bold;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: white;
}

/* Mobile adjustments for WhatsApp button */
@media screen and (max-width: 768px) {
  .whatsapp-float {
    width: 60px;
    height: 60px;
    bottom: 100px;
    left: 10px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float i {
    margin: 0;
  }
}
