/* ===== Reset & Base Styles ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: #333; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ===== Layout ===== */
header, section, footer { padding: 60px 20px; }

.container { max-width: 1100px; margin: auto; }

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #3b82f6;
    color: #fff;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover { background: #2563eb; }

/* ===== Navbar ===== */
/* Navigation */
  nav {
    position: sticky;
    top: 0;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
  }

.logo {
    display: flex;
    align-items: center;
    gap: 8px;              /* spacing between image and text */
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-decoration: none; /* remove underline */
}

.logo img {
    height: 45px;          /* adjust size */
    width: auto;
    display: block;
}

  nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
  }
  nav h1 {
    font-size: 20px;
  }
  nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  /* Base Nav Links */
nav ul li a {
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  color: #1e293b; /* dark slate text */
  padding: 8px 14px;
  transition: all 0.3s ease;
  border-radius: 6px;
  position: relative;
}

/* Hover Effect */
nav ul li a:hover {
  background: rgba(16, 185, 129, 0.1); /* soft green background */
  color: #065f46; /* deep green text */
}

/* Active Link */
nav ul li a.active {
  background: #10b981; /* emerald green */
  color: #fff;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.4); /* subtle glow */
}

/* Optional: Underline Accent on Hover */
nav ul li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 4px;
  left: 50%;
  background-color: #10b981; /* emerald underline */
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

nav ul li a:hover::after {
  width: 60%; /* animate underline */
}


  /* Mobile Menu */
  .menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
  }
  @media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: #fff;
    padding: 15px 0;
    position: absolute;
    top: 60px;
    left: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  /* Show with slideDown */
  .nav-links.show {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  /* Hide with slideUp */
  .nav-links.hide {
    display: flex; /* still flex so animation can play */
    animation: slideUp 0.3s ease forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes slideUp {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(-10px);
    }
  }
}



/* ===== Header / Hero ===== */
.hero {
  background: url('assets/img/hero-bg.jpg') center/cover no-repeat;
  position: relative;
  /* overlay can be done via pseudo-element or a separate div */
}
.hero::before {
  content: "";
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(30,58,138,0.6); /* adjust opacity */
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  /* text & buttons here */
}

/* .hero {
    background: linear-gradient(to right, #3b82f6, #1e3a8a);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
} */

.hero h1 { font-size: 2.8rem; margin-bottom: 15px; }

.hero p { font-size: 1.2rem; margin-bottom: 25px; }

/* ===== Sections ===== */
h2 { margin-bottom: 20px; color: #1e3a8a; text-align: center; font-size: 2rem; }

.grid {
    display: grid;
    gap: 20px;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
}

/* Services Section */
.services-grid .service-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

/* Hover Effect */
.services-grid .service-card:hover {
    transform: translateY(-8px);       /* lifts the card up */
    box-shadow: 0 12px 25px rgba(0,0,0,0.2); /* stronger shadow */
}

/* Optional: icon pop effect on hover */
.services-grid .service-card:hover .icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Learn More button hover */
.services-grid .service-card a:hover {
    background: #065f46; /* darker green on hover */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(16,185,129,0.4);
}


.services {
  padding: 80px 0;
  background: #f9f9f9;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.services .section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card ul li {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}

.service-card ul li::before {
  content: "✔";
  color: #4CAF50;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* 📱 Mobile view adjustments */
@media (max-width: 768px) {
  .services {
    padding: 50px 15px; /* reduce top/bottom padding, add side spacing */
  }

  .services-grid {
    gap: 20px; /* smaller gaps between cards */
  }

  .service-card {
    padding: 20px;
    margin: 0 10px; /* space left & right on mobile */
  }
}



/* ===== Contact Form ===== */
form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

/* Footer */
@media (max-width: 768px) {
    footer .container {
        flex-direction: column;
        text-align: center !important;
    }
    footer .container > div {
        text-align: center !important;
    }
    footer .container div:last-child {
        margin-top: 20px;
    }
}
footer a:hover {
    color: #6ee7b7 !important;
    text-decoration: underline;
}

  footer {
    background: #1e3a8a;
    padding: 20px 0;
    text-align: center;
    position: relative;
  }
  footer p {
    margin: 5px 0;
    color: #fff;
  }
  footer a {
    color: #93c5fd;
    text-decoration: none;
  } 

footer a.social {
    color: #fff;
    margin: 0 8px;
    transition: color 0.3s ease;
}
footer a.social.linkedin:hover { color: #0077b5; }
footer a.social.facebook:hover { color: #1877f2; }
footer a.social.instagram:hover { color: #e1306c; }

.industry-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 30px 20px;
    width: 260px;
    color: #065f46;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.35s ease;
    backdrop-filter: blur(6px);
    border-top: 5px solid transparent;
  }

  .industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    border-top: 5px solid #22c55e;
    background: rgba(255,255,255,0.95);
  }

  .industry-card h3 {
    margin: 15px 0 10px;
    font-size: 18px;
    font-weight: 700;
  }

  .industry-card p {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
  }

  .industry-card .icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  @media (max-width: 768px) {
    .industry-card {
      width: 100%;
      max-width: 320px;
    }
  }


/* How It Works Section */
.how-it-works {
  background: #f9fdfb;
  padding: 50px 20px; 
  margin-top: 20px;
}

.how-it-works .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #14532d;
  margin-bottom: 10px;
}

.how-it-works .section-subtitle {
  color: #555;
  margin-bottom: 60px;
}

.steps-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.step {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 30px 25px;
  width: 280px;
  text-align: center;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.step .icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.step h3 {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
}

.step p {
  color: #555;
  font-size: 0.95rem;
  margin: 0;
}

/* Arrow between steps */
.arrow {
  font-size: 1.8rem;
  color: #16a34a;
}

.arrow i {
  transition: transform 0.3s ease;
}

.arrow i:hover {
  transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .steps-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .arrow i {
    transform: rotate(90deg);
  }

  .arrow i:hover {
    transform: rotate(90deg) translateY(5px);
  }
}


/* Success Message Container */
.success-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  background: rgba(34, 197, 94, 0.1);
  padding: 40px 20px;
  z-index: 1;
}

.success-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  text-align: center;
  max-width: 420px;
  padding: 50px 30px;
  animation: fadeUp 0.6s ease;
}

.checkmark-wrapper {
  background: rgba(34,197,94,0.15);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pop 0.4s ease;
}

.checkmark-wrapper i {
  color: #16a34a;
  font-size: 48px;
  animation: pulse 1.2s infinite ease-in-out;
}

.success-card h2 {
  color: #065f46;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.success-card p {
  color: #333;
  font-size: 1rem;
  margin-bottom: 25px;
}

.success-card .back-home {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  padding: 10px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.success-card .back-home:hover {
  background: #15803d;
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes pop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.9; }
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .success-card {
    max-width: 90%;
    padding: 40px 20px;
  }

  .success-card h2 {
    font-size: 1.5rem;
  }

  .checkmark-wrapper {
    width: 70px;
    height: 70px;
  }

  .checkmark-wrapper i {
    font-size: 36px;
  }
}



@keyframes spin {
    to { transform: rotate(360deg); }
}



.number-icon {
  background: linear-gradient(135deg, #10b981, #047857);
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(16,185,129,0.3);
}