:root {
  --primary-color: #2563eb;
  --primary-color-dark: #1d4ed8;
  --secondary-color: #f8fafc;
  --accent-color: #f59e0b;
  --text-color: #1e293b;
  --text-color-light: #64748b;
  --white-color: #ffffff;
  --gray-color: #f1f5f9;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --error-color: #ef4444;
  --warning-color: #f59e0b;
  --body-font: 'Inter', sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

@media screen and (max-width: 992px) {
  :root {
    --biggest-font-size: 2rem;
    --h1-font-size: 1.75rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: 1rem;
    --small-font-size: 1rem;
    --smaller-font-size: 0.938rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--white-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  color: var(--text-color);
  font-weight: var(--font-semi-bold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding: 5rem 0 2rem;
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--text-color);
  text-align: center;
  margin-bottom: var(--mb-2-5);
  font-weight: var(--font-bold);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-3);
  text-align: center;
  color: var(--text-color-light);
}

/* Header */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--white-color);
  box-shadow: var(--shadow);
  transition: 0.4s;
}

.nav {
  height: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  font-weight: var(--font-bold);
  color: var(--primary-color);
}

.nav__logo img {
  height: 5rem;
  width: auto;
}

.nav__menu {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100vh;
  width: 80vw;
  max-width: 360px;
  background-color: var(--white-color);
  box-shadow: var(--shadow-md);
  padding: 4.5rem 1.5rem 2rem;
  transition: left 0.35s ease, visibility 0.35s ease;
  z-index: var(--z-modal);
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-medium);
  transition: 0.3s;
  position: relative;
  padding: 0.625rem 0;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-color);
}

.nav__link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  left: 0;
  bottom: -0.5rem;
  transition: 0.3s;
}

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

.nav__close,
.nav__toggle {
  display: flex;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  border: none;
  background: transparent;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.nav__toggle {
  margin-left: auto;
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.show-menu {
  left: 0;
  visibility: visible;
  pointer-events: auto;
}

.hamburger {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.hamburger span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--text-color);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger span:nth-child(1) {
  transform: translate(-50%, -8px);
}

.hamburger span:nth-child(2) {
  transform: translate(-50%, 0);
}

.hamburger span:nth-child(3) {
  transform: translate(-50%, 8px);
}

.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: calc(var(--z-fixed) - 1);
}

.nav__overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Button */
.button {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  transition: 0.3s;
  box-shadow: var(--shadow);
}

.button:hover {
  background-color: var(--primary-color-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.button--flex {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
}

.button,
.nav__link,
button,
a {
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

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

.button--ghost:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* Hero */
.hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white-color) 100%);
}

.hero__container {
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__title {
  font-size: var(--biggest-font-size);
  margin-bottom: var(--mb-1);
  font-weight: var(--font-bold);
  line-height: 1.1;
}

.hero__title-color {
  color: var(--primary-color);
}

.hero__description {
  margin-bottom: var(--mb-2);
  color: var(--text-color-light);
  font-size: var(--normal-font-size);
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: var(--mb-2);
}

.hero__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color-light);
}

.hero__feature i {
  color: var(--success-color);
  font-size: 1.25rem;
}

.hero__image {
  justify-self: center;
}

.hero__img {
  width: 100%;
  max-width: 500px;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
}

/* Services */
.services__header {
  text-align: center;
  margin-bottom: var(--mb-3);
}

.services__grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.services__card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: 0.3s;
  border: 1px solid var(--border-color);
}

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

.services__icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.services__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--text-color);
}

.services__description {
  color: var(--text-color-light);
  margin-bottom: var(--mb-1-5);
}

.services__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.services__list li {
  color: var(--text-color-light);
  position: relative;
  padding-left: 1.5rem;
}

.services__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: var(--font-bold);
}

/* Testimonials */
.testimonials {
  background-color: var(--gray-color);
}

.testimonials__header {
  text-align: center;
  margin-bottom: var(--mb-3);
}

.testimonials__grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonials__card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.testimonials__stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: var(--mb-1);
}

.testimonials__stars i {
  color: var(--accent-color);
  font-size: 1.25rem;
}

.testimonials__text {
  color: var(--text-color-light);
  margin-bottom: var(--mb-1-5);
  font-style: italic;
}

