/* Labour Base Constructions - Enhanced Main Styles */

:root {
    --primary-blue: #1A4D6D;
    --primary-orange: #FF6B35;
    --secondary-orange: #ff8a5c;
    --secondary-blue: #2a6d96;
    --gray-dark: #5A5A5A;
    --gray-medium: #4A4A4A;
    --gray-light: #F3F3F5;
    --white: #FFFFFF;
    --black: #000000;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-blue);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 4px;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Focus Indicators */
*:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 6rem 0;
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container.scrolled {
    background: white;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 1.5rem 0; */
    transition: padding 0.3s ease;
}

.nav-container.scrolled .nav-content {
    /* padding: 1rem 0; */
}

.logo {
    height: auto;
    width: 150px;
    transition: height 0.3s ease;
}

.nav-container.scrolled .logo {
    height: auto;
    width: 110px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-container.scrolled .nav-link {
    color: var(--gray-dark);
}

.nav-link:hover {
    color: var(--primary-orange) !important;
}


.nav-cta {
    background: linear-gradient(to right, var(--primary-orange), var(--secondary-orange));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.nav-container.scrolled .mobile-menu-toggle {
    color: var(--primary-blue);
}

.mobile-menu {
    background: white;
    border-radius: 0.75rem;
    margin-top: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.mobile-menu-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--gray-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu-link:hover {
    background: var(--primary-orange);
    color: white;
}

.mobile-cta {
    display: block;
    margin: 1rem 1.5rem;
    padding: 0.75rem;
    background: linear-gradient(to right, var(--primary-orange), var(--secondary-orange));
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 0.5rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 800ms ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 5s ease-out;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.hero-slide.active .hero-bg {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(26, 77, 109, 0.9), rgba(26, 77, 109, 0.7), transparent);
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-text-wrapper {
    max-width: 50rem;
    margin-left: 3%;
}

.hero-heading {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    transform: translateY(32px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active .hero-heading {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 200ms;
}

.hero-subheading {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    transform: translateY(32px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active .hero-subheading {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 400ms;
}

.hero-cta {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-orange), var(--secondary-orange));
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transform: translateY(32px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active .hero-cta {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 600ms;
}

.hero-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 48px rgba(255, 107, 53, 0.4);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-prev {
    left: 1rem;
}

.hero-next {
    right: 1rem;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--primary-orange);
    width: 48px;
    border-radius: 6px;
}

/* About Section */
.about-section {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    border-radius: 1rem;
    transform: rotate(3deg);
}

.about-image {
    position: relative;
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.2);
}

.experience-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.experience-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    line-height: 1;
}

.experience-text {
    color: var(--gray-dark);
    font-weight: 500;
    margin-top: 0.25rem;
}

.section-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-description {
    font-size: 1.125rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    line-height: 1.75;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.about-feature-icon.orange {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
}

.about-feature-icon.gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
}

.about-feature:hover .about-feature-icon {
    transform: scale(1.1);
}

.about-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.about-feature-text {
    color: var(--gray-dark);
    line-height: 1.6;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-dark);
    max-width: 48rem;
    margin: 0 auto;
}

/* Why LBC Section */
.why-section {
    background: linear-gradient(135deg, #F9FAFB 0%, white 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.why-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.why-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.why-description {
    color: var(--gray-dark);
    line-height: 1.75;
}

.why-accent {
    height: 4px;
    width: 48px;
    background: linear-gradient(to right, var(--primary-orange), var(--secondary-orange));
    border-radius: 2px;
    margin-top: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-dark);
}

/* Projects Section */
.projects-section {
    background: white;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    padding: 0 1rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: #F3F3F5;
    color: var(--gray-dark);
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
    color: white;
    box-shadow: 0 4px 16px rgba(26, 77, 109, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.project-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100%;            
    max-width: 500px;         
    height: auto;            
    aspect-ratio: 500 / 376;  
    object-fit: cover;       
    border-radius: 0.75rem;   
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 77, 109, 0.95), rgba(26, 77, 109, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-name {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transform: translateY(16px);
    transition: transform 0.3s ease;
}

.project-card:hover .project-name {
    transform: translateY(0);
}

.project-location {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    transform: translateY(16px);
    transition: transform 0.3s ease 0.1s;
}

.project-card:hover .project-location {
    transform: translateY(0);
}

/* ===============================
   Clients & Partners Sections
================================ */

.clients-section {
    background: linear-gradient(135deg, #F9FAFB 0%, #ffffff 100%);
}

.partners-section {
    background: #ffffff;
}

/* Slider Wrapper */
.clients-slider,
.partners-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Gradient Fade Edges */
.clients-slider::before,
.clients-slider::after,
.partners-slider::before,
.partners-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 6rem;
    z-index: 10;
    pointer-events: none;
}

.clients-slider::before,
.partners-slider::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.clients-slider::after,
.partners-slider::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.clients-section .clients-slider::before {
    background: linear-gradient(to right, #F9FAFB, transparent);
}

.clients-section .clients-slider::after {
    background: linear-gradient(to left, #F9FAFB, transparent);
}

/* Tracks */
.clients-track,
.partners-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.partners-track {
    animation: scroll-reverse 30s linear infinite;
}

/* Pause on Hover */
.clients-track:hover,
.partners-track:hover {
    animation-play-state: paused;
}

/* Logo Card */
.client-logo,
.partner-logo {
    flex-shrink: 0;
    width: 180px;
    height: 110px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
    filter: grayscale(100%);
}

/* Logo Image */
.client-logo img,
.partner-logo img {
    max-width: 145px;
    max-height: 90px;
    object-fit: contain;
    transition: transform 0.35s ease;
}

/* Hover Effects */
.client-logo:hover,
.partner-logo:hover {
    filter: grayscale(0%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.client-logo:hover img,
.partner-logo:hover img {
    transform: scale(1.05);
}

/* Keyframes */
@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes scroll-reverse {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #F9FAFB 0%, white 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    color: var(--gray-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input {
    padding: 0.75rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.form-textarea {
    resize: none;
    font-family: inherit;
}

.form-submit {
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(26, 77, 109, 0.3);
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.info-label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.info-text {
    color: var(--gray-dark);
    line-height: 1.6;
}

.social-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-orange);
    transform: scale(1.1);
}

.map-accordion {
    margin-top: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 77, 109, 0.12), rgba(255, 107, 53, 0.12));
    transition: 0.4s ease;
}

/* Header */
.map-header {
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    text-align: center;
}

.map-title {
    font-weight: 500;
    color: var(--gray-dark);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.arrow {
    transition: transform 0.4s ease;
    font-size: 1.2rem;
}

/* Content */
.map-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

/* Map */
.map-content iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* Active state */
.map-accordion.active .map-content {
    max-height: 450px;
}

.map-accordion.active .arrow {
    transform: rotate(180deg);
}

.map-accordion.active .map-header {
    height: auto;
    padding: 1rem 0;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: white;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: auto;
    width: 150px;
    /* margin-bottom: 1.5rem; */
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--primary-orange);
    transform: scale(1.1);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links,
.footer-links-serv {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-links li {
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-links li:hover {
    color: var(--primary-orange);
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--primary-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: scale(1.1);
}

.hidden {
    display: none !important;
}

.p-by {
    color: var(--primary-orange);
    text-decoration: none;
}

.p-by:hover {
    color: var(--secondary-blue);
}

/* ===============================
   Global Icon System
================================ */

/* Base icon */
.icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    object-fit: contain;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Sizes */
.icon-xs {
    width: 16px;
    height: 16px;
}

.icon-sm {
    width: 20px;
    height: 20px;
}

.icon-md {
    width: 24px;
    height: 24px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

.icon-xl {
    width: 40px;
    height: 40px;
}

/* Color behavior */
.icon-white {
    filter: brightness(0) invert(1);
}

.icon-muted {
    opacity: 0.6;
}

.icon-gray {
    filter: grayscale(100%) opacity(0.6);
}

.icon-blue {
    filter: brightness(0) saturate(100%) invert(23%) sepia(67%) saturate(432%) hue-rotate(170deg) brightness(92%) contrast(90%);
}

/* Hover helpers */
.icon-hover-scale:hover .icon {
    transform: scale(1.15);
}

/* Success/Error Message Styles */
.form-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.form-message.error {
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.form-message.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-submit.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.form-submit.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Focus Indicators */
.nav-link:focus,
.nav-cta:focus,
.mobile-menu-link:focus,
.hero-cta:focus,
.filter-btn:focus,
.form-submit:focus,
.social-link:focus,
.footer-social-link:focus,
.back-to-top:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

.hero-nav:focus,
.hero-dot:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-blue);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

.email-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.email-link:hover {
    color: var(--primary-orange);
}

.footer-contact li a.email-link {
    display: flex;
    align-items: center;
    gap: 0.75rem; 
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-contact li a.email-link:hover {
    color: var(--primary-orange);
}
