/* Registration Page Specific Styles */

/* CSS Variables - Ensuring compatibility if style.css doesn't load */
:root {
    --primary-navy: #0e1049;
    --brand-navy: #0e1049;
    --accent-blue: #2563eb;
    --brand-blue: #2563eb;
    --text-gray: #6b7280;
    --light-gray: #f9fafb;
}

/* Hero Section */
.register-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-blue) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.animated-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -50px;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: 30%;
    animation-delay: 4s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    top: 20%;
    right: 20%;
    animation-delay: 6s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: translate(50px, -50px) scale(1.1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-30px, 30px) scale(0.9);
        opacity: 0.4;
    }

    75% {
        transform: translate(30px, 50px) scale(1.05);
        opacity: 0.6;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* Registration Section */
.register-section {
    padding: 80px 5%;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.register-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Form Column */
.form-column {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.form-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-blue), var(--primary-navy));
}

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.form-container {
    width: 100%;
}

/* Registration Form Styles */
.registration-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-row:has(.form-group:nth-child(2)) {
    grid-template-columns: 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.required {
    color: #e74c3c;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-navy));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Contact Column */
.contact-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-blue);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-navy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 5px;
}

.contact-details {
    margin-top: 10px;
}

.contact-details .label {
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.contact-card a {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 10px;
}

.contact-card a:hover {
    color: var(--primary-navy);
}

.contact-card .hours {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.info-banner {
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-navy));
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
}

.info-banner i {
    font-size: 1.8rem;
}

.info-banner p {
    margin: 0;
    font-size: 1rem;
}

.info-banner strong {
    font-weight: 700;
}

/* Features Section */
.features-section {
    padding: 80px 5%;
    background: var(--primary-navy);
    color: white;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.4);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

.delay-3 {
    animation-delay: 0.6s;
    opacity: 0;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .register-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .form-column {
        padding: 35px;
    }

    .form-row:has(.form-group:nth-child(2)) {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .register-hero {
        height: 40vh;
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .form-column {
        padding: 25px;
    }

    .form-header h2 {
        font-size: 2rem;
    }

    .contact-card {
        padding: 25px;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}