/*! Font Imports */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sora:wght@100..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Afacad:ital,wght@0,400..700;1,400..700&display=swap");
/*! Font Imports */

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

:root {
  --red-color: #f94a4b;
  --font-family-sora: "Afacad", sans-serif;
  --font-family-poppins: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

body {
  background-color: white;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  overflow-x: -moz-hidden-unscrollable;
}

.sora {
  font-family: "Afacad", serif;
}

/*! Hero Country Circle */

@keyframes rotateAnimation {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-section {
  background-color: #f5f8fc;
  padding: calc(7vh + 8vw) calc(1vh + 3vw);
  margin-top: 2.5rem;
  overflow: hidden;
  overflow: -moz-hidden-unscrollable;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  margin: 0 auto;
  padding: 0 0px; /* Add padding to container for mobile responsiveness */
}

.image-section {
  width: 100%;
  max-width: 400px; /* Reduced max-width for mobile image section */
  margin-bottom: 30px;
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 12vh;
}
/* contry circl */
.image-section img.illustrative-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 115%; /* Slightly larger than container */
  height: auto;
  z-index: 0;
  animation: rotateAnimation 20s linear infinite;
  max-width: none; /* Override any potential max-width inheritance */
}

.passport-container {
  width: 100%;
  max-width: 60vw; /* Reduced max-width for mobile passport container */
  height: auto;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.passport-container img {
  width: 100%;
  max-width: 60vw; /* Reduced max-width for mobile passport container */
  height: auto;
  border-radius: 50%;
}

.passport-container video {
  width: 100%;
  height: 100%;
  display: block;
}

.text-section {
  width: 95%;
  max-width: 500px;
  margin: auto;
  text-align: left; /* Left align text on mobile */
}

.section-title-simplex {
  color: #f94a4b;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Left align section title */
  font-family: var(--font-family-sora);
}

.simpl-ico {
  width: 2.4rem;
  margin-right: 5px;
}

@media screen and (max-width: 768px) {
  .section-title-simplex {
    font-size: 1.4rem;
    text-wrap: nowrap;
  }

  .simpl-ico {
    width: 2.1rem;
    margin-right: 5px;
  }
}

.main-heading {
  color: #002768;
  font-size: 32px; /* Slightly smaller heading for mobile */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  margin-top: 1rem;
  font-family: var(--font-family-sora);
}

.description-text {
  color: #002768;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.buttons-container {
  display: flex;
  justify-content: flex-start; /* Left align buttons */
  gap: 20px;
}

.button-discover,
.button-consultation {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: calc(0.85rem);
  text-align: center; /* Center text inside buttons for mobile */
}

.button-discover {
  background-color: white;
  color: #f94a4b;
  border: 2px solid #f94a4b;
}

.button-consultation {
  background-color: #f94a4b;
  color: white;
}

@media (max-width: 505px) {
  .image-section img.illustrative-bg {
    width: 107%; /* Slightly larger than container */
  }
}
@media (min-width: 505px) {
  .passport-container {
    max-width: 45vw; /* Reduced max-width for mobile passport container */
  }
  .image-section {
    max-width: 55.5vw; /* Increased max-width for desktop image section */
  }
}
@media (min-width: 768px) {
  /* Desktop View */
  .hero-container {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 0; /* Remove extra padding on desktop */
  }
  .button-discover,
  .button-consultation {
    font-size: calc(1.25rem);
  }
  .image-section {
    order: 2;
    margin-left: 50px;
    margin-bottom: 0;
    max-width: 43.5vw; /* Increased max-width for desktop image section */
  }
  .passport-container {
    max-width: 400px; /* Increased max-width for desktop passport container */
    max-width: 35vw;
  }
  .text-section {
    order: 1;
    text-align: left;
    max-width: 600px;
  }
  .main-heading {
    font-size: 50px;
  }
  .description-text {
    font-size: 20px;
  }
  .buttons-container {
    justify-content: flex-start;
  }
  .section-title {
    justify-content: flex-start;
  }
}

/*! Hero Country Circle */

/* !Country Slider */

/* Countries Slider Section Styles */
.countries-slider-section {
  background-color: #be0b32;
  color: white;
  padding: 20px 0;
  overflow: hidden;
}

.slider {
  background: #be0b32; /* Slider background same as section background */
  box-shadow: none; /* Removed box-shadow */
  height: auto; /* Auto height to fit content */
  margin: 0 auto; /* Center horizontally within section */
  overflow: hidden; /* Hide content outside slider bounds */
  position: relative;
  width: 100%; /* Slider takes full width of container */
  padding: 10px 0; /* Add some vertical padding inside slider */
}

.slide-track {
  animation: scroll 60s linear infinite; /* Animation speed - adjust as needed */
  display: flex;
  width: max-content; /* Width based on content, will be very long */
}

.slide {
  height: auto; /* Auto height to fit country name */
  width: auto; /* Auto width based on content */
  padding: 0; /* Add horizontal padding to slides */
  padding-left: 15px;
  display: flex;
  align-items: center;
}

.country-name {
  font-size: 1.8rem;
  color: white; /* Ensure text is white */
  white-space: nowrap; /* Prevent wrapping */
  font-weight: 600;
}

.country-separator {
  width: 20px;
  height: auto;
  margin: 0 15px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100%));
  } /* Move full width to the left */
}

