/* style/contact.css */

/* --- General Styling --- */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

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

.page-contact__section-title {
    font-size: 2.5em;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__card {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.page-contact__card-title {
    font-size: 1.5em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__card-text {
    color: #A7D9B8; /* Text Secondary */
    font-size: 1em;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact a[class*="button"],
.page-contact a[class*="btn"] {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    border: 2px solid transparent;
}

.page-contact__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-contact__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* A lighter green from the gradient, for contrast */
    border: 2px solid #2AD16F;
}

.page-contact__btn-secondary:hover {
    background-color: #2AD16F;
    color: #F2FFF6;
    box-shadow: 0 0 15px rgba(42, 209, 111, 0.5);
}

.page-contact a {
    color: #57E38D; /* Glow color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact a:hover {
    color: #F2C14E; /* Gold */
    text-decoration: underline;
}

/* --- Hero Section --- */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 60px;
    background-color: #0A4B2C; /* Deep Green for hero background */
    overflow: hidden;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    order: 1; /* Image first */
    margin-bottom: 30px;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-contact__hero-content {
    order: 2; /* Content second */
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-contact__main-title {
    font-weight: bold;
    color: #F2FFF6;
    margin-bottom: 20px;
    line-height: 1.2;
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive H1 font size */
}

.page-contact__hero-description {
    font-size: 1.2em;
    color: #A7D9B8;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* --- Contact Methods Section --- */
.page-contact__contact-methods {
    padding: 80px 0;
    background-color: #08160F; /* Background */
}

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

.page-contact__contact-info {
    color: #F2FFF6;
    font-weight: bold;
    margin-top: 10px;
}

.page-contact__social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.page-contact__social-icon img {
    
    
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.page-contact__social-icon img:hover {
    transform: scale(1.1);
}

/* --- When to Contact Section --- */
.page-contact__when-to-contact {
    padding: 80px 0;
    background-color: #11271B; /* Card BG, but used as section background for contrast */
}

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

/* --- Process Section --- */
.page-contact__process {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
}

.page-contact__process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    counter-reset: step-counter;
}

.page-contact__step-item {
    text-align: center;
    padding: 20px;
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    background-color: #11271B; /* Card BG */
}

.page-contact__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow */
}

.page-contact__step-title {
    font-size: 1.4em;
    color: #F2FFF6;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact__step-text {
    color: #A7D9B8;
}

/* --- FAQ Section --- */
.page-contact__faq-section {
    padding: 80px 0;
    background-color: #11271B; /* Card BG, used as section background */
}

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

.page-contact__faq-item {
    background-color: #08160F; /* Background */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-contact__faq-item summary {
    list-style: none; /* Hide default marker */
}
.page-contact__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2FFF6;
    background-color: #0A4B2C; /* Deep Green */
    transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
    background-color: #13994A; /* Darker green from button gradient */
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #57E38D; /* Glow */
}

.page-contact__faq-item[open] .page-contact__faq-question .page-contact__faq-toggle {
    content: "−";
}

.page-contact__faq-answer {
    padding: 20px 25px;
    color: #A7D9B8;
    background-color: #11271B; /* Card BG */
    font-size: 1em;
}

/* --- Why Choose Section --- */
.page-contact__why-choose {
    padding: 80px 0;
    background-color: #08160F; /* Background */
}

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

/* --- CTA Section --- */
.page-contact__cta-section {
    padding: 80px 0;
    background-color: #11271B; /* Card BG, used as section background */
}

.page-contact__cta-content {
    text-align: center;
}

.page-contact__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-contact__section-title {
        font-size: 2em;
    }
}

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

    .page-contact__container {
        padding: 0 15px !important; /* Ensure override */
    }

    .page-contact__hero-section {
        padding-bottom: 40px;
    }

    .page-contact__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em) !important;
    }

    .page-contact__hero-description {
        font-size: 1em;
    }

    .page-contact__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact a[class*="button"],
    .page-contact a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-contact__cta-buttons,
    .page-contact__button-group,
    .page-contact__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Ensure vertical stacking for multiple buttons */
    }

    /* Image responsive rules */
    .page-contact img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-contact__hero-image-wrapper,
    .page-contact__social-icon,
    .page-contact__section,
    .page-contact__card,
    .page-contact__methods-grid,
    .page-contact__reasons-grid,
    .page-contact__process-steps,
    .page-contact__faq-list,
    .page-contact__advantages-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        /* Add padding to containers to prevent content touching edges */
        padding-left: 15px !important; 
        padding-right: 15px !important;
    }
    /* Specific overrides for elements that already have padding */
    .page-contact__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-contact__faq-question, .page-contact__faq-answer {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Video (if any) responsive rules - not present in this page, but for completeness */
    .page-contact video,
    .page-contact__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-contact__video-section,
    .page-contact__video-container,
    .page-contact__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }
    .page-contact__video-section {
        padding-top: 10px !important;
    }
}