/* Reset styles */

* {
  box-sizing: border-box;
  font-family: var(--ui-font);
}

:root {
  --ui-font: "Century Gothic", "CenturyGothic", "URW Gothic L", "Apple Gothic", "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

body {
  margin: 0;
  font-family: 'Avenir', Arial, sans-serif;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  background: transparent;
}

/* LOGO */
.logo img {
  height: 50px;
}

/* NAV MENU */
.nav-menu {
  display: flex;
  gap: 30px;
} 

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.nav-menu a:hover {
  color: #ffcc00;
}

/* MENU ITEM HOVER ANIMATION */
.nav-menu a,
.dropbtn {
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-menu a:hover,
.dropbtn:hover {
  color: #ffcc00;
  transform: scale(1.05);
}

/* DROPDOWN CONTAINER */
.dropdown {
  position: relative;
  display: inline-block;
}

/* DROPDOWN BUTTON */
.dropbtn {
  background: none;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/* DROPDOWN MENU STYLING */
@media (max-width: 768px) {
  /* Make dropdown expand below button */
  .dropdown-content {
    position: static;   /* follow normal flow instead of absolute */
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin-left: 15px;  /* small indent for sub-links */
  }

  .dropdown-content a {
    padding: 12px 10px;
    font-size: 15px;
  }
}

/* .dropdown-content a:hover {
  background-color: rgba(255, 204, 0, 0.1);
  color: #ffcc00;
} */

/* Hamburger Menu - hidden on desktop */
.menu-icon {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* Responsive nav */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 80px;
    left: 0;
    padding: 20px;
  }

  .nav-menu.open {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  /* Dropdown fix for mobile */
  .dropdown {
    width: 100%;
  }

  .dropdown-content {
    display: none;              /* hidden by default */
    flex-direction: column;     /* stack items vertically */
    background: transparent;    /* no black background (since nav is black) */
    box-shadow: none;
    margin-top: 10px;
  }

  .dropdown-content a {
    padding: 10px 0;
    display: block;             /* force full width links */
    font-size: 15px;
  }

  /* When dropdown is toggled open */
  .dropdown.open .dropdown-content {
    display: flex;
  }
}

/* Base dropdown: hidden by default, stacked links */
.dropdown-content {
  display: none;                 /* important: hidden until JS opens it */
  position: absolute;
  left: 0;
  top: 35px;
  background-color: rgba(0, 0, 0, 0.9);
  min-width: 180px;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  padding: 6px 0;
  z-index: 1000;
}

.dropdown-content a {
  display: block;                /* stack vertically */
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;           /* keep each item on its own line */
}

/* IMPORTANT: remove/disable any hover rule like
   .dropdown:hover .dropdown-content { display: block; }
   to avoid fighting with the click JS.
*/
@media (min-width: 769px) {
  .dropdown.open .dropdown-content { display: block; }
}


/* Mobile override: keep your “expand below button” behavior */
@media (max-width: 768px) {
  .dropdown { width: 100%; }
  .dropdown-content {
    position: static;            /* sit below the Products button */
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin-top: 8px;
    min-width: 0;
  }
  .dropdown-content a { padding: 12px 0; }
}

/* Shrinking header effect */
.site-header.shrink {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 10px 30px;
  transition: all 0.3s ease;
}

.hero-section {
   height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                   url('images/background.jpg'); /* Added gradient overlay */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(30, 29, 29, 0.6); /* increased darkness from 0.4 to 0.6 */
  z-index: 0;
}

.hero-content {
  z-index: 2; /* increased to ensure visibility */
  max-width: 1200px;
  padding: 0 20px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5); /* added for better contrast */
}

.hero-content h1 {
  font-size: 75px;
  margin: 0;
}

.hero-content p {
  font-size: 21px;
  margin-top: 20px;
}

/* General animations */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-down {
  opacity: 0;
  animation: fadeDown 1s ease-out forwards;
  animation-delay: 0.3s;
}

.fade-up {
  opacity: 0;
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 0.6s;
}

.animate-left {
  animation: fadeSlideLeft 1s ease forwards;
}

.animate-right {
  animation: fadeSlideRight 1s ease forwards;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.footer {
  background-color: #2e2d2d;
  color: white;
  padding: 40px 30px;
  font-family: 'Avenir', Arial, sans-serif;
}

.footer-title {
  font-size: 3.8rem;
  font-weight: bold;
  line-height: 1.2;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-left {
  flex: 1;
  min-width: 250px;
}

/* Footer links */
.footer-right a {
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  margin-right: 12px;
}

.footer-right a:hover {
  color: #ffcc00;
  text-decoration: underline;
}

/* Footer rows */
.footer-right p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0;
  flex-wrap: wrap;
}

.footer-right i {
  flex: 0 0 22px;
  color: #ffcc00;
  margin-top: 2px;
}

/* Special case: email row */
.footer-right p.email-block {
  display: flex;
  align-items: center;
  gap: 0.3px;       /* spacing between emails */
  flex-wrap: wrap; /* allow wrapping if too narrow */
}

.footer-right p.email-block a {
  white-space: nowrap;
}

/* Mobile stacking */
@media (max-width: 600px) {
  .footer-right p.email-block {
    display: grid;
    grid-template-columns: 22px 1fr;  /* icon column + email column */
    align-items: start;
    column-gap: 10px;
  }

  .footer-right p.email-block i {
    grid-row: span 2; /* icon spans both emails */
    margin-top: 2px;
    color: #ffcc00;
  }

  .footer-right p.email-block a {
    display: block;
    margin: 2px 0;
    margin-left: 0;   /* reset margin-left override */
    white-space: normal;
  }
}

.footer-copy {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #ccc;
}


/* About Us Section */
.aboutus-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.aboutus-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.aboutus-media {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.aboutus-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

/* Responsive adjustments for About Us */
@media (max-width: 768px) {
  .aboutus-container {
    flex-direction: column;
    gap: 20px;
  }

  .aboutus-media {
    height: 300px;
  }

  .aboutus-media video {
    height: 100%;
  }
}

.aboutus-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
}

.aboutus-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.aboutus-content p {
  font-size: 1.099rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Founder Section */
.founder-section {
  padding: 100px 10px; /* More vertical space */
  background-color: #f9f9f9;
}

.founder-section .container {
  max-width: 93%;
  margin: 0 auto;
  padding: 60px 40px; /* More inner padding for height and balance */
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-family: 'Avenir', Arial, sans-serif;
  color: #333;
}

.founder-section h2 {
  font-size: 2.5rem; /* Bigger heading */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  color: #1a1a1a;
}

.founder-section p {
  font-size: 1.15rem; /* Slightly bigger paragraph text */
  margin-bottom: 20px;
  line-height: 1.7;
}

.founder-section ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

.founder-section li {
  font-size: 1.15rem; /* Match paragraph size */
  margin-bottom: 12px;
}

/* Contact Section */
.contact-section {
  background-color: #f4efef;
  padding: 60px 20px;
}

.contact-info-container,
.form-container {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 40px 24px;
  background-color: #f8f8f8;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.section-heading {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-subtext {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.contact-card {
  flex: 1 1 280px;
  background-color: #eaeef0;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
}

.contact-card i {
  font-size: 2.4rem;
  color: #0073e6;
  margin-bottom: 16px;
}

.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.contact-card p,
.contact-card a {
  font-size: 1.05rem;
  color: #333;
  text-decoration: none;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #ccc; /* Consolidated border */
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Avenir', Arial, sans-serif;
  background-color: #fff; /* Consolidated background */
  transition: border-color 0.3s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s; /* Consolidated transitions */
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #007BFF;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.contact-form input:hover,
.contact-form textarea:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.contact-form button {
  background-color: #007BFF;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-end;
}

.contact-form button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* Products Section */
.products-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 60px 20px;
  background: #f9f9f9;
  align-items: stretch;   /* ✅ force equal height */
}


.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;          /* ✅ make card flexible */
  flex-direction: column; /* stack image + info */
  height: 100%;           /* stretch to grid row */
}


.product-card:hover {
  transform: translateY(-4px);
}

.product-content.horizontal-layout {
  display: flex;
  flex-direction: row;
  gap: 40px;
  padding: 30px;
  align-items: center;
}

.product-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
}

.product-info {
  flex: 2;
}

.product-info h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
  color: #032d59;
}

.product-info ul {
  margin-bottom: 20px;
  padding-left: 20px;
  font-size: 1.05rem;
  line-height: 1.6;
}


@media (max-width: 768px) {
  .product-content.horizontal-layout {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .product-image img {
    max-width: 100%;
  }
}

/* Animation base for products and sections */
.fade-left,
.fade-right,
.fade-in-up,
.fade-in-right,
.section-heading-container,
.form-container {
  opacity: 0;
  transition: all 0.6s ease-out; /* Unified transition */
  will-change: transform, opacity;
}

.fade-left {
  transform: translateX(-60px);
}

.fade-right {
  transform: translateX(60px);
}

.fade-in-up,
.form-container {
  transform: translateY(30px);
}

.fade-in-right {
  transform: translateX(50px);
}

.section-heading-container {
  transform: translateY(20px);
}

/* Keep the container itself white */

/* Gradient banner for products heading */
.products-heading-section {
  background: linear-gradient(135deg, #3d3c3c, #585858,#7a7b7c,#c4c5c7);
  padding: 1px 10px 15px 20px;
  color: #222;
  text-align: left;
}

.products-heading-content {
  max-width: 1000px;
  margin: 0;
  padding-left: 50px;
}


.products-heading-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fcfcfc;   /* dark gray heading for contrast */
}

.products-heading-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #ffffff;      /* medium gray */
  max-width: 1000px;
  margin: 0 auto;
}

.products-heading-content {
  max-width: 1000px;
  margin: 0;
  padding-left: 50px;   /* minimal spacing */
}



.fade-left.visible,
.fade-right.visible,
.fade-in-up.visible,
.fade-in-right.visible,
.section-heading-container.visible,
.form-container.visible {
  opacity: 1;
  transform: translateX(0) translateY(0); /* Reset both X and Y */
}

.section-heading-container {
  max-width: 800px;
  margin: 100px auto 60px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.section-heading-container h2 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
}

/* Existing styles for desktop view */
.card {
    display: inline-block; /* or flex, depending on your layout */
    width: 45%; /* Adjust as needed */
    margin: 2.5%; /* Adjust as needed */
}

/* Mobile styles */
@media (max-width: 768px) {
    .card {
        display: block; /* Stack cards vertically */
        width: 100%; /* Full width on mobile */
        margin: 10px 0; /* Margin for spacing */
    }
}

/* Why Choose Us - Grid Layout */
.why-choose-us {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
}

.why-choose-us h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 40px;
}

