/*--------------------------------------------------------------
# General Styles
--------------------------------------------------------------*/
:root {
  --primary-color: #213555;
  --secondary-color: #3e5879;
  --accent-color: #d8c4b6;
  --background-color: #f5efe7;
  --text-color: #333333;
  --light-text: #777777;
  --white: #ffffff;
  --black: #000000;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  --card-border-radius: 20px;
  --gray-bg: #f8f9fa;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --dark-bg: #131313;
  --dark-nav: #1c1c1c;
  --purple-accent: #7d2ae8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
  background-color: var(--background-color);
  transition: var(--transition);
}

/* Dark mode styles */
body.dark-mode {
  background-color: var(--dark-bg);
  color: var(--white);
}

body.dark-mode .main-wrapper {
  background-color: #1a1a1a;
  color: var(--white);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: var(--white);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

.section-padding {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--background-color);
}

.container {
  max-width: 1200px;
}

.row {
  --bs-gutter-x: 30px;
}

/* Section Title */
.section-title {
  margin-bottom: 50px;
}

.section-title h6 {
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.section-title p {
  font-size: 16px;
  color: var(--light-text);
}

.section-title.text-center {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 30px;
  transition: var(--transition);
  border: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.navbar {
  padding: 15px 0;
  transition: var(--transition);
  background-color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-radius: 40px;
  margin: 10px 20px;
  width: calc(100% - 40px);
}

.navbar.scrolled {
  padding: 12px 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 26px;
  color: var(--white);
  display: flex;
  align-items: center;
}

.navbar-brand img,
.navbar-brand svg {
  margin-right: 10px;
}

.logo-text {
  color: var(--white);
}

.logo-text-span {
  color: var(--accent-color);
  font-weight: 800;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--white);
  font-weight: 500;
  padding: 0 18px;
  transition: var(--transition);
  font-size: 16px;
  position: relative;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--accent-color);
  background-color: transparent;
}

.navbar-light .navbar-nav .nav-link.active {
  color: var(--accent-color);
  font-weight: 700;
  background-color: transparent;
}

.navbar-light .navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 18px;
  right: 18px;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.navbar-light .navbar-nav .nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 18px;
  right: 18px;
  height: 2px;
  background-color: var(--accent-color);
  opacity: 0.5;
}

.nav-btn {
  margin-left: 15px;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 15px;
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.nav-btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

.social-nav-icons {
  display: flex;
  align-items: center;
  margin-left: 15px;
}

.social-nav-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  margin-left: 8px;
  transition: var(--transition);
}

.social-nav-icons a:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  margin-left: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* Custom navbar toggler for dark background */
.navbar-light .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  margin-left: auto;
}

.navbar-light .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(255, 255, 255, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Main Content Wrapper */
.main-wrapper {
  background-color: var(--white);
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin: 2rem auto;
  margin-top: 100px;
  max-width: 1300px;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--white);
  padding: 80px 0 40px;
  padding-top: 120px;
}

.hero-content {
  padding-right: 50px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 16px;
  color: var(--light-text);
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: var(--box-shadow);
  transition: transform 0.5s ease;
  animation: fadeInRight 0.8s ease-out;
}

.hero-image:hover img {
  transform: scale(1.02);
}

.partners-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

.partner-logo {
  width: 120px;
  opacity: 0.6;
  transition: var(--transition);
}

.partner-logo:hover {
  opacity: 1;
}

