/* Navbar 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;
}

/* Product Banner */

.contact-banner {
  position: relative;
  width: 100%;
}

.banner-image {
  background-image: url('public/common-img1.avif');
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.banner-image h1 {
  color: white;
  font-size: 48px;
  z-index: 1;
  text-align: center;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 130px;
  font-family: 'Merriweather', serif;
  padding: 0 20px;
}

.banner-image svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .banner-image h1 {
    font-size: 38px;
    margin-bottom: 100px;
  }
}

@media (max-width: 768px) {
  .banner-image {
    height: 50vh;
  }

  .banner-image h1 {
    font-size: 30px;
    margin-bottom: 80px;
  }
}

@media (max-width: 480px) {
  .banner-image {
    height: 45vh;
  }

  .banner-image h1 {
    font-size: 38px;
    margin-bottom: 60px;
  }
}


/* Product Section */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background: #f4f4f4;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
}

.card-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 10px;
}

.card-text {
  font-size: 14px;
  color: #555;
  flex-grow: 1;
  margin-bottom: 10px;
}

.card button {
  background-color: #8B1C13;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: auto;
}

.card button:hover {
  background-color: #8B1C13;
}

@media (max-width: 992px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .card-container {
    grid-template-columns: 1fr;
  }
}


/* Contact Section */

.start-project {
  text-align: center;
  padding: 60px 0px;
}

.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;
  }
}