* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: poppins;
}
body {
    overflow-x: hidden; /* Prevents horizontal scroll */
}

html {
    overflow-x: hidden; /* Extra security */
}
a {
    text-decoration: none;
}
ul, li {
    list-style: none;
}
h1, h2, h3, h4, h5, h6 {
    font-family: poppins;
}

body {
    background-color: #fff;
}

/* Animation classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.fade-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.fade-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-animation .feature-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.stagger-animation.is-visible .feature-card:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.1s forwards;
}

.stagger-animation.is-visible .feature-card:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.3s forwards;
}

.stagger-animation.is-visible .feature-card:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.5s forwards;
}

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

/* Hero section */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    overflow: visible;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
}

/* Left column */
.hero-text {
    flex: 1.2;
    max-width: 800px;
    position: relative;
}

.hero-heading {
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text strong {
    font-size: 20px;
    margin-bottom: 14px;
    display: block;
    color: #625c5c;
    font-weight: 600;
}

.hero-text .three-cutting-lines {
    position: absolute;
    width: 40px;
    height: 40px;
    transform: rotate(320deg);
    top: -10px;
    left: -30px;
}

.hero-text .arrow-img {
    position: absolute;
    bottom: 22px;
    width: 90px;
    height: 90px;
    right: 30px;
    margin: 0 auto;
}

.typing-text {
    background: linear-gradient(90deg, #4d86c9, #245081);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.typing-text::after {
    content: '|';
    position: absolute;
    right: -15px;
    color: #4d86c9;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subheading {
    margin-bottom: 50px;
    max-width: 500px;
    font-size: 16px;
    color: #333;
    line-height: normal;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: #262ae1;
    border: 2px solid #262ae1;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover {
    border: 2px solid #262ae1;
    background: #fff;
    color: #262ae1;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Right column */
.hero-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: none;
}

.how-it-work {
    background: lightblue;
}

.how-it-work-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.how-it-work-container img {
    width: 100%;
    max-width: 1200px;
    object-fit: contain;
    height: auto;
}

.how-it-work-container h2 {
    font-size: 35px;
    color: #000;
    font-weight: 600;
    text-align: center;
    margin: 0;
    margin-bottom: 12px;
    line-height: normal;
}

.how-it-work-container strong {
    font-size: 25px;
    color: #000;
    font-weight: 400;
    text-align: center;
    margin: 0;
    margin-bottom: 20px;
    line-height: normal;
    display: block;
}

.how-it-work-container strong b {
    color: #262ae1;
    font-size: 30px;
}

.how-it-work-container p {
    color: #fff;
}

.timeline-goals {
    background: #fff;
}

.timeline-goals .timeline-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.timeline-goals h2 {
    text-align: center;
    margin: 0;
    margin-bottom: 25px;
    font-size: 35px;
    font-weight: 700;
    color: #262ae1;
}

.timeline-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.timeline-container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.image-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-holder {
    padding-left: 0;
    margin: 50px 0;
    padding-right: 2rem;
    flex: 1;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline .main-text {
    margin-top: 50px;
    margin-left: 30px;
    font-weight: 600;
    color: #353535;
    font-size: 18px;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 3px;
    background: #4d86c9;
    top: 0;
    bottom: 0;
    left: 20px;
    height: 80%;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4d86c9;
    left: 11px;
    top: 0;
    z-index: 1;
    animation: pulse 2s infinite;
    bottom: 0;
    margin: auto 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(108, 92, 231, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0);
    }
}

.timeline-content {
    background-color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 21%);
    border-left: 5px solid #262ae1;
}

.timeline-content p {
    color: #333;
    font-size: 14px;
    line-height: normal;
    font-weight: 500;
}

/* Timeline animation */
.timeline-highlight {
    position: absolute;
    width: 3px;
    background: linear-gradient(to bottom, #6c5ce7, #a29bfe);
    top: 0;
    left: 20px;
    height: 0;
    z-index: 0;
    background-size: 200% 200%;
}

@keyframes timeline-flow {
    0% {
        height: 0%;
        background-position: 0% 0%;
    }
    50% {
        height: 100%;
        background-position: 100% 100%;
    }
    100% {
        height: 0%;
        background-position: 0% 0%;
    }
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.features-container h3 {
    text-align: center;
    margin: 0;
    margin-bottom: 15px;
    font-size: 35px;
    font-weight: 700;
    color: #000;
}

.features-container strong, .timeline-container strong {
    font-size: 22px;
    margin-bottom: 60px;
    display: block;
    color: #625c5c;
    font-weight: 600;
    text-align: center;
}

.timeline-container strong {
    margin-bottom: 20px;
}
.features-card-section {
    display: flex;
    align-items: center;
    gap: 30px;
}

.features-card-section img {
    width: 100%;
    object-fit: contain;
}


.features-card-section h4 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    text-align: center;
}
.feature-card {
    width: 33%;
}
.features-card-section {
    text-align: center;
    font-size: 18px;
    line-height: normal;
}

.features-section {
   background: rgba(244, 249, 255, 1);
}

.cta-section {
    background: rgba(46, 106, 180, 1);
}

.cta-section .cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
    text-align: center;
}

.cta-section .cta-container h5 {
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    margin: 0;
    margin-bottom: 25px;
}

.cta-section .cta-container a {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: #000;
    border: 2px solid #000;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.cta-section .cta-container a:hover {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
}

/* Responsive styles */
@media screen and (max-width: 1199px) {
    .hero-text .arrow-img {
        right: unset;
        left: 270px;
    }

    .hero-text, .hero-image {
        flex: 1;
    }

    .hero-image img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .timeline-section {
        flex-direction: column-reverse;
    }

    .image-container {
        order: -1;
        margin-bottom: 30px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-item::before {
        left: 8px;
    }

    .timeline-highlight {
        left: 15px;
    }

    .hero-container {
        padding: 6rem 2rem 2rem 2rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        width: 100%;
    }

    .hero-heading {
        font-size: 30px;
    }

    .hero-text strong {
        font-size: 20px;
    }

    .hero-subheading {
        max-width: 100%;
    }
    .hero-text .arrow-img {
        right: 10px;
        left: unset;
        bottom: 16px;
        width: 70px;
        height: 70px;
    }

    .hero-text .three-cutting-lines {
        position: absolute;
        width: 40px;
        height: 40px;
        transform: rotate(320deg);
        top: 30px;
        left: 20px;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        width: 500px;
        height: 500px;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 3rem 1rem;
    }

    .hero-heading {
        font-size: 2rem;
    }

    .hero-subheading {
        font-size: 1rem;
    }
}

/* ========================= */
/*    RESPONSIVE DESIGN      */
/* ========================= */

/* Large Desktop (1200px+) - Default styles above */

/* Medium Desktop & Laptop (992px - 1199px) */
@media screen and (max-width: 1199px) {
    .hero-text .arrow-img {
        right: unset;
        left: 270px;
    }

    .hero-text, .hero-image {
        flex: 1;
    }

    .hero-image img {
        width: 100%;
    }

    /* Adjust font sizes for medium screens */
    .hero-heading {
        font-size: 40px;
    }

    .how-it-work-container h2,
    .timeline-goals h2 {
        font-size: 32px;
    }

    .features-container h3 {
        font-size: 32px;
    }
}

/* Tablet Portrait (768px - 991px) */
@media screen and (max-width: 991px) {
    /* Container adjustments */
    .hero-container,
    .how-it-work-container,
    .timeline-container,
    .features-container,
    .cta-container {
        padding: 3rem 1.5rem;
    }

    /* Typography adjustments */
    .hero-heading {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .hero-text strong {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .hero-subheading {
        font-size: 15px;
        margin-bottom: 40px;
    }

    .how-it-work-container h2 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .how-it-work-container strong {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .timeline-goals h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .timeline-container strong,
    .features-container strong {
        font-size: 20px;
        margin-bottom: 50px;
    }

    .features-container h3 {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .features-card-section h4 {
        font-size: 18px;
    }

    .cta-section .cta-container h5 {
        font-size: 18px;
    }

    /* Layout adjustments */
    .features-card-section {
        gap: 25px;
    }

    .timeline-section {
        gap: 30px;
    }

    /* Button adjustments */
    .cta-button,
    .cta-section .cta-container a {
        padding: 0.8rem 1.8rem;
        font-size: 16px;
    }
}

/* Mobile Landscape & Small Tablet (576px - 767px) */
@media screen and (max-width: 767px) {
    /* Container adjustments */
    .hero-container {
        padding: 5rem 1rem 3rem 1rem;
    }

    /* Floating icons adjustments for mobile */
    .floating-icon {
        font-size: 16px;
        opacity: 0.6;
    }

    /* Reduce some icons on mobile for better performance */
    .floating-icon.icon-11,
    .floating-icon.icon-12 {
        display: none;
    }

    /* Adjust positioning for mobile */
    .floating-icon.icon-1 { left: 2%; }
    .floating-icon.icon-2 { left: 4%; }
    .floating-icon.icon-3 { left: 1%; }
    .floating-icon.icon-4 { left: 3%; }
    .floating-icon.icon-5 { left: 2%; }
    .floating-icon.icon-6 { right: 2%; }
    .floating-icon.icon-7 { right: 4%; }
    .floating-icon.icon-8 { right: 1%; }
    .floating-icon.icon-9 { right: 3%; }
    .floating-icon.icon-10 { right: 2%; }

    .how-it-work-container,
    .timeline-container,
    .features-container,
    .cta-container {
        padding: 2.5rem 1rem;
    }

    .how-it-work-container {
        height: auto;
        min-height: 400px;
    }

    /* Hero section mobile layout */
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        width: 100%;
        max-width: 100%;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    /* Typography for mobile landscape */
    .hero-heading {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero-text strong {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .hero-subheading {
        font-size: 14px;
        margin-bottom: 35px;
        max-width: 100%;
    }

    .how-it-work-container h2 {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .how-it-work-container strong {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .how-it-work-container strong b {
        font-size: 26px;
    }

    .timeline-goals h2 {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .timeline-container strong,
    .features-container strong {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .features-container h3 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .features-card-section h4 {
        font-size: 17px;
    }

    .cta-section .cta-container h5 {
        font-size: 17px;
        margin-bottom: 20px;
    }

    /* Layout changes for mobile */
    .timeline-section {
        flex-direction: column-reverse;
        gap: 25px;
    }

    .image-container {
        order: -1;
        margin-bottom: 20px;
    }

    .features-card-section {
        flex-direction: column;
        gap: 20px;
    }

    .feature-card {
        width: 100%;
    }

    /* Timeline adjustments */
    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-item::before {
        left: 8px;
    }

    .timeline-highlight {
        left: 15px;
    }

    .timeline .main-text {
        margin-left: 25px;
        font-size: 16px;
    }

    /* Decorative elements */
    .hero-text .arrow-img {
        right: 15px;
        left: unset;
        bottom: 20px;
        width: 60px;
        height: 60px;
    }

    .hero-text .three-cutting-lines {
        top: 25px;
        left: 15px;
        width: 35px;
        height: 35px;
    }

    /* Button adjustments */
    .cta-button,
    .cta-section .cta-container a {
        padding: 0.7rem 1.5rem;
        font-size: 15px;
        gap: 12px;
    }

    .timeline-holder {
        margin: 10px 0;
    }
}

/* Mobile Portrait (375px - 575px) */
@media screen and (max-width: 575px) {
    /* Container adjustments */
    .hero-container,
    .how-it-work-container,
    .timeline-container,
    .features-container,
    .cta-container {
        padding: 2rem 0.8rem;
    }

    .hero-container {
        padding-top: 7rem;
    }

    /* Further optimize floating icons for small mobile */
    .floating-icon {
        font-size: 14px;
        opacity: 0.5;
    }

    /* Hide more icons on very small screens */
    .floating-icon.icon-4,
    .floating-icon.icon-5,
    .floating-icon.icon-9,
    .floating-icon.icon-10 {
        display: none;
    }

    /* Slow down animations for better performance */
    .floating-icon.icon-1 { animation-duration: 6s; }
    .floating-icon.icon-2 { animation-duration: 7s; }
    .floating-icon.icon-3 { animation-duration: 8s; }
    .floating-icon.icon-6 { animation-duration: 6.5s; }
    .floating-icon.icon-7 { animation-duration: 8s; }
    .floating-icon.icon-8 { animation-duration: 4s; }

    /* Typography for mobile portrait */
    .hero-heading {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero-text strong {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .hero-subheading {
        font-size: 13px;
        margin-bottom: 30px;
    }

    .how-it-work-container h2 {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .how-it-work-container strong {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .how-it-work-container strong b {
        font-size: 22px;
    }

    .timeline-goals h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .timeline-container strong,
    .features-container strong {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .features-container h3 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .features-card-section h4 {
        font-size: 16px;
    }

    .timeline-content p {
        font-size: 13px;
    }

    .timeline .main-text {
        font-size: 15px;
        margin-left: 20px;
    }

    .cta-section .cta-container h5 {
        font-size: 16px;
        margin-bottom: 18px;
    }

    /* Button adjustments */
    .cta-button,
    .cta-section .cta-container a {
        padding: 0.6rem 1.3rem;
        font-size: 14px;
        gap: 10px;
    }

    /* Decorative elements */
    .hero-text .arrow-img {
        width: 50px;
        height: 50px;
        right: 10px;
        bottom: 15px;
    }

    .hero-text .three-cutting-lines {
        width: 30px;
        height: 30px;
        top: 20px;
        left: 10px;
    }
}

/* Small Mobile (320px - 374px) */
@media screen and (max-width: 374px) {
    /* Container adjustments */
    .hero-container,
    .how-it-work-container,
    .timeline-container,
    .features-container,
    .cta-container {
        padding: 1.5rem 0.5rem;
    }

    .hero-container {
        padding-top: 7rem;
    }

    /* Minimal floating icons for very small screens */
    .floating-icon {
        font-size: 12px;
        opacity: 0.4;
    }

    /* Keep only essential icons */
    .floating-icon.icon-2,
    .floating-icon.icon-3,
    .floating-icon.icon-7 {
        display: none;
    }

    /* Only show 4 key icons */
    .floating-icon.icon-1,
    .floating-icon.icon-6,
    .floating-icon.icon-8 {
        display: block;
    }

    /* Typography for small mobile */
    .hero-heading {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .hero-text strong {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .hero-subheading {
        font-size: 12px;
        margin-bottom: 25px;
    }

    .how-it-work-container h2 {
        font-size: 22px;
        margin-bottom: 5px;
    }

    .how-it-work-container strong {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .how-it-work-container strong b {
        font-size: 20px;
    }

    .timeline-goals h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .timeline-container strong,
    .features-container strong {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .features-container h3 {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .features-card-section h4 {
        font-size: 15px;
    }

    .timeline-content p {
        font-size: 12px;
    }

    .timeline .main-text {
        font-size: 14px;
        margin-left: 15px;
    }

    .cta-section .cta-container h5 {
        font-size: 15px;
        margin-bottom: 15px;
    }

    /* Button adjustments */
    .cta-button,
    .cta-section .cta-container a {
        padding: 0.5rem 1rem;
        font-size: 13px;
        gap: 8px;
    }

    /* Layout adjustments */
    .features-card-section {
        gap: 15px;
    }

    .timeline-section {
        gap: 20px;
    }

    /* Decorative elements */
    .hero-text .arrow-img {
        display: none; /* Hide on very small screens */
    }

    .hero-text .three-cutting-lines {
        width: 25px;
        height: 25px;
        top: 15px;
        left: 5px;
    }
}

.semester-form {
    background-color: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    border: 1px solid #afa9a9;
}

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

label {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: #000;
    margin-bottom: 8px;
}

input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #dce0e5;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
    outline: none;
    border-color: #0070f3;
    box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.1);
}

input::placeholder {
    color: #a0aec0;
}

.date-container {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}

.date-group {
    flex: 1;
}

.date-input-wrapper {
    position: relative;
    display: block;
    align-items: center;
}

.calendar-icon {
    position: absolute;
    left: 12px;
    color: #4a5568;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.calendar-toggle {
    position: absolute;
    right: 12px;
    color: #4a5568;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.date-input-wrapper input {
    padding-left: 20px;
    padding-right: 20px;
}

/* Elegant hover effects */
.date-input-wrapper:hover input {
    border-color: #b3c0d1;
}

input:hover {
    border-color: #b3c0d1;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .date-container {
        flex-direction: column;
        gap: 0;
    }

    .semester-form {
        padding: 20px;
    }

    label {
        font-size: 15px;
    }

    input {
        padding: 10px 14px;
        font-size: 14px;
    }
}

/* Additional elegant styling */
.semester-form {
    position: relative;
    overflow: hidden;
}

.semester-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0070f3, #00c6ff);
    opacity: 0.8;
}

input {
    font-weight: 500;
}

/* Subtle animation for focus state */
input:focus {
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}

.error-message {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 6px;
    font-weight: 500;
    min-height: 20px;
    transition: all 0.2s ease;
}

input.error {
    border-color: #e53e3e;
}

input.error:focus {
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}


/* Animation for error messages */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.6s cubic-bezier(.36,.07,.19,.97) both;
}

/* Floating Icons Styles */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-icon {
    position: absolute;
    font-size: 20px;
    color: rgba(38, 42, 225, 0.15);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-icon i {
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    font-size: 50px;
}

/* Individual icon positioning and animations */
.floating-icon.icon-1 {
    top: 10%;
    left: 5%;
    animation: floatUpDown 4s ease-in-out infinite;
    color: rgba(24, 72, 243, 0.5);
}

.floating-icon.icon-2 {
    top: 25%;
    left: 8%;
    animation: floatLeftRight 5s ease-in-out infinite;
    color: rgba(12, 191, 36, 0.5);
}

.floating-icon.icon-3 {
    top: 40%;
    left: 3%;
    animation: floatDiagonal 6s ease-in-out infinite;
    color: rgba(255, 193, 7, 0.5);
}

.floating-icon.icon-4 {
    top: 60%;
    left: 7%;
    animation: floatRotate 7s linear infinite;
    color: rgba(220, 53, 69, 0.5);
}

.floating-icon.icon-5 {
    top: 80%;
    left: 4%;
    animation: floatUpDown 5s ease-in-out infinite reverse;
    color: rgba(108, 117, 125, 0.5);
}

.floating-icon.icon-6 {
    top: 15%;
    right: 5%;
    animation: floatLeftRight 4.5s ease-in-out infinite reverse;
    color: rgba(38, 42, 225, 0.5);
}

.floating-icon.icon-7 {
    top: 30%;
    right: 8%;
    animation: floatUpDown 6s ease-in-out infinite;
    color: rgba(12, 191, 36, 0.5);
}

.floating-icon.icon-8 {
    top: 45%;
    right: 3%;
    animation: floatTwinkle 3s ease-in-out infinite;
    color: rgb(255 135 7 / 96%);
}

.floating-icon.icon-9 {
    top: 65%;
    right: 7%;
    animation: floatDiagonal 5.5s ease-in-out infinite reverse;
    color: rgba(23, 162, 184, 0.5);
}

.floating-icon.icon-10 {
    top: 85%;
    right: 4%;
    animation: floatRotate 8s linear infinite reverse;
    color: rgba(255, 193, 7, 0.5);
}

.floating-icon.icon-11 {
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    animation: floatUpDown 4.5s ease-in-out infinite;
    color: rgba(108, 117, 125, 0.5);
}

.floating-icon.icon-12 {
    top: 70%;
    right: 50%;
    transform: translateX(50%);
    animation: floatLeftRight 5.5s ease-in-out infinite;
    color: rgba(220, 53, 69, 0.5);
}

/* Animation Keyframes */
@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatLeftRight {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(10px);
    }
}

@keyframes floatDiagonal {
    0%, 100% {
        transform: translate(0px, 0px);
    }
    25% {
        transform: translate(8px, -8px);
    }
    50% {
        transform: translate(0px, -15px);
    }
    75% {
        transform: translate(-8px, -8px);
    }
}

@keyframes floatRotate {
    0% {
        transform: rotate(0deg) translateY(0px);
    }
    25% {
        transform: rotate(90deg) translateY(-5px);
    }
    50% {
        transform: rotate(180deg) translateY(-10px);
    }
    75% {
        transform: rotate(270deg) translateY(-5px);
    }
    100% {
        transform: rotate(360deg) translateY(0px);
    }
}

@keyframes floatTwinkle {
    0%, 100% {
        opacity: 0.15;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.2);
    }
}

/* Hover effects for icons */
.floating-icon:hover {
    color: rgba(38, 42, 225, 0.4) !important;
    transform: scale(1.3);
    animation-play-state: paused;
}