/* ---------- General Header Styling ---------- */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 100%;
  margin: 0;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 80px;
  width: 260px;
  display: block;
}

/* ---------- Desktop Nav ---------- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-link {
  font-weight: 500;
  text-decoration: none;
  color: #333;
  transition: color 0.2s ease;
  text-shadow: none;
}

.header.scrolled .nav-link {
  color: #333;
  text-shadow: none;
}

.nav-link:hover {
  color: #007BFF;
}

.contact-btn {
  background: #007BFF;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.contact-btn:hover {
  background: #0066cc;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* ---------- Mobile Menu ---------- */
.menu-toggle {
  background: none;
  border: none;
  color: #333;
  font-size: 28px;
  cursor: pointer;
  display: none;
  margin-left: auto;
}

.header.scrolled .menu-toggle {
  color: #333;
}

.mobile-menu {
  display: none;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.mobile-menu.open {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 20px;
}

.mobile-link {
  color: #333;
  text-decoration: none;
  padding: 10px 0;
  font-weight: 500;
}

.mobile-link:hover {
  color: #007BFF;
}

.mobile-contact {
  background: #007BFF;
  color: white;
  text-align: center;
  margin-top: 10px;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

/* Background Image */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 100%; /* increased so background is more visible */
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  /* lighter overlay so underlying image shows through better */
  background: linear-gradient (to top, rgba(255,255,255,0.45), rgba(255,255,255,0.30), rgba(255,255,255,0.15));
}

/* Floating Orbs */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  animation: float 6s ease-in-out infinite;
}

.orb1 {
  width: 500px;
  height: 500px;
  background: #0077ff;
  top: 15%;
  left: 5%;
  animation-duration: 18s;
}

.orb2 {
  width: 350px;
  height: 350px;
  background: #4da6ff;
  top: 55%;
  left: 75%;
  animation-duration: 22s;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.1;
  }
}

/* Content */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.hero-logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  animation: fadeInDown 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-logo {
  height: 200px;
  filter: drop-shadow(0px 5px 15px rgba(0, 119, 255, 0.2));
}

.hero-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 2.1rem;
  color: #000508;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

/* Buttons */
.hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.btn {
  padding: 1rem 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  letter-spacing: 1px;
}

.btn-primary {
  background: #0077ff;
  color: white;
  box-shadow: 0px 4px 12px rgba(0, 119, 255, 0.3);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 30px rgba(0, 119, 255, 0.7);
}

.btn-outline {
  border: 2px solid #0077ff;
  color: #0077ff;
  background: transparent;
}

.btn-outline:hover {
  background: #e0f2fe;
  color: #031428;
  box-shadow: 0px 0px 20px rgba(0, 119, 255, 0.2);
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-logo {
    height: 90px;
  }

  .hero-text {
    font-size: 1rem;
  }

  .btn {
    padding: 0.9rem 2rem;
  }
}

/* Section Layout */
.about-section {
  padding: 80px 0;
}

@media (min-width: 1024px) {
  .about-section {
    padding: 110px 0;
  }
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
  }
}

/* Left Side Text */
.about-title {
  font-size: 2rem;
  font-weight: 800;
  color: #031428;
}

@media (min-width: 1024px) {
  .about-title {
    font-size: 2.5rem;
  }
}

.about-description {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
}

.about-points {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.icon-wrapper {
  background: rgba(0, 119, 255, 0.1);
  padding: 0.8rem;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
}

.icon-wrapper i {
  font-size: 24px;
  color: #0077ff;
}

.icon {
  font-size: 24px;
  color: #0077ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.point-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.point-desc {
  color: #555;
  line-height: 1.5;
}

/* Right Side Image */
.about-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  object-fit: cover;
  min-height: 400px;
}

/* Animations */
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s ease 0.2s;
}

.fade-in-scale.visible {
  opacity: 1;
  transform: scale(1);
}
.divisions-section {
  padding: 5rem 1.5rem;
  background-color: #f0f6ff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #0f172a;
  font-weight: 800;
}