.testimonials__name {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-25);
}

.testimonials__location {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
  color: var(--white-color);
  text-align: center;
}

.cta__title {
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb-1);
  color: var(--white-color);
}

.cta__description {
  margin-bottom: var(--mb-2);
  opacity: 0.9;
}

.cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Contact */
.contact-hero {
  padding: 8rem 0 3rem;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white-color) 100%);
  text-align: center;
}

.contact-hero__title {
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb-1);
  color: var(--text-color);
}

.contact-hero__description {
  color: var(--text-color-light);
  max-width: 600px;
  margin: 0 auto;
}

.contact__container {
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact__form {
  display: grid;
  gap: 1.5rem;
}

.contact__form-div {
  position: relative;
}

.contact__form-tag {
  position: absolute;
  top: -0.75rem;
  left: 1.25rem;
  z-index: 10;
  background-color: var(--white-color);
  color: var(--text-color);
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  padding: 0 0.5rem;
}

.contact__form-input {
  position: relative;
  width: 100%;
  background-color: var(--white-color);
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  color: var(--text-color);
  font-weight: var(--font-medium);
  transition: 0.3s;
}

.contact__form-input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact__form-area {
  grid-column: 1 / -1;
}

.contact__form-area textarea {
  resize: none;
  height: 10rem;
}

.contact__form-error {
  color: var(--error-color);
  font-size: var(--smaller-font-size);
  margin-top: 0.25rem;
  min-height: 1rem;
}

.contact__button {
  justify-self: center;
  margin-top: 1rem;
}

.contact__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-color-light);
}

.contact__spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--border-color);
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.contact__message {
  text-align: center;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  display: none;
}

.contact__message.success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: block;
}

.contact__message.error {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--error-color);
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: block;
}

.contact__info {
  background: var(--gray-color);
  padding: 2rem;
  border-radius: 1rem;
}

.contact__info-container {
  display: grid;
  gap: 2rem;
}

.contact__info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact__info-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact__info-title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
  color: var(--text-color);
}

.contact__info-link {
  color: var(--primary-color);
  font-weight: var(--font-medium);
  transition: 0.3s;
}

.contact__info-link:hover {
  color: var(--primary-color-dark);
}

.contact__info-description {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  margin-top: 0.25rem;
}

.contact__info-address {
  color: var(--text-color);
  font-style: normal;
  margin-bottom: 0.25rem;
}

.contact__info-hours p {
  margin-bottom: 0.25rem;
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

/* Main Services */
.main-services {
  background-color: var(--white-color);
}

.main-services__header {
  text-align: center;
  margin-bottom: var(--mb-3);
}

.main-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.main-services__card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: 0.3s;
  border: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
}

.main-services__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.main-services__icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.main-services__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--text-color);
}

.main-services__subtitle {
  color: var(--primary-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1);
  font-size: var(--small-font-size);
}

.main-services__description {
  color: var(--text-color-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.main-services__features {
  text-align: left;
}

.main-services__features h4 {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--text-color);
  text-align: center;
}

.main-services__features ul {
  list-style: none;
  padding: 0;
}

.main-services__features li {
  color: var(--text-color-light);
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.main-services__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: var(--font-bold);
}

/* Service Areas */
.service-areas {
  background-color: var(--white-color);
}

.service-areas__header {
  text-align: center;
  margin-bottom: var(--mb-3);
}

.service-areas__grid {
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: var(--mb-3);
}

.service-areas__column {
  background: var(--gray-color);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
}

.service-areas__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1-5);
  color: var(--text-color);
}

.service-areas__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-areas__list li {
  color: var(--text-color-light);
}

.service-areas__cta {
  text-align: center;
  background: var(--gray-color);
  padding: 2rem;
  border-radius: 1rem;
}

.service-areas__cta p {
  margin-bottom: var(--mb-1-5);
  color: var(--text-color-light);
}

/* Footer */
.footer {
  background-color: var(--text-color);
  color: var(--white-color);
  padding: 3rem 0 1rem;
}

.footer__container {
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: var(--mb-2);
}

.footer__logo img {
  height: 2rem;
  margin-bottom: var(--mb-1);
}

.footer__description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--mb-1);
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--white-color);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.footer__link:hover {
  color: var(--white-color);
}

.footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.footer__copy-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--small-font-size);
}

