@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html{
    scroll-behavior: smooth;
  }

  /* Scrollbar Styling */
::-webkit-scrollbar {
  height: 0;
  width: 0.7rem;
}
::-webkit-scrollbar-track {
  background: rgb(0, 0, 0);
}
::-webkit-scrollbar-thumb {
  background: gold;
  border-radius: 5rem;
}
  
  body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  /* Navbar */
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
  }
  
  .logo img {
    max-width: 300px;
  }
  
  /* Desktop Nav List */
  .nav-list {
    list-style: none;
    display: flex;
    gap: 30px; /* Increased spacing for desktop */
  }
  
  .nav-list li {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 0.5s ease forwards;
  }
  
  .nav-list li:nth-child(1) {
    animation-delay: 0.2s; /* First item delay */
  }
  
  .nav-list li:nth-child(2) {
    animation-delay: 0.4s; /* Second item delay */
  }
  
  .nav-list li:nth-child(3) {
    animation-delay: 0.6s; /* Third item delay */
  }
  
  .nav-list li:nth-child(4) {
    animation-delay: 0.8s; /* Fourth item delay */
  }
  
  .nav-list li:nth-child(5) {
    animation-delay: 1s; /* Fifth item delay */
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .nav-list li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    transition: color 0.3s ease;
  }
  
  /* Hover Effect: Gold underline moves left to right */
  .nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: gold;
    transition: width 0.3s ease-in-out;
  }
  
  .nav-list li a:hover {
    color: gold;
  }
  
  .nav-list li a:hover::after {
    width: 100%;
  }
  
  /* Mobile Menu Icon */
  .menu-icon {
    display: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
  }
  
  .menu-icon.animate {
    transform: rotate(180deg); /* Rotation animation */
  }
  
  /* Hero Section */
  .hero {
    position: relative;
    height: 90vh;
    background: url("../img/about\ equitilend\ img.png") no-repeat center center/cover;
  }
  
  .hero-overlay {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Left align for desktop */
    padding: 3rem 2rem; /* Increased padding */
  }
  
  .hero-box {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    max-width: 500px;
    padding: 3.3rem;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 98% 100%, 80% 100%, 20% 100%, 0 100%, 0% 20%);
    animation: slideInFromLeft 1s ease-out forwards;
  }

  @keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
  
  .hero-box h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-box h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    animation: slideInFromLeft 1.5s ease-out forwards;
  }
  
  /* Button Styling */
  .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start; /* Align text and icon to the left */
    position: relative;
    padding: 10px 15px;
    background: #4CAF50; /* Green color */
    color: white;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    overflow: hidden;
    width: 100%; /* Make responsive */
    max-width: 300px; /* Limit width for large screens */
    transition: all 0.3s ease-in-out;
    text-align: left;
    border: 2px solid white;
  }
  
  .cta-button img {
    margin-right: 10px;
    height: 20px;
    width: 20px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  }
  
  /* Multiple Light Flow Effect */
  .cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 300%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.2) 75%);
    z-index: 1;
    transition: all 0.5s ease-in-out;
    animation: light-flow 2s infinite;
  }
  
  @keyframes light-flow {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(100%);
    }
  }
  
  .cta-button span {
    position: relative;
    z-index: 2;
    display: block;
    color: white; /* Default text color */
    transition: color 0.3s ease-in-out;
  }
  
  .cta-button:hover span {
    color: #ffffff; /* Ensure text stays visible on hover */
  }
  
  .cta-button:hover img {
    transform: scale(1.5);
    opacity: 1; /* Ensure image is visible */
  }
  
  .cta-button {
    background: none; /* Remove static green background */
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .logo img {
      max-width: 150px;
    }
    
    .menu-icon {
      display: block;
    }
  
    .nav-list {
      display: none;
      position: absolute;
      top: 99%;
      left: 0;
      background: #000;
      width: 100%;
      flex-direction: column;
      text-align: center;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
  
    .nav-list.active {
      display: flex;
    }
  
    .nav-list li {
      padding: 0.1rem 0; /* Compact spacing */
      border-bottom: 1px solid #ddd; /* Horizontal line between items */
    }
  
    .nav-list li:last-child {
      border-bottom: none; /* No border for last item */
    }
  
    .nav-list li a {
      font-size: 1rem;
      color: #fff;
      text-transform: uppercase;
      font-weight: bold;
    }
  
    .hero-overlay {
      justify-content: center; /* Centered for mobile */
      padding: 2rem;
    }
  
    .hero-box {
      padding: 2rem;
      padding-left: 3.5rem;
      clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 98% 100%, 80% 100%, 20% 100%, 0 100%, 0% 20%);
    }

    .hero-box h1 {
      font-size: 2.2rem;
    }
  
    .hero-box h2 {
      font-size: 1.2rem;
    }
    .cta-button{
      font-size: .7rem;
    }
  }

  
