/*
Theme Name: ASID Custom Theme
Description: Custom WordPress theme for ASID Projects & Management - converted from HTML design with auto-setup
Author: Custom Development
Version: 2.0.0
*/

/* ===== WORDPRESS COMPATIBILITY ===== */

/* WordPress admin bar spacing fix */
body.admin-bar .navbar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .navbar {
        top: 46px;
    }
}

/* WordPress block editor compatibility - only target WordPress wrapper elements */
.wp-site-blocks>* {
    margin: 0;
}

.entry-content>.alignwide {
    margin: 0;
}

/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure no gaps between main sections */
main,
section {
    margin: 0;
    padding: 0;
}

main {
    display: block;
    position: relative;
    z-index: 1;
}

html {
    scroll-behavior: smooth;
}

/* Consolidated body styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111827;
    background-color: #f8f9fa;
    position: relative;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Ensure header is properly positioned - fixed to prevent gaps */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    margin: 0;
    padding: 0;
}

/* Prevent any floating issues */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

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

/* ===== TYPOGRAPHY ===== */
h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #374151;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: #FFCB3F;
    color: #000000;
    border-color: #FFCB3F;
    box-shadow: 0 2px 8px rgba(255, 203, 63, 0.2);
}

.btn-primary:hover {
    background-color: #F0B929;
    border-color: #F0B929;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 203, 63, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #111827;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.3);
}

.btn:focus {
    outline: 2px solid #FFCB3F;
    outline-offset: 2px;
}

/* Enhanced CTA styling for hero buttons */
.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #FFCB3F 0%, #F0B929 100%);
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 3px solid #FFCB3F;
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #F0B929 0%, #E6A623 100%);
    border-color: #E6A623;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo .logo-text {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
}

.nav-logo .logo-image,
.nav-logo .custom-logo {
    background: transparent;
    width: 150px;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.nav-logo .logo-image:hover,
.nav-logo .custom-logo:hover {
    opacity: 0.8;
}

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

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #FFCB3F;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #111827;
    transition: 0.3s;
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1541976590-713941681591?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

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

.hero-headline {
    font-size: 56px;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

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

/* ===== QUOTE SECTION ===== */
.quote-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
    border-left: 4px solid #FFCB3F;
    padding-left: 2rem;
    text-align: left;
}

.quote-text {
    font-size: 32px;
    font-style: italic;
    color: #111827;
    margin-bottom: 1rem;
    font-weight: 300;
    line-height: 1.4;
    position: relative;
}

.quote-author {
    font-size: 20px;
    color: #6B7280;
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: block;
}

.quote-context {
    font-size: 18px;
    color: #374151;
    line-height: 1.6;
    max-width: 600px;
}

/* ===== SERVICES OVERVIEW ===== */
.services-overview {
    padding: 80px 0;
    background: white;
}

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

.section-header h2 {
    color: #111827;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 20px;
    color: #6B7280;
    max-width: 900px;
    margin: 0 auto;
}

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

.services-grid.tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
}

.service-category {
    background: transparent;
    padding: 1rem 0 3rem 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

/* Add breathing room between project categories */
.projects-page .service-category {
    margin-top: 2.5rem;
    margin-bottom: 6rem;
    padding-bottom: 5.5rem;
}

.service-category-header {
    margin-bottom: 2rem;
    text-align: center;
}

.service-category-header h3 {
    color: #111827;
    margin-bottom: 0.5rem;
}

.service-category-header p {
    color: #6B7280;
    font-size: 16px;
}

.service-list {
    display: grid;
    gap: 1.5rem;
}

.service-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #FFCB3F;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-item h4 {
    color: #111827;
    margin-bottom: 0.5rem;
}

.service-item p {
    color: #6B7280;
    margin: 0;
    font-size: 16px;
}

.section-cta {
    text-align: center;
    margin-top: 6rem;
}

/* ===== SERVICE CARDS (Landing Page) ===== */
.service-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #FFCB3F;
}

.service-card-header {
    margin-bottom: 2rem;
    text-align: left;
}

.service-card-header h3 {
    color: #111827;
    margin-bottom: 0.5rem;
    font-size: 24px;
}

