* {
    margin: 0;
    padding: 0;
    font-family: Assistant,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
    box-sizing: border-box;
}





body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    background-image: url('back.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Optional: keeps image fixed when scrolling */
    background-color: #cccccc; /* Optional: a fallback color if the image doesn't load */
    min-height: 100vh;  
    height : 100%
}



/* Navigation */
.logo {
    margin-left: 2px;
    margin-top: 30px;
}
.logo-text {  
    margin : 30px;
    height: 300px;
    width : 300px
}
.nav-links {
    display: flex;
    min-width: 500px;
    justify-content: space-evenly;
}

.btn-primary-nav{
    text-decoration: none;
    color : rgb(14, 1, 37);
    font-size : 20px;
}

.nav-links a {
    font-size: 20px;
    letter-spacing: .3px;
    color: rgb(189, 240, 247);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 28px 0;
    border-bottom: 4px solid #033067;
    
}
.nav-links a:hover {
    border-bottom: 4px solid #160011;
}

header {
    display: flex;
    background-image: linear-gradient(rgb(23, 1, 13), rgb(19, 19, 107));;
    height: 100px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #0f0226; 
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 23px; /* VERY SMALL SPACE */
    min-width : 300px;
    margin-left: 20px;
    margin-right: 20px;
}




.getstarted {
    border-radius: 25px;
    width: 250px;        /* increased width */
    height: 45px;        /* increased height */
    font-size: 30px;     /* bigger text */
    background-color: rgb(202, 240, 248);
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;

}



/* Fix hover (IMPORTANT: no space before :hover) */
.getstarted:hover {
    background-color: rgb(233, 238, 239);
     width: 290px;        /* increased width */
    height: 60px;
    font-size: 34px;
    
}

.getstarted:hover a {
    color: rgb(0, 5, 20);
    
}
.login{
    font-size: 23px;
    text-decoration: none;
    color : rgb(241, 231, 250);
    background-color: transparent;
    cursor : pointer;
}

.login:hover {
    color : white;
    border-bottom: 4px solid #160011;
}
/* Hero Section */
.hero {
     margin : 80px;
    text-align: center;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color : skyblue
}
.gradient-text {
    margin : 20px;
     font-size: 30px;
    color : rgb(234, 153, 189)
}
.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    color: rgb(159, 242, 241);
    font-size: 20px;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    background: #FAFAFA;
    color: rgb(12, 1, 1);
}
.btn-primary:hover {
    background:  #d4b4f5;
    transform: translateY(-2px);
    box-shadow: rgb(0, 0, 10);
}

.btn-secondary {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    background-color: white;
    color: rgb(1, 1, 36);
    
}

.btn-secondary:hover {
   background:  #d6acea;
    transform: translateY(-2px);
    box-shadow: rgb(0, 0, 12);
}










/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    color : rgb(0, 5, 20)
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color : rgb(191, 217, 228) 
}
.section-subtitle {
    font-size: 1.125rem;
    color :rgb(248, 195, 235)
}







/* Features Section */
.features {
    padding: 6rem 0;  
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-left: 30px;
    margin-right: 30px;
}
.feature-card {
    margin : 20px;
    min-width: 0;
    padding: 1.5rem 1.25rem;
    background: linear-gradient(180deg, rgba(15, 52, 144, 0.95) 0%, rgba(28, 14, 36, 0.95) 100%);
    border: 1px solid transparent;
    border-top-color: #3d4866;
    border-radius: .5rem;
    overflow: visible;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: rgb(6, 6, 164);
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}
.feature-description {
    color: rgb(153, 217, 243);
    line-height: 1.7;
}







/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    color : pink
}
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}
.step {
    text-align: center;
}
.step-number {
    width: 60px;
    height: 60px;
    color: rgb(207, 225, 235);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}
.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgb(177, 232, 237);
}
.step-description {
    color: rgb(240, 194, 194);
    font-size: large;
    
}








/* CTA Section */
.cta-section {
    padding: 6rem 0;
    color: rgb(192, 225, 238);
    text-align: center;
}
.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}
.cta-section .btn-primary:hover {
    background: white;
}




/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}
.footer-link:hover {
    color: white;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .btn-primary-nav {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }
}



/* ================= RESPONSIVE IMPROVEMENTS (ADDED BELOW) ================= */

/* Fix large spacing issues */
.hero {
    margin: 80px auto;
    width: 90%;
}

/* Fix feature grid spacing */
.features-grid {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

/* Make buttons flexible */
.getstarted {
    max-width: 220px;
    width: 100%;
}

.btn-primary, .btn-secondary {
    width: 100%;
    max-width: 300px;
}

/* Improve header responsiveness */
@media (max-width: 1024px) {
    .nav-links {
        min-width: unset;
        gap: 20px;
    }
}

/* Tablet View */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }

    .logo-text {
        width: 180px;
        height: auto;
        margin: 10px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 10px;
    }

    .nav-links a {
        padding: 10px 0;
        font-size: 16px;
        border-bottom: none;
    }

    .getstarted {
        margin: 10px;
        height: 45px;
        font-size: 18px;
    }

    .hero {
        margin: 40px auto;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    body {
        background-attachment: scroll; /* fixes mobile lag */
    }
}

/* Mobile View */
@media (max-width: 480px) {

    .hero-title {
        font-size: 1.8rem;
    }

    .gradient-text {
        font-size: 20px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .feature-card {
        margin: 10px;
        padding: 1rem;
    }

    .step-title {
        font-size: 1.2rem;
    }

    .step-description {
        font-size: 14px;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-subtitle {
        font-size: 0.9rem;
    }

    body {
        background-attachment: scroll;
    }
}





