/* VLS Elektrotechnik - Modern Professional CSS */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    overflow-x: hidden;
}

.projects-filter, .projects-filter .container, .filter-controls {
  position: static !important;
}


/* CSS Variables */
:root {
    --primary-color: #a73a3b;
    --secondary-color: #303346;
    --accent-color: #3d99a4;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background-light: #f8f9fa;
    --background-dark: #2c3e50;
    --white: #ffffff;
    --border-color: #e1e8ed;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius: 8px;
    --border-radius-large: 16px;
}

/* High Quality Images & Performance */
img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: optimizeQuality;
    -ms-interpolation-mode: bicubic;
}

/* Performance Optimizations */
* {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

/* Smooth animations */
*,
*::before,
*::after {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}



/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-medium);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-light);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo .logo-img {
    height: 60px;
    width: auto;
    transition: transform var(--transition-fast);
}

.nav-logo .logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(167, 58, 59, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

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

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-light);
}

.contact-btn:hover {
    background: #8f2f30;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,20 Q25,0 50,10 T100,0 V20 Z" fill="rgba(255,255,255,0.1)"/></svg>') repeat-x;
    opacity: 0.1;
    animation: wave 20s linear infinite;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.breadcrumb .current {
    color: var(--white);
    font-weight: 500;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(48, 51, 70, 0.9) 0%,
        rgba(167, 58, 59, 0.8) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    color: var(--white);
}

.hero-text {
    max-width: 800px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateY(50px);
    animation: hero-fade-in 1.2s ease-out 0.3s forwards;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-line-1,
.title-line-2 {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: hero-text-reveal 1s ease-out 0.5s forwards;
}

.title-line-2 {
    color: var(--accent-color);
    animation-delay: 0.7s;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(30px);
    animation: hero-text-reveal 1s ease-out 0.9s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: hero-text-reveal 1s ease-out 1.1s forwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background: #8f2f30;
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    animation: scroll-bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 12px;
    position: relative;
    margin-bottom: 10px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

.scroll-text {
    font-size: 0.8rem;
    opacity: 0.8;
}

@keyframes hero-slide-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-fade-in {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scroll-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

/* Services Overview Section */
.services-overview {
    padding: 6rem 0;
    background: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--text-light);
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.services-text {
    space-y: 2rem;
}

.text-block {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-medium);
}

.text-block:hover {
    transform: translateY(-5px);
}

.text-block.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.text-block.highlight p {
    color: var(--white);
}

.quality-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Services Diagram */
.services-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
}

.diagram-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    z-index: 10;
}

.center-logo-img {
    width: 60px;
    height: auto;
}

.service-point {
    position: absolute;
    width: 120px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.service-point:hover {
    transform: scale(1.1);
}

/* Touch devices - add active state for better mobile interaction */
.service-point:active {
    transform: scale(1.05);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 auto 0.5rem;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-medium);
}

.service-point:hover .service-icon,
.service-point:active .service-icon {
    background: var(--accent-color);
    transform: rotateY(360deg);
}

/* Touch optimization for mobile */
@media (hover: none) and (pointer: coarse) {
    .service-point:hover {
        transform: none;
    }

    .service-point:active {
        transform: scale(1.05);
    }

    .service-point:active .service-icon {
        background: var(--accent-color);
        transform: scale(1.1);
    }
}

.service-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.3;
}

/* Service Point Positions */
.service-1 { top: 0; left: 50%; transform: translateX(-50%); }
.service-2 { top: 20%; right: 0; }
.service-3 { bottom: 20%; right: 0; }
.service-4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.service-5 { bottom: 20%; left: 0; }
.service-6 { top: 20%; left: 0; }

/* Mobile services grid not needed - using optimized circle on all devices */

