@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* ======================
   VARIABLES
====================== */
:root {
  --primary-color: #002147;
  --secondary-color: #0077B6;
  --background-color: #fafafa;
  --text-color: #000;
  --muted-color: #555;
  --footer-border: #ddd;
  --font-size-base: 1rem;
  --font-size-small: 0.85rem;
  --font-size-large: 1.2rem;
}

/* ======================
   RESET & GLOBAL
====================== */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Roboto', sans-serif;
}

body {
  line-height: 1.4;
  font-size: var(--font-size-base);
  color: var(--text-color);
  background-color: #fff;
}
.main-wrapper {
    border-bottom: 30px solid var(--primary-color);
}

.main-wrapper img {
  width: 100%;
  display: block;
}

.main-wrapper a {
  color: var(--text-color);
  text-decoration: none;
}

.main-wrapper ul li {
  list-style-type: none;
}

/* ======================
   NAVBAR
====================== */
.navbar {
  background: var(--background-color);
  padding: 0 1rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.brand-and-icon {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  margin-right: 30px;
  border-bottom: 1px solid var(--footer-border);
}

.navbar-brand {
  font-size: 1.8rem;
  letter-spacing: 3px;
  font-weight: 700;
}

.navbar-toggler {
  display: block;
  border: 2px solid var(--text-color);
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: all 0.4s ease;
}

.navbar-toggler:hover {
  opacity: 0.7;
}

.navbar-collapse {
  overflow-y: scroll;
  display: none;
}

.navbar-nav > li > a {
  text-transform: capitalize;
  font-size: var(--font-size-base);
  font-weight: 500;
  letter-spacing: 0.5px;
  display: block;
  padding: 0.6rem 0;
  margin: 0.2rem 0;
  border-bottom: 1px solid var(--footer-border);
  border-radius: 1px;
  transition: all 0.4s ease;
}

.navbar-nav > li > a:hover {
  opacity: 0.8;
  color: var(--secondary-color);
}

.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.drop-icon {
  font-size: 0.8rem;
}

.capabilities-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.capabilities-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.capabilities-gallery img:hover {
  transform: scale(1.03);
}


/* ======================
   SUB MENU
====================== */
.sub-menu {
  display: none;
  min-height: 300px;
  background: #f8f8f8;
}

.sub-menu h4 {
  font-size: 1rem;
  padding: 0.5rem 0;
}

.sub-menu ul li {
  padding: 0.2rem 0;
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

.sub-menu ul li a {
  opacity: 0.8;
  transition: all 0.5s ease;
}

.sub-menu ul li a:hover {
  padding-left: 14px;
  opacity: 0.9;
}

/* ======================
   HEADER
====================== */
.header {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.header video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.header h2 {
  font-size: 3rem;
  font-weight: 900;
  margin: 1rem;
  color: #fff;
  letter-spacing: 2px;
}

.header p {
  font-size: 1.2rem;
  font-weight: 300;
  width: 60%;
  margin: 1rem auto;
  color: #fff;
  opacity: 0.8;
  text-align: center;
}

.header button {
  margin: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  transition: all 0.5s ease;
  cursor: pointer;
}

.header button:hover {
  background: #fff;
  color: var(--text-color);
}

.audio-btn {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.audio-btn:hover {
  background: rgba(255, 255, 255, 0.8);
  color: #000;
}

/* Welcome Section */
.welcome-section {
  padding: 4rem 2rem;
  background-color: var(--light-bg, #f4f4f4);
}

.welcome-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.welcome-text {
  flex: 1 1 500px;
}

.welcome-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color, #000);
}

.welcome-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-color, #333);
  line-height: 1.6;
}

.welcome-text .btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color, #000);
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease;
}

.welcome-text .btn:hover {
  background-color: #333;
}

.welcome-image {
  flex: 1 1 400px;
}

.welcome-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}


/* about */
.page-section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: auto;
  color: var(--text-color);
}

