/* ==================== RESET AND BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* ==================== HEADER STYLES ==================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: #6366f1;
    font-size: 1.2rem;
}

.nav-logo img {
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

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

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

.nav-link:hover {
    color: #6366f1;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* ==================== REGISTRATION HERO SECTION ==================== */
.registration-hero {
    height: 70vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    overflow: hidden;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.registration-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.quantum-particles-registration {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, #6366f1 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, #ec4899 2px, transparent 2px),
        radial-gradient(circle at 60% 20%, #10b981 2px, transparent 2px);
    background-size: 200px 200px, 250px 250px, 180px 180px;
    animation: floatParticles 20s ease-in-out infinite;
}

.registration-circuit-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-image: 
        linear-gradient(90deg, transparent 48%, rgba(99, 102, 241, 0.3) 49%, rgba(99, 102, 241, 0.3) 51%, transparent 52%),
        linear-gradient(0deg, transparent 48%, rgba(236, 72, 153, 0.3) 49%, rgba(236, 72, 153, 0.3) 51%, transparent 52%);
    background-size: 200px 200px, 200px 200px;
    animation: quantumPulse 4s ease-in-out infinite;
}

.registration-hero-content {
    text-align: center;
    z-index: 2;
    color: white;
    padding: 2rem;
    max-width: 900px;
}

.registration-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    animation: fadeInUp 1s ease-out;
}

.registration-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #cbd5e1;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.registration-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #6366f1;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: #cbd5e1;
}

/* ==================== REGISTRATION FORM SECTION ==================== */
.registration-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.registration-container {
    max-width: 800px;
    margin: 0 auto;
}

.registration-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.registration-intro {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.registration-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.signin-reminder {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section-title i {
    color: #6366f1;
}

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

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: #dc2626;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Rating Scale Styles */
.rating-container {
    margin-top: 0.5rem;
}

.rating-scale {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.rating-label {
    font-size: 0.9rem;
    color: #6b7280;
}

.rating-options {
    display: flex;
    gap: 0.5rem;
}

.rating-option {
    width: 40px;
    height: 40px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #6b7280;
    background: white;
}

.rating-option:hover {
    border-color: #6366f1;
    background: #f0f9ff;
}

input[type="radio"]:checked + .rating-option {
    background: #6366f1;
    border-color: #6366f1;
    color: white;
}

/* Radio Group Styles */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-option {
    position: relative;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-size: 0.95rem;
}

.radio-label:hover {
    background: #f8fafc;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

input[type="radio"]:checked + .radio-label .radio-custom {
    border-color: #6366f1;
    background: white;
}

input[type="radio"]:checked + .radio-label .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #6366f1;
    border-radius: 50%;
}

.form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Submit Section */
.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.submit-btn {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

.success-message {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid #10b981;
}

.success-message h3 {
    color: #065f46;
    margin-bottom: 1rem;
}

.success-message p {
    color: #6b7280;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.success-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1rem;
}

/* ==================== FOOTER STYLES ==================== */
footer {
    background: #0f172a;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: #6366f1;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.footer-links a:hover {
    color: #6366f1;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: #cbd5e1;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

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

/* ==================== ANIMATIONS ==================== */
@keyframes floatParticles {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    33% { 
        transform: translateY(-20px) rotate(120deg); 
    }
    66% { 
        transform: translateY(10px) rotate(240deg); 
    }
}

@keyframes quantumPulse {
    0%, 100% { 
        opacity: 0.3; 
        transform: translate(-50%, -50%) scale(1); 
    }
    50% { 
        opacity: 0.6; 
        transform: translate(-50%, -50%) scale(1.05); 
    }
}

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

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(15, 23, 42, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(20px);
        padding: 2rem 0;
        gap: 0;
    }

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

    .nav-item {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .registration-hero {
        height: auto;
        min-height: 65vh;
        padding: 6rem 1rem 3rem 1rem;
    }

    .registration-hero-content {
        padding: 2rem 1rem;
    }

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

    .registration-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .stat-item {
        width: 200px;
    }

    .registration-form {
        padding: 2rem 1.5rem;
    }

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

    .rating-scale {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .rating-options {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-logo {
        font-size: 1rem;
    }

    .nav-logo img {
        height: 25px;
    }

    .registration-hero {
        height: auto;
        min-height: 60vh;
        padding: 8rem 1rem 4rem 1rem;
    }

    .registration-hero-content {
        padding: 2rem 1rem;
    }

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

    .registration-subtitle {
        font-size: 1.1rem;
    }

    .registration-form {
        padding: 1.5rem 1rem;
        margin: 0 10px;
    }

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

    .form-section-title {
        font-size: 1.1rem;
    }

    .submit-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

/* ==================== UTILITY CLASSES ==================== */
.hidden {
    display: none !important;
}

/* ==================== SMOOTH SCROLLING ==================== */
html {
    scroll-behavior: smooth;
}

/* ==================== CUSTOM SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #6366f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4f46e5;
}

/* ==================== GOOGLE FORMS EMBED STYLES ==================== */
.google-forms-container {
    max-width: 900px;
    margin: 0 auto;
}

.iframe-wrapper {
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out;
}

.iframe-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

.iframe-content {
    background: white;
}

.iframe-content iframe {
    transition: opacity 0.3s ease;
}

.form-notice {
    animation: slideInDown 0.8s ease-out;
}

.registration-info {
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Loading animation for iframe fallback */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive iframe styles */
@media (max-width: 768px) {
    .google-forms-container {
        padding: 0 10px;
    }
    
    .iframe-wrapper {
        border-radius: 15px;
        margin: 0 -10px;
    }
    
    .iframe-header {
        padding: 15px !important;
    }
    
    .iframe-header h3 {
        font-size: 1.1rem !important;
    }
    
    .form-notice {
        margin: 0 -10px 20px !important;
        border-radius: 10px !important;
        padding: 15px !important;
    }
    
    .registration-info {
        margin: 20px -10px 0 !important;
        border-radius: 10px !important;
        padding: 20px !important;
    }
}

@media (max-width: 480px) {
    .iframe-content {
        min-height: 1400px !important;
    }
    
    .iframe-header h3 {
        font-size: 1rem !important;
    }
    
    .iframe-header p {
        font-size: 12px !important;
    }
}