/* ===================================
   Solbiz Career Theme - Main Styles
   =================================== */

/* ===== CSS Variables ===== */
:root {
    /* Colors - Solbiz Brand */
    --primary-color: #e67a3a;
    /* Orange */
    --primary-dark: #c0581d;
    /* Darker Orange */
    --primary-light: #f09660;
    /* Lighter Orange/Gold */
    --secondary-color: hsl(195, 85%, 55%);
    /* Cyan/Blue */
    --accent-color: hsl(170, 90%, 45%);
    /* Teal Accent */

    /* Light Mode Backgrounds */
    --bg-primary: hsl(0, 0%, 100%);
    /* White */
    --bg-secondary: hsl(220, 20%, 97%);
    /* Very Light Grey */
    --bg-tertiary: hsl(220, 20%, 94%);
    /* Light Grey */

    /* Light Mode Text */
    --text-primary: hsl(220, 30%, 15%);
    /* Dark Navy/Black */
    --text-secondary: hsl(220, 15%, 40%);
    /* Dark Grey */
    --text-muted: hsl(220, 10%, 60%);
    /* Medium Grey */

    --success-color: hsl(140, 70%, 45%);
    /* Darker Green for white bg */
    --error-color: hsl(0, 70%, 55%);
    /* Red */
    --warning-color: hsl(45, 90%, 50%);
    /* Darker Yellow/Orange */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    --gradient-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.9));
    /* Light overlay */

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Borders */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem;
    --border-radius-xl: 2rem;

    /* Shadows - Made slightly stronger for light mode */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);

    /* Glassmorphism - Adjusted for Light Mode */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: var(--text-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.site-logo {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-logo a {
    color: inherit;
}

.site-logo img {
    max-height: 40px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.main-nav a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: var(--spacing-xs) 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(230, 122, 58, 0.15), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(48, 176, 255, 0.15), transparent 50%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* ===== Search Form ===== */
/* ===== Search Form ===== */
.job-search-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.8s ease 0.4s both;
    /* Make form a flex container for horizontal layout */
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-end;
    /* Align inputs and button at the bottom */
}

.search-fields {
    display: flex;
    gap: var(--spacing-md);
    flex: 1;
    /* Take up remaining space */
    margin-bottom: 0;
    /* Remove bottom margin */
}

.search-field {
    flex: 1;
    /* Distribute space equally among inputs */
    position: relative;
    min-width: 200px;
    /* Minimum width for inputs */
}

/* Adjust button to fit in the row */
.job-search-form .btn {
    height: 50px;
    /* Match input height roughly */
    white-space: nowrap;
    margin-bottom: 2px;
    /* Slight adjustment for alignment */
}

.search-field {
    position: relative;
}

.search-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.search-field input,
.search-field select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(0, 0, 0, 0.03);
    /* Light grey for light mode */
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(230, 122, 58, 0.2);
}

.search-field select option {
    background: white;
    color: var(--text-primary);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    gap: var(--spacing-xs);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* ===== Section ===== */
.section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Job Grid ===== */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.job-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.job-card:hover::before {
    transform: scaleX(1);
}

.job-header {
    margin-bottom: var(--spacing-md);
}

.job-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.job-title a {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.job-title a:hover {
    color: var(--primary-color);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-muted);
}

.job-meta-item svg {
    width: 16px;
    height: 16px;
}

.job-excerpt {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.job-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(48, 176, 255, 0.1);
    border: 1px solid rgba(48, 176, 255, 0.3);
    border-radius: 2rem;
    font-size: 0.85rem;
    color: var(--primary-light);
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--glass-border);
}

.job-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.5rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: var(--spacing-lg);
}

/* ===== Form ===== */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.form-label.required::after {
    content: '*';
    color: var(--error-color);
    margin-left: 0.25rem;
}

.form-control {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(230, 122, 58, 0.2);
}

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

.file-upload {
    position: relative;
}

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

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed var(--glass-border);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.file-upload-label:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.file-name {
    margin-top: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== Alert ===== */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--spacing-md);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--success-color);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error-color);
}

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

/* ===== Footer ===== */
/* ===== Footer ===== */
.site-footer {
    position: relative;
    background: #e8f3f1;
    /* Fallback color matching the image */
    padding: var(--spacing-3xl) 0;
    margin-top: var(--spacing-3xl);
    overflow: hidden;
    color: var(--text-secondary);
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
}

.footer-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-3xl);
    max-width: 1000px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    max-width: 150px;
    height: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-primary);
    display: inline-block;
    letter-spacing: 2px;
}

.logo-text small {
    display: block;
    font-size: 0.6em;
    font-weight: 400;
    letter-spacing: 4px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.footer-subheading {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    margin-top: var(--spacing-md);
}

.footer-links,
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.contact-info li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: 0.95rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 4px;
}

