/* AssurBen Insurance Website - Main Stylesheet */
/* Colors: Dark Blue #00008f, Red #ff1721 */

:root {
  --primary-color: #00008f;
  --accent-color: #ff1721;
  --text-color: #333;
  --light-gray: #f5f5f5;
  --border-color: #ddd;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

body {
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 143, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.navbar-brand {
  flex: 0 0 auto;
}

.logo {
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
}

.logo-text {
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
}

.navbar-menu ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.navbar-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-menu a:hover {
  color: var(--primary-color);
}

.btn-quote {
  background-color: var(--accent-color);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-quote:hover {
  background-color: #e00b0b;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #00004d 100%);
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero > p {
  font-size: 24px;
  margin-bottom: 5px;
}

.hero-subtitle {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #e00b0b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 23, 33, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-large {
  padding: 15px 40px;
  font-size: 18px;
}

/* Services Overview */
.services-overview {
  padding: 80px 20px;
  background-color: var(--white);
}

.services-overview h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--accent-color);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 143, 0.15);
}

.service-card .icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-card p {
  margin-bottom: 20px;
  color: #666;
}

.service-card a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-card a:hover {
  color: var(--primary-color);
}

/* Why Us Section */
.why-us {
  padding: 80px 20px;
  background-color: var(--light-gray);
}

.why-us h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.benefit {
  background-color: var(--white);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 143, 0.08);
}

.benefit-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  color: var(--white);
  border-radius: 50%;
  line-height: 40px;
  font-weight: bold;
  margin-bottom: 15px;
}

.benefit h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.benefit p {
  color: #666;
  font-size: 14px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #00004d 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 18px;
  opacity: 0.9;
}

/* Services Detail */
.services-detail {
  padding: 80px 20px;
}

.service-detail-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}

.service-detail-item.alternate {
  grid-template-columns: 2fr 1fr;
}

.service-image {
  font-size: 120px;
  text-align: center;
}

.service-content h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 28px;
}

.service-content h3 {
  color: var(--primary-color);
  margin: 20px 0 10px 0;
  font-size: 18px;
}

.service-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.service-content li {
  margin-bottom: 8px;
  color: #555;
}

/* Process Section */
.process {
  background-color: var(--light-gray);
  padding: 80px 20px;
}

.process h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.step {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 143, 0.08);
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white);
  border-radius: 50%;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 15px;
}

.step h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* About Section */
.about-section {
  padding: 80px 20px;
}

.about-content {
  text-align: center;
  margin-bottom: 50px;
}

.about-content h2 {
  color: var(--primary-color);
  font-size: 32px;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.about-card {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
  border-top: 4px solid var(--accent-color);
}

.about-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.about-card ul {
  margin-left: 20px;
}

.about-card li {
  margin-bottom: 10px;
  color: #555;
}

.partnership-section {
  background-color: var(--light-gray);
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 50px;
}

.partnership-section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.partnership-benefits {
  margin-left: 20px;
  list-style: none;
}

.partnership-benefits li {
  margin-bottom: 10px;
  color: #555;
}

.why-choose-us {
  margin-bottom: 50px;
}

.why-choose-us h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.reason {
  background-color: var(--white);
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
  box-shadow: 0 2px 10px rgba(0, 0, 143, 0.08);
}

.reason h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.location-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #00004d 100%);
  color: var(--white);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
}

.location-section h2 {
  margin-bottom: 20px;
}

.location-info {
  text-align: left;
}

.location-info p {
  margin-bottom: 10px;
}

/* Forms */
.quote-section,
.contact-section {
  padding: 80px 20px;
}

.quote-form-container,
.contact-form-container {
  background-color: var(--light-gray);
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(0, 0, 143, 0.2);
}

.form-message {
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
  font-weight: 600;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* FAQ Section */
.faq-section {
  background-color: var(--light-gray);
  padding: 80px 20px;
}

.faq-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.faq-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.faq-item {
  background-color: var(--white);
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
  box-shadow: 0 2px 8px rgba(0, 0, 143, 0.08);
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.faq-item p {
  color: #555;
  font-size: 14px;
}

/* Contact Info */
.contact-info-container {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
}

.contact-info-container h2 {
  color: var(--primary-color);
  margin-bottom: 30px;
}

.contact-info-item {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contact-info-item p {
  color: #555;
}

.small {
  font-size: 13px;
  color: #888;
  margin-top: 5px;
}

.hours-list {
  list-style: none;
  margin-left: 0;
}

.hours-list li {
  color: #555;
  margin-bottom: 8px;
}

/* Quick Links */
.quick-links {
  background-color: var(--light-gray);
  padding: 80px 20px;
}

.quick-links h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.link-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border-top: 4px solid var(--accent-color);
  box-shadow: 0 2px 10px rgba(0, 0, 143, 0.08);
}

.link-card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.link-card p {
  color: #555;
  margin-bottom: 20px;
  font-size: 14px;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 50px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 15px;
  color: var(--white);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar-menu ul {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero > p {
    font-size: 18px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .service-detail-item,
  .service-detail-item.alternate {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-overview h2,
  .why-us h2,
  .process h2,
  .faq-section h2,
  .quick-links h2 {
    font-size: 28px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .services-grid,
  .benefits-grid,
  .reasons-grid,
  .faq-items,
  .links-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .navbar .container {
    flex-direction: column;
    gap: 15px;
  }

  .navbar-menu ul {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .hero {
    padding: 50px 20px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero > p {
    font-size: 16px;
  }

  .service-card,
  .about-card,
  .faq-item,
  .link-card {
    padding: 20px;
  }

  .contact-form-container,
  .quote-form-container {
    padding: 20px;
  }
}
