*{
    margin: 0;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* Styles for the popup */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: white;
    border: 1px solid #ccc;
    z-index: 1000;
    max-height: 70vh; /* Set a maximum height for the popup */
    overflow-y: auto; /* Enable vertical scrolling when content exceeds max height */
}

.close-btn {
    margin-top: 10px;
    cursor: pointer;
    padding: 10px;
    background-color: rgb(64, 144, 235);
    color: white;
    border: none;
    border-radius: 5px;
}
.header{
    background-color: rgb(64, 144, 235);
    text-align: center;
    height: 46vh;
}
.h1{
    color: white;
    font-size: 43px;
    padding-left: 10vw;
    padding-right: 10vw;
    padding-top: 7vh;
}
.h4{
    font-size: 24px;
    padding-top: 5vh;
}
.h5{
    font-size: 17px;
    padding-top: 1vh;
}
.h41{
    font-size: 20px;
    padding-top: 2vh;
    color: white;
}
.sec2{
    text-align: center;
}
.sech2{
    padding-top: 3vh;
}
.yesb{
    height: 12vh;
    width: 35vw;
    color: white;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    margin-right: 20px;
    background-color: rgb(64, 144, 235);
}

.nob{
    height: 12vh;
    width: 35vw;
    color: white;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    background-color: rgb(64, 144, 235);
}
.byes{
    color: white;
    font-size: 30px;
    font-weight: bolder;
    text-decoration: none;
}
.bno{
    color: white;
    font-size: 30px;
    font-weight: bolder;
    text-decoration: none;
}
.disc{
    background-color: rgb(230, 230, 230);
    padding-top: 7vh;
    padding-bottom: 7vh;
    padding-left: 10vw;
    padding-right: 10vw;
    margin-top: 7vh;
}
.disc1, .disc2, .disc3{
    font-size: 18px;
}
.bottom{
    text-align: center;
    padding-top: 8vh;
    padding-bottom: 8vh;
}
.pp{
    color: black;
}
.tou{
    color: black;
}

.legal-links {
    text-align: center;
    padding: 20px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin-top: auto;
}

.legal-link {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}

.legal-link:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Legal document page styles to match index.html */
.legal-header {
    background-color: rgb(64, 144, 235);
    text-align: center;
    padding: 20px 0;
}

.legal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
}

.legal-header-logo img {
    height: 60px;
}

.back-link {
    display: inline-block;
    color: rgb(64, 144, 235);
    text-decoration: none;
    font-size: 16px;
    margin: 20px 0;
    font-weight: bold;
}

.back-link:hover {
    text-decoration: underline;
}

.page-title {
    color: rgb(64, 144, 235);
    font-size: 36px;
    text-align: center;
    margin: 20px 0;
}

.page-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.content-section {
    margin: 30px 0;
    line-height: 1.6;
}

.content-section h2 {
    color: rgb(64, 144, 235);
    font-size: 24px;
    margin-bottom: 15px;
}

.content-section p {
    font-size: 16px;
    margin-bottom: 15px;
}

.content-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.content-section li {
    font-size: 16px;
    margin-bottom: 10px;
}

.content-section a {
    color: rgb(64, 144, 235);
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

.footer {
    background-color: rgb(230, 230, 230);
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: rgb(64, 144, 235);
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-disclaimer {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    max-width: 800px;
    margin: 20px auto;
    text-align: left;
}

.footer-text {
    font-size: 12px;
    color: #999;
    margin-top: 20px;
}

 /* Media queries for mobile phones */
 @media screen and (max-width: 480px) {
    .header{
        height: 44vh;
    }
    .sech2{
        font-size: 25px;
    }
    .h1 {
        font-size: 30px;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 20px;
    }

    .h4 {
        font-size: 22px;
        padding-top: 15px;
    }

    .h5 {
        font-size: 15px;
    }

    .h41 {
        font-size: 16px;
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 10px;
    }

    .yesb{
        height: 7vh;
        margin-bottom: 20px;
        margin-left: 20px;
        width: 90%; /* Adjusted width for smaller screens */
    }
    .nob {
        height: 7vh;
        width: 90%; /* Adjusted width for smaller screens */
    }

    .disc {
        margin-top: 20px;
        padding-top: 2vh;
        padding-bottom: 2vh;
        padding-left: 5vw;
        padding-right: 5vw;
    }
    .disc1, .disc2, .disc3{
    font-size: 13px;
}
.bottom{
    text-align: center;
    padding-top: 3vh;
    padding-bottom: 2vh;
}

    /* Legal document mobile styles */
    .page-title {
        font-size: 28px;
        padding: 0 20px;
    }
    
    .page-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .content-section {
        margin: 20px 0;
        padding: 0 20px;
    }
    
    .content-section h2 {
        font-size: 20px;
    }
    
    .content-section p, .content-section li {
        font-size: 14px;
    }
    
    .footer-disclaimer {
        font-size: 12px;
        padding: 0 20px;
    }
}

/* Media queries for tablets */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .header{
        height: 60vh;
    }
    .sech2{
        font-size: 25px;
    }
    .h1 {
        font-size: 35px;
    }

    .h4 {
        font-size: 22px;
        padding-top: 15px;
    }

    .h5 {
        font-size: 16px;
    }

    .h41 {
        font-size: 18px;
        padding-top: 10px;
    }

    /* Legal document tablet styles */
    .page-title {
        font-size: 32px;
    }
    
    .content-section {
        padding: 0 30px;
    }
    
    .footer-disclaimer {
        padding: 0 30px;
    }
}
