/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loader {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* CSS Variables */
:root {
  --primary-red: #e53e3e;
  --primary-red-hover: #c53030;
  --text-dark: #2d3748;
  --text-gray: #718096;
  --text-light: #a0aec0;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Instrument Sans", sans-serif;
  font-optical-sizing: auto;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.btn {
  background: var(--primary-red);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
}

.btn:hover {
  background: var(--primary-red-hover);
  transform: translateY(-2px);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.footer {
  background-color: #e5e5e5;
  color: white;
  padding: 3rem 0 1rem;
  padding-bottom: 190px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 0 15px;
}

.footer-section a {
  color: #000;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.footer-section p {
  color: #000;
  font-size: 12px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

form {
  margin-top: 32px;
}

.form-group {
  margin-bottom: 1rem;
  width: 100%;
  display: block;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-red);
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.header {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 0 15px;
}

.hero {
  background: linear-gradient(
      to right,
      #000000b3 0%,
      #000000b3 70%,
      #00000066 85%,
      #00000026 100%
    ),
    url("../../assets/images/services_hero.jpg");
  background-size: cover;
  height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 110px;
  padding: 0 15px;
}

.hero-btn {
  color: white;
  padding-top: 16.5px;
  padding-bottom: 16.5px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 30%;
  font-weight: 500;
}

.hero-btn p {
  font-weight: 500;
  font-size: 16px;
}

.hero-btn-container {
  display: flex;
  gap: 16px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.hero-form {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  position: absolute;
  right: 0;
  top: -20px;
  width: 100%;
  max-width: 400px;
  z-index: 10;
}

.hero-mobile-form {
  display: none;
}

.hero-form h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text > p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.hiw-grid {
  display: flex;
  justify-content: space-between;
}

.hiw-grid-item {
  max-width: 284px;
  text-align: center;
}

.hiw-grid-item h4 {
  font-size: 20px;
  font-weight: 500;
  margin-top: 25px;
  margin-bottom: 25px;
}

.hiw-grid-item p {
  font-size: 16px;
  font-weight: 500;
  margin-top: 25px;
}

.how-it-works {
  padding: 100px 15px;
  background-color: #fff;
}

.how-it-works h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
}

.how-it-works p {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 60px;
}

html {
  scroll-behavior: smooth;
}

.mobile-hero-img {
  display: none;
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-btn {
  background: white;
  color: var(--primary-red-hover);
  padding: 12px 24px;
  border: 1px solid var(--primary-red-hover);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.nav-btn:hover {
  background: var(--primary-red-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 65px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-red);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
}

.services-section {
  padding-top: 184px;
  padding-bottom: 100px;
  background-color: var(--bg-light);
}

.services-section h2 {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
}

.services-section > p {
  text-align: center;
  counter-reset: #333;
  margin-top: 16px;
}

.services-text {
  max-width: 931px;
  margin: 0 auto;
}

.service-text-mobile {
  display: none;
}

.service-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 478px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-left: 24px;
  padding-right: 21px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: scale(1.02);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4));
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 24px;
  font-weight: 600;
}

.service-card p {
  opacity: 0.9;
}

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

.service-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.services {
  padding: 100px 15px;
  background: var(--bg-light);
}

.services h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.services p {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-gray);
  color: #333;
  font-weight: 500;
}

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

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

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

.why-book {
  background-color: var(--bg-light);
  padding: 100px 15px;
}

.why-book-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.why-book-img {
  width: 40%;
}

.why-book-point {
  display: flex;
  gap: 16px;
  align-items: center;
}

.why-book-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 64px;
}

.why-book-point p {
  color: #333333;
}

.why-book-text {
  width: 45%;
}

.why-book-text h3 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 24px;
}

.why-book-text > p {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 32px;
}

@media (max-width: 480px) {
  .about h2,
  .services h2,
  .experience-text h2,
  .faq h2 {
    font-size: 2rem;
  }

  .services p {
    text-align: left;
  }

  .services h2 {
    text-align: left;
  }

  .service-card {
    width: 100%;
  }

  .service-text-mobile {
    display: block;
  }

  .service-text-web {
    display: none;
  }

  .hero {
    background: var(--bg-light);
    padding-top: 30px;
  }

  .hero-text h1 {
    font-size: 2rem;
    color: #000;
  }

  .hero-text > p {
    color: #333;
  }

  .hero-form-mobile {
    display: block;
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 24px;
  }

  .mobile-hero-img {
    display: block;
    margin-bottom: 24px;
  }

  .footer {
    padding-bottom: 40px;
  }

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

  .services br {
    display: none;
  }

  .services-section {
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .header {
    padding: 0 15px;
  }

  .hero-btn {
    width: 100%;
  }

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

  .hero-form {
    display: none;
  }

  .hero-mobile-form {
    display: block;
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 24px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .how-it-works {
    padding-top: 50px;
  }

  .how-it-works br {
    display: none;
  }

  .hiw-grid {
    flex-direction: column;
    align-items: center;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-btn {
    display: none;
  }

  .services h2 p {
    text-align: left;
  }

  .services-section {
    padding-top: 100px;
  }

  .services-section h2 {
    text-align: left;
  }

  .services-section p {
    text-align: left;
  }

  .services-text {
    padding-top: 50px;
  }

  .why-book-container {
    flex-direction: column;
  }

  .why-book-img {
    width: 100%;
  }

  .why-book-text {
    width: 100%;
    margin-top: 48px;
  }
}
