*, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 0;
      padding: 0;
      background-color: #f9fafb;
      color: #333;
      line-height: 1.6;
    }

/* Top Navbar Styles */
.top-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #004343 0%, #006666 100%);
    color: white;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.top-navbar .social-icons {
    display: flex;
    gap: 15px;
}

.top-navbar .social-icons a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.top-navbar .social-icons a:hover {
    color: #00b3b3;
}

.top-navbar > div {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-navbar .icon-span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-navbar a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.top-navbar a:hover {
    color: #00b3b3;
}

.top-navbar .quote-btn {
    background: #00b3b3;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.top-navbar .quote-btn:hover {
    background: #008f8f;
    color: white;
}
/* Main Navigation Styles */
nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

nav ul li a {
    color: #004343;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    transition: all 0.3s;
    font-weight: 500;
}

nav ul li a:hover {
    background: #f0f8f8;
    color: #006666;
}

.navbar__logo img {
    height: 50px;
}
nav li:first-child{
    margin-right: auto;
  }

/* Dropdown Menu */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 250px;
    background: white;
    width: 800px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 5px 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1000;
}

.navbar__item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    padding: 12px 20px;
    color: #004343;
    transition: all 0.3s;
}

.dropdown-menu li a:hover {
    background: #e6f2f2;
    padding-left: 25px;
}
/* Insurance Navbar */
.insurance-navbar {
    background: linear-gradient(90deg, #006666 0%, #008787 100%);
    padding: 0;
}

.insurance-navbar .container {
    padding: 0;
}

.insurance-links {
    display: flex;
    list-style: none;
    justify-content: space-around;
    padding: 0;
}

.insurance-links a {
    color: white;
    text-decoration: none;
    padding: 15px 0;
    flex: 1;
    text-align: center;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
}

.insurance-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.insurance-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #00b3b3;
    transition: all 0.3s;
    transform: translateX(-50%);
}

.insurance-links a:hover::after {
    width: 80%;
}
/* Mobile Menu */
.menu-button {
    display: none;
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  box-shadow: -10px 0 10px rgba(0, 67, 67, 0.38);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%); /* hidden off-screen */
  transition: transform 0.3s ease-in-out;
}

/* Show sidebar when active */
.sidebar.active {
  transform: translateX(0);
}

.sidebar li {
  width: 100%;
  margin-bottom: 10px;
}

.sidebar li:first-child {
  text-align: right;
  margin-bottom: 20px;
}

.sidebar a {
  display: block;
  width: 100%;
  padding: 12px 15px;
  color: #004343;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s;
}

.sidebar a:hover {
  background: #e6f2f2;
}

/* Overlay for dim background */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}
  .menu-button button {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu-button button:hover,
  .menu-button button:focus {
    outline: none;
    background-color: rgba(0,0,0,0.05);
    border-radius: 6px;
  }
  .menu-close button {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu-close button:hover,
  .menu-close button:focus {
    outline: none;
    background-color: rgba(0,0,0,0.05);
    border-radius: 6px;
  }
/* Menu button (visible on mobile) */
.menu-button {
  display: none;
}

@media (max-width: 768px) {
  .hideOnMobile {
    display: none;
  }
  .menu-button {
    display: block;
  }
}
@media (max-width: 600px) {
  .top-navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    display: none;
    flex-wrap: wrap;
    position: relative;
    padding: 5px;
  }
}
header.hero {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 1rem;
  color: #fff;
  overflow: hidden;
}

header.hero img.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

header.hero::before {
  content: "";
  position: absolute;
  inset: 0;
background: linear-gradient(rgba(0, 67, 67, 0.2), rgba(0, 67, 67, 0.1));
  z-index: -1;
}

header.hero .hero-content {
  position: relative;
  max-width: 800px;
  padding: 1rem;
}

header.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0.5rem 0;
}

header.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 1.5rem;
}

  header {
      position: relative;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      text-align: center;
      padding: 1rem;
      color: #fff;
      background: linear-gradient(rgba(0, 67, 67, 0.8), rgba(0, 67, 67, 0.6))
      center/cover no-repeat;
      background-size: cover;
    }
    
    header h1 {
      font-size: 3rem;
      margin-bottom: 0.5rem;
      font-weight: 700;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
      color: #ffffff;
    }
    
    header h2 {
      font-size: 1.8rem;
      font-style: italic;
      margin-bottom: 1rem;
      font-weight: 400;
      color: #ffffff;
    }
    
    header p {
      font-size: 1.2rem;
      max-width: 700px;
      line-height: 1.6;
      margin: 1rem auto;
      color: #ffffff;
    }

   .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px; /* spacing between blocks */
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.block {
  background-color: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;               /* go back to flex for inner layout */
  flex-wrap: wrap;
  align-items: center;
  padding: 30px;
  height: 100%;
}

.block:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  border-color: #004343;
}

.block img {
  width: 100%;
  max-width: 250px;            /* keep image smaller */
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 20px;
  flex-shrink: 0;
}

.block-content {
  display: flex;
  align-items: center;      /* vertical alignment */
  justify-content: center;  /* horizontal alignment */
  flex-direction: column;   /* stack icon + text vertically */
  text-align: center;       /* center text under icon */
}