.footer__copy-link {
  color: var(--primary-color);
  transition: 0.3s;
}

.footer__copy-link:hover {
  color: var(--primary-color-dark);
}

/* Scroll Up */
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -30%;
  background-color: var(--primary-color);
  box-shadow: var(--shadow);
  display: inline-flex;
  padding: 0.5rem;
  border-radius: 0.25rem;
  z-index: var(--z-tooltip);
  opacity: 0.8;
  transition: 0.4s;
}

.scrollup:hover {
  background-color: var(--primary-color-dark);
  opacity: 1;
}

.scrollup__icon {
  font-size: 1.25rem;
  color: var(--white-color);
}

.show-scroll {
  bottom: 3rem;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: var(--gray-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary-color-dark);
}

/* Additional Components */
.team,
.certifications,
.service-areas {
  display: none !important;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.values__card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: 0.3s;
  border: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

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

.values__icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.values__card h3 {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--text-color);
}

.values__card p {
  color: var(--text-color-light);
  line-height: 1.6;
  flex-grow: 1;
}

.why-choose__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.why-choose__item {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: 0.3s;
  border: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.why-choose__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.why-choose__icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.why-choose__item h3 {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--text-color);
}

.why-choose__item p {
  color: var(--text-color-light);
  line-height: 1.6;
  flex-grow: 1;
}

.story__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.story__stat {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: 0.3s;
  border: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
}

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

.story__stat h3 {
  font-size: 2.5rem;
  font-weight: var(--font-bold);
  color: var(--primary-color);
  margin-bottom: var(--mb-0-5);
  line-height: 1;
}