/* !Country Slider */

/*! Visa Cards */

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px;
}
a {
  text-decoration: none;
}

/* Section Header Styles */
.visa-section-header {
  margin-bottom: 40px;
  padding-top: 20px;
}
.how-we-help {
  color: #f94a4b; /* Red */
  display: flex;
  align-items: center;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.how-we-help i {
  font-size: 2rem;
  margin-right: 5px;
  transform: rotate(45deg); /* Tilt airplane icon */
}
.section-title {
  color: #002768; /* Blue */
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
}
.section-description {
  color: #333;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 900px; /* Adjust as needed */
}

/* Visa Cards Carousel Styles */
.visa-carousel-section {
  margin-bottom: 30px;
  position: relative; /* Make relative for absolute positioning of buttons */
}
.visa-flickity-carousel {
  /* Container for Flickity */
  width: 100%;
}
.visa-flickity-carousel .visa-card {
  /* Targeting card directly as flickity-cell */
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  font-size: 18px;
  position: relative;
  overflow: hidden; /* To contain the hover background */
  border: 1px solid #eee; /* Light border for cards */
  margin: 0 10px; /* Margin between cards */
  width: 30%;
}

.visa-flickity-carousel .visa-card:hover {
  cursor: pointer;
}
.card-content {
  transition: color 0.3s ease; /* Text color transition */
}
.card-icon-container {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #f94a4b; /* Red circle background */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  transition: background-color 0.3s ease; /* Circle background transition */
}
.card-icon {
  font-size: 2rem;
  color: #fff;
  transition: color 0.3s ease; /* Icon color transition */
}
.visa-type {
  color: #002768; /* Blue */
  font-weight: bold;
  margin-bottom: 10px;
  transition: color 0.3s ease; /* Visa type color transition */
}
.visa-description {
  color: #333;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
  transition: color 0.3s ease; /* Description color transition */
}
.read-more-link {
  color: #f94a4b; /* Red */
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease; /* Link color transition */
}
.read-more-link i {
  margin-left: 5px;
  font-size: 1rem;
}
.visa-flickity-carousel .visa-card.is-selected {
  background-color: #f94a4b; /* Red background for active card */
  color: #fff; /* White text for active card */
}

.visa-flickity-carousel .visa-card.is-selected .card-content * {
  color: #fff; /* White text for all elements inside active card */
}

.visa-flickity-carousel .visa-card.is-selected .card-icon-container {
  background-color: #fff; /* White circle for active card */
}

.visa-flickity-carousel .visa-card.is-selected .card-icon {
  color: #f94a4b; /* Red icon for active card */
}

.visa-flickity-carousel .visa-card.is-selected .read-more-link {
  color: #fff; /* White read more link for active card */
}

.visa-card {
  transition: background-color 0.3s ease-in-out; /* optional smooth transition */
}

.visa-card.is-selected {
  background-color: #f94a4b; /* Red background on hover */
  color: #fff; /* White text on hover */
}
/* CTA Section Styles */
.cta-section {
  text-align: center;
  padding: 5px 0;
}
.cta-text {
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
}
.cta-link {
  color: #f94a4b; /* Red */
  font-weight: bold;
  margin-left: 5px;
}

/* Flickity Navigation Button Styles (Prev/Next Arrows) */
.flickity-prev-next-button {
  width: 35px; /* Slightly wider buttons */
  height: 35px; /* Slightly taller buttons */
  border-radius: 5px;
  opacity: 1; /* Fully visible */
  transition: opacity 0.2s;
  position: absolute; /* Absolute positioning */
  top: -50px; /* Position above carousel - adjust as needed */
}
.flickity-prev-next-button:hover {
  opacity: 1;
}
.flickity-prev-next-button.previous {
  left: auto; /* Remove default left position */
  right: 45px; /* Position previous button to the right of next button */
  background-color: #fff; /* White background for previous button */
}
.flickity-prev-next-button.next {
  right: 0px; /* Position next button to the right edge */
  background-color: #f94a4b; /* Red background for next button */
}

/* Flickity Arrow Icon Styling */
.flickity-prev-next-button .flickity-button-icon {
  width: 18px; /* Adjust arrow icon size if needed */
  height: 18px;
}
.flickity-prev-next-button.previous .flickity-button-icon {
  fill: #f94a4b; /* Red arrow for previous button */
}
.flickity-prev-next-button.next .flickity-button-icon {
  fill: #fff; /* White arrow for next button */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .cta-text {
    font-size: 0.75rem;
  }
  .section-description {
    max-width: 100%;
  }
  .visa-flickity-carousel .visa-card {
    text-align: center; /* Center text in mobile cards */
    margin-right: 0; /* No margin between cards in mobile view */
    width: 85%;
  }
  .flickity-prev-next-button {
    top: -40px; /* Adjust top position in mobile if needed */
    width: 30px;
    height: 30px;
  }
  .flickity-prev-next-button.previous {
    right: 40px;
  }
}
@media (max-width: 640px) {
  .section-title {
    font-size: 1.7rem;
  }
  .flickity-prev-next-button {
    top: -35px; /* Further adjust top position in smaller mobiles if needed */
  }
  .flickity-prev-next-button.previous {
    right: 35px;
  }
}
/*! Visa Cards */

