/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0a0a0a;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    color: #00ffff;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #00ffff;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00ffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.title-subtitle {
    font-size: 2rem;
    font-weight: 400;
    margin-top: 0.5rem;
    opacity: 0.8;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
}

.btn-primary {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
    transform: perspective(1000px) rotateX(0deg);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #00cccc, #0066cc);
    transform: perspective(1000px) rotateX(-5deg) translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #ff00ff;
}

.btn-secondary:hover {
    background: #ff00ff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 255, 0.3);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    z-index: 2;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ffff;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-grid {
    display: grid;
    gap: 4rem;
}

.service-category h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #00ffff;
    text-align: center;
}

.engine-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.engine-card {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(255, 0, 255, 0.1) 100%);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.engine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.engine-card:hover::before {
    left: 100%;
}

.engine-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.engine-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #00ffff;
}

.engine-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.engine-card p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.engine-card ul {
    list-style: none;
    text-align: left;
}

.engine-card li {
    padding: 0.3rem 0;
    opacity: 0.7;
    position: relative;
    padding-left: 1.5rem;
}

.engine-card li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #00ffff;
}

.platform-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.platform-card {
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 255, 0.6);
    box-shadow: 0 15px 30px rgba(255, 0, 255, 0.2);
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff00ff;
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #00ffff;
    color: #000;
    border-color: #00ffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
    height: 200px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay i {
    font-size: 3rem;
    color: #fff;
}

.project-info {
    padding: 1.5rem;
}

.project-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.project-info p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

/* Tutorials Section */
.tutorials {
    padding: 6rem 0;
    background: linear-gradient(180deg, #16213e 0%, #0a0a0a 100%);
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.tutorial-category {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-header i {
    font-size: 2rem;
    color: #00ffff;
}

.category-header h3 {
    font-size: 1.5rem;
    color: #fff;
}

.tutorial-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tutorial-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tutorial-item:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateX(10px);
}

.tutorial-item i {
    color: #00ffff;
    font-size: 1.2rem;
}

.tutorial-item span {
    flex: 1;
    color: #fff;
}

.tutorial-duration {
    color: #00ffff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Proposal Section */
.proposal {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.proposal-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.proposal-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #00ffff;
}

.proposal-info p {
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.proposal-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.feature i {
    color: #ff00ff;
    font-size: 1.2rem;
}

.proposal-form {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #00ffff;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(180deg, #16213e 0%, #0a0a0a 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(0, 255, 255, 0.5);
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2rem;
    color: #00ffff;
}

.contact-item h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.contact-item p {
    opacity: 0.8;
}

.social-links h4 {
    color: #00ffff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: #00ffff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

/* Footer */
.footer {
    background: #000;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #00ffff;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #00ffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateX(100%);
    animation: slideInNotification 0.5s ease-out forwards;
}

.notification-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(21, 128, 61, 0.9));
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.notification-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(185, 28, 28, 0.9));
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.notification-content {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 500;
}

.notification-content i:first-child {
    font-size: 18px;
    flex-shrink: 0;
}

.notification-content span {
    flex: 1;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.notification-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

@keyframes slideInNotification {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Form Error Styles */
#proposalForm .error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

#proposalForm .error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

/* Loading Button Styles */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

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

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

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(20px);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .title-subtitle {
        font-size: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .proposal-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .social-icons {
        grid-template-columns: repeat(3, 1fr);
    }

    .engine-cards {
        grid-template-columns: 1fr;
    }

    .platform-cards {
        grid-template-columns: 1fr;
    }

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

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

    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
        top: 10px;
    }
    
    .notification-content {
        padding: 14px 16px;
        font-size: 14px;
    }
}
/* Enhanced Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 420px;
    min-width: 300px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Success notification - Beautiful green */
.notification-success {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.95) 0%, 
        rgba(5, 150, 105, 0.95) 100%);
    border: 1px solid rgba(16, 185, 129, 0.6);
    color: white;
}

.notification-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669, #047857);
}

/* Error notification - Beautiful red */
.notification-error {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.95) 0%, 
        rgba(220, 38, 38, 0.95) 100%);
    border: 1px solid rgba(239, 68, 68, 0.6);
    color: white;
}

.notification-error::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #dc2626, #b91c1c);
}

.notification-content {
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
}

