/* Base Styles */
:root {
  --brand-navy: #151e73;
  --brand-orange: #f47b20;
  --brand-red: #c1272d;
  --brand-yellow: #ffc20e;
  --brand-blue: #0071bc;

  --text-primary: #333333;
  --text-secondary: #666666;
  --text-muted: #888888;

  --background: #ffffff;
  --background-muted: #f5f7fa;

  --border: #e2e8f0;

  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  --radius: 0.5rem;

  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--background);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-navy);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand-orange);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--brand-navy);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

ul,
ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn svg {
  margin-left: 0.5rem;
}

.btn-header {
  background-color: var(--brand-orange);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-header:hover {
  background-color: var(--brand-red);
  color: white;
}
/* mobile devices */
@media (max-width: 767px) {
    .btn-header {
        display: none;
    }
}  
.btn-primary {
  background-color: var(--brand-orange);
  color: white;
}

.btn-primary:hover {
  background-color: var(--brand-red);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--brand-navy);
  color: var(--brand-navy);
}

.btn-outline:hover {
  background-color: var(--brand-navy);
  color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo img {
  height: auto;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.main-nav a:hover,
.main-nav .active a {
  color: var(--brand-navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--brand-navy);
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 5rem;
  left: 0;
  width: 100%;
  height: calc(100vh - 5rem);
  background-color: white;
  padding: 2rem 0;
  overflow-y: auto;
  z-index: 99;
  border-top: 1px solid var(--border);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu li {
  margin-bottom: 1.5rem;
}

.mobile-menu a {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
}

.mobile-cta {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .main-nav {
    display: block;
  }

  .mobile-menu-toggle {
    display: none;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, var(--brand-navy), var(--brand-blue));
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-small {
  padding: 4rem 0;
}

.wave-pattern-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/wave-pattern.svg");
  background-size: cover;
  opacity: 0.1;
}

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

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero .highlight {
  color: var(--brand-orange);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-buttons .btn-outline {
  border-color: white;
  color: white;
}

.hero-buttons .btn-outline:hover {
  background-color: white;
  color: var(--brand-navy);
}

.scroll-indicator {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Wave Divider */
.wave-divider {
  position: relative;
  height: 70px;
  width: 100%;
  overflow: hidden;
  background-color: #ffffff;
}


/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .two-column {
    grid-template-columns: 1fr 1fr;
  }
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.section-header-left {
  margin-bottom: 2rem;
}

.section-header-left h2 {
  margin-bottom: 0.5rem;
}

.section-header-left p {
  color: var(--text-secondary);
}

.section-header-with-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .section-header-with-link {
    flex-direction: row;
  }
}

.section-footer {
  text-align: center;
  margin-top: 3rem;
}

/* Content Section */
.content-section {
  padding: 5rem 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-block {
  line-height: 1.8;
}

.content-block h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.content-block h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content-block p,
.content-block ul,
.content-block ol {
  margin-bottom: 1.5rem;
}

.content-block li {
  margin-bottom: 0.5rem;
}

.content-block table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.content-block th,
.content-block td {
  padding: 0.75rem;
  border: 1px solid var(--border);
  text-align: left;
}

.content-block th {
  background-color: var(--background-muted);
  font-weight: 600;
}

.content-block tr:nth-child(even) {
  background-color: var(--background-muted);
}

/* Services Section */
.services-section {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand-orange);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: linear-gradient(to right, var(--brand-orange), var(--brand-red));
  color: white;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-link {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--brand-navy);
}

.card-link svg {
  margin-left: 0.5rem;
  transition: var(--transition);
}

.card-link:hover {
  color: var(--brand-orange);
}

.card-link:hover svg {
  transform: translateX(3px);
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background-color: var(--background-muted);
  position: relative;
  overflow: hidden;
}

.about-content {
  margin-bottom: 2rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.rounded-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.testimonial-card {
  background-color: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stars {
  display: flex;
  color: var(--brand-orange);
  margin-bottom: 1rem;
}

.quote {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-image {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--brand-orange);
}

.author-info h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.author-info p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Blog Section */
.blog-section {
  padding: 5rem 0;
  background-color: var(--background-muted);
  position: relative;
  overflow: hidden;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background-color: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background-color: var(--brand-orange);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.blog-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.blog-card h3 a {
  color: var(--brand-navy);
  transition: var(--transition);
}

.blog-card h3 a:hover {
  color: var(--brand-orange);
}

.blog-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.blog-author {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.blog-read-more {
  color: var(--brand-orange);
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-read-more:hover {
  text-decoration: underline;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(to right, var(--brand-navy), var(--brand-blue));
  color: white;
  padding: 4rem 0;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-content {
    flex-direction: row;
    text-align: left;
  }
}

.cta-text h2 {
  color: white;
  margin-bottom: 0.5rem;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background-color: var(--background-muted);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.tagline {
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-col h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-col a:hover {
  color: var(--brand-orange);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: var(--text-muted);
}

.social-links a:hover {
  color: var(--brand-orange);
}

/* Base styles for all screens */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.contact-grid > * {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.contact-header {
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.phone-icon {
  background-color: rgba(244, 123, 32, 0.1);
  color: var(--brand-orange);
}

.email-icon {
  background-color: rgba(193, 39, 45, 0.1);
  color: var(--brand-red);
}

.address-icon {
  background-color: rgba(0, 113, 188, 0.1);
  color: var(--brand-blue);
}

.business-hours {
  background-color: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.business-hours h3 {
  margin-bottom: 0.75rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.day {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.time {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.emergency-support {
  color: var(--brand-orange);
  font-size: 0.75rem;
  margin-bottom: 0;
}

.map-container {
  width: 100%;
  max-width: 100%;
  height: 250px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-form-container {
  width: 100%;
  max-width: 100%;
  background-color: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1rem;
  box-shadow: var(--shadow);
  box-sizing: border-box;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 2px rgba(244, 123, 32, 0.2);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.checkbox-group {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-group input {
  margin-top: 0.25rem;
}

.checkbox-group label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.form-success {
  text-align: center;
  padding: 1.5rem;
}

.form-success svg {
  color: var(--brand-orange);
  margin-bottom: 1rem;
}

.form-success h3 {
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Styles for small screens (mobile phones) */
@media (max-width: 767px) {
  .contact-grid {
    gap: 1.5rem; /* Smaller gap for mobile */
  }

  .map-container {
    height: 200px; /* Smaller height for mobile */
  }

  .contact-form-container {
    padding: 1rem; /* Smaller padding for mobile */
  }

  .contact-form {
    gap: 1rem; /* Smaller gap for mobile */
  }

  .form-row {
    gap: 1rem; /* Smaller gap for mobile */
  }

  .checkbox-group label {
    font-size: 0.7rem; /* Smaller font size for mobile */
  }
}

/* Styles for large screens (tablets and desktops) */
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr; /* Two columns for larger screens */
    gap: 3rem; /* Larger gap for tablets and desktops */
  }

  .map-container {
    height: 300px; /* Restore height for tablets and desktops */
  }

  .contact-form-container {
    padding: 2rem; /* Restore padding for tablets and desktops */
  }

  .contact-form {
    gap: 1.5rem; /* Restore gap for tablets and desktops */
  }

  .form-row {
    grid-template-columns: 1fr 1fr; /* Two columns for larger screens */
    gap: 1.5rem; /* Restore gap for larger screens */
  }

  .checkbox-group label {
    font-size: 0.875rem; /* Restore font size for larger screens */
  }
}

* 404 Page */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 5rem - 20rem);
  text-align: center;
  padding: 3rem 1.5rem;
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.5;
  margin-bottom: 1rem;
  text-align: center;
}

.error-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.error-message {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2rem;
  text-align: center;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

