/*********
**********
**********
*/

/*********
 *********
 *********
 */

/* Login & Register Page Styles */
.login-page,
.register-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-header,
.register-header {
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 20px;
}

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.login-title,
.register-title {
    color: white;
    margin-left: 20px;
    font-size: 28px;
}

.login-container,
.register-container {
    width: 100%;
    max-width: 500px;
}

.login-box,
.register-box {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-box h2,
.register-box h2 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
    font-size: 24px;
}

.login-subtitle,
.register-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.error-message {
    background: #fee2e2;
    color: #dc2626;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.success-message {
    background: #dcfce7;
    color: #16a34a;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
}

.login-btn,
.register-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.login-btn:hover,
.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.login-btn:disabled,
.register-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.register-link,
.login-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.register-link a,
.login-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover,
.login-link a:hover {
    text-decoration: underline;
}

@media screen and (min-width:900px){
    *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .top{
        width: 100%;
        background-color: white;
        border-bottom: 1px solid rgb(243, 238, 238);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
        height: 70px;
        position: fixed;
        z-index: 100;
    }

    .title{
        font-weight: 600;
        text-shadow: 2px rgb(233, 230, 230);
    }

    .title > .f1{
       color: green;
       font-weight: bold;
    }

    .title > .f2{
        color: blue;
        font-weight: bold;
    }

    nav{
        width: auto;
        padding: 10px;
        display: flex;
        gap: 10px;
        height: auto;
    }

    .menu{
        display: none;
        background-color: rgb(240, 234, 234);
    }

    nav a{
        color: green;
        cursor: pointer;
        text-decoration: wavy;

    }

    .bg-img{
        background-image: radial-gradient(circle closest-corner at center, green, rgb(70, 134, 70), rgb(79, 79, 170));
        width: 100%;
        height: 90vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 16px;
    }

    .heading{
        font-weight: 800;
        color: white;
        text-align: center;
        font-size: 60px;
        padding: 10px;
    }

    .sub{
        font-size: 20px;
        font-weight: 600;
        color: white;
        text-align: center;
        padding: 5px;
    }

    .get-start{
        width: 180px;
        padding: 10px;
        height: 40px;
        border: 1px solid white;
        display: block;
        border-radius: 8px;
        background-color: transparent;
        margin: 20px auto;
        color: white;
        cursor: pointer;
    }
    
    .get-start:hover{
        transition: all 1s;
        background-color: white;
        border: 1px solid green;
        color: green;
    }
.container {
    position: relative;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 255, 0.3); /* Adjusted for visibility */
    
    /* Flexbox centering */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

/* Remove absolute positioning from H1 since Flexbox handles it now */
.overlay h1 {
    margin: 0;
    font-size: 2.5rem;
}

.overlay p {
    margin-top: 10px;
    font-size: 1.2rem;
}

.btn{
        width: 180px;
        padding: 10px;
        height: 40px;
        border: 1px solid white;
        display: block;
        border-radius: 20px;
        background-color: transparent;
        margin: 20px auto;
        color: white;
        cursor: pointer;
        margin-top: 50px;
}

.pricing{
   padding: 10px;
   width: 100%;
   height: auto;
   margin: 30px auto;
}

.head{
    text-align: center;
    font-weight: 600;
}

.sub-head{
    text-align: center;
}

.table{
    width: 90%;
    height: auto;
    padding: 10px;
    margin: 20px auto;
}
table {
    width: 100%;
    /* This merges the double lines into one clean line */
    border-collapse: collapse; 
    margin: 20px 0;
    font-family: sans-serif;
}

/* Apply borders to both header and data cells */
th, td {
    border: 1px solid rgb(240, 234, 234);
    padding: 12px 15px; /* Increased padding for better readability */
    text-align: left;
}

/* Optional: Add a light background to the header to make it pop */
thead {
    background-color: #f8f9fa;
    color: #333;
}

/* Optional: Striped rows make long tables easier to read */
tbody tr:nth-child(even) {
    background-color: #fafafa;
}

footer{
    width: 100%;
    height:auto ;
    background-color: rgb(32, 30, 30);
    padding: 1em;
    color: white;
}

.footer{
    text-align: center;
}

footer h2{
    padding: 10px;
}

footer p{
    padding: 10px;
}




}










