@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Great+Vibes:wght@400;700&display=swap');

:root{
    --primary: #228B22;
    --white: #fff;
    --black: #000000;
    --orange: #FD5D14;
    --Forest: #228B22;
    --Earth: #8B4513;
    --Beige: #D2B48C;
    --Dark: #4B4B4B;
    --Golden: #FFD700;
    --Soft: #FAF9F6;

}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.4s;
    text-decoration: none;
    list-style: none;
}
html{
  box-sizing: border-box;
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 8.5rem;
}
html::-webkit-scrollbar {
  width: 0.3rem;
}

html::-webkit-scrollbar-track {
  background: #fff;
}

html::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5rem;
}
body {
  font-size: 1.8rem;
  background-image: url('../images/ground.jpg'); /* Replace with your background image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--black);
  font-weight: 400;
  overflow-x: hidden;
  font-family: 'Pacifico', cursive; /* Dancing Script as the primary font */
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lust'; /* Great Vibes for quotes */

}

p {
  font-family: 'Pacifico'; /* Dancing Script for body text */
  font-size: 2rem;
}

section{
    padding:2rem 5%;
}


.sub-heading{
    text-align: center;
    color:var(--primary);
    font-size: 2rem;
    padding-top: 1rem;
    margin-bottom: 1rem;
}

.heading{
  text-align: center;
  color:var(--black);
  text-transform: uppercase;
  padding:1rem;
  font-size: 3.5rem;
  padding-bottom: 2rem;
}

.heading span{
  color:var(--color-primary);
  text-transform: uppercase;
}
.btn{
    display: inline-block;
    width: fit-content;
    padding: 12px 28px;
    background: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 2rem .4rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    color: var(--color-white);
    letter-spacing: .4px;
    font-weight: 600;
    transition: .4s ease;
}
.btn:hover{
    background: transparent;
    color: var(--color-primary);
}
.container{
    max-width: 1620px;
    width: 90%;
    margin: 0 auto;
}

/*------------------- Navigation Bar ----------------------*/
.bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 100px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.navigation-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-family: 'Lust';
    letter-spacing: 0.4rem;
    color: var(--Beige);
}

.logo img {
    width: 30px;
    height: 20px;
}

.nav-link {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-family: 'Dancing Script';
}

.nav-link ul {
    display: flex;
    list-style: none;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.nav-link li a {
    text-decoration: none;
    color: var(--Beige);
}

.nav-link li a:hover {
    color: var(--Dark);
}

.nav-link ul li .active {
    color: var(--white);
}

/* Dropdown Menu */
.dropdown .dropdown-menu{
    display: none;
    position: absolute;
    margin-top: 10px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    padding: 10px;
}
.fa-caret-down {
    margin-left: 5px;
    color: var(--Beige);
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-bottom: 15px;
}



/* Social Links */
.socials-link {
    display: flex;
    gap: 20px;
}

.socials-link .icon {
    text-decoration: none;
    color: var(--Beige);
}

/* Menu Toggle Button (for smaller screens) */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .bar {
        padding: 20px;
    }

    .navigation-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-link {
        display: none;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .nav-link ul {
        flex-direction: column;
        width: 100%;
    }

    .nav-link ul li {
        width: 100%;
        text-align: left;
    }

    .nav-link ul li a {
        padding: 10px;
        display: block;
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active + .nav-link {
        display: flex;
    }

    .dropdown-menu {
        position: relative;
        margin: 5px 0;
        box-shadow: none;
    }
}


/*------------------- Hero Section ----------------------*/
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-item {
  position: relative;
  display: none;
  width: 100%;
  height: 100vh;
}

.hero-item.active {
  display: block;
}

.hero-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Adjust opacity for readability */
}

.hero-item img {
  width: 100%;
  height: 100vh;
  object-fit: cover; /* Ensures the image fills the space without distortion */
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--Beige);
  text-align: center;
  padding: 0 20px; /* Adds padding to prevent text from touching screen edges */
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 15px;
}

.hero-subtitle {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-text {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: justify;
}

.btn {
  background-color: var(--primary);
  color: var(--Beige);
  padding: 12px 30px;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background-color 0.3s;
}

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

/*------------- Responsive Design --------------*/
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-text {
    font-size: 1.1rem;
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 8px 18px;
  }
}

/*------------------- About Us Section ----------------------*/
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 40px 60px;
}

