/* === Base Styles === */
* {
    transition: all 0.3s ease;
}
/* Fade in effect */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-image: url('/images/background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}


/* === Message Bar === */
.message-bar {
    background-color: #1d8742;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 16px;
}

.message-bar a {
    color: white;
    text-decoration: none;
}

.message-bar a:hover {
    text-decoration: underline;
}

/* === Navbar === */
.navbar {
    background-color: #5c4033;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

/* === Hamburger Menu === */
.hamburger {
    font-size: 2rem;
    background-color: #eddfc8;
    color: #5c4033;           
    border: none;
    cursor: pointer;
    display: none;
    align-self: flex-end;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Logo and Brand */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo img {
    height: 80px;
    width: auto;
}

.brand-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    line-height: 0.8;
}

.brand-name .main-name {
    font-size: 40px;
    font-family: 'DM Serif Text', serif;
    margin: 0;
}

.brand-name .sub-name {
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    margin-top: 2px;
}

/* Navigation Menu */
.nav-menu {
    font-family: 'Merriweather', serif;
    font-weight: lighter;
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    padding: 10px 14px;
    display: block;
    font-size: 16px;
}

.nav-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

/* === Hero Section === */
.hero {
    position: relative;
    background-image: url('../images/hero.jpeg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 700px;
}

.hero-quote {
    font-family: 'Merriweather', serif;
    font-size: 34px;
    font-weight: bold;
    font-style: italic;
    margin-bottom: 25px;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 8px;
}

.hero-button {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    background-color: #1d8742;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 20px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.hero-button:hover {
    background-color: #0d3c1f;
}

/* === Main Content === */
.home-main {
    padding: 20px;
    width: auto;
    margin: 0 auto;
}

.welcome {
    font-size: 18px;
    margin: 20px 0 30px;
    text-align: left;
    padding: 0 10px;
}

.home-columns {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-top: 10px;
}

.info-column {
    flex: 1;
    background-color: #f9f5f0;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.info-column h4 {
    font-family: 'Merriweather', serif;
    font-size: 24px;
    margin-top: 0;
    color: #1d8742;
    text-align: center;
}

.info-column ul {
    padding-left: 20px;
    font-size: 18px;
}

.info-column li {
    margin-bottom: 10px;
}

.image-column {
    flex: 1.2;
    display: flex;
    align-items: center;
}

.image-column img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border: 4px solid #5c4033;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.view-more-button {
    display: block;
    margin-top: 20px;
    padding: 12px 20px;
    background-color: #1d8742;
    color: white;
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.view-more-button:hover {
    background-color: #0d3c1f;
}

/* === Before and After Slider === */
.section-title{
    font-family:'Merriweather', serif;
}

.slider-row {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.slider-column {
    flex: 1;
    min-width: 280px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    user-select: none;
    cursor: ew-resize;
    overflow: hidden;
}

.image-slider img {
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.image-slider .before,
.image-slider .after {
    position: absolute;
    top: 0;
    height: 100%;
}

.image-slider .before {
    left: 0;
    width: 50%;
    overflow: hidden;
    z-index: 2;
}

.image-slider .before img,
.image-slider .after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-slider .after {
    left: 0;
    width: 100%;
    z-index: 1;
}

.slider-title {
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* === Slider Handle Line === */
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: black;
    z-index: 3;
    left: 50%;
    transform: translateX(-50%);
    cursor: ew-resize;
    border-radius: 3px;
    touch-action: none;
}

.slider-handle::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: white;
    opacity: 0.8;
    pointer-events: none;
}

/* === Handle Circle with Arrow Symbol === */
.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background-color: black;
    color: white;
    border-radius: 50%;
    border: 3px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    z-index: 4;
    cursor: grab;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.slider-handle.dragging .handle-circle {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
    cursor: grabbing;
}

/* Label before and after common styles */
.label {
    position: absolute;
    top: 10px;
    padding: 4px 10px;
    font-weight: 450;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 4px;
    user-select: none;
    pointer-events: none;
    z-index: 5;
}

.before-label {
    left: 10px;
}

.after-label {
    right: 10px;
}

.more-projects-container {
    text-align: right;
    margin-top: 15px;
}

.more-projects-button {
    background-color: #1d8742;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.more-projects-button:hover {
    background-color: #0d3c1f;
}

/* === CTA === */
.cta-section {
    background-color: #1d8742;
    padding: 40px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,100 L100,0 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100% 100%;
    opacity: 0.3;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-heading {
    font-family: 'Merriweather', serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.cta-subheading {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.cta-heading, .cta-subheading {
    transition: color 0.3s ease, transform 0.3s ease;
}

.cta-heading:hover {
    transform: scale(1.02);
    color: #f8f1e5;
}

.cta-button {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    background-color: #f8f1e5;
    color: #1d8742;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 22px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background-color: #5c4033;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.cta-button:active {
    transform: translateY(1px);
}

.cta-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.cta-button:hover::after {
    left: 100%;
}

/* === Our Story === */
.story-title {
    font-family: 'Merriweather', serif;
    color: #1d8742;
    font-size: 32px;
}
.story {
    background-color: #ffffff;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    text-align: left;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.story h1 {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    color: #1d8742; 
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
}

.story p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #5a4033;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 900px;
}

/* === Team === */
.team h2{
    font-family:'Merriweather', serif;
    margin: 20px;
    font-size: 32px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem;
    text-align: center;
}

.team-pic {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.team-pic img {
    max-width: 80%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.team-caption {
    margin-top: 0.5rem;
    font-style: italic;
    text-align: left;
    color: #555;
}

/* === Services Cards == */
.services-page {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

.services-page h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.service-category {
  margin-bottom: 4rem;
}

.service-category h2 {
  font-size: 1.8rem;
  color: #5c4033;
  margin-bottom: 1.5rem;
  text-align: center;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 260px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 auto;
  width: 300px;
}

.service-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.service-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.2rem;
}

.service-card p {
  padding: 0 1rem;
  font-size: 0.95rem;
}

.quote-btn {
  margin: 1rem;
  background-color: #1d8742;
  color: white;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.quote-btn:hover {
  background-color: #166c35;
}

.carousel-container {
    overflow: hidden;
    position: relative;
    max-width: 1800px; 
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
  }  

  .carousel-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
  }    

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 1;
}

.carousel-btn.left {
    left: 0;
}

.carousel-btn.right {
    right: 0;
}

/* === Service Area === */
#service-area {
    padding: 40px;
    background-color: #f9f9f9;
    color: #1d8742;
}

.service-title{
    font-family: 'Merriweather', serif;
    font-weight: 800;
}
  
.service-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
  
#map {
    height: 400px;
    flex: 1 1 60%;
    min-width: 300px;
    border-radius: 8px;
    border: 1px solid #ccc;
}
  
.locations-list {
    flex: 1 1 35%;
    min-width: 250px;
}
  
.locations-list ul {
    list-style-type: none;
    padding-left: 5px;
}

.locations-list li[data-city] {
    cursor: pointer;
}
  
.locations-list li[data-city]:hover {
    text-decoration: underline;
}

/* === Gallery === */
.gallery-page {
    padding: 40px 20px;
}

.gallery-page h1 {
    text-align: center;
    font-family: 'DM Serif Text', serif;
    margin-bottom: 40px;
}

.gallery-page h2 {
    font-family: 'DM Serif Text', serif;
    font-size: 30px;
    margin: 10px;
    color: #5c4033;
    text-align: left;
    border-bottom: 2px solid #000000;
    padding-bottom: 2px;
    max-width: 165px;
}

.category {
    margin-bottom: 50px;
}

.category h2 {
    font-family: 'Merriweather', serif;
    font-size: 24px;
    margin-bottom: 20px;
    color: #1d8742;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    position: relative;
    width: 180px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'DM Serif Text', serif;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 8px;
}

.card p {
    margin-top: 10px;
    font-weight: 500;
}

.card:hover {
    transform: scale(1.05);
}
/* === Back button === */
.back-button {
    display: inline-block;
    margin: 20px;
    padding: 10px 20px;
    background-color: #1d8742;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}
  
.back-button:hover {
    background-color: #166c35;
}

/* === Gallery folder images === */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box; 
    max-width: 100vw; 
    overflow-x: hidden;
}

.image-gallery img {
    max-width: 250px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.image-gallery img:hover {
    transform: scale(1.03);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ccc;
}

/* === Contact Page === */
.contact-page {
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
}

.contact-page h1 {
    text-align: center;
    font-family: 'DM Serif Text', serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #5c4033;
}

/* Contact Info */
.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.contact-info p {
    font-size: 1.1rem;
    margin: 5px 0;
}

.contact-info a {
    color: #1d8742;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Email */
.email-wrapper {
    position: relative;
    width: 100%;
}

.email-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.email-suggestions div {
    padding: 10px 12px;
    cursor: pointer;
}

.email-suggestions div:hover {
    background-color: #f0f0f0;
}

/* Form Section */
.contact-form-section {
    max-width: 650px;
    margin: auto;
    background-color: #f9f5f0;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    margin-top: 20px;
}

.contact-form-section input,
.contact-form-section textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

.contact-form-section input:focus,
.contact-form-section textarea:focus {
    outline: none;
    border-color: #1d8742;
}

.contact-form-section button {
    display: block;
    width: 100%;
    margin-top: 30px;
    padding: 14px;
    background-color: #1d8742;
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form-section button:hover {
    background-color: #166c35;
}

/* === Footer === */
.site-footer {
    background-color: #5c4033;
    color: white;
    text-align: center;
    padding: 20px 10px;
    font-size: 14px;
}

/* === Responsive Design === */
@media (max-width: 900px) {
    .home-columns,
    .slider-row {
        flex-direction: column;
    }

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

    .nav-menu {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-quote {
        font-size: 28px;
    }

    .slider-title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .cta-section {
        padding: 50px 15px;
    }

    .cta-heading {
        font-size: 28px;
    }

    .cta-subheading {
        font-size: 22px;
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 20px;
    }

    .service-card {
        width: 30%;
    }
    .image-gallery {
        gap: 15px;
        padding: 15px;
    }

    .image-gallery img {
        max-width: 90%;
    }

    .modal-content {
        max-width: 95%;
        max-height: 70vh;
    }

    .close-btn {
        top: 20px;
        right: 25px;
        font-size: 32px;
    }

    .contact-form-section {
        max-width: 90%;
        padding: 30px 20px;
        box-shadow: none;
    }
    
    .contact-form-section label {
        margin-top: 15px;
    }
    
    .contact-form-section button {
        padding: 16px;
    }
}


@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .hamburger {
        display: block;
        align-self: flex-start;
        margin-bottom: 5px;
        z-index: 1000;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        background-color: #5c4033;
        width: 100%;
        padding: 1rem;
        box-sizing: border-box;
        position: static;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        color: #ffffff;
        font-size: 18px;
        padding: 12px;
        width: 100%;
        display: block;
        text-align: left;
        word-break: break-word;
    }    
    .brand-name .main-name {
        font-size: 38px; 
    }
    .hero {
        height: 300px;
    }

    .hero-quote {
        font-size: 22px;
    }

    .hero-button {
        padding: 10px 20px;
        font-size: 18px;
    }

    .slider-title {
        font-size: 14px;
    }

    .cta-section {
        padding: 40px 10px;
    }

    .cta-heading {
        font-size: 24px;
        line-height: 1.3;
    }

    .cta-subheading {
        font-size: 18px;
        line-height: 1.4;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 18px;
        width: 100%;
        max-width: 300px;
    }

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

    .service-card {
        width: 70%; 
    }

    .carousel-btn {
        padding: 0.4rem 0.7rem;
        font-size: 18px;
    }

    .service-card img {
        height: 130px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .quote-btn {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }

    .gallery-page {
        padding: 0 10px;
        text-align: center;
    }

    .gallery-page h2 {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .category h2 {
        font-size: 20px;
        margin-top: 30px;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        max-width: 90%;
    }

    .card p {
        font-size: 24px;
    }

    .image-gallery {
        flex-direction: column;
        align-items: center;
        padding: 0 10px; 
    }

    .image-gallery img {
        width: 100%;
        max-width: 95vw; 
    }

    .modal {
        overflow-x: hidden;
    }

    .modal-content {
        max-width: 95vw; 
        width: 100%;
        height: auto;
        display: block;
        margin: auto;
    }

    .close-btn {
        top: 15px;
        right: 20px;
        font-size: 28px;
    }

    .back-button {
        display: block;
        margin: 20px auto;
        text-align: center;
        padding: 12px 24px;
        font-size: 16px;
    }
    .contact-page {
        padding: 20px 15px;
      }
    
      .contact-page h1 {
        font-size: 2rem;
        margin-bottom: 20px;
      }
    
      .contact-info p {
        font-size: 1rem;
      }
    
      .contact-form-section {
        max-width: 100%;
        padding: 22px 35px 22px 22px;
        border-radius: 10px;
      }
    
      .contact-form-section label {
        margin-top: 12px;
        font-size: 0.95rem;
      }
    
      .contact-form-section input,
      .contact-form-section textarea {
        padding: 14px 12px;
        font-size: 1.05rem;
      }
    
      .contact-form-section button {
        padding: 18px;
        font-size: 1.1rem;
      }
}