/* Quick Services Grid */
.quick-services {
    padding: 6rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

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

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: optimizeQuality;
}

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

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(167, 58, 59, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.service-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay i {
    font-size: 3rem;
    color: var(--white);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-content ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.card-content li {
    padding: 0.3rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.card-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.card-link:hover {
    gap: 1rem;
}

/* Services Overview Page Styles */
.services-overview-page {
    padding: 6rem 0;
    background: var(--white);
}

.services-intro {
    text-align: center;
    margin-bottom: 4rem;
}

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

.intro-content h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Service Categories */
.service-categories {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.service-category {
    background: var(--background-light);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: box-shadow var(--transition-medium);
}

.service-category:hover {
    box-shadow: var(--shadow-medium);
}

.category-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: var(--white);
}

.category-image {
    position: relative;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(167, 58, 59, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.service-category:hover .category-overlay {
    opacity: 1;
}

.category-overlay i {
    font-size: 3rem;
    color: var(--white);
}

.category-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.category-info p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.category-content {
    padding: 2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    text-align: center;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-item .service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-medium);
}

.service-item:hover .service-icon {
    background: var(--accent-color);
    transform: rotateY(360deg);
}

.service-item h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.service-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: var(--background-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    text-align: center;
    position: relative;
    transition: all var(--transition-medium);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-medium);
}

.step-content {
    margin-top: 1rem;
}

.step-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.step-icon {
    margin-top: 1rem;
}

.step-icon i {
    font-size: 2rem;
    color: var(--accent-color);
}

/* Jobs Page Styles */
.jobs-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)),
                url('https://ext.same-assets.com/134130956/3868565.jpeg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.company-culture {
    padding: 6rem 0;
    background: var(--white);
}

.culture-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.culture-text h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.culture-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.highlight-content p {
    color: var(--text-light);
}

.culture-image {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.culture-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Current Openings */
.current-openings {
    padding: 6rem 0;
    background: var(--background-light);
}

.openings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.job-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

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

.job-card.featured {
    border: 2px solid var(--primary-color);
}

.job-card.featured::before {
    content: 'Empfohlen';
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 3rem;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: var(--shadow-medium);
}

.job-card.apprentice .job-status.apprentice {
    background: var(--accent-color);
}

.job-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.job-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.job-title-area h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.job-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.job-type,
.job-location,
.job-status {
    background: var(--background-light);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
}

.job-status.featured {
    background: var(--primary-color);
    color: var(--white);
}

.job-description {
    margin-bottom: 1.5rem;
}

.job-description p {
    color: var(--text-light);
    font-size: 1rem;
}

.job-requirements,
.job-benefits {
    margin-bottom: 1.5rem;
}

.job-requirements h4,
.job-benefits h4 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.job-requirements ul,
.job-benefits ul {
    list-style: none;
}

.job-requirements li,
.job-benefits li {
    padding: 0.3rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.job-requirements li::before,
.job-benefits li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.job-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.job-actions .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    text-align: center;
    transition: all var(--transition-medium);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-medium);
}

.benefit-item:hover .benefit-icon {
    background: var(--accent-color);
    transform: scale(1.1);
}

.benefit-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Application Section */
.application-section {
    padding: 6rem 0;
    background: var(--background-light);
}

.application-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.application-info h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.method-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.method-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--accent-color);
}

