/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Georgia, serif;
    background-color: white;
    color: #333;
    padding-top: 100px;
      /* Added space for sticky navbar */
}

/* Social Media Bar */
.social-media-bar {

    background-color: #297045; /* Green background */
    padding: 10px ;
    display: flex;
    gap: 10px;  /* Space between the icons */
    position: relative; /* Add this */
    z-index: 1001; /* High z-index to be on top */
}

.social-media-bar a {
    color: white; /* White icons */
    text-decoration: none;
    margin: 0 5px;
    font-size: 18px; /* Adjust size for better visibility */
    transition: color 0.3s;
}

.social-media-bar a:hover {
    color: #f2e422; /* Yellow color on hover */
}


/* Header */
.header {
    background-color: #f2cb05;
    color: #297045;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: Georgia, serif;
}


.navbar-container {
    position: sticky;
    top: 0;
    background-color: #E6F2EB;  /* Set background to white */
    z-index: 1000;
    box-shadow: 0 4px 2px -2px gray;  /* Optional: Add shadow for separation */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;  /* Enlarged padding for the navbar */
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 10px 15px;
    }
}
.header-logo {
    height: 50px;  /* Adjust this value for appropriate logo size */
    width: auto;
}

@media (max-width: 768px) {
    .header-logo {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .header-logo {
        height: 30px;
    }
}
.navbar ul {
    list-style: none;
    display: flex;
}
.navbar ul li {
    margin: 0 15px;
}

@media (max-width: 768px) {
    .navbar ul {
        flex-wrap: wrap;
        gap: 10px;
    }
    .navbar ul li {
        margin: 5px 10px;
    }
}

@media (max-width: 480px) {
    .navbar ul {
        flex-direction: column;
        gap: 5px;
    }
    .navbar ul li {
        margin: 3px 0;
    }
}
.navbar a {
    position: relative;
    text-decoration: none;
    color: #297045;
    font-size: 22px;
    font-weight: bold;
    transition: color 0.3s;
    display: inline-block; /* Ensures only as wide as the text */
}

@media (max-width: 768px) {
    .navbar a {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .navbar a {
        font-size: 16px;
    }
}

.navbar a:hover {
    color: #f2e422;
}

/* Line on hover - width matches the nav link text */
.navbar a::before {
    content: "";
    position: absolute;
    top: -33px; /* Adjust to place it above the header */
    left: 0;
    width: 100%; /* 100% of the link's width */
    height: 4px;
    background-color: #f2e422;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: scaleX(0);
    transform-origin: left;
}

.navbar a:hover::before {
    opacity: 1;
    transform: scaleX(1);
}


.navbar a.active_products,
.navbar a.active_contact
 {
    font-weight: bold;
    color: #297045; /* Optional: make it yellow or any color you like */
}

.navbar a.active_products:hover,
.navbar a.active_contact:hover {
    color: #f2e422; /* override green with yellow on hover */
}


/*Homepage styling*/
.hero-slider {
  position: relative;
  height: 82vh;
  overflow: hidden;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 50vh;
    }
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-slider .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
  
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  top: 50%;
  transform: translateY(-50%);
  padding: 20px;
}


.hero-content h1 {
  font-size: 25px;
  font-weight: 800;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-family: Georgia, serif;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 18px;
        margin-bottom: 15px;
    }
}

.hero-content .subheading {
  font-size: 75px;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-family: Georgia, serif;
}

