body { font-family: 'Poppins', sans-serif; background: #f8f9fa; }
 :root {
            --primary-blue: #1e3a8a;
            --light-blue: #3b82f6;
            --pink: #ef4444;
            --dark-bg: #0f172a;
        }

        body {
            font-family: 'Poppins', sans-serif;
        }

        /* Top Bar */
        .top-bar {
            background-color: var(--primary-blue);
            color: white;
            padding: 10px 0;
            font-size: 14px;
        }

        /* Navbar */
        .navbar {
            background-color: white;
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .navbar-brand img {
            height: 64px;
        }

        .navbar-nav .nav-link {
            color: #333;
            font-weight: 500;
            margin: 0 15px;
            transition: color 0.3s;
        }

        .navbar-nav .nav-link:hover {
            color: var(--light-blue);
        }

        .btn-quote {
            background-color: var(--light-blue);
            color: white;
            padding: 8px 25px;
            border-radius: 5px;
            font-weight: 600;
        }

        .btn-quote:hover {
            background-color: #2563eb;
            color: white;
        }

        /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            color: white;
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('../img/Hero_bg.png') no-repeat;
            background-position: center;

            opacity:1;

        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero-section h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .hero-section .highlight {
            color: var(--light-blue);
        }

        .hero-section p {
            font-size: 1.4rem;
            margin-bottom: 30px;
            opacity: 0.9;
            font-weight: 500;
        }

             .hero-section p.sub {
            font-size: 1.2rem;
            margin-bottom: 30px;
            opacity: 0.9;
            font-weight: 400;
        }

        .btn-hero {
            background-color: var(--pink);
            color: white;
            padding: 15px 40px;
            border-radius: 5px;
            font-weight: 600;
            border: none;
            font-size: 1.1rem;
        }

        .btn-hero:hover {
            background-color: #dc2626;
        }

        /* Insurance Icons */
        .insurance-icons {
            display: flex;
            justify-content: center;
            gap: 32px;
            margin-top: 60px;
            flex-wrap: wrap;
        }

        .insurance-icon-item {
            text-align: center;
            color: white;
            margin: 10px;
        }

        .insurance-icon-item i {
            font-size: 3rem;
            margin-bottom: 10px;
            color: var(--light-blue);
        }

        .insurance-icon-item h6 {
            font-size: 0.9rem;
            font-weight: 500;
        }

        /* Services Section */
        .services-section {
            padding: 80px 0;
            background-color: #f8fafc;
            position: relative;
            z-index: 0;
        }
            .services-section::before {
              position: absolute;
            content: '';
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            min-height: 480px;
            background: url('../img/Services.png');
            padding: 80px 0;
           z-index: -1;
           background-size: cover;
           background-position: center;
        }

        .services-section h2 {
            font-size: 3rem;
            margin-bottom: 10px;
            color: #333;
        }
            .services-section h3 {
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: #333;
        }

        .services-section .highlight {
            color: var(--pink);
        }

        .service-card {
            background: white;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 30px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            transition: transform 0.3s, box-shadow 0.3s;
            text-align: center;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.15);
        }

        .service-card i {
            font-size: 3rem;
            color: var(--light-blue);
            margin-bottom: 20px;
        }

        .service-card h4 {
            color: var(--primary-blue);
            margin-bottom: 15px;
            font-weight: 600;
            font-size: 1.5rem;
            margin-top: 20px;
        }

        .service-card p {
            color: #666;
            font-size: 0.95rem;
            line-height: 1.6;
           min-width: 0;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            -webkit-line-clamp: 2;
            text-overflow: ellipsis;
 line-clamp: 2;
        }

        /* Trust Section */
        .trust-section {
            padding: 80px 0;
            background: white;
            position: relative;
            z-index: 0;
        }
            .trust-section::before {
           position: absolute;
            content: '';
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            min-height: 480px;
            background: url('../img/partners.png');
            padding: 80px 0;
           z-index: -1;
           opacity: 0.6;
           background-size: cover;
           background-position: center;
        }

        .trust-section h2 {
            font-size: 3rem;
            margin-bottom: 50px;
            color: #333;
        }
             .trust-section h3 {
            font-size: 1.5rem;
            margin-bottom: 16px;
            color: #333;
        }

        .trust-section .highlight {
            color: var(--pink);
        }

        .partner-logos {
            display: flex;
            justify-content:center;
            align-items: center;
            flex-wrap: wrap;
            gap:24px;
            max-width: 960px;
            margin: auto;
        }
        .partnerlogo_cont {
            min-width: 200px;
           height: 84px;
            display: flex;
            justify-content: center;
            align-items: center;
            border:1px solid #e5e5e5  ;
            padding:12px;
            border-radius: 8px;
            background: #fff;
        }

       .partnerlogo_cont .partner-logo {
            height: auto;
             max-width: 200px;
            opacity: 1;
            transition: opacity 1s;
            width:auto;
          
        }

    

        /* Quote Section */
        .quote-section {
            padding: 56px 0 76px;
         z-index: 0;            position: relative;
        }
          .quote-section::before {
            position: absolute;
            content: '';
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            min-height: 540px;
            background: url('../img/quotebg.png');
            padding: 80px 0;
           z-index: -1;
           background-size: cover;
           background-position: center;
           
            
        }

        .quote-form {
            background: white;
            border-radius: 15px;
            padding: 40px;
            position: relative;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        }

        .quote-form h2 {
            color: var(--primary-blue);
            margin-bottom: 10px;
            font-weight: 600;
            font-size: 3rem;
        }

        .quote-form p {
            color: #666;
            margin-bottom: 4px;
            font-size: 1.5rem;
        }

        .quote-form .form-control, .quote-form .form-select {
            padding: 12px 15px;
            margin-bottom: 15px;
            border: 1px solid #e2e8f0;
            border-radius: 5px;
        }
        .custom-dropdown{
               max-height: 200px;
            overflow-y: auto;
        }
        .form-select {
            max-height: 200px;
            overflow-y: auto;
        }

        .btn-submit {
            background-color: var(--pink);
            color: white;
            padding: 15px;
            width: 100%;
            border: none;
            border-radius: 5px;
            font-weight: 600;
            font-size: 1.1rem;
        }

        .btn-submit:hover {
            background-color: #dc2626;
        }

             .quote-image {
              position: relative;
  width: 100%;
  height: 650px;
 
  background-size: contain;
  z-index:0;
            }
                         .quote-image::before {
              position: absolute;
              content: '/';
              top:66px;
              left:190px;
              bottom: 0;
              display: block;
              width: 100%;
              height: 560px;
  width: 100%;
  height: 660px;
  background: url('../img/manshowingform.png') no-repeat center bottom;
  background-size: contain;
  z-index: -1;
            }

        /* Footer */
        .footer {
            background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
            color: white;
            padding: 60px 0 20px;
        }

        .footer h5 {
            color: white;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .footer ul {
            list-style: none;
            padding: 0;
        }

        .footer ul li {
            margin-bottom: 10px;
        }

        .footer ul li a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer ul li a:hover {
            color: white;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 20px;
            margin-top: 40px;
            text-align: center;
            color: rgba(255,255,255,0.7);
        }

        /* Mobile Responsive */
        /* Scroll to Top Button */
        .scroll-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--pink);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
            transition: all 0.3s;
            z-index: 1000;
            border: none;
        }

        .scroll-to-top:hover {
            background: #dc2626;
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
        }

        .scroll-to-top.show {
            display: flex;
        }

        @media (max-width: 768px) {
            .hero-section h1 {
                font-size: 2rem;
            }

            .hero-section {
                padding: 60px 0;
            }

            .services-section h2,
            .trust-section h2 {
                font-size: 1.8rem;
            }

            .insurance-icons {
                margin-top: 40px;
            }

            .quote-image {
              position: relative;
  width: 100%;
  height: 420px;
  background: url('./assets/img/manshowingform.png') no-repeat center bottom;
  background-size: contain;
  z-index: 2;
  display: none;
            }



            .scroll-to-top {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
            }
        }
        .business_page {
            max-height: 440px;
            padding: 48px 0;
        }
        .business_page::before {
         background: url(../img/businessinsur.jpg) no-repeat, linear-gradient(90deg, #11382e 0%, #2c2c5f 35%, #245050 100%);
 background-position: center;
 background-size: cover;
    background-blend-mode: multiply;
          
        }
        .hd-clr {
            color:#21303c;
        }
           .txt-clr {
            color:#363738;
        }
        .widget{
            position: relative;   max-width: 380px;   
            margin-bottom: 20px;
            padding-bottom: 12px;
        }

        @media all and (max-width:960px){
            .widget{
                max-width:100% !important;
            }
        }
        .widget-title{
            padding: 16px;
            background: #002A5C;
         border-top-left-radius: 4px;border-top-right-radius: 4px;
        
            color: #fff;
            text-transform: uppercase;
          

        }
        .icon-bg{
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            background: #0d85df;
            padding: 12px;
            border-radius: 50%;
            color: #fff;
        }
      .widget  .body{
background: #fff;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
margin-bottom: 16px;
border-bottom-left-radius: 4px;border-bottom-right-radius: 4px;
        }
        .download-box:hover {
  border-color: #0d85df;
  box-shadow: 0 0 6px rgba(0, 119, 255, 0.25);
}

   .services-box {
      border-radius: 8px;
     background: #fff;
     box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    
    }
    .services-box h5 {
      background: #002854;
      color: #fff;
      padding: 24px;
      border-radius: 6px;
      font-weight: 700;
      font-size: 17px;
    }
    .service-item {
    border-bottom: 1px solid #eee;

      padding: 16px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
         background: #fff;
      transition: 0.25s;
      font-size: 16px;
    }
    .service-item:hover {
      background: #f1f6ff;
    }
    .service-item i {
      margin-right: 10px;
      color: #002854;
      font-size: 20px;
    }
    .service-item.active {
      background: #759efc;
      color: #fff;
      border: none;
    }
    .service-item.active i {
      color: #fff;
    }
    .personal_page{
           max-height: 440px;
            padding: 48px 0;

    }
        .personal_page::before{
           max-height: 440px;
            padding: 48px 0;
                 background: url(../img/personalinsurance.jpg) no-repeat, linear-gradient(90deg, #11382e 0%, #2c2c5f 35%, #245050 100%);
 background-position: center;
 background-size: cover;
    background-blend-mode: multiply;
    }

/* Hold dropdown open on hover */
.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown .dropdown-menu:hover {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

/* 
.dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    margin-top: 0;
    border-radius: 0;
  
  
    transition: all 0.15s ease-in-out;
}


.nav-item.dropdown {
    position: static;
  
}

.dropdown-item:hover {
    background-color: #f5f5f5;
} */
/* .nav-item.dropdown:hover i {
    transform: rotate(180deg);
    transition: 0.2s ease;
} */



.nav-item .dropdown-menu { display: none; opacity: 0; visibility: hidden; transition: opacity .12s; position: absolute; top:100%;}

/* when .show added by JS */
.nav-item.dropdown.show .dropdown-menu {
  display: block !important;
  opacity: 1;
  visibility: visible;
}

/* keep z-index so it sits above hero */
.nav-item.dropdown { position: static; z-index: 2000; }

/* optional visual styles */
.dropdown-menu { border-radius:6px; box-shadow:0 6px 18px rgba(0,0,0,.15); }
.dropdown-item { font-size:16px;color:#0d85df ;}