/* !About Section */
/* blue back */
.blu-back {
  background-color: #f5f8fc;
  margin-top: 2.5rem;
  padding: 2rem 0;
}

/* Container for the entire section */
.about-us-section {
  padding: 20px;
  max-width: 1500px; /* Maximum width for desktop view */
  margin: 0 auto; /* Center the section on larger screens */
}

/* Section Heading Styles */
.section-heading-about {
  color: #f94a4b; /* Red color */
  font-family: "Afacad", sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.section-heading-about i {
  margin-right: 5px;
  font-size: 2rem;
  vertical-align: auto;
  display: inline-block;
  transform: rotate(45deg) !important;
}

/* Section Sub Heading Styles */
.section-sub-heading {
  color: #002768; /* Blue color */
  font-family: "Afacad", sans-serif;
  font-size: calc(1.5rem + 2vw);
  font-weight: bold;
  line-height: 1.2; /* Adjust line height for better readability */
  margin-bottom: 20px;
  max-width: 900px;
}

/* Section Description Styles */
.section-description-about {
  color: #333; /* Dark grey/black shade for description */
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Info Cards Container Styles */
.info-cards-container {
  display: flex;
  flex-direction: column; /* Stack cards vertically by default for mobile */
  gap: 20px; /* Spacing between cards */
}

/* Info Card Styles */
.info-card {
  display: flex;
  flex-direction: row; /* Image and text in a row */
  justify-content: stretch; /* Stretch items to make cards same height */
  align-items: center;
  border-radius: 5px;
  border: 1.5px solid #eee; /* Light border around cards */
}

.info-card:nth-child(even) {
  flex-direction: row-reverse; /* Reverse direction for even cards */
}

/* Card Image Styles */
.card-image {
  width: 50%; /* Take up 50% width of the card */
  max-width: 250px; /* Maximum width for images */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Prevent extra space below image */
  object-fit: cover; /* cover to maintain aspect ratio and fill container */
  min-height: 240px; /* Minimum height for images to ensure some base height, adjust as needed */
  border-radius: 5px;
}

/* Card Content Styles */
.card-content-about {
  width: 50%; /* Take up 50% width of the card */
  display: flex; /* Enable flexbox for content to control vertical alignment inside */
  flex-direction: column; /* Stack title and description vertically */
  justify-content: center; /* Center content vertically in the available space */
  align-items: flex-start;
  padding: 0 15px;
}

.card-title {
  color: #f94a4b; /* Red color for card titles */
  font-family: "Afacad", sans-serif;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left; /* Align title to the left in mobile view */
  margin-top: 0;
}

.card-description {
  color: #002768; /* Dark grey/black shade for card description */
  font-size: 14px;
  line-height: 1.5;
  text-align: left; /* Align description to the left in mobile view */
}

/* Desktop View Media Query */
@media (min-width: 992px) {
  /* Adjust breakpoint as needed */
  .info-cards-container {
    flex-direction: row; /* Display cards horizontally on desktop */
    /* No need for column wrap if enough space, if cards are too many consider flex-wrap: wrap; */
  }

  .info-card {
    flex-direction: column; /* Stack image and text vertically in desktop cards */
    text-align: center; /* Center text in desktop cards */
    align-items: stretch; /* Keep stretch for desktop cards as well to maintain equal height */
  }

  .info-card:nth-child(even) {
    flex-direction: column; /* Ensure even cards also stack vertically in desktop view */
  }

  .card-image {
    width: 100%; /* Image takes full width of desktop card */
    max-width: 100%; /* Remove max-width to use full card width */
    height: 280px; /* Fixed height for desktop images for uniformity, adjust as needed */
    object-fit: cover; /* Maintain aspect ratio and cover the fixed height */
    min-height: auto; /* Reset min-height for desktop images */
  }

  .card-content-about {
    width: 100%; /* Content takes full width of desktop card */
    text-align: center; /* Center text in desktop cards */
    justify-content: flex-start; /* Align content to the start (top) in desktop cards */
    padding: 0;
    padding-bottom: 0.65rem;
  }

  .card-title {
    text-align: center; /* Center title in desktop view */
    margin: auto;
    margin-top: 1rem;
    margin-bottom: 0.7rem;
  }

  .card-description {
    text-align: left; /* Center description in desktop view */
    margin: 0 15px;
    font-size: 16px; /* Increase font size for desktop */
  }
}

/* Tablet View Media Query (Optional - if tablet view is different from mobile) */
@media (min-width: 768px) and (max-width: 991px) {
  /* Tablet styles if different from mobile and desktop, otherwise it will inherit mobile styles */
  .info-cards-container {
    flex-direction: column; /* Keep cards vertical for tablet as per description */
  }

  .info-card {
    flex-direction: row; /* Image and text in a row for tablet */
    align-items: stretch; /* Stretch for tablet cards */
  }
  .info-card:nth-child(even) {
    flex-direction: row-reverse; /* Reverse direction for even cards in tablet */
  }
  .card-image {
    width: 50%; /* Image width for tablet cards */
    max-width: 260px; /* Adjust max-width for tablet images */
    object-fit: cover; /* cover for tablet images */
    min-height: 150px; /* Minimum height for tablet images, adjust as needed */
  }
  .card-content {
    width: 50%; /* Content width for tablet cards */
    justify-content: center; /* Center content vertically in tablet */
  }
  .card-title {
    text-align: left; /* Align title to the left in tablet view */
  }

  .card-description {
    text-align: left; /* Align description to the left in tablet view */
  }
}

/* !About Section */

/* !Country Sorter */

.count-cover {
  padding: 2rem 0;
}

.countries-section {
  padding: 20px;
  max-width: 1500px; /* Maximum width for desktop view */
  margin: 0 auto; /* Center the section */
}

/* Section Title Styles */
.section-main-title {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: #f94a4b;
  font-family: "Afacad" sans-serif;
  font-weight: bold;
}

.section-main-title i {
  font-size: 2rem;
  margin-right: 5px;
  color: #f94a4b;
  transform: rotate(45deg); /* Rotate the plane icon */
}

.section-second-title {
  font-size: 2rem; /* Default size, responsive adjustment below */
  color: #002768;
  margin-bottom: 15px;
  line-height: 1.2;
  margin-top: 15px;
  font-family: "Afacad", sans-serif;
  font-weight: bold;
}

.section-title-desc {
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Continent Filter Styles */
.continent-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  overflow-x: auto; /* Enable horizontal scroll on mobile */
  -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}
/* Hide scrollbar for Chrome, Safari and Opera */
.continent-filter::-webkit-scrollbar {
  display: none;
}

.continent-button {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: white;
  color: #f94a4b;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap; /* Prevent text wrapping */
}

.continent-button.active {
  background-color: #f94a4b;
  color: white;
  border-color: #f94a4b;
}

/* Country Grid Styles */
.country-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(150px, 1fr)
  ); /* Responsive columns */
  gap: 15px;
}

