@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');
:root{
  --color-1: #0f1016;
  --text-color: #f0f0f0;
  --accent-color: #006aff;
} 
body,html{
  margin: 0;
  padding: 0;
}
* {
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

nav {
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 123, 255, 0.9);
    border-bottom: 2px solid black;
    position: relative;
    height: 60px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
  }

  .logo img {
    width: 70px;
    height: auto;
    transition: transform 0.3s ease;
  }

  .logo img:hover {
    transform: scale(1.05);
  }

  nav ul {
    display: flex;
    gap: 35px;
    align-items: center;
    transition: max-height 0.4s ease-in-out;
  }

  nav ul li {
    list-style: none;
    position: relative;
  }

  nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
  }

  nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #fff;
    bottom: -4px;
    left: 0;
    transition: width 0.3s ease;
  }

  nav ul li a:hover::after {
    width: 100%;
  }

  nav ul li a:hover {
    color: #ffeb3b;
  }

  /* Dropdown styles */
  .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    background: rgba(0, 66, 116, 0.95);
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    z-index: 10;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }

  .dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .dropdown-content li a {
    padding: 12px 16px;
    display: block;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease;
  }

  .dropdown-content li a:hover {
    background-color: #0170B9;
  }

  .menu-icon {
    display: none;
    cursor: pointer;
  }

  .menu-icon i {
    color: #fff;
    font-size: 30px;
  }

  /* Responsive */
  @media (max-width: 480px) {
    nav ul {
      position: absolute;
      top: 60px;
      left: 0;
      right: 0;
      flex-direction: column;
      background: rgba(0, 66, 116, 0.95);
      gap: 0;
      max-height: 0;
      overflow: hidden;
    }

    nav ul li {
      padding: 15px 0;
    }

    .menu-icon {
      display: block;
    }

    .dropdown-content {
      position: static;
      background: rgba(0, 66, 116, 0.95);
      box-shadow: none;
      opacity: 1 !important;
      transform: none !important;
      transition: none;
    }

    .dropdown.active .dropdown-content {
      display: block;
    }
  }
.container {
    max-width: 3000px;
    background: #fff;
    display: flex;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin: auto;
  }
  .left {
    flex: 1;
    position: relative;
  }
  .slider {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .slides img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  .slides img.active {
    opacity: 1;
  }
  .right {
    flex: 1;
    padding: 24px;
  }
  .tag {
    color: #2563eb;
    background-color: #e0edff;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
  }
  .date {
    font-size: 13px;
    color: #6b7280;
    margin-left: 10px;
  }
  .title {
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0 20px;
  }
  .desc {
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
  }
  .link a:hover {
    text-decoration: underline;
  }

  @media (max-width: 768px) {
    .container {
      flex-direction: column;
      max-width: 100%;
      margin: 20px;
      height: auto;
    }
    .left, .right {
      flex: none;
      width: 100%;
    }
    .slides img {
      height: 250px; /* Adjust height for smaller screens */
      width: 100%;
      margin-top: 140px;
    }
    .right {
      padding: 15px 10px;
    }
    .title {
      font-size: 20px;
    }
    .desc {
      font-size: 14px;
      margin-top: 305px;
    }
    .tag {
      font-size: 12px;
      padding: 3px 8px;
    }
    .date {
      font-size: 12px;
      margin-left: 5px;
      margin-bottom: 50px;
    }
  }
  

  

    /* footer section */
.footer-distributed {
  background-color: #10182F;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  height: 30rem;
  text-align: left;
  font: bold 16px sans-serif;
  padding: 50px 50px 60px 50px;
}

.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right {
  display: inline-block;
  vertical-align: top;
}

/* Footer Left */
.footer-distributed .footer-left {
  width: 30%;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-left li {
  list-style: none;
}
.footer-left li a {
  color: white;
  text-decoration: none;
  line-height: 2.5;
}
.footer-left li a:hover {
  color: #0056b3;
}

/* Footer Center */
.footer-distributed .footer-center {
  width: 35%;
}
.footer-distributed .footer-center div {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.footer-distributed .footer-center i {
  background-color: #33383b;
  color: #ffffff;
  font-size: 25px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-align: center;
  line-height: 42px;
  margin-right: 15px;
}
.footer-distributed .footer-center i.fa-envelope {
  font-size: 17px;
  line-height: 38px;
}
.footer-distributed .footer-center p {
  display: inline-block;
  color: #ffffff;
  margin: 0;
}
.footer-distributed .footer-center p span {
  display: block;
  font-weight: normal;
  font-size: 14px;
  line-height: 2;
}
.footer-distributed .footer-center p a {
  color: #ffffff;
  text-decoration: none;
}

/* Footer Right */
.footer-distributed .footer-right {
  width: 30%;
  margin-left: 3%;
}
.footer-distributed .footer-company-about {
  line-height: 20px;
  color: #92999f;
  font-size: 13px;
  font-weight: normal;
  margin: 0;
}
.footer-distributed .footer-company-about p {
  display: block;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}
.footer-right form {
  display: flex;
  gap: 10px;
  margin-top: 7%;
}
.footer-right input[type="email"] {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #7489C6;
  background: none;
  color: #fff;
  outline: none;
}
.footer-right input[type="email"]::placeholder {
  color: #ccc;
}
.footer-right button {
  background: #0170B9;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-right button:hover {
  background: #cecccc;
  transform: scale(1.1);
}

/* Footer Icons */
.footer-distributed .footer-icons {
  margin-top: 25px;
}
.footer-distributed .footer-icons a {
  display: inline-block;
  text-decoration: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #ffffff;
  text-align: center;
  line-height: 35px;
  margin-right: 3px;
  margin-bottom: 5px;
}
.footer-distributed .footer-icons a:hover {
  background-color: #3F71EA;
}

.footer-cin {
  color: #ccc;
  font-size: 14px;
  margin-top: 10px;
}
/* Misc */
.footer-distributed .footer-company-name {
  color: #8f9296;
  font-size: 14px;
  font-weight: normal;
  margin: 0;
}
.footer-company-name span a {
  text-decoration: none;
  color: #fff;
}
.footer-company-name span a:hover {
  background-color: #007bff;
  padding: 10px;
}
.footer-links a:hover {
  color: #3F71EA;
}

/* Responsive */
@media (max-width: 480px) {
  .footer-distributed {
    flex-direction: column;
    align-items: center;
    height: auto;
  }
  .footer-distributed .footer-left,
  .footer-distributed .footer-center,
  .footer-distributed .footer-right {
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
  }
  .footer-left p span {
    margin-left: -87%;
  }
}
