:root {
    --primary-purple: #444e57;
    --dark-purple: #dedede;
    --light-gray: #e6e3f1;
    --dark-overlay: rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.hero-section {
    background: linear-gradient(var(--dark-overlay), var(--dark-overlay)), 
                url('../img/ilearn-site.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.4);
    z-index: 1;
}

.navbar {
    background: transparent !important;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(17, 24, 39, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: white !important;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 1rem;
    padding: 0.5rem 0 !important;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-purple) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-purple) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-purple);
}

.btn-contact {
    background: var(--primary-purple);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--dark-purple);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 124, 248, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
}

.btn-admission {
    background: var(--primary-purple);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-admission:hover {
    background: var(--dark-purple);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 124, 248, 0.4);
}

.signup-card {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 3;
}

.signup-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 2rem;
    text-align: center;
}

.form-control {
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
    background: rgba(249, 250, 251, 0.8);
}

.form-control:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(139, 124, 248, 0.25);
    background: white;
}

.form-control::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.btn-login {
    background: #64c7c1;
    border: none;
    color: #000000;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    width: 100%;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #ffc800;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 124, 248, 0.3);
}

.laptop-illustration {
    display: none;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-element {
    position: absolute;
    background: rgb(132, 193, 236);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    background: #ffc800;
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 60px;
    background: #64c7c1;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(10px) rotate(-5deg);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .signup-card {
        margin-top: 3rem;
        padding: 2rem;
    }
    
    .laptop-illustration {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .btn-contact {
        margin-top: 1rem;
    }
}