* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html,
body {
    overflow-x: hidden;
    /* Prevents unwanted horizontal scrolling */
    scroll-behavior: smooth;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: white;
    color: black;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar .login_signup a {
    color: black;
    text-decoration: none;
    margin: 5px;
    font-size: 20px;
    transition: all .2s ease;
}

.navbar .login_signup a:hover {
    color: #007bff;
}

.navbar .login_signup a:nth-child(2) {
    background-color: #007bff;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    border: 2px solid #007bff;
}

.navbar .login_signup a:nth-child(2):hover {
    border: 2px solid #007bff;
    background-color: #ffffff;
    color: #007bff;
}

.navbar .dropdown {
    display: none;
}

.logo img {
    width: 350px;
    margin-top: 5px;
}

#login_signup_image {
    transition: all .3s ease;
}

.login_signup_image {
    transform: rotate(180deg) !important;
}

.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgb(48, 103, 255), rgb(0, 255, 221));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    flex-direction: column;
    padding: 20px;
}

.hero .welcomesen {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero .tagline {
    font-size: 30px;
    margin-bottom: 20px;
    font-family: "Magnolia Script", cursive;
}

.hero .mainsen {
    font-size: 30px;
    margin-bottom: 20px;
}

.hero .mainsen2 {
    font-size: 25px;
    margin-bottom: 20px;
    max-width: 900px;
}

.btn {
    background: white;
    color: #007bff;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 1s ease !important;
}

.btn:hover {
    transition: all .3s ease !important;
    background: #1f87ff;
    color: white;
}

/* ===============================
   APP DOWNLOAD SECTION
=============================== */

.app-download-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f6f9ff, #eef4ff);
}

/* Wrapper for title alignment */
.app-download-wrapper {
    max-width: 1050px;
    margin: auto;
}

/* Title like other sections */
.app-download-title {
    text-align: center;
    margin-bottom: 40px;
    color: #007bff;
    font-size: 40px;
}

/* Main layout */
.app-download-container {
    display: flex;
    align-items: center;
    gap: 45px;
}

/* Logo */
.app-download-logo img {
    width: 180px;
    max-width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: #fff;
}

/* Content */
.app-subtext {
    color: #555;
    margin-bottom: 18px;
}

/* Features */
.app-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    margin-bottom: 20px;
}

.app-feature {
    font-size: 14px;
    color: #333;
}