.section-header p {
  font-size: 1.1rem;
  color: #6b7280;
  margin-top: 0.75rem;
}

.division-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.division-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.division-card:hover {
  transform: translateY(-5px);
}

.division-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 1.25rem;
}

/* Accordion */
.accordion-item {
  border-bottom: 1px solid #e5e7eb;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: #1f2937;
  padding: 0.75rem 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.accordion-header i {
  font-size: 1.1rem;
  color: #2563eb;
  min-width: 24px;
  text-align: center;
}

.accordion-header:hover {
  color: #2563eb;
}

.accordion-header:hover i {
  color: #1d4ed8;
}

.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
  padding-right: 0.5rem;
}

.accordion-item.active .accordion-header {
  color: #1d4ed8;
}

.accordion-item.active .accordion-content {
  padding: 0.75rem 0;
}

/* Responsive */
@media (min-width: 768px) {
  .division-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Section */
.representation-section {
  padding: 6rem 1.5rem;
  background-color: #ffffff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.icon-box {
  width: 64px;
  height: 64px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 2rem;
  color: #2563eb;
}

.icon-box i {
  font-size: 2.5rem;
  color: #2563eb;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.6;
}

/* Services Section */
.services-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.services-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

.services-card h3 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #374151;
  font-size: 1rem;
  line-height: 1.5;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #2563eb;
  border-radius: 50%;
  margin-top: 0.4rem;
}

/* CTA */
.cta {
  text-align: center;
  margin-top: 3rem;
}

.cta-btn {
  display: inline-block;
  background-color: #2563eb;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: #1d4ed8;
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
  transform: scale(1.05);
}

/* Responsive */
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.procurement-section {
  padding: 6rem 1.5rem;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

/* Image Section */
.image-container {
  order: 2;
}

.procurement-image {
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  min-height: 400px;
}

/* Text Section */
.content {
  order: 1;
}

.content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
}

.intro {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.7;
}

.features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.icon {
  background-color: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-size: 1.75rem;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

.feature h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 0.25rem;
}

.feature p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
}

/* Responsive */
@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }

  .image-container {
    order: 1;
  }

  .content {
    order: 2;
  }
}

/* Center procurement title on small screens */
@media (max-width: 767px) {
  .procurement-section .content h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.75rem; /* slightly smaller on mobile for better fit */
  }

  .procurement-section .content .intro {
    text-align: center;
  }
}

/* Section Wrapper */
.contact-section {
  padding: 5rem 1.5rem;
  background-color: #f9fafb;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.contact-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.contact-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1rem;
}

.contact-header p {
  font-size: 1.125rem;
  color: #4b5563;
}

/* Grid Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  overflow: hidden;
}

.contact-grid *,
.contact-grid *::before,
.contact-grid *::after {
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .contact-grid {
    padding: 1.25rem; /* reduce from 2.5rem */
    gap: 1.5rem; /* reduce from 3rem */
  }
}

@media (max-width: 767px) {
  .contact-grid {
    padding: 1.5rem;
    gap: 1.75rem;
  }
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Contact Info */
.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .contact-info h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
}

