/*
Theme Name: Supreme Dental Care Vacancy
Theme URI: https://supremedental.com.np
Author: Supreme Dental Care
Description: Professional vacancy landing page theme for Supreme Dental Care, Banepa
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: supreme-dental
*/

:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --secondary: #1a365d;
    --accent: #38b2ac;
    --light: #f8fafc;
    --dark: #1e293b;
    --success: #10b981;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-600: #475569;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* Header */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    .logo-center {
        order: -1;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.logo-text h1 {
    font-size: 1.4rem;
    color: var(--secondary);
    font-weight: 700;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.contact-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 60px 0 40px;
    text-align: center;
    color: var(--white);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.badge-hiring {
    display: inline-block;
    background: var(--success);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}


/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-bottom: 60px;
}

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

/* Cards */
.card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 25px;
}

.card-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 18px 25px;
}

.card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.card-body {
    padding: 25px;
}

/* Position Cards */
.position-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary);
}

.position-item:last-child {
    margin-bottom: 0;
}

.position-badge {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    flex-shrink: 0;
}

.position-badge.bds {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.position-badge.mds {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.position-info h4 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.position-info ul {
    list-style: none;
}

.position-info li {
    padding: 4px 0;
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

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

.requirement-item {
    display: flex;
    gap: 12px;
    padding: 15px;
    background: var(--gray-100);
    border-radius: 10px;
    transition: transform 0.2s;
}

.requirement-item:hover {
    transform: translateY(-2px);
}

.req-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.requirement-item strong {
    display: block;
    color: var(--secondary);
    margin-bottom: 4px;
}

.requirement-item p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
}

/* Special Requirements */
.special-card {
    border: 2px solid var(--accent);
}

.special-card .card-header {
    background: linear-gradient(135deg, var(--accent) 0%, #319795 100%);
}

.special-item {
    display: flex;
    gap: 15px;
    padding: 18px;
    background: linear-gradient(135deg, #e6fffa 0%, #f0fff4 100%);
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid var(--accent);
}

.special-item:last-child {
    margin-bottom: 0;
}

.special-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.special-item h4 {
    color: var(--secondary);
    margin-bottom: 8px;
}

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

.preference-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-top: 8px;
}

/* Application Form */
.form-section {
    position: sticky;
    top: 100px;
}

.form-card .card-header {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.form-group label .required {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

select.form-control {
    cursor: pointer;
    background: var(--white);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* File Upload */
.file-upload {
    position: relative;
    border: 2px dashed var(--gray-200);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--gray-100);
}

.file-upload:hover {
    border-color: var(--primary);
    background: #f0f7ff;
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.file-upload p {
    color: var(--gray-600);
    margin: 0;
}

.file-upload .file-name {
    color: var(--success);
    font-weight: 600;
    margin-top: 8px;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #fef3c7;
    border-radius: 10px;
    border: 1px solid #fcd34d;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
}

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

/* Form Messages */
.form-message {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

/* Logo Styles */
.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 10px;
}

.logo-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo-img-large {
    width: 150px;
    height: auto;
    object-fit: contain;
}

.footer-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
}

/* Footer */
.site-footer {
    background: var(--secondary);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.footer-col h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-col p {
    opacity: 0.85;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* WhatsApp Button */
.contact-item.whatsapp {
    background: #25d366;
    color: var(--white);
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
}

.contact-item.whatsapp svg {
    color: var(--white);
}

.contact-item.whatsapp span {
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .header-content {
        justify-content: center;
        text-align: center;
    }
    
    .contact-info {
        justify-content: center;
    }
    
    .position-item {
        flex-direction: column;
        text-align: center;
    }
    
    .position-badge {
        margin: 0 auto;
    }
    
    .form-section {
        position: static;
    }
}

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

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


/* Preference Note */
.preference-note {
    background: #fef3c7;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}

/* Preferred Tag */
.preference-tag.preferred {
    background: #8b5cf6;
}

/* Optional Checkbox Group */
.checkbox-group.optional {
    background: #f0fdf4;
    border: 1px solid #86efac;
}

.optional-tag {
    color: #16a34a;
    font-size: 0.85rem;
    font-weight: 500;
}
