/* ============================================
   Freedom Provider LLC - Medical Transport Website
   Color Theme: Patriotic Red, White & Blue (from logo)
   ============================================ */

:root {
  --primary: #1B2D5B;
  --primary-dark: #0F1D3D;
  --primary-light: #2B4A8A;
  --secondary: #2B5EA7;
  --accent: #B22234;
  --accent-dark: #8B1A29;
  --accent-light: #D43545;
  --bg-light: #F2F5FA;
  --bg-white: #FFFFFF;
  --text-dark: #1A2332;
  --text-body: #4A5568;
  --text-light: #718096;
  --border: #D6DCE8;
  --shadow: rgba(27, 45, 91, 0.10);
  --shadow-lg: rgba(27, 45, 91, 0.18);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-red: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color: var(--text-body); background: var(--bg-white); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Buttons --- */
.btn { display: inline-block; padding: 14px 36px; font-size: 1rem; font-weight: 600; border-radius: 50px; border: none; cursor: pointer; transition: all 0.3s ease; letter-spacing: 0.3px; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 15px var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px var(--shadow-lg); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-secondary:hover { background: #fff; color: var(--primary); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 4px 15px rgba(178, 34, 52, 0.30); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(178, 34, 52, 0.40); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* --- Top Bar --- */
.top-bar { background: var(--primary-dark); color: #fff; padding: 8px 0; font-size: 0.85rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: #fff; opacity: 0.9; transition: opacity 0.3s; }
.top-bar a:hover { opacity: 1; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar-item { display: flex; align-items: center; gap: 6px; }

/* --- Header / Navbar --- */
.header { background: var(--bg-white); box-shadow: 0 2px 20px var(--shadow); position: sticky; top: 0; z-index: 1000; border-bottom: 3px solid var(--accent); }
.header .container { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 55px; width: auto; }
.logo-text { font-size: 1.35rem; font-weight: 700; color: var(--primary); line-height: 1.2; }
.logo-text span { display: block; font-size: 0.75rem; font-weight: 400; color: var(--text-light); letter-spacing: 1px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 10px 20px; font-weight: 500; color: var(--text-dark); border-radius: 8px; transition: all 0.3s ease; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--bg-light); }
.nav-links a.active::after { content: ''; position: absolute; bottom: 2px; left: 20px; right: 20px; height: 3px; background: var(--accent); border-radius: 2px; }
.nav-cta { margin-left: 10px; }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; padding: 8px; background: none; border: none; }
.hamburger span { width: 26px; height: 3px; background: var(--primary); border-radius: 3px; transition: 0.3s; }

/* --- Hero Section --- */
.hero { background: var(--gradient); padding: 90px 0 100px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: rgba(255,255,255,0.04); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; background: rgba(255,255,255,0.03); border-radius: 50%; }
.hero .container { display: flex; align-items: center; gap: 60px; position: relative; z-index: 1; }
.hero-content { flex: 1; color: #fff; }
.hero-content h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-content h1 span { color: #FFD0D0; }
.hero-content p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 35px; line-height: 1.8; max-width: 520px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { flex: 0 0 420px; text-align: center; }
.hero-image img { max-width: 100%; border-radius: 20px; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25)); }

/* --- Section Styles --- */
.section { padding: 80px 0; }
.section-light { background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 55px; }
.section-title h2 { font-size: 2.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.section-title p { font-size: 1.05rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-title .line { width: 60px; height: 4px; background: var(--accent); border-radius: 2px; margin: 18px auto 0; }

/* --- Services Grid --- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: var(--bg-white); border-radius: 16px; padding: 40px 30px; text-align: center; box-shadow: 0 4px 20px var(--shadow); transition: all 0.4s ease; border: 1px solid transparent; border-top: 3px solid transparent; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px var(--shadow-lg); border-top-color: var(--accent); }
.service-icon { width: 80px; height: 80px; background: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 2rem; color: var(--secondary); transition: all 0.3s ease; }
.service-card:hover .service-icon { background: var(--gradient); color: #fff; transform: scale(1.1); }
.service-card h3 { font-size: 1.25rem; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; }

/* --- Why Choose Us --- */
.why-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.why-us-image { text-align: center; }
.why-us-image img { max-width: 420px; margin: 0 auto; border-radius: 20px; }
.why-us-content h2 { font-size: 2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; }
.why-us-content > p { color: var(--text-light); margin-bottom: 30px; font-size: 1.05rem; }
.why-item { display: flex; gap: 16px; margin-bottom: 24px; }
.why-item-icon { width: 50px; height: 50px; min-width: 50px; background: var(--bg-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--secondary); }
.why-item h4 { font-size: 1.05rem; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.why-item p { font-size: 0.9rem; color: var(--text-light); }

/* --- CTA Banner --- */
.cta-banner { background: var(--accent); padding: 70px 0; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; background: rgba(255,255,255,0.06); border-radius: 50%; }
.cta-banner::after { content: ''; position: absolute; bottom: -80px; left: -80px; width: 250px; height: 250px; background: rgba(0,0,0,0.05); border-radius: 50%; }
.cta-banner h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-banner p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; max-width: 550px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.cta-banner .btn { position: relative; z-index: 1; background: var(--primary); color: #fff; }
.cta-banner .btn:hover { background: var(--primary-light); transform: translateY(-2px); }

/* --- Stats --- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { padding: 30px 20px; }
.stat-number { font-size: 2.8rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 0.95rem; color: var(--text-light); font-weight: 500; }

/* --- Page Header --- */
.page-header { background: var(--gradient); padding: 60px 0; text-align: center; color: #fff; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; top: -80px; right: -80px; width: 250px; height: 250px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.page-header h1 { font-size: 2.4rem; font-weight: 700; margin-bottom: 10px; position: relative; z-index: 1; }
.page-header p { font-size: 1.1rem; opacity: 0.85; position: relative; z-index: 1; }
.breadcrumb { margin-top: 14px; font-size: 0.9rem; position: relative; z-index: 1; }
.breadcrumb a { color: #B8D4FF; }
.breadcrumb a:hover { color: #fff; }

/* --- About Page --- */
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro-content h2 { font-size: 2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 18px; }
.about-intro-content p { margin-bottom: 16px; font-size: 1.02rem; line-height: 1.8; }
.about-intro-image { text-align: center; }
.about-intro-image img { max-width: 100%; border-radius: 20px; box-shadow: 0 10px 40px var(--shadow); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.value-card { background: var(--bg-white); border-radius: 16px; padding: 36px 28px; text-align: center; box-shadow: 0 4px 20px var(--shadow); border-top: 4px solid var(--accent); transition: transform 0.3s ease; }
.value-card:hover { transform: translateY(-5px); }
.value-card .icon { font-size: 2.2rem; margin-bottom: 16px; }
.value-card h3 { font-size: 1.15rem; font-weight: 600; color: var(--text-dark); margin-bottom: 10px; }
.value-card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.7; }

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-form-wrap { background: var(--bg-white); border-radius: 16px; padding: 40px; box-shadow: 0 4px 20px var(--shadow); }
.contact-form-wrap h3 { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--text-light); margin-bottom: 28px; font-size: 0.95rem; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; color: var(--text-dark); font-size: 0.92rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 13px 18px; border: 2px solid var(--border); border-radius: 10px; font-size: 0.95rem; font-family: inherit; color: var(--text-dark); transition: border-color 0.3s, box-shadow 0.3s; background: var(--bg-white); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(43, 94, 167, 0.12); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info-wrap h3 { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.contact-info-wrap > p { color: var(--text-light); margin-bottom: 30px; font-size: 0.95rem; }
.contact-info-item { display: flex; gap: 18px; margin-bottom: 28px; align-items: flex-start; }
.contact-info-icon { width: 55px; height: 55px; min-width: 55px; background: var(--bg-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--secondary); }
.contact-info-item h4 { font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 0.95rem; color: var(--text-light); }
.contact-info-item a:hover { color: var(--primary); }
.hours-table { width: 100%; margin-top: 20px; border-collapse: collapse; }
.hours-table td { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.hours-table td:first-child { font-weight: 500; color: var(--text-dark); }

/* --- Footer --- */
.footer { background: var(--primary-dark); color: #fff; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-about .logo img { height: 45px; }
.footer-about p { font-size: 0.92rem; opacity: 0.75; line-height: 1.7; margin-top: 14px; }
.footer h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 35px; height: 3px; background: var(--accent); border-radius: 2px; }
.footer-links a { display: block; padding: 6px 0; font-size: 0.92rem; opacity: 0.75; transition: opacity 0.3s, padding-left 0.3s; }
.footer-links a:hover { opacity: 1; padding-left: 6px; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 0.92rem; opacity: 0.85; }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 0.85rem; opacity: 0.6; }

/* --- Testimonials --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background: var(--bg-white); border-radius: 16px; padding: 32px 28px; box-shadow: 0 4px 20px var(--shadow); position: relative; }
.testimonial-card .quote-icon { font-size: 2.5rem; color: var(--secondary); opacity: 0.3; position: absolute; top: 16px; right: 24px; }
.testimonial-card p { font-size: 0.95rem; color: var(--text-body); line-height: 1.8; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 48px; height: 48px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.1rem; }
.testimonial-author h5 { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); }
.testimonial-author span { font-size: 0.82rem; color: var(--text-light); }
.stars { color: #F6C23E; font-size: 0.9rem; margin-bottom: 12px; }

/* --- Process Steps --- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.process-step { position: relative; padding: 30px 20px; }
.process-step-number { width: 60px; height: 60px; background: var(--accent); border-radius: 50%; color: #fff; font-size: 1.4rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.process-step h4 { font-size: 1.05rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: var(--text-light); }

/* --- Alerts --- */
.alert { padding: 16px 24px; border-radius: 10px; margin-bottom: 20px; font-size: 0.95rem; }
.alert-success { background: #DEF7EC; color: #03543F; border: 1px solid #84E1BC; }
.alert-error { background: #FDE8E8; color: #9B1C1C; border: 1px solid #F8B4B4; }

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero .container { flex-direction: column; text-align: center; }
  .hero-content p { margin: 0 auto 35px; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-buttons { justify-content: center; }
  .hero-image { flex: none; }
  .hero-image img { max-width: 320px; }
  .services-grid, .values-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .why-us-grid, .about-intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .why-us-image { order: -1; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-white); flex-direction: column; padding: 20px; box-shadow: 0 10px 30px var(--shadow); gap: 4px; }
  .nav-links.active { display: flex; }
  .nav-links a { width: 100%; text-align: center; }
  .nav-cta { margin-left: 0; }
  .hamburger { display: flex; }
  .hero { padding: 60px 0 70px; }
  .hero-content h1 { font-size: 1.9rem; }
  .section { padding: 60px 0; }
  .services-grid, .values-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .top-bar .container { justify-content: center; }
  .top-bar-left { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.6rem; }
  .section-title h2 { font-size: 1.7rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .stat-number { font-size: 2.2rem; }
}