.application-note {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(61, 153, 164, 0.1);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.note-icon {
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.note-content p {
    color: var(--text-dark);
    margin: 0;
    font-size: 0.95rem;
}

.quick-application {
    background: var(--white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.form-container {
    padding: 2rem;
}

.form-container h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.form-container p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Contact Page Styles */
.contact-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.contact-section {
    padding: 6rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-section h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-items {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius-large);
    transition: all var(--transition-medium);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.phone-link,
.email-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}

.phone-link:hover,
.email-link:hover {
    color: var(--accent-color);
}

.map-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.map-link:hover {
    color: var(--primary-color);
}

.business-hours,
.response-time {
    margin-top: 0.5rem;
}

.business-hours small,
.response-time small {
    color: var(--text-light);
    font-size: 0.8rem;
}

.opening-hours {
    margin-top: 0.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.hours-row .day {
    color: var(--text-light);
}

.hours-row .time {
    color: var(--text-dark);
    font-weight: 500;
}

.emergency-contact {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(167, 58, 59, 0.1), rgba(61, 153, 164, 0.1));
    border-radius: var(--border-radius-large);
    border-left: 4px solid var(--primary-color);
}

.emergency-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.emergency-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.emergency-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.emergency-phone {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    background: rgba(167, 58, 59, 0.1);
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.emergency-phone:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Contact Form */
.contact-form-section {
    background: var(--background-light);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.form-container {
    padding: 2rem;
}

.form-container h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.form-description {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
    background: var(--white);
}

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

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

.form-error {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: var(--white);
    font-size: 0.8rem;
    font-weight: bold;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-submit-btn {
    align-self: flex-start;
    min-width: 200px;
    position: relative;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: -0.5rem;
}

.form-note i {
    color: var(--accent-color);
}

/* Map Section */
.map-section {
    padding: 6rem 0;
    background: var(--background-light);
}

.map-section h2 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.map-container {
    margin-bottom: 3rem;
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: var(--border-radius-large);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.map-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

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

.map-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.location-details {
    margin-top: 3rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.detail-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
}

.detail-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.detail-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.detail-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Service Areas */
.service-areas {
    padding: 6rem 0;
    background: var(--white);
}

.service-areas h2 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-areas .section-description {
    text-align: center;
    margin-bottom: 3rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.area-category {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    transition: all var(--transition-medium);
}

.area-category:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.area-category h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.areas-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
}

.areas-list li {
    color: var(--text-light);
    padding: 0.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.areas-list li:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.service-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    text-align: center;
}

.service-note .note-icon {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.service-note p {
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
}

.cta-content {
    text-align: center;
}

.cta-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    border-color: var(--white);
}

/* Professional Footer - Enhanced Design */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 75%, #533483 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(167, 58, 59, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(61, 153, 164, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(48, 51, 70, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(167, 58, 59, 0.5), rgba(61, 153, 164, 0.5), transparent);
}

.footer-main {
    padding: 6rem 0 4rem;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(167, 58, 59, 0.3);
}

.footer-logo {
    margin-bottom: 2.5rem;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 1.5rem;
    filter: brightness(1.3) drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4));
    transition: all var(--transition-medium);
}

.footer-logo:hover img {
    transform: scale(1.05);
    filter: brightness(1.4) drop-shadow(0 6px 20px rgba(167, 58, 59, 0.3));
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 350px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.contact-info {
    margin-bottom: 2.5rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all var(--transition-fast);
    padding: 0.8rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-info p:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-info i {
    color: var(--accent-color);
    width: 22px;
    text-align: center;
    font-size: 1.2rem;
    text-shadow: 0 0 8px rgba(61, 153, 164, 0.4);
}

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

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.footer-section ul li a:hover {
    color: var(--white);
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(167, 58, 59, 0.3);
}

.footer-section ul li a i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
    text-shadow: 0 0 8px rgba(167, 58, 59, 0.4);
}

/* Enhanced Newsletter */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(167, 58, 59, 0.6), rgba(61, 153, 164, 0.6), transparent);
}

.footer-newsletter h4 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.8rem;
    font-size: 1rem;
    line-height: 1.6;
}

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

.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(167, 58, 59, 0.2);
}

.newsletter-btn {
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #c44a4b);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-medium);
    font-weight: 600;
    font-size: 1rem;
    min-width: 120px;
    box-shadow: 0 4px 15px rgba(167, 58, 59, 0.3);
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #c44a4b, var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167, 58, 59, 0.4);
}

/* Enhanced Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem 0;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-copy p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-social {
    display: flex;
    gap: 1.2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-medium);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity var(--transition-medium);
    border-radius: 50%;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(167, 58, 59, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-link i {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
}

/* Enhanced Footer Credits */
.footer-credits {
    text-align: center;
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-credits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-credits p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-newsletter {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 4rem 0 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-logo {
        text-align: center;
    }

    .footer-logo p {
        max-width: 100%;
        margin: 0 auto;
    }

    .contact-info p {
        justify-content: center;
    }

    .footer-section ul li a {
        justify-content: center;
    }

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

    .newsletter-input {
        min-width: 100%;
    }

    .newsletter-btn {
        width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 3rem 0 2rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-newsletter {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .footer-newsletter h4 {
        font-size: 1.1rem;
    }

    .contact-info p {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .footer-section ul li a {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .footer-credits {
        padding: 1.5rem 0;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .social-link i {
        font-size: 1.1rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-medium);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .diagram-container {
        width: 350px;
        height: 350px;
    }

    .service-point {
        width: 100px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-label {
        font-size: 0.8rem;
        padding: 0.4rem;
    }

    .center-logo {
        width: 100px;
        height: 100px;
    }

    .center-logo-img {
        width: 60px;
    }

    .culture-content,
    .contact-grid,
    .application-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .category-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .category-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-contact {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        box-shadow: var(--shadow-medium);
        padding: 1rem;
        gap: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .quality-features {
        flex-direction: column;
        gap: 1rem;
    }

    /* Hero Section Mobile */
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 6rem 15px 4rem;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .title-line-1,
    .title-line-2 {
        display: block;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.4rem);
        margin-bottom: 2rem;
        line-height: 1.4;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }

    /* Services Diagram Mobile */
    .services-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    /* Optimized Services Diagram for Mobile - Keep the Circle! */
    .services-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .services-text {
        order: 2;
    }

    .diagram-container {
        width: 350px;
        height: 350px;
        margin: 0 auto;
    }

    .service-point {
        width: 110px;
    }

    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        box-shadow: var(--shadow-heavy);
    }

    .service-label {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--text-dark);
        line-height: 1.2;
        background: rgba(255, 255, 255, 0.95);
        padding: 0.5rem 0.3rem;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-light);
        backdrop-filter: blur(5px);
    }

    .center-logo {
        width: 90px;
        height: 90px;
        border: 2px solid var(--primary-color);
    }

    .center-logo-img {
        width: 55px;
    }

    /* Hide mobile grid - we use the optimized circle */
    .mobile-services-grid {
        display: none;
    }

    /* Optimized Mobile Service Point Positions - Better spacing */
    .service-1 {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .service-2 {
        top: 18%;
        right: 5px;
        transform: translateX(15%);
    }

    .service-3 {
        bottom: 18%;
        right: 5px;
        transform: translateX(15%);
    }

    .service-4 {
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .service-5 {
        bottom: 18%;
        left: 5px;
        transform: translateX(-15%);
    }

    .service-6 {
        top: 18%;
        left: 5px;
        transform: translateX(-15%);
    }

    /* Mobile Service Point Positions - Tighter Circle */
    .service-1 {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }

    .service-2 {
        top: 20%;
        right: 15px;
        transform: translateX(20%);
    }

    .service-3 {
        bottom: 20%;
        right: 15px;
        transform: translateX(20%);
    }

    .service-4 {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
    }

    .service-5 {
        bottom: 20%;
        left: 15px;
        transform: translateX(-20%);
    }

    .service-6 {
        top: 20%;
        left: 15px;
        transform: translateX(-20%);
    }

    /* Quality Features Mobile */
    .quality-features {
        flex-direction: column;
        gap: 1rem;
    }

    .feature {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    /* Text Blocks Mobile */
    .text-block {
        margin-bottom: 1.5rem;
        padding: 1.2rem;
    }

    /* CTA Section Mobile */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Scroll Indicator Mobile */
    .scroll-indicator {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 5rem 15px 3rem;
        min-height: 90vh;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 3rem);
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 3.5vw, 1.2rem);
    }

    .hero-buttons .btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Ultra-small Services Diagram - Optimized Circle */
    .diagram-container {
        width: 320px;
        height: 320px;
    }

    .service-point {
        width: 100px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .service-label {
        font-size: 0.75rem;
        padding: 0.4rem 0.2rem;
        font-weight: 600;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        line-height: 1.1;
    }

    .center-logo {
        width: 80px;
        height: 80px;
        border: 2px solid var(--primary-color);
    }

    .center-logo-img {
        width: 50px;
    }

    /* Page Header Mobile */
    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-header h1 {
        font-size: clamp(2rem, 7vw, 3rem);
    }

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

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

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

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

    .contact-item,
    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .highlight-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

/* Latest Projects Section */
.latest-projects {
    padding: 6rem 0;
    background: var(--background-light);
    position: relative;
}

.latest-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

/* Projects Showcase Layout */
.projects-showcase {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Featured Project */
.featured-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-medium);
    border: 1px solid var(--border-color);
}

.featured-project:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.featured-image {
    position: relative;
    height: 450px;
    overflow: hidden;
}

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

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

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(48, 51, 70, 0.0) 0%,
        rgba(167, 58, 59, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

.featured-badge {
    align-self: flex-start;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-medium);
}

.featured-category {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
}

.featured-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.featured-date,
.featured-location,
.featured-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    background: var(--background-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.featured-date i,
.featured-location i,
.featured-duration i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.featured-title {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    line-height: 1.3;
    font-weight: 700;
}

.featured-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

.featured-highlights {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(167, 58, 59, 0.1);
    color: var(--primary-color);
    padding: 0.75rem 1.25rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(167, 58, 59, 0.2);
}

.highlight-item i {
    font-size: 0.8rem;
}

.featured-tags {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.featured-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 1rem 2rem;
    font-size: 1rem;
    box-shadow: var(--shadow-medium);
}

.featured-btn:hover {
    background: linear-gradient(135deg, #8f2f30, #357a7c);
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* Recent Projects Grid */
.recent-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card.compact {
    background: var(--white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    border: 1px solid var(--border-color);
}

.project-card.compact:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.project-card.compact .project-image {
    height: 200px;
}

.project-card.compact .project-content {
    padding: 1.75rem;
}

.project-card.compact .project-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.project-card.compact .project-description {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Project Stats */
.project-stats {
    margin-bottom: 1.25rem;
}

.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(61, 153, 164, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(61, 153, 164, 0.2);
}

.stat-item i {
    font-size: 0.8rem;
}

/* Enhanced CTA Section */
.projects-cta {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.project-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    position: relative;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: var(--shadow-medium);
}

.project-badge i {
    font-size: 0.7rem;
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(48, 51, 70, 0.0) 0%,
        rgba(167, 58, 59, 0.8) 100%
    );
    opacity: 0;
    transition: opacity var(--transition-medium);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
}

.project-content {
    padding: 2rem;
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.project-date,
.project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    background: var(--background-light);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

.project-date i,
.project-location i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.project-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    line-height: 1.3;
    font-weight: 600;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.project-tag {
    background: rgba(167, 58, 59, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(167, 58, 59, 0.2);
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.project-client {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.project-client i {
    color: var(--accent-color);
}

.project-details-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-details-btn:hover {
    background: #8f2f30;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.projects-cta {
    text-align: center;
    margin-top: 3rem;
}

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

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

/* No Projects / Error States */
.no-projects,
.projects-error {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
    background: var(--white);
    border-radius: var(--border-radius-large);
    border: 2px dashed var(--border-color);
}

.no-projects i,
.projects-error i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-projects h3,
.projects-error h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.no-projects p,
.projects-error p {
    color: var(--text-light);
}

.projects-error i {
    color: #e67e22;
}

/* Project Modal */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.project-modal.modal-active {
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 95%;
    max-width: 1000px;
    max-height: 95vh;
    margin: 2.5vh auto;
    background: var(--white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(50px) scale(0.9);
    transition: all var(--transition-medium);
}

.project-modal.modal-active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: var(--primary-color);
    transform: scale(1.1) rotate(90deg);
}

.modal-body {
    max-height: 95vh;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--background-light);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

/* Modal Loading */
.modal-loading {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--background-light);
}

.loading-spinner {
    margin-bottom: 2rem;
}

.loading-spinner i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.modal-loading p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
}

/* Modal Project Content */
.modal-project {
    padding: 0;
}

.modal-header {
    padding: 3rem;
    background: linear-gradient(135deg, var(--background-light), rgba(167, 58, 59, 0.05));
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.modal-meta {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.modal-category,
.modal-date,
.modal-location,
.modal-duration {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--white);
    color: var(--text-dark);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
}

.modal-category:hover,
.modal-date:hover,
.modal-location:hover,
.modal-duration:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.modal-category {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-color: transparent;
}

.modal-category i,
.modal-date i,
.modal-location i,
.modal-duration i {
    color: inherit;
    font-size: 0.85rem;
}

.modal-title {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 700;
}

.modal-description {
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0;
}

/* Modal Gallery */
.modal-gallery {
    margin-bottom: 0;
    background: #000;
    position: relative;
}

.gallery-main {
    position: relative;
    height: 450px;
    overflow: hidden;
    background: #000;
}

.gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-medium);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
}

.gallery-nav:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 1.5rem;
}

.gallery-nav.next {
    right: 1.5rem;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--background-light);
    overflow-x: auto;
    border-bottom: 1px solid var(--border-color);
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 2px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

.gallery-thumb {
    width: 90px;
    height: 65px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 3px solid transparent;
    flex-shrink: 0;
    box-shadow: var(--shadow-light);
}

.gallery-thumb:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.gallery-thumb.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
    transform: scale(1.1);
}

/* Modal Content Text */
.modal-content-text {
    padding: 3rem;
}

/* Project Details Grid */
.project-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: var(--background-light);
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
}

.detail-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
}

.detail-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.detail-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.detail-item h4 i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.detail-item p {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Project Highlights Section */
.project-highlights-section {
    margin-bottom: 3rem;
}

.project-highlights-section h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-highlights-section h3 i {
    color: var(--primary-color);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.highlight-card {
    display: flex;
    gap: 1.25rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-light);
}

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

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-medium);
}

.highlight-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.highlight-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Project Sections */
.project-sections {
    margin-bottom: 3rem;
}

.project-section {
    margin-bottom: 2.5rem;
    padding: 2.5rem;
    background: var(--white);
    border-radius: var(--border-radius-large);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
}

.project-section:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
}

.project-section h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.project-section h3 i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.section-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
}

/* Project Tags Modal */
.project-tags-modal {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
}

.project-tags-modal h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.project-tags-modal h4 i {
    color: var(--primary-color);
}

.tags-list {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tags-list .tag {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
}

.tags-list .tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Modal Footer */
.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--background-light), rgba(167, 58, 59, 0.05));
    border-top: 1px solid var(--border-color);
    gap: 2rem;
}

.modal-client {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.modal-client i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.modal-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.modal-actions .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: var(--shadow-medium);
}

/* Responsive Design for Projects */
@media (max-width: 1024px) {
    .featured-project {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .featured-image {
        height: 300px;
    }

    .featured-content {
        padding: 2rem;
    }

    .featured-meta {
        gap: 1rem;
    }

    .featured-title {
        font-size: 1.5rem;
    }

    .featured-highlights {
        gap: 1rem;
    }

    .featured-footer {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }

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

    .recent-projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .modal-content {
        width: 95%;
        margin: 2.5vh auto;
        max-height: 95vh;
    }

    .project-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .latest-projects {
        padding: 4rem 0;
    }

    .projects-showcase {
        gap: 2rem;
        margin-top: 3rem;
    }

    .featured-project {
        margin: 0 1rem;
    }

    .featured-image {
        height: 250px;
    }

    .featured-content {
        padding: 1.5rem;
    }

    .featured-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .featured-date,
    .featured-location,
    .featured-duration {
        justify-content: center;
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .featured-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .featured-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .featured-highlights {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .highlight-item {
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .featured-footer {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1.5rem;
    }

    .recent-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .project-card.compact {
        margin: 0;
    }

    .project-card.compact .project-content {
        padding: 1.5rem;
    }

    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .project-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

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

    .projects-cta {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .projects-cta .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .modal-content {
        width: 98%;
        margin: 1vh auto;
        max-height: 98vh;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-content-text {
        padding: 1.5rem;
    }

    .modal-footer {
        flex-direction: column;
        padding: 1.5rem;
    }

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

    .gallery-main {
        height: 250px;
    }

    .gallery-thumbnails {
        padding: 0.5rem;
    }

    .gallery-thumb {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .latest-projects {
        padding: 3rem 0;
    }

    .projects-showcase {
        margin-top: 2rem;
        gap: 1.5rem;
    }

    .featured-project {
        margin: 0 0.5rem;
        border-radius: var(--border-radius);
    }

    .featured-image {
        height: 200px;
    }

    .featured-overlay {
        padding: 1rem;
    }

    .featured-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .featured-category {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .featured-content {
        padding: 1.25rem;
    }

    .featured-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .featured-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .featured-highlights {
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }

    .highlight-item {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .featured-tags {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .project-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .recent-projects-grid {
        padding: 0 0.5rem;
    }

    .project-card.compact .project-content {
        padding: 1.25rem;
    }

    .project-card.compact .project-title {
        font-size: 1.1rem;
    }

    .project-card.compact .project-description {
        font-size: 0.9rem;
    }

    .project-meta span {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .stat-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .projects-cta {
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .projects-cta .btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Modal responsive styles for extra small mobile */
    .modal-content {
        width: 100%;
        margin: 0;
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .modal-header {
        padding: 1.5rem 1rem;
    }

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

    .modal-description {
        font-size: 0.95rem;
    }

    .modal-meta {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }

    .modal-category,
    .modal-date,
    .modal-location,
    .modal-duration {
        justify-content: center;
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .gallery-main {
        height: 220px;
    }

    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .gallery-nav.prev {
        left: 0.5rem;
    }

    .gallery-nav.next {
        right: 0.5rem;
    }

    .gallery-thumbnails {
        padding: 0.75rem;
        gap: 0.4rem;
    }

    .gallery-thumb {
        width: 60px;
        height: 40px;
    }

    .modal-content-text {
        padding: 1.5rem 1rem;
    }

    .project-details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .detail-item {
        padding: 0.8rem;
    }

    .detail-item h4 {
        font-size: 0.85rem;
    }

    .detail-item p {
        font-size: 0.95rem;
    }

    .project-highlights-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .highlight-card {
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .highlight-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .highlight-content h4 {
        font-size: 0.95rem;
    }

    .highlight-content p {
        font-size: 0.85rem;
    }

    .project-section {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .project-section h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .section-content p {
        font-size: 0.9rem;
    }

    .project-tags-modal {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .project-tags-modal h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .tags-list {
        gap: 0.4rem;
    }

    .tags-list .tag {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }

    .modal-footer {
        flex-direction: column;
        padding: 1.5rem 1rem;
        gap: 1.25rem;
        align-items: stretch;
    }

    .modal-client {
        justify-content: center;
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .modal-actions {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .modal-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Projects Filter Section */
.projects-filter {
    padding: 2rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 90px;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.filter-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--background-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-large);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-decoration: none;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.filter-btn i {
    font-size: 0.9rem;
}

/* Mobile Filter Select */
.mobile-filter-select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--white);
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: none;
}

.mobile-filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(167, 58, 59, 0.1);
}

/* Projects Stats */
.projects-stats {
    margin-bottom: 3rem;
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    transition: all var(--transition-medium);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* All Projects Section */
.all-projects {
    padding: 4rem 0;
    background: var(--background-light);
}

/* Enhanced Project Cards for Projects Page */
.projects-grid .project-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-medium);
}

.projects-grid .project-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.project-card.touch-active {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

/* Load More Section */
.load-more-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem 0;
}

.load-more-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

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

.load-more-btn:hover::before {
    left: 100%;
}

/* Search Wrapper */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-large);
    padding: 0.5rem 1rem;
    transition: all var(--transition-fast);
}

.search-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(167, 58, 59, 0.1);
}

.search-wrapper i {
    color: var(--text-light);
    margin-right: 0.5rem;
}

.project-search-input {
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 0.9rem;
    width: 200px;
}

.project-search-input::placeholder {
    color: var(--text-light);
}

/* Enhanced Modal for Projects */
.modal-gallery {
    margin-bottom: 2rem;
}

.gallery-main {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--transition-fast);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 1rem;
}

.gallery-nav.next {
    right: 1rem;
}

/* Mobile Optimizations for Projects */
@media (max-width: 768px) {
    .projects-filter {
        padding: 1rem 0;
        position: relative;
        top: 0;
    }

    .filter-controls {
        padding: 0 1rem;
    }

    .filter-btn {
        display: none;
    }

    .mobile-filter-select {
        display: block;
    }

    .stats-overview {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .all-projects {
        padding: 2rem 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .project-card {
        margin: 0;
    }

    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .project-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

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

    .search-wrapper {
        margin-top: 1rem;
        width: 100%;
    }

    .project-search-input {
        width: 100%;
    }

    /* Modal Mobile Optimizations */
    .modal-content {
        width: 98%;
        margin: 1vh auto;
        max-height: 98vh;
    }

    .gallery-main {
        height: 250px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .gallery-nav.prev {
        left: 0.5rem;
    }

    .gallery-nav.next {
        right: 0.5rem;
    }

    .gallery-thumbnails {
        padding: 0.5rem;
    }

    .gallery-thumb {
        width: 60px;
        height: 45px;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-content-text {
        padding: 1.5rem;
    }

    .modal-footer {
        flex-direction: column;
        padding: 1.5rem;
    }

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

    .modal-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .modal-category,
    .modal-date,
    .modal-location {
        justify-content: center;
    }

    /* Mobile Navigation Enhancement */
    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        box-shadow: var(--shadow-medium);
        padding: 1rem;
        gap: 0;
        z-index: 1000;
    }

    .nav-menu.active .nav-link {
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        text-align: center;
    }

    .nav-contact {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Enhanced Contact Button for Mobile */
    .contact-btn span {
        display: none;
    }

    .contact-btn {
        padding: 0.75rem;
        min-width: auto;
    }
}

/* ========================================
   JOBS PAGE SPECIFIC STYLES
   ======================================== */

/* Jobs Intro Section */
.jobs-intro {
    padding: 4rem 0;
    background: var(--white);
    text-align: center;
}

.jobs-intro h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
}

.jobs-intro p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Job Filters Section */
.job-filters {
    padding: 3rem 0;
    background: var(--background-light);
    text-align: center;
}

.job-filters h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-decoration: none;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.filter-btn i {
    font-size: 0.9rem;
}

/* Current Jobs Section */
.current-jobs {
    padding: 4rem 0;
    background: var(--white);
}

.jobs-header-image {
    text-align: center;
    margin-bottom: 3rem;
}

.jobs-header-image img {
    width: 100%;
    max-width: 1000px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
}

.current-jobs h2 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
}

.current-jobs > .container > p {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Job Item Cards */
.job-item {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.job-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.job-item .job-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-medium);
}

.job-item:hover .job-icon {
    transform: scale(1.1);
}

.job-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.job-item .job-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.job-item .job-type,
.job-item .job-location,
.job-item .job-salary {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--background-light);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.job-item .job-location i,
.job-item .job-salary i {
    font-size: 0.7rem;
    color: var(--primary-color);
}

.job-item p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: var(--shadow-medium);
}

.featured-badge i {
    font-size: 0.7rem;
}

.job-item .job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.job-item .job-posted {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.8rem;
}

.job-item .job-posted i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.job-item .job-apply-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-light);
}

.job-item .job-apply-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.job-item .job-apply-btn i {
    font-size: 0.8rem;
}

/* No Jobs Messages */
.no-jobs-message,
.no-jobs-content {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius-large);
    border: 2px dashed var(--border-color);
    margin-top: 2rem;
}

.no-jobs-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2.5rem;
    box-shadow: var(--shadow-medium);
}

.no-jobs-message h3,
.no-jobs-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.no-jobs-message p,
.no-jobs-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Jobs CTA */
.jobs-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius-large);
}

.jobs-cta h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.jobs-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-medium);
}

.cta-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.cta-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.cta-btn.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-btn.secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Benefits Overview */
.benefits-overview {
    padding: 4rem 0;
    background: var(--background-light);
}

.benefits-overview h2 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
}

.benefits-overview > .container > p {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-medium);
    border: 2px solid var(--border-color);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-medium);
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Contact CTA */
.contact-cta {
    padding: 4rem 0;
    background: var(--white);
    text-align: center;
}

.contact-cta h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
}

.contact-cta p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Enhanced Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius-large);
    transition: all var(--transition-medium);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    background: var(--white);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-medium);
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotateY(360deg);
}

.benefit-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.benefit-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Application Process Section */
.application-process {
    padding: 6rem 0;
    background: var(--background-light);
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.process-step {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    text-align: center;
    position: relative;
    transition: all var(--transition-medium);
    border: 2px solid transparent;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: var(--shadow-heavy);
    border: 4px solid var(--white);
}

.step-content {
    margin-top: 1.5rem;
}

.step-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-icon {
    margin-top: 1.5rem;
}

.step-icon i {
    font-size: 2.5rem;
    color: var(--accent-color);
    opacity: 0.7;
}

/* Enhanced Application Section */
.application-section {
    padding: 6rem 0;
    background: var(--white);
}

.application-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.application-info .lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-methods {
    margin: 3rem 0;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius-large);
    transition: all var(--transition-medium);
    border: 1px solid var(--border-color);
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    background: var(--white);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-medium);
}

.method-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.method-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-link:hover {
    color: var(--accent-color);
}

.method-hours {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.application-note {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(61, 153, 164, 0.05), rgba(167, 58, 59, 0.05));
    border-radius: var(--border-radius-large);
    border-left: 4px solid var(--accent-color);
    margin-top: 3rem;
}

.note-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.note-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.note-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Enhanced Quick Application Form */
.quick-application {
    background: var(--background-light);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    border: 1px solid var(--border-color);
}

.application-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 2.5rem;
    text-align: center;
}

.card-header h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.card-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
}