/* Button */
.app-install-btn {
    background: linear-gradient(135deg, #2b6cff, #4f7bff);
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.app-install-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(43, 108, 255, 0.25);
}

.install-note {
    margin-top: 8px;
    font-size: 12px;
    color: #777;
}

/* Features Section */

.features-section {
    padding: 20px;
    margin-bottom: 50px;
}

.heading2 {
    text-align: center;
    margin: 20px;
    color: #007bff;
    font-size: 40px;
}

.corefetures {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.feature-intro {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
    text-align: center;
}

.feature {
    background-color: rgb(228, 243, 255);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    margin: 10px;
    align-items: center;
    max-width: 335px;
    border-radius: 10px;
}

.feature img {
    width: 200px;
    height: auto;
    margin: 30px 20px;
}

.feature .feature-para {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.feature .feature-para h3 {
    font-size: 23px;
    color: #007bff;
}

.feature .feature-para p {
    font-size: 18px;
    color: gray;
    margin: 0 5px;
}

#about {
    background: #f8f9fa;
    padding: 50px 20px;
    text-align: center;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    width: 100%;
}

.about-intro {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    width: 50%;
}

.about-text {
    flex: 1;
    padding: 20px;
    font-size: 20px;
}

.about-text h3 {
    color: #007bff;
    font-size: 25px;
    margin: 20px 0;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text ul li {
    background: white;
    margin: 8px 0;
    padding: 12px;
    border-left: 4px solid #007bff;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 16px;
}

.about-image {
    flex: 1;
    width: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    max-width: 700px;
}

#contact {
    background: #fff;
    padding: 80px 20px;
    text-align: center;
    background-image: url(images/contactus.png);
    background-size: cover;
}

.contact-container {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.contact-info,
.contact-form {
    flex: 1;
    padding: 20px;
    text-align: left;
}

.contact-info h3 {
    color: #007bff;
    margin-bottom: 10px;
}

.contact-info p {
    margin: 5px 0 20px 0;
    font-size: 16px;
    color: #555;
}

.contact-info a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
}

.contact-info a:hover {
    color: #007bff;
}

.contact-form h3 {
    margin-bottom: 15px;
    background-color: #007bff;
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 20px;
    display: inline-block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    transition: all .3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 1px solid #0099ff;
}

.contact-form .submit {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form .submit:hover {
    background: #0056b3;
}

#testimonials {
    background: #f8f9fa;
    padding: 80px 20px;
    text-align: center;
}

.testimonials-container {
    max-width: 1000px;
    margin: auto;
}

.testimonials-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.testimonials-slider {
    padding: 10px 0;
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.testimonial {
    flex: 0 0 calc(33.333% - 20px);
    /* 3 testimonials per row */
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial p {
    font-size: 16px;
    color: #333;
    margin: 10px 0;
}

.testimonials-container .heading3 {
    font-size: 20px;
    margin: 25px 0;
}

.testimonial h3 {
    margin-top: 10px;
    color: #007bff;
    font-size: 14px;
}

.testimonial-controls {
    margin-top: 20px;
}

.testimonial-controls button {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    background: #007bff;
    color: white;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.testimonial-controls button:hover {
    background: #0056b3;
}

@media (max-width: 900px) {
    .testimonial {
        flex: 0 0 50%;
    }
}

/* Footer */

.od-gradient-footer {
    background: linear-gradient(135deg, #020617, #020617, #020617, #0c0f2c);
    color: #e1e4e8;
    padding: 70px 0 20px;
    font-family: 'Segoe UI', sans-serif;
}

.od-footer-wrapper {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding: 0 20px;
}

/* Brand */
.od-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 25px;
    font-weight: 600;
    font-family: "Cambria";
    font-style: italic;
    color: #fff;
}

.od-logo img {
    width: 300px;
}

.od-tagline {
    margin-top: 15px;
    font-size: 14px;
    color: #94a3b8;
    font-style: italic;
    font-family: "Mangolia Script", cursive;
    line-height: 1.6;
}

/* Social Icons */
.od-social {
    margin-top: 18px;
    display: flex;
    gap: 12px;
}

.od-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #dcddde;
    transition: 0.3s;
    text-decoration: none;
    /* removes underline */
}

.od-social a:hover {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
    transform: translateY(-2px);
}

/* Columns */

.od-col {
    display: flex;
    flex-direction: column;
}

.od-col h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 15px;
}

.od-col a {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: 0.2s;

}

.od-col a:hover {
    color: #38bdf8;
    transform: translateX(2px);
    cursor: pointer;
}

/* Bottom */
.od-footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    color: #d8d8d8;
}

.founder-credit {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
}


/* Responsive */
@media (max-width: 900px) {
    .od-footer-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 500px) {

    .od-tagline {
        text-align: center;
    }

    .od-footer-wrapper {
        grid-template-columns: 1fr;
        /* text-align: center; */
    }

    .od-logo {
        justify-content: center;
    }

    .od-social {
        justify-content: center;
    }

    .od-footer-bottom {
        padding: 15px 10px 0 10px;
    }

}


/* Old footer css */
.footer {
    display: flex;
    flex-direction: column;
    margin: 10px;
    background-color: #3a3f43;
    height: auto;
    border-radius: 10px;
}

.footer .sec1 {
    display: flex;
    padding: 10px;
}

.sec1 .fsec {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    align-items: center;

}


.sec1 .fsec p {
    color: white;
    font-size: 18px;
    text-align: center;
    line-height: 25px;
    padding: 10px 10px 15px 10px;
}

.sec1 .footerlogo {
    width: 300px;
}

.sec1 .fsec h2 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: white;
    padding: 10px 0;
    border-bottom: 3px solid white;
    background-color: rgb(0, 166, 255);
    width: 100%;
}

.sec1 .fsec ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin: 30px 0;
}

.sec1 .fsec ul li {
    list-style: none;
    font-size: 18px;
}

.sec1 .fsec ul li a {
    text-decoration: none;
    transition: all .3s ease;
    color: white;
}

.sec1 .fsec ul li a:hover {
    color: #0090f6;
}

.sec1 .fsec ul li i {
    color: white;
    font-size: 20px;
    margin-right: 5px;
}

.sec1 .fsec ul li button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all .3s ease;
}

.sec1 .fsec ul li button:hover {
    color: #0090f6;
}

.footer .sec2 {
    color: white;
    font-size: 18px;
    text-align: center;
    padding: 15px 0;
    margin: 0 50px;
    border-top: 2px solid white;
}

/* terms and conditions and privacy policies modal css */

.legal-modal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.111);
    opacity: 0;
    transition: all .3s ease;
    z-index: -1;
}

.legal-modal {
    position: fixed;
    background-color: white;
    top: 50%;
    left: 50%;
    margin: 20px;
    padding: 10px 20px;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 90%;
    display: none;
    justify-content: center;
    align-items: center;
    border: 2px solid blue;
    border-radius: 10px;
}

.legal-modal .header-place {
    width: 100%;
    height: 60px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0056b3;
}

.legal-modal .container {
    overflow-y: scroll;
    max-height: 80%;
}

.legal-modal .container h1,
.legal-modal .container h2,
.legal-modal .container h3 {
    font-weight: 600;
    color: #0056b3;
    margin-bottom: 20px;
}

.legal-modal .container h2 {
    font-size: 2rem;
    margin-top: 30px;
}

.legal-modal .container h3 {
    font-size: 1.5rem;
    margin-top: 20px;
}

.legal-modal .container p {
    font-size: 1.1rem;
    margin: 20px 10px;
    line-height: 1.8;
}