.block h2 {
  color: #004343;
  text-align: left;
  margin-bottom: 15px;
  text-align: center;
}

.block p {
  color: black;
  font-size: 16px;
  line-height: 1.6;
}

.block-content i {
  font-size: 48px;
  margin-bottom: 20px;
  color: #004343;
}


/* Responsive */
@media (max-width: 768px) {
  .block {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .block img {
    margin: 0 0 15px 0;
    max-width: 100%;
  }
  
  .block-content i {
    font: 36px;
  }
}

.back-button {
  color: #004343;
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: color 0.3s ease;
  width: auto;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}

.back-button:hover {
  background-color: #ffffff;
}

.footer-detailed {
      background: #002a2a;
      color: white;
      padding: 60px 0 20px;
    }
    
    .footer-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      gap: 40px;
    }
    
    .footer-section {
      flex: 1 1 250px;
    }
    
    .footer-section h3 {
      margin-bottom: 20px;
      font-size: 1.5rem;
      position: relative;
      padding-bottom: 10px;
    }
    
    .footer-section h3:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 3px;
      background: #00b3b3;
    }
    
    .footer-section p {
      margin-bottom: 15px;
      line-height: 1.6;
    }
    
    .social-media-links {
      display: flex;
      gap: 15px;
      list-style: none;
    }
    
    .social-media-links a {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      color: white;
      text-decoration: none;
      transition: all 0.3s ease;
    }
    
    .social-media-links a:hover {
      background: #00b3b3;
      transform: translateY(-3px);
    }
    
    .quick-links {
      list-style: none;
    }
    
    .quick-links li {
      margin-bottom: 10px;
    }
    
    .quick-links a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      transition: all 0.2s ease;
    }
    
    .quick-links a:hover {
      color: white;
      padding-left: 5px;
    }
    
    .footer-note {
      text-align: center;
      padding: 20px;
      background: #001f1f;
      color: rgba(255, 255, 255, 0.7);
    }
    
    /* WhatsApp float button */
    .whatsapp-float {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
      transition: all 0.3s ease;
    }
    
    .whatsapp-float:hover {
      transform: scale(1.1);
    }
    
    .whatsapp-float img {
      width: 60px;
      height: 60px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      border-radius: 50%;
    }


    .button {
     display: flex;
     justify-content: center;
     align-items: center;
     text-decoration: none;
     padding: 1rem 1.5rem;
     font-size: 14px;
     font-weight: bold;
     font: dmsans-serif;
     height: 100%;
     width: 90%;
     border: none;
     outline: none;
     background: #004343;
     color: #ffffff;
     cursor: pointer;
    }

    .button:hover {
     background: #00434361;
     transition: all 0.3s ease;
    }
    
     .menu-toggle {
      display: none;
      font-size: 24px;
      cursor: pointer;
      color: #ffffff;
    }

    @media (max-width: 768px) {
      header h1{
        font-size: 24px;
      }

      .container {
        flex-direction: column;
        align-items: center;
      }

    .comparison-table {
      font-size: 14px;
    }


    .primary-btn{
      color: #ffffff;
      display: flex;
      padding: 12px 24px;
      background-color: #004343;
      text-decoration: none;
      font-size: 16px;
      font-weight: bold;
      transition: color 0.3s ease;
      width: fit-content;
      cursor: pointer;
      white-space: wrap;
      text-align: center;
      z-index: 1000;
      align-items: center;
    }

    .primary-btn:hover{
        background-color: #cbd5e1;
        transition: transform 0.3s ease;
    }


    .back-link {
      display: flex;
      margin-top: 30px;
      text-decoration: none;
      font-size: 16px;
      font-weight: bold;
      transition: color 0.3s ease;
      text-align: center;
      justify-content: center;
    }

    .back-button {
      color: #004343;
      display: inline-block;
      padding: 12px 24px;
      color: #004343;
      text-decoration: none;
      font-size: 16px;
      font-weight: bold;
      transition: color 0.3s ease;
      width: auto;
      cursor: pointer;
      white-space: wrap;
      text-align: center;
    }

    .back-button:hover {
      background-color: #ffffff;
    }


    .container.motor-insurance {
      max-width: 1200px;
      width: 100%;
      margin: auto;
      padding: 20px;
      background-color: #ffffff;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
}

    .container.motor-insurance h2,
    .container.motor-insurance h3
    .container.motor-insurance p {
     color: #004343;
     margin-top: 1em;
     margin-bottom: 1em;
     display: block;
     
}

    .container.motor-insurance p,
    .container.motor-insurance ul,
    .container.motor-insurance table {
     font-size: 16px;
     line-height: 1.6;
     margin-bottom: 20px;
     display: block;
}

    .container.motor-insurance ul {
  padding-left: 20px;
  display: block;
}

    .container.motor-insurance table {
     width: 100%;
     border-collapse: collapse;
     align-items: center;
}

    .container.motor-insurance th,
    .container.motor-insurance td {
     border: 1px solid #ccc;
     padding: 10px;
     text-align: center;
    }

    .tick {
        color: #004343;
        font-weight: bold;
        font-size: 20px;
    }

    .cross {
        color: #043430;
        font-weight: bold;
        font-size: 20px;
    }
}

   
   .whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: middle;
}