/* Only apply inside Why Choose Us section */
.why-choose-us .stats-card p {
  font-size: 1.05rem;   /* slightly larger */
  color: #444;          /* better readability */
  line-height: 1.6;     /* more spacing */
}

.why-choose-us .stats-card {
  width: 260px;    /* was 220px */
  padding: 24px;   /* slight increase for balance */
}


.stats-section {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stats-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  width: 220px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.stats-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
}

.stats-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.stats-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .products-section {
    grid-template-columns: 1fr; /* Stack cards vertically */
    gap: 20px; /* Reduce space for mobile */
  }

  .product-card {
    width: 100%; /* Ensure full width */
    margin: 0 auto;
  }
}

.footer-right p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0;
}

.footer-right i {
  width: 20px;           /* keeps text aligned */
  line-height: 1.6;
  margin-top: 2px;
  color: #ffcc00;
  transform: none !important; /* prevent accidental rotations */
}

/* Common button style */
.hero-btn,
.view-btn,
.contact-form button {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: bold;
  color: #000000;
  background-color: #ffffff;
  border: 2px solid #000000;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover effect */
.hero-btn:hover,
.view-btn:hover,
.contact-form button:hover {
  background-color: #443c76;
  color: #ffffff;
  transform: translateY(-2px);
}


.hero-content {
  position: relative;   /* make it a positioned element */
  z-index: 2;           /* above the overlay */
}

.hero-section::before {
  z-index: 1;           /* keep overlay behind text and button */
}


/* Carousel container */
.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  background: #fff;
  padding: 40px 0;
}

.carousel-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222;
}

.carousel-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.carousel-track img {
  background: transparent; /* no white box */
  padding: 0;
  margin: 0 25px;
  height: 160px;  /* fix a uniform height */
  width: auto;    /* auto width, avoids squishing */
  object-fit: contain;
}

.carousel-track img:hover {
  transform: scale(1.08);
  /* remove drop-shadow/box-shadow that causes the box to show */
  filter: none;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