.country-card {
  padding: 10px;
  border: 1px solid #eee;
  box-shadow: 0 rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  gap: 10px;
}

.country-card:hover {
  background-color: #f94a4b;
}

.country-card:hover span {
  color: white;
}
.country-card a {
  display: flex;
  align-items: center;
}

.country-flag {
  font-size: 1.8rem; /* Original flag size */
  margin-right: 10px;
}
.country-flag i {
  border-radius: 2.5px;
}

.country-name-sort {
  font-size: 1rem; /* Original name size */
  font-weight: 600;
  color: #002768;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .section-second-title {
    font-size: 3rem; /* Desktop title size */
  }
  .country-name-sort {
    font-size: 1.4rem; /* Original name size */
    font-weight: 600;
    color: #002768;
  }
  .section-title-desc {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.25rem;
  }
  .continent-button {
    font-weight: 600;
  }

  .country-grid {
    grid-template-columns: repeat(
      auto-fit,
      minmax(200px, 1fr)
    ); /* More columns on larger screens */
  }
}
@media (min-width: 1024px) {
  .country-grid {
    grid-template-columns: repeat(
      auto-fit,
      minmax(250px, 1fr)
    ); /* Even more columns on larger screens */
  }
}
/* !Country Sorter */

/*! Testimonials Section */
.testimonials-section {
  padding: 40px 20px;
  max-width: 1500px; /* Increased max-width to 1500px */
  margin: 0 auto;
  text-align: left; /* Center align title and subtitle */
  position: relative; /* Needed for positioning swiper buttons relative to section */
  background-color: #f5f8fc;
}
.testimonial-title {
  color: #e73c30; /* Red color from image */
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.5em;
  font-family: "Afacad", sans-serif;
}
.testimonial-subtitle {
  color: #001e6b; /* Dark blue color from image */
  font-weight: bold;
  font-size: 2em;
  margin-bottom: 30px;
  font-family: "Afacad", sans-serif;
}