.service-tagline {
    color: #6B7280;
    font-size: 16px;
    font-style: italic;
    margin: 0;
}

.service-card-content {
    margin-bottom: 2rem;
}

.service-card-content p {
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: #FFCB3F;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: #F0B929;
    transform: translateX(4px);
}

/* ===== SERVICE BLOCKS (Services Page) ===== */
.services-intro {
    padding: 60px 0;
    background: white;
}

.service-tile {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: #FFCB3F;
}

.service-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
}

.service-tile-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-tile-header h3 {
    margin: 0 0 0.35rem 0;
    color: #111827;
}

.service-tile-header .service-tagline {
    margin: 0;
    color: #6B7280;
    font-size: 15px;
}

.service-summary {
    margin: 0;
    color: #374151;
    line-height: 1.5;
}

.service-details {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.service-details summary {
    cursor: pointer;
    font-weight: 700;
    color: #111827;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-details summary::-webkit-details-marker {
    display: none;
}

.service-details summary::after {
    content: '+';
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.service-details[open] summary::after {
    content: '-';
}

.service-details-body {
    margin-top: 1rem;
    display: grid;
    gap: 1rem;
}

.service-details p {
    margin: 0;
    color: #374151;
}

.service-actions {
    margin-top: 0.5rem;
}

.service-block {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #FFCB3F;
}

.service-header {
    margin-bottom: 2rem;
    border-bottom: 3px solid #FFCB3F;
    padding-bottom: 1.5rem;
}

.service-header h3 {
    color: #111827;
    margin-bottom: 0.5rem;
    font-size: 28px;
}

.service-content {
    margin-bottom: 2.5rem;
}

.service-content p {
    color: #374151;
    margin-bottom: 1.5rem;
    font-size: 18px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    gap: 1rem;
}

.service-features li {
    color: #374151;
    padding-left: 2rem;
    position: relative;
    font-size: 16px;
    line-height: 1.5;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFCB3F;
    font-weight: bold;
    font-size: 18px;
}

.service-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ===== BUTTON STYLES ===== */
.btn-outline {
    background: transparent;
    color: #111827;
    border: 2px solid #FFCB3F;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-outline:hover {
    background: #FFCB3F;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 203, 63, 0.4);
}

/* Service anchor positioning */
.service-anchor {
    scroll-margin-top: 100px;
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 60px 0;
    background: #111827;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #FFCB3F;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ===== TALK TO US SECTION ===== */
.talk-to-us-section {
    padding: 80px 0;
    background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2076&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    text-align: center;
}

.talk-to-us-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.talk-to-us-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.talk-to-us-content h2 {
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.talk-to-us-content p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-size: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

/* ===== FOOTER ===== */
.footer {
    background: #1F2937;
    color: white;
    padding: 60px 0 30px;
    border-top: 1px solid #374151;
    margin: 0;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand img {
    height: 50px !important;
    width: auto !important;
    margin-bottom: 15px !important;
    object-fit: contain;
    max-width: 150px;
}

.footer-brand h3 {
    font-size: 32px;
    color: #FFCB3F;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #9CA3AF;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 20px;
}

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

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

.footer-section a {
    color: #9CA3AF;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    display: inline-block;
}

.footer-section a:hover {
    color: #FFCB3F;
    transform: translateX(4px);
}

.footer-social {
    margin-top: 10px;
    text-align: left;
}

.footer-social h5 {
    margin: 0 0 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-social-links .social-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.footer-social-links .social-link:hover,
.footer-social-links .social-link:focus {
    border-bottom-color: #ffffff;
}

.footer-social-links .social-icon {
    display: inline-block;
    color: #ffffff;
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .footer-social {
        text-align: center;
    }

    .footer-social-links {
        justify-content: center;
        gap: 14px;
    }
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9CA3AF;
    font-size: 16px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    /* Typography adjustments for mobile */
    h1,
    .hero-headline {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 24px;
    }

    h4 {
        font-size: 18px;
    }

    p {
        font-size: 16px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .quote-text {
        font-size: 28px;
    }

    /* Quote section mobile responsive */
    .quote-content {
        border-left: 3px solid #FFCB3F;
        padding-left: 1rem;
        text-align: center;
    }

    .quote-text {
        font-size: 24px;
    }

    .stat-number {
        font-size: 36px;
    }

    .page-header .hero-content h1 {
        font-size: 36px;
    }

    .page-header .hero-content p {
        font-size: 18px;
    }

    /* Layout adjustments */
    .hero-buttons,
    .talk-to-us-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Service cards and blocks mobile responsive */
    .service-card {
        padding: 2rem;
    }

    .service-card-header h3 {
        font-size: 22px;
    }

    .service-block {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .service-header h3 {
        font-size: 24px;
    }

    .service-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .service-actions .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .service-media {
        height: 180px;
    }

    .service-category {
        padding: 2rem;
    }
}

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

    .hero-section {
        height: 80vh;
    }

    h1,
    .hero-headline {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 16px;
    }

    p {
        font-size: 15px;
        line-height: 1.5;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .quote-text {
        font-size: 22px;
    }

    .stat-number {
        font-size: 28px;
    }

    .service-category {
        padding: 1.5rem;
    }

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

    .page-header {
        background-attachment: scroll;
        min-height: 300px;
    }

    .page-header .hero-content h1 {
        font-size: 28px;
    }

    .page-header .hero-content p {
        font-size: 16px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #FFCB3F;
    outline-offset: 2px;
}

/* High contrast for better readability */
@media (prefers-contrast: high) {

    .service-category,
    .service-item {
        border-width: 2px;
        border-color: #111827;
    }
}

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

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== PAGE HEADER (for inner pages) ===== */
.page-header {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Default page header background */
.page-header {
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
}

/* Specific backgrounds for each page */
.page-header.about-header {
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80');
}

.page-header.services-header {
    background-image: url('https://images.unsplash.com/photo-1541976590-713941681591?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
}

.page-header.contact-header {
    background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2076&q=80');
}

.page-header.projects-header {
    background-image: url('https://images.unsplash.com/photo-1590479773265-7464e5d48118?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
}

.page-header .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.page-header .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header .hero-content h1 {
    font-size: 48px;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-header .hero-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-mobile-header {
    display: none;
}

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

.contact-info {
    padding: 2rem 0;
}

.contact-intro {
    font-size: 18px;
    color: #6B7280;
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #FFCB3F;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #FFCB3F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
}

.contact-details h4 {
    margin-bottom: 0.25rem;
    color: #111827;
}

.contact-details p {
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.contact-details a {
    color: #111827;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #FFCB3F;
}

.contact-details small {
    color: #6B7280;
    font-size: 14px;
}

.contact-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    text-align: center;
}

.contact-cta h3 {
    margin-bottom: 0.5rem;
    color: #111827;
}

.contact-cta p {
    margin-bottom: 1.5rem;
    color: #6B7280;
}

/* ===== CONTACT FORM ===== */
.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.contact-form {
    background: white;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.contact-form::before {
    display: none;
}

.contact-form>* {
    position: relative;
    z-index: 1;
}

.contact-form h2 {
    text-align: center;
    color: #111827;
    margin-bottom: 0.5rem;
}

.contact-form>p {
    text-align: center;
    color: #6B7280;
    margin-bottom: 2rem;
    font-size: 16px;
}

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

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #111827;
    font-size: 16px;
}

.required {
    color: #dc2626;
    font-weight: 700;
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFCB3F;
    box-shadow: 0 0 0 3px rgba(255, 203, 63, 0.1);
}

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

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

.checkbox-item {
    margin-bottom: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 16px;
    color: #111827;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #FFCB3F;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #FFCB3F;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #F0B929;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 203, 63, 0.4);
}

/* ===== FORM SPECIFIC STYLES ===== */
fieldset {
    border: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

legend {
    font-weight: 600;
    color: #111827;
    font-size: 16px;
    margin-bottom: 1rem;
    display: block;
}

.error-message {
    display: none;
    color: #dc2626;
    font-size: 14px;
    margin-top: 0.25rem;
}

.captcha-group {
    margin-bottom: 2rem;
}

.captcha-placeholder {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.captcha-box input[type="checkbox"] {
    width: 24px;
    height: 24px;
    accent-color: #FFCB3F;
}

.captcha-box label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.captcha-logo {
    margin-left: auto;
    font-size: 12px;
    color: #6B7280;
    font-weight: 500;
}

.captcha-note {
    font-size: 12px;
    color: #6B7280;
    margin: 0;
    font-style: italic;
}

.form-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.form-footer p {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

.form-footer a {
    color: #111827;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.form-footer a:hover {
    color: #FFCB3F;
}

/* Content Section Styling (for About and other pages) */
.content-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-section p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #374151;
}

@media (max-width: 768px) {
    .content-section p {
        font-size: 16px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .content-section p {
        font-size: 15px;
    }
}

/* Service Preferences Grid Helper */
.service-preferences-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (max-width: 640px) {
    .service-preferences-grid {
        grid-template-columns: 1fr;
    }
}

/* Enhanced touch targets for mobile */
@media (max-width: 768px) {

    /* Ensure all clickable elements meet 44px minimum */
    .checkbox-label {
        min-height: 44px;
        align-items: center;
        padding: 0.5rem;
    }

    .checkbox-label input[type="checkbox"] {
        width: 22px;
        height: 22px;
        margin-right: 0.5rem;
    }

    input[type="checkbox"],
    input[type="radio"] {
        min-width: 22px;
        min-height: 22px;
    }

    /* Improve button sizing on mobile */
    .btn {
        min-height: 48px;
        padding: 14px 28px;
        font-size: 16px;
    }

    .submit-btn {
        min-height: 52px;
        font-size: 17px;
    }
}

/* Mobile Responsive for Contact Page */
@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-container {
        order: -1;
    }

    .contact-mobile-header {
        display: block;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .contact-mobile-header h2 {
        margin-bottom: 0.75rem;
    }

    .contact-mobile-header .contact-intro {
        margin: 0;
    }

    /* Hide duplicate heading inside contact info on mobile */
    .contact-info h2,
    .contact-info .contact-intro {
        display: none;
    }
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        padding: 1.25rem;
    }

    .contact-icon {
        flex-shrink: 0;
    }

    .contact-details {
        flex: 1;
    }

    /* Better touch targets for mobile */
    .contact-details a {
        display: inline-block;
        padding: 0.25rem 0;
        min-height: 44px;
        line-height: 1.8;
    }

    /* Form specific mobile improvements */
    .contact-form h2 {
        font-size: 26px;
        margin-bottom: 0.75rem;
    }

    .contact-form>p {
        font-size: 15px;
        margin-bottom: 1.5rem;
    }

    /* Service preferences on mobile */
    .service-preferences-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .contact-content {
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }

    .contact-form-container {
        padding: 1rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1rem;
    }

    .contact-icon {
        align-self: center;
        width: 40px;
        height: 40px;
    }

    .contact-details {
        text-align: center;
    }

    .contact-cta {
        padding: 1.5rem;
    }

    .contact-form h2 {
        font-size: 22px;
    }

    .contact-form>p {
        font-size: 14px;
    }

    /* Smaller form inputs on very small screens */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }
}

/* ===== ENHANCED MOBILE TYPOGRAPHY ===== */
@media (max-width: 768px) {

    /* Improved readability on mobile devices */
    p {
        font-size: 17px;
        line-height: 1.7;
        margin-bottom: 1.2rem;
    }

    .hero-subtitle {
        font-size: 20px;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .quote-text {
        font-size: 26px;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    .service-card-content p,
    .service-content p {
        font-size: 16px;
        line-height: 1.6;
    }

    .contact-details p {
        font-size: 16px;
        font-weight: 600;
    }

    .contact-intro {
        font-size: 17px;
        line-height: 1.6;
    }
}

/* ===== BUTTON CONSISTENCY IMPROVEMENTS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    line-height: 1.2;
    min-height: 54px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn:focus {
    outline: 3px solid #FFCB3F;
    outline-offset: 2px;
}

.btn-primary {
    background: linear-gradient(135deg, #FFCB3F 0%, #F0B929 100%);
    color: #000000;
    border-color: #FFCB3F;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #F0B929 0%, #E6A623 100%);
    border-color: #E6A623;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 203, 63, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: #111827;
    border: 2px solid #FFCB3F;
    font-weight: 600;
}

.btn-outline:hover {
    background: #FFCB3F;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 203, 63, 0.4);
}

@media (max-width: 480px) {
    .page-header {
        height: 50vh;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .contact-cta {
        padding: 1.5rem;
    }
}

/* ===== FOOTER MOBILE FIXES ===== */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        text-align: center;
    }

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

    .footer-brand {
        align-items: center;
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer-brand img {
        margin: 0 auto 1.5rem auto !important;
        height: 50px !important;
    }

    .footer-brand p {
        max-width: 100%;
        margin: 0 auto;
        font-size: 16px;
        color: #D1D5DB;
        /* Lighter for better contrast */
    }

    .footer-section {
        text-align: center;
        width: 100%;
    }

    .footer-section h4 {
        font-size: 20px;
        margin-bottom: 1.25rem;
        color: #FFCB3F;
        /* Highlight headers */
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .footer-section li {
        margin-bottom: 0;
        width: 100%;
    }

    .footer-section a {
        display: block;
        padding: 8px 0;
        /* Larger touch target */
        font-size: 16px;
        color: #E5E7EB;
        /* Lighter text */
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
        font-size: 14px;
        color: #9CA3AF;
    }
}

/* ===== PROJECTS GRID ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-year {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 203, 63, 0.95);
    color: #000;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: #111827;
    margin-bottom: 0.75rem;
    font-size: 20px;
    line-height: 1.3;
}

.project-type {
    color: #FFCB3F;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-excerpt {
    color: #6B7280;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-location {
    color: #9CA3AF;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.project-location svg {
    flex-shrink: 0;
}

/* ===== SINGLE PROJECT PAGE ===== */
.project-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

.project-description {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.project-description .lead {
    font-size: 24px;
    color: #111827;
    font-weight: 500;
    margin-bottom: 2rem;
}

/* ===== PROJECT GALLERY ===== */
.project-gallery-section {
    margin-top: 4rem;
}

.project-gallery-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #111827;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    background: #f8f9fa;
}

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===== PROJECT NAVIGATION ===== */
.project-navigation {
    background: #f8f9fa;
    padding: 3rem 0;
}

.project-navigation .project-nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.project-navigation .project-nav-link {
    flex: 1;
    min-width: 200px;
    text-decoration: none;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.project-navigation .project-nav-link:hover {
    border-color: #FFCB3F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-navigation .project-nav-link.prev-project {
    text-align: left;
}

.project-navigation .project-nav-link.next-project {
    text-align: right;
}

.project-navigation .nav-label {
    display: block;
    font-size: 14px;
    color: #6B7280;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    display: block;
    font-size: 18px;
    color: #111827;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .project-navigation .project-nav-links {
        flex-direction: column;
    }

    .project-navigation .project-nav-link {
        width: 100%;
    }

    .project-navigation .project-nav-link.next-project {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .project-image {
        height: 200px;
    }

    .project-info h3 {
        font-size: 18px;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }
}

/* ===== PROJECTS CAROUSEL ===== */
.projects-carousel {
    position: relative;
    margin-top: 2rem;
    padding: 0 0.5rem;
}

.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    padding: 1rem 0;
}

.project-card-carousel {
    flex: 0 0 320px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.project-card-carousel:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #FFCB3F;
}

.project-image-carousel {
    height: 220px;
    overflow: hidden;
}

.project-image-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-info-carousel {
    padding: 1.5rem;
}

.project-info-carousel h4 {
    color: #111827;
    margin-bottom: 0.5rem;
    font-size: 18px;
    font-weight: 600;
}

.project-info-carousel p {
    color: #6B7280;
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 45px;
}

/* Carousel Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #e5e7eb;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-nav:hover {
    background: #FFCB3F;
    border-color: #FFCB3F;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: -20px;
}

.carousel-nav.next {
    right: -20px;
}

.carousel-nav svg {
    width: 24px;
    height: 24px;
    stroke: #111827;
}

.carousel-nav:hover svg {
    stroke: #000000;
}

.carousel-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav.disabled:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: #e5e7eb;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .project-card-carousel {
        flex: 0 0 280px;
    }

    .carousel-nav {
        display: none;
    }

    /* Enable touch scrolling on mobile */
    .carousel-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
}