.about-content {
  flex: 1 1 50%;
  padding: 20px;
}

.about-text {
  max-width: 600px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: justify;
  line-height: 1.6;
}

.features {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.feature {
  width: calc(50% - 10px);
  text-align: center;
}

.feature i {
  font-size: 40px;
  margin-top: 10px;
  color: var(--primary);
}

.feature h3 {
  font-size: 1.8rem;
  margin-top: 10px;
  margin-bottom: 5px;
}

.feature p {
  font-size: 1.4rem;
}

.about-image {
  flex: 1 1 40%;
}

.about-image img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
}

/*------------------- Responsive Design ----------------------*/
@media (max-width: 992px) {
  .about-container {
    padding: 30px 40px;
  }

  .feature {
    width: 100%;
  }

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

  .section-subtitle {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }

  .about-image {
    order: -1; /* Image appears above text on smaller screens */
  }

  .about-image img {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.2rem;
  }

  .feature i {
    font-size: 36px;
  }

  .feature h3 {
    font-size: 1.5rem;
  }

  .feature p {
    font-size: 1.2rem;
  }
}


/*------------------- CTA Section ----------------------*/
.cta-section, .cta-section1 {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 0;
  text-align: center;
}

.cta-section {
  background-image: url('../images/blog-5.jpg'); /* Replace with your image */
}

.cta-section1 {
  background-image: url('../images/blog-4.jpg'); /* Replace with your image */
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  color: var(--black);
  padding: 0 20px; /* Add padding for smaller screens */
}

.cta-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 2rem;
  margin-bottom: 30px;
}

/*------------------- Responsive Design ----------------------*/
@media (max-width: 992px) {
  .cta-title {
    font-size: 3rem;
  }

  .cta-text {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .cta-section, .cta-section1 {
    background-attachment: scroll; /* Avoid fixed background issues on mobile */
  }

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

  .cta-text {
    font-size: 1.6rem;
  }

  .cta-content {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .cta-title {
    font-size: 2rem;
  }

  .cta-text {
    font-size: 1.4rem;
  }

  .cta-section, .cta-section1 {
    padding: 60px 0; /* Reduce padding for small screens */
  }
}


/*------------------- Services Section ----------------------*/
.service-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
}

.service {
  position: relative;
  width: calc(33.33% - 20px); /* Three services per row on large screens */
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: skewY(-3deg);
  transition: transform 0.3s ease;
}

.service:hover {
  transform: skewY(0deg); /* Straightens when hovered */
}

.service::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--primary);
  opacity: 0.4;
  transition: height 0.3s ease-in-out;
}

.service:hover::before {
  height: 100%;
}

.service i {
  font-size: 5.4rem;
  margin-bottom: 20px;
  border-radius: 10px;
}

.service-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.service-description {
  font-size: 1.4rem;
  margin-bottom: 15px;
  text-align: left;
}

.service .cta-btn {
  padding: 12px 24px;
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.service .cta-btn:hover {
  background-color: #555;
}

/*------------------- Responsive Design ----------------------*/
@media (max-width: 992px) {
  .service {
    width: calc(50% - 20px); /* Two services per row on tablets */
  }

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

  .service-title {
    font-size: 1.8rem;
  }

  .service-description {
    font-size: 1.3rem;
  }

  .service img {
    width: 70%;
    height: 25vh;
  }
}

@media (max-width: 768px) {
  .service-container {
    padding: 30px 40px;
  }

  .service {
    width: 100%; /* One service per row on small screens */
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }

  .service-title {
    font-size: 1.6rem;
  }

  .service-description {
    font-size: 1.2rem;
  }

  .service img {
    width: 100%;
    height: 20vh;
  }

  .cta-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
}


/*------------------- Destination Section ----------------------*/
.destination-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 20px;
}

/* Responsive card */
.destination-card {
  display: flex;
  flex-direction: column;
  width: 100%;  /* Default to full width */
  max-width: 370px; /* Maintain max width */
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  margin: 10px auto;
  padding: 10px;
  text-align: center;
  transform: skewY(3deg);
  transition: transform 0.3s ease;
}

.destination-card:hover {
  transform: skewY(0deg); /* Smooth reset on hover */
}

.destination-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.destination-card .inner {
  position: relative;
  z-index: 1;
  padding: 0 15px;
}

