/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background: #fff;
  padding: 1rem 1rem;
}

 Dropdown container 
.nav-links li.dropdown {
  position: relative;
}

 Hide dropdown menu by default 
.nav-links li.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 999;
}

Dropdown menu items 
.nav-links li.dropdown .dropdown-menu li {
  border-bottom: 1px solid #eee;
}

.nav-links li.dropdown .dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.nav-links li.dropdown .dropdown-menu li a:hover {
  background-color: #f5f5f5;
}

Show dropdown on hover (desktop) 
.nav-links li.dropdown:hover .dropdown-menu {
  display: block;
}

 Mobile dropdown toggle 
.nav-links li.dropdown.active .dropdown-menu {
  display: block;
}


h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto 20px;
}

.carousel-track {
  display: flex;
  transition: transform 0.8s ease;
}

.carousel-item {
  flex: 0 0 25%;
  margin: 0 10px;
  transition: transform 0.8s ease, opacity 0.8s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  opacity: 0.5;
  transform: scale(0.8);
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s;
}

.active {
  transform: scale(1.1);
  opacity: 1;
  z-index: 2;
}

.project-sec {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: 2.5rem;
}

.pro-title {
  font-size: 2rem;
  
}

.pro-title ::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 3px;
  background: #ff5733;
}
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  z-index: 2;
  transition: background 0.3s;
}
.arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}
.arrow-left {
  left: 10px;
}
.arrow-right {
  right: 10px;
}

.carousel-description {
  text-align: center;
  font-size: 1.2rem;
  color: #333;
  min-height: 1.5em;
  margin-top: 1rem;
  transition: opacity 0.4s;
}

Responsive adjustments 
@media (max-width: 1024px) {
  .carousel-item {
    flex: 0 0 33%;
  }
}
@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 50%;
  }
}
@media (max-width: 480px) {
  .carousel-item {
    flex: 0 0 80%;
  }
} */

/* responsive css of projects page */

/* ------------------------------
   Global Reset
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background: #fff;
  /* padding: 1rem; */
}

/* ------------------------------
   Dropdown Menu
------------------------------ */
.nav-links li.dropdown {
  position: relative;
}

/* Hide dropdown menu by default */
.nav-links li.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

/* Dropdown menu items */
.nav-links li.dropdown .dropdown-menu li {
  /* border-bottom: 1px solid #eee; */
}
.nav-links li.dropdown .dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}
.nav-links li.dropdown .dropdown-menu li a:hover {
  background-color: #f5f5f5;
}

/* Show dropdown on hover (desktop) */
.nav-links li.dropdown:hover .dropdown-menu {
  display: block;
}

/* Mobile dropdown toggle */
.nav-links li.dropdown.active .dropdown-menu {
  display: block;
}

/* ------------------------------
   Carousel / Projects
------------------------------ */
/* .carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto 20px;
}

.carousel-track {
  display: flex;
  transition: transform 0.8s ease;
}

.carousel-item {
  flex: 0 0 25%;
  margin: 0 10px;
  transition: transform 0.8s ease, opacity 0.8s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  opacity: 0.5;
  transform: scale(0.8);
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s;
}

.active {
  transform: scale(1.1);
  opacity: 1;
  z-index: 2;
}

.project-sec {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: 2.5rem;
}

.pro-title {
  font-size: 34px;
  position: relative;
 
}


.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  z-index: 2;
  transition: background 0.3s;
}
.arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}
.arrow-left {
  left: 10px;
}
.arrow-right {
  right: 10px;
}

.carousel-description {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #333;
  min-height: 1.5em;
  margin-top: 1rem;
  transition: opacity 0.4s;
} */

/* ------------------------------
   Responsive adjustments
------------------------------ */
/* @media (max-width: 1024px) {
  .carousel-item {
    flex: 0 0 33%;
  }
}

@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 50%;
  }
  .arrow {
    font-size: 1.5rem;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    flex: 0 0 80%;
    margin: 0 5px;
  }
  .arrow-left {
    left: 5px;
  }
  .arrow-right {
    right: 5px;
  }
  .pro-title {
    font-size: 1.5rem;
  }
  .carousel-description {
    font-size: 1rem;
  }
} */

.carousel {
  padding: 2rem;
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto 20px;
}

.carousel-track {
  display: flex;
  transition: transform 0.8s ease;
}

.carousel-item {
  flex: 0 0 25%; /* Desktop default */
  margin: 0 10px;
  transition: transform 0.8s ease, opacity 0.8s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  opacity: 0.7;
  transform: scale(0.8);
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 100%; /* make images scale with width */
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s;
}

.active {
  transform: scale(1.1);
  opacity: 1;
  z-index: 2;
}

.project-sec {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
}

.pro-title {
  font-size: 2rem;
}

.pro-title ::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 3px;
  background: #ff5733;
}
.carousel-description {
  text-align: center;
  font-size: 1.2rem;
  min-height: 1.5em;
  margin-top: 1rem;
  transition: opacity 0.4s;
}

@media (max-width: 480px) {
  .carousel-description {
    font-size: 1rem;
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .carousel-item {
    flex: 0 0 33%;
  }
}
@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 50%;
  }
}
@media (max-width: 480px) {
  .carousel-item {
    flex: 0 0 80%;
  }
}

/* Tablets */
@media (max-width: 1024px) {
  .carousel-item {
    flex: 0 0 33%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 50%;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .carousel-item {
    flex: 0 0 80%;
  }
}
