@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
:root {
    --greadient-first: linear-gradient(45deg, #90d6ff, #ffffff, #90d6ff);
    --primary-color: #6398b8;
    --box-color: #d7edf9;
    --icon-color: #829eea;
    --hover-color: #ffcc00;
    --text-color: #000000;
    --dropdown-bg: #ffffff;
    --dropdown-text: #333;
    --footer-main: #005487;
  }
  a{
    text-decoration: none !important;
    color: #000000 !important;
  }
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    background-color: #f8f9fa;
  }
/* Header */
  /* Header Top */
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 40px 0px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background-image: radial-gradient(#98d8ff, #ffffff);
}

  .logo {
    font-size: 26px;
    font-weight: bold;
    color: var(--primary-color);
  }
  .logo_header{
    height: 80px;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
  }

  .nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 12px !important;
  }

  .nav-link:hover {
    color: var(--primary-color) !important;
  }

  .search-box {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  .login-btn {
    padding: 8px 18px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .login-btn:hover {
    background-color: #002855 !important;
  }

  /* Navigation Menu */
  .navbar {
    /* background-color: var(--primary-color); */
    background-image: var(--greadient-first);
    display: flex;
    justify-content: center !important;
    padding: 10px 20px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    position: absolute !important;
    right: 0px;
    top: 70px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .navbar > ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-left: 5px !important;
  }

  .navbar li {
    position: relative;
  }

  .navbar a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 10px;
    transition: color 0.3s;
    font-size: 12px;
  }

  .navbar a:hover {
    color: var(--hover-color);
  }

  /* Dropdown */
  .dropdown-content {
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    background-color: var(--dropdown-bg);
    min-width: 180px;
    /* border-radius: 6px; */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1000;
    border: 1px solid var(--primary-color);
  }

  .dropdown-content a {
    display: block;
    padding: 5px 15px;
    color: var(--dropdown-text);
    font-weight: 500;
    font-size: 12px;
    border-bottom: 1px solid var(--primary-color);
  }

  .dropdown-content a:hover {
    /* background-image: var(--greadient-first) !important; */
    background-color: var(--primary-color);
  }

  .navbar li:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (max-width: 768px) {
    .nav-right {
      flex-direction: column;
      align-items: flex-end;
      gap: 10px;
    }

    .navbar > ul {
      flex-direction: column;
      align-items: center;
    }
  }
  /* Hide mobile controls on desktop */
.desktop-only {
    display: flex;
  }
  .mobile-icons {
    display: none;
    gap: 15px;
    font-size: 18px;
    align-items: center;
    color: #333;
  }
  .mobile-icons i {
    cursor: pointer;
  }
  
  /* Mobile styles */
  @media (max-width: 768px) {
    #desktop_menu{
        display: none !important;
    }
    .header{
        padding: 10px;
    }
    .nav-right {
      display: none;
    }
  
    .mobile-icons {
      display: flex;
    }
  
    .mobile-search-box {
      display: none;
      padding: 10px 20px;
      background: #fff;
    }
  
    .mobile-search-box input {
      width: 100%;
      padding: 8px 12px;
      border: 1px solid #ccc;
      border-radius: 5px;
    }
  
    .mobile-search-box.active {
      display: block;
    }
  
    .navbar {
      display: none;
      flex-direction: column;
      align-items: flex-start;
      background-color: var(--primary-color);
      padding: 10px 20px;
    }
  
    .navbar.active {
      display: flex;
    }
  
    .navbar > ul {
      flex-direction: column;
      width: 100%;
    }
  
    .navbar li {
      width: 100%;
    }
  
    .navbar a {
      display: block;
      padding: 10px 15px;
    }
  
    .dropdown-content {
      position: static;
      display: none;
      border: none;
      box-shadow: none;
    }
  
    .navbar li:hover .dropdown-content,
    .navbar li:focus-within .dropdown-content {
      display: block;
    }
    .dropdown-content{
        top: 0 !important;
    }
    .dropdown a{
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      #mobile-menu {
        position: absolute;
        right: 0px;
        background-color: var(--primary-color);
        border: 1px solid #ddd;
        padding: 10px;
        display: none;
        z-index: 999;
        height: fit-content;
        width: 220px;
      }
      #mobile-menu ul {
        list-style: none;
        padding-left: 0;
      }
    
      #mobile-menu ul li {
        padding: 10px;
        position: relative;
      }
    
      #mobile-menu ul li a {
        text-decoration: none;
        color: #ffffff;
      }
    
      /* Dropdown content */
      .dropdown-content {
        display: none;
        position: relative;
        background-color: #f9f9f9;
        padding-left: 15px;
        margin-top: 5px;
      }
    
      .dropdown.open .dropdown-content {
        display: block;
      }
    
      .dropdown-content a {
        display: block;
        padding: 5px 0;
        color: var(--primary-color) !important;
      }
    
    
      .dropdown-content {
        display: none;
        margin-top: 5px;
        padding-left: 15px;
        background-color: #f9f9f9;
      }
    
      .dropdown.open .dropdown-content {
        display: block;
      }
    
      /* Rotate icon when dropdown is open */
      .dropdown-toggle-icon {
        transition: transform 0.3s ease;
      }
    
      .dropdown.open .dropdown-toggle-icon {
        transform: rotate(180deg);
      }
      #search-popup {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.6);
        z-index: 1050;
        justify-content: center;
        align-items: center;
      }
  
      #search-popup.active {
        display: flex;
      }
  
      #search-popup .popup-content {
        background: white;
        padding: 20px;
        border-radius: 8px;
        width: 90%;
        max-width: 400px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
        position: relative;
      }
  
      #search-popup .close-btn {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 1.5rem;
        cursor: pointer;
        color: #333;
      }
  }
  @media (max-width :995px){
    .banner-area{
      padding: 50px !important;
    }
    #cardContainer{
      padding: 20px !important;
    }
  }
  .header_main{
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9;
  }
