/* ======================== Google Fonts and Global Styles ======================== */
:root {
  --primary-color: #007bff;
  --secondary-color: #495057;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --text-primary: #2c3e50;
  --text-secondary: #495057;
  --text-muted: #6c757d;
  --body-font: 'Poppins', sans-serif;
  --heading-font: 'Playfair Display', serif;
  --primary-gradient: linear-gradient(45deg, #007bff, #0056b3);
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
}

/* ======================== Layout Safety (Overflow Guards) ======================== */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg {
  max-width: 100%;
}

body {
  font-family: var(--body-font);
  color: var(--text-primary);
  background-color: #f0f2f5;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: #0056b3;
}

html[dir="ltr"] .container {
  width: 100%;
  margin-inline: auto;
  padding-inline: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

/* Standard container alias for non-Bootstrap sections (LTR-only to preserve RTL layout) */
html[dir="ltr"] .site-container {
  width: 100%;
  margin-inline: auto;
  padding-inline: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

/* Standard responsive container breakpoints (LTR-only, capped at 1200px) */
html[dir="ltr"] .container,
html[dir="ltr"] .site-container {
  max-width: 100%;
}

@media (min-width: 576px) {
  html[dir="ltr"] .container,
  html[dir="ltr"] .site-container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  html[dir="ltr"] .container,
  html[dir="ltr"] .site-container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  html[dir="ltr"] .container,
  html[dir="ltr"] .site-container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  html[dir="ltr"] .container,
  html[dir="ltr"] .site-container {
    max-width: 1200px;
  }
}

.btn-primary {
  background: var(--primary-gradient);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(45deg, #0056b3, #007bff);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.section-header {
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-top: 1rem;
  text-transform: uppercase;
  font-weight: 600;
}

/* Ensure sections are visible by default for scrapers and no-JS users */
.animated-section {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Only hide and animate if JavaScript is enabled */
.js-enabled .animated-section {
  opacity: 0;
  transform: translateY(50px);
}

.js-enabled .animated-section.animate {
  opacity: 1;
  transform: translateY(0);
}

/* ======================== Navbar ======================== */
.navbar {
  box-shadow: var(--shadow-light);
  transition: all 0.4s ease;
  padding: 1rem 0;
}

.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

.navbar .navbar-brand img {
  height: 50px;
  width: auto;
  transition: all 0.3s ease;
}

.navbar .nav-link {
  font-weight: 500;
  color: var(--dark-color);
  position: relative;
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
  z-index: 3; /* ensure the underline sits above background */
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

.nav-btn {
  /* Make CTA match the regular nav-link appearance */
  background: transparent;
  color: var(--dark-color) !important;
  padding: 0.5rem 0; /* match nav-link vertical padding */
  border-radius: 0;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
}

.nav-btn:hover {
  color: #0056b3;
  background: transparent;
}

/* CTA now matches regular nav links; no special underline needed */

.navbar .container {
  max-width: 100%;
  padding-inline: clamp(16px, 4vw, 50px);
}

/* ======================== Hero Section ======================== */
.hero-section {
  background-color: #fff;
  padding: 10rem 0 5rem;
  overflow: hidden;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-family: var(--heading-font);
  color: var(--dark-color);
  font-weight: 800;
  animation-duration: 1.5s;
}

.hero-content p {
  margin: 2rem 0;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.hero-image img {
  max-height: 500px;
  width: auto;
  margin-left: auto;
  display: block;
}

html[dir="ltr"] .hero-image img {
  margin-left: 0;
  margin-inline-start: auto;
}

/* ======================== About Section ======================== */
#about {
  background-color: #fff;
}

.about-image-container {
  position: relative;
  padding-bottom: 75%;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.homepage-about-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

/* ======================== Services Section ======================== */
.services-section {
  background-color: #f8f9fa;
  padding: 8rem 0;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
}

.service-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-title {
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.service-description {
  flex-grow: 1;
  color: var(--text-secondary);
}

.service-link {
  font-weight: 600;
  margin-top: 20px;
  display: inline-block;
}

/* ======================== Skills Section ======================== */
.partnership-section {
  padding: 5rem 0;
}

.partnership-section h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark-color);
}

.partners-grid {
  display: grid;
  /* Prevent grid min widths from forcing horizontal scroll on very small screens */
  grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr));
  gap: 20px;
  align-items: center;
}

.partner-logo {
  text-align: center;
  filter: grayscale(0%);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.partner-logo:hover {
  filter: grayscale(100%);
  transform: scale(1.1);
}

.partner-logo:hover span {
  color: var(--text-secondary);
}

.partner-logo img {
  height: 60px;
  width: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.partner-logo span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ======================== Team Section ======================== */
.team-hero {
  background-image: url('https://images.unsplash.com/photo-1573496359142-b8d87734b3a4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-position: center;
  padding: 8rem 0;
  color: white;
  position: relative;
  z-index: 1;
}

.team-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.team-hero-title {
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.team-section {
  background-color: #f8f9fa;
  padding: 5rem 0;
}

.team-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

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

.team-image {
  position: relative;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

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

.social-link {
  color: #fff;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: translateY(-5px);
  color: var(--primary-color);
}

.team-info {
  padding: 30px;
  text-align: center;
}

.team-name {
  font-size: 1.5rem;
  margin-bottom: 5px;
  font-family: var(--body-font);
}

.team-role {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
}

.team-description {
  margin-top: 15px;
  font-size: 0.9rem;
  height: 70px;
  overflow: hidden;
  color: var(--text-secondary);
}

.btn-portfolio {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  background: transparent;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
}

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

/* ======================== Industry Section ======================== */
.industry-section {
  background-color: #fff;
  padding: 8rem 0;
}

.industry-card {
  background: #f8f9fa;
  padding-block: 40px;
  padding-inline: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.industry-card:hover {
  transform: translateY(-8px);
  background: #fff;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-hover);
}

.industry-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.industry-title {
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.industry-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ======================== Tech Stack Section ======================== */
.tech-stack-section {
  background-color: #f8f9fa;
  padding: 8rem 0;
  margin-top: 0;
}

.tech-stack-section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

/* ======================== Values Section ======================== */
.values-section {
  background: #fff;
  padding: 5rem 0;
}

.values-title {
  color: var(--dark-color);
}

.value-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-hover);
  background: var(--primary-color);
  color: #fff;
}

.value-card:hover h3,
.value-card:hover p {
  color: #fff;
}

.value-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  color: #fff;
  transform: scale(1.1);
}

.value-card h3 {
  font-size: 1.3rem;
  font-family: var(--body-font);
  font-weight: 600;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ======================== How It Works Section ======================== */
.how-it-works {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: var(--dark-color);
  color: #fff;
  width: 100%;
}

html[dir="rtl"] .how-it-works {
  max-width: 1200px;
  margin-inline: auto;
}

.our {
  color: #cec5c5 !important;
}

.how-text {
  padding-block: clamp(48px, 7vw, 80px);
  padding-inline: clamp(18px, 4vw, 50px);
  flex: 1 1 50%;
}

.how-text h5 {
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: normal;
  margin-bottom: 8px;
}

html[dir="ltr"] .how-text h5 {
  letter-spacing: 2px;
}

.how-text h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1.15;
  margin: 10px 0;
  overflow-wrap: anywhere;
}

.how-text h2.our {
  color: #fff !important;
}

.how-text h4 {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 500;
  margin-bottom: clamp(12px, 2vw, 20px);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.how-text h4.our {
  color: rgba(255, 255, 255, 0.82) !important;
}

.how-text p {
  margin-top: 18px;
  line-height: 1.7;
  max-width: 80ch;
  overflow-wrap: anywhere;
}

.how-text p.our {
  color: rgba(255, 255, 255, 0.72) !important;
}

/* Development Process: structured, responsive step cards (RTL/LTR-safe via logical props) */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 18px;
  margin-top: clamp(24px, 4vw, 40px);
  align-items: stretch;
}

.steps .step-box:last-child {
  grid-column: 1 / -1;
}

.step-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-inline-start: 3px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  min-height: 72px;
  height: 100%;
}

.step-box:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.step-box span {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  line-height: 1.35;
  text-align: start;
  overflow-wrap: anywhere;
}

.step-number {
  background: var(--primary-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

@media (max-width: 575.98px) {
  .step-box {
    padding: 14px 14px;
    min-height: 64px;
  }

  .steps .step-box:last-child {
    grid-column: auto;
  }

  .step-number {
    width: 40px;
    height: 40px;
  }
}

.how-image {
  flex: 1 1 50%;
  background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80');
  background-size: cover;
  background-position: center;
  min-height: 400px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.promo-box {
  background: rgba(0, 0, 0, 0.7);
  padding-block: 30px;
  padding-inline: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.5s ease;
}

.how-image:hover .promo-box {
  transform: scale(1);
}

.promo-box h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 20px;
}

.promo-box a.btn-primary {
  width: auto;
}

/* ======================== Projects Section ======================== */
.projects-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.articles-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 30px;
}

.article-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.article-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.1);
}

.article-category {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

html[dir="ltr"] .article-category {
  left: auto;
  inset-inline-start: 20px;
}

.article-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-title {
  font-size: 1.4rem;
  font-family: var(--body-font);
  font-weight: 600;
  margin-bottom: 10px;
}

.article-title:hover {
  color: var(--primary-color);
}

.article-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.article-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.read-more-link {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ======================== Testimonials Section ======================== */
.testimonials-section {
  background: var(--primary-gradient);
  color: #fff;
  padding: 5rem 0;
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
  color: #fff;
}

.testimonials-carousel-container {
  position: relative;
  margin-top: 4rem;
  overflow: hidden;
}

.testimonials-carousel {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
  min-width: calc(100% - 20px);
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: var(--border-radius);
  margin: 0 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-icon {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 25px;
  flex-grow: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.client-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
}

.client-name {
  font-size: 1.1rem;
  font-family: var(--body-font);
  font-weight: 600;
  margin-bottom: 0;
}

.client-role {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #fff;
  width: 15px;
  height: 15px;
}

/* ======================== FAQ Section ======================== */
.faq-section {
  padding: 8rem 0;
  background-color: #f8f9fa;
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-subtitle {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
}

.faq-title {
  font-size: 2.5rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.accordion-item {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  border: 1px solid #e9ecef;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.accordion-item:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  background: transparent;
  border: 0;
  appearance: none;
  text-align: start;
  gap: 16px;
  color: inherit;
  font: inherit;
}

.accordion-header:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.accordion-title {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.accordion-header:hover {
  background-color: #f8f9fa;
  color: var(--primary-color);
}

.accordion-item.active .accordion-header {
  background-color: #f8f9fa;
}

.accordion-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-inline-start: 0;
  line-height: 1;
}

.accordion-item.active .accordion-icon {
  transform: rotate(-180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.accordion-item.active .accordion-content {
  opacity: 1;
}

.accordion-content p {
  margin-bottom: 0;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
  padding: 18px 24px 22px;
}

@media (max-width: 575.98px) {
  .accordion-header {
    padding: 18px;
    font-size: 1.05rem;
  }

  .accordion-content p {
    padding: 14px 18px 18px;
    font-size: 0.98rem;
  }
}

/* ======================== Contact Section ======================== */
.contact-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
}

.contact-info {
  flex: 1 1 40%;
  background: var(--primary-gradient);
  color: #fff;
  padding: 40px;
}

.contact-title {
  font-size: 2rem;
}

.contact-subtitle {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  opacity: 0.95;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}

.icon-box {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.info-content h4 {
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
}

.info-content p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.contact-form {
  flex: 1 1 60%;
  padding: 40px;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.error-message {
  color: red;
  font-size: 0.85rem;
  position: absolute;
  bottom: -20px;
  left: 0;
  display: none;
}

/* ======================== Footer Section ======================== */
.footer {
  background: var(--dark-color);
  color: #fff;
  padding: 5rem 0 2rem;
}

.footer-container {
  max-width: 1200px;
  margin-inline: auto;
  padding-block: 0;
  padding-inline: 15px;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  flex: 1 1 250px;
}

.footer-logo img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-social {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-links-container {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 50%;
  gap: 20px;
  justify-content: space-around;
}

.footer-column {
  flex: 1 1 150px;
}

.footer-column h4 {
  font-family: var(--body-font);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

.footer-links li {
  list-style: none;
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .how-text,
  .how-image {
    flex-basis: 100%;
  }

  .how-image {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 7rem 0 3rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-image {
    display: none !important;
  }

  .contact-card {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    flex-basis: 100%;
  }

  .footer-links-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}