/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(120deg, #f8fafc 0%, #e0e7ff 100%);
    min-height: 100vh;
    color: #22223b;
}

header {
    background: #3a0ca3;
    color: #fff;
    box-shadow: 0 2px 12px rgba(58,12,163,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.4s;
}

.logo img {
    height: 48px;
    margin: 10px 24px;
    vertical-align: middle;
    transition: transform 0.4s;
}

.logo img:hover {
    transform: scale(1.1) rotate(-5deg);
}

nav {
    display: inline-block;
    vertical-align: middle;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0 24px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    padding: 18px 0;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

nav ul li a::after {
    content: '';
    display: block;
    height: 3px;
    width: 0;
    background: #f72585;
    border-radius: 2px;
    transition: width 0.3s;
    position: absolute;
    left: 0;
    bottom: 10px;
}

nav ul li a:hover,
nav ul li a:focus {
    color: #f72585;
}

nav ul li a:hover::after,
nav ul li a:focus::after {
    width: 100%;
}

main {
    padding: 60px 24px 24px 24px;
    text-align: center;
    animation: fadeIn 1.2s cubic-bezier(.4,0,.2,1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(40px);}
    to { opacity: 1; transform: translateY(0);}
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 18px;
    color: #3a0ca3;
    letter-spacing: 2px;
    animation: slideIn 1s cubic-bezier(.4,0,.2,1);
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-60px);}
    to { opacity: 1; transform: translateX(0);}
}

footer {
    background: #3a0ca3;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    font-size: 1rem;
    letter-spacing: 1px;
    box-shadow: 0 -2px 12px rgba(58,12,163,0.08);
    animation: fadeInFooter 1.5s;
}

@keyframes fadeInFooter {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Navbar */
@media (max-width: 700px) {
    nav ul {
        flex-direction: column;
        gap: 0;
        background: #3a0ca3;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        display: none;
        transition: all 0.4s;
    }
    nav ul.active {
        display: flex;
    }
    .nav-toggle {
        display: block;
        position: absolute;
        right: 24px;
        top: 18px;
        cursor: pointer;
        width: 32px;
        height: 32px;
    }
}

.nav-toggle {
    display: none;
}

.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after {
    display: block;
    background: #fff;
    height: 4px;
    width: 32px;
    border-radius: 2px;
    position: absolute;
    transition: all 0.3s;
}

.nav-toggle span {
    position: relative;
    top: 14px;
}

.nav-toggle span:before {
    content: '';
    position: absolute;
    top: -10px;
}

.nav-toggle span:after {
    content: '';
    position: absolute;
    top: 10px;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #3a0ca3 60%, #4361ee 100%);
    padding: 10px 40px;
    box-shadow: 0 4px 18px rgba(58,12,163,0.10);
    border-radius: 0 0 30px 30px;
    animation: navbarFadeIn 1s;
}

@keyframes navbarFadeIn {
    from { opacity: 0; transform: translateY(-40px);}
    to { opacity: 1; transform: translateY(0);}
}

.logo-circle {
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(67,97,238,0.15);
    transition: transform 0.4s;
    border: 3px solid #f72585;
}

.logo-circle img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.4s;
}

.logo-circle:hover {
    transform: scale(1.08) rotate(-8deg);
    box-shadow: 0 6px 24px rgba(67,97,238,0.22);
}

nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 22px;
    border-radius: 22px;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

nav ul li a:hover, nav ul li a:focus {
    background: #f72585;
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 2px 8px rgba(247,37,133,0.15);
}

nav ul li a span {
    font-size: 1.2em;
    margin-right: 4px;
}

/* Responsive */
@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        padding: 10px 10px;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: flex-start;
    }
    nav ul li a {
        width: 100%;
        justify-content: flex-start;
    }
}
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 0 40px 0;
    background: linear-gradient(120deg, #f8fafc 60%, #e0e7ff 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(67,97,238,0.08);
    animation: fadeIn 1.2s cubic-bezier(.4,0,.2,1);
}