.destination-card .portfolio-title {
  background-color: var(--color-light-grey);
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.5s ease;
  margin-top: -40px;
}

.portfolio-title .text {
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: bold;
}

.portfolio-title .text-body {
  margin-bottom: 10px;
  text-align: left;
}

.portfolio-title .desc {
  margin-bottom: 10px;
  text-align: justify;
}

.portfolio-title .keys {
  margin-bottom: 10px;
  text-align: justify;
}

/* Pagination Styling */
.pagination1 {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.page-number1 {
  margin: 0 5px;
  cursor: pointer;
  color: var(--white);
  background-color: var(--primary);
  border-radius: 50%;
  padding: 10px;
  transition: background-color 0.3s ease;
}

.page-number1:hover {
  background-color: var(--navy);
}

.active {
  color: var(--navy);
}

/* Media Queries for Responsiveness */
@media (min-width: 600px) {
  .destination-card {
    width: 48%; /* Two cards per row on medium screens */
  }
}

@media (min-width: 992px) {
  .destination-card {
    width: 30%; /* Three cards per row on larger screens */
  }
}

/*------------------- Faq Section ----------------------*/
.faq-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px; /* Added padding for better spacing */
}

.faq-list {
  flex: 1 1 300px; /* Allow flexibility with a minimum width */
  min-width: 250px; /* Ensure it doesn't get too narrow */
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

.question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  font-family: 'Lust';
}

.question:hover {
  background-color: #f5f5f5;
}

.question span {
  margin-right: 10px;
}

.answer {
  display: none;
  padding: 10px;
}

.question.active .fa-angle-down {
  transform: rotate(180deg);
}

.fa-angle-down {
  transition: transform 0.3s ease-in-out;
}

.faq-image {
  flex: 1 1 300px; /* Allow flexibility with a minimum width */
  min-width: 250px; /* Ensure it doesn't get too narrow */
}

.faq-image img {
  width: 100%;
  height: 60vh; /* Make height responsive */
  object-fit: cover;
  border-radius: 20px;
}

/* Media Queries for Better Responsiveness */
@media (max-width: 768px) {
  .faq-container {
    flex-direction: column; /* Stack items vertically on smaller screens */
  }

  .faq-list, .faq-image {
    flex: 1 1 100%; /* Full width for both list and image */
  }
}

@media (max-width: 480px) {
  .question {
    font-size: 1rem; /* Adjust font size for smaller screens */
  }
  
  .faq-image img {
    height: 200px; /* Smaller image height for mobile */
  }
}

/*------------------- Blog Section ----------------------*/
.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid with flexible columns */
  gap: 20px;    
}

.blog-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transform: skewX(-3deg);
  transition: transform 0.2s; /* Add transition for hover effect */
}

.blog-card:hover {
  transform: skewX(0); /* Reset skew on hover */
}

.blog-image {
  width: 100%;
  height: auto; /* Change to auto to maintain aspect ratio */
  max-height: 50vh; /* Set a maximum height */
  object-fit: cover; /* Cover the area while maintaining aspect ratio */
}

.blog-content {
  padding: 20px;
}

.blog-meta {
  display: flex; 
  justify-content: space-between;
  margin-bottom: 10px;
}

.blog-date,
.blog-user {
  color: #777;
  font-size: 0.9rem;
}

.blog-title {
  font-size: 1.8rem; /* Adjust font size for better readability */
  margin-bottom: 10px;
}

.blog-summary {
  font-size: 1.4rem; /* Adjusted for better responsiveness */
  margin-bottom: 15px;
  text-align: justify;
}

.blog-section .cta-btn {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.blog-section .cta-btn:hover {
  background-color: #45a049;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-title {
    font-size: 1.5rem; /* Smaller font size for mobile */
  }

  .blog-summary {
    font-size: 1.2rem; /* Smaller font size for mobile */
  }
}

@media (max-width: 480px) {
  .blog-title {
    font-size: 1.2rem; /* Even smaller font size for small screens */
  }

  .blog-summary {
    font-size: 1rem; /* Even smaller font size for small screens */
  }

  .blog-meta {
    flex-direction: column; /* Stack metadata vertically on small screens */
  }
}

/*------------------- Banner Section ----------------------*/
.banner-container {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
  justify-content: space-between;
  gap: 1.5rem;
  margin: 20px auto;
  padding: 0;
}

