﻿/* ------------------------------
   CONTACT PAGE MAIN STYLING
--------------------------------*/
.contact {
    padding: 60px 0;
    background: #e6f0ef;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Center vertically */
}

.contact-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.contact-container {
    width: 1100px;
    background: #ffffff;
    border-radius: 22px;
    display: flex;
    overflow: hidden;
    margin: 10px auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    align-items: stretch; /* 👈 Fix both sides height equal */
}

/* Left Panel */
.left-panel {
    width: 40%;
    background: #ffffff;
    padding: 25px 20px;
}

    .left-panel h2 {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 25px;
    }

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-size: 15px;
    color: #333;
}

    .info-item i {
        font-size: 20px;
        margin-right: 12px;
        color: var(--brand-lime);
    }

.social-icons {
    margin-top: 25px;
}

    .social-icons i {
        font-size: 20px;
        margin-right: 10px;
        padding: 8px;
        background: var(--brand-lime);
        border-radius: 50%;
        color: white;
        cursor: pointer;
    }

/* Right Lime Gradient Panel */
.contact-form-box {
    width: 60%;
    background: linear-gradient( 135deg, rgba(120, 190, 32, 0.90) 0%, /* light green transparent */
    rgba(90, 140, 20, 0.90) 100% /* deeper green transparent */
    ); /* SOLID lime gradient */
    padding: 25px 20px;
    color: #fff;
}

    .contact-form-box h1 {
        margin-bottom: 12px;
        font-size: 22px;
        font-weight: 700;
    }

/* Form Fields */
.contact-form .form-group {
    margin-bottom: 12px;
}

.contact-form label {
    color: #fff;
    font-size: 15px;
    margin-bottom: 6px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 2px solid #fff;
    padding: 8px 12px;
    border-radius: 26px;
    outline: none;
    background: rgba(255,255,255,0.15); /* non-transparent */
    color: #fff;
    font-size: 15px;
    backdrop-filter: blur(3px);
}

    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
        color: rgba(255,255,255,0.85);
    }

textarea {
    height: 130px;
    border-radius: 20px;
}

/* Checkboxes */
.checkbox-list {
    width: 100%;
    border: 2px solid #fff;
    padding: 8px 12px;
    border-radius: 26px;
    outline: none;
    background: rgba(255,255,255,0.15); /* non-transparent */
    color: #fff;
    font-size: 15px;
    backdrop-filter: blur(3px);
}

.checkbox-item span {
    margin-left: 6px;
    color: white;
}

.checkbox-item input {
    width: 18px;
    height: 18px;
    accent-color: white;
}

/* Submit Button */
.submit-btn {
    width: 160px;
    padding: 14px;
    background: #ffffff;
    color: var(--brand-lime);
    border: none;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
}

    .submit-btn:hover {
        background: #f5f5f5;
        transform: translateY(-3px);
    }

/* Loader Overlay */
.loader-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    z-index: 9999;
}

.spinner {
    width: 55px;
    height: 55px;
    border: 6px solid #fff;
    border-top: 6px solid var(--brand-lime);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* RESPONSIVE DESIGN */
@media(max-width: 1100px) {
    .contact-container {
        width: 95%;
    }
}

@media(max-width: 900px) {
    .contact-container {
        flex-direction: column;
        width: 92%;
    }

    .left-panel,
    .contact-form-box {
        width: 100%;
        padding: 35px;
    }

    .contact {
        padding: 40px 0;
    }
}

@media(max-width: 600px) {
    .contact-form-box {
        padding: 30px;
    }

    .left-panel {
        padding: 30px;
    }

    .submit-btn {
        width: 100%;
    }
}

/*header footer*/
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

:root {
    --brand-lime: #78BE20;
    --brand-lime-hover: #72A642;
    --charcoal-black: #262626;
    --charcoal-dark: #1a1a1a;
    --charcoal-light: #383838;
    --pure-white: #FFFFFF;
    --amber-highlight: #FFC107;
    --text-gray: #383838;
    --text-light: #FFFFFF;
}

/* Products Section */
.products-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #262626;
    border-radius: 20px;
    max-width: 1280px;
    margin: 0 auto 60px;
    box-shadow: 0 6px 20px rgba(120, 190, 32, 0.1);
    justify-content: center;
}

