/* Navrbar Section */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

header {
  background-color: #1a1a1a;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 40px;
  height: 70px;
  position: relative;
}

.logo-with-text {
  display: flex;
  align-items: center;
  padding: 10px 0px;
  color: white;
}

.company-logo {
  height: 70px;
  margin-right: 15px;
  padding-top: 10px;
}

.company-title {
  font-size: 18px;
  color: white;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.main-menu a {
  text-decoration: none;
  color: white;
  font-size: 16px;
}

.main-menu a:hover {
  color: #00AEEF;
}

.social-icons i {
  font-size: 18px;
  margin-left: 10px;
  color: white;
  cursor: pointer;
}

.hamburger {
  font-size: 28px;
  color: white;
  display: none;
  cursor: pointer;
}

.product-dropdown {
  display: none;
  flex-direction: column;
  padding-left: 15px;
}

.product-dropdown a {
  padding: 4px 0;
  font-size: 15px;
  color: white;
  text-decoration: none;
}

.product-dropdown.show {
  display: flex;
}

.product-icon {
  display: none;
  margin-left: 5px;
  color: #8B1C13;
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .main-menu {
    display: none;
    flex-direction: column;
    background-color: #060606;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 999;
    padding: 10px 20px;
  }

  .main-menu.show {
    display: flex !important;
  }

  .main-menu a {
    padding: 8px 0;
    font-size: 16px;
  }

  .products-toggle {
    margin-left: 107px;
  }

  .product-dropdown a {
    margin-left: 80px;
    margin-top: 5px;
  }

  .product-dropdown a::before {
    content: '•';
    /* bullet character */
    position: absolute;
    left: 100px;
    color: white;
    /* bullet color */
    font-size: 20px;
    line-height: 1;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block;
    width: 100%;
  }

  .product-icon {
    display: inline;
  }

  .product-wrapper .product-dropdown {
    padding-left: 20px;
  }
}

@media screen and (max-width: 415px) {
  .company-title {
    font-size: 13px;
    color: white;
  }
}

/* Desktop Dropdown */
@media screen and (min-width: 769px) {
  .product-dropdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    background-color: #1a1a1a;
    padding: 10px 20px;
    flex-wrap: wrap;
  }

  .dropdown {
    position: relative;
  }

  .dropdown-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .dropdown-toggle i {
    font-size: 13px;
    color: #fff;
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    min-width: 260px;
    z-index: 1000;
    flex-direction: column;
    padding: 10px;
    border-radius: 4px;
    padding-left: 20px;
  }

  .dropdown-menu a {
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    display: block;
  }

  .dropdown-menu a::before {
    content: '•';
    /* bullet character */
    position: absolute;
    left: 10px;
    color: white;
    /* bullet color */
    font-size: 20px;
    line-height: 1;
  }

  .dropdown-menu a:hover {
    background-color: #8B1C13;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

.banner-image svg {
  max-width: 100%;
  display: block;
  overflow-x: hidden;
}

body {
  padding: 20px;
  max-width: 100vw;
}

/* Our Story Section */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.content-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 60px;
  gap: 40px;
  flex-wrap: wrap;
}

.left-content {
  flex: 1;
  min-width: 300px;
}

.left-content h1 {
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #1F2A44;
  font-family: "Merriweather";
}

.left-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
  font-family: Roboto;
}

.left-content a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  padding-bottom: 4px;
}

.left-content a::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #e74c3c;
  position: absolute;
  left: 0;
  bottom: 0;
}

.right-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  flex: 1;
  min-width: 300px;
}

.img-box {
  position: relative;
  overflow: hidden;
}

.img-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.img-box:hover img {
  transform: scale(1.05);
}

.img-box span {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  font-weight: bold;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7);
}


/* Media Queries */