/* --- Swiper Carousel Styles --- */
.swiper-container {
  width: 100%;
  overflow: hidden; /* Ensure slides don't overflow */
  position: relative; /* Required for navigation positioning */
  padding: 20px 0; /* Add vertical padding for navigation */
  margin: 0 auto; /* Center the swiper within testimonials section */
  /* max-width: 1500px;  Removed max-width from swiper-container */
}

.swiper-wrapper {
  display: flex; /* Enable flexbox for layout */
}

.swiper-slide {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  margin: 0 10px; /* Spacing between slides */
  box-sizing: border-box; /* Ensure padding and border are included in element's total width and height */
  width: 100%; /* Default width for mobile */
  border-radius: 10px;
}

/* --- Swiper Navigation Styles --- */
.swiper-button-next,
.swiper-button-prev {
  color: #001e6b; /* Navigation arrow color */
  background-color: rgba(
    255,
    255,
    255,
    0.8
  ); /* Semi-transparent white background */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.2em; /* Adjust arrow size */
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(255, 255, 255, 1); /* Solid white on hover */
}

.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* Position the navigation buttons */
.swiper-button-next {
  right: 0px; /* Adjust position from right - set to 0px relative to swiper-container */
}
.swiper-button-prev {
  left: 0px; /* Adjust position from left - set to 0px relative to swiper-container */
}

