/*
Theme Name: Proline Hospitality
Theme URI: https://prolinehospitality.com
Author: Proline Hospitality Team
Author URI: https://prolinehospitality.com
Description: A comprehensive hospitality recruitment platform theme with job listings, candidate portals, employer portals, training programs, and resume building capabilities.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: proline-hospitality
Tags: hospitality, recruitment, jobs, resume, training, responsive, custom-logo, custom-menu
*/

/* ========================================
   CSS Variables / Custom Properties
   ======================================== */
:root {
    /* Navy Blue Colors */
    --navy-950: #0a192f;
    --navy-900: #112240;
    --navy-800: #1d3557;
    --navy-700: #233554;
    
    /* Gold Accent Colors */
    --gold-600: #d4a853;
    --gold-500: #e8c268;
    --gold-400: #f0d078;
    
    /* White/Neutral Colors */
    --white: #ffffff;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-60: rgba(255, 255, 255, 0.6);
    --white-40: rgba(255, 255, 255, 0.4);
    --white-20: rgba(255, 255, 255, 0.2);
    
    /* Text Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6b6b6b;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-950);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Layout & Container
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.site-content {
    min-height: calc(100vh - 80px);
}

.content-area {
    flex: 1;
}

/* ========================================
   Header & Navigation
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--navy-950);
    transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-logo img {
    height: 50px;
    width: auto;
    max-width: 180px;
    height: auto;
    transition: all var(--transition-fast);
}

.site-logo .logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

/* Logo Responsive */
@media (max-width: 991px) {
    .site-logo img {
        height: 40px;
        max-width: 140px;
    }
    
    .site-logo .logo-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 575px) {
    .site-logo img {
        height: 35px;
        max-width: 120px;
    }
    
    .site-logo .logo-text {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .site-logo img {
        height: 30px;
        max-width: 100px;
    }
}

/* Main Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: var(--white-90);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

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

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a {
    color: var(--white);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
    width: 100%;
}

/* Dropdown Menu */
.main-navigation .menu-item-has-children {
    position: relative;
}

.main-navigation .submenu-toggle {
    display: none;
}

@media (min-width: 992px) {
    .main-navigation .menu-item-has-children > .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: var(--navy-900);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-xl);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all var(--transition-normal);
        padding: 0.5rem 0;
    }
    
    .main-navigation .menu-item-has-children:hover > .sub-menu,
    .main-navigation .menu-item-has-children:focus-within > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .main-navigation .sub-menu li {
        display: block;
    }
    
    .main-navigation .sub-menu a {
        display: block;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .main-navigation .sub-menu a::after {
        display: none;
    }
    
    .main-navigation .sub-menu a:hover {
        background: var(--navy-800);
    }
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-fast);
}

@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--navy-950);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-normal), padding var(--transition-normal);
    }
    
    .main-navigation.toggled {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        padding: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid var(--white-20);
    }
    
    .main-navigation a {
        display: block;
        padding: 1rem;
    }
}

/* Header Buttons */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-950);
}

.btn-primary:hover {
    background: var(--gold-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--gold-500);
}

.btn-secondary:hover {
    background: var(--gold-500);
    color: var(--navy-950);
}

.btn-outline {
    background: transparent;
    color: var(--navy-950);
    border: 2px solid var(--navy-950);
}

.btn-outline:hover {
    background: var(--navy-950);
    color: var(--white);
}

/* ========================================
   Hero Sections
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/hero-pattern.svg') repeat;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-500);
    margin-bottom: 1rem;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--white-70);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Hero Services Grid */
.hero-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--white-20);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-normal);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold-500);
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-card h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--white-60);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-500);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link:hover {
    gap: 0.75rem;
}

/* ========================================
   Page Header / Banner
   ======================================== */
.page-header {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
    text-align: center;
    position: relative;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--white-60);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--gold-500);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    opacity: 0.5;
}

/* ========================================
   Sections
   ======================================== */
section {
    padding: 5rem 0;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-600);
    margin-bottom: 0.5rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
}

/* Light Section */
.section-light {
    background: var(--white);
}

/* Dark Section */
.section-dark {
    background: var(--navy-950);
    color: var(--white);
}

.section-dark .section-title {
    color: var(--white);
}

.section-dark .section-description {
    color: var(--white-70);
}

/* Gray Section */
.section-gray {
    background: #f8f9fa;
}

/* ========================================
   Cards
   ======================================== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   Forms
   ======================================== */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(232, 194, 104, 0.2);
}

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

.form-submit {
    width: 100%;
}

/* Form Validation */
.form-input.error,
.form-textarea.error {
    border-color: #dc2626;
}

.form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--navy-950);
    color: var(--white-70);
    padding-top: 4rem;
}

.footer-newsletter {
    background: var(--navy-900);
    border-top: 1px solid var(--gold-500);
    border-bottom: 1px solid var(--gold-500);
    padding: 3rem 0;
}

.footer-newsletter h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-newsletter p {
    color: var(--white-60);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid var(--white-20);
    border-radius: var(--radius-sm);
    background: var(--navy-800);
    color: var(--white);
    font-size: 1rem;
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--white-40);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--gold-500);
}

.newsletter-form button {
    white-space: nowrap;
}

.footer-main {
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
}

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

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

.footer-widget h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

.footer-widget p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--white-70);
    font-size: 0.95rem;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-500);
    padding-left: 0.5rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-contact .contact-icon {
    color: var(--gold-500);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-800);
    border-radius: var(--radius-sm);
    color: var(--white-70);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--gold-500);
    color: var(--navy-950);
}

.footer-bottom {
    border-top: 1px solid var(--navy-800);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ========================================
   Features & Stats
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

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

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold-500);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--white-70);
    font-weight: 500;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 1rem;
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* ========================================
   Blog
   ======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

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

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

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

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

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold-500);
    color: var(--navy-950);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

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

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