.company-name {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .company-name {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.info-item .icon {
  font-size: 1.5rem;
  color: #2563eb;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
}

.info-item .icon i {
  font-size: 1.5rem;
  color: #2563eb;
}

.info-item a {
  color: #1f2937;
  text-decoration: none;
  transition: color 0.3s;
}

.info-item a:hover {
  color: #2563eb;
}

/* Contact Form Styling */
.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.contact-form .php-email-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 0.25rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .contact-form .row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.contact-form .form-control {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  color: #1f2937;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  box-sizing: border-box; /* include padding/border in width to avoid overflow */
  max-width: 100%;
}

@media (max-width: 480px) {
  .contact-form .form-control {
    padding: 0.75rem 0.875rem;
    font-size: 0.95rem;
  }
}

.contact-form .form-control::placeholder {
  color: #9ca3af;
  font-weight: 500;
}

.contact-form .form-control:focus {
  outline: none;
  border-color: #2563eb;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15), 0 4px 12px rgba(37, 99, 235, 0.2);
  transform: translateY(-1px);
}

.contact-form .form-control:hover {
  border-color: #bfdbfe;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 150px;
  font-family: 'Poppins', sans-serif;
}

.contact-form .text-center {
  text-align: center;
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.contact-form button[type="submit"] {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem 3rem;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  font-size: 0.95rem;
  align-self: center;
  min-width: 200px;
}

@media (max-width: 480px) {
  .contact-form button[type="submit"] {
    padding: 0.75rem 1.5rem;
    min-width: auto;
    font-size: 0.875rem;
  }
}

.contact-form button[type="submit"]:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  transform: translateY(-3px);
}

.contact-form button[type="submit"]:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.contact-form .loading,
.contact-form .error-message,
.contact-form .sent-message {
  padding: 1.25rem;
  border-radius: 0.75rem;
  text-align: center;
  margin-top: 1rem;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form .loading {
  display: none;
  background: linear-gradient(135deg, #e0e7ff 0%, #f0f4ff 100%);
  color: #4338ca;
  border-left: 4px solid #4338ca;
}

.contact-form .error-message {
  display: none;
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #991b1b;
  border-left: 4px solid #991b1b;
}

.contact-form .sent-message {
  display: none;
  background: linear-gradient(135deg, #dcfce7 0%, #c6f6d5 100%);
  color: #166534;
  border-left: 4px solid #166534;
}

.contact-form .mt-3 {
  margin-top: 0 !important;
}

.contact-form .mt-md-0 {
  margin-top: 0 !important;
}

.contact-form .my-3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.contact-form .col-md-6 {
  width: 100%;
  margin: 0;
}

@media (min-width: 768px) {
  .contact-form .col-md-6 {
    width: 100%;
  }
  
  .contact-form .mt-md-0 {
    margin-top: 0 !important;
  }
}


/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
  padding-top: 5px;
}

.contact .info {
  width: 100%;
  background: #fff;
}

.contact .info i {
  font-size: 20px;
  color: #2f3e9e;
  float: left;
  width: 44px;
  height: 44px;
  background: #ecf9f0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #37423b;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #657a6d;
}

.contact .info .email,
.contact .info .phone {
  margin-top: 40px;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: #2f3e9e;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #2f3e9e;
}

.contact .php-email-form button[type=submit] {
  background: #2f3e9e;
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #1a237e;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
/*
  Fixes for contact information markup in `index.html`.
  The HTML uses `.contact-info` and `.info-item` (not `.contact .info`).
  Add explicit responsive rules so icons and text align and wrap correctly.
*/
.contact-info {
  padding: 0; /* keep spacing controlled by parent .contact-grid */
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.contact-info .info-item {
  display: flex;
  align-items: center; /* vertically center icon with text */
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: center;
}

.contact-info .info-item .icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #ecf9f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  flex: 0 0 44px;
  line-height: 1; /* avoid inherited line-height shifting */
}

.contact-info .info-item .icon i {
  font-size: 1.1rem;
}

.contact-info .info-item p,
.contact-info .info-item a {
  margin: 0;
  color: #1f2937;
  flex: 1 1 auto;
  min-width: 0; /* allows wrapping inside flex children */
  word-break: break-word;
}

/* If text is multi-line, align the first line with the icon center visually by adding a small top padding */
.contact-info .info-item p {
  padding-top: 2px;
}

@media (max-width: 767px) {
  .contact-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .contact-info .info-item {
    gap: 0.6rem;
  }

  .contact-info .info-item .icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    flex: 0 0 40px;
  }

  /* Make sure company name and addresses don't add extra left padding */
  .company-name {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }
}
.footer {
  background-color: #ffffff;
  border-top: 1px solid #f3f4f6;
  padding: 3rem 1.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.footer-logo {
  height: 70px;
  margin-top: 0;
  margin-bottom: -10px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: #4b5563;
}

/* Headings */
.footer-heading {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: #111827;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 0.5rem 0;
}

.footer-links a {
  color: #1f2937;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #2563eb; /* brand blue */
}

/* Contact Info */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.footer-contact a {
  text-decoration: none;
  color: #1f2937;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #2563eb;
}

.footer-contact .icon {
  font-size: 1rem;
  color: #2563eb;
  display: flex;
  align-items: center;
}

.footer-contact .icon i {
  font-size: 1rem;
  color: #2563eb;
}

/* Social Media Section */
.footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer-social li {
  margin: 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  color: #2563eb;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.2rem;
}

.footer-social a:hover {
  background-color: #2563eb;
  color: white;
  transform: translateY(-3px);
}

.icon {
  font-size: 1rem;
  color: #2563eb;
}

/* Bottom Section */
.footer-bottom {
  border-top: 1px solid #e5e7eb;
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
}

.footer-bottom p {
  margin: 0.25rem 0;
}

.designed-by a {
  text-decoration: underline;
  color: #4b5563;
  transition: color 0.3s;
}

.designed-by a:hover {
  color: #2563eb;
}

/* Responsive Layout */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    text-align: left;
  }

  .footer-contact li {
    justify-content: flex-start;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .footer-logo {
    margin-left: 0;
  }
}

/* Footer: improved mobile responsiveness and touch targets */
@media (max-width: 767px) {
  .footer {
    padding: 2rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    text-align: center;
    align-items: start;
  }

  .footer-col {
    padding: 0.5rem 0;
  }

  .footer-logo {
    height: 70px;
    width: 200px;
    margin: 0 auto 0.75rem;
  }

  .footer-tagline {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .footer-heading {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .footer-links li {
    margin: 0.4rem 0;
  }

  .footer-links a,
  .footer-contact a {
    display: inline-block;
    padding: 8px 10px; /* larger tap area */
    border-radius: 6px;
    word-break: break-word;
    white-space: normal;
  }

  .footer-contact li {
    justify-content: center;
    gap: 0.5rem;
  }

  /* Make phone/email appear as touch-friendly chips on mobile */
  .footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    background: rgba(37, 99, 235, 0.06);
    border-radius: 8px;
    color: #0f172a;
    font-weight: 600;
  }

  .footer-contact a:hover {
    background: rgba(37, 99, 235, 0.12);
    color: #0b4db3;
  }

  .footer-contact .icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.12);
    border-radius: 6px;
    flex: 0 0 32px;
  }

  .footer-contact .icon i {
    font-size: 1rem;
    color: #2563eb;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-social a {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }

  .footer-bottom {
    font-size: 0.85rem;
    padding-top: 1rem;
  }

  .designed-by a {
    display: inline-block;
    margin-top: 0.25rem;
  }

  /* Ensure long lines wrap and avoid horizontal scroll */
  .footer a,
  .footer p {
    word-break: break-word;
    white-space: normal;
  }
}

.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Mobile overflow fixes and responsive tweaks */
html, body {
  max-width: 100%;
  overflow-x: hidden; /* prevent accidental horizontal scroll on small screens */
}

/* Ensure hero doesn't cause horizontal overflow */
.hero {
  overflow: hidden;
}

/* Mobile: hide large decorative orbs to avoid overflow and reduce noise */
@media (max-width: 767px) {
  .floating-orb {
    display: none;
  }

  /* Tighter hero height on small screens */
  .hero {
    min-height: 420px;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  /* Mobile menu should occupy full viewport width and not overflow */
  #mobile-menu {
    width: 100vw;
    left: 0;
    right: 0;
  }

  /* Reduce padding on header container for small screens */
  .header-container {
    padding: 8px 16px;
  }
}

/* More aggressive hero height reduction for very small screens (phones) */
@media (max-width: 480px) {
  .hero {
    height: auto; /* let content define height */
    min-height: 260px; /* smaller hero to avoid excessive scroll */
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-bg-img {
    object-position: center center;
    opacity: 0.35;
  }

  .hero-logo {
    height: 72px; /* smaller logo on tiny screens */
  }

  .hero-text {
    font-size: 0.95rem;
    max-width: 92%;
    margin-top: 0.5rem;
  }

  .hero-buttons {
    margin-top: 1rem;
    gap: 0.5rem;
  }
}

/* Very small phones: make hero compact to avoid large empty areas */
@media (max-width: 420px) {
  .hero {
    min-height: 180px !important;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .hero-bg-img {
    height: 100%;
    opacity: 0.32;
  }

  .hero-logo-container {
    margin-bottom: 0.5rem !important;
  }

  .hero-logo {
    height: 56px !important;
    max-height: 56px;
  }

  .hero-text {
    font-size: 0. ninerem; /* fallback below if invalid; next line corrects */
    font-size: 0.95rem;
    max-width: 94%;
    margin-top: 0.35rem;
  }

  .hero-buttons {
    margin-top: 0.6rem;
    gap: 0.5rem;
  }

  /* reduce button padding to keep them on one line when possible */
  .btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
  }

  /* If the logo still forces vertical space, allow hiding it under 360px */
  @media (max-width: 360px) {
    .hero-logo { display: none !important; }
    .hero { min-height: 150px !important; }
    .hero-text { font-size: 0.9rem; }
    .btn { padding: 0.5rem 1rem; }
  }
}

/* Minor fix: ensure images and iframes don't overflow */
img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Additional mobile fixes for contact section and footer */
@media (max-width: 767px) {
  /* Make contact grid and footer grid safer with inner padding */
  .contact-grid,
  .footer-grid {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  /* Ensure contact info and form elements do not cause overflow */
  .contact-info,
  .contact-form,
  .footer-col {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    box-sizing: border-box;
  }

  /* Allow info-item text to shrink to avoid overflow on small screens */
  .info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .info-item .icon {
    flex: 0 0 auto;
  }

  .info-item p {
    flex: 1 1 auto;
    min-width: 0; /* important for text truncation/wrapping */
    margin: 0;
  }

  /* Reduce left padding used for icons inside contact.info */
  .contact .info h4,
  .contact .info p {
    padding-left: 56px; /* keeps space for 44px icon + gap but avoids overflow */
  }

  /* Footer: stack columns and center content */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    text-align: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  /* Prevent long links from forcing width */
  .footer a,
  .contact a {
    word-break: break-word;
    white-space: normal;
  }

  /* Make sure mobile menu full width; already set but reinforce */
  #mobile-menu {
    left: 0;
    right: 0;
    width: 100vw;
    box-sizing: border-box;
  }

  /* Slightly reduce footer padding on small screens */
  .footer {
    padding: 2rem 1rem;
  }
}

/* Force contact-form child elements to respect container size */
.contact-form,
.contact-form .row,
.contact-form .form-group,
.contact-form .form-control,
.contact-info,
.info-item p {
  box-sizing: border-box;
  max-width: 100%;
}

/* Prevent background scroll while mobile menu is open */
body.no-scroll {
  height: 100vh;
  overflow: hidden;
}

/* Additional mobile adjustments to avoid tall image blocks and improve layout */
@media (max-width: 767px) {
  .about-image img,
  .procurement-image {
    min-height: 220px; /* reduce tall image space on mobile */
    max-height: 420px;
    object-position: center;
  }

  .hero {
    min-height: 60vh; /* shorter hero for small screens */
  }

  /* Make mobile menu occupy full viewport and be scrollable */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 60;
    display: none; /* toggled with .open */
    padding-top: 64px; /* leave space for sticky header */
    background: rgba(255,255,255,0.98);
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .mobile-menu.open {
    display: block;
  }
}