/* Header End */

.area-main{
    margin-top: 90px;
}
/* Banner Start */
.banner-area{
    background-image: radial-gradient(#003d5e, #91d5ff52), url(../images/hero-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 150px 350px;
}
/* From Uiverse.io by vinodjangid07 */ 
.Btn-agent {
  width: 200px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(to right,#fff,#a9a9a9,#fff,#fff,#a9a9a9,#fff);
  background-size: 250%;
  background-position: left;
  color: #77d2ff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition-duration: 1s;
  overflow: hidden;
}

.Btn-agent::before {
  position: absolute;
  content: "Find An Agent";
  color: #ffffff;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 97%;
  height: 90%;
  border-radius: 8px;
  transition-duration: 1s;
  background-color: #62cdff;
  background-size: 200%;
}

.Btn-agent:hover {
  background-position: right;
  transition-duration: 1s;
}

.Btn-agent:hover::before {
  background-position: right;
  transition-duration: 1s;
}

.Btn-agent:active {
  transform: scale(0.95);
}
/* Banner End */

/* bottom hero start */
.coverage-box img {
      filter: grayscale(100%);
      width: 100%;
      height: auto;
      border-radius: 10px;
    }

    .coverage-box:hover img {
      filter: grayscale(0%);
      transform: scale(1.05);
      transition: all 0.3s ease-in-out;
    }

    .coverage-box {
      text-align: center;
      margin-bottom: 20px;
      transition: transform 0.3s;
      padding: 20px 0px;
      transition: 0.3s;
      border-radius: 15px;
    }
    .coverage-box:hover{
        background-color: var(--box-color);
        transition: 0.3s;
    }

    .icon-text {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 15px;
    }

    .icon-text i {
        font-size: 28px;
        height: 60px;
        background-color: #d4efff;
        border-radius: 44px;
        width: 60px;
        display: flex;
        justify-content: center;
        transition: 0.3s;
        align-items: center;
    }
    .icon-text i:hover{
        font-size: 35px;
        background-color: #a2ddff;
        transition: 0.3s;
    }
    .icon-text a{
        font-size: 20px;
    }
    .highlight-box {
      background-color: #f8f9fa;
      padding: 40px 20px;
      border-radius: 15px;
      margin-top: 30px;
    }

    .highlight-box img {
      max-width: 150px;
    }
    .custom_image{
        height: 150px !important;
        width: 100%;
        object-fit: cover;
        object-position: center center;
    }
/* bottom hero end */

/* Company News Start */
.card-slide {
      display: none;
      transition: all 0.5s ease;
    background-color: white;
    }

    .card-slide.active {
      display: flex;
    }

    .slide-img {
      width: 100%;
      border-radius: 10px;
    }

    .nav-dots {
      display: flex;
      justify-content: center;
      margin-top: 1rem;
    }

    .nav-dot {
      width: 15px;
      height: 15px;
      margin: 0 5px;
      border-radius: 50%;
      background-color: #ccc;
      cursor: pointer;
    }

    .nav-dot.active {
      background-color: #0d3b66;
    }
    #cardContainer{
      padding: 0 250px ;
    }
    .slide-img{
        height: 298px !important;
        object-fit: cover;
        object-position: center center;
    }
    .company_news_area{
        background-image: linear-gradient(#ffffff3a, #006aa792), url(../images/client-news-bg.jpg);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    /* From Uiverse.io by Kabak */ 
.read-more{
  height: 50px;
  margin: 5px;
  width: 120px;
  background: var(--primary-color);
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: pointer;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-family: Consolas, Courier New, monospace;
  border: solid #404c5d 1px;
  font-size: 16px;
  color: rgb(255, 255, 255);
  -webkit-transition: 500ms;
  transition: 500ms;
  border-radius: 5px;
  box-shadow: -1px -5px 15px #ddf2ff, 5px 5px 15px #a5e6ff,
    inset 5px 5px 10px #006a90, inset -5px -5px 10px #006a90;
}

.read-more:hover {
  -webkit-box-shadow: 1px 1px 13px #006a90, -1px -1px 13px #a5e6ff;
  box-shadow: 1px 1px 13px #006a90, -1px -1px 13px #a5e6ff;
  color: #d6d6d6;
  -webkit-transition: 500ms;
  transition: 500ms;
}

.read-more:active {
  -webkit-box-shadow: 1px 1px 13px #006a90, -1px -1px 33px #a5e6ff;
  box-shadow: 1px 1px 13px #006a90, -1px -1px 33px #a5e6ff;
  color: #d6d6d6;
  -webkit-transition: 100ms;
  transition: 100ms;
}

/* Company News End */
.bg-1{
    padding: 90px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.bg-2{
    background-image: linear-gradient(0deg, #6398b8, #ffffff4e), url(../images/9.jpg);
    padding: 90px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.text-justify{
    text-align: justify;
}
.text-area{
    padding: 10px;
    box-shadow: 0px 0px 8px 0px #a7a7a7;
    border-radius: 0px 0px 10px 10px;
}
.hero {
      background: url('https://images.unsplash.com/photo-1515162305284-69fe61e1f13c?fit=crop&w=1950&q=80') no-repeat center center;
      background-size: cover;
      padding: 50px 0;
      color: white;
      text-align: center;
    }
    .hero h1 {
      font-size: 3rem;
      font-weight: bold;
    }
    .hero .btn {
      margin: 10px;
    }
    .blog-card img {
      height: 200px;
      object-fit: cover;
    }

    /* West bend Start */
    .west-bend {
      position: relative;
      background-position: center center;
      background-repeat: no-repeat;
      background-size: cover;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 50px;
    }
    .west-bend::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 50, 0.7); /* Dark blue overlay */
    }
    .hero-content {
      position: relative;
      z-index: 1;
      padding: 20px;
    }
    .hero-content h1 {
      font-size: 3rem;
      font-weight: bold;
      margin-bottom: 20px;
    }
    .hero-content .icon {
      width: 50px;
      height: 50px;
      margin-bottom: 10px;
    }
    .hero-content p {
      font-size: 1.1rem;
      margin-bottom: 20px;
    }
    .btn-custom {
      background-color: transparent;
      border: 2px solid white;
      color: white;
      padding: 10px 20px;
      font-size: 1rem;
      transition: background-color 0.3s, color 0.3s;
    }
    .btn-custom:hover {
      background-color: white;
      color: #003087; /* Dark blue color for text on hover */
    }
    @media (max-width: 768px) {
      .west-bend {
        height: 600px;
      }
      .hero-content h1 {
        font-size: 2rem;
      }
      .hero-content p {
        font-size: 0.9rem;
      }
      .col-md-6 {
        margin-bottom: 20px;
      }
    }
    @media (max-width: 576px) {
      .west-bend {
        height: 700px;
      }
      .hero-content h1 {
        font-size: 1.5rem;
      }
      .btn-custom {
        font-size: 0.9rem;
        padding: 8px 16px;
      }
    }
    /* West bend End */

    
/* Footer Start */
.footer-top {
      /* background-color: var(--primary-color); */
      background-color: var(--primary-color);
      color: white;
      padding: 20px 0;
    }
    .footer-main {
      background-color: var(--footer-main);
      color: white;
      padding: 40px 20px;
    }
    .footer-bottom {
      /* background-color: var(--primary-color); */
      background-color: var(--primary-color);
      color: white;
      text-align: center;
      padding: 10px;
      font-size: 14px;
    }
    .footer-links a {
      display: block;
      color: white;
      text-decoration: none;
      margin-bottom: 5px;
    }
    .footer-links a:hover {
      text-decoration: underline;
    }
    .footer-contact i {
      margin-right: 8px;
    }
    .social-icons a {
      color: white;
      margin-left: 15px;
      font-size: 20px;
    }
/* Footer End */

/* FAQ Start */
.faq-section {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
        }
        .faq-section h2 {
            font-size: 2rem;
            font-weight: bold;
            text-align: center;
        }
        .accordion-item {
            border: none;
            margin-bottom: 10px;
            background-color: #f1f1f1;
        }
        .accordion-button {
            background-color: #f1f1f1;
            font-size: 1.1rem;
            padding: 15px;
        }
        .accordion-button:not(.collapsed) {
            background-color: #e0e0e0;
            color: #000;
        }
        .accordion-button:focus {
            box-shadow: none;
        }
        .accordion-body {
            padding: 20px;
            background-color: #e2f4ff;
        }
        .accordion-button:not(.collapsed) {
            background-color: #6398b8 !important;
        }
        @media (max-width: 576px) {
            .faq-section {
                padding: 15px;
            }
            .faq-section h2 {
                font-size: 1.5rem;
            }
            .accordion-button {
                font-size: 1rem;
                padding: 10px;
            }
            .accordion-body {
                padding: 15px;
            }
        }
/* FAQ End */