@media (max-width: 768px) {
    .hero-content .subheading {
        font-size: 50px;
        margin-top: 8px;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .hero-content .subheading {
        font-size: 32px;
        margin-top: 5px;
        margin-bottom: 3px;
    }
}

.hero-content .tagline {
  font-size: 20px;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 20px;
  font-family: Georgia, serif;
}

@media (max-width: 768px) {
    .hero-content .tagline {
        font-size: 16px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content .tagline {
        font-size: 14px;
        margin-top: 10px;
    }
}


.learn-more-btn {
  background-color: #f2e422;
  color: #000;
  text-decoration: none;
  padding: 12px 20px;
  font-weight: bold;
  border-radius: 5px;
  font-family: Georgia, serif;
  transition: background-color 0.3s ease;
  margin-top: 50px; 
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

@media (max-width: 768px) {
    .learn-more-btn {
        padding: 10px 15px;
        margin-top: 35px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .learn-more-btn {
        padding: 8px 12px;
        margin-top: 25px;
        font-size: 12px;
    }
}

.learn-more-btn:hover {
  background-color: #297045;
}

.safety-info {
  background-color: rgb(37, 37, 37);
  padding: 80px 20px;
  text-align: center;
}

@media (max-width: 768px) {
    .safety-info {
        padding: 60px 15px;
    }
}

@media (max-width: 480px) {
    .safety-info {
        padding: 40px 15px;
    }
}

.safety-info .container {
  max-width: 1000px;
  margin: 0 auto;
}

.safety-info h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #f2e422;
  font-family: 'Georgia', serif;
}

@media (max-width: 768px) {
    .safety-info h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .safety-info h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
}

.safety-info p {
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #ffffff;
  font-family: 'Georgia', serif;
}

@media (max-width: 768px) {
    .safety-info p {
        font-size: 16px;
        letter-spacing: 0.5px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .safety-info p {
        font-size: 14px;
        letter-spacing: 0px;
        margin-bottom: 10px;
    }
}

.trusted-partners {
  background-color: #ffffff;
  padding: 60px 20px;
  padding-top: 20px;
  text-align: center;
}

@media (max-width: 768px) {
    .trusted-partners {
        padding: 40px 15px;
        padding-top: 15px;
    }
}

@media (max-width: 480px) {
    .trusted-partners {
        padding: 30px 10px;
        padding-top: 10px;
    }
}

.trusted-partners h2 {
  font-size: 32px;
  margin-bottom: 50px;
  color: #222;
  font-family: Georgia, serif;
  text-transform: uppercase;
}

@media (max-width: 768px) {
    .trusted-partners h2 {
        font-size: 26px;
        margin-bottom: 35px;
    }
}

@media (max-width: 480px) {
    .trusted-partners h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }
}

/* Logo slider container */
.logo-slider-horizontal {
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Scrolling track */
.logo-track {
  display: flex;
  width: calc(250px * 10); /* Adjust width based on number of logos */
  animation: scroll-horizontal 30s linear infinite;
}

/* Logo styling */
.logo-track img {
  height: 80px; /* adjust height */
  margin: 0 30px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

@media (max-width: 768px) {
    .logo-track img {
        height: 60px;
        margin: 0 20px;
    }
}

@media (max-width: 480px) {
    .logo-track img {
        height: 40px;
        margin: 0 15px;
    }
}

.logo-track img:hover {
  filter: grayscale(0%);
}

/* Keyframe animation */
@keyframes scroll-horizontal {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}







/* Footer Styling */
.footer {
    background-color: #E6F2EB; 
    color: white;
    padding: 1px 0;
    text-align: center;
    font-family: Georgia, serif;
    height: 65px;
}

.footer-top {
    margin-bottom: 20px;
}

.footer-logo {
    width: 200px;  /* Adjust logo size as necessary */
    height: 30px;
    margin-bottom: 10px;
    margin-top: 10px;
}



.company-info {
    font-size: 18px;
    font-family: Georgia, serif;
    color: black;
    font-weight: bold;
}

.company-info a {
    color: inherit;           /* Use same color as parent */
    text-decoration: none;    /* Remove underline */
}

/* Separate Green Bottom Section */
.footer-bottom {
    background-color: #297045;  /* Green background for the bottom part */
    padding: 10px 0;
    margin-top: 20px;  /* Ensures separation between gray and green */
    display: flex;
    justify-content: space-between; /* Distribute space between left and right */
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

@media (max-width: 768px) {
    .footer-bottom {
        padding: 8px 0;
        margin-top: 15px;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .footer-bottom {
        flex-direction: column;
        padding: 6px 0;
        margin-top: 10px;
        gap: 8px;
    }
}



.footer-bottom p {
    font-size: 14px;
    margin: 10px;
}

@media (max-width: 768px) {
    .footer-bottom p {
        font-size: 12px;
        margin: 5px;
    }
}

@media (max-width: 480px) {
    .footer-bottom p {
        font-size: 11px;
        margin: 3px;
        text-align: center;
    }
}



.social-footer a {
    color: white;
    margin: 0 5px;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-footer a:hover {
    color: #f2e422;  /* Hover effect color */
}



/* Responsive Design */
@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
    }
    .navbar ul li {
        margin: 10px 0;
    }
}

/* Product Categories Grid */
.product-categories {
    padding: 50px;
    text-align: center;
    background-color: #f9f9f9;
    font-family: Georgia, serif;
}

@media (max-width: 768px) {
    .product-categories {
        padding: 35px 20px;
    }
}

@media (max-width: 480px) {
    .product-categories {
        padding: 20px 15px;
    }
}

.product-categories h2 {
    font-size: 32px;
    color: #297045;
    margin-bottom: 30px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .product-categories h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .product-categories h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }
}

.category-grid {
    display: grid; /* change from flex to grid */
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    /*display: flex;
    flex-wrap: wrap;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));*/
    gap: 40px;  
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center; 
}

@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    
    width: 100%;
    max-width: 300px;
    height: auto;
    box-sizing: border-box;

    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

@media (max-width: 768px) {
    .category-card {
        max-width: 100%;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .category-card {
        max-width: 100%;
        padding: 12px;
    }
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.category-card img {
    width: 150px;
    height: 150px;
    object-fit:fill;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .category-card img {
        width: 120px;
        height: 120px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .category-card img {
        width: 100px;
        height: 100px;
        margin-bottom: 8px;
    }
}

.category-card h3 {
    font-size: 20px;
    color: #297045;
    font-weight: 600;
}

@media (max-width: 768px) {
    .category-card h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .category-card h3 {
        font-size: 16px;
    }
}

.category-card a {
  text-decoration: none;
  color: inherit; /* Optional: ensures link takes the text color from parent */
}


.banner-header {
  position: relative;
  height: 350px; /* Adjust height as needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
    .banner-header {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .banner-header {
        height: 200px;
    }
}

.banner-header-contact {
  position: relative;
  height: 350px; /* Adjust height as needed */
  background-size: cover;
  background-position: 100% 20%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
    .banner-header-contact {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .banner-header-contact {
        height: 200px;
    }
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  color: #fff;
  text-align: center;
  padding: 20px;
  font-family: Georgia, serif;
}

.breadcrumbs {
  font-size: 20px;
  margin-bottom: 10px;
  font-family: Georgia, serif;
  font-weight: bold;
}

@media (max-width: 768px) {
    .breadcrumbs {
        font-size: 16px;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .breadcrumbs {
        font-size: 14px;
        margin-bottom: 6px;
    }
}

.breadcrumbs a {
  color: #f2e422;
  text-decoration: none;
  margin: 0 10px; /* Adds space around each link */
}


.banner-title {
  font-size: 60px;
  font-weight: bold;
  letter-spacing: 2px;
  padding-top: 10px;
  justify-content: center;
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 40px;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 28px;
        letter-spacing: 0.5px;
    }
}

/*pagination products*/
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 6px;
}

.pagination button {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.1); /* light transparent border */
  padding: 6px 10px;
  cursor: pointer;
  font-size: 16px;
  transition: border-color 0.2s, color 0.2s;
  color: #555;
}

.pagination button.active {
  background: #297045;
  color: #fff;
  font-weight: bold;
}

.pagination button:hover {
  /*background: #f2e422;*/
  border-color: #f2e422; /* blue border on hover */
  
}


#pagination .nav-btn {
  border: none !important;
  font-weight: 500;
}

#pagination .nav-btn:hover {
  color: #f2e422;
}



body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(120deg, #f5f7fa, #c3cfe2);
}

.product-container {
  max-width: 1100px;
  margin: 60px auto;
  display: flex;
  gap: 40px;
  padding: 20px;
  align-items: flex-start;
  flex-wrap: nowrap;
  justify-content: center;
}

@media (max-width: 1024px) {
    .product-container {
        flex-wrap: wrap;
        gap: 30px;
        margin: 40px auto;
    }
}

@media (max-width: 768px) {
    .product-container {
        flex-wrap: wrap;
        gap: 20px;
        margin: 30px auto;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .product-container {
        flex-wrap: wrap;
        gap: 15px;
        margin: 20px auto;
        padding: 10px;
    }
}

/* Image Slider */
.image-slider-wrapper {
  flex: 1 1 480px;
  position: relative;
}

@media (max-width: 1024px) {
    .image-slider-wrapper {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .image-slider-wrapper {
        flex: 1 1 100%;
    }
}

.image-slider {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

.image-slider img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.fade-out {
  opacity: 0.2;
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  color: #297045;
  font-size: 30px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;
}

.slider-btn:hover {
  background-color: #f2e422;
  color: #fff;
  box-shadow: 0 0 12px rgba(30, 136, 229, 0.7);
  transform: scale(1.1) translateY(-50%);
}

.slider-btn.left {
  left: 1px;
}

.slider-btn.right {
  right: 1px;
}

/* Product Details */
.product-details {
  flex: 1 1 750px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

@media (max-width: 1024px) {
    .product-details {
        flex: 1 1 100%;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .product-details {
        flex: 1 1 100%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .product-details {
        padding: 15px;
    }
}

.product-details:hover {
  transform: translateY(-3px);
}

.product-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
  font-family: Georgia, serif;
}

@media (max-width: 768px) {
    .product-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
}

.product-description {
  font-size: 20px;
  margin-bottom: 25px;
  color: #444;
  line-height: 1.7;
  font-family: Georgia, serif;
}

@media (max-width: 768px) {
    .product-description {
        font-size: 18px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .product-description {
        font-size: 16px;
        margin-bottom: 15px;
    }
}

.product-specs {
  font-family: "Georgia", serif;  /* Word-like font */
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

/* Top-level list */
.product-specs > ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 12px 0;
}

/* Top-level list items */
.product-specs > ul > li {
  margin-bottom: 6px;
  
}

/* Nested sub-lists */
.product-specs ul ul {
  list-style: disc;      /* bullets for nested items */
  margin: 5px 0 10px 20px; /* indent sub-items */
  padding-left: 15px;
  font-size: 15px;       /* slightly smaller for sub-items */
}

/* Sub-list items */
.product-specs ul ul li {
  margin-bottom: 4px;
}

/* Bold headings (like Antiseptics, Medications, etc.) */
.product-specs b {
  font-weight: 600;
  color: #222;
}






/*about us css*/
/* ABOUT SECTION */
.about-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

@media (max-width: 768px) {
    .about-section {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 25px 10px;
    }
}

.about-container {
  display: flex;
  flex-direction: row;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  align-items: center;
  flex-wrap: wrap;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.about-text {
  flex: 1;
  font-family: Georgia, serif;

}

.about-text h2 {
  font-size: 35px;
  margin-bottom: 20px;
  font-family: Georgia, serif;
}

@media (max-width: 768px) {
    .about-text h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .about-text h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: justify;
}

@media (max-width: 768px) {
    .about-text p {
        font-size: 15px;
        margin-bottom: 12px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .about-text p {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

/* VISION MISSION */
.vision-mission-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

@media (max-width: 768px) {
    .vision-mission-section {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .vision-mission-section {
        padding: 25px 10px;
    }
}

.vision-mission-container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.vision-mission-container h2 {
  font-size: 35px;
  font-family: Georgia, serif;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
    .vision-mission-container h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .vision-mission-container h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }
}



.vm-item {
  flex: 1 1 300px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  background-color: #fafafa;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

@media (max-width: 768px) {
    .vm-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .vm-item {
        flex: 1 1 100%;
        padding: 12px;
    }
}

.vm-item p {
  font-size: 20px;
  font-family: Georgia, serif;
  line-height: 1.6;
  
}

@media (max-width: 768px) {
    .vm-item p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .vm-item p {
        font-size: 16px;
    }
}

/* FADE-IN ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/*contact css*/
/* Contact Section Styling */
.contact-info-card,
.contact-form-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1; /* Allow cards to grow and shrink */
    min-width: 300px; /* Minimum width before wrapping */
    max-width: 500px; /* Max width for consistency */
}

@media (max-width: 768px) {
    .contact-info-card,
    .contact-form-card {
        padding: 20px;
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-info-card,
    .contact-form-card {
        padding: 15px;
        min-width: 100%;
    }
}

.contact-section-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

@media (max-width: 768px) {
    .contact-section-wrapper {
        gap: 30px;
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .contact-section-wrapper {
        gap: 20px;
        padding: 20px 10px;
    }
}

.left-column {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  padding-left: 5px;
  gap: 20px;
}


.contact-form-card {
  flex: 1 1 48%;
}

.contact-info-card h2,
.contact-form-card h2 {
    font-size: 28px;
    color: #333; /* Dark gray for headings */
    margin-bottom: 25px;
    font-weight: 700;
    font-family: Georgia, serif;
}

@media (max-width: 768px) {
    .contact-info-card h2,
    .contact-form-card h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .contact-info-card h2,
    .contact-form-card h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
}

.contact-info-card .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #555;
    font-size: 18px;
}

@media (max-width: 768px) {
    .contact-info-card .info-item {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .contact-info-card .info-item {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

.contact-info-card .info-item i {
    color: #297045; /* Green color for icons */
    font-size: 22px;
    margin-right: 15px;
    width: 25px; /* Fixed width for icon to align text */
    text-align: center;
    
}

.contact-info-card .info-item p {
    margin: 0;
    line-height: 1.5;
    font-family: Georgia, serif;
    font-size: 20px;
    
}

@media (max-width: 768px) {
    .contact-info-card .info-item p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .contact-info-card .info-item p {
        font-size: 16px;
    }
}

.contact-info-card .info-item a {
    text-decoration: none;
    color: inherit; /* Optional: makes the link use the same color as surrounding text */
}




/* Contact Form Styling */
.contact-form-card .form-group {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .contact-form-card .form-group {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .contact-form-card .form-group {
        margin-bottom: 12px;
    }
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: Georgia, serif;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .contact-form-card input[type="text"],
    .contact-form-card input[type="email"],
    .contact-form-card input[type="tel"],
    .contact-form-card textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: #888;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    border-color: #297045; /* Green border on focus */
    outline: none;
    box-shadow: 0 0 0 3px rgba(41, 112, 69, 0.2); /* Light green shadow on focus */
}

.contact-form-card textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 100px;
}

.send-message-button {
    background-color: #297045; /* Blue button color from your image */
    color: white;
    padding: 14px 25px;
    border: none;
    border-radius: 5px;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    width: auto; /* Button fits content */
    display: block; /* Takes full width of its container */
    margin-top: 25px; /* Space above button */
}

@media (max-width: 768px) {
    .send-message-button {
        padding: 12px 20px;
        font-size: 16px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .send-message-button {
        width: 100%;
        padding: 10px 15px;
        font-size: 14px;
        margin-top: 15px;
    }
}

.send-message-button:hover {
    background-color: #f2e422; /* Darker blue on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column; /* Stack cards vertically */
        align-items: center; /* Center cards in the column */
        padding: 30px 15px;
    }

    .contact-info-card,
    .contact-form-card {
        max-width: 100%; /* Take full width on small screens */
        margin-bottom: 20px; /* Add space between stacked cards */
    }

    .contact-info-card:last-child,
    .contact-form-card:last-child {
        margin-bottom: 0; /* No margin on the last stacked card */
    }

    .contact-info-card h2,
    .contact-form-card h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .contact-info-card .info-item {
        font-size: 16px;
    }

    .contact-info-card .info-item i {
        font-size: 20px;
    }

    .send-message-button {
        width: 100%; /* Make button full width on small screens */
    }
}