.page-section h2 {
  font-size: 2rem;
  margin-top: 2rem;
  color: var(--primary-color);
}

.page-section ul {
  margin: 1rem 0 2rem 1.2rem;
}

.about-image {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  display: block;
  border-radius: 8px;
}


/* contact */
.contact-form {
  margin-top: 2rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem;
  margin: 0.5rem 0 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.contact-form button {
  padding: 0.7rem 1.5rem;
  background-color: var(--primary-color, #000);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.contact-form button:hover {
  background-color: #333;
}


.welcome-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.welcome-image img {
  width: 100%;
  height: auto;
  transition: transform 2.6s ease;
  display: block;
}

.welcome-image:hover img {
  transform: scale(1.05);
}



.featured-products {
  padding: 4rem 1rem;
  background: #f9f9f9;
  text-align: center;
}

.featured-products h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary-color, #002147);
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 1.5rem;
  width: 100%;
  max-width: 360px;
  text-align: left;
}

.product-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  color: #111;
}

.product-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
}

.product-card .product-video {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.product-link {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color, #002147);
  text-decoration: none;
  margin-top: 0.5rem;
}



/* ======================
   FOOTER
====================== */
.site-footer {
  background-color: var(--background-color);
  padding: 3rem 1.5rem 1rem;
  color: var(--text-color);
  border-top: 30px solid var(--primary-color);
  font-size: var(--font-size-base);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 220px;
}

.footer-column h3,
.footer-column h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.footer-column p {
  opacity: 0.8;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  text-decoration: none;
  color: var(--text-color);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-column ul li a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.footer-column i {
  margin-right: 0.5rem;
}

.footer-column.social a {
  display: inline-block;
  margin-right: 0.7rem;
  font-size: 1.2rem;
  color: var(--text-color);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-column.social a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid var(--footer-border);
  padding-top: 1rem;
  font-size: var(--font-size-small);
  color: var(--muted-color);
}

/* ======================
   MEDIA QUERIES
====================== */
/* Mobile collapsed menu support */

.navbar-collapse.show-mobile-menu {
  display: block;
}

/* Mobile styles */
@media screen and (max-width: 991px) {
  .navbar-collapse {
    display: none; /* hidden by default */
    flex-direction: column;
    background: #fafafa;
    padding: 1rem;
  }

  .navbar-collapse.show-mobile-menu {
  display: flex !important;
}


  .navbar-nav > li {
    margin-bottom: 10px;
  }

  .sub-menu {
    display: none;
    padding-left: 1rem;
  }
}



@media screen and (min-width: 992px) {
  .navbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid var(--footer-border);
    padding: 0 5rem;
    position: relative;
  }

  .navbar-toggler {
    display: none;
  }

  .brand-and-icon {
    flex: 0 0 100px;
    border-bottom: none;
    padding: 0;
  }

  .navbar-collapse {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    overflow-y: hidden;
  }

  .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar-nav > li {
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.4s ease;
  }

  .navbar-nav > li:hover {
    border-bottom-color: var(--text-color);
  }

  .navbar-nav > li > a {
    border-bottom: none;
    margin: 0 0.4rem;
    padding: 1.7rem 1.8rem 1.7rem 0.8rem;
  }

  .sub-menu {
    position: absolute;
    left: 0;
    width: 100%;
    top: 100%;
  }

  .navbar-nav > li:hover .sub-menu {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    padding: 0 5rem;
  }

  .sub-menu-item:not(:first-child) {
    padding-left: 20px;
  }

  .sub-menu-item-image {
    margin-bottom: 40px;
  }

  .header {
    height: calc(100vh - 75px);
  }

  .header h2 {
    font-size: 6rem;
  }

  .header p {
    width: 40%;
  }
}

@media screen and (min-width: 992px) {
  .navbar-collapse {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }

  .left-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .right-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
  }
}
