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

body{
    font-family:Arial, Helvetica, sans-serif
}

.sm {
    font-weight: 300;
    letter-spacing: 0.2em;
}


.navbar{
    display: flex;
    flex-direction: row;
    background: linear-gradient(rgba(1, 1, 29, 1), rgba(255, 255, 255, 0));
    position: sticky;
    top: 0;
    padding: 2%;
    height: 14vh;
    z-index: 1000;
}

.navbar .logo {
    /* scale: 0.7; */
    flex: 10%;
    filter: invert(100%);
    margin: -16% 0% 0% 8%;
}

.navbar-links {
    flex: 80%;
    display: flex;
    justify-content: center; /* Centers items horizontally */
    align-items: center; /* Centers items vertically */
    margin: 0;
}

.navbar-links ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar-links ul li {
    margin: 0 1.5vw; /* Adjusts spacing between items using viewport width */
}

.navbar-links ul li a {
    text-decoration: none;
    font-size: 1.1vw; /* Adjust font size using viewport width */
    color: #ffffff;
    transition-duration: .1s;
    padding: 1vw 1vw; /* Adjust padding using viewport width */
}

.navbar-links ul li a:hover {
    border-bottom: 0.2vw solid #ffb800;
    color: #ffb800;
}

.title-text-contact{
    text-align: center;
    align-items: center;
    background-color: rgb(1, 1, 29);
    color: #eee;
    font-size: 4vh;
    padding-bottom: 8vh;
}


.landing {
    background: linear-gradient(
        rgba(1, 1, 29, 1), 
        rgba(1, 1, 29, 0.5), 
        rgba(1, 1, 29, 0.7), 
        rgba(1, 1, 29, 1)
    ), 
    url(/img/gen5.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    margin-top: -14vh;
}

.landing-text {
    text-align: center;
    color: #fff;
    align-items: center;
    justify-content: center;
    /* width: 100vw; */
    transform: translateY(40vh);
}

.landing-text h1 {
    font-size: 10vh;
}

.landing-text p {
    font-size: 3vh;
    display: flex;
    flex-direction: column;
}

.landing-content {
    line-height: 100px;
    font-weight: bold;
    display: flex;
    height: 100px;
    text-align: left;
    align-items: center;
    justify-content: center;
    overflow-y: hidden;
}

.movein {
    color: #ffb800;
    margin-left: 1vw;
    box-sizing: border-box;
    font-size: 3vh;
    animation: movein 6s linear infinite;
}

.landing-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-buttons a {
    text-decoration: none;
    font-weight: bolder;
    display: inline-block;
    margin: 0 1vw; 
    padding: 2vh 4vh;
    color: #ffffff;
    border: 1px solid #ffb800;
    position: relative;
    z-index: 1;
    transition-duration: 0.2s;
    cursor: pointer;
}

.landing-buttons a:hover {
    background-color: #ffb700d0;
}




/* FEATURES SECTION */
.feature {
    width: 100%;
    /* height: ; */
    padding: 5vh 0;
    background-color: rgb(1, 1, 29);
    color: #fff; /* Contrasting white text for readability */
}

.feature .title-text {
    text-align: center;
    padding-bottom: 5vh;
}

.feature .title-text h1 {
    font-size: 6vh;
    font-weight: bolder;
    color: #fff;
    margin-bottom: 2vh;
}

.feature .title-text h2 {
    font-size: 3vh;
    color: #0096;
    margin-bottom: 2vh;
}

/* Feature box styling */
.feature .feature-box {
    width: 90%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.feature .features {
    flex-basis: 60%;
    padding: 2vh;
    text-align: left;
}

/* Feature Image */
.feature .features-img {
    flex-basis: 40%;
    text-align: center;
}

/* Feature Content */
.features .feature-content {
    margin: 0 auto 4vh;
    text-align: left;
    line-height: 1.6;
}

.feature .features h1 {
    font-size: 4vh;
    font-weight: bold;
    color: #ffb800;
    margin-bottom: 1.3vh;
}

.feature .features p {
    color: #ddd;
    font-size: 2.7vh;
    line-height: 1.7;
}

.feature .features-img img {
    width: 20vw;
    border-radius: 15px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.5);
}

/* Feature Description Box */
.features-description {
    display: flex;
    align-items: center;
    margin-bottom: 3vh;
}

.feature-icon .fas {
    width: 6vh;
    height: 6vh;
    font-size: 3vh;
    line-height: 6vh;
    border-radius: 10px;
    color: #ffb800;
    border: 1px solid #ffb800;
    margin-right: 2vh;
}

.feature-text p {
    font-size: 2.2vh;
    color: #eee;
    padding-left: 2vh;
    text-align: left;
}

/* Feature Cards Section */
.feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 7vh;
    margin-bottom: 5vh;
    cursor: pointer;
}