.notification-content i:first-child {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.notification-success .notification-content i:first-child {
    color: #d1fae5;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.5));
}

.notification-error .notification-content i:first-child {
    color: #fecaca;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.5));
}

.notification-content span {
    flex: 1;
    line-height: 1.5;
    font-weight: 500;
    font-size: 14px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    opacity: 0.8;
    transition: all 0.2s ease;
    font-size: 14px;
    flex-shrink: 0;
}

.notification-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

/* Animations */
@keyframes slideInNotification {
    0% {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideOutNotification {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
}

/* Pulse animation for success */
.notification-success {
    animation: slideInNotification 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               successPulse 0.6s ease-in-out 0.2s;
}

@keyframes successPulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4); }
}

/* Shake animation for error */
.notification-error {
    animation: slideInNotification 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               errorShake 0.5s ease-in-out 0.2s;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

/* Enhanced form error styles */
#proposalForm .error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
    background: rgba(239, 68, 68, 0.05) !important;
}

#proposalForm .error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

/* Loading button with spinner */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

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

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

/* Responsive notifications */
@media (max-width: 768px) {
    .notification {
        right: 15px;
        left: 15px;
        max-width: none;
        top: 15px;
        min-width: auto;
    }
    
    .notification-content {
        padding: 16px 18px;
        font-size: 14px;
    }
    
    .notification-content i:first-child {
        font-size: 18px;
    }
    
    .notification-content span {
        font-size: 13px;
    }
}

/* Additional hover effects for better UX */
.notification:hover {
    transform: translateX(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.notification-success:hover {
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.3);
}

.notification-error:hover {
    box-shadow: 0 15px 50px rgba(239, 68, 68, 0.3);
}

/* Enhanced Notification Styles - ADD THIS TO YOUR STYLES.CSS */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 420px;
    min-width: 300px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Success notification - Beautiful green */
.notification-success {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.95) 0%, 
        rgba(5, 150, 105, 0.95) 100%);
    border: 1px solid rgba(16, 185, 129, 0.6);
    color: white;
}

.notification-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669, #047857);
}

/* Error notification - Beautiful red */
.notification-error {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.95) 0%, 
        rgba(220, 38, 38, 0.95) 100%);
    border: 1px solid rgba(239, 68, 68, 0.6);
    color: white;
}

.notification-error::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #dc2626, #b91c1c);
}

.notification-content {
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
}

.notification-content i:first-child {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.notification-success .notification-content i:first-child {
    color: #d1fae5;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.5));
}

.notification-error .notification-content i:first-child {
    color: #fecaca;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.5));
}

.notification-content span {
    flex: 1;
    line-height: 1.5;
    font-weight: 500;
    font-size: 14px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    opacity: 0.8;
    transition: all 0.2s ease;
    font-size: 14px;
    flex-shrink: 0;
}

.notification-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

/* Animations */
@keyframes slideInNotification {
    0% {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideOutNotification {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
}

/* Pulse animation for success */
.notification-success {
    animation: slideInNotification 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               successPulse 0.6s ease-in-out 0.2s;
}

@keyframes successPulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4); }
}

/* Shake animation for error */
.notification-error {
    animation: slideInNotification 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               errorShake 0.5s ease-in-out 0.2s;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

/* Enhanced form error styles - UPDATED */
#proposalForm .error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
    background: rgba(239, 68, 68, 0.05) !important;
}

#proposalForm .error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

/* Loading button with spinner - UPDATED */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

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

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

/* Responsive notifications */
@media (max-width: 768px) {
    .notification {
        right: 15px;
        left: 15px;
        max-width: none;
        top: 15px;
        min-width: auto;
    }
    
    .notification-content {
        padding: 16px 18px;
        font-size: 14px;
    }
    
    .notification-content i:first-child {
        font-size: 18px;
    }
    
    .notification-content span {
        font-size: 13px;
    }
}

/* Additional hover effects for better UX */
.notification:hover {
    transform: translateX(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.notification-success:hover {
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.3);
}

.notification-error:hover {
    box-shadow: 0 15px 50px rgba(239, 68, 68, 0.3);
}

/* Simple Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    min-width: 300px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

/* Success - Green */
.notification-success {
    background: linear-gradient(135deg, #10b981, #059669);
    border: 1px solid #10b981;
    color: white;
}

/* Error - Red */
.notification-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: 1px solid #ef4444;
    color: white;
}

.notification-content {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-content i:first-child {
    font-size: 18px;
    flex-shrink: 0;
}

.notification-content span {
    flex: 1;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Form error styles */
#proposalForm .error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1) !important;
}

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

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

/* Mobile responsive */
@media (max-width: 768px) {
    .notification {
        right: 15px;
        left: 15px;
        max-width: none;
        min-width: auto;
    }
}