/*************  ✨ Codeium Command 🌟  *************/
/*************  Codeium Command  *************/
/* Base Styles */
:root {
    --primary-color: #237aaf;
    --secondary-color: #6c757d;
    --head-color: #0a2047;
    --background-color: #ffffff;
    --text-color: #333333;
    --accent-color: #17a2b8;
    --gray-light: #f8f9fa;
    --gray-dark: #343a40;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* loader */ 
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999999;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    svg{
        width:200px;
        .cls-1{
            stroke-width: 10px;
            stroke-dasharray: 3415;
            stroke-dashoffset: 3415;
            fill:transparent;
            animation: logoAnime 2s ease forwards , 2s logoFill1 1.5s ease forwards;
            stroke: #00a1f8 ;
        }
        .cls-2{
            stroke-width: 10px;
            stroke-dasharray: 1098;
            stroke-dashoffset: 1098;
            fill:transparent;
            stroke: #00a1f8;
            animation: logoAnime 2s ease forwards , 2s logoFill1 1.5s ease forwards;;
        }
        .cls-3{
            stroke-width: 10px;
            stroke-dasharray: 392;
            stroke-dashoffset: 392;
            fill:transparent;
            stroke: #3988ff;
            animation: logoAnime 2s ease forwards , 2s logoFill2 1.5s ease forwards;
        }

    }
}

.loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


@keyframes logoAnime {
    to {
        stroke-dashoffset: 0;
        
    }
    
}
@keyframes logoFill1 {
    to {
        fill: #00a1f8;
    }
    
}
@keyframes logoFill2 {
    to {
        fill: #3988ff;
    }
    
}


        /* Styling for the scroll-to-top button */
        .scroll-to-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 60px;
            height: 60px;
            background-color: transparent;
            color: #00a1f8;
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }

        /* Styling for the circular progress bar */
        .progress-circle {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--background-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    width: 80px;
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.menu-btn {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.hero-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.typing-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 2s ease;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 1.5s ease;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn.primary {
    background: var(--primary-color);
    color: white;
    border: 0;
}

.btn.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
    background: var(--gray-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}
.section-subtitle{
    margin-bottom: 20px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.skill-tags span {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-item p {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Projects Section */
.projects {
    gap: 2rem;
}
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.project-filters button {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s;
}

.project-filters button:hover {
    background: var(--primary-color);
    color: white;
}

.project-filters button.active {
    background: var(--primary-color);
    color: white;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem 2rem;
}
.project-card {
    --project-image-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    /* border-radius: 10px; */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* margin-bottom: 2rem; */
    /* justify-content: space-between; */
    position: relative;
    &::before {
        content: "";
        width: 0%;
        background-color: var(--primary-color);
        height: 5px;
        inset-inline-start: 0;
        position: absolute;
        top: -5px;
        z-index: 22;
        transition: 2s ease;
    }
    &:hover {
        &::before {
            width: 100%;
            background-color: var(--primary-color);
            transition: 2s ease;
        }
        .project-image {
            transition: 0.5s all ease;
            img {
                transform: translateY(calc(-100% + var(--project-image-height)));
            }
        }
    }
}

.project-image {
    width: 100%;
    height: var(--project-image-height);
    /* border-radius: 10px 10px 0 0; */
    overflow: hidden;
    position: relative;
    transition: 0.5s all linear;
    img {
        display: block;
        width: 100%;
        height: auto;
        max-width: none;
        object-position: top;
        transform: translateY(0);
        transition: transform 2s ease;
    }
   
}

@keyframes imageHover {
    0% {
        top: 0;
        bottom: auto;
    }
    100% {
        top: auto;
        bottom: 0;
    }
    
}
.project-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
    justify-content: space-between;
    gap: 15px;
}

.project-info h3 {
    font-size: 1.5rem;
    /* margin-bottom: 1rem; */
    min-height: 40px
}

.project-info p {
    font-size: 1rem;
    /* margin-bottom: 2rem; */
    min-height: 150px
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    /* margin-block: 1rem; */
    min-height: 100px;
    span{
        height: fit-content;
    }
}

.project-tags span {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
}
.project-info .btn {
    /* width: fit-content; */
    display: flex;
    align-items: center;
    gap:10px;
    align-self: center;
    transition: 0.5s all;
    span{
        transform: translateX(8px);
        transition: 0.5s all;
    }
    i{
        transform: translateX(-30px);
        opacity: 0;
        visibility: hidden;
        transition: 0.5s all;
    }
    &:hover {
        
        span{
            transform: translateX(0px);
;
            transition: 0.5s all;
        }
        i{
            transform: translateX(0px);
            opacity: 1;
            visibility: visible;
            transition: 0.5s all;
        }
    }
}

/* Experience Section */
.project-card.hide {
    display: none;
}

/* Pagination Styles */
.pagination-container {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.pagination-info {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--background-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 122, 175, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    background: var(--background-color);
    color: var(--primary-color);
}

.pagination-number:hover {
    background: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 122, 175, 0.3);
}

.pagination-number.active {
    background: var(--primary-color);
    color: var(--background-color);
    box-shadow: 0 4px 12px rgba(35, 122, 175, 0.3);
}

.pagination-number.ellipsis {
    border: none;
    cursor: default;
    background: transparent;
}

.pagination-number.ellipsis:hover {
    background: transparent;
    color: var(--primary-color);
    transform: none;
    box-shadow: none;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pagination-numbers {
        order: -1;
    }
    
    .pagination-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }
}

/* Pagination Styles */
.pagination-container {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.pagination-info {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--background-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 122, 175, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    background: var(--background-color);
    color: var(--primary-color);
}

.pagination-number:hover {
    background: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 122, 175, 0.3);
}

.pagination-number.active {
    background: var(--primary-color);
    color: var(--background-color);
    box-shadow: 0 4px 12px rgba(35, 122, 175, 0.3);
}

.pagination-number.ellipsis {
    border: none;
    cursor: default;
    background: transparent;
}

.pagination-number.ellipsis:hover {
    background: transparent;
    color: var(--primary-color);
    transform: none;
    box-shadow: none;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pagination-numbers {
        order: -1;
    }
    
    .pagination-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }
}

/* Form message styles (moved from inline HTML) */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease-out;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message i {
    font-size: 1.2rem;
}

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

button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    animation: fadeInDown 1s ease;
}

.timeline-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.timeline-item h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.timeline-item p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Contact Section */

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    margin-bottom: 30px;
    gap: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    color: var(--primary-color);
}