.application-form {
    padding: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(167, 58, 59, 0.1);
    background: rgba(167, 58, 59, 0.02);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

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

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

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    margin-top: 2px;
    background: var(--white);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: var(--white);
    font-size: 0.9rem;
    font-weight: bold;
}

.checkbox-text {
    flex: 1;
}

.checkbox-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

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

.form-submit-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-medium);
}

.form-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

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

.btn-text,
.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.btn-loading {
    display: none;
}

.form-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.85rem;
    text-align: center;
    justify-content: center;
}

.form-note i {
    color: var(--accent-color);
}

/* Jobs CTA Section Enhancement */
.jobs-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(167, 58, 59, 0.05), rgba(61, 153, 164, 0.05));
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(167, 58, 59, 0.1);
}

.jobs-cta .cta-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.jobs-cta .cta-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Mobile Responsive for Jobs Page */
@media (max-width: 1024px) {
    .openings-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-stats .stat-item {
        padding: 1.25rem 1.5rem;
    }

    .application-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

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

@media (max-width: 768px) {
    .jobs-hero {
        min-height: 90vh;
        padding: 6rem 0 4rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .hero-stats .stat-item {
        width: 100%;
        max-width: 200px;
    }

    .openings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .job-card {
        padding: 2rem;
        margin: 0 1rem;
    }

    .job-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .job-icon {
        align-self: center;
    }

    .job-meta {
        justify-content: center;
        gap: 0.75rem;
    }

    .job-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .job-apply-btn,
    .job-details-btn {
        width: 100%;
        justify-content: center;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

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

    .checkbox-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .application-info,
    .quick-application {
        margin: 0 1rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .application-note {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .jobs-hero {
        padding: 5rem 0 3rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.3rem);
    }

    .hero-stats .stat-number {
        font-size: 2rem;
    }

    .job-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .job-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .job-title {
        font-size: 1.3rem;
    }

    .featured-ribbon {
        font-size: 0.75rem;
        padding: 0.4rem 2.5rem;
    }

    .process-step {
        padding: 2rem 1.5rem;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .application-form {
        padding: 2rem 1.5rem;
    }

    .card-header {
        padding: 2rem 1.5rem;
    }

    .contact-method {
        padding: 1.5rem;
    }

    .benefit-item {
        padding: 1.25rem;
    }

    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .projects-stats {
        margin-bottom: 2rem;
    }

    .stats-overview {
        grid-template-columns: 1fr 1fr;
        padding: 1rem;
    }

    .stat-item {
        padding: 0.8rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .project-content {
        padding: 1.5rem;
    }

    .project-title {
        font-size: 1.2rem;
    }

    .project-badge {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }

    .load-more-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 1rem;
    }

    /* Extra small mobile optimizations */
    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-header h1 {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .hero-buttons .btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }
}

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

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

/* Modal Animation Classes */
.modal-enter {
    animation: modalFadeIn 0.3s ease-out;
}

.modal-enter .modal-content {
    animation: modalSlideIn 0.4s ease-out;
}

.modal-exit {
    animation: modalFadeIn 0.2s ease-in reverse;
}

.modal-exit .modal-content {
    animation: modalSlideIn 0.2s ease-in reverse;
}

/* Lazy Loading Image Styles */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.loaded {
    opacity: 1;
}

/* Enhanced Touch Support */
@media (hover: none) and (pointer: coarse) {
    .filter-btn:hover {
        transform: none;
    }

    .filter-btn:active {
        transform: scale(0.95);
        background: var(--primary-color);
        color: var(--white);
    }

    .project-card:hover {
        transform: none;
    }

    .project-card:active {
        transform: translateY(-3px);
    }

    .stat-item:hover {
        transform: none;
    }

    .stat-item:active {
        transform: scale(0.98);
    }

    .service-point:hover {
        transform: none;
    }

    .service-point:active {
        transform: scale(1.05);
    }

    .service-point:active .service-icon {
        background: var(--accent-color);
        transform: scale(1.1);
    }

    /* Modal Touch Optimizations */
    .gallery-nav:hover {
        transform: translateY(-50%);
    }

    .gallery-nav:active {
        transform: translateY(-50%) scale(0.95);
        background: var(--primary-color);
    }

    .gallery-thumb:hover {
        transform: none;
        border-color: transparent;
    }

    .gallery-thumb:active {
        transform: scale(0.95);
        border-color: var(--primary-color);
    }

    .highlight-card:hover {
        transform: none;
    }

    .highlight-card:active {
        transform: scale(0.98);
    }

    .project-section:hover {
        transform: none;
    }

    .project-section:active {
        transform: translateX(2px);
    }

    .detail-item:hover {
        transform: none;
    }

    .detail-item:active {
        transform: scale(0.98);
    }

    .tags-list .tag:hover {
        transform: none;
    }

    .tags-list .tag:active {
        transform: scale(0.95);
    }
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    padding: 1rem;
    max-width: 400px;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform var(--transition-medium);
    border-left: 4px solid var(--primary-color);
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-content i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.notification-content span {
    color: var(--text-dark);
    font-weight: 500;
    flex: 1;
}

.notification-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.notification-close:hover {
    background: var(--background-light);
    color: var(--text-dark);
}

.notification-success {
    border-left-color: #27ae60;
}

.notification-success .notification-content i {
    color: #27ae60;
}

.notification-error {
    border-left-color: #e74c3c;
}

.notification-error .notification-content i {
    color: #e74c3c;
}

.notification-warning {
    border-left-color: #f39c12;
}

.notification-warning .notification-content i {
    color: #f39c12;
}

.notification-info {
    border-left-color: var(--accent-color);
}

.notification-info .notification-content i {
    color: var(--accent-color);
}

/* Mobile Navigation Enhancement */
.nav-open {
    overflow: hidden;
}

.nav-open .nav-menu {
    transform: translateX(0);
}

/* Form Error Styles */
.form-error {
    display: block;
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 10000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* Focus Styles */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .nav-menu,
    .hamburger,
    .back-to-top,
    .notification {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        max-width: none;
        padding: 0;
    }
}

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

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

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

.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