/* --- Instagram Post Styles --- */
.instagram-post-header {
  display: flex;
  align-items: center;
  padding: 10px;
}
.profile-image-container {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
  border: 1px solid #dbdbdb; /* Instagram border color */
  display: flex;
  justify-content: center;
  align-items: center;
}
.profile-image-container img {
  width: 100%;
  height: auto;
  display: block;
}
.profile-info {
  flex-grow: 1;
}
.username {
  font-weight: bold;
  font-size: 0.9em;
  color: #262626;
  line-height: 1.2; /* Adjust line height for better spacing */
  text-align: left !important;
}
.location {
  font-size: 0.8em;
  color: #8e8e8e;
  line-height: 1.2; /* Adjust line height for better spacing */
  text-align: left !important;
}
.post-options {
  cursor: pointer;
  color: #262626;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1; /* Instagram post aspect ratio */
  background-color: #ddd; /* Placeholder background */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Clip video if it overflows */
}
.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover container, cropping if needed */
  display: block;
}
.unmute-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.7);
  color: #000;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  display: none; /* Hidden initially */
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.9em;
  text-wrap: nowrap;
}
.unmute-button i {
  font-size: 1em;
}

.post-actions {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.left-actions,
.right-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}
.action-icon {
  font-size: 1.5em;
  cursor: pointer;
  color: #262626;
}

.post-description {
  padding: 0 10px 10px 10px;
  font-size: 0.9em;
  color: #262626;
  line-height: 1.4;
  text-align: left; /* Left align description text */
}
.description-username {
  font-weight: bold;
  margin-right: 5px;
}
.view-more {
  color: #8e8e8e;
  cursor: pointer;
}

.likes-count {
  padding: 0 10px;
  font-size: 0.9em;
  color: #262626;
  margin-bottom: 5px;
  text-align: left; /* Left align likes count */
}

/* --- Responsive Styles --- */
@media (min-width: 768px) {
  .swiper-slide {
    width: calc(
      33.333% - 20px
    ); /* For 3 slides visible on desktop - Reverted to 3 slides */
    margin: 0 10px;
  }
  .swiper-container {
    padding: 20px 0px; /* Removed side padding from swiper container to allow buttons to be fully visible */
  }
  .testimonials-section {
    text-align: left; /* Left align title and subtitle on desktop */
    padding: 40px 50px; /* Add side padding to testimonials section instead */
  }
  .swiper-button-next {
    right: 20px; /* Adjust position from right relative to testimonials-section padding */
  }
  .swiper-button-prev {
    left: 20px; /* Adjust position from left relative to testimonials-section padding */
  }
}
@media (max-width: 767px) {
  .swiper-slide {
    margin: 0; /* Smaller margin on mobile */
  }
  .swiper-container {
    padding: 20px 0px; /* Removed side padding from swiper container on mobile too */
  }
  .testimonials-section {
    padding: 40px 20px; /* Keep side padding for testimonials section on mobile */
  }
  .swiper-button-next {
    right: 10px; /* Adjust position from right for mobile */
  }
  .swiper-button-prev {
    left: 10px; /* Adjust position from left for mobile */
  }
  .testimonials-section {
    padding-bottom: 0px; /* Add side padding to testimonials section instead */
  }
}
/*! Testimonials Section */

/* !Our Reviews */

/* !Our Reviews */

/* Review Section Styles */
.reviews-section {
  padding: 1rem 20px;
  padding-bottom: 2rem;
  margin: 0 auto;
  display: flex; /* Enable flex layout for desktop */
  gap: 20px; /* Gap between categories and carousel on desktop */
  align-items: stretch; /* Equal height columns on desktop */
  background-color: #f5f8fc;
}

.reviews-categories {
  flex: 0 0 200px; /* Fixed width for categories on desktop */
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.reviews-section-heading {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: left;
  color: #f94a4b;
  font-weight: bold;
}

.review-category-button {
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background-color: white; /* Default button background - LIGHT GRAY */
  border: 1px solid #f94a4b; /* Default button border color - RED */
  color: #f94a4b; /* Default button text color - DARK GRAY */
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-wrap: nowrap;
}

.review-category-button.active,
.review-category-button:hover {
  background-color: #f94a4b; /* Active & Hover button background - WHITE */
  color: white; /* Active & Hover button text color - RED */
  font-weight: 600;
}

.review-category-button:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); /* Slight shadow for hover state */
  background-color: #ff5874e3;
}