.hero-content {
    flex: 1;
    text-align: left;
    padding-left: 40px;
    animation: slideInLeft 1.2s;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px);}
    to { opacity: 1; transform: translateX(0);}
}

.hero-content h1 {
    font-size: 2.7rem;
    color: #3a0ca3;
    margin-bottom: 18px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #22223b;
    margin-bottom: 28px;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(90deg, #f72585 60%, #7209b7 100%);
    color: #fff;
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(247,37,133,0.12);
    transition: background 0.3s, transform 0.2s;
    animation: popIn 1.5s;
}

.cta-btn:hover {
    background: linear-gradient(90deg, #7209b7 60%, #f72585 100%);
    transform: scale(1.07) translateY(-2px);
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.8);}
    to { opacity: 1; transform: scale(1);}
}

.hero-images {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    position: relative;
    padding-right: 40px;
    animation: slideInRight 1.2s;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px);}
    to { opacity: 1; transform: translateX(0);}
}

.hero-img {
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(58,12,163,0.12);
    transition: transform 0.4s, box-shadow 0.4s;
    object-fit: cover;
}

.main-img {
    width: 220px;
    height: 180px;
    z-index: 2;
}

.side-img {
    width: 110px;
    height: 90px;
    opacity: 0.85;
    filter: blur(0.5px) grayscale(10%);
    z-index: 1;
}

.hero-img:hover {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 12px 32px rgba(67,97,238,0.18);
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 30px 0 20px 0;
        gap: 20px;
    }
    .hero-content, .hero-images {
        padding: 0 10px;
        text-align: center;
        justify-content: center;
    }
    .hero-images {
        gap: 10px;
    }
}
.logo-circle {
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(67,97,238,0.15);
    border: 3px solid #f72585;
    animation: floatLogo 2.5s ease-in-out infinite alternate;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.4s;
}

.logo-circle:hover img {
    transform: scale(1.08) rotate(-8deg);
}

@keyframes floatLogo {
    from { transform: translateY(0);}
    to { transform: translateY(-18px);}
}
/* Features Section */
.features {
    background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
    padding: 60px 0 40px 0;
    text-align: center;
    border-radius: 24px;
    margin: 40px 0 0 0;
    box-shadow: 0 8px 32px rgba(67,97,238,0.08);
    animation: fadeIn 1.2s 0.5s backwards;
}

.features h2 {
    font-size: 2.2rem;
    color: #3a0ca3;
    margin-bottom: 36px;
    letter-spacing: 1px;
}

.features-list {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

.feature-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(58,12,163,0.10);
    padding: 32px 24px;
    width: 220px;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: popIn 1.2s;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.05) rotate(-2deg);
    box-shadow: 0 8px 32px rgba(247,37,133,0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
    display: block;
    animation: bounce 1.5s infinite alternate;
}

@keyframes bounce {
    from { transform: translateY(0);}
    to { transform: translateY(-10px);}
}

.feature-card h3 {
    color: #7209b7;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.feature-card p {
    color: #22223b;
    font-size: 1rem;
}

/* Courses Section */
.courses {
    padding: 60px 0 40px 0;
    text-align: center;
    margin-top: 30px;
    animation: fadeIn 1.2s 0.8s backwards;
}

.courses h2 {
    font-size: 2.2rem;
    color: #3a0ca3;
    margin-bottom: 36px;
    letter-spacing: 1px;
}

.courses-list {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

.course-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(58,12,163,0.10);
    padding: 0 0 24px 0;
    width: 260px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: popIn 1.2s;
}

.course-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    margin-bottom: 18px;
    transition: filter 0.3s;
}

.course-card:hover {
    transform: translateY(-10px) scale(1.05) rotate(1deg);
    box-shadow: 0 8px 32px rgba(67,97,238,0.18);
}

.course-card:hover img {
    filter: brightness(1.08) saturate(1.2);
}

