html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    font-family: Poppins, sans-serif;
    box-sizing: border-box;
}

ul {
    list-style: none;
    list-style-image: none;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 40px;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(5px);
}

.navlogo img {
    height: 70px;
    width: auto;
}

/* Desktop menu */
.navlinks ul {
    list-style: none;
    display: flex;
    gap: 28px;
}

.navlinks ul li a {
    text-decoration: none;
    color: black;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding-bottom: 2px;
    transition: 0.3s ease;
}

.navlinks ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.navlinks ul li a:hover::after {
    width: 100%;
}

.navlinks ul li a:hover {
    color: #007bff;
}

.navbar i {
    display: none;
}

.navbar .fa-bars,
.fa-xmark {
    display: none;
    color: black;
    font-size: 24px;
}

/* Dropdown Container */
.dropdown {
    position: fixed;
    top: 93px;
    /* below navbar */
    right: 0px;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 15px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 998;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;

    transition:
        opacity 0.4s ease,
        transform 0.4s ease,
        pointer-events 0s linear 0.4s;
}

/* Active dropdown (when menu icon clicked) */
.dropdown.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.dropdown ul li {
    padding: 12px 20px;
}

.dropdown ul li a {
    text-decoration: none;
    color: black;
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
    transition: 0.3s ease;
}

.dropdown ul li a:hover {
    color: #007bff;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .navbar .fa-bars {
        display: block;
    }

    .navlinks {
        display: none;
    }
}


/* When navbar is hidden */
.navbar.hidden {
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

/* When navbar is visible */
.navbar.visible {
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.heading-line {
    width: 100%;
    padding: 100px 0;
    text-align: center;
}

.heading-line h1 {
    font-size: 40px;
    text-align: center;
    line-height: 45px;
    letter-spacing: 0px;
    font-weight: 600;
    text-transform: capitalize;
}

.heading-line p {
    width: 100%;
    color: #282F39;
    font-size: 18px;
    text-align: center;
    line-height: 26px;
    display: inline-block;
    margin: 16px 0 14px 0;
    margin-right: 0px;
    margin-left: 0px;
    letter-spacing: 0.36px;
}

.container {
    width: 100%;
    position: relative;
}

.innercontainer {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: space-between;
    display: flex;
}

.formwrapper {
    width: 34%;
    max-width: 465px;
    min-height: 200px;
    padding: 30px 70px;
    position: relative;
    margin-top: 0px !important;
}

.enableinfo {
    top: 0;
    right: 0px;
    width: 100%;
    z-index: 11;
    height: 100%;
    display: block;
    color: #FFFFFF;
    font-size: 16px;
    padding: 350px 50px 20px 50px;
    line-height: 24px;
    text-align: center;
    position: absolute;
}

.form h1 {
    font-size: 32px;
    text-align: left;
    font-weight: 500;
    margin-bottom: 24px;
    padding-bottom: 24px;
    letter-spacing: 1.92px;
    text-transform: capitalize;
    border-bottom: 1px solid rgb(255 255 255 / 0.35);
    border-bottom-color: rgba(255, 255, 255, 0.35);
}

.selection{
    width: 100%;
    position: relative;
    margin-bottom: 34px;
}

.footer {
    padding: 80px 6% 20px;
    backdrop-filter: blur(18px);
    background: transparent !important;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 50px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 15px;
    animation: fadeInUp 1s;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #007bff, #005fcc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-section ul li {
    list-style: none;
}

.footer-section ul li a {
    text-decoration: none;
}

.footer-section ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: #007bff;
}

.footer-section p,
.footer-section ul li a {
    color: black;
}

.social-icons a {
    font-size: 20px;
    margin-right: 12px;
    color: black;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #007bff;
    transform: translateY(-4px) scale(1.1);
}

/* Newsletter */
.newsletter {
    margin-top: 18px;
    display: flex;
}

.newsletter input {
    width: 70%;
    padding: 10px;
    border: 1px solid black;
    border-radius: 8px 0 0 8px;
    outline: none;
}

.newsletter input:focus {
    border: 1px solid #007bff;
    border-color: #007bff;
    background: white;
    box-shadow: 0 0 8px rgba(255, 123, 0, 0.3);
    transition: all ease-in-out 1s;
}

.newsletter button {
    width: 30%;
    color: white;
    background: linear-gradient(135deg, #007bff, #005fcc);
    border: none;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #ccc;
}

/* ---- Scroll Reveal Animation ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0px);
}

/* ---- Keyframes ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Sticky Mini Footer (Mobile Only) ---- */
.mini-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    padding: 10px 0;
    display: none;
    z-index: 1000;
    justify-content: space-around;
    border-top: 2px solid #007bff;
}

.mini-footer a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
}

.mini-footer i {
    font-size: 18px;
    display: block;
    margin-bottom: 3px;
}

@media (max-width: 768px) {
    .mini-footer {
        display: flex;
    }
}