.review-category-button.active {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Slight shadow for active state */
}

.reviews-carousel-container {
  flex: 1; /* Take remaining space on desktop */
  overflow: hidden; /* to contain swiper navigation */
  position: relative; /* for swiper navigation positioning */
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-wrapper {
  display: flex; /* Ensure wrapper is flex for card layout */
}

.swiper-slide {
  width: 80%; /* Default width for mobile - adjust as needed */
  flex-shrink: 0; /* Prevent slides from shrinking */
  padding: 20px;
  border-radius: 12px;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.review-text {
  font-size: 1em;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}

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

.reviewer-image-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%; /* Circular image */
  background-color: #ddd;
  overflow: hidden; /* Clip image to circle */
  flex-shrink: 0;
}

.reviewer-image-placeholder img {
  width: 100%;
  height: auto; /* Keep aspect ratio */
  display: block; /* Remove bottom gap in some browsers */
}

.reviewer-details {
  text-align: left;
}

.reviewer-name {
  font-weight: bold;
  color: #333;
}

.reviewer-college,
.reviewer-company {
  font-size: 0.9em;
  color: #777;
}

/* Responsive Carousel Card Width (DESKTOP and TABLET) - affects cards in carousel when more than 1 card is visible */
@media (min-width: 576px) {
  /* Small devices (landscape phones, 576px and up) */
  .swiper-slide {
    width: 60%;
  }
}

@media (min-width: 768px) {
  /* Medium devices (tablets, 768px and up) */
  .swiper-slide {
    width: 45%;
  }
}

@media (min-width: 992px) {
  /* Large devices (desktops, 992px and up) */
  .swiper-slide {
    width: 30%;
  }

  .reviews-section-heading-mobile {
    display: none; /* Hide mobile header on desktop */
  }
}

@media (min-width: 1200px) {
  /* Extra large devices (large desktops, 1200px and up) */
  .swiper-slide {
    width: 23%;
  }
}

/* Responsive Section Layout (MOBILE - Categories above carousel) */
@media (max-width: 768px) {
  .reviews-section {
    flex-direction: column; /* Stack categories and carousel on mobile */
    align-items: stretch; /* Stretch items to full width on mobile */
    gap: 0; /* Remove gap between categories and carousel on mobile */
    padding: 10px; /* Reduced padding for mobile */
    padding-top: 15px;
  }

  .reviews-categories {
    flex-direction: row; /* Categories in a row on mobile */
    justify-content: center;
    margin-bottom: 15px; /* Reduced margin for mobile categories */
    flex-basis: auto; /* Reset flex-basis for mobile categories */
    width: auto; /* Reset width for mobile categories */
    padding: 10px; /* Keep padding for mobile categories */
  }

  .reviews-header-mobile-only {
    display: block; /* Show mobile header on mobile */
  }
  .reviews-section-heading {
    display: none; /* Hide desktop heading on mobile */
  }
  .reviews-carousel-container {
    padding-left: 10px;
    padding-right: 10px;
    box-shadow: none; /* Remove shadow on mobile carousel container */
    border-radius: 0; /* Remove border-radius on mobile carousel container */
    background-color: transparent; /* Make carousel background transparent on mobile */
  }
  .swiper-slide {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Re-add card shadow on mobile cards */
    border-radius: 8px; /* Re-add card border radius for mobile cards */
    width: 100%; /* Make cards full width on mobile */
  }
  .swiper-slide:last-child {
    margin-right: 0; /* No margin for the last card in mobile view */
  }
  .reviews-categories {
    margin-bottom: 20px; /* Add margin below categories on mobile */
  }
  .reviews-section-heading-mobile {
    display: block; /* Show mobile heading on mobile */
    font-size: 2.2em;
    margin-bottom: 20px;
    margin-left: 10px;
    text-align: left;
    color: #f94a4b;
    font-weight: bold;
    font-family: "Afacad", sans-serif;
  }
}

/* Swiper Navigation Arrows Styles */
.swiper-button-prev,
.swiper-button-next {
  color: #f94a4b; /* Red color for arrows */
  background-color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: #f0f0f0;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1em;
  font-weight: bold;
}

.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}

