/* Global */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Contact Bar */
.contact-bar {
  background: #0d3a5f;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-bar .container-fluid {
  max-width: 1400px;
}

.contact-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.1rem 0;
  line-height: 1.2;
}

.contact-item:hover {
  color: #ffc107;
  text-decoration: none;
}

.contact-item i {
  margin-right: 0.35rem;
  font-size: 0.8rem;
}

.contact-item.whatsapp:hover {
  color: #25d366;
}

.contact-item.whatsapp i {
  color: #25d366;
}

/* Navbar */
.navbar {
  background: #0a2540;
  margin-bottom: 1px;
  padding: 0.75rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navbar container */
.navbar .container-fluid {
  max-width: 1400px;
}

/* Brand logo */
.navbar-brand {
  padding: 0;
  margin-right: 2rem;
}

.navbar-brand img {
  height: 45px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

/* Navbar toggle button */
.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar links - Desktop: tighter spacing for better fit and visibility */
.navbar-nav {
  gap: 0;
}
.navbar-nav .nav-item {
  margin-right: 0.15rem;
}
.navbar-nav .nav-item:last-child {
  margin-right: 0;
}

.navbar-nav .nav-link {
  color: #f8f9fa !important;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.4rem 0.5rem !important;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
}

.navbar-nav .nav-link i {
  font-size: 0.85rem;
  margin-right: 0.35rem;
}

/* Hover effect for nav links */
.navbar-nav .nav-link:hover {
  color: #ffc107 !important;
  background-color: rgba(255, 193, 7, 0.1);
  transform: translateY(-1px);
}

/* Active nav link */
.navbar-nav .nav-link.active {
  color: #ffc107 !important;
  background-color: rgba(255, 193, 7, 0.15);
}

/* Quote button */
.btn-quote {
  background: #ffc107;
  color: #111 !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.5rem 1.25rem !important;
  font-size: 0.85rem;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.btn-quote:hover {
  background: #ffb300;
  color: #111 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.btn-quote:active {
  transform: translateY(0);
}


/* Hero Sections */
.hero,
.hero-section,
.solutions-hero,
.about-hero {
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero h1,
.hero-section h1,
.solutions-hero h1,
.about-hero h1 {
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p,
.hero-section p,
.solutions-hero p,
.about-hero p {
  font-size: 1.2rem;
  max-width: 750px;
  margin: 0 auto 20px;
}

.hero {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
}


/* Section Titles */
.section-title {
  font-weight: 700;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #0d6efd, #6610f2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Cards (Service, Solution, Feature, Testimonial, Client) */
.service-card,
.solution-card,
.feature-card,
.testimonial-card,
.client-logo,
.about-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding: 30px;
}

.service-card:hover,
.solution-card:hover,
.feature-card:hover,
.testimonial-card:hover,
.client-logo:hover,
.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.service-card .icon,
.solution-card .icon-wrapper,
.feature-card i,
.testimonial-card i,
.about-card i {
  font-size: 2rem;
  margin-bottom: 15px;
  display: block;
}

.solution-card .icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
}

.solution-card h3,
.service-card h4,
.feature-card h4,
.testimonial-card h4,
.about-card h4 {
  font-weight: bold;
  margin-bottom: 15px;
}

.solution-card p,
.service-card p,
.feature-card p,
.testimonial-card p,
.about-card p {
  font-size: 1rem;
  color: #555;
}

/* Call to Action */
.cta {
  background: #0a2540;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.cta .btn {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: bold;
}

/* Footer */
footer {
  background: #081b33;
  color: #ddd;
  padding: 50px 0 20px;
}

footer .container {
  max-width: 1200px;
}

/* Footer Section Headings */
footer h5,
footer h6 {
  color: #ffc107;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

footer h5 {
  font-size: 1.25rem;
}

footer h6 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Footer Text */
footer p {
  color: #ddd;
  line-height: 1.8;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

footer p.text-light {
  color: #ddd !important;
}

/* Footer Links */
footer a {
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: #ffc107;
  text-decoration: none;
  padding-left: 5px;
}

/* Footer Contact Info */
footer .bi {
  color: #ffc107;
  font-size: 1rem;
  width: 20px;
}

/* Footer Bottom */
.footer-bottom {
  background: #06162a;
  color: #aaa;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Legal / Policy page hero & content */
.policy-hero,
.privacy-hero {
  background: linear-gradient(90deg, rgba(0,31,63,0.9), rgba(0,64,128,0.9));
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.policy-hero h1,
.privacy-hero h1 {
  color: #fff !important;
  font-weight: 700;
  font-size: 2.2rem;
}
.policy-hero p,
.privacy-hero p {
  color: #fff !important;
  opacity: 0.95;
  margin-top: 10px;
}
.policy-hero .last-updated,
.privacy-hero .last-updated {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.95rem;
}
.policy-content,
.privacy-content {
  padding: 50px 0 60px;
  font-size: 1rem;
  line-height: 1.7;
}
.policy-content h2,
.privacy-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #001f3f;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #0074d9;
}
.policy-content h2:first-of-type,
.privacy-content h2:first-of-type { margin-top: 0; }
.policy-content ul,
.privacy-content ul { padding-left: 1.25rem; }
.policy-content li,
.privacy-content li { margin-bottom: 0.4rem; }
.policy-content .last-updated,
.privacy-content .last-updated { color: #6c757d; font-size: 0.95rem; }
.policy-content a,
.privacy-content a { color: #0074d9; }
.policy-content a:hover,
.privacy-content a:hover { text-decoration: underline; }

/* Icon List */
.icon-list li {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.icon-list i {
  color: #0074d9;
  margin-right: 8px;
}

/* Client Logos */
.client-logo img {
  max-width: 150px;
  max-height: 80px;
  object-fit: contain;
}

/* Social Icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  margin: 0.25rem;
}

.social-icon:hover {
  background: #ffc107;
  color: #111;
  transform: translateY(-3px) scale(1.1);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

/* Social Icons Container */
footer .social-icons-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* For pages with direct social icon children (without container) */
footer .col-md-3.text-md-start > h6 + a.social-icon,
footer .col-md-3.text-md-start > h6 ~ a.social-icon {
  display: inline-flex;
  vertical-align: middle;
}

/* Desktop - keep icons in one row */
@media (min-width: 992px) {
  footer .social-icons-container {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  
  /* Make social icons smaller on desktop to fit in one row */
  footer .social-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    margin: 0;
  }
  
  /* For pages without container div - wrap direct social icon children */
  footer .col-md-3.text-md-start {
    display: flex;
    flex-direction: column;
  }
  
  footer .col-md-3.text-md-start > h6 {
    margin-bottom: 1rem;
  }
  
  /* Create inline flex container for direct social icon children */
  footer .col-md-3.text-md-start > a.social-icon,
  footer .col-md-3.text-md-start > a.social-icon + a.social-icon {
    display: inline-flex;
  }
  
  /* Wrap all direct social icons in a flex container */
  footer .col-md-3.text-md-start > a.social-icon:first-of-type {
    margin-top: 0.5rem;
  }
}

/* Mobile - allow wrapping if needed */
@media (max-width: 991.98px) {
  footer .social-icons-container {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Footer Links */
.footer-link {
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  padding: 0.25rem 0;
}

.footer-link:hover {
  color: #ffc107;
  text-decoration: none;
  padding-left: 8px;
  transform: translateX(3px);
}

/* Footer List Styling */
footer .list-unstyled {
  margin: 0;
  padding: 0;
}

footer .list-unstyled li {
  margin-bottom: 0.25rem;
}

/* Icon Circle */
.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(90deg, #0d6efd, #6610f2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mobile Navbar adjustments */
/* Contact Bar Mobile Responsive */
@media (max-width: 767.98px) {
  .contact-bar {
    padding: 0.3rem 0;
  }

  .contact-bar-content {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
  }

  .contact-item {
    font-size: 0.7rem;
    justify-content: center;
    padding: 0.05rem 0;
    line-height: 1.3;
  }

  .contact-item i {
    font-size: 0.75rem;
    margin-right: 0.3rem;
  }

  .contact-item span {
    word-break: break-all;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .contact-bar {
    padding: 0.35rem 0;
  }

  .contact-bar-content {
    justify-content: center;
    gap: 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    padding: 0.5rem 0;
  }

  .navbar-brand {
    margin-right: 1rem;
  }

  .navbar-brand img {
    height: 40px;
  }

  /* Mobile menu container */
  .navbar-collapse {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Mobile menu items */
  .navbar-nav {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.25rem 0;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-nav .nav-link {
    font-size: 0.9rem;
    padding: 0.6rem 0.85rem !important;
    margin-bottom: 0.15rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
  }

  .navbar-nav .nav-link i {
    font-size: 0.9rem;
    margin-right: 0.45rem;
    width: 18px;
    text-align: center;
  }

  .navbar-nav .nav-link:hover {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffc107 !important;
    transform: translateX(5px);
  }

  /* Mobile quote button */
  .btn-quote {
    width: 100%;
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem;
    margin-top: 0.5rem;
    text-align: center;
    display: block;
  }

  .btn-quote:hover {
    transform: translateY(-2px);
  }
}

/* Tablet adjustments */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-nav .nav-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.6rem !important;
  }

  .navbar-nav .nav-link i {
    font-size: 0.8rem;
    margin-right: 0.3rem;
  }

  .btn-quote {
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem;
  }
}

/* Large desktop: keep compact nav spacing for visibility */
@media (min-width: 1200px) {
  .navbar-nav .nav-link {
    padding: 0.4rem 0.55rem !important;
  }
}

/* Footer Mobile Responsive Styles */
@media (max-width: 767.98px) {
  footer {
    padding: 40px 0 15px;
  }

  /* Footer columns - stack on mobile */
  footer .row > div {
    margin-bottom: 2rem;
    text-align: center;
  }

  footer .row > div:last-child {
    margin-bottom: 1rem;
  }

  /* Company Info Section */
  footer .col-md-4 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
  }

  footer .col-md-4:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Footer Headings */
  footer h5 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  footer h6 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  /* Footer Text */
  footer p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
  }

  /* Footer Links */
  .footer-link {
    font-size: 0.95rem;
    padding: 0.4rem 0;
    margin-bottom: 0.5rem;
  }

  /* Social Icons - Center on Mobile */
  footer .col-md-3.text-md-start {
    text-align: center !important;
  }

  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    margin: 0.3rem;
  }

  /* Footer Bottom */
  .footer-bottom {
    padding: 15px 10px;
    font-size: 0.85rem;
    line-height: 1.6;
  }

  /* Contact Info Icons */
  footer .bi {
    font-size: 1.1rem;
    width: 22px;
  }
}

/* Footer Tablet Styles */
@media (min-width: 768px) and (max-width: 991.98px) {
  footer {
    padding: 45px 0 18px;
  }

  footer .row > div {
    margin-bottom: 2rem;
  }

  footer h5 {
    font-size: 1.2rem;
  }

  footer h6 {
    font-size: 1rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin: 0.2rem;
  }
}

/* Footer Desktop Enhancements */
@media (min-width: 992px) {
  footer .row > div {
    padding: 0 15px;
  }

  footer .col-md-4 {
    padding-right: 30px;
  }

  footer .col-md-2,
  footer .col-md-3 {
    padding-left: 20px;
  }
}

/* Contact Page Styles */
.contact-info-card {
  background: #fff;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-info-card .border-primary ~ .contact-icon {
  background: rgba(13, 110, 253, 0.1);
}

.contact-info-card .border-success ~ .contact-icon {
  background: rgba(25, 135, 84, 0.1);
}

.contact-info-card .border-info ~ .contact-icon {
  background: rgba(13, 202, 240, 0.1);
}

.contact-info-card .border-warning ~ .contact-icon {
  background: rgba(255, 193, 7, 0.1);
}

/* Contact Form Styles */
.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
  transform: translateY(-2px);
}

.contact-form .form-label {
  color: #333;
  margin-bottom: 0.5rem;
}

.contact-form .btn-primary {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  border: none;
  transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
  background: linear-gradient(135deg, #0a58ca, #084298);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

/* Social buttons in contact page */
.btn-outline-primary:hover,
.btn-outline-info:hover,
.btn-outline-danger:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Contact Page Responsive */
@media (max-width: 767.98px) {
  .contact-info-card {
    margin-bottom: 1rem;
  }
  
  .contact-form .card-body {
    padding: 1.5rem !important;
  }
  
  .contact-icon {
    width: 45px;
    height: 45px;
  }
}