/* Each Card */
.feature-card {
    flex-basis: 45%; /* 2 cards per row */
    padding: 2vh;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.02); /* Subtle background */
    border-radius: 10px;
    margin-bottom: 4vh;
    transition: transform 0.3s ease;
}

.feature-card h1{
    color: #ffb800;
    margin-bottom: 1.5vh;

}

.feature-card .feature-text p{
    line-height: 1.5;
}

/* Card Hover Effect */
.feature-card:hover {
    transform: translateY(-0.8vh);
    box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.1);
    
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .feature-card {
        flex-basis: 100%; /* Full width for smaller screens */
    }

    .feature .features {
        flex-basis: 100%;
    }

    .feature .features-img {
        flex-basis: 100%;
        margin-top: 4vh;
    }
}

/* Notary Nepal Section */
.notary-nepal {
    background-color: rgb(1, 1, 29);
    color: white;
    padding: 0vh 10vw 10vh 10vw;
}

.notary-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 5vw;
}

.notary-description {
    flex: 1;
}
.notary-nepal h1{
    font-size: 3vw;
    text-align: center;
    margin: 0vh 0vh 6vh 0vh;
}

.notary-description h2 {
    font-size: 2.3vw;
    margin-bottom: 2vh;
    color: #ffb700;
}

.notary-description p {
    font-size: 1.3vw;
    line-height: 1.6;
}

.notary-image {
    flex: 1;
}

.notary-image img {
    width: 70%;
    height: auto;
    border-radius: 10px;
    margin: 0 0 0 8vw;
}

.notary-cards {
    display: flex;
    justify-content: space-between;
    margin-top: 5vh;
}

.notary-card {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.02); /* Subtle background */
    padding: 2vw;
    border-radius: 10px;
    flex: 1;
    margin: 0vw 2vw 0 0;
    transition-duration: .5s;
    cursor: pointer;
}

.notary-card h2 {
    font-size: 1.5vw;
    margin-bottom: 1vh;
    color: #ffb700;
}

.notary-card p {
    font-size: 1.2vw;
    line-height: 1.5;
}

.notary-card:hover{
    box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.1);
    transform: translate(0, -1vh);
}



/* Services */
.services {
    width: 100%;
    padding: 2vh 0;
    background-color: rgb(1, 1, 29);
    font-family: Arial, Helvetica, sans-serif;
}

.services .title-text{
    text-align: center;
    color: #ddd;
}

.services .title-text h1{
    text-align: center;
    font-size: 6vh;
    margin: 0 0 5vh 0;
}

.service-box {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: auto;
    margin-bottom: 10vh;
}


.single-service {
    flex-basis: 45%;
    text-align: center;
    border-radius: 2vh;
    margin-bottom: 4vh;
    margin: 1vh 4vh 4vh 1vh;
    color: #fff;
    position: relative;
}

.single-service img {
    width: 100%;
    border-radius: 2vh;
}

.overlay {
    width: 100%;
    height: 100%;
    width: 100%;
    border-radius: 1vh;
    cursor: pointer;
    overflow: hidden;
    transform: translate(0, -100%);
    background: linear-gradient(rgba(0, 0, 0, 0.5568), rgba(0, 0, 0, 1));
    opacity: 1; /* Show overlay without hover */
}

.service-description {
    width: 80%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
    text-align: center;
    color: #fff; /* Ensure text is always visible */
}

.single-service h3 {
    font-size: 4vh;
    margin-bottom: 2vh;
    color: #ffb800; /* Contrasting title */
}

.service-description p {
    font-size: 2.3vh;
    line-height: 1.5;
    color: #ddd; /* Lighter color for readability */
}

