/* Base font for body */
body {
    font-family: 'Inter', sans-serif;
}

/* Use Poppins for headings */
h1, h2, h3, h4, h5, h6,
.home-banner-h1 {
    font-family: 'Poppins', sans-serif;
}


.nav-item {
    padding-right: 15px;
    font-weight: 600;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: #055988;
    font-weight: 600;
}

.navbar-light .navbar-nav .nav-link.active {
    color: #055988 !important;
    font-weight: 600;
}
.login-btn{
    background-color: #055988;
    color: #ffffff;
    font-weight: 500;

}
.login-btn:hover{
     color: #ffffff;
    font-weight: 500;
    
}

#bg-css.main-search-seaction {
    background-image: url(../images/home-banner.png);
    background-size: cover;
    margin-bottom:5%;
}
.main-search-seaction .container {
    position: relative;
    z-index: 2;
}

/* Make sure section fills viewport */
@media only screen and (min-width: 992px) {
    .main-search-seaction {
        height: 792px;
    }
}

/* Optional typography improvements */
.home-banner-h1, .home-banner-p {
    color: white;
    margin-bottom:10px;
}
.frist-card   
{
       width: 92% !important;
    background-color: rgba(0, 0, 0, 0.6); /* black with 60% opacity */

    margin-bottom: 45px;
    align-items: center;
    display: flex
;
    justify-content: center;
    text-align: center;
    padding: 20px !important;
        flex-direction: column; /* Ensure content stacks vertically */

}
.get-start-btn{
     background-color: #F6AB2E;
    color: #ffffff;
    border-radius: 0px;
    padding: 4px 30px;
}
/* .get-start-btn:hover{
     background-color: #F6AB2E;
    color: #ffffff;
    border-radius: 0px;
    padding: 4px 30px;
} */
#bg-css1.access-to{
    background-image: url('../images/acces-to.png');
    background-size: cover; 
    background-position: center;
    padding: 2% 6%;
        background-color: rgba(5, 89, 136, 0.6);
            overflow: hidden;
                position: relative; /* important to scope overlay within this section */

 /* black with 60% opacity */

}
 

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(5, 89, 136, 0.6); /* semi-transparent overlay */
    z-index: 1;
}

.access-to .container, 
.access-to .row {
    position: relative;
    z-index: 2; /* content stays above overlay */
}

.logos-img{
max-width:85%;
    z-index: 10;

}
/* .overlay {
    position: absolute;
    top:62%; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(5, 89, 136, 0.6);  
    z-index: 1;
} */

.access-to .container {
    position: relative;
    z-index: 2;
}

.home-banner-h1, .home-banner-p {
    font-family: 'Poppins', sans-serif;
    color: #fff;
}
.logo-index{
    z-index: 1000;
}
.second-css-h2 {
    text-transform: uppercase;
    font-size: 1.7rem;
    font-weight: normal;
    margin-bottom: 20px;
    color: #333;
    width:84%;
}

.second-css-p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
      width:84%;
}
 

.img-mar-top {
    width: 100%;
    height: auto;
    margin-top: 20px; /* Add space between images */
    border-radius: 8px; /* Optional: Add border-radius for rounded corners */
}

.image-container img:first-child {
    margin-bottom: 15px; /* Space between the two images */
}

@media (max-width: 768px) {
    .second-css-h2 {
        font-size: 1.5rem;
    }

    .second-css-p {
        font-size: 1rem;
    }

    .image-container img {
        width: 90%; /* Ensure images scale down properly on mobile */
    }
}
#bg-css2.type-search-section{
    background-image: url(../images/type-back.png);
    background-size: cover;
    margin-bottom:5%;
     border-radius: 7px;
    margin-left: 3%;
    width: 94%;

}

#bg-css4.agent-section{
    background-image: url(../images/servies-back.png);
    background-size: cover;
    margin-bottom:5%;
   
    

}
.custom-card-agents1 {
  background-color: #004b87;
    border-radius: 35px 0px 35px 0px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  color: white;
  transition: transform 0.3s;
 
    border-right: 3px solid;
}
.custom-card-agents:hover {
  transform: translateY(-5px);
}
.card-icon img {
  max-width: 60px;
}
.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  border: 1px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
 

.custom-card {
    background-color: #004c80;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
      position: absolute;
    min-height: 460px;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.6s ease, opacity 0.6s ease;
    z-index: 0;
    text-align: left;
    padding:3%;
    
}
 
    .custom-card.active {
      transform: translateX(0);
      opacity: 1;
      z-index: 2;
    }

    .custom-card.exit-left {
      transform: translateX(-100%);
      opacity: 0;
      z-index: 1;
    }

    .custom-card.exit-right {
      transform: translateX(100%);
      opacity: 0;
      z-index: 1;
    }

    #card-slider {
      position: relative;
      height: 462px;
      overflow: hidden;
    }

    #card-nav .dot {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      border: none;
      background-color: #ffffff;
      margin: 0 6px;
      cursor: pointer;
    }

    #card-nav .dot.active {
      background-color: #F6AB2E;
    }

    .arrow-btn {
       position: absolute;
      bottom: 20px;
      right: 20px;
      font-size: 24px;
      background-color:#F6AB2E;
      color: #000000;
      border-radius: 9px;
      padding: 0px 10px;
    }


.custom-card h5 {
    font-size: 26px;
    margin-bottom: 15px;
}

.custom-card p {
    font-size: 16px;
    line-height: 1.6;
}

 

/* Adjust for small screens */
@media (max-width: 767px) {
    .custom-card {
        min-height: auto;
    }
}
  
.custom-card-agents {
    background-color: #004c80;
    color: #fff;
    border-radius: 35px 0px 35px 0px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    position: relative;
    min-height: 282px;
    border-right: 3px solid;
}

.ccustom-card-agents:hover {
    transform: translateY(-5px);
     border:1px solid #ffffff;
     border-radius: 12px;
}

.custom-card-agents h5 {
    font-size: 26px;
    margin-bottom: 15px;
}

.custom-card-agents p {
    font-size: 16px;
    line-height: 1.6;
}
.width-setting{
width: 17%;
    border-radius: 20px;
}
.button-margin{
    margin-top:4%;
}
 .hero-section {
        min-height: 500px;
        overflow: hidden;
    }
    
    .hero-content {
        background-color: #055988;
        color: white;
        padding: 80px 50px;
        min-height: 693px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }
    
    .hero-image {
        min-height: 500px;
        position: relative;
        padding: 0;
        overflow: hidden;
    }
    
    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 3.2rem;
        font-weight: 700;
        line-height: 1.1;
        margin-bottom: 25px;
        color: white;
    }
    
    .hero-subtitle {
       font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    max-width: 486px;
    }
    
    .btn-hero {
        background-color: #F39C12;
        border: none;
        color: white;
        font-weight: 600;
        padding: 12px 25px;
        font-size: 14px;
        border-radius: 3px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        width: fit-content;
    }
    
    .btn-hero:hover {
        background-color: #E67E22;
        color: white;
        transform: translateY(-1px);
        text-decoration: none;
    }
    
    .btn-hero i {
        font-size: 12px;
        transition: transform 0.3s ease;
    }
    
    .btn-hero:hover i {
        transform: translateX(2px);
    }
    
    /* Responsive Design */
    @media (max-width: 991px) {
        .hero-content {
            padding: 60px 30px;
            text-align: center;
            min-height: 400px;
        }
        
        .hero-title {
            font-size: 2.8rem;
        }
        
        .hero-subtitle {
            max-width: 100%;
        }
        
        .hero-image {
            min-height: 300px;
        }
        
        .hero-image img {
            min-height: 300px;
        }
    }
    
    @media (max-width: 767px) {
        .hero-content {
            padding: 40px 20px;
            min-height: 350px;
        }
        
        .hero-title {
            font-size: 2.2rem;
        }
        
        .hero-subtitle {
            font-size: 1rem;
        }
        
        .hero-image {
            min-height: 250px;
            order: -1;
        }
        
        .hero-image img {
            min-height: 250px;
        }
    }

     .api-features-section {
        padding: 80px 0;
        background-color: #ffffff;
    }
    
    .section-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #2c3e50;
        text-align: center;
        margin-bottom: 25px;
        line-height: 1.3;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        color: #7f8c8d;
        text-align: center;
        margin-bottom: 80px;
        line-height: 1.6;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .content-section {
        margin-top: 60px;
    }
    
    .content-title {
        font-size: 2rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 25px;
        line-height: 1.3;
        text-transform: uppercase;
    }
    
    .content-text {
        font-size: 1rem;
        color: #7f8c8d;
        line-height: 1.7;
        margin-bottom: 35px;
        text-align: justify;
    }
    
    .btn-get-access {
        background-color: transparent;
        border: 2px solid #2c3e50;
        color: #2c3e50;
        font-weight: 600;
        padding: 12px 30px;
        font-size: 14px;
        border-radius: 3px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-block;
    }
    
    .btn-get-access:hover {
        background-color: #2c3e50;
        color: white;
        text-decoration: none;
        transform: translateY(-1px);
    }
    
    .workspace-image {
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .image-container {
        padding-left: 30px;
    }
    
    .content-container {
        padding-right: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Responsive Design */
    @media (max-width: 991px) {
        .section-title {
            font-size: 2rem;
        }
        
        .content-title {
            font-size: 1.7rem;
        }
        
        .image-container,
        .content-container {
            padding-left: 15px;
            padding-right: 15px;
        }
        
        .content-section {
            margin-top: 40px;
        }
        
        .workspace-image {
            margin-bottom: 30px;
        }
    }
    
    @media (max-width: 767px) {
        .api-features-section {
            padding: 60px 0;
        }
        
        .section-title {
            font-size: 1.8rem;
        }
        
        .section-subtitle {
            margin-bottom: 50px;
        }
        
        .content-title {
            font-size: 1.5rem;
            text-align: center;
        }
        
        .content-text {
            text-align: left;
        }
        
        .btn-get-access {
            display: block;
            text-align: center;
            margin: 0 auto;
        }
    }