/* ==========================================
   GLOBAL STYLES & VARIABLES (Shared)
   ========================================== */
:root {
  --primary-red: #d93829;
  --primary-red-hover: #b8281b;
  --navy-bg: #0b1527;
  --navy-card: #0f1c35;
  --navy-light-card: #152542;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --light-bg: #f8fafc;
  --border-color: #e2e8f0;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.5;
}

.container {
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-red);
  color: #ffffff;
  border: none;
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* ==========================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================== */

/* Contact Hero Section */
.contact-hero-section {
  background-color: var(--navy-bg);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffefe6;
  color: var(--primary-red);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.contact-hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.contact-hero-subtitle {
  font-size: 1.15rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Main Contact Section layout */
.contact-main-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

/* Contact Information Card (Left) */
.contact-info-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--card-shadow);
}

.contact-info-card h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.card-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #ffefe6;
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-text p, .contact-text {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-red);
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.follow-us-box {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.follow-us-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.facebook-btn {
  display: inline-flex;
  width: auto;
  color: #fff;
  background-color: #0A1B3F;
}

.facebook-btn:hover {
    color: #fff;
    background-color: #1A2B5F;
}

/* Sidebar Column (Right) */
.contact-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Quick Quote Box style matching auto insurance card */
.calculator-card {
  background-color: #ffffff;
  color: var(--text-dark);
  border: 1.5px solid var(--border-color);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--card-shadow);
}

.calc-top-tag {
  display: inline-block;
  background-color: #fef2f2;
  color: var(--primary-red);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.calculator-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.calc-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.cta-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.secondary-btn {
  background-color: var(--navy-bg);
  color: #ffffff;
  border: none;
}

.secondary-btn:hover {
  background-color: var(--navy-card);
  color: #ffffff;
}

/* FAQ Card */
.faq-card {
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--card-shadow);
}

.faq-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.faq-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Need Help Bottom Section */
.need-help-section {
  background-color: #ffffff;
  padding: 80px 24px;
  border-top: 1px solid var(--border-color);
}

.need-help-section h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.need-help-section p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-hero-title {
    font-size: 2.5rem;
  }
  
  .contact-info-card, .calculator-card, .faq-card {
    padding: 24px;
  }
}