@media (max-width: 1024px) {
  .left-content h1 {
    font-size: 36px;
  }

  .left-content p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .content-section {
    flex-direction: column;
    padding: 20px;
  }

  .right-images {
    grid-template-columns: 1fr 1fr;
  }

  .left-content h1 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .right-images {
    grid-template-columns: 1fr;
  }

  .left-content h1 {
    font-size: 26px;
  }

  .left-content p {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .left-content h1 {
    font-size: 22px;
  }

  .left-content p {
    font-size: 13px;
  }
}



/* Circle Section */

.about-circle-container {
  position: relative;
  width: 600px;
  height: 500px;
  margin-left: 350px;
}

.about-circle {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: bold;
  font-size: 22px;
  color: #222;
  opacity: 0;
  transform: scale(0.8);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.about-left-circle {
  background-color: rgb(253, 179, 95);
  top: 60px;
  left: -280px;
  animation: fromLeft 1s forwards;
  animation-delay: 0.1s;
}

.about-right-circle {
  background-color: #56fc95;
  top: 60px;
  left: 620px;
  animation: fromRight 1s forwards;
  animation-delay: 0.2s;
}

.about-bottom-circle {
  background-color: #4fcffe;
  top: 220px;
  left: 170px;
  animation: fromBottom 1s forwards;
  animation-delay: 0.3s;
}

.about-circle span {
  font-size: 28px;
  font-family: "Merriweather";
}

.about-circle small {
  margin-top: 5px;
  font-size: 14px;
  font-weight: normal;
}

@keyframes fromLeft {
  to {
    left: 70px;
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fromRight {
  to {
    left: 280px;
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fromBottom {
  to {
    top: 220px;
    opacity: 1;
    transform: scale(1);
  }
}

/* General Tablet and Small Devices */
/* Circle Section */

.about-circle-container {
  position: relative;
  width: 600px;
  height: 500px;
  margin-left: 350px;
}

.about-circle {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: bold;
  font-size: 22px;
  color: #222;
  opacity: 0;
  transform: scale(0.8);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.about-left-circle {
  background-color: rgb(253, 179, 95);
  top: 60px;
  left: -280px;
  animation: fromLeft 1s forwards;
  animation-delay: 0.1s;
}

.about-right-circle {
  background-color: #56fc95;
  top: 60px;
  left: 620px;
  animation: fromRight 1s forwards;
  animation-delay: 0.2s;
}

.about-bottom-circle {
  background-color: #4fcffe;
  top: 220px;
  left: 170px;
  animation: fromBottom 1s forwards;
  animation-delay: 0.3s;
}

.about-circle span {
  font-size: 28px;
  font-family: "Merriweather";
}

.about-circle small {
  margin-top: 5px;
  font-size: 14px;
  font-weight: normal;
}

@keyframes fromLeft {
  to {
    left: 70px;
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fromRight {
  to {
    left: 280px;
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fromBottom {
  to {
    top: 220px;
    opacity: 1;
    transform: scale(1);
  }
}

/* ✅ Responsive Overlapping Circles for All Mobile Sizes */
@media (max-width: 768px) {
  .about-circle-container {
    position: relative;
    width: 100%;
    height: 250px;
    margin: 0 auto;
  }

  .about-circle {
    position: absolute;
    width: 160px;
    height: 160px;
    opacity: 1 !important;
    transform: scale(1) !important;
    animation: none !important;
    font-size: 14px;
  }

  .about-circle span {
    font-size: 16px;
    line-height: 1.4;
  }

  .about-left-circle {
    top: 20px;
    left: 160px;
  }

  .about-right-circle {
    top: 20px;
    right: 300px;
    left: auto;
  }

  .about-bottom-circle {
    top: 120px;
    left: 30%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .about-circle {
    width: 130px;
    height: 130px;
    font-size: 13px;
  }

  .about-circle span {
    font-size: 14px;
  }

  .about-left-circle {
    top: 10px;
    left: 70px;
  }

  .about-right-circle {
    top: 10px;
    right: 60px;
    left: auto;
  }

  .about-bottom-circle {
    top: 100px;
  }
}

@media (max-width: 414px) {
  .about-circle {
    width: 130px;
    height: 130px;
    font-size: 13px;
  }

  .about-circle span {
    font-size: 14px;
  }

  .about-left-circle {
    top: 10px;
    left: 60px;
  }

  .about-right-circle {
    top: 10px;
    right: 80px;
    left: auto;
  }

  .about-bottom-circle {
    top: 100px;
  }
}

@media (max-width: 320px) {
  .about-circle {
    width: 130px;
    height: 130px;
    font-size: 13px;
  }

  .about-circle span {
    font-size: 14px;
  }

  .about-left-circle {
    top: 10px;
    left: 40px;
  }

  .about-right-circle {
    top: 10px;
    right: 40px;
    left: auto;
  }

  .about-bottom-circle {
    top: 100px;
  }
}




/* Infrastructure Section */

.container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.subtitle {
  text-align: center;
  font-size: 16px;
  margin-bottom: 10px;
  color: #2b2b2b;
}

.title {
  text-align: center;
  font-size: 44px;
  font-weight: bold;
  color: #1F2A44;
  margin-bottom: 40px;
  font-family: "Merriweather";
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px 0px;
}

.card {
  background-color: #8B1C13;
  border-radius: 20px;
  padding: 30px 20px;
  width: 300px;
  color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.card:nth-child(2) {
  background-color: #8B1C13;
}

.card:nth-child(3) {
  background-color: #8B1C13;
}

.card:hover {
  transform: translateY(-8px);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-family: "Merriweather";
}

.card p {
  font-size: 15px;
  line-height: 1.6;
  font-family: Roboto;
}

/* Responsive Queries */

@media (max-width: 1024px) {
  .card {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .title {
    font-size: 36px;
  }

  .subtitle {
    font-size: 15px;
  }

  .card {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 28px;
  }

  .card h3 {
    font-size: 18px;
  }

  .card p {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .title {
    font-size: 24px;
  }

  .card {
    padding: 10px 15px;
  }
}


/* Contact Section */

.start-project {
  text-align: center;
}

.start-project h1 {
  color: #1F2A44;
  font-family: "Merriweather";
  font-size: 44px;
  margin-bottom: 20px;
}

.start-project p {
  font-size: 1.25rem;
  color: #14213d;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-family: Roboto;
}

.start-project button {
  padding: 12px 28px;
  background-color: #8B1C13;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.start-project button:hover {
  background-color: white;
  border: 1px solid #8B1C13;
  color: #8B1C13;
}

/* Responsive Typography */
@media (max-width: 1024px) {
  .start-project h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .start-project h1 {
    font-size: 1.8rem;
  }

  .start-project p {
    font-size: 1rem;
  }

  .start-project button {
    font-size: 0.95rem;
    padding: 10px 24px;
  }
}

@media (max-width: 480px) {
  .start-project h1 {
    font-size: 1.5rem;
  }

  .start-project p {
    font-size: 0.95rem;
  }

  .start-project button {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
}


/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  font-size: 18px;
  background-color: #8B1C13;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  transition: background 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#scrollTopBtn:hover {
  background-color: #555;
  transform: scale(1.1);
}

/* Mobile responsiveness */
@media (max-width: 767px) {
  #scrollTopBtn {
    width: 40px;
    height: 40px;
    font-size: 16px;
    bottom: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  #scrollTopBtn {
    width: 36px;
    height: 36px;
    font-size: 14px;
    bottom: 45px;
    right: 12px;
  }
}

@media (max-width: 360px) {
  #scrollTopBtn {
    width: 32px;
    height: 32px;
    font-size: 12px;
    bottom: 50px;
    right: 15px;
  }
}