* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* --primary-color: #ff9900; */
  --primary-color: #094065;
  --primary-bg-color: #f1f1f1;
  --secondary-color: #ff9900;
  --dark-light-color: #5c5c5c;
  --text-primary: #fff;
  --text-secondary: #000;
  --dark-bg: #1a1a1a;
  --card-bg: #242424;
}

body {
  background-image: url("../assets/images/project_bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  object-fit: cover;
  height: 100vh;
  width: 100%;
  backdrop-filter: brightness(0.8);
}



/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: transparent;
  background-image: url("../assets/images/nihal.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-primary);
  height: 8rem;
  border-bottom: 1px solid rgba(128, 128, 128, 0.3); /* semi-transparent grey */
  width: 100%;
  position: absolute; /* Changed to relative positioning */
  z-index: 1000;
  background-blend-mode: multiply;
}

/* Ensure body doesn't create scroll issues */

.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo-image {
  max-height: 120px;
  width: 140px;
  position: relative;
  top: 12px;
}

.nav-menu ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  gap: 48px;
  margin: 0;
  padding: 0;
}

.nav-menu ul li a {
  text-decoration: none;
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu ul li a:hover {
  color: var(--secondary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background-color: var(--text-primary);
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

/* Media query for responsive behavior */
@media (max-width: 768px) {
  .navbar {
    background-image: none;
    background-color: rgba(255, 255, 255, 0.9); /* semi-transparent white for mobile */
    position: relative; /* Changed to relative */
    height: 80px;
  }

  body {
    padding-top: 0; /* Removed padding completely */
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 100px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 30px;
    padding: 20px;
  }

  .logo-image {
    max-height: 80px;
    width: 100px;
    top: 0;
  }
}
/* Navbar Ends */

.project-hero {
  display: flex;
  background-color: transparent;
  background-image: linear-gradient(270deg, #ffffff00 0.02%, #1e1e1ebf 100%);
  justify-content: flex-start;
  align-items: center;
  padding-left: 160px;
  height: 60vh;
  width: 100%;
  padding-bottom: 6rem;
  color: var(--text-primary);
}

.project-hero .main-heading h1 {
  font-size: 4rem;
  font-weight: 100;
  padding-top: 6rem;
  font-family: "Manrope", sans-serif;
}

.our-work {
  display: flex;
  background-color: var(--text-primary);
  justify-content: flex-start;
  align-items: center;
  padding: 0px 160px;
  height: 120vh;
  width: 100%;
  padding-top: 6rem;
  color: var(--text-secondary);
}

.work-main-container {
  display: flex;
  width: 100%;
  height: 100%;
}

.work-left-side {
  width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  padding-right: 2rem;
}

.work-right-side {
  width: 70%;
  align-items: flex-start;
  justify-content: flex-start;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem; /* Reduced gap between cards */
  position: relative;
  margin-left: 4rem;
  margin-bottom: 4.8rem;
}

/* Services Category Card */
.services-category-card {
  width: 100%;
  background-blend-mode: overlay;
  background: linear-gradient(135deg, #f6f6f6, #d2d2d2);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 2rem;
}

.services-category-header {
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem 2rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--gray-border);
  text-decoration: none;
  color: var(--text-secondary);
  position: relative;
  font-weight: 400;
  transition: all 0.3s ease;
}

.service-item:last-child {
  border-bottom: none;
}

.service-item .arrow {
  font-size: 1.2rem;
}

.service-item:hover {
  background-color: #f9f9f9;
}

.service-item.active {
  color: var(--orange-primary);
  font-weight: 500;
}

.toplax-card {
  width: 100%;
  background-color: #1e1e1e;
  background-image: url("gears-pattern.jpg");
  background-size: cover;
  background-blend-mode: overlay;
  border-radius: 12px;
  padding: 2rem;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.toplax-logo {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
}

.toplax-logo img {
  width: 40px;
  height: 40px;
  margin-right: 0.5rem;
}

.toplax-logo h2 {
  font-weight: 600;
  font-size: 1.8rem;
  margin: 0;
}

.help-text h2 {
  font-size: 2.5rem;
  font-weight: 500;
  margin: 0;
}

.help-text span {
  font-weight: 700;
}

.product-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 1rem; /* Added some bottom margin */
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
}

.product-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  color: #fff;
  z-index: 5; /* Add z-index to ensure title stays on top */
}

.product-title h2 {
  font-size: 1.6rem;
  color: var(--primary-color);

  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: "Manrope", sans-serif;
}


.product-title span {
  font-size: 1.2rem;
  font-weight: 300;
  color: #fff;
}

/* New styles for product details */
.product-details {
  position: absolute;
  top: 6.5rem;
  left: 0;
  width: 100%;
  padding: 0 2rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.detail-row {
  display: inline-flex;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  background: var(--primary-bg-color);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  align-items: center;
  width: fit-content;
  white-space: nowrap;
  font-size: 0.9rem;
}

.product-card:hover .product-details {
  opacity: 1;
}

.product-card:hover .detail-row:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.1s;
}

.product-card:hover .detail-row:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.25s;
}

.product-card:hover .detail-row:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.4s;
}

.detail-label {
  font-weight: 600;
  margin-right: 0.4rem;
  color: #333;
  display: inline-block;
  min-width: auto;
}

.detail-value {
  font-weight: 400;
  color: var(--primary-color);
}

/* our work ends  */


  
/*  footer Starts */
/*  footer Starts */

.footer {
  display: flex;
  flex-direction: column;
  background-color: var(--dark-bg);
  justify-content: flex-start;
  padding: 0px 160px;
  height: 100vh;
  width: 100%;
  color: var(--text-primary);
  background-image: linear-gradient(
      rgba(26, 26, 26, 0.85),
      rgba(26, 26, 26, 0.85)
    ),
    url("https://via.placeholder.com/1920x1080");
  background-size: cover;
  background-position: center;
  position: relative;
}

.contact-button {
  position: absolute;
  top: 100px;
  right: 100px;
  background-color: var(--primary-color);
  color: white;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow: visible;
}

.rotating-container {
  position: relative;
  width: 100%;
  height: 100%;
  animation: rotate 20s linear infinite;
}

.circular-text {
  position: absolute;
  width: 120px;
  height: 120px;
  top: 0;
  left: 0;
}

.circular-text text {
  fill: white;
  font-size: 6.5px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
}

.arrow {
  position: absolute;
  z-index: 2;
  width: 30px;
  height: 30px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2s infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.header-section {
  margin-top: 100px;
  margin-bottom: 50px;
}
.header-section h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-family: "Manrope", sans-serif;
}
.header-section p {
  font-size: 18px;
  font-family: "Lora", serif;
}
.divider {
  width: 100%;
  height: 1px;
  background-color: #333;
  margin: 20px 0;
  font-family: "Lora", serif;
}
.main-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
  font-family: "Lora", serif;
}
.logo-section {
  display: flex;
  flex-direction: column;
  width: 25%;
}
.logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.logo-icon {
  width: 150px;
  height: 80px;
  background-color: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.logo-icon img {
  max-width: 100%;
  height: auto;
  display: block;
}
.logo-text {
  margin-bottom: 20px;
  font-size: 16px;
}
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  font-family: "Lora", serif;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  cursor: pointer;
}
.links-section {
  display: flex;
  gap: 100px;
  flex-grow: 1;
  justify-content: center;
  font-family: "Lora", serif;
}
.link-column {
  display: flex;
  flex-direction: column;
}
.link-column h3 {
  font-size: 20px;
  margin-bottom: 30px;
  font-family: "Lora", serif;
}
.link-column a {
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 20px;
  font-size: 16px;
}
.contact-section {
  width: 25%;
}
.contact-section h3 {
  font-size: 20px;
  margin-bottom: 30px;
  font-family: "Lora", serif;
}
.contact-section p {
  margin-bottom: 20px;
  font-size: 16px;
}
.copyright {
  margin-top: auto;
  padding-bottom: 30px;
  padding-top: 30px;
  text-align: center;
  border-top: 1px solid #333;
  font-family: "Manrope", sans-serif;
} /* Mobile Responsiveness */
@media screen and (max-width: 768px) {
  .footer {
    padding: 0 20px;
    height: auto;
  }
  .contact-button {
    position: static;
    margin: 30px auto;
    width: 100px;
    height: 100px;
  }
  .circular-text {
    width: 100px;
    height: 100px;
  }
  .circular-text text {
    font-size: 5.5px;
  }
  .header-section {
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
  }
  .header-section h1 {
    font-size: 32px;
  }
  .header-section p {
    font-size: 16px;
  }
  .main-content {
    flex-direction: column;
    align-items: center;
  }
  .logo-section,
  .links-section,
  .contact-section {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
  }
  .links-section {
    flex-direction: column;
    gap: 30px;
  }
  .link-column {
    align-items: center;
  }
  .social-icons {
    justify-content: center;
  }
  .copyright {
    padding: 20px 10px;
  }
} /* footer Ends */
/* footer Ends */
  
  /* footer Ends */