.banner-card {
  display: flex;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  padding: 50px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  opacity: 0.8;
  flex: 1 1 300px; /* Allow flexibility in card width */
  min-width: 250px; /* Minimum width to ensure usability */
}

.banner-content {
  padding: 20px;
  text-align: center;
  color: var(--color-white);
}

.banner-title {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.banner-text {
  font-size: 1.7rem;
  margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .banner-title {
    font-size: 1.8rem; /* Adjust title font size for smaller screens */
  }

  .banner-text {
    font-size: 1.5rem; /* Adjust text font size for smaller screens */
  }

  .banner-card {
    padding: 30px; /* Reduce padding for smaller screens */
  }
}

@media (max-width: 480px) {
  .banner-title {
    font-size: 1.5rem; /* Further reduce title font size for very small screens */
  }

  .banner-text {
    font-size: 1.3rem; /* Further reduce text font size for very small screens */
  }

  .banner-card {
    padding: 20px; /* Further reduce padding for very small screens */
  }
}

/*------------------- Review Section ----------------------*/
.testimonial-container {
  width: 100%;
  overflow: hidden;
  padding: 20px;
}

.testimonial-carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

/* Adjust translation for responsive design */
.testimonial-carousel.translate-x {
  transform: translateX(-100% / 3);
}

.testimonial-card {
  flex: 0 0 33%; /* Default to 3 cards per view */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transform: skewX(3deg);
}

/* Ensure content is padded */
.testimonial-content {
  padding: 20px;
}

.quote-icon {
  margin-bottom: 20px;
}

.quote-icon i {
  color: var(--primary);
  font-size: 2.5rem;
}

.fa-quote-right {
  float: right;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.client-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.client-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-right: 10px;
}

.client-info {
  flex-grow: 1;
  text-align: center;
}

.client-name {
  margin-top: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}

.star-rating {
  color: #fdd835; /* Yellow color for stars */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 50%; /* 2 cards per view on medium screens */
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 100%; /* 1 card per view on smaller screens */
  }

  .client-image {
    width: 100px; /* Smaller image size on mobile */
    height: 100px; /* Smaller image size on mobile */
  }

  .testimonial-text {
    font-size: 1.4rem; /* Adjust text size for readability */
  }
}

@media (max-width: 480px) {
  .testimonial-text {
    font-size: 1.2rem; /* Further adjust text size for very small screens */
  }

  .quote-icon i {
    font-size: 2rem; /* Adjust quote icon size for small screens */
  }
}

/*------------------- Contact Us Section ----------------------*/
.contact-section {
  padding: 20px 50px;
}

.us-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 10px 50px;
}

/* Info section styles */
.us-container .info {
  display: flex;
  justify-content: center;
  gap: 20px;
  border-right: 1px solid var(--white);
  padding-right: 40px;
}

.us-container .c {
  border-right: none;
}

.us-container .info i {
  font-size: 5rem;
  color: var(--white);
}

.us-container .info h6 {
  font-size: 2.5rem;
  color: var(--black);
}

.us-container .info span {
  font-size: 1.6rem;
  color: var(--black);
}

/* Contact form and map container styles */
.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
}