.story__stat p {
  color: var(--text-color-light);
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.process__step {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: 0.3s;
  border: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

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

.process__step h3 {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--text-color);
}

.process__step p {
  color: var(--text-color-light);
  line-height: 1.6;
  flex-grow: 1;
}

.service-detail__content {
  display: block;
  max-width: 800px;
  margin: 2rem auto 0;
  text-align: center;
}

.service-detail__content--reverse {
  direction: rtl;
}

.service-detail__content--reverse > * {
  direction: ltr;
}

.service-detail__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.service-detail__description p {
  color: var(--text-color-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-detail__features h3 {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--text-color);
}

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

.service-detail__features li {
  color: var(--text-color-light);
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.service-detail__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: var(--font-bold);
}

.service-detail__image {
  text-align: center;
}

.service-detail__image img {
  width: 100%;
  max-width: 500px;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

.specialty-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.specialty-services__card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: 0.3s;
  border: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
}

.specialty-services__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.specialty-services__icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.specialty-services__card h3 {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--text-color);
}

.specialty-services__card p {
  color: var(--text-color-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.specialty-services__card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.specialty-services__card li {
  color: var(--text-color-light);
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.specialty-services__card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: var(--font-bold);
}

/* Mobile Responsive */
@media screen and (max-width: 350px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }
  
  .hero__buttons {
    flex-direction: column;
  }
  
  .hero__title {
    font-size: var(--h1-font-size);
  }
}

/* Breadcrumb Navigation */
.breadcrumb {
  background-color: var(--gray-color);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--small-font-size);
}

.breadcrumb__item {
  display: flex;
  align-items: center;
}

.breadcrumb__link {
  color: var(--text-color-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.breadcrumb__separator {
  margin: 0 0.5rem;
  color: var(--text-color-light);
}

.breadcrumb__item--current {
  color: var(--text-color);
  font-weight: var(--font-medium);
}

/* Mobile Menu Fix - This is the key fix */
@media screen and (max-width: 767px) {
  .nav__toggle {
    display: inline-flex;
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    z-index: 1001;
    position: relative;
  }
  
  .nav__menu {
    display: block;
  }
  
  .nav__menu .nav__list {
    display: none;
  }
  
  .nav__menu.show-menu .nav__list {
    display: flex;
  }
  
  /* Ensure hamburger button is touchable on mobile */
  .hamburger {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    padding: 12px;
    margin: -12px;
    z-index: 1002;
  }
  
  .hamburger img {
    width: 32px;
    height: 32px;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: transform 0.2s ease;
  }
  
  /* Add visual feedback when pressed */
  .hamburger:active {
    transform: scale(0.95);
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
  
  .hamburger:active img {
    transform: scale(0.9);
  }
}

@media screen and (min-width: 568px) {
  .hero__container {
    grid-template-columns: 1fr 1fr;
  }
  
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-choose__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .story__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-detail__content {
    max-width: 100%;
    margin: 2rem 0 0;
    padding: 0 1rem;
  }
  
  .main-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .specialty-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact__container {
    grid-template-columns: 1fr 1fr;
  }
  
  .service-areas__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 768px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  
  body {
    margin: 0;
  }
  
  .section {
    padding: 7rem 0 2rem;
  }
  
  .section__subtitle {
    margin-bottom: 4rem;
  }
  
  .header {
    top: 0;
    bottom: initial;
  }
  
  .header,
  .main,
  .footer__container {
    padding: 0 1rem;
  }
  
  .nav {
    height: calc(4rem + 1.5rem);
    column-gap: 1rem;
  }
  
  .nav__icon,
  .nav__close {
    display: none;
  }
  
  .nav__toggle {
    display: none;
  }
  
  .nav__menu {
    position: static;
    top: auto;
    left: auto;
    height: auto;
    width: auto;
    max-width: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-left: auto;
    visibility: visible;
    pointer-events: auto;
    overflow: visible;
  }
  
  .nav__list {
    flex-direction: row;
    column-gap: 2rem;
  }
  
  .nav__overlay {
    display: none;
  }
  
  .change-theme {
    margin: 0;
  }
  
  .home__container {
    row-gap: 5rem;
  }
  
  .home__content {
    padding-top: 5.5rem;
    column-gap: 2rem;
  }
  
  .home__blob {
    width: 270px;
  }
  
  .home__scroll {
    display: block;
  }
  
  .home__scroll-button {
    margin-left: 3rem;
  }
  
  .about__container {
    column-gap: 5rem;
  }
  
  .about__img {
    width: 350px;
  }
  
  .about__description {
    text-align: initial;
  }
  
  .about__info {
    justify-content: space-between;
  }
  
  .about__buttons {
    justify-content: initial;
  }
  
  .qualification__tabs {
    justify-content: center;
  }
  
  .qualification__button {
    margin: 0 var(--mb-1);
  }
  
  .qualification__sections {
    grid-template-columns: 0.5fr;
  }
  
  .services__container {
    grid-template-columns: repeat(3, 218px);
    justify-content: center;
  }
  
  .services__icon {
    font-size: 2rem;
  }
  
  .services__content {
    padding: 6rem 0 2rem 2.5rem;
  }
  
  .services__modal-content {
    width: 450px;
  }
  
  .portfolio__img {
    width: 320px;
  }
  
  .portfolio__content {
    align-items: center;
  }
  
  .project {
    text-align: initial;
  }
  
  .project__bg {
    background: none;
  }
  
  .project__container {
    background-color: var(--first-color-second);
    border-radius: 1rem;
    padding: 3rem 2.5rem 0;
    grid-template-columns: 1fr max-content;
    column-gap: 3rem;
  }
  
  .project__data {
    padding-top: 0.8rem;
  }
  
  .footer__container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer__bg {
    padding: 3rem 0 3.5rem;
  }
  
  .footer__links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer__socials {
    justify-self: flex-end;
  }
  
  .footer__copy {
    margin-top: 4.5rem;
  }
}

@media screen and (min-width: 1024px) {
  .header,
  .main,
  .footer__container {
    padding: 0;
  }
  
  .home__blob {
    width: 320px;
  }
  
  .home__social {
    transform: translateX(-6rem);
  }
  
  .services__container {
    grid-template-columns: repeat(3, 238px);
  }
  
  .values__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .why-choose__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .story__stats {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .process__steps {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .main-services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .specialty-services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .portfolio__content {
    column-gap: 5rem;
  }
  
  .swiper-portfolio-icon {
    font-size: 3.5rem;
  }
  
  .swiper-button-prev {
    left: -3.5rem;
  }
  
  .swiper-button-next {
    right: -3.5rem;
  }
  
  .swiper-container-horizontal > .swiper-pagination-bullets {
    bottom: -4.5rem;
  }
  
  .contact__form {
    width: 460px;
  }
  
  .contact__inputs {
    grid-template-columns: repeat(2, 1fr);
  }
}
