@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --brand: #1f3f6d;
    --brand-dark: #142b4d;
    --brand-cyan: #2b4f7f;
    --brand-mint: #4d6f99;
    --brand-lime: #6e88ad;
    --dark: #0b1f3a;
    --body: #4a5f79;
    --border: rgba(11, 31, 58, 0.12);
    --shadow: 0px 12px 34px rgba(11, 31, 58, 0.12);
    
}

body {
    font-family: "Inter", "Roboto", "Open Sans", sans-serif;
    color: var(--body);
    line-height: 1.68;
    letter-spacing: 0.005em;
}

h1,h2,h3,h4,h5,h6,
.display-1,.display-2,.display-3,.display-4 {
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.015em;
}

.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--dark);
    transition: all 0.4s ease;
    font-weight: 500;
}

a:hover {
    color: var(--brand);
}

section {
    padding-top: 88px;
    padding-bottom: 88px;
}

.text-brand {
    color: var(--brand) !important;
}


.hero-slider .owl-prev,
.hero-slider .owl-next{
    background-color: rgba(255, 255, 255, 0.3) !important;
    width: 60px !important;
    height: 60px !important;
    display: block;
    display: grid;
    place-items: center;
    color: #fff !important;
    border-radius: 100px;
    line-height: 0;
    border-radius: 100px !important;
    position: absolute;
    top: 50%;
    font-weight: 600 !important;
    font-size: 12px !important;
    transition: all 0.4s ease;
    margin-top: -30px !important;
}

.owl-prev {
    left: 0;
}
.owl-next {
    right: 0;
}

.hero-slider .owl-prev:hover,
.hero-slider .owl-next:hover {
    background-color: var(--brand) !important; 
}

.owl-dot.active span{
    background-color: var(--brand) !important;
}


 /* slide */
 .slide {
     min-height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     position: relative;
}

.slide1 {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../img/Homepage2.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide2 {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../img/family-homepage.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide .display-3 {
    text-transform: uppercase;
    color: #fff;
}

/* navbar */
.top-nav {
    background: linear-gradient(90deg, #0b1f3a, #1f3f6d);
    color: #fff;
    padding-top: 3px;
    padding-bottom: 3px;
}

.top-nav p {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 14px;
    font-size: 0.82rem;
    font-weight: 500;
}

.top-nav span,
.top-nav i {
    vertical-align: middle;
}

.navbar {
    box-shadow: var(--shadow);
    border-bottom: 1px solid rgba(4, 26, 61, 0.06);
}

.navbar .container {
    min-height: 86px;
}

.navbar .navbar-collapse {
    align-items: center;
    justify-content: flex-end;
}

.navbar .navbar-nav {
    align-items: center;
    gap: 0.25rem;
}

.finlegal-logo-link {
    display: inline-flex;
    align-items: center;
    margin-right: 2rem;
    padding: 0.2rem 0;
}

.finlegal-logo {
    width: auto;
    height: auto;
    max-height: 68px;
    object-fit: contain;
}

.social-icons a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.social-icons a:hover {
    background: linear-gradient(135deg, #fff, rgba(226, 234, 245, 0.98));
    color: var(--brand);
}
.conditions-section{
    margin: 20px 0;
}
.conditions-section a{
   color: var(--brand);
   margin: 0 10px;
}

.conditions-section a:hover {
   color: var(--brand-dark);
}

.navbar .navbar-nav .nav-link {
    color: var(--dark);
    font-family: "Inter", "Roboto", "Open Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 0.6rem 0.72rem;
    position: relative;
    transition: color 0.25s ease;
}

.navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0.72rem;
    right: 0.72rem;
    bottom: 0.24rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-dark), var(--brand));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.24s ease;
}

.navbar .navbar-nav .nav-link:hover {
    color: var(--brand);
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link:focus-visible::after {
    transform: scaleX(1);
}

.navbar .navbar-nav .nav-link.active {
    color: var(--brand-dark);
    font-weight: 600;
}

.site-logo-link {
    display: inline-flex;
    align-items: center;
    margin-right: 1.8rem;
    padding: 0;
    flex-shrink: 0;
}

.site-logo {
    display: block;
    width: auto;
    height: 60px;
    max-width: 220px;
    min-width: 160px;
    object-fit: contain;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.navbar-brand {
    margin-right: 2rem;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar .navbar-brand img {
    width: auto;
    height: auto;
    max-width: 100%;
}

.btn {
    padding: 8px 26px;
    border-radius: 999px;
    font-weight: 600;
    min-height: 40px;
}

.btn-brand {
    border-color: var(--brand);
    background: linear-gradient(135deg, var(--brand), var(--brand-cyan));
    color: #fff;
}

.btn-brand:hover {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    border-color: var(--brand-dark);
    color: #fff;
}

.btn-outline-secondary {
    color: var(--brand);
    border-color: rgba(31, 63, 109, 0.34);
    background: rgba(31, 63, 109, 0.04);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    color: #fff;
    border-color: var(--brand);
    background: linear-gradient(135deg, var(--brand-dark), var(--brand), var(--brand-cyan));
    box-shadow: 0 14px 32px rgba(31, 63, 109, 0.22);
}

.navbar .btn {
    font-size: 0.9rem;
}

.btn-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.06);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: var(--dark);
    border-color: #fff;
    background: linear-gradient(135deg, #fff, rgba(226, 234, 245, 0.98));
}

.intro {margin-bottom: 36px;
text-align: center;}

.intro p {
    max-width: 500px;
}
.intro h6{
    color: var(--brand);
    font-weight: 400;
    text-transform: uppercase;
}

.intro h1 {
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 1.18;
}

.info-box {
    align-items: center;
    display: flex;
}

.info-box img {
    width: 90px;
}


#milestone {
    background: linear-gradient(rgba(20, 43, 77, 0.86), rgba(43, 79, 127, 0.8)), url(../img/thedigitalartist-banner-a.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#milestone h1,
#milestone p {
    color: #fff;
}

.service {
    padding: 32px;
    background: linear-gradient(180deg, #fff, rgba(242, 246, 251, 0.96));
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 31, 58, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.28s ease;
}

.service::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-dark), var(--brand), var(--brand-lime));
}

.service h5 {
    margin-top: 24px;
    margin-bottom: 14px;
    line-height: 1.28;
}

.service img {
    width: 90px;
}

.service:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(11, 31, 58, 0.14);
    border-color: rgba(31, 63, 109, 0.22);
}