.contact-form {
  width: 50%;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.contact-form h2 {
  margin-bottom: 20px;
}

.contact-form .row {
  display: flex;
  gap: 60px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 20px;
}

button {
  padding: 10px 20px;
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

button:hover {
  background-color: #45a049;
}

.map-container {
  width: 50%;
  height: 450px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .us-container {
    flex-direction: column; /* Stack elements on medium screens */
    padding: 10px 20px; /* Reduced padding */
  }

  .us-container .info {
    border-right: none; /* Remove right border on small screens */
    padding-right: 0; /* Remove right padding */
    justify-content: flex-start; /* Align items to start */
  }

  .contact-container {
    flex-direction: column; /* Stack contact form and map on small screens */
  }

  .contact-form,
  .map-container {
    width: 100%; /* Full width on small screens */
  }
}

@media (max-width: 768px) {
  .us-container .info h6 {
    font-size: 2rem; /* Reduce font size for headings */
  }

  .us-container .info span {
    font-size: 1.4rem; /* Reduce font size for spans */
  }

  button {
    padding: 8px 16px; /* Adjust button padding */
  }

  .form-group label {
    font-size: 1rem; /* Smaller label font size */
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    padding: 8px; /* Reduce padding in inputs */
  }
}

@media (max-width: 480px) {
  .us-container .info i {
    font-size: 4rem; /* Smaller icon size */
  }

  .contact-form h2 {
    font-size: 1.8rem; /* Smaller form heading size */
  }

  .contact-form .row {
    flex-direction: column; /* Stack form fields */
  }

  .form-group {
    margin-bottom: 10px; /* Reduce margin */
  }
}

/*------------------- Company Section ----------------------*/
.company-container {
    width: 100%;
    overflow: hidden;
}

.company-wrapper {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

/* Client image styles */
.img-client {
    flex: 0 0 33%; /* Default to three items per row */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

/* Image styles */
.img-client img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .company-wrapper {
        flex-direction: column; /* Stack items vertically on medium screens */
    }

    .img-client {
        flex: 0 0 50%; /* Two items per row on medium screens */
    }

    .img-client img {
        height: 250px; /* Adjust image height for better fit */
    }
}

@media (max-width: 768px) {
    .img-client {
        flex: 0 0 100%; /* One item per row on small screens */
    }

    .img-client img {
        height: 200px; /* Further reduce image height for small screens */
    }
}

@media (max-width: 480px) {
    .img-client {
        border-radius: 10px; /* Smaller border radius for very small screens */
    }

    .img-client img {
        height: 180px; /* Reduce height even more for very small screens */
    }
}

/*------------------- Footer Section ----------------------*/
.footer {
  color: var(--white);
  padding: 10px;
  background-image: url('../images/footer_bg.jpg'); /* Replace with your background image */
  background-size: cover;
  background-position: center;
  position: relative; /* Added to position overlay correctly */
}


.newsletter {
  text-align: center;
}

.newsletter h3,
.footer-about h3,
.footer-contact h3,
.social-links h3,
.quick-links h3,
.legal h3,
.copyright p {
  margin-bottom: 10px;
  color: var(--Golden);
}

.newsletter form {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap; /* Allows wrapping on small screens */
  margin-bottom: 20px;
}

.newsletter input[type="email"] {
  padding: 8px;
  width: 200px; /* Default width */
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 10px;
}

.newsletter button[type="submit"] {
  padding: 8px 20px;
  background-color: var(--Forest);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.newsletter button[type="submit"]:hover {
  background-color: #45a049;
}

.footer-link {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Align items to the start */
  padding: 20px 50px;
  flex-wrap: wrap; /* Allows wrapping on small screens */
}

.footer-about {
  flex: 1;
  margin-bottom:10px;
}

.footer-about .logo {
  margin-bottom: 10px;
}

.footer-about p {
  margin-bottom: 20px;
}

.footer .social-links ul {
  list-style-type: none;
  display: flex;
  color: var(--white);
  flex-wrap: wrap; /* Wraps social links on small screens */
}

.footer .social-links li {
  margin-right: 10px;
  font-size: 32px;
}

.footer .social-links img {
  width: 30px; /* Adjust social icon size as needed */
}

.quick-links,
.legal {
  flex: 1;
}

.legal ul{
  display: flex;
}

.legal li{
  margin-right: 30px;
}

.quick-links ul {
  list-style-type: none;
}

.quick-links li,
.legal p {
  margin-bottom: 20px;
}

.quick-links a,
.legal a {
  color: var(--white);
  text-decoration: none;
}

.quick-links a:hover,
.legal a:hover {
  text-decoration: underline;
}

.copyright {
  text-align: center;
}

.copyright span {
  color: var(--white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .newsletter input[type="email"] {
    width: 100%; /* Full width for small screens */
    margin-right: 0; /* Remove margin */
    margin-bottom: 10px; /* Add margin at the bottom */
  }

  .footer-link {
    flex-direction: column; /* Stack footer items on small screens */
    align-items: center; /* Center align items */
  }

  .footer-about, .quick-links, .legal {
    flex: 1 0 100%; /* Full width for each section */
    text-align: center; /* Center text for better readability */
    margin-bottom: 20px; /* Margin between sections */
  }

  .social-links {
    justify-content: center; /* Center social links */
  }
}

@media (max-width: 480px) {
  .newsletter h3,
  .footer-about h3,
  .footer-contact h3,
  .social-links h3,
  .quick-links h3,
  .legal h3,
  .copyright p {
    font-size: 1.2rem; /* Reduce font size for very small screens */
  }
}