hr {
    background: #fff;
    height: 0.5vh;
    border: 0;
    margin: 2vh auto;
    width: 60%;
}



/* Experts */
.expert {
    padding: 0 0 5vh 0;
    background-color: rgb(1, 1, 29);
    overflow-x: hidden; /* Prevent horizontal scrolling */
    box-sizing: border-box;
}

.expert .title-text {
    text-align: center;
    color: #fff;
}

.expert .title-text h1 {
    font-size: 6vh;
    margin-bottom: 2vh;
}

.expert .title-text h2 {
    font-size: 3vh;
    color: #ffb800;
}


.expert-items {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-around;
    padding: 0 2vw;
    box-sizing: border-box;
    scale: 0.9;
    margin-top: -2vh;
}

.expert-item {
    /* border: 1px solid #ffb800; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 25vw;
    height: 80vh;
    margin: 2vh 1vw 4vw 0vw; /* Added horizontal margin */
    border-radius: 2vh;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.02); 
    box-sizing: border-box;
}

.expert-item img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    border-radius: 2vh 2vh 0 0;
    transform: translateY(-8vh);
}

.person-description {
    color: #fff;
    width: 100%;
    padding: 3vh;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.02); 
    flex-grow: 1;
    box-sizing: border-box;
    transform: translateY(-4vw);
}

.expert-item h3 {
    font-size: 3vh;
    color: #ffb800;
}

.person-description p {
    font-size: 2.2vh;
    margin-top: 2vh;
    line-height: 1.4;
    text-align: left;
}

.person-description hr {
    width: 60%;
    margin: 1vh auto;
    border: none;
    height: 0.4vh;
    background-color: #fff;
}

.media-icon {
    display: flex;
    justify-content: center;
    margin-top: 2vh;
    padding: 0.5vh;
    z-index: 100;
    transform: translate(11vw, 0vh);
    background: rgb(1, 1, 29)
}

.media-icon i {
    font-size: 2.5vh;
    color: #fff;
    opacity: 0.9;
    transition: all 0.3s ease;
    cursor: pointer;
}

.media-icon i:hover {
    opacity: 1;
    transform: scale(1.3);
}



/* Section Contact */
#contact {
    display: flex;
    flex-wrap: wrap;
    height: 80vh;
    padding: 0vh 5vw 0vh 0vh; /* Adjusted to viewport units for consistency */
    background-color: rgb(1, 1, 29);
    color: #fff; /* Ensures text is readable against the dark background */
}

#contact .contact-form {
    flex: 1;
    padding: 2vh 2vw; /* Adjusted for responsive padding */
    max-width: 50vw; /* Ensures form does not stretch too wide */
}

#contact .contact-form h1 {
    font-size: 5vh; /* Adjusted for better readability */
    margin-bottom: 3vh; /* Spacing adjusted for consistency */
    color: #ffb800; /* Contrasting color for the title */
    text-align: left;
    letter-spacing: 0;
    font-weight: bolder;
}

#contact .contact-form .form-group {
    margin-bottom: 2.5vh; /* Consistent margin for form groups */
}

#contact .contact-form label {
    display: block;
    font-size: 2.2vh; /* Adjusted font size */
    margin-bottom: 1vh; /* Spacing between label and input */
}

#contact .contact-form input,
#contact .contact-form textarea {
    width: 100%; /* Full width to match container */
    padding: 1.2vh; /* Adjusted for better spacing */
    border: 1px solid #ffb700; /* Consistent border color */
    border-radius: 0.5vh; /* Rounded corners */
    background-color: #ffffff; /* Dark background for form fields */
    color: #000000; /* White text for readability */
    font-size: 2vh; /* Adjusted font size */
}

#contact .contact-form textarea{
    height: 17vh;
}

#contact #btn {
    display: inline-block;
    float: right;
    padding: 1vh 2vw;
    font-size: 2vh; 
    font-weight: bolder;
    border: none;
    width: 10vw;
    border-radius: 0.5vh;
    transition: 0.3s ease;
    cursor: pointer;
    color: #000000;
    background-color: #ffb700;
    border: 1px solid #ffb700;
    transition: ease 0.5;
}

