@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f4f4f4;
}

section {
  padding: 60px;
}

/*------------------------------------------------
Navbar Style
--------------------------------------------------*/
/* Navbar container */
/* Navbar container */
nav {
  width: 100%;
  background: #000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.5rem;
  position: fixed;
  /* ✅ fixed top */
  top: 0;
  left: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #3d72bf;
  height: auto;
}

/* Nav links */
ul.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
  font-size: 1.0rem;
}

ul.nav-links li {
  position: relative;
  text-align: center;
}

ul.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  position: relative;
  /* for pseudo-element */
  transition: color 0.3s;
}

ul.nav-links li a:hover {
  color: #FCC86D;
}

ul.nav-links li a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #FCC86D;
  border-radius: 2px;
  
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

/* When active, show underline */
ul.nav-links li a.active::after {
  transform: scaleX(1);
}

/* Dropdown */
ul.nav-links li ul.dropdown {
  position: absolute;
  top: 120%;
  margin-top: 10px;
  /* left: 0; */
  background: #fff;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 250px;

  display: flex;
  flex-direction: column;
  list-style: none;

  /* ✅ Smooth dropdown animation */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

ul.nav-links li ul.dropdown li a {
  padding: 0.5rem 1.2rem;
  display: block;
  color: #000;
  transition: all 0.3s ease;   /* smooth hover */
  border-radius: 5px;          /* soft corners */
}

ul.nav-links li ul.dropdown li a:hover {
  background: #fff;   /* light gray background */
  color: #FCC86D;        /* brand color text */
  padding-left: 1.5rem;
  width: 100%;
    /* little slide-in effect */
}

ul.nav-links li:hover>ul.dropdown,
ul.nav-links li ul.dropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* CTA button */
.cta-btn {
  background: #ffc700;
  color: #3b3b3b;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.cta-btn:hover {
  background: #f0b800;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
}


/* Mobile styles */
@media (max-width: 768px) {
  ul.nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 70%;
    background: #000;
    flex-direction: column;
    padding-top: 4rem;
    gap: 1.5rem;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
  }

  ul.nav-links.active {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  ul.nav-links li ul.dropdown {
    position: static;
    box-shadow: none;
    border-radius: 0;
    /* padding-left: 1rem; */
    opacity: 1;
    text-align: center;
    /* always visible if toggled */
    visibility: visible;
    transform: none;
    display: none;
    /* hidden by default in mobile */
  }

  .logo img{
    height: 50px;
  }

  .menu-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
}
}

/*-----------------------------------------------
Loader Style
--------------------------------------------------*/
/* Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0e0e0e;
  color: #FCC86D;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
  font-family: 'Orbitron', sans-serif;
  /* You can import Orbitron font for extra tech style */
}

/* Spinner */
.spinner {
  width: 80px;
  height: 80px;
  border: 8px solid rgba(234, 255, 0, 0.2);
  border-top: 8px solid #FCC86D;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  margin-bottom: 20px;
}

/* Spin animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Fade-out transition */
.fade-out {
  opacity: 0;
  pointer-events: none;
}



/*-----------------------------------------------
  Hero Section - Index
  -----------------------------------------------*/
