.page-contact {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light body background */
    background-color: #ffffff; /* Default body background is white */
    line-height: 1.6;
}

.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    text-align: center;
    padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
    margin-bottom: 40px;
    background-color: #f8f8f8;
}

.page-contact__hero-image {
    width: 100%;
    max-height: 600px; /* Limiting hero image height */
    overflow: hidden;
    margin-bottom: 20px;
}

.page-contact__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-contact__hero-content {
    padding: 0 20px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.page-contact__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
    color: #017439;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-contact__description {
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 30px;
}

.page-contact__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-contact__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-contact__btn-primary:hover {
    background-color: #005f2c;
    border-color: #005f2c;
}

.page-contact__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-contact__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2c;
    border-color: #005f2c;
}

/* Section Titles & Intros */
.page-contact__section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: #017439;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-contact__section-intro {
    font-size: 1.1rem;
    color: #555555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Contact Methods Section */
.page-contact__contact-methods {
    padding: 60px 0;
}

.page-contact__dark-section {
    background-color: #017439; /* Brand main color */
    color: #ffffff;
}
.page-contact__dark-section .page-contact__section-title {
    color: #ffffff; /* White title on dark background */
}
.page-contact__dark-section .page-contact__section-intro {
    color: #f0f0f0; /* Light grey intro on dark background */
}

.page-contact__methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__method-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Dark text on light card */
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-contact__method-card img {
    
    
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.page-contact__method-title {
    font-size: 1.5rem;
    color: #017439;
    margin-bottom: 15px;
}

.page-contact__method-description {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 20px;
}

.page-contact__email,
.page-contact__phone {
    font-size: 1.1rem;
    font-weight: bold;
    color: #017439;
    margin-bottom: 20px;
}

/* Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-contact__form-group {
    margin-bottom: 20px;
}

.page-contact__form-label {
    display: block;
    font-size: 1rem;
    color: #333333;
    margin-bottom: 8px;
    font-weight: 600;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1rem;
    color: #333333;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #017439;
    outline: none;
}

.page-contact__form-textarea {
    resize: vertical;
}

/* Why Us Section */
.page-contact__why-us {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-contact__why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__reason-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-contact__reason-card img {
    
    
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.page-contact__reason-title {
    font-size: 1.3rem;
    color: #017439;
    margin-bottom: 10px;
}

.page-contact__reason-description {
    font-size: 0.95rem;
    color: #555555;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
}

.page-contact__faq-list {
    max-width: 900px;
    margin: 40px auto 30px;
}

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  color: #333333;
}
details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-contact__faq-item summary.page-contact__faq-question::-webkit-details-marker {
  display: none;
}
details.page-contact__faq-item summary.page-contact__faq-question:hover {
  background: #f5f5f5;
}
.page-contact__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}
.page-contact__faq-answer p {
    margin-top: 0;
    margin-bottom: 10px;
}
.page-contact__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-contact__cta-faq {
    text-align: center;
    margin-top: 30px;
}

/* CTA Section */
.page-contact__cta-section {
    padding: 60px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.page-contact__cta-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__container {
        padding: 15px;
    }

    .page-contact__hero-image img {
        max-height: 500px;
    }
}

@media (max-width: 849px) { /* Specific breakpoint for hero image object-fit */
    .page-contact__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        max-height: 400px; /* Adjust max-height for contain */
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-contact__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-contact__hero-section {
        padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
        margin-bottom: 30px;
    }
    
    .page-contact__hero-image {
        max-height: 300px; /* Further reduce hero image height on mobile */
    }

    .page-contact__hero-content {
        padding: 0 15px 30px;
    }

    .page-contact__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-contact__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Section Titles & Intros */
    .page-contact__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 15px;
    }

    .page-contact__section-intro {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    /* Contact Methods Section */
    .page-contact__contact-methods {
        padding: 40px 0;
    }

    .page-contact__methods-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    .page-contact__method-card {
        padding: 25px;
    }

    .page-contact__method-card img {
        
        
    }

    .page-contact__method-title {
        font-size: 1.3rem;
    }

    /* Form Section */
    .page-contact__form-section {
        padding: 40px 0;
    }

    .page-contact__contact-form {
        padding: 30px;
    }

    .page-contact__form-label {
        font-size: 0.95rem;
    }

    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    /* Why Us Section */
    .page-contact__why-us {
        padding: 40px 0;
    }

    .page-contact__why-us-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    .page-contact__reason-card img {
        
        
    }

    .page-contact__reason-title {
        font-size: 1.2rem;
    }

    /* FAQ Section */
    .page-contact__faq-section {
        padding: 40px 0;
    }

    .page-contact__faq-list {
        margin: 30px auto 20px;
    }

    details.page-contact__faq-item summary.page-contact__faq-question { padding: 15px; }
    .page-contact__faq-qtext { font-size: 15px; }
    details.page-contact__faq-item .page-contact__faq-answer { padding: 0 15px 15px; }

    .page-contact__cta-section {
        padding: 40px 0;
    }

    /* General image responsive rules */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__section,
    .page-contact__card,
    .page-contact__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__products-section {
        overflow-x: hidden;
    }
}