.contact-info a {
    color: var(--text-secondary);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: white;
    color: var(--primary-color);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.open-hours p {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

/* ===== Single Job Page ===== */

.job-detail-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--glass-border);
}

.job-detail-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.job-detail-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-md);
}

.job-detail-meta {
    margin-bottom: var(--spacing-lg);
}

.job-detail-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.job-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.job-content-wrapper h2,
.job-content-wrapper h3,
.job-content-wrapper h4 {
    color: var(--text-primary);
    margin-top: var(--spacing-xl);
}

.job-content-wrapper ul,
.job-content-wrapper ol {
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.job-content-wrapper li {
    margin-bottom: var(--spacing-xs);
}

/* ===== Page Header ===== */
.page-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--glass-border);
    padding: var(--spacing-3xl) 0 var(--spacing-2xl);
    margin-top: 80px;
}

.page-header-content h1 {
    margin-bottom: var(--spacing-sm);
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-2xl);
}

.pagination .nav-links {
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
}

.pagination a,
.pagination .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--spacing-sm);
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.pagination a:hover {
    background: var(--glass-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination .current {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.pagination .dots {
    color: var(--text-muted);
    padding: 0 var(--spacing-xs);
}

/* ===== No Results ===== */
.no-results,
.no-jobs {
    padding: var(--spacing-3xl) var(--spacing-lg);
    text-align: center;
}

.no-results h3,
.no-jobs h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.no-results p,
.no-jobs p {
    color: var(--text-muted);
}

/* ===== Loading Container ===== */
.loading-container {
    padding: var(--spacing-3xl) var(--spacing-lg);
}

.loading-container .loading {
    width: 40px;
    height: 40px;
    border-width: 4px;
    margin: 0 auto var(--spacing-md);
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .search-fields {
        grid-template-columns: 1fr;
    }

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

    .hero-section {
        min-height: 80vh;
    }
}

/* ===== About Us Section ===== */
.about-section {
    background: white;
}

.about-header {
    margin-bottom: var(--spacing-2xl);
}

.about-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.about-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #1a2b3c;
    /* Dark navy color from image */
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}

.about-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    text-align: right;
    margin-top: -80px;
    /* Pull up to align with title */
}

@media (max-width: 768px) {
    .about-subtitle {
        text-align: left;
        margin-top: var(--spacing-md);
        margin-left: 0;
    }
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

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

.about-tabs-container {
    display: flex;
    gap: var(--spacing-xl);
}

.about-tabs {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    min-width: 180px;
}

.about-tab {
    background: white;
    border: 1px solid var(--glass-border);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-sm);
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.about-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.about-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.about-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-tab-content.active {
    display: block;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ===== Quote Section ===== */
.quote-section {
    background-color: #EBF3EE;
}

.quote-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.quote-image img {
    border-radius: var(--border-radius-lg);
    width: 100%;
    height: auto;
    box-shadow: var(--shadow-xl);
}

.quote-content {
    padding: var(--spacing-lg);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    opacity: 0.5;
}

.quote-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    font-style: italic;
}

.author-name {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    font-weight: 700;
}

.author-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

    .quote-image {
        order: 2;
    }
}

/* ===== Blog Section ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.blog-card {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.blog-image {
    position: relative;
    padding-top: 60%;
    /* Aspect ratio 5:3 */
    overflow: hidden;
}

.blog-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.blog-title a {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.blog-read-more {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-read-more:hover {
    gap: 8px;
}

/* ===== Pagination ===== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-2xl);
}

.nav-links {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    justify-content: center;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-weight: 600;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
}

.page-numbers.dots:hover {
    background: transparent;
    color: var(--text-primary);
    transform: none;
    box-shadow: none;
}

/* ===== Single Post ===== */
.post-header {
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.post-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.post-meta {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.post-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.single-post-content {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    color: #1a2b3c;
}

.entry-content p {
    margin-bottom: var(--spacing-md);
}

.entry-content ul,
.entry-content ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-xl);
}

.entry-content li {
    margin-bottom: var(--spacing-xs);
}

.post-tags {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--glass-border);
}

.post-tags a {
    display: inline-block;
    background: var(--bg-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-right: 5px;
    margin-bottom: 5px;
    transition: all var(--transition-fast);
}

.post-tags a:hover {
    background: var(--primary-color);
    color: white;
}

.post-navigation {
    margin-top: var(--spacing-xl);
}

.post-navigation a {
    font-weight: 600;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.post-navigation a:hover {
    color: var(--primary-color);
}

/* ===== Utilities ===== */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}

.mt-4 {
    margin-top: var(--spacing-xl);
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}

.mb-4 {
    margin-bottom: var(--spacing-xl);
}

.hidden {
    display: none !important;
}