.contact-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.contact-form {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background-color: var(--form-bg-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

    gap: 2rem;
    width: 80%;
    margin: auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid var(--gray-dark);
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 200px;
    resize: none;
}

/* Animations */
.footer {
    padding: 2rem 0;
    background-color: var(--gray-dark);
    color: white;
    text-align: center;
}

.footer-content {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--primary-color);
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

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

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.nav-links .resume-btn {
    display: none;
}

/* Media Queries */
@media (max-width: 992px) {
    .nav .container {
        /* flex-direction: column; */
        align-items: center;
        height: auto;
        gap: 20px;
    }

    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
        background: transparent;
        border: none;
        font-size: 2rem;
        cursor: pointer;
        flex-direction: column;
        width: 36px;
        height: 36px;
        gap: 5px;
        position: relative;
        transform: rotate(0deg);
        transition: 0.5s ease-in-out;
        margin-inline-start: auto;
        span {
            background-color: var(--primary-color);
            display: block;
            position: absolute;
            height: 7px;
            width: 50%;
            opacity: 1;
            transition: 0.5s all;
            &:nth-child(1),
            &:nth-child(2) {
                top: 2px;
            }
            &:nth-child(odd) {
                left: 1px;
                border-radius: 9px 0 0 9px;
            }
            &:nth-child(even) {
                right: 1px;
                border-radius: 0 9px 9px 0;
            }
            &:nth-child(3),
            &:nth-child(4) {
                top: 14px;
            }
            &:nth-child(5),
            &:nth-child(6) {
                top: 26px;
            }
        }

        &.opened {
            span {
                width: 65%;
                transition: 0.5s all;
                &:nth-child(1),
                &:nth-child(6) {
                    transform: rotate(45deg);
                }
                &:nth-child(2),
                &:nth-child(5) {
                    transform: rotate(-45deg);
                }
                &:nth-child(1) {
                    left: 4px;
                    top: -1px;
                    transform-origin: top left;
                }
                &:nth-child(2) {
                    right: 4px;
                    top: -1px;
                    transform-origin: top right;
                }
                &:nth-child(3) {
                    left: 50%;
                    opacity: 0;
                }
                &:nth-child(4) {
                    right: 50%;
                    opacity: 0;
                }
                &:nth-child(5) {
                    left: 4px;
                    top: 30px;
                    transform-origin: bottom left;
                }
                &:nth-child(6) {
                    right: 4px;
                    top: 30px;
                    transform-origin: bottom right;
                }
            }
        }
    }
    .resume-btn {
        display: none;
    }
    .nav-links .resume-btn {
        display: block;
    }
    .menu-btn:hover {
        color: var(--primary-color);
    }
    /* Mobile Navigation Styles */
    .nav .nav-links {
        position: absolute;
        top: 80px;
        left: -500px;
        width: 100%;
        background: var(--background-color);
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        gap: 20px;
        opacity: 0;
        visibility: hidden;
    }
    .nav .nav-links.show {
        left: 0;
        animation: slideDown 0.3s ease-out;
        opacity: 1;
        visibility: visible;
        .resume-btn {
            width: fit-content;
        }
    }

    .nav.show .nav-links a {
        padding: 1rem;
        margin: 0;
        text-align: center;
        width: 100%;
    }
    .hero {
        height: auto;
        padding-top: 120px;
    }

    .hero-content {
        text-align: center;
        h1 {
            font-size: 1.8rem;
        }
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    /* 
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    } */

    .project-image {
        width: 100%;
        height: var(--project-image-height);
    }

    .project-card {
        --project-image-height: 220px;
    }

    .project-info {
        flex: 1;
    }

    .timeline {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-item {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .contact-form {
        flex-direction: column;
        align-items: flex-start;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .contact-form {
        width: 100%;
    }
}
section {
    padding: 80px 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translatex(-500px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Project Card Transitions */
.project-card {
    transition: all 0.3s ease-in-out;
}

.project-card:hover {
    transform: translateY(-10px);
}

/* Form Input Animations */
.form-group input,
.form-group textarea {
    transition:
        border-color 0.3s,
        box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(35, 122, 175, 0.2);
}

.typing-text {
    font-weight: 600;
    text-transform: capitalize;
    min-height: 30px;
    transition: 0.5s all;
}

/* Additional Responsive Adjustments */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .typing-text {
        font-size: 1.2rem;
        font-weight: 600;
        text-transform: capitalize;
        min-height: 30px;
        transition: 0.5s all;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

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


}

/* Skill Tags Animation */
.skill-tags {
    margin-bottom: 20px;
}
.skill-tags span {
    transition: transform 0.3s ease;
}

.skill-tags span:hover {
    transform: scale(1.1);
}

/* Timeline Animation */
.timeline-item {
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
}

.hero {
    position: relative;
    overflow: hidden;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease-out;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message i {
    font-size: 1.2rem;
}

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

button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