.course-card h4 {
    color: #7209b7;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.course-card p {
    color: #22223b;
    font-size: 1rem;
    margin-bottom: 18px;
}

.enroll-btn {
    display: inline-block;
    background: linear-gradient(90deg, #f72585 60%, #7209b7 100%);
    color: #fff;
    padding: 10px 28px;
    border-radius: 22px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(247,37,133,0.12);
    transition: background 0.3s, transform 0.2s;
}

.enroll-btn:hover {
    background: linear-gradient(90deg, #7209b7 60%, #f72585 100%);
    transform: scale(1.07) translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
    .features-list, .courses-list {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}
/* //about section css */
/* Add this to your style.css for About page enhancements */
/* // filepath: c:\xampp\htdocs\punitp\online-learning-portal\src\css\style.css */

.about-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 0 40px 0;
    background: linear-gradient(120deg, #f8fafc 60%, #e0e7ff 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(67,97,238,0.08);
    animation: fadeIn 1.2s cubic-bezier(.4,0,.2,1);
    margin-bottom: 40px;
}

.about-hero-content {
    flex: 1;
    text-align: left;
    padding-left: 40px;
    animation: slideInLeft 1.2s;
}

.about-hero-content h1 {
    font-size: 2.5rem;
    color: #3a0ca3;
    margin-bottom: 18px;
    letter-spacing: 2px;
    animation: popIn 1.2s;
}

.about-hero-content p {
    font-size: 1.15rem;
    color: #22223b;
    margin-bottom: 18px;
    line-height: 1.6;
    animation: fadeIn 1.5s;
}

.highlight {
    color: #f72585;
    font-weight: bold;
    background: linear-gradient(90deg, #f72585 20%, #7209b7 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInRight 1.2s;
}

.about-hero-img img {
    width: 320px;
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(67,97,238,0.18);
    animation: floatLogo 2.5s ease-in-out infinite alternate;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px);}
    to { opacity: 1; transform: translateX(0);}
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px);}
    to { opacity: 1; transform: translateX(0);}
}
@keyframes popIn {
    from { opacity: 0; transform: scale(0.8);}
    to { opacity: 1; transform: scale(1);}
}
@keyframes fadeIn {
    from { opacity: 0;}
    to { opacity: 1;}
}
@keyframes floatLogo {
    from { transform: translateY(0);}
    to { transform: translateY(-18px);}
}

/* Offerings Section */
.about-offerings {
    background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
    padding: 50px 0 40px 0;
    text-align: center;
    border-radius: 24px;
    margin: 40px 0 0 0;
    box-shadow: 0 8px 32px rgba(67,97,238,0.08);
    animation: fadeIn 1.2s 0.5s backwards;
}

.about-offerings h2 {
    font-size: 2rem;
    color: #3a0ca3;
    margin-bottom: 36px;
    letter-spacing: 1px;
}

.offerings-list {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

.offering-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(58,12,163,0.10);
    padding: 32px 24px;
    width: 220px;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: popIn 1.2s;
}

.offering-card:hover {
    transform: translateY(-10px) scale(1.05) rotate(-2deg);
    box-shadow: 0 8px 32px rgba(247,37,133,0.15);
}

.offering-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
    display: block;
    animation: bounce 1.5s infinite alternate;
}

@keyframes bounce {
    from { transform: translateY(0);}
    to { transform: translateY(-10px);}
}

.offering-card h3 {
    color: #7209b7;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.offering-card p {
    color: #22223b;
    font-size: 1rem;
}

/* Vision Section */
.about-vision {
    text-align: center;
    margin: 60px 0 30px 0;
    animation: fadeIn 1.2s 0.8s backwards;
}

.about-vision h2 {
    font-size: 2rem;
    color: #3a0ca3;
    margin-bottom: 18px;
}

