:root {
    --primary: #A2B518;
    --accent: #C9A96E;
    --dark: #1F383D;
    --text: #1F2937;
    --text-light: #6B7280;
    --border: #E5E7EB;
    --bg-warm: #F9FAFB;
    --white: #FFFFFF;
    --primary-hover: #7A8C0E;
    --primary-color: #A2B518;
    --primary-hover-color: #7A8C0E;
    --primary-color-rgb: 162, 181, 24;
    --transition: 0.3s ease;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
    --radius: 12px;
}
/* ============================================
   Hero Banner
   ============================================ */
.contact-hero {
    position: relative;
    width: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, #0A2A30 50%, #0F292E 100%);
    overflow: hidden;
}
.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A96E' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}
.contact-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 1.5rem;
}
.contact-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.contact-hero-title {
    font-family: 'Lora', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}
.contact-hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
/* ============================================
   Main
   ============================================ */
.contact-page-main {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* ============================================
   Info Cards Section
   ============================================ */
.info-cards-section {
    width: 100%;
    background: var(--bg-warm);
    padding: 4rem 1.5rem;
}
.info-cards-inner {
    max-width: 1140px;
    margin: 0 auto;
}
.info-cards-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.info-cards-grid li {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.info-cards-grid li:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.info-cards-grid li i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    flex-shrink: 0;
}
.info-cards-grid li:has(i.fa-envelope) i {
    background: var(--primary);
}
.info-cards-grid li:has(i.fa-phone) i {
    background: var(--accent);
}
.info-cards-grid li:has(i.fa-map-marker-alt) i {
    background: var(--dark);
}
.info-cards-grid li::before {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.5px;
}
.info-cards-grid li:has(i.fa-envelope)::before {
    content: "Email";
}
.info-cards-grid li:has(i.fa-phone)::before {
    content: "Phone";
}
.info-cards-grid li:has(i.fa-map-marker-alt)::before {
    content: "Address";
}
.info-cards-grid li a {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition);
    line-height: 1.6;
    word-break: break-word;
}
.info-cards-grid li a:hover {
    color: var(--primary);
}
.info-cards-grid li:has(.fa-spinner) {
    color: var(--text-light);
    font-size: 0.92rem;
    font-family: 'Inter', sans-serif;
    grid-column: 1 / -1;
}
/* ============================================
   Form Section
   ============================================ */
.form-section {
    width: 100%;
    background: var(--white);
    padding: 4rem 1.5rem;
}
.form-section-inner {
    max-width: 800px;
    margin: 0 auto;
}
.form-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 3rem 3rem 2.5rem;
    border: 1px solid var(--border);
}
.form-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.form-heading {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 0.5rem 0;
}
.form-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--text-light);
    margin: 0;
}
.interest-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.interest-options .option {
    background: transparent;
    color: var(--text-light);
    padding: 0.45rem 1.2rem;
    border-radius: 24px;
    font-size: 0.78rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: default;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.interest-options .option.selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-row .form-group {
    margin-bottom: 0;
}
.form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text);
}
.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    box-sizing: border-box;
}
.form-control::placeholder {
    color: #9CA3AF;
}
.form-control:hover {
    border-color: #D1D5DB;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(162, 181, 24, 0.12);
}
textarea.form-control {
    min-height: 130px;
    resize: vertical;
    line-height: 1.6;
}
.g-recaptcha {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}
.form-submit-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
.btn-submit-form {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background var(--transition), transform 0.2s ease, box-shadow var(--transition);
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}
.btn-submit-form i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}
.btn-submit-form:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(162, 181, 24, 0.3);
}
.btn-submit-form:hover i {
    transform: translateX(4px);
}
.btn-submit-form:active {
    transform: translateY(0);
}
.form-secondary-buttons {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}
.btn-secondary-action {
    flex: 1;
    padding: 0.7rem 1rem;
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-secondary-action:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(201, 169, 110, 0.05);
}
/* ============================================
   Map Section
   ============================================ */
.map-section {
    width: 100%;
    background: var(--bg-warm);
    padding: 0;
}
.map-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}
.map-hidden-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.map-embed {
    position: relative;
    overflow: hidden;
    padding-top: 45%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.map-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* ============================================
   Social Section
   ============================================ */
.social-section {
    width: 100%;
    background: var(--white);
    padding: 3rem 1.5rem 4rem;
}
.social-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.social-heading {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 1.25rem 0;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-warm);
    border: 1px solid var(--border);
    color: var(--text-light);
    font-size: 1rem;
    transition: all var(--transition);
    text-decoration: none;
}
.social-icons a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 169, 110, 0.2);
}
/* ============================================
   Rate Limit Message (dynamic)
   ============================================ */
#rate-limit-message {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #DC2626;
}
/* ============================================
   Responsive — Tablet (max: 992px)
   ============================================ */
@media (max-width: 992px) {
    .contact-hero {
        min-height: 260px;
    }
    .contact-hero-title {
        font-size: 2.4rem;
    }
    .info-cards-section {
        padding: 3rem 1.25rem;
    }
    .info-cards-grid {
        gap: 1.25rem;
    }
    .info-cards-grid li {
        padding: 2rem 1.25rem;
    }
    .form-section {
        padding: 3rem 1.25rem;
    }
    .form-card {
        padding: 2.5rem 2rem 2rem;
    }
    .form-heading {
        font-size: 1.6rem;
    }
    .map-wrapper {
        padding: 2.5rem 1.25rem;
    }
    .map-embed {
        padding-top: 50%;
    }
}
/* ============================================
   Responsive — Mobile (max: 768px)
   ============================================ */
@media (max-width: 768px) {
    .contact-hero {
        min-height: 220px;
    }
    .contact-hero-content {
        padding: 3rem 1.25rem;
    }
    .contact-hero-title {
        font-size: 2rem;
    }
    .contact-hero-tagline {
        font-size: 0.95rem;
    }
    .info-cards-section {
        padding: 2.5rem 1rem;
    }
    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .info-cards-grid li {
        padding: 1.75rem 1.25rem;
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }
    .info-cards-grid li::before {
        display: none;
    }
    .info-cards-grid li i {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    .form-section {
        padding: 2.5rem 1rem;
    }
    .form-card {
        padding: 2rem 1.25rem 1.5rem;
        border-radius: 8px;
    }
    .form-heading {
        font-size: 1.4rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-row .form-group {
        margin-bottom: 1.25rem;
    }
    .form-secondary-buttons {
        flex-direction: column;
    }
    .map-wrapper {
        padding: 2rem 1rem;
    }
    .map-embed {
        padding-top: 60%;
        border-radius: 8px;
    }
    .social-section {
        padding: 2.5rem 1rem 3rem;
    }
    .social-heading {
        font-size: 1.1rem;
    }
}
@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 1.7rem;
    }
    .contact-hero-subtitle {
        font-size: 0.72rem;
        letter-spacing: 2px;
    }
    .info-cards-grid li {
        padding: 1.25rem 1rem;
    }
    .form-card {
        padding: 1.5rem 1rem 1.25rem;
    }
    .form-heading {
        font-size: 1.2rem;
    }
}