/* Hero section mobile improvements */
@media (max-width: 991px) {
  .hero {
    text-align: center;
    padding-top: 100px;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .hero-content h1 br {
    display: none;
  }

  .hero-btns {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
  }

  .hero-image {
    max-width: 80%;
    margin: 0 auto;
  }

  .partners-section {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
  }

  .navbar-light .navbar-nav .nav-link {
    padding: 12px 0;
    display: block;
    margin: 0 auto;
    background-color: transparent !important;
  }

  .navbar-light .navbar-nav .nav-link.active,
  .navbar-light .navbar-nav .nav-link:hover {
    background-color: transparent !important;
  }

  .navbar-light .navbar-nav .nav-link.active::after,
  .navbar-light .navbar-nav .nav-link:hover::after {
    left: 35%;
    right: 35%;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 80px 0 30px;
  }

  .hero-content h1 {
    font-size: 30px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 15px;
    padding: 0 10px;
  }

  .hero-btns {
    flex-direction: column;
    max-width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
    margin: 5px 0;
  }

  .partners-section {
    gap: 15px;
  }

  .partner-logo {
    width: 80px;
  }

  .hero-image {
    animation: fadeInUp 0.8s ease-out 0.3s both;
  }
}

@media (max-width: 575px) {
  .hero-content h1 {
    font-size: 26px;
  }

  .hero-image {
    max-width: 90%;
  }

  .partners-section {
    justify-content: center;
    gap: 10px;
  }

  .partner-logo {
    width: 60px;
    margin: 5px;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

.services-section .row {
  margin-top: -5px;
  margin-bottom: -5px;
  row-gap: 15px;
}

.services-section .col-md-6 {
  padding-top: 5px;
  padding-bottom: 5px;
}

.services-section .col-lg-3 {
  display: flex;
}

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 250px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.service-card.featured {
  background-color: var(--accent-color);
}

.service-card .service-icon {
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background-color: rgba(33, 53, 85, 0.1);
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card .service-icon i {
  font-size: 22px;
  color: var(--primary-color);
}

.service-card h4 {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 16px;
  color: var(--primary-color);
  min-height: 20px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--light-text);
  font-size: 14px;
  line-height: 1.4;
}

.service-card.dark h4,
.service-card.dark p {
  color: var(--white);
}

.service-card.dark .service-icon {
  background-color: rgba(255, 255, 255, 0.2);
}

.service-card.dark .service-icon i {
  color: var(--white);
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing-section {
  background-color: var(--background-color);
  padding: 80px 0;
}

.pricing-card {
  background-color: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-header {
  padding: 20px 30px;
  text-align: center;
}

.pricing-header h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.pricing-price {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--light-text);
}

.pricing-features {
  padding: 20px 30px;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 14px;
}

.pricing-footer {
  padding: 20px 30px;
  text-align: center;
}

.pricing-card.featured {
  background-color: var(--accent-color);
  transform: scale(1.05);
  z-index: 1;
  position: relative;
}

.pricing-card.featured .pricing-header,
.pricing-card.featured .pricing-features,
.pricing-card.featured .pricing-footer {
  background-color: var(--accent-color);
}

.pricing-card.featured .pricing-header h3,
.pricing-card.featured .pricing-price {
  color: var(--primary-color);
}

.pricing-card.premium {
  background-color: var(--white);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats-section {
  padding: 60px 0;
  background-color: var(--white);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-icon {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-text {
  color: var(--light-text);
  font-size: 16px;
}

/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/
.cta-box {
  background-color: var(--white);
  border-radius: 20px;
  padding: 60px;
  box-shadow: var(--card-shadow);
  margin: 60px 0;
}

.cta-box h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.cta-box p {
  font-size: 16px;
  color: var(--light-text);
  margin-bottom: 30px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding-top: 70px;
}

.footer-wrapper {
  background-color: var(--primary-color);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.footer-widget {
  margin-bottom: 30px;
}

.footer-widget h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 25px;
  position: relative;
}

.footer-widget p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.newsletter-form {
  position: relative;
  margin-top: 20px;
}

.newsletter-form input {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 0 20px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  position: absolute;
  right: 5px;
  top: 5px;
  height: 40px;
  width: 40px;
  border: none;
  background-color: var(--accent-color);
  color: var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--white);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.copyright {
  text-align: center;
  padding: 25px 0;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Methodology Section */
.methodology-section {
  padding: 80px 0;
  background-color: var(--white);
}

.methodology-title {
  margin-bottom: 50px;
}

.methodology-step {
  background-color: var(--background-color);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  position: relative;
  transition: var(--transition);
}

.methodology-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
}

.methodology-step.even .step-number {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.methodology-step h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.methodology-step p {
  color: var(--light-text);
  margin-bottom: 0;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Responsive Improvements
--------------------------------------------------------------*/
/* Mobile-first approach improvements */
@media (max-width: 1199px) {
  .hero-content h1 {
    font-size: 32px;
  }
  .section-title h2 {
    font-size: 32px;
  }
  .main-wrapper {
    padding-top: 80px;
  }
  .navbar {
    margin: 5px 10px;
    width: calc(100% - 20px);
  }
}

@media (max-width: 991px) {
  .section-padding {
    padding: 70px 0;
  }
  .pricing-card.featured {
    transform: scale(1);
  }
  .cta-box {
    text-align: center;
  }
  .service-card {
    margin-bottom: 30px;
    height: auto;
    min-height: 250px;
  }
  .col-lg-3:last-child .service-card {
    margin-bottom: 0;
  }
  .feature-content {
    margin-top: 30px;
    margin-bottom: 50px;
  }
  .methodology-section .row.align-items-center {
    margin-bottom: 0 !important;
  }
  .methodology-section .col-lg-6 {
    margin-bottom: 40px;
  }
  .methodology-section .row.align-items-center:last-child .col-lg-6:last-child {
    margin-bottom: 0;
  }
  .navbar-collapse {
    margin-top: 15px;
    padding: 10px;
    background-color: var(--primary-color);
    border-radius: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar-nav {
    text-align: center;
  }

  .navbar-light .navbar-nav .nav-link {
    padding: 12px 0;
    display: block;
    margin: 0 auto;
  }

  .navbar-light .navbar-nav .nav-link.active::after,
  .navbar-light .navbar-nav .nav-link:hover::after {
    left: 25%;
    right: 25%;
  }

  .navbar-brand {
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .navbar-brand {
    font-size: 22px;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .section-title h2 {
    font-size: 28px;
  }
  .section-padding {
    padding: 50px 0;
  }
  .testimonial-card {
    margin-bottom: 30px;
  }
  .main-wrapper {
    padding-top: 70px;
  }
  .navbar {
    background-color: var(--primary-color);
    margin: 0;
    width: 100%;
    border-radius: 0;
  }
  .social-nav-icons {
    display: none;
  }
  .footer-widget {
    margin-bottom: 30px;
  }
  .footer .col-lg-2:last-child .footer-widget,
  .footer .col-lg-4:last-child .footer-widget {
    margin-bottom: 0;
  }
  .contact-info {
    margin-bottom: 40px;
  }
  .copyright {
    text-align: center;
  }
  .hero-content,
  .feature-content,
  .service-card,
  .testimonial-card,
  .contact-form-wrapper,
  .contact-info,
  .methodology-section .row,
  .cta-box,
  .accordion-item,
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    text-align: center;
  }

  .feature-list {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
  }

  .feature-list li {
    justify-content: center;
  }

  .feature-list li i {
    margin-right: 10px;
  }

  .btn {
    margin: 5px auto;
    display: block;
    max-width: 80%;
  }

  .btn-box {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .testimonial-author {
    justify-content: center;
  }

  .company-logo {
    text-align: center;
  }

  /* Forms and inputs */
  .contact-form .form-control,
  .newsletter-form input,
  .form-group {
    text-align: center;
  }

  .contact-form-wrapper,
  .contact-form {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-info-item p {
    margin-bottom: 15px;
  }

  /* Additional centering */
  .stat-item {
    padding-bottom: 25px;
  }

  /* Buttons alignment */
  .hero-btns,
  .methodology-section .btn,
  .testimonial-section .btn,
  .contact-section .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Mobile image centering */
  .img-fluid,
  .hero-image,
  .feature-content img,
  .partners-section,
  .testimonial-img {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
  }

  .row.align-items-center {
    text-align: center;
  }

  /* Fix for flex items */
  .row.align-items-center .col-lg-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Ensure proper spacing */
  .section {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Service cards on mobile */
  .service-card {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 575px) {
  .hero-content h1 {
    font-size: 24px;
  }
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  .hero-btns .btn {
    margin-bottom: 15px;
    width: 100%;
  }
  .btn {
    padding: 10px 20px;
  }
  .main-wrapper {
    padding-top: 60px;
  }
  .cta-box {
    padding: 20px;
  }
  .cta-box h2 {
    font-size: 22px;
  }
  .contact-form .input-box {
    flex-direction: column;
  }
  .contact-form .input-box input {
    margin-bottom: 15px;
  }
  .navbar-light .navbar-nav .nav-link {
    text-align: center;
    padding: 12px 0;
    font-size: 18px;
  }
  .partner-logo {
    width: 80px;
    margin: 0 10px 15px;
  }
  .stat-item {
    margin-bottom: 30px;
  }
  .col-md-3:last-child .stat-item {
    margin-bottom: 0;
  }
  .section-title {
    margin-bottom: 30px;
  }
  .section-title h2 {
    margin-bottom: 15px;
  }
  .hero-btns .btn {
    max-width: 100%;
  }

  .contact-social .social-links {
    justify-content: center;
  }
}

/* Remove unnecessary code */
@media (max-width: 450px) {
  .hero-content h1 {
    font-size: 22px;
  }
  .navbar-brand {
    font-size: 20px;
  }
  .footer-widget h4 {
    font-size: 20px;
  }
  .footer-widget p {
    font-size: 14px;
  }
  .copyright p {
    font-size: 13px;
  }
  .btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* Additional responsive fixes */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Improved accessibility */
:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Loading performance improvements */
img,
video {
  max-width: 100%;
  height: auto;
}

/* Image lazy loading styles */
.lazy-load {
  opacity: 0;
  transition: opacity 0.3s;
}

.lazy-load.loaded {
  opacity: 1;
}

/* Print media query */
@media print {
  .navbar,
  .footer,
  .no-print {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  .container {
    width: 100%;
    max-width: 100%;
  }
}

/* Hero animations and transitions */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Improved hero buttons */
.hero-btns .btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btns .btn:hover {
  transform: translateY(-3px);
}

.hero-btns .btn-primary {
  box-shadow: 0 4px 15px rgba(33, 53, 85, 0.3);
}

.hero-btns .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(33, 53, 85, 0.4);
}

.hero-btns .btn-outline:hover {
  box-shadow: 0 6px 20px rgba(33, 53, 85, 0.2);
}

/* Override Bootstrap's default active link styles */
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .nav-link.active {
  background-color: transparent;
  box-shadow: none;
}

/* Fix any bootstrap focus states */
.navbar-light .navbar-nav .nav-link:focus {
  box-shadow: none;
  outline: none;
}

/* Ensure no box on click */
.navbar-light .navbar-nav .nav-link:active {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Contact Form Styles */
.contact-form-wrapper {
  background-color: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

.contact-form .form-group {
  margin-bottom: 20px;
  position: relative;
}

.contact-form .form-control {
  height: 50px;
  padding: 10px 20px;
  border: 2px solid rgba(33, 53, 85, 0.1);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text-color);
  transition: all 0.3s ease;
  background-color: var(--background-color);
}

.contact-form textarea.form-control {
  height: auto;
  min-height: 150px;
  resize: vertical;
}

.contact-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(216, 196, 182, 0.2);
  outline: none;
}

.contact-form .form-control::placeholder {
  color: var(--light-text);
  opacity: 0.7;
}

.contact-form .btn-primary {
  width: 100%;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
  box-shadow: 0 5px 15px rgba(33, 53, 85, 0.2);
  transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(33, 53, 85, 0.3);
}

/* Contact Info Styles Enhancement */
.contact-info {
  background-color: var(--primary-color);
  padding: 40px;
  border-radius: 20px 20px 0 0;
  height: 100%;
  color: var(--white);
}

.contact-info-item {
  margin-bottom: 30px;
  text-align: left;
}

.contact-info-item i {
  font-size: 24px;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.contact-info-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--white);
}

.contact-info-item p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  font-size: 15px;
}

.contact-social h4 {
  color: var(--white);
  margin-bottom: 15px;
}

.contact-social .social-links {
  gap: 15px;
}

.contact-social .social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  border-radius: 0;
}

.contact-social .social-links a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

/* Mobile Responsiveness for Contact Section */
@media (max-width: 991px) {
  .contact-form-wrapper,
  .contact-info {
    margin-bottom: 30px;
  }

  .contact-info {
    text-align: center;
  }

  .contact-info-item {
    text-align: center;
  }

  .contact-form .btn-primary {
    max-width: 100%;
    margin: 10px auto 0;
  }
}

@media (max-width: 767px) {
  .contact-form-wrapper {
    padding: 25px;
  }

  .contact-info {
    padding: 25px;
  }

  .contact-form .form-control {
    font-size: 14px;
  }
}

.dropdown-menu {
  background-color: var(--white);
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  margin-top: 5px;
}

.dropdown-item {
  color: var(--text-color);
  padding: 10px 25px;
  font-size: 15px;
  transition: all 0.3s ease;
  text-align: left;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(216, 196, 182, 0.1);
  color: var(--accent-color);
}

.dropdown-divider {
  margin: 5px 0;
  border-color: rgba(0, 0, 0, 0.05);
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

/* Mobile Styles */
@media (max-width: 991px) {
  .dropdown-menu {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top: 0;
    text-align: center;
  }

  .dropdown-item {
    padding: 8px 15px;
    text-align: center;
    color: var(--text-color);
  }

  .dropdown-item:hover {
    background-color: transparent;
  }

  .dropdown-divider {
    display: none;
  }
}

/* Service Pages Styles */
.service-hero {
  background: var(--primary-color);
  padding: 100px 0;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    45deg,
    rgba(33, 53, 85, 0.9),
    rgba(33, 53, 85, 0.7)
  );
  z-index: 1;
}

.service-hero .container {
  position: relative;
  z-index: 2;
}

.service-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.service-hero .lead {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white);
  opacity: 0.9;
}

.intro-text {
  max-width: 900px;
  margin: 0 auto;
}

.intro-text .lead {
  font-size: 1.25rem;
  line-height: 1.8;
}

.sector-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.sector-card:hover {
  transform: translateY(-5px);
}

.sector-card i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.sector-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-category {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.service-category h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.service-category ul {
  padding-left: 1.5rem;
}

.service-category ul li {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-category ul ul {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.feature-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.cta-section {
  background: var(--primary-color);
  padding: 4rem 2rem;
  border-radius: 10px;
  color: #fff;
  margin-top: 4rem;
}

.cta-section h2 {
  margin-bottom: 1.5rem;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.contact-buttons .btn-outline {
  border-color: #fff;
  color: #fff;
}

.contact-buttons .btn-outline:hover {
  background: #fff;
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .service-hero h1 {
    font-size: 2.5rem;
  }

  .service-hero .lead {
    font-size: 1.25rem;
  }

  .sector-card,
  .feature-card {
    padding: 1.5rem;
  }

  .service-category {
    padding: 1.5rem;
  }
}

/* Center all text content in service pages */
.service-content {
  text-align: center;
}

.service-content p {
  text-align: center;
  margin-bottom: 1.5rem;
}

.service-content ul {
  text-align: center;
  list-style-position: inside;
  padding-left: 0;
}

.service-content ul ul {
  text-align: center;
  list-style-position: inside;
  padding-left: 0;
}

.service-content li {
  text-align: center;
  margin-bottom: 1rem;
}

.service-content strong {
  display: inline-block;
}

/* Adjust card text alignment */
.sector-card p,
.feature-card p {
  text-align: center;
}

/* Ensure proper spacing for centered content */
.service-category {
  text-align: center;
}

.service-category ul {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
}

.service-category ul ul {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .service-content ul,
  .service-content ul ul {
    padding-left: 0;
  }

  .service-category ul,
  .service-category ul ul {
    padding-left: 0;
  }
}

/* Center the last feature card in the row */
.why-choose-us .row .col-md-6:last-child {
  margin-left: auto;
  margin-right: auto;
  max-width: 50%;
}

@media (max-width: 768px) {
  .why-choose-us .row .col-md-6:last-child {
    max-width: 100%;
  }
}

/* Center and make the Footwear & Fashion card wider */
.industry-sectors .row .col-md-6:last-child {
  margin-left: auto;
  margin-right: auto;
  max-width: 75%;
}

@media (max-width: 768px) {
  .industry-sectors .row .col-md-6:last-child {
    max-width: 100%;
  }
}

/* Enhanced Responsive Styles */
@media (max-width: 1199px) {
  .container {
    max-width: 95%;
    padding: 0 15px;
  }

  .navbar {
    margin: 5px 10px;
    width: calc(100% - 20px);
    border-radius: 20px;
  }
}

@media (max-width: 991px) {
  .navbar {
    padding: 10px 0;
    margin: 5px 10px;
    width: calc(100% - 20px);
  }

  .navbar-collapse {
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
  }

  .navbar-nav {
    text-align: center;
  }

  .nav-item {
    margin: 5px 0;
  }

  .navbar-light .navbar-nav .nav-link {
    padding: 10px;
    display: inline-block;
  }

  .social-nav-icons {
    justify-content: center;
    margin-top: 15px;
  }

  .dropdown-menu {
    text-align: center;
    background-color: var(--primary-color);
    border: none;
  }

  .dropdown-item {
    color: var(--white);
    padding: 8px;
  }

  .dropdown-item:hover {
    background-color: var(--secondary-color);
  }

  .dropdown-item.active,
  .dropdown-item:active {
    background-color: var(--accent-color);
    color: var(--primary-color);
  }

  .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
  }

  .service-hero h1 {
    font-size: 32px;
  }

  .service-content h2 {
    font-size: 28px;
  }

  .service-content h3 {
    font-size: 22px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .footer-wrapper {
    padding: 50px 0 20px;
  }

  .footer-widget {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .navbar {
    padding: 8px 0;
    margin: 5px 8px;
    width: calc(100% - 16px);
  }

  .navbar-brand {
    font-size: 20px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .service-hero {
    padding: 80px 0 40px;
  }

  .service-hero h1 {
    font-size: 28px;
  }

  .service-hero .lead {
    font-size: 16px;
  }

  .gallery-section .gallery-item {
    margin-bottom: 15px;
  }

  .gallery-caption {
    font-size: 14px;
  }

  .hero-content h1 {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .service-content p,
  .service-content li {
    font-size: 15px;
  }

  .service-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .service-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .sector-card,
  .feature-card {
    padding: 15px;
    margin-bottom: 15px;
  }

  .sector-card h4,
  .feature-card h4 {
    font-size: 18px;
  }

  .intro-text .lead {
    font-size: 16px;
  }

  .footer {
    padding-top: 50px;
  }

  .footer-widget h4 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .copyright {
    margin-top: 30px;
    font-size: 14px;
  }

  /* Make service cards full width on mobile */
  .col-md-6 {
    width: 100%;
  }

  /* Center text in footer widgets */
  .footer-widget {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  /* Adjust image gallery on mobile */
  .gallery-section .col-md-3 {
    width: 50%;
  }
}

@media (max-width: 575px) {
  .navbar {
    margin: 0;
    width: 100%;
    border-radius: 0;
  }

  .service-hero h1 {
    font-size: 24px;
  }

  .service-hero .lead {
    font-size: 15px;
  }

  .section-title h2 {
    font-size: 22px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-btns .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  .contact-buttons .btn {
    display: block;
    width: 100%;
    margin: 0 0 10px 0 !important;
  }

  .service-content h2 {
    font-size: 22px;
  }

  .service-content h3 {
    font-size: 18px;
  }

  .sector-card i,
  .feature-card i {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .cta-section h2 {
    font-size: 22px;
  }

  .cta-section .lead {
    font-size: 15px;
  }

  /* Make gallery items full width on small phones */
  .gallery-section .col-md-3 {
    width: 100%;
  }

  /* Stack footer columns */
  .footer .col-lg-2,
  .footer .col-lg-4 {
    width: 100%;
  }

  /* Adjust newsletter form */
  .newsletter-form {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 360px) {
  .navbar-brand {
    font-size: 16px;
  }

  .service-hero h1 {
    font-size: 20px;
  }

  .service-hero .lead {
    font-size: 14px;
  }

  body {
    font-size: 14px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .section-padding {
    padding: 40px 0;
  }
}

/* Improved dropdown menu styling */
.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: 700;
}

.dropdown-item:hover {
  background-color: rgba(216, 196, 182, 0.2);
  color: var(--accent-color);
}

.dropdown-item.active:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* Center all text in service content */
.service-content p,
.service-content h2,
.service-content h3,
.service-content h4,
.service-content ul,
.service-content li {
  text-align: center;
}

.service-content ul,
.service-content ol {
  display: inline-block;
  text-align: left;
  padding-left: 0;
}

.service-content ul li,
.service-content ol li {
  text-align: left;
}

/* Center cards in service sections */
.sector-card,
.feature-card {
  text-align: center;
}

/* Last feature card in the row */
.why-choose-us .row .col-md-6:last-child .feature-card {
  margin-left: auto;
  margin-right: auto;
  max-width: 50%;
}

@media (max-width: 768px) {
  .why-choose-us .row .col-md-6:last-child .feature-card {
    max-width: 100%;
  }

  /* Improve lists in mobile view */
  .service-content ul,
  .service-content ol {
    width: 100%;
    padding-left: 20px;
  }

  /* Center card text */
  .sector-card p,
  .feature-card p {
    text-align: center;
  }
}

/* Custom style for footwear and fashion card */
.industry-sectors .sector-card:nth-child(5) {
  margin-left: auto;
  margin-right: auto;
  max-width: 75%;
}

@media (max-width: 768px) {
  .industry-sectors .sector-card:nth-child(5) {
    max-width: 100%;
  }
}

/* Fix navbar toggler */
.navbar-toggler {
  border: none;
  padding: 0;
  color: var(--white);
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  width: 24px;
  height: 24px;
  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, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Fix image aspect ratio */
.gallery-item img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

/* Responsive improvements */
@media (max-width: 480px) {
  .service-content .col-6 {
    width: 100%;
  }
}

/* Fix form responsiveness */
@media (max-width: 575px) {
  .newsletter-form input {
    font-size: 14px;
    padding: 8px 15px;
  }

  .newsletter-form button {
    width: 40px;
    height: 40px;
  }

  .contact-form .form-control {
    font-size: 14px;
    padding: 10px 15px;
  }
}