@media(min-width:390px) and (max-width:480px){
.hero{
  height: 70vh;
}
}
@media(max-width:389px) {
  .hero-box h2 br{
    display: none;
  }
}



/*about section page*/
.about-section {
  padding: 4rem 2rem;
  position: relative;
  color: #333;
  background: #000;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff; 
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid black;
}

.about-container h1 {
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.about-container p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #000;
  margin-bottom: 1.5rem;
}

.about-container p strong{
  color: rgb(0, 0, 0);
}

.about-container ul {
  margin-top: 2rem;
  padding-left: 1.5rem;
}

.about-container ul li {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about-container ul li strong {
  color: #ff0015;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-container {
    padding: 1.5rem;
  }

  .about-container h1 {
    font-size: 2rem;
  }

  .about-container p, .about-container ul li {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {

  .logo img {
    max-width: 150px;
  }

  .about-section {
    padding: 3rem 1rem;
  }

  .about-container {
    padding: 1rem;
    text-align: left;
  }
  .about-container h1 {
    font-size: 1.5rem;
  }

  .about-container ul {
    padding-left: 0;
    list-style-position: inside;
  }
}





/*our diffrence section*/
.difference-section {
  padding: 4rem 2rem;
  background-color: #000;
  text-align: center;
}

.difference-container {
  max-width: 1200px;
  margin: 0 auto;
}

.difference-header {
  margin-bottom: 2rem;
}

.difference-title {
  font-size: 2.5rem;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.difference-title i {
  color: gold;
}

.difference-subtitle {
  font-size: 1.2rem;
  color: gold;
}

.difference-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-around;
}

.difference-item {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex: 1;
  max-width: 300px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.difference-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.difference-item i {
  font-size: 2rem;
  color: gold;
  margin-bottom: 1rem;
}

.item-title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.difference-item p {
  font-size: 1rem;
  color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
  .difference-content {
    flex-direction: column;
    align-items: center;
  }

  .difference-item {
    max-width: 100%;
  }

  .difference-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .difference-title {
    font-size: 1.8rem;
  }

  .item-title {
    font-size: 1.2rem;
  }

  .difference-item p {
    font-size: 0.9rem;
  }
}






  /*footer section*/

  .footer {
    background-color: #1e293b; /* Dark background */
    color: #fff;
    padding: 2rem 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
  }
  
  /* Left Section */
  .footer-left {
    flex: 1;
    min-width: 200px;
  }
  
  .footer-logo {
    width: 180px;
    margin-bottom: 1rem;
  }
  
  .footer-tagline {
    font-size: 1rem;
    font-weight: bold;
    color: #ddd;
    text-align: left;
  }
  
  /* Center Section */
  .footer-center {
    flex: 2;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
  }
  
  .footer-links {
    list-style: none;
    text-align: center; /* Center links */
  }
  
  .footer-links li {
    margin-bottom: 0.5rem;
  }
  
  .footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: gold;
  }
  
  /* Right Section */
  .footer-right {
    flex: 1;
    min-width: 250px;
    text-align: left;
  }
  
  .footer-right h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .footer-right p {
    margin-bottom: 0.5rem;
  }
  
  .footer-right a {
    color: gold;
    text-decoration: none;
  }
  
  .footer-right a:hover {
    text-decoration: underline;
  }
  
  .footer-socials {
    margin-top: 1rem;
  }
  
  .footer-socials a {
    display: inline-block;
    color: #fff;
    margin: 0 0.5rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
  }
  
  .footer-socials a:hover {
    color: gold;
  }
  
  /* Footer Bottom */
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #444;
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.9rem;
  }
  
  .footer-bottom .highlight {
    color: #e63946;
    font-weight: bold;
  }
  
  .scroll-to-top {
    background-color: gold;
    color: #000;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
  }
  
  .scroll-to-top:hover {
    background-color: #000;
    color: gold;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
      gap: 1.5rem;
    }
  
    .footer-left,
    .footer-center,
    .footer-right {
      text-align: center;
      margin: 0 auto;
    }
  
    .footer-links {
      text-align: center;
    }
  
    .footer-socials {
      justify-content: center;
    }
  
    .footer-bottom {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
    .footer-center{
      display: block;
    }
    .footer-tagline {
      text-align: center;
    }
  }