/* Enhanced Contact Page Styles */

/* ============================================
   HERO SECTION
   ============================================ */
.contact-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    padding: 4rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Dark mode hero */
body.dark-mode .contact-hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float-shapes 20s ease-in-out infinite;
}

.hero-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.15);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.hero-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.hero-shape.shape-3 {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.15);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float-shapes {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.contact-hero-content {
    text-align: center;
    animation: fadeInUp 1s ease;
}

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

/* ============================================
   INSTRUCTOR PROFILE
   ============================================ */
.instructor-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    animation: profileSlide 1s ease 0.2s backwards;
}

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

.profile-avatar {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05) rotate(5deg);
}

.profile-avatar .material-icons {
    font-size: 80px;
    color: white;
}

.profile-info {
    text-align: left;
}

.profile-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    backdrop-filter: blur(10px);
}

.profile-info h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin: 0 0 0.5rem 0;
}

.profile-title {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
}

.hero-description {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* ============================================
   HERO STATS
   ============================================ */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-item .material-icons {
    font-size: 2.5rem;
    opacity: 0.9;
}

.stat-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.stat-item p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* ============================================
   CONTACT MAIN
   ============================================ */
.contact-main {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 50%, #f8fafc 100%);
    position: relative;
}

.contact-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

.contact-card.full-width {
    grid-column: 1 / -1;
}

/* ============================================
   CONTACT CARDS
   ============================================ */
.contact-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.35s ease;
    border: 1px solid rgba(59, 130, 246, 0.08);
    animation: cardFadeIn 0.6s ease backwards;
    display: flex;
    flex-direction: column;
}

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

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-card:nth-child(4) { animation-delay: 0.4s; }
.contact-card:nth-child(5) { animation-delay: 0.5s; }

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.12), 0 8px 16px rgba(0, 0, 0, 0.04);
    border-color: rgba(59, 130, 246, 0.15);
}

.contact-card-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    transform: translate(30%, -30%);
}

.contact-icon {
    font-size: 1.75rem !important;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.65rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    color: white !important;
}

.contact-card:hover .contact-icon {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.28);
}

.contact-card-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.contact-card-content {
    padding: 1.5rem 1.75rem;
    flex: 1;
    background: #ffffff;
}