/*********
**********
**********
*/

@media screen and (max-width:899px){
    *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .top{
        width: 100%;
        background-color: white;
        border-bottom: 1px solid rgb(243, 238, 238);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
        height: 70px;
        position: fixed;
        z-index: 100;
    }

    .title{
        font-weight: 600;
        text-shadow: 2px rgb(233, 230, 230);
    }

    .title > .f1{
       color: green;
       font-weight: bold;
    }

    .title > .f2{
        color: blue;
        font-weight: bold;
    }

    nav{
        width: auto;
        padding: 10px;
        display: none;
        gap: 10px;
        height: auto;
    }

    nav a{
        color: green;
        cursor: pointer;
        text-decoration: wavy;

    }

    .bg-img{
        background-image: radial-gradient(circle closest-corner at center, green, rgb(70, 134, 70), rgb(79, 79, 170));
        width: 100%;
        height: 90vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 16px;
    }

    .heading{
        font-weight: 800;
        color: white;
        text-align: center;
        /*font-size: 60px;*/
        padding: 10px;
    }

    .sub{
        /*font-size: 20px;*/
        font-weight: 600;
        color: white;
        text-align: center;
        padding: 5px;
    }

    .get-start{
        width: 180px;
        padding: 10px;
        height: 40px;
        border: 1px solid white;
        display: block;
        border-radius: 8px;
        background-color: transparent;
        margin: 20px auto;
        color: white;
        cursor: pointer;
    }
    
    .get-start:hover{
        transition: all 1s;
        background-color: white;
        border: 1px solid green;
        color: green;
    }
.container {
    position: relative;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 255, 0.3); /* Adjusted for visibility */
    
    /* Flexbox centering */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}

/* Adjust the Hero Text sizes */
    .overlay h1 {
        font-size: 20px; /* Shrink from 2.5rem */
        padding: 0 10px;
    }

    .overlay p {
        font-size: 16px; /* Shrink from 1.2rem */
        margin-top: 8px;
    }

    /* Make the table scrollable so it doesn't break the layout */
    .container {
        overflow-x: hidden; /* Prevent horizontal scroll on the whole page */
    }


.btn{
        width: 180px;
        padding: 10px;
        height: 40px;
        border: 1px solid white;
        display: block;
        border-radius: 20px;
        background-color: transparent;
        margin: 20px auto;
        color: white;
        cursor: pointer;
        margin-top: 50px;
}

.pricing{
   padding: 10px;
   width: 100%;
   height: auto;
   margin: 30px auto;
}

.head{
    text-align: center;
    font-weight: 600;
}

.sub-head{
    text-align: center;
}

.table{
    width: 90%;
    height: auto;
    padding: 10px;
    margin: 20px auto;
}
table {
    width: 100%;
    /* This merges the double lines into one clean line */
    border-collapse: collapse; 
    margin: 20px 0;
    font-family: sans-serif;
}

/* Apply borders to both header and data cells */
th, td {
    border: 1px solid rgb(240, 234, 234);
    padding: 12px 15px; /* Increased padding for better readability */
    text-align: left;
}

/* Optional: Add a light background to the header to make it pop */
thead {
    background-color: #f8f9fa;
    color: #333;
}

/* Optional: Striped rows make long tables easier to read */
tbody tr:nth-child(even) {
    background-color: #fafafa;
}

footer{
    width: 100%;
    height:auto ;
    background-color: rgb(32, 30, 30);
    padding: 1em;
    color: white;
}

.footer{
    text-align: center;
}

footer h2{
    padding: 10px;
}

footer p{
    padding: 10px;
    text-align: center;
}

.menu{
       width:50px;
                height:50px;
                border-radius:5px;
                border:1px solid rgb(240, 234, 234);
                display:flex;
                justify-content:center;
                align-items:center
    }





}