/* !Our Reviews */
/* !Our Reviews */

/* !Contact Section */

.contact-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05), 0 6px 20px rgba(0, 0, 0, 0.05);
  margin: 1rem;
}

.cont-wrap {
  padding: 3rem 0;
}

.contact-heading {
  text-align: center;
  color: #f94a4b;
  margin-bottom: 30px; /* Increased margin for better spacing */
}

.form-group {
  position: relative; /* For label animation positioning */
  margin-bottom: 25px; /* Increased margin for better spacing */
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #f94a4b;
  border-radius: 5px;
  box-sizing: border-box;
  color: #333;
  font-size: 16px; /* Adjusted font size for input text */
  outline: none; /* Remove default focus outline */
}

/* Style for Placeholder Text */
.form-group input::placeholder {
  color: #f94a4b;
  opacity: 1; /* Ensure placeholder is visible */
  font-size: 16px; /* Match input text size initially */
}

/* Animated Label Style */
.form-group .animated-label {
  position: absolute;
  left: 10px; /* Match input padding */
  top: 50%;
  transform: translateY(-8%);
  color: #f94a4b;
  font-size: 16px;
  pointer-events: none; /* Make label not interfere with clicks */
  transition: all 0.3s ease;
  opacity: 0; /* Initially hidden */
}

/* Placeholder style when input is focused or has value */
.form-group input:focus::placeholder,
.form-group input:not(:placeholder-shown)::placeholder {
  opacity: 0; /* Hide placeholder on focus or value present */
}

/* Animated Label Show on Focus or Value */
.form-group input:focus + .animated-label,
.form-group input:not(:placeholder-shown) + .animated-label {
  opacity: 1; /* Show label */
  top: -10px; /* Move label upwards */
  font-size: 12px; /* Smaller label font size */
  background-color: white; /* Background to cover input border */
  padding: 0 5px; /* Add padding to background */
  z-index: 1; /* Ensure label is above input border */
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.request-button {
  background-color: #f94a4b;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

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

.social-icons i {
  color: #f94a4b;
  font-size: 30px;
}

a {
  text-decoration: none;
}

.contact-card {
  position: relative;
}

.hat-top img {
  position: absolute;
  top: -65px;
  right: 20px;
  height: 250px;
  z-index: 1;
  transform-style: preserve-3d; /* enables 3D transforms on children if any */
  animation: planeFly 6s infinite ease-in-out;
}

@keyframes planeFly {
  0% {
    transform: translateY(0) rotateX(0) rotateY(0) rotateZ(0);
  }
  25% {
    transform: translateY(-5px) rotateX(2deg) rotateY(2deg) rotateZ(3deg);
  }
  50% {
    transform: translateY(0) rotateX(0) rotateY(0) rotateZ(0);
  }
  75% {
    transform: translateY(5px) rotateX(-2deg) rotateY(-2deg) rotateZ(-3deg);
  }
  100% {
    transform: translateY(0) rotateX(0) rotateY(0) rotateZ(0);
  }
}

/* --- For Mobile--- */

@media (max-width: 767px) {
  .hat-top img {
    position: absolute;
    top: -50px;
    right: 0;
    height: 120px;
    z-index: 2;
  }
  .social-icons {
    display: flex;
    gap: 5px;
  }
  .request-button {
    font-size: 16px;
    padding: 9px;
  }
  .social-icons i {
    color: #f94a4b;
    font-size: 25px;
  }
}

/* --- For Desktop--- */

@media (min-width: 724px) {
  .contact-card {
    padding: 50px;
  }
  .contact-heading {
    font-size: 2.5rem;
    font-family: "Afacad", sans-serif;
  }
  .form-group input {
    width: 100%;
    padding: 16px;
    font-size: 20px;
  }
  .form-group input::placeholder {
    font-size: 20px; /* Match input text size initially */
  }
  .request-button {
    font-size: 20px;
    padding: 12px 25px;
  }

  .social-icons i {
    color: #f94a4b;
    font-size: 40px;
  }
}

/* !Contact Section */