@media (max-width: 991.98px) {
    section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .navbar .container {
        min-height: 78px;
    }

    .site-logo {
        height: 52px;
        max-width: 190px;
        min-width: 148px;
    }

    .navbar .navbar-nav {
        align-items: flex-start;
        gap: 0;
        margin-top: 0.6rem;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0.62rem 0;
    }

    .navbar .navbar-nav .nav-link::after {
        left: 0;
        right: auto;
        width: 36px;
    }
}


.project {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.project h6 {
    font-weight: 400;
}

.project h6::before {
    content: "";
    height: 2px;
    width: 30px;
    display: inline-block;
    background: var(--brand);
    vertical-align: middle;
    margin-right: 10px;
}


.project .overlay {
    width: 100%;
    height: 220px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(31, 63, 109, 0) 0%, var(--dark) 100%);
}

.project .content {
    position: absolute;
    left: 10%;
    bottom: 10%
}

.project h2,
.project h6 {
    color: #fff;
}

.team-member {
    text-align: center;
}

.team-member .image{
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.team-member .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: -10%;
    background: linear-gradient(180deg, rgba(20, 43, 77, 0.82), rgba(43, 79, 127, 0.7));
    opacity: 0;
    transition: all 0.4s ease;
}

.team-member h5 {
    margin-top: 16px;
    margin-bottom: 4px;
}

.team-member .social-icons {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-member .social-icons a {
    width: 40px;
    height: 40px;
}

.team-member:hover .social-icons {
    top: 50%;
    opacity: 1;
}

.team-member:hover .overlay {
    top: 0%;
    opacity: 1;
}

#reviews {

    background: linear-gradient(-90deg, rgba(8, 32, 50, 0.8), rgba(8, 32, 50, 0.8)), url(../img/Homepage2.jpeg), #082032;;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.review {
    text-align: center;
    z-index: 2;
    position: relative;
    margin: 15px;
    max-width: 768px;
    margin: auto;
}

.review .bxs-quote-alt-left {
    font-size: 120px;
    position: absolute;
    opacity: 0.1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.review img {
    width: 80px !important;
    height: 80px;
    border-radius: 100px;
    margin: auto;
}

.review h5 {
    margin-top: 16px;
    margin-bottom: 4px;
    color: #fff;
}

.review h3 {
    margin-top: 26px;
    margin-bottom: 26px;
    font-size: 22px;
    color: #fff;
    font-weight: 400;
    line-height: 1.7;
}

.review small {
    color: var(--brand);
}

.review .stars {
    color: var(--brand);
}

.blog-post {
    position: relative;
    background-color: #fff;
    box-shadow: var(--shadow);
}

.blog-post .content {
    padding: 32px;
}

.blog-post a {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--brand);
    padding: 2px 12px;
    border-radius: 100px;
    text-decoration: none;
    color: #fff;
}

.blog-post h5 {
    margin-top: 12px;
    margin-bottom: 12px;
}

.blog-post small {
    text-transform: uppercase;
    color: var(--brand);
    text-decoration: underline;
}

footer {
    background: #f2f6fb;
}

footer .footer-top {
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid rgba(11, 31, 58, 0.12);
    padding-bottom: 20px;
    padding-top: 20px;
}

footer .navbar-brand {
    color: var(--dark);
}

footer p {
    color: var(--body);
}

footer .social-icons a {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-left: 4px;
    margin-right: 4px;
    color: var(--brand);
    background-color: rgba(31, 63, 109, 0.12);
}

footer .social-icons a:hover {
    background-color: rgba(31, 63, 109, 0.22);
    color: var(--brand-dark);
}

.loader {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0b1f3a;
    z-index: 99999;
    position: fixed;
    left: 0;
    right: 0;
}


input.form-control {
    border-color: transparent;
    height: 44px;
}

.form-control {
    background-color: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.04);;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--brand);
}