* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Ovo", Sans-serif;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Header */
header {
  background: #fff;
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Left Logo */
.logo img {
  height: 60px;
}

/* RIGHT GROUP (menu + icons together) */
.right-section {
  display: flex;
  align-items: center;
  gap: 100px;
  /* gap between menu and icons */
}

/* Menu */
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 16px;
}

nav a:hover,
nav a.active {
  /* color: #ff6b35; */
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 18px;
  align-items: center;
}

.social-icons img {
  width: 22px;
  height: 22px;
  filter: invert(20%);
  /* dark icons */
  transition: 0.3s;
}

.social-icons img:hover {
  filter: invert(50%) sepia(70%) hue-rotate(10deg) saturate(500%);
  /* orange hover */
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* About Section */
.about-header {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  text-transform: capitalize;
  color: #000000;
  text-align: left;
  line-height: 1.2;
}

.about {
  padding: 30px 60px;
  background: #f8f8f8;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  /* padding-right: 130px; */
  padding-top: 60px;
}

.about-text {
  font-family: "Syne", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #54595f;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #222;
}

.about-text p {
  margin-block-end: 0.9rem;
  margin-block-start: 0;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: #ff6b35;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s;
  margin-top: 20px;
}

.btn:hover {
  background: #e85a2a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.about-images {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.about-img {
  flex: 1;
  width: auto;
  height: 550px;
  object-fit: cover;
  border-radius: 10px;
}

.about-img:nth-child(2) {
  transform: translateY(-40px);
}

/* Responsive adjustments */
/* Medium screens (tablets and small laptops) */
@media (max-width: 1200px) {
  .about-header {
    font-size: 32px;
  }

  .about {
    padding: 30px 40px;
  }

  .about-content {
    gap: 30px;
  }

  .about-images {
    gap: 15px;
  }

  .about-img {
    height: 450px;
  }

  .about-img:nth-child(2) {
    transform: translateY(-30px);
  }
}

/* Small tablets */
@media (max-width: 992px) {
  .about-header {
    font-size: 28px;
  }

  .about {
    padding: 25px 30px;
  }

  .about-content {
    gap: 25px;
  }

  .about-img {
    height: 380px;
  }

  .about-img:nth-child(2) {
    transform: translateY(-25px);
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .about-header {
    font-size: 2rem;
  }

  .about {
    padding: 20px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-right: 0;
    padding-top: 20px;
  }

  .about-text {
    order: -1;
    /* Place text above images on mobile */
  }

  .about-images {
    flex-direction: column;
    gap: 10px;
  }

  .about-img {
    height: auto;
    max-height: 300px;
  }

  .about-img:nth-child(2),
  .about-img:nth-child(3) {
    display: none;
  }

  .about-img:nth-child(2) {
    transform: none;
  }
}

/* Portfolio Section */
.portfolio {
  padding: 80px 0%;
  background: #fff;
}

.section-header {
  text-align: center;
  /* margin-bottom: 60px; */
}

.section-header::before {
  /* content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: #ff6b35;
    margin: 0 auto 20px; */
}

.section-header h2 {
  font-size: 2.5rem;
  color: #222;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* gap: 30px; */
}

.portfolio-item {
  background-size: cover;
  background-position: center;
  height: 400px;
  /* border-radius: 10px; */
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.portfolio-item:hover {
  transform: translateY(-10px);
}

.portfolio-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.portfolio-item:hover::before {
  opacity: 1;
}

.item-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;

  h2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
}

.portfolio-item:hover .item-content {
  opacity: 1;
}

.item-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.item-content h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 400;
}

.item-content .btn {
  display: inline-block;
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s;
  font-weight: 500;
}

.item-content .btn:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* Mobile Responsive: Always show overlay and text */
@media (max-width: 768px) {
  .portfolio {
    padding: 60px 5%;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item {
    height: 300px;
  }

  .portfolio-item::before {
    opacity: 1;
  }

  .item-content {
    opacity: 1;

    h2 {
      font-size: 1.2rem;
    }

    h4 {
      font-size: 1rem;
      line-height: 1.2;
    }
  }

  /* Optional: Reduce hover effect or disable transform on mobile for better touch feel */
  .portfolio-item:hover {
    transform: none;
  }

  .portfolio-item:active {
    transform: translateY(-5px);
    /* Subtle lift on tap if desired */
  }

  .item-content {
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  .item-content h4 {
    font-size: 1.3rem;
  }

  .item-content h3 {
    font-size: 1.1rem;
  }

  .item-content .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
  .portfolio {
    padding: 40px 5%;
  }

  .portfolio-item {
    height: 250px;
  }

  .item-content {
    bottom: 15px;
    left: 15px;
    right: 15px;
  }

  .item-content h4 {
    font-size: 1.2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }
}

/* Awards Section */
.awards {
  padding: 80px 5%;
  background: #f8f8f8;
  position: relative;
}

.awards h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 50px;
  font-weight: bold;
}

/* Swiper Container */
.carousel-container {
  position: relative;
  max-width: 100%;
  padding: 0 80px;
  /* More space for arrows */
}

.swiper {
  width: 100%;
  padding: 20px 0 40px;
  /* overflow: hidden; */
  /* Allow arrows to be visible outside */
}

.awards {
  /* max-width: 1600px; */
  margin: 0 auto;
  padding: 60px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #333;
  font-weight: bold;
}

/* Main wrapper for carousel with arrows */
.carousel-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 80px;
  /* Space for arrows */
}

/* Container that will have overflow hidden */
.carousel-container {
  overflow: hidden;
  width: 100%;
}

/* Award Cards */
.award-card {
  /* background: #fff; */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
  height: 100%;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  /* height: 350px; */
}

.award-card:hover {
  transform: scale(1.05);
}

.award-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.award-card h3 {
  font-size: 1rem;
  color: #333;
  font-weight: bold;
  margin-bottom: 10px;
  min-height: 48px;
}

.award-card .year,
.award-card .medals {
  color: #272727;
  font-size: 0.85rem;
  font-weight: bolder;
}

/* Navigation Buttons - OUTSIDE carousel-container */
.swiper-button-prev,
.swiper-button-next {
  color: #000;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 1.5rem;
  font-weight: bold;
}

.swiper-button-prev {
  left: 0;
}

.swiper-button-next {
  right: 0;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: #ff6b35;
  color: #fff;
}

/* Pagination */
.swiper-pagination {
  bottom: -40px !important;
  position: relative;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #999;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #ff6b35;
}

/* Responsive Adjustments */
@media (max-width: 1400px) {
  .carousel-wrapper {
    padding: 0 70px;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .about-text {
    text-align: center;
    margin-bottom: 40px;
  }
  .about-header {
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .carousel-wrapper {
    padding: 0 60px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 45px;
    height: 45px;
  }

  .swiper-button-prev:after,
  .swiper-button-next:after {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .awards {
    padding: 50px 15px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .carousel-wrapper {
    padding: 0 50px;
  }

  .award-card {
    padding: 25px;
  }

  .award-card img {
    width: 100px;
    height: 100px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 40px;
    height: 40px;
  }

  .swiper-button-prev:after,
  .swiper-button-next:after {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .carousel-wrapper {
    padding: 0 45px;
  }

  .carousel-container {
    padding: 0px 0px !important;
  }

  .carousel-container .award-card {
    padding: 20px;
  }

  .award-card img {
    width: 90px;
    height: 90px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 35px;
    height: 35px;
  }

  .swiper-button-prev:after,
  .swiper-button-next:after {
    font-size: 1rem;
  }
}

/* Services Section with Accordion */
.services {
  padding: 80px 5%;
  margin: 0 auto;
}

.accordion-item {
  background: #f8f8f8;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  padding: 20px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 25px;
  font-weight: 600;
  color: #333;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: #efefef;
}

.accordion-header::after {
  content: "▼";
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: #000000;
}

.accordion-header.active::after {
  transform: rotate(180deg);
}

.accordion-header.active {
  background: #e0e0e0;
  /* slightly darker */
  color: #000;
  /* optional */
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content-inner {
  padding: 30px;
  color: #666;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.accordion-content-inner .text {
  flex: 1;
}

.accordion-content-inner p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.accordion-content-inner .btn {
  display: inline-block;
  background: #ff6b35;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.3s;
}

.accordion-content-inner .btn:hover {
  background: #e55a2b;
}

.accordion-content-inner img {
  flex: 1;
  width: 100%;
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

/* For non-image items (others) */
.accordion-content-inner.no-image {
  display: block;
}

.accordion-content.active {
  max-height: 500px;
  /* Adjust based on content */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .services {
    padding: 60px 3%;
  }

  .section-header h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .accordion-header {
    font-size: 1.2rem;
    padding: 15px 20px;
  }

  .accordion-content-inner {
    padding: 20px;
    flex-direction: column;
    gap: 20px;
  }

  .accordion-content-inner img {
    height: 200px;
    order: -1;
    /* Image on top in mobile */
  }

  .accordion-content.active {
    max-height: 600px;
  }
}

/* brands */

.brands {
  padding: 40px 0;
}

.brands img {
  height: 100px;
  padding: 10px 40px;
  object-fit: contain;
}

.infinite-row {
  overflow: hidden;
  width: 100%;
  margin: 25px 0;
}

.infinite-track {
  display: flex;
  width: max-content;
  animation: scroll-left 80s linear infinite;
}

.reverse .infinite-track {
  animation: scroll-right 80s linear infinite;
}

/* Left scroll */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Right scroll */
@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* MOBILE — ONLY SPEED CHANGE */
@media (max-width: 768px) {
  .brands img {
    height: 75px;
    padding: 10px 20px;
  }

  .infinite-track {
    animation-duration: 40s !important;
    /* Faster */
  }

  .reverse .infinite-track {
    animation-duration: 40s !important;
    /* Faster */
  }
}

/* Testimonials Section */
.testimonials {
  padding: 80px 5%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../assetes/Clientssay.JPG") center/cover no-repeat fixed;
  color: #fff;
  position: relative;
}

.section-header h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: bold;
  /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
}

/* Swiper Container */
.carousel-container {
  position: relative;
  width: 100%;
  /* max-width: 1400px; */
  margin: 0 auto;
  padding: 0 60px;
}

.testimonials-swiper {
  width: 100%;
  padding: 20px 0 60px;
}

/* Testimonial Cards */
.testimonial-card {
  background: rgba(255, 255, 255, 0.12);
  padding: 30px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
  height: auto;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.18);
}

.stars {
  color: #ffd700;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
  flex-grow: 1;
}

.testimonial-author {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.testimonial-role {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
  .carousel-container {
    padding: 0 50px;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 60px 5%;
  }

  .section-header h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: none;
  }

  .carousel-container {
    padding: 0 40px;
  }

  .testimonial-card {
    padding: 25px;
  }

  .testimonial-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    padding: 0 35px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-card p {
    font-size: 0.85rem;
  }

  .testimonial-author {
    font-size: 1rem;
  }

  .testimonial-role {
    font-size: 0.85rem;
  }
}

/* Footer */
footer {
  background: #fff;
  color: #7a7a7a;
  padding: 60px 5%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: #000000;
}

.footer-section p,
.footer-section a {
  color: #222222;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #000000;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 0;
  /* remove default gaps */
}

.footer-links a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  padding: 0 10px;
  position: relative;
  font-size: 14px;
}

.footer-links a:not(:last-child)::after {
  content: "|";
  margin-left: 10px;
  color: rgb(0, 0, 0);
  opacity: 0.7;
}

/* ================================
      MOBILE RESPONSIVE (≤768px)
================================ */
@media (max-width: 768px) {
  /* Sidebar Mobile Styles */
  .right-section {
    position: fixed;
    left: -100%;
    top: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    box-sizing: border-box;
    transition: left 0.3s ease;
    z-index: 1000;
    gap: 2rem;
  }

  .right-section.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  nav li {
    width: 100%;
    text-align: left;
  }

  .social-icons {
    margin-top: auto;
    width: 100%;
    justify-content: flex-start;
  }

  .hamburger {
    display: flex;
  }

  header {
    padding: 15px;
  }

  .logo img {
    max-width: 150px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  /* --------------------------
          ABOUT SECTION 
    --------------------------- */

  .about {
    padding: 20px 20px;
  }

  .about-header {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: left;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-right: 0;
    padding-top: 20px;
  }

  .about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: left;
  }

  .about-text p {
    font-size: 15px;
    line-height: 1.6em;
    text-align: left;
  }

  .btn {
    display: block;
    margin: 20px auto 0;
    width: fit-content;
  }

  .about-images {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .about-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
  }

  .about-img:nth-child(2) {
    transform: translateY(0);
    /* Reset the offset */
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portfolio-item {
    height: 300px;
  }

  .item-content {
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  .item-content h3 {
    font-size: 1.1rem;
  }

  .item-content h4 {
    font-size: 1.3rem;
  }

  /* Footer & Other Sections */
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}