.legal-modal .container ul {
    list-style: disc;
    margin-left: 20px;
}

.legal-modal .container li {
    margin-bottom: 10px;
}

/* Links */
.legal-modal .container a {
    color: #0056b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-modal .container a:hover {
    color: #003b75;
}

@media (max-width: 768px) {

    .legal-modal {
        width: 90%;
        height: 90%;
        margin: 0 auto;
        padding: 10px
    }

    .legal-modal .header-place {
        height: 9%;
    }

    .header-place h1 {
        font-size: 1.7rem;
    }

    .legal-modal .container {
        width: 95%;
        padding: 15px;
        margin: 20px auto;
        height: 75%;
    }

    .legal-modal .container h1 {
        font-size: 2rem;
    }

    .legal-modal .container h2 {
        font-size: 1.5rem;
    }

    .legal-modal .container h3 {
        font-size: 1.2rem;
    }

    .legal-modal .container p {
        font-size: 1rem;
    }

    .legal-modal .footer-place {
        height: 6%;
    }
}

.legal-modal .footer-place {
    width: 100%;
    height: 60px;
    margin-top: 10px;
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.legal-modal .accept-btn {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    float: right;
    width: 100px;
    transition: all 0.3s ease;
}

.legal-modal .accept-btn:hover {
    background-color: #004d99;
}


@media (min-width:650px) and (max-width: 1300px) {

    .about-container {
        flex-direction: column-reverse;
        align-items: center;
    }

    .about-content {
        width: 100%;
    }

    .about-image img {
        max-width: 500px;
    }

}

@media (max-width:650px) {

    .navbar {
        padding: 5px 10px;
    }

    .navbar .dropdown {
        margin-top: 5px;
        display: block;
    }

    .navbar .dropdown img {
        width: 35px;
        margin-right: 10px;
        height: auto;
    }

    .navbar .login_signup {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 67px;
        right: 10px;
        background-color: white;
        border-radius: 5px;
        padding: 0;
        max-height: 0;
        /* Initially hidden */
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
        overflow: hidden;
        transition: all 0.3s ease-in-out !important;
    }

    .navbar .login_signup a {
        padding: 5px;
        font-size: 20px;
        border-bottom: 2px solid blue;
    }

    .navbar .login_signup span {
        display: none;
    }

    .login_signup_active {
        padding: 10px !important;
        max-height: 300px !important;
        opacity: 1 !important;
        transform: scaleY(1) !important;
        box-shadow: -2px 2px 5px 2px rgba(71, 71, 71, 0.296);
    }

    .logo img {
        width: 250px;
    }

    .hero {
        padding: 20px;
    }

    .hero .welcomesen {
        font-size: 35px;
        margin-bottom: 20px;
        margin-top: 50px;
        width: 300px
    }

    .hero .tagline {
        font-size: 20px;
        margin-bottom: 20px;
        font-family: "Magnolia Script", cursive;
    }

    .hero .mainsen {
        font-size: 25px;
        margin-bottom: 20px;
        width: 300px
    }

    .hero .mainsen2 {
        font-size: 16px;
        margin-bottom: 30px;
        max-width: 900px;
        width: 300px
    }

    .app-download-section{
        padding: 50px 20px;
    }

    .app-download-container {
        flex-direction: column;
        text-align: center;
    }

    .app-features {
        grid-template-columns: 1fr;
        text-align: left;
        margin-left: 40px;
    }

    .app-download-title{
        font-size: 25px;
        padding: 0 50px;
    }

    .heading2 {
        font-size: 25px;
    }

    #about {
        background: #f8f9fa;
        padding: 50px 10px;
        text-align: center;
    }

    .about-container {
        flex-direction: column-reverse;
        align-items: center;
        padding: 0px;
    }

    .about-content {
        width: 100%;
    }

    .about-text {
        flex: 1;
        padding: 20px;
        font-size: 20px;
        margin-left: 10px;
    }

    .about-text h3 {
        color: #007bff;
        font-size: 25px;
        margin: 20px 0;
    }

    .about-text ul {
        list-style: none;
        padding: 0;
    }

    .about-text ul li {
        background: white;
        margin: 8px 0;
        padding: 12px;
        border-left: 4px solid #007bff;
        box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
        font-size: 16px;
    }

    .about-image {
        flex: 1;
        width: 50%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .about-image img {
        max-width: 300px;
    }

    .about-text {
        padding: 0;
    }

    .about-text ul li {
        text-align: left;
    }

    .contact-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-info,
    .contact-form {
        padding: 0;
    }

    .testimonial {
        flex: 0 0 100%;
    }

    .testimonials-slider {
        padding: 10px;
    }

    .footer {
        width: 100%;
        margin: 0px;
        border-radius: 0;
    }

    .footer .sec1 {
        flex-direction: column;
    }

    .footer .fsec {
        width: 100%;
    }

    .footer .sec2 {
        margin: 0 15px;
    }

}