.hero {
  /* background-image: url('https://plus.unsplash.com/premium_photo-1683121696175-d05600fefb85?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTN8fHRlY2hub2xvZ3l8ZW58MHx8MHx8fDA%3D'); */
  background-image: url("/assets/bg-1.jpg");
  /* Replace with your image */
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 50px;
  padding: 20px !important;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-card {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 1.8rem 2.5rem;
  border-radius: 1rem;
  max-width: 900px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: fadeIn 1s ease-out;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #ddd;
}

.hero-btn {
  background-color: #fff;
  color: black;
  padding: 0.75rem 2.5rem;
  border: none;
  border-radius: 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: transparent;
  color: #fff;
  font-weight: 500;
  border: #fff 1.5px solid;
}

.hero-btn a {
  text-decoration: none;
  color: #000;
}

.hero-btn a:hover {
  color: white;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .hero-card {
    padding: 1.2rem 1.8rem;
    /* margin-top: 40px; */
  }

  .hero-btn{
    font-size: 0.8rem;
    padding: 0.6rem 2.1rem;
  }
}

@media (max-width: 464px) {
  .hero-title{
    font-size: 1.6rem;
  }

  .hero-text{
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .hero{
    margin-top: 80px;
  }

  .hero-card{
    padding: 0.8rem 1.1rem;
  }

  .hero-btn{
    font-size: 0.6rem;
    padding: 0.5rem 1.2rem;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*----------------------------------------
  Footer Section
  ----------------------------------------*/
.footer {
  background-color: #FCC86D;
  color: #000;
  padding: 2rem 1rem 1rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  font-size: 1.5rem;
  font-weight: bold;
  width: 240px;
}


.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: #000;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #007bff;
}

.footer-line {
  border-top: 1px solid #444;
  margin: 1.5rem auto;
  max-width: 1200px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.95rem;
  color: #3b3b3b;
  padding-top: 0.5rem;
}

@media (max-width: 600px) {
  .footer-top {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

/*---------------------------------------------
  Features Section
  -------------------------------------------*/
.features-section {
  padding-top: 120px;
  width: 100%;
  /* max-width: 1200px; */
  margin: auto;
  text-align: center;
}

.features-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #222;
}

.features-subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: #666;
}

.features-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 calc(20% - 1rem);
  /* 5 items in one row with spacing */
  min-width: 220px;
  max-width: 280px;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: #555;
}

@media (max-width: 1024px) {
  .feature-card {
    flex: 1 1 calc(33.33% - 1rem);
    /* 3 items per row on tablets */
  }
}

@media (max-width: 768px) {
  .feature-card {
    flex: 1 1 calc(50% - 1rem);
    /* 2 items per row on small screens */
  }
}

@media (max-width: 480px) {
  .feature-card {
    flex: 1 1 100%;
    /* Full width on mobile */
  }

  .features-title {
    font-size: 2rem;
  }

  .features-subtitle {
    font-size: 1rem;
  }
}

/*-------------------------------------------------------
  Step Section
  ----------------------------------------------*/
.steps-section {
  /* max-width: 100%; */
  width: 100%;
  margin: auto;
  text-align: center;
  padding: 2rem 1rem;
}

.steps-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #222;
}

.steps-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.step-card {
  background: #000;
  flex: 1 1 calc(33.33% - 1.5rem);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.3s ease;
  max-width: 350px;
  /* animation: fadeIn 1s ease-out; */
}

.step-card:hover {
  transform: translateY(-10px);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 20px;
  background: #007bff;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: bold;
  line-height: 40px;
  text-align: center;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-icon {
  font-size: 3rem;
  color: #FCC86D;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
}

.step-desc {
  font-size: 1rem;
  color: #fff;
}

@media (max-width: 992px) {
  .step-card {
    flex: 1 1 50%;
  }
}

@media (max-width: 600px) {
  .step-card {
    flex: 1 100%;
  }

  .steps-title {
    font-size: 2rem;
  }

  .steps-subtitle {
    font-size: 1rem;
    margin-bottom: 2.4rem;
  }
}

@media (max-width: 384px) {

  .steps-title {
    font-size: 1.7rem;
  }

  .steps-subtitle {
    font-size: 0.8rem;
    margin-bottom: 2.1rem;
  }

  .step-title{
    font-size: 1.1rem;
  }

  .step-desc{
    font-size: 13px;
  }
}

/*---------------------------------------
  FAQ'S Section
  -----------------------------------------*/
.faq-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 !important;
}

.faq-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.faq-item {
  background: #fff;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.faq-question {
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  padding-right: 3rem !important;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  background: #fafafa;
  font-size: 1rem;
  color: #555;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 1rem 1.5rem 1.5rem;
}

.get-help-link {
  text-decoration: underline;
  font-weight: 600;
  color: #FCC86D;
}

.get-help-p {
  font-size: 1.1rem;
  text-align: center;
}


@media (max-width: 714px) {
  .faq-question{
    font-size: 0.9rem;
  }

  .faq-answer{
    font-size: 0.9rem;
  }

  .faq-title {
    font-size: 2rem;
  }
}

@media (max-width: 310px) {
  .faq-title{
    font-size: 1.7rem;
  }
}

/*--------------------------------------------
  Metrics Section
  ------------------------------------------------*/
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.matrix-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.intro-text {
  text-align: center;
  font-size: 1.1rem;
  /* margin: 0 auto 3rem auto; */
  color: #555;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.metric-card {
  /* background: #fff; */
  border-radius: 1rem;
  padding: 2rem;
  /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  } */

.metric-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #FCC86D;
}

.metric-label {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  color: #444;
}

@media (max-width: 600px) {
  .metrics {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .intro-text {
    font-size: 1rem;
  }

  .metric-label{
    font-size: 1rem;
  }
}

@media (max-width: 474px) {
 .section-title {
    font-size: 1.7rem;
  }

  .intro-text {
    font-size: 0.8rem;
  }

  .metric-label{
    font-size: 0.8rem;
  }
}


/*---------------------------------
Product Section
---------------------------------*/
.product-section {
  /* max-width: 1200px; */
  margin: 15px auto;
  display: flex;
  gap: 30px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  flex-direction: row;
}

.product-image {
  flex: 1;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-info {
  flex: 1;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-info h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

.product-info p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.product-info button {
  font-family: 'Montserrat';
  padding: 12px 24px;
  background-color: #4f46e5;
  color: #fff;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  width: 200px;
}

.button-fill {
  font-family: 'Montserrat', sans-serif;
  padding: 12px 32px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
  width: auto;
  text-decoration: none;
}

.buttons-p {
  display: flex;
  flex-direction: row;
  gap: 30px;
  flex-wrap: wrap;
}

.button-nofill {
  font-family: 'Montserrat';
  padding: 12px 32px;
  background-color: transparent;
  color: #000;
  border: #000 2px solid;
  border-radius: 2px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
  width: auto;
  text-decoration: none;
}

.button-fill:hover {
  background-color: #fff;
  color: #000;
  /* border: #000 2px solid; */
}

.button-nofill:hover {
  background-color: #000;
  color: #fff;
  border: #fff 2px solid;
}


/* Responsive */
@media (max-width: 768px) {
  .product-section {
    flex-direction: column;
    margin: 0;
    gap: 0;
  }

  .product-image,
  .product-info {
    width: 100%;
  }

  .product-info {
    padding: 30px 20px;
  }

  .buttons-p {
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .product-section {
    flex-direction: column;
    margin: 10px;
    gap: 0;
  }
}

/*----------------------------------
Services Section
------------------------------------*/
.service-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.service-subtext {
  font-size: 1.1rem;
  text-align: center;
  color: #555;
}

.service-subhead {
  font-size: 1.1rem;
  /* text-align: center; */
  color: #000;
  font-weight: 500;
  padding-top: 20px;
}

.service-p {
  font-size: 1.1rem;
  width: 1200px;
}

.service-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.service-container img {
  width: 400px;
  max-width: fit-content;
}