.title-section {
    text-align: center;
    padding: 20px 20px;
    background-color: #262626;
    border-radius: 20px;
    max-width: 1280px;
    margin: 0 auto 60px;
    box-shadow: 0 6px 20px rgba(120, 190, 32, 0.1);
    justify-content: center;
}

.section-header {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 3px solid var(--brand-lime);
    padding-bottom: 8px;
    margin-bottom: 15px;
}

    .section-header img {
        width: 35px;
        height: 35px;
    }

.products-section p {
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.title-section p {
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* Product Cards Grid */
.product-cards {
    display: grid;
    /*    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
*/ gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

    .product-cards > .product-card:last-child {
        justify-self: center;
    }
/* Mobile – 1 per row */
@media (max-width: 600px) {
    .product-cards {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Tablet / iPad / Medium devices – 2 per row */
@media (min-width: 601px) and (max-width: 1199px) {
    .product-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screens – 4 per row */
@media (min-width: 1200px) {
    .product-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* Each Product Card */
.product-card {
    background: var(--pure-white);
    border: 2px solid #e6f2e6;
    border-top: 5px solid var(--brand-lime);
    border-radius: 15px;
    padding: 30px 25px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        border-top-color: #55b12e;
    }

    .product-card img {
        width: auto;
        height: 50px;
        margin-bottom: 15px;
    }

    .product-card h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
        color: var(--charcoal-black);
    }

    .product-card p {
        font-size: 0.9rem;
        color: black;
        line-height: 1.5;
        text-align: center;
    }

/* Responsive */
@media (max-width: 768px) {
    .products-section {
        padding: 60px 15px;
    }

    .title-section {
        padding: 60px 15px;
    }

    .section-header {
        font-size: 1.6rem;
    }
}

/* Body Content Sections */
.main-container,
.main-container2 {
    background-color: #daf5a1; /* soft lime shade */
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 40px;
    box-shadow: 0 6px 15px rgba(120, 190, 32, 0.1);
}

.box,
.service-card,
.option-card,
.feature-card {
    background-color: var(--pure-white);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(120, 190, 32, 0.12);
    padding: 30px;
    margin-bottom: 30px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

    .box h2,
    .service-card h4,
    .option-card h4,
    .feature-card h4 {
        color: var(--charcoal-black);
        margin-bottom: 15px;
    }

    .box p,
    .service-card p,
    .option-card p,
    .feature-card p {
        color: var(--text-light);
        font-size: 1rem;
    }

    .box:hover,
    .service-card:hover,
    .option-card:hover,
    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(120, 190, 32, 0.2);
    }

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

li {
    margin-bottom: 0rem;
}

/* Responsive for body content */
@media (max-width: 768px) {


    h1 {
        font-size: 2rem;
    }

    .main-container,
    .main-container2 {
        padding: 30px 20px;
    }
}
/* Typing effect styles - Fixed for mobile */
.typing-container {
    display: inline-block;
    position: relative;
    max-width: 100%;
}

.typing-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size */

    animation: blink-caret 1s step-end infinite;
}

/* Remove the separate cursor element styles */
.typing-cursor {
    display: none; /* Hide the separate cursor */
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent
    }

    50% {
        border-color: var(--brand-lime)
    }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .typing-text {
        white-space: normal;
        text-align: center;
        border-right: none; /* Remove cursor on mobile */
        animation: none; /* Remove blink animation on mobile */
    }

    .hero-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .typing-text {
        font-size: 1.8rem; /* Smaller font for very small screens */
    }
}

/* Ensure proper spacing on mobile */
.mobile-optimized-title {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 768px) {
    .mobile-optimized-title {
        min-height: 60px;
    }
}

.map-container {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

    .map-container iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }
