@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

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

:root {
    --primary: #000435a9;
    --overlay-color: rgba(83, 83, 83, 0.5);
    --general-font-family: "Poppins", sans-serif !important;
    --danger: #990000;
}



.danger {
    color: var(--danger);
}

body {
    font-family: var(--general-font-family);
    /*border: 2px red solid;*/
}

.banner-section {
    position: relative;
    background-image: url("../images/banner/photo-1605084776184-017bf26a8b19-ezgif.com-avif-to-jpg-converter.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    z-index: 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 15px 20px;
    background-color: var(--primary);
    border-radius: 16px;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    -ms-border-radius: 16px;
    -o-border-radius: 16px;
    /* border: 2px red solid; */
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
}

.navbar-left,
.navbar-right {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar-left li,
.navbar-right li {
    padding: 10px 20px;
}

.navbar-left li a,
.navbar-right li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.navbar-left li a:hover,
.navbar-right li a:hover {
    color: #ccc;
}

.logo-item {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    
}

.logo-item img {
    height: 40px;
}

.mobile-menu-toggle {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    
}

.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    
    .navbar-container {
        justify-content: space-between;
        background-color: var(--primary);
        left: 0;
        transform: none;
        width: 100vw;
        max-width: 100vw;
    }

    .navbar-left,
    .navbar-right {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        order: 1;
    }

    .logo-item {
        position: static;
        transform: none;
        margin-right: auto;
        padding-left: 10px;
    }

    .mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        border-radius: 0 0 16px 16px;
        z-index: 1000;
    }

    .mobile-nav ul {
        list-style: none;
        padding: 20px 0;
        margin: 0;
    }

    .mobile-nav li {
        padding: 15px 20px;
        text-align: center;
    }

    .mobile-nav a {
        color: white;
        text-decoration: none;
        font-size: 18px;
        display: block;
    }

    .navbar-container.mobile-menu-active .mobile-nav {
        display: block;
    }
}






.banner-text {
    font-family: var(--general-font-family);
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -2%;
    margin-top: 100px;
}

.banner-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}


.banner-buttons button:first-child,
.read-more a {
    background-color: var(--danger);
    color: #fff;
    border-radius: 5px;
    padding: 8px 50px;
    border: 2px solid transparent;
}

.banner-buttons button:first-child:hover {
    background-color: transparent;
    color: #fff;
    border: 2px solid var(--danger);
}


.banner-buttons a:last-child {
    background-color: transparent;
    color: #fff;
    padding: 8px 50px;
    border: 2px solid var(--danger);
}

.banner-buttons a:last-child:hover {
    /* background-color: var(--danger); */
    background-color: #000;
    color: #fff;
    padding: 8px 50px;
    border: 2px solid transparent;
}
.banner-buttons a {
    font-size: 1rem;
    padding: 10px 16px;
}

/* Medium screens (tablets, ≤768px) */
@media (max-width: 768px) {
    .banner-buttons a {
        font-size: 0.8rem;
        padding: 8px 8px !important;
    }
}

/* Small screens (phones, ≤480px) */
@media (max-width: 480px) {
    .banner-buttons a {
        font-size: 0.8rem;
        padding: 6px 6px !important;
    }
}

/* Optional: very large screens (e.g., 1200px+) */
@media (min-width: 1200px) {
    .banner-buttons a {
        font-size: 1.1rem;
        padding: 12px 20px;
    }
}

.banner-counter {
    font-family: var(--general-font-family);
    background-color: #FFFFFF33;
    border: 1px solid #FFFFFF66;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 32px;
}

.counts {
    text-align: center;
}

.counts .count {
    color: var(--danger);
    font-weight: 700;
    font-family: var(--general-font-family);
    font-size: 60px;
}

.recent-cases {
    background-color: #3D3C43;
    /* padding: 50px 5px !important; */

}

.recent-title {
    font-family: var(--general-font-family);
    /* text-align: center; */
    font-weight: bolder;

}

.case-img {
    height: 28rem;
    object-fit: cover;
    object-position: top;
}

.verified {
    position: absolute;
    right: 30px;
    top: 50px;
    padding: 15px 20px;
    background-color: green;
    border-radius: 32px;
}

.card-title {
    font-family: var(--general-font-family);
}

.read-more a:hover {
    background-color: #c70202;
    color: #fff;
}

.mission {
    background-color: #8B8EC1;
    border: 3px solid #fff;
    text-align: center;
    width: 60%;
    margin: auto;
    border-radius: 32px;
}


.mission-description {
    font-size: 1rem;
}

.learn-more {
    width: 100%;
    margin: auto;
    background-image: url("../images/banner/photo-1603546673990-6cad9c749144-ezgif.com-avif-to-jpg-converter.jpg");
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 450px;
    
}

.sub-title{
    height: 30px;
}

/* For small screens */
@media (max-width: 768px) {
    .learn-more {
        width: 100%;
        border-radius: 0; /* Optional: remove border-radius on small screens */
    }
}

.learn-more a,
.learn-more a:hover {
    background-color: var(--danger);
    color: #fff;
    border-radius: 5px;
    border: 2px solid transparent;
}

.subscribe {
    color: #3D3C43;
    display: flex;
    justify-content: space-between;
    /*flex-wrap: wrap;*/
    gap: 2rem;
    padding: 1.5rem;
}
.partner-logo {
    max-height: 60px;
    width: auto;
}

.partners-footer {
    flex: 1 ;
}
/* Responsive for tablets and below */
@media (max-width: 768px) {
    .subscribe {
        flex-direction: column;
        align-items: center;
        
        
    }
    .partners-footer {
        text-align: left !important;
       
        width:  100%!important;
    }
    
}

/* Responsive for small screens */
@media (max-width: 480px) {
    .subscribe {
        padding: 1rem;
    }

    
}

#form {
    display: block;
    position: relative;
}

#form #submit {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 10px;
    max-width: 120px;
    border: none;
    background-color: #3D3C43;
    border-radius: 20px;
    color: #fff;
}

#form #subscribe {
    width: 100%;
    padding: 16px 120px 16px 15px;
    background-color: #3D3C431A;
    font-size: 14px;
    border: none;
    border-radius: 20px;
}

#form #subscribe:focus {
    outline: none;
}

.footer-description {
    font-size: 0.8rem;
}

.quick-links h3{
    margin-bottom: 10px;
}

.quick-links ol {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.quick-links ol li a {
    text-decoration: none;
    color: #000;
    
}

.quick-links ol li{
    margin-bottom: 10px;
}

.divider {
    /* font-family: Mulish; */
    border-top: 1px solid #FAF3DD;
    text-align: center;
    font-size: 14px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .learn-more{
        width: 100%;
    }
    #form {
        display: block;
        width: auto;
        position: relative;
    }
    .case-img{
        height: 18rem !important;
    }

    .mission{
        width: 100%;
    }
    
    .banner-content {
        padding-top: 50px;
    }

    .counts .count {
        font-size: 30px;
    }

    .counts p {
        font-size: 15px;
    }

    .case-img{
        height: 20rem;
        object-fit: cover;
        object-position: top;
    }
}




/* ============================= LOGIN ============================= */
.login-section {
    background-image: url("../images/banner/banner-2.jpg");
    height: 100vh;
    background-repeat: no-repeat;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}


.login-form {
    width: 420px;
    padding: 25px 30px 15px 30px;
    border-radius: 16px;
    background-color: #FFFFFF;
}

.register-form {
    width: 420px;
    border-radius: 16px;
    background-color: #FFFFFF;
}

.login-form h4,
.register-form h4 {
    font-family: var(--general-font-family);
}

.login-form .instruct,
.register-form .instruct {
    font-family: inter;
}

.form-group {
    /* border: 1px solid red; */
    position: relative;
}

.login-form button,
.register-form button {
    background-color: var(--danger);
    color: #fff;
    border-radius: 5px;
    padding: 8px 50px;
    border: 2px solid transparent;
}

.fa-regular {
    position: absolute;
    right: 10px;
    bottom: 10px;
    cursor: pointer;
}


.register-form {
    width: 450px;
}

.pattern {
    font-size: 10px;
}

.patterns {
    font-size: 12px;
}



/* ============================= About Us ============================= */
.about-banner-section {
    position: relative;
    background-image: url("../images/banner/photo-1605454178746-ceb16b73a21b-ezgif.com-avif-to-jpg-converter.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 95vh;
    /*Adjust as needed */
    padding: 20px 0;
}


.about {
    font-size: 20px;
}

.vision-description {
    line-height: -2%;
    color: white;
}

.wwd {
    border-bottom: 8px solid var(--danger);
    width: 25%;
    height: 8px;

    
    margin: 0 auto;

}

.learn-more-2 {
    
    
    background-image: url("../images/banner/oladipo-adejumo-nn285M3S7FM-unsplash.jpg");
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 450px;
    
}
.learn-more-2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-position: inherit;
    background-size: inherit;
    filter: grayscale(200%);
    z-index: -1;
   
}


.learn-more-2 a,
.learn-more-2 a:hover {
    background-color: var(--danger);
    color: #fff;
    border-radius: 5px;
    border: 2px solid transparent;
}

.wwd-label {
    width: 80%;
    margin: auto;
    font-size: 1.3rem;
}

.marker {
    list-style-type: none;
    list-style-position: inside;
    padding: 0;
    margin: 0;
}

.marker-image {
    background-color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.methodology-section {
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.methodology-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    /* Responsive font size */
    margin-bottom: 50px;
    position: relative;
}

.methodology-section h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: red;
    margin: 10px auto 0;
    border-radius: 2px;
}

.methodology-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.step {
    flex: 1 1 280px;
    max-width: 320px;
    position: relative;
    padding: 20px;
}

.circle {
    background-color: white;
    color: #000;
    border: 2px solid red;
    outline: 2px solid black;
    outline-offset: -12px;
    border-radius: 50%;
    width: 100%;
    aspect-ratio: 1/1;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    margin: 0 auto;
    box-sizing: border-box;
}

.circle h4 {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.circle p {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.5;
    margin-bottom: 0;
}

.badge {
    background-color: green;
    color: white;
    font-weight: bold;
    padding: 15px;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    right: 30px;
    font-size: clamp(1.3rem, 2vw, 3rem);
    font-family: Raleway;
}

.center-step {
    margin-top: 0;
}

.check-link {
    color: #fff;
}


.hover-text-white:hover {
    color: white !important;
    text-decoration: underline !important;
}

.partner-logo {
    transition: transform 0.3s;
}

.partner-logo:hover {
    transform: scale(1.05);
}



@media (min-width: 768px) {
    .center-step {
        margin-top: 150px;
    }

    .circle {
        min-width: 280px;
    }
}

@media (max-width: 480px) {
    .circle {
        padding: 20px;
    }

    .badge {
        padding: 8px 12px;
        top: -10px;
        right: -10px;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .wwd-label {
        width: 100%;
        font-size: 1rem;
    }
}


/* =================== CONTACT US ====================== */
#contact {
    background-color: #3D3C43;
}

/* .contact-form {
    /* background-color: rgba(51, 51, 51, 0.4); */


#forms {
    background: linear-gradient(90deg, rgba(255, 161, 161, 0.6), #ff9a8b);
    border-radius: 8px;
}

.contact-text{
    color: white;
    margin-top: 40px;
    
}
.contact-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    /* background: linear-gradient(90deg, rgba(255, 161, 161, 0.6), #ff9a8b); */
}
.contact-text h2{
    color: white;
    font-size: 5rem;
}
.contact-text-big{
    font-size: 6rem;
    color: white;
    border-top: 8px solid var(--danger);
    padding:0px;
}

.contact-text h2 {
    margin-top: 0;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.contact-text-big {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ff6b6b, #ff9a8b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 0.9;
    position: relative;
    margin-bottom: 0.5rem;
}

.contact-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 90%;
}

.map-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ffffff;
    border-top: 4px solid #990000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .form-img {
        height: 100vh; /* Full viewport height */
        max-height: 700px; /* But not too tall */
    }
    
    #forms {
        padding: 2rem 3rem !important; /* More padding on desktop */
    }
}

/* Extra validation styling */
#forms .form-control:focus {
    border-color: var(--danger);
    box-shadow: 0 0 0 0.25rem rgba(153, 0, 0, 0.25);
}

.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875em;
}