/* Renzlab Over Page - About Page Styles */

/* Spinner Animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

body {
    line-height: 1.8;
}

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

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    letter-spacing: 0.1rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Content Sections */
.content-section {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    animation: fadeIn 1s ease-out;
}

.content-section:hover {
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.15);
}

.content-section h2 {
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-green);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.content-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill-item {
    background: rgba(0, 255, 0, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-item:hover,
.skill-item:focus-within {
    border-color: var(--accent-green);
    background: rgba(0, 255, 0, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 255, 0, 0.2);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.skill-item h3 {
    color: var(--accent-green);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.skill-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

/* Expertise Areas */
.expertise-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.expertise-item {
    background: rgba(0, 255, 0, 0.03);
    border-left: 4px solid var(--accent-green);
    padding: 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.expertise-item:hover,
.expertise-item:focus-within {
    background: rgba(0, 255, 0, 0.08);
    transform: translateX(10px);
}

.expertise-item h3 {
    color: var(--accent-green);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.expertise-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Certifications Gallery */
.cert-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cert-item {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cert-item:hover,
.cert-item:focus {
    border-color: var(--accent-green);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 255, 0, 0.2);
    outline: none;
}

.cert-item img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.cert-item h4 {
    color: var(--accent-green);
    font-size: 0.9rem;
    margin: 0;
}

/* Philosophy Section */
.philosophy {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.05) 0%, rgba(0, 255, 0, 0.02) 100%);
    border: 2px solid var(--accent-green);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin: 3rem 0;
}

.philosophy blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--accent-green);
    margin: 0;
    line-height: 1.8;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

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

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

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

/* Contact Section Styling */
.contact-section {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.03) 0%, rgba(0, 255, 0, 0.01) 100%);
    border: 2px solid var(--accent-green);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), transparent);
}

.contact-intro-text {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-group {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-template-columns: 150px 1fr;
    align-items: start;
}

.form-group label {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: right;
    padding-right: 1rem;
}

.label-icon {
    display: none;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1.2rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(170, 170, 170, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    background: rgba(0, 255, 0, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.6;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--accent-green) 0%, #00cc00 100%);
    color: var(--bg-dark);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    position: relative;
    overflow: hidden;
}

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

.submit-btn:hover:not(:disabled)::before {
    left: 100%;
}

.submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #00ff00 0%, #00dd00 100%);
    box-shadow: 
        0 0 30px rgba(0, 255, 0, 0.6),
        0 10px 40px rgba(0, 255, 0, 0.3);
    transform: translateY(-3px);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(135deg, #888 0%, #666 100%);
}

.btn-arrow {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
    font-weight: 400;
}

.submit-btn:hover:not(:disabled) .btn-arrow {
    transform: translateX(8px);
}

.form-message {
    margin-top: 2rem;
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    display: none;
    animation: slideIn 0.3s ease-out;
}

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

.form-message.success {
    display: block;
    background: rgba(0, 255, 0, 0.15);
    border: 2px solid var(--accent-green);
    color: var(--accent-green);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.form-message.error {
    display: block;
    background: rgba(255, 0, 0, 0.15);
    border: 2px solid #ff3333;
    color: #ff6666;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .content-section {
        padding: 2rem;
    }

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

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .philosophy blockquote {
        font-size: 1.2rem;
    }

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

    .form-group {
        grid-template-columns: 1fr;
    }

    .form-group label {
        text-align: left;
        padding-right: 0;
        margin-bottom: 0.5rem;
    }

    .contact-intro-text {
        font-size: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.9rem 1rem;
    }

    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        grid-column: 1 / -1;
    }
}
