/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 25%, #60a5fa 50%, #3b82f6 75%, #1e3a8a 100%);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    min-height: 100vh;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 25%, #60a5fa 50%, #3b82f6 75%, #1e3a8a 100%);
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(147, 197, 253, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 40% 40%, rgba(96, 165, 250, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px, 90px 90px, 140px 140px, 110px 110px;
    animation: particleFloat 30s linear infinite;
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 25s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-120px) rotate(360deg); }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 1;
    padding: 20px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    animation: fadeInUp 1.5s ease-out;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 50px rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    letter-spacing: -3px;
    animation: glow 4s ease-in-out infinite alternate;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 197, 253, 0.1) 100%);
    border-radius: 20px;
    z-index: -1;
    filter: blur(20px);
}

.hero-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    animation: slideInRight 1.5s ease-out 0.5s both;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.4rem;
    color: #e2e8f0;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: slideInLeft 1.5s ease-out 0.8s both;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.5s ease-out 1.2s both;
}

.hero-btn {
    padding: 20px 40px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #dbeafe 50%, #93c5fd 100%);
    border: none;
    color: #1e3a8a;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 25px 60px rgba(255, 255, 255, 0.5);
    color: #1e3a8a;
}

.btn-outline-primary {
    border: 2px solid #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
}

.btn-outline-primary:hover {
    background: #ffffff;
    color: #1e3a8a;
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 25px 60px rgba(255, 255, 255, 0.5);
}

/* Section Styles */
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.section-subtitle {
    font-size: 1.4rem;
    color: #cbd5e1;
    font-weight: 400;
    margin-bottom: 40px;
}

.title-underline {
    width: 150px;
    height: 5px;
    background: linear-gradient(90deg, transparent, #3b82f6, #60a5fa, #93c5fd, transparent);
    margin: 0 auto 30px;
    border-radius: 3px;
    animation: expand 3s ease-out;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* Page Header Styles */
.page-header {
    animation: fadeInUp 1.5s ease-out;
}

.page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    animation: slideInRight 1.5s ease-out 0.5s both;
    letter-spacing: -2px;
}

.page-subtitle {
    font-size: 1.4rem;
    color: #cbd5e1;
    font-weight: 400;
    animation: slideInLeft 1.5s ease-out 0.8s both;
}

/* Contact Info Section */
.contact-info-section {
    animation: fadeInUp 1.5s ease-out 1.4s both;
}

.contact-info {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(59, 130, 246, 0.15);
    border: 2px solid rgba(59, 130, 246, 0.4);
    border-radius: 60px;
    padding: 20px 35px;
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.contact-info:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.6);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.3);
}

.contact-info i {
    color: #60a5fa;
    font-size: 1.5rem;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.8);
}

.contact-info span {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Contact Form Card */
.contact-form-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 50px 40px;
    backdrop-filter: blur(25px);
    box-shadow: 0 30px 80px rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 1.5s ease-out 1.6s both;
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 197, 253, 0.05) 100%);
    z-index: -1;
}

.contact-form-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 40px 100px rgba(255, 255, 255, 0.2);
}

.form-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.form-control {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 1.2rem;
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    color: #ffffff;
    outline: none;
    transform: translateY(-2px);
}

textarea.form-control {
    resize: vertical;
    min-height: 160px;
}

.btn-submit {
    background: linear-gradient(135deg, #ffffff 0%, #dbeafe 50%, #93c5fd 100%);
    border: none;
    padding: 20px 40px;
    border-radius: 15px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    color: #1e3a8a;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 60px rgba(255, 255, 255, 0.4);
    color: #1e3a8a;
}

.btn-submit:active {
    transform: translateY(-2px) scale(1.01);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px;
    background: rgba(34, 197, 94, 0.15);
    border: 2px solid rgba(34, 197, 94, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    animation: fadeInUp 0.8s ease-out;
    box-shadow: 0 20px 50px rgba(34, 197, 94, 0.2);
}

.success-message h4 {
    color: #22c55e;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
    font-size: 1.8rem;
}

.success-message p {
    color: #cbd5e1;
    font-size: 1.2rem;
    margin: 0;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {
    from { 
        text-shadow: 0 0 50px rgba(59, 130, 246, 0.8);
        filter: brightness(1);
    }
    to { 
        text-shadow: 0 0 60px rgba(59, 130, 246, 1), 0 0 100px rgba(59, 130, 246, 0.6);
        filter: brightness(1.2);
    }
}

@keyframes expand {
    from { width: 0; }
    to { width: 150px; }
}

@keyframes rocketPulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 280px;
    }
    
    .contact-form-card {
        padding: 40px 30px;
        margin: 0 20px;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .contact-info {
        padding: 18px 30px;
    }
    
    .contact-info span {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .contact-form-card {
        padding: 35px 25px;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .btn-submit {
        padding: 18px 35px;
        font-size: 1.1rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 12px;
        padding: 25px;
    }
    
    .form-control {
        padding: 18px 25px;
        font-size: 1.1rem;
    }
    
    .form-label {
        font-size: 1.1rem;
    }
}

/* Additional Modern UI Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.1));
    animation: float 6s ease-in-out infinite;
}

.floating-circle:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-circle:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-circle:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Glassmorphism Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}