/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Arial', sans-serif;
  color: #fff;
  /* background: #0a0a0a; */
  overflow-x: hidden;
}

/* Header Container */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: white;
  backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  height: 70px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Logo */
.logo img.header-logo {
  height: 45px;
  /* filter: invert(); */
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu ul li a {
  color:black;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu ul li a:hover {
  color: #00d4ff;
  
}

/* Hamburger Menu Icon */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  transition: 0.3s ease;
}

/* Hamburger Animation on Click */
.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Navigation - Mobile/Tablet */
/* @media (max-width: 991px) {
  .hamburger-menu {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px); 
    background: black;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(100%); 
    transition: transform 0.3s ease-in-out;
    z-index: 998;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.open {
    transform: translateX(0); 
  }

  .nav-menu ul {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .nav-menu ul li a {
    font-size: 18px;
    padding: 12px 0;
    width: 100%;
    display: block;
    color:white;
    text-decoration: none;
  }
}
  .hamburger-menu span {
    background-color: white; 
} */
@media (max-width: 1366px) {
  .hamburger-menu {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    /* height: calc(100vh - 70px); */
    background:black;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 998;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu ul {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .nav-menu ul li a {
    font-size: 18px;
    padding: 12px 0;
    width: 100%;
    color:white;
    text-decoration: none;
  }

  .hamburger-menu span {
    background-color:black;
  }
}
 .hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    color: #fff;
    position: relative;
    overflow: hidden;
    gap: 2rem;
  }

  /* Background */
  .bg-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
  }

  .bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform-origin: center;
    transition: transform 0.3s, filter 0.3s;
  }

  /* Content */
  .content {
    flex: 1 1 450px;
    max-width: 50%;
    z-index: 2;
    transform: perspective(800px);
  }

  .content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
  }

  .content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .content button {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    background-color: #00bcd4;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
  }

  .content button:hover {
    background-color: #0196a6;
  }

  /* Globe */
  .globe-image {
    flex: 1 1 350px;
    max-width: 40%;
    position: relative;
    z-index: 1;
  }

  .globe-image img {
    width: 100%;
    height: auto;
  }

  /* Energy Ripple */
  .energy-ripple {
    position: absolute;
    top: 50%; left: 50%;
    width: 180px; height: 180px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
    z-index: 0;
  }

  /* Canvas */
  canvas {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
  }

  /* Cursor dot */
  .cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 10px; height: 10px;
    background: rgba(0, 255, 255, 0.7);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
  }

  /* Tablet adjustments */
  @media (max-width: 992px) {
    .hero-section {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 2rem;
    }
    .content {
      max-width: 100%;
      order: 1;
    }
    .globe-image {
      max-width: 400px;
      order: 2;
    }
  }

  /* Mobile adjustments */
  @media (max-width: 600px) {
    .hero-section {
      gap: 1.5rem;
      padding: 1.5rem;
    }
    .content h1 {
      font-size: 1.8rem;
    }
    .content p {
      font-size: 1rem;
    }
    .globe-image {
      max-width: 300px;
    }
  }


    .section {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 60px 5%;
      gap: 50px;
      flex-wrap: wrap;
      border-bottom: 1px solid #ddd;
      opacity: 0;
      transform: translateY(30px);
      transition: all 1s ease-out;
    }

    .section.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .section.reverse {
      flex-direction: row-reverse;
    }

    .section-content {
      flex: 1;
      min-width: 280px;
    }

    .section-content h2 {
      font-size: 2em;
      color: #0a2e5c;
      margin-bottom: 15px;
    }

    .section-content p {
      color: #333;
      font-size: 1.1em;
      line-height: 1.6;
    }

    .stock-box {
      margin-top: 20px;
      background: #f1f7ff;
      padding: 20px;
      border-radius: 10px;
      border-left: 4px solid #0a2e5c;
    }

    .stock-box p {
      margin: 5px 0;
      color: #222;
    }

    .section img {
      flex: 1;
      max-width: 100%;
      min-width: 280px;
      border-radius: 12px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    @media (max-width: 768px) {
      .section {
        flex-direction: column;
        text-align: center;
      }
      .section.reverse {
        flex-direction: column;
      }
    }
    /* Section Styling */
.projects-section {
  padding: 5rem 8%;
  background: #fff;
}

.projects-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 4rem;
  color: #111;
  font-weight: 700;
}

/* Grid Layout */
.projects-grid {
  display: grid;
 grid-template-columns: repeat(2, 1fr);
   gap: 2.5rem;
}

/* Project Card */
.project-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,0.1);
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s ease;
}

.project-image {
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.08);
}

.project-content {
  padding: 1.8rem;
  background: linear-gradient(145deg, #ffffff, #f7f7f7);
}

.project-title {
  font-size: 1.35rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #00897b;
  transition: color 0.3s ease;
}

.project-card:hover .project-title {
  color: #005f54;
}

.project-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .projects-section {
    padding: 3rem 6%;
  }
  .project-title {
    font-size: 1.2rem;
  }
}

/* On smaller devices, show 1 per row */
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