/* ========================================
   Contact Page
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

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

.contact-info-card {
    background: var(--navy-950);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--white);
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 194, 104, 0.2);
    border-radius: var(--radius-md);
    color: var(--gold-500);
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--white-70);
    font-size: 0.95rem;
    margin: 0;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    margin-bottom: 1.5rem;
}

/* ========================================
   Job Listings
   ======================================== */
.job-grid {
    display: grid;
    gap: 1.5rem;
}

.job-card {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-fast);
}

.job-card:hover {
    border-color: var(--gold-500);
    box-shadow: var(--shadow-md);
}

.job-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

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

.job-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy-800);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.job-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.job-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.job-salary {
    font-weight: 600;
    color: var(--gold-600);
}

/* ========================================
   Training & Events
   ======================================== */
.training-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

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

.training-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.training-image {
    position: relative;
    height: 200px;
}

.training-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.training-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold-500);
    color: var(--navy-950);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.training-content {
    padding: 1.5rem;
}

.training-category {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-600);
    margin-bottom: 0.5rem;
}

.training-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.training-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.training-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========================================
   Resume Builder
   ======================================== */
.resume-builder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    min-height: 600px;
}

@media (max-width: 991px) {
    .resume-builder {
        grid-template-columns: 1fr;
    }
}

.resume-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    overflow-y: auto;
    max-height: 700px;
}

.resume-preview {
    background: #f3f4f6;
    border-radius: var(--radius-lg);
    padding: 2rem;
    overflow-y: auto;
    max-height: 700px;
}

.resume-preview-frame {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-height: 800px;
    padding: 3rem;
}

/* ========================================
   Portals
   ======================================== */
.portal-hero {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    padding: 100px 0 60px;
    color: var(--white);
}

.portal-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.portal-hero p {
    color: var(--white-70);
    font-size: 1.2rem;
    max-width: 600px;
}

.portal-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 1rem;
}

.portal-tab {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color var(--transition-fast);
}

.portal-tab::after {
    content: '';
    position: absolute;
    bottom: -1.1rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-500);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.portal-tab:hover,
.portal-tab.active {
    color: var(--navy-950);
}

.portal-tab.active::after {
    transform: scaleX(1);
}

/* ========================================
   Pagination
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.pagination a {
    background: var(--white);
    color: var(--text-primary);
    border: 2px solid #e5e7eb;
}

.pagination a:hover {
    border-color: var(--gold-500);
    color: var(--gold-600);
}

.pagination .current {
    background: var(--gold-500);
    color: var(--navy-950);
}

/* ========================================
   Resume Templates - ATS Friendly
   ======================================== */
.resume-templates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

@media (max-width: 575px) {
    .resume-templates-grid {
        grid-template-columns: 1fr;
    }
}

.resume-template-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.resume-template-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.resume-template-preview {
    height: 280px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem;
}

.resume-template-preview iframe,
.resume-template-preview .resume-preview-frame {
    width: 100%;
    height: 100%;
    border: none;
    transform: scale(0.45);
    transform-origin: top left;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.resume-template-info {
    padding: 1.5rem;
}

.resume-template-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.resume-template-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.resume-template-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.resume-template-badge.ats-friendly {
    background: #e3f2fd;
    color: #1565c0;
}

/* ATS Resume Templates - Clean, Simple, Text-Based */
.ats-resume {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    font-family: 'Arial', sans-serif;
    font-size: 11pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
}

.ats-resume * {
    max-width: 100%;
}

.ats-resume h1,
.ats-resume h2,
.ats-resume h3,
.ats-resume h4 {
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #000;
}

.ats-resume h1 {
    font-size: 18pt;
    margin-bottom: 5px;
}

.ats-resume h2 {
    font-size: 14pt;
    border-bottom: 1px solid #000;
    padding-bottom: 3px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.ats-resume h3 {
    font-size: 12pt;
}

.ats-resume p {
    margin: 0 0 8px 0;
}

.ats-resume ul,
.ats-resume ol {
    margin: 0 0 10px 20px;
    padding: 0;
}

.ats-resume li {
    margin-bottom: 5px;
}

.ats-resume .contact-info {
    margin-bottom: 15px;
}

.ats-resume .contact-info span {
    margin-right: 15px;
}

.ats-resume .section {
    margin-bottom: 15px;
}

.ats-resume .job-entry,
.ats-resume .education-entry {
    margin-bottom: 12px;
}

.ats-resume .job-entry .header,
.ats-resume .education-entry .header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.ats-resume .job-entry .company,
.ats-resume .education-entry .school {
    font-weight: bold;
}

.ats-resume .job-entry .date,
.ats-resume .education-entry .date {
    font-style: italic;
}

/* Modern Resume Template */
.resume-modern {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
}

.resume-modern .sidebar {
    background: var(--navy-950);
    color: var(--white);
    padding: 2rem;
}

.resume-modern .sidebar h1,
.resume-modern .sidebar h2,
.resume-modern .sidebar h3 {
    color: var(--white);
}

.resume-modern .sidebar .contact-info span {
    color: var(--gold-500);
}

.resume-modern .main-content {
    padding: 2rem;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-5 { padding-top: 2rem; padding-bottom: 2rem; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.gap-5 { gap: 2rem; }

.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }

@media (min-width: 640px) {
    .sm\:flex { display: flex; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* WordPress Specific */
.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

.wp-block-column {
    padding: 1rem;
}

/* Gutenberg Block Support */
.wp-block-button__link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--gold-500);
    color: var(--navy-950);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.wp-block-button__link:hover {
    background: var(--gold-600);
    transform: translateY(-2px);
}