.vision-text {
    font-size: 1.15rem;
    color: #22223b;
    margin-bottom: 28px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.vision-img {
    width: 320px;
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(247,37,133,0.12);
    animation: floatLogo 2.5s ease-in-out infinite alternate;
}

/* Responsive */
@media (max-width: 900px) {
    .about-hero {
        flex-direction: column;
        padding: 30px 0 20px 0;
        gap: 20px;
    }
    .about-hero-content, .about-hero-img {
        padding: 0 10px;
        text-align: center;
        justify-content: center;
    }
    .offerings-list {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}
/* contact section css */
/* Add to your style.css for a beautiful contact section */
/* // filepath: c:\xampp\htdocs\punitp\online-learning-portal\src\css\style.css */

.contact-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 50px 0 30px 0;
    background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(67,97,238,0.08);
    animation: fadeIn 1.2s cubic-bezier(.4,0,.2,1);
    margin-bottom: 30px;
}

.contact-hero-content {
    flex: 1;
    padding-left: 40px;
    animation: slideInLeft 1.2s;
}

.contact-hero-content h1 {
    font-size: 2.2rem;
    color: #3a0ca3;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.contact-hero-content p {
    font-size: 1.1rem;
    color: #22223b;
    margin-bottom: 18px;
}

.contact-hero-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInRight 1.2s;
}

.contact-hero-img img {
    width: 320px;
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(67,97,238,0.18);
    animation: floatLogo 2.5s ease-in-out infinite alternate;
}

.contact-form-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto 40px auto;
}

.contact-form {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(58,12,163,0.10);
    padding: 36px 32px 28px 32px;
    width: 100%;
    max-width: 420px;
    animation: popIn 1.2s;
}