/* Grid layout for contact items in instructor info card */
.contact-card:first-child .contact-card-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.contact-card:first-child .contact-item {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .contact-card:first-child .contact-card-content {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CONTACT ITEMS
   ============================================ */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 0;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-item:hover {
    background: #f1f5f9;
    border-color: rgba(59, 130, 246, 0.12);
}

.contact-item .material-icons {
    color: #3b82f6;
    font-size: 1.35rem;
    margin-top: 0.15rem;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.6rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-item:hover .material-icons {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb !important;
}

.contact-item strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-item p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-item a {
    color: var(--blue-main);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.contact-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: width 0.3s ease;
}

.contact-item a:hover {
    color: #2563eb;
}

.contact-item a:hover::after {
    width: 100%;
}

/* ============================================
   OFFICE HOURS
   ============================================ */
.office-hours {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hours-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.hours-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 4px 0 0 4px;
}

.hours-item:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.hours-item .material-icons {
    color: #3b82f6;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.12) 100%);
    padding: 0.85rem;
    border-radius: 14px;
    transition: all 0.35s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.hours-item:hover .material-icons {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18) 0%, rgba(37, 99, 235, 0.18) 100%);
    color: #2563eb !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.hours-item strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hours-item p {
    margin: 0;
    color: #3b82f6;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.hours-note {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.08) 100%);
    border-radius: 14px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-top: 0.25rem;
}

.hours-note .material-icons {
    color: #10b981;
    font-size: 1.35rem;
    flex-shrink: 0;
    background: rgba(16, 185, 129, 0.12);
    padding: 0.5rem;
    border-radius: 10px;
}

.hours-note p {
    margin: 0;
    color: #047857;
    line-height: 1.5;
    font-size: 0.95rem;
    font-weight: 600;
}

@media (max-width: 600px) {
    .office-hours {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   QUICK LINKS / COURSE RESOURCES
   ============================================ */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-link-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 0;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.quick-link-item:hover {
    background: #f1f5f9;
    border-color: rgba(59, 130, 246, 0.12);
}

.quick-link-item .material-icons {
    font-size: 1.35rem;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.6rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.quick-link-item:hover .material-icons {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb !important;
}

.quick-link-item strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.quick-link-item p {
    margin: 0;
    color: var(--gray-500);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ============================================
   GUIDELINES
   ============================================ */
.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (max-width: 768px) {
    .guidelines-grid {
        grid-template-columns: 1fr;
    }
}

.guideline-item {
    text-align: center;
    padding: 1.5rem 1.25rem;
    background: #f8fafc;
    border-radius: 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.guideline-item:hover {
    background: #f1f5f9;
    border-color: rgba(59, 130, 246, 0.12);
}

.guideline-item .material-icons {
    font-size: 1.75rem;
    color: #3b82f6;
    margin: 0 auto 1rem;
    -webkit-text-fill-color: unset !important;
    background: rgba(59, 130, 246, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.guideline-item:hover .material-icons {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb !important;
}

.guideline-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.guideline-item p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
    font-size: 0.875rem;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.form-intro {
    font-size: 1.05rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
}

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

/* Honeypot field - hidden from users */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group label .material-icons {
    font-size: 1.2rem;
    color: var(--blue-main);
}

.required {
    color: #ef4444;
    font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-main);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #10b981;
}

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

.textarea-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.character-count {
    font-size: 0.85rem;
    color: var(--gray-600);
}

#charCount {
    font-weight: 600;
    color: var(--blue-main);
}

.field-error {
    display: none;
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.field-error:not(:empty) {
    display: block;
}

/* Checkbox Styling */
.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.08));
    border-radius: var(--radius-md);
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.checkbox-label:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
    border-color: var(--blue-main);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:focus ~ .checkbox-custom {
    outline: 3px solid rgba(59, 130, 246, 0.3);
    outline-offset: 2px;
}

.checkbox-custom {
    width: 28px;
    height: 28px;
    border: 3px solid var(--blue-main);
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: white;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.checkbox-label:hover .checkbox-custom {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom {
    background: linear-gradient(135deg, var(--blue-main), #2563eb);
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    animation: checkboxPop 0.3s ease;
}

@keyframes checkboxPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 900;
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.checkbox-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1rem;
}

.checkbox-text .material-icons {
    color: #f59e0b;
    font-size: 1.4rem;
    animation: urgentPulse 2s ease-in-out infinite;
}

@keyframes urgentPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn .material-icons {
    font-size: 1.3rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary.loading .btn-text {
    display: none;
}

.btn-primary.loading .material-icons {
    display: none;
}

.btn-loading {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary.loading .btn-loading {
    display: flex;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

/* Success and Error Messages */
.form-message {
    display: none;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-top: 2rem;
    animation: slideDown 0.4s ease;
}

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

.form-message .material-icons {
    font-size: 3rem;
    flex-shrink: 0;
}

.success-message {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border: 2px solid #10b981;
    color: #065f46;
}

.success-message .material-icons {
    color: #10b981;
}

.success-message h4 {
    color: #065f46;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.success-message p {
    margin: 0;
    color: #047857;
}

.error-message {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 2px solid #ef4444;
    color: #991b1b;
}

.error-message .material-icons {
    color: #ef4444;
}

.error-message h4 {
    color: #991b1b;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.error-message p {
    margin: 0;
    color: #b91c1c;
}

.error-message a {
    color: #b91c1c;
    font-weight: 600;
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .instructor-profile {
        flex-direction: column;
        text-align: center;
    }

    .profile-info {
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        min-height: auto;
        padding: 3rem 0;
    }

    .contact-main {
        padding: 3rem 0;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .profile-avatar .material-icons {
        font-size: 60px;
    }

    .hero-shape {
        width: 200px !important;
        height: 200px !important;
    }

    /* Form Responsive */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .form-message {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */

/* Dark mode backgrounds */
body.dark-mode .contact-main {
    background: #0f172a !important;
}

body.dark-mode .contact-card {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .contact-card:hover {
    border-color: rgba(59, 130, 246, 0.2) !important;
}

body.dark-mode .contact-card-content {
    background: #1e293b !important;
}

body.dark-mode .contact-item,
body.dark-mode .hours-item,
body.dark-mode .quick-link-item,
body.dark-mode .guideline-item {
    background: rgba(15, 23, 42, 0.6) !important;
}

body.dark-mode .contact-item:hover,
body.dark-mode .hours-item:hover,
body.dark-mode .quick-link-item:hover,
body.dark-mode .guideline-item:hover {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(59, 130, 246, 0.15) !important;
}

body.dark-mode .hours-note {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.12) 100%) !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
}

body.dark-mode .hours-note .material-icons {
    color: #34d399 !important;
    background: rgba(16, 185, 129, 0.18) !important;
}

body.dark-mode .hours-note p {
    color: #6ee7b7 !important;
}

body.dark-mode .hours-item {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%) !important;
    border-color: rgba(59, 130, 246, 0.15) !important;
}

body.dark-mode .hours-item:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.12) 100%) !important;
    border-color: rgba(59, 130, 246, 0.25) !important;
}

body.dark-mode .hours-item p {
    color: #60a5fa !important;
}

/* Dark mode text colors */
body.dark-mode .contact-card h2,
body.dark-mode .contact-item strong,
body.dark-mode .hours-item strong,
body.dark-mode .guideline-item h3,
body.dark-mode .quick-link-item strong {
    color: white !important;
}

body.dark-mode .contact-item p,
body.dark-mode .hours-item p,
body.dark-mode .guideline-item p,
body.dark-mode .quick-link-item p,
body.dark-mode .hours-note p {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Dark mode icons */
body.dark-mode .contact-item .material-icons,
body.dark-mode .hours-item .material-icons,
body.dark-mode .quick-link-item .material-icons,
body.dark-mode .guideline-item .material-icons {
    color: #60a5fa !important;
    background: rgba(59, 130, 246, 0.15) !important;
}

body.dark-mode .contact-item:hover .material-icons,
body.dark-mode .hours-item:hover .material-icons,
body.dark-mode .quick-link-item:hover .material-icons,
body.dark-mode .guideline-item:hover .material-icons {
    color: #93c5fd !important;
    background: rgba(59, 130, 246, 0.2) !important;
}

/* Dark mode links */
body.dark-mode .contact-item a {
    color: #60a5fa !important;
}

body.dark-mode .contact-item a:hover {
    color: #93c5fd !important;
}

/* Dark mode form elements */
body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    background-color: #0f172a !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

body.dark-mode .form-group label {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Dark mode icons */
body.dark-mode .contact-icon,
body.dark-mode .material-icons {
    color: #60a5fa !important;
}

/* Dark mode buttons */
body.dark-mode .btn-secondary {
    background-color: #1e293b !important;
    color: #60a5fa !important;
    border-color: #3b82f6 !important;
}

body.dark-mode .btn-secondary:hover {
    background-color: #3b82f6 !important;
    color: white !important;
}

/* Dark mode form messages */
body.dark-mode .form-message {
    background-color: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .success-message {
    border-left-color: #10b981 !important;
}

body.dark-mode .error-message {
    border-left-color: #ef4444 !important;
}

/* Dark mode stat items */
body.dark-mode .stat-item {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Dark mode character count */
body.dark-mode .character-count {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Dark mode checkbox */
body.dark-mode .checkbox-custom {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

body.dark-mode .checkbox-label input:checked ~ .checkbox-custom {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
}
