/* Modern Contact Page Design */
:root {
  --primary: #2E3192;
  --primary-dark: #1a1d5a;
  --accent: #73B126;
  --accent-hover: #5d8f1f;
  --accent-dark: #197039;
  --text: #000000;
  --text-light: #444;
  --light-gray: #f8f9fa;
  --border: #e0e0e0;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Global */
.contact-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text);
    background: var(--light-gray);
    line-height: 1.6;
    min-height: 100vh;
}

/* Hero Section */
.contact-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 6rem 2rem 5rem;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 33, 120, 0.9) 0%, rgba(25, 112, 57, 0.8) 100%);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

.contact-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.contact-hero p {
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
}

.contact-hero .btn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(115, 177, 38, 0.3);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.contact-hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(115, 177, 38, 0.4);
    background: var(--accent-hover);
}

/* Content Wrapper */
.contact-content {
    max-width: 1200px;
    margin: 3rem auto 6rem;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Section - Clean Design */
.contact-info {
  flex: 1;
  padding-right: 30px;
}

.contact-info h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-method {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-method h3 {
  font-size: 1.25rem;
  color: #333;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.contact-subtitle {
  color: #666;
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  margin: 0.75rem 0;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.phone-link:hover {
  color: var(--accent);
}

.phone-link .icon {
  margin-right: 8px;
  width: 20px;
  height: 20px;
}

.hours {
  display: flex;
  align-items: center;
  color: #555;
  font-size: 0.9rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.hours .icon {
  margin-right: 8px;
  color: #666;
  flex-shrink: 0;
}

.service-info {
  display: flex;
  margin-top: 0.75rem;
}

.service-info .icon {
  color: var(--primary);
  margin-right: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.service-info p {
  margin: 0 0 0.5rem 0;
  color: #333;
  line-height: 1.5;
}

.service-info .small {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-info {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .contact-method {
    padding: 1.25rem;
  }
  
  .contact-info h2 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
  }
  
  .phone-link {
    font-size: 1rem;
  }
}

.info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 0;
    align-items: flex-start;
    background: transparent;
    border: none;
    box-shadow: none;
}

.info-item:last-child {
    margin-bottom: 0;
    border: none;
}

.icon-box {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 0.25rem;
    background: transparent;
    border: none;
}

.detail strong {
    color: var(--primary);
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.detail a, .detail span {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.detail a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.detail .contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem;
    margin-left: -0.8rem;
    border-radius: 6px;
}

.info-block, .serving-note {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.info-block h3, .serving-note h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-block h3::before, .serving-note h3::before {
    content: '•';
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1;
}

.info-block p, .serving-note p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.info-block p, .serving-note h3 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.serving-note h3 svg {
    color: var(--accent);
    width: 18px;
    height: 18px;
}

.serving-note {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    position: relative;
}

.serving-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--accent), var(--accent-dark));
}

.serving-note::after {
    content: '!';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(115, 177, 38, 0.1);
    line-height: 1;
    pointer-events: none;
}

/* Right Column – Contact Form */
.contact-form {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), #ffb74d);
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-form h3 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    position: relative;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.modern-form .form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1.5rem;
}

.modern-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition);
}

.modern-form input,
.modern-form textarea,
.modern-form select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: #f8f9fa;
    font-family: inherit;
}

.modern-form input:focus,
.modern-form textarea:focus,
.modern-form select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(115, 177, 38, 0.3);
}

.modern-form textarea {
    min-height: 140px;
    resize: vertical;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
    background: #f5f5f5;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    margin: 0;
}

.checkbox-label:hover {
    background: #eeeeee;
    transform: translateY(-2px);
}

.checkbox-label input {
    margin-right: 0.6rem;
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-group.recaptcha-wrapper {
    margin: 2rem 0 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-submit .btn-submit {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    width: auto;
    display: inline-block;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background-color: #1a5a9c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.btn-send {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-send:hover {
    background-color: #1a5a9c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-send:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* reCAPTCHA Styling */
.recaptcha-container {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    min-height: 78px; /* Prevents layout shift when reCAPTCHA loads */
}

/* Make reCAPTCHA badge more subtle */
.grecaptcha-badge { 
    visibility: hidden; /* Hides the badge but keeps the functionality */
}

/* Fallback for when reCAPTCHA is loading */
.recaptcha-container::before {
    content: 'Loading security check...';
    color: #666;
    font-size: 0.9rem;
    display: none; /* Only shows if reCAPTCHA fails to load */
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        margin-top: -3rem;
    }
    
    .contact-hero h1 {
        font-size: 2.8rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 8rem 1.5rem 6rem;
        min-height: 50vh;
    }
    
    .contact-hero h1 {
        font-size: 2.4rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.8rem;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .form-submit button {
        width: 100%;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .icon-box {
        margin-bottom: 0.8rem;
    }
    
    .contact-info h2,
    .contact-form h3 {
        font-size: 1.6rem;
    }
}

/* Form Field Focus Styles */
@keyframes inputHighlighter {
    from { background: var(--accent); }
    to { width: 0; background: transparent; }
}

/* Loading State for Form */
.form-submit button.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from { transform: rotate(0turn); }
    to { transform: rotate(1turn); }
}

/* Form Validation Styles */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #e53935;
    background-color: #ffebee;
}

.form-group .error-message {
    color: #e53935;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.form-group .detail .text-muted {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: block;
    line-height: 1.7;
}

.form-intro {
    color: #666;
    margin: 0 0 2.5rem 0;
    display: block;
    line-height: 1.7;
    max-width: 800px;
}

/* Success Message */
.form-success-message {
    display: none;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.form-success-message.visible {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    .contact-hero {
        padding: 10rem 2rem 6rem;
    }
}
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 2.4rem;
    }
    .contact-hero p {
        font-size: 1rem;
    }
    .contact-hero .btn-primary {
        padding: 0.8rem 1.5rem;
    }
    .contact-info {
        padding: 1.5rem;
    }
    .contact-form {
        padding: 1.5rem;
    }
}