.form-group {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-form label {
    font-weight: 500;
    color: #3a0ca3;
    margin-bottom: 6px;
    font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #bdbdfc;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8fafc;
    transition: border-color 0.3s, box-shadow 0.3s;
    margin-bottom: 2px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #f72585;
    outline: none;
    box-shadow: 0 2px 8px rgba(247,37,133,0.10);
}

.contact-btn {
    background: linear-gradient(90deg, #f72585 60%, #7209b7 100%);
    color: #fff;
    padding: 12px 32px;
    border-radius: 22px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(247,37,133,0.12);
    transition: background 0.3s, transform 0.2s;
    margin-top: 8px;
}

.contact-btn:hover {
    background: linear-gradient(90deg, #7209b7 60%, #f72585 100%);
    transform: scale(1.07) translateY(-2px);
}

@media (max-width: 900px) {
    .contact-hero {
        flex-direction: column;
        padding: 30px 0 20px 0;
        gap: 20px;
    }
    .contact-hero-content, .contact-hero-img {
        padding: 0 10px;
        text-align: center;
        justify-content: center;
    }
    .contact-form-section {
        padding: 0 10px;
    }
}
/* login section css */
/* Add to your style.css for a unique login page */
/* // filepath: c:\xampp\htdocs\punitp\online-learning-portal\src\css\style.css */

.login-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 50px 0 30px 0;
    background: linear-gradient(120deg, #f8fafc 60%, #e0e7ff 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(67,97,238,0.08);
    animation: fadeIn 1.2s cubic-bezier(.4,0,.2,1);
    margin-bottom: 30px;
}

.login-hero-content {
    flex: 1;
    padding-left: 40px;
    animation: slideInLeft 1.2s;
}

.login-hero-content h1 {
    font-size: 2.2rem;
    color: #3a0ca3;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.login-hero-content p {
    font-size: 1.1rem;
    color: #22223b;
    margin-bottom: 18px;
}

.login-hero-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInRight 1.2s;
}

.login-hero-img img {
    width: 320px;
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(67,97,238,0.18);
    animation: floatLogo 2.5s ease-in-out infinite alternate;
}

.login-form-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 40px auto;
}

.login-form {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(58,12,163,0.10);
    padding: 36px 32px 28px 32px;
    width: 100%;
    max-width: 400px;
    animation: popIn 1.2s;
}

.form-group {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.login-form label {
    font-weight: 500;
    color: #3a0ca3;
    margin-bottom: 6px;
    font-size: 1rem;
}

.login-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #bdbdfc;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8fafc;
    transition: border-color 0.3s, box-shadow 0.3s;
    margin-bottom: 2px;
}

.login-form input:focus {
    border-color: #f72585;
    outline: none;
    box-shadow: 0 2px 8px rgba(247,37,133,0.10);
}

.login-btn {
    background: linear-gradient(90deg, #f72585 60%, #7209b7 100%);
    color: #fff;
    padding: 12px 32px;
    border-radius: 22px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(247,37,133,0.12);
    transition: background 0.3s, transform 0.2s;
    margin-top: 8px;
}

.login-btn:hover {
    background: linear-gradient(90deg, #7209b7 60%, #f72585 100%);
    transform: scale(1.07) translateY(-2px);
}

.login-register-link {
    margin-top: 18px;
    text-align: center;
    color: #3a0ca3;
}

.login-register-link a {
    color: #0e2f92;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.login-register-link a:hover {
    color: #7209b7;
}

@media (max-width: 900px) {
    .login-hero {
        flex-direction: column;
        padding: 30px 0 20px 0;
        gap: 20px;
    }
    .login-hero-content, .login-hero-img {
        padding: 0 10px;
        text-align: center;
        justify-content: center;
    }
}
/* registr css */
/* Add to your style.css for a beautiful register page */
/* // filepath: c:\xampp\htdocs\punitp\online-learning-portal\src\css\style.css */

.register-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 50px 0 30px 0;
    background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(67,97,238,0.08);
    animation: fadeIn 1.2s cubic-bezier(.4,0,.2,1);
    margin-bottom: 30px;
}

.register-hero-content {
    flex: 1;
    padding-left: 40px;
    animation: slideInLeft 1.2s;
}

.register-hero-content h1 {
    font-size: 2.2rem;
    color: #3a0ca3;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.register-hero-content p {
    font-size: 1.1rem;
    color: #22223b;
    margin-bottom: 18px;
}

.register-hero-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInRight 1.2s;
}

.register-hero-img img {
    width: 320px;
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(67,97,238,0.18);
    animation: floatLogo 2.5s ease-in-out infinite alternate;
}

.register-form-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 40px auto;
}

.register-form {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(58,12,163,0.10);
    padding: 36px 32px 28px 32px;
    width: 100%;
    max-width: 400px;
    animation: popIn 1.2s;
}

.form-group {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.register-form label {
    font-weight: 500;
    color: #3a0ca3;
    margin-bottom: 6px;
    font-size: 1rem;
}

.register-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #bdbdfc;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8fafc;
    transition: border-color 0.3s, box-shadow 0.3s;
    margin-bottom: 2px;
}

.register-form input:focus {
    border-color: #f72585;
    outline: none;
    box-shadow: 0 2px 8px rgba(247,37,133,0.10);
}

.register-btn {
    background: linear-gradient(90deg, #f72585 60%, #7209b7 100%);
    color: #fff;
    padding: 12px 32px;
    border-radius: 22px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(247,37,133,0.12);
    transition: background 0.3s, transform 0.2s;
    margin-top: 8px;
}

.register-btn:hover {
    background: linear-gradient(90deg, #7209b7 60%, #f72585 100%);
    transform: scale(1.07) translateY(-2px);
}

.register-login-link {
    margin-top: 18px;
    text-align: center;
    color: #3a0ca3;
}

.register-login-link a {
    color: #f72585;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.register-login-link a:hover {
    color: #7209b7;
}

@media (max-width: 900px) {
    .register-hero {
        flex-direction: column;
        padding: 30px 0 20px 0;
        gap: 20px;
    }
    .register-hero-content, .register-hero-img {
        padding: 0 10px;
        text-align: center;
        justify-content: center;
    }
}