/* Map */
#contact .map {
    flex: 1;
    padding: 8vh 2vw; /* Consistent padding */
    max-width: 45vw; /* Ensures map does not stretch too wide */
    border-radius: 0.5vh; /* Rounded corners for the map container */
    overflow: hidden; /* Ensures map does not overflow */
    height: 90%;
}


/* Footer */
.footer {
    padding: 10vh 0 2vh;
    background: rgb(11, 11, 11);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.footerHeading{
    color: #ffb800;
    font-size: 2.5vh;
    margin: -5vh 0 5vh 0;
}

.footer-row {
    width: 90vw;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.footer-left, .footer-right, .footer-middle {
    flex-basis: 25vw;
    padding: 1vh;
    margin-bottom: 2vh;
}

.footer-right {
    text-align: right;
}

.footer-row h1 {
    margin: 2vh 0;
    color: #ffb800;
}

.footer-row p {
    line-height: 3.5vh;
    letter-spacing: 0vw;
    color: #fff;
}

.footer-left .far,
.footer-right a,
.fa,
.far {
    font-size: 1.8vh;
    color: #ffb800;
    margin: 1vh;
}

.finalhr{
    height: 1px;
    background-color: #ffb800;
}

/* Social Links */
.footer-middle{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.footer-img {
    max-width: 37vw;
    opacity: 0.7;
    border-radius: 1vh;
    margin-top: -14vh;
    transform: scale(0.5);
}
.social-links {
    display: flex;
    justify-content: center; /* Center items horizontally */
    align-items: center; /* Center items vertically */
    flex-wrap: wrap; /* Wrap items if needed */
    gap: 1vw; /* Space between icons */
    margin-top: -12vh;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Remove underline from links */
}

.social-links .fab {
    align-items: center;
    justify-content: center;
    height: 4vh;
    width: 4vh;
    font-size: 2vh;
    line-height: 4vh;
    border: 0.2vh solid #ffb800;
    margin: 4vh 0.5vw;
    color: #ffb800;
    cursor: pointer;
    transition: 0.5s;
    padding-left: 18%;
}

.social-links .fa:hover {
    background: #ffb800;
    color: #fff;
    transform: translateY(-0.7vh);
}

.footer-middle p {
    font-size: 1.6vh;
    margin-top: 2vh;
    color: #fff;
    text-align: center;
}


/* Media Queries */
@media screen and (max-width: 800px) {
    .navbar-text{
        padding-top: 250px;
    }
    .navbar-text h1{
        font-size: 40px;
    }

    .navbar-btn a {
        display: block;
        margin: 20px auto;
    }

    .navbar-content {
        display: none;
    }

    /* Feature */
    .feature .title-text h2,
    .achievement .title-text h2{
        font-size: 35px;
    }
    
    .feature .features,
    .achievement .achievement-area{
        flex-basis: 100%;
    }

    .feature .features-img,
    .achievement .achievement-img{
        flex-basis: 100%;
    }

    .feature .features-img img,
    .achievement .achievement-img img{
        width: 100%;
    }

    /* Stats */
    .stats {
        flex-direction: column;
    }

    .stats div {
        margin-bottom: 20px;
    }

    /* Services */
    .single-service {
        flex-basis: 100%;
        margin-bottom: 30px;
    }

    .single-service h3{
        font-size: 1.5rem;
    }

    .service-description p {
        font-size: 1.2rem;
        padding: 0.5rem 0;
    }
    
    .single-service:hover .service-description{
        bottom: 15px !important;
    }

    hr{
        margin: 5px auto;
    }

    /* Testimonial */
    .testimonial-col {
        flex-basis: 100%;
    }
    
    /* Experts */
    .expert{
        display: none;
    }

    /* Contact */
    #contact .map{ 
        display: none;
    }

    /* Footer */
    .footer-left,
    .footer-right{
        flex-basis: 100%;
        font-size: 14px;
    }

    .footer-img{
        top: 25%;
    }

}

@keyframes movein{
  0%{margin-top: -400px;}
  5%{margin-top: -200px;}
  30%{margin-top: -200px;}
  35%{margin-top: 0px;}
  65%{margin-top: 0px;}
  70%{margin-top: 200px;}
  100%{margin-top: 200px;}
}