/* Local Font Declarations */
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* CSS Custom Properties (Variables) */
:root {
    /* Typography */
    --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

    /* Colors */
    --color-orange-primary: #f39c12;
    --color-orange-hover: #e67e22;
    --color-dark-blue: #2c3e50;
    --color-text-primary: #333;
    --color-text-secondary: #555;
    --color-gray-light: #f8f9fa;
    --color-white: #ffffff;

    /* Layout */
    --container-max-width: 1200px;
    --border-radius: 10px;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-text-primary);
}

html {
    scroll-padding-top: 100px;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-logo-img {
    width: 75px;
    height: auto;
    opacity: 0.9;
}

.nav-logo h1,
.nav-logo h2 {
    font-weight: 300;
    font-size: 1.5rem;
    font-family: var(--font-primary);
    color: var(--color-dark-blue);
    margin: 0;
}

.nav-logo h1 a,
.nav-logo h2 a {
    color: var(--color-dark-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-title-full {
    display: none;
}

.nav-title-short {
    display: inline;
}

/* Desktop - show full title */
@media (min-width: 992px) {
    .nav-title-full {
        display: inline;
    }

    .nav-title-short {
        display: none;
    }
}

.footer-heading {
    font-weight: 500;
    margin-bottom: 1rem;
}

.nav-logo h1 a:hover,
.nav-logo h2 a:hover {
    color: var(--color-orange-primary);
}

.nav-logo .hidden-text {
    color: transparent;
    font-size: 0;
    opacity: 0;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 300;
    font-family: var(--font-primary);
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-orange-primary);
}

.nav-menu a.active {
    color: var(--color-orange-primary);
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-orange-primary);
    border-radius: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Simple Banner */
.hero {
    background: var(--color-dark-blue); /* Same as footer background */
    width: 100%;
    padding: 2rem 0 1.5rem 0; /* Even more reduced padding */
    margin-top: 80px; /* Account for fixed navbar height */
}

.hero .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
    position: relative;
}

.hero .hero-text {
    flex: 1;
    max-width: 500px;
}

.hero .hero-text h1,
.hero .hero-text h2 {
    font-size: 4rem;
    font-weight: 100;
    font-family: var(--font-primary);
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.1;
    margin: 0 0 1rem 0;
}

.hero .hero-text p {
    font-size: 1.3rem;
    font-weight: 300;
    font-family: var(--font-primary);
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.hero .hero-line {
    width: 300px;
    height: 3px;
    background: linear-gradient(to right, #27ae60 0%, #27ae60 25%, white 25%, white 100%);
    margin: 0;
}

.hero-images {
    flex: 1;
    height: 400px;
    background: var(--color-dark-blue);
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    overflow: visible;
}

.hero-images .paving-img {
    width: 450px !important;
    height: 600px !important;
    object-fit: cover;
    border-radius: var(--border-radius) 0 0 0;
    opacity: 0.95;
    filter: drop-shadow(0 8px 25px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
    position: absolute !important;
    right: -20px !important; /* Extend to edge */
    top: 0px !important; /* Align with top of blue section */
    z-index: 5 !important;
}

.hero-images .paving-img:hover {
    transform: scale(1.02);
    opacity: 1;
}

.hero-images .orange-accent {
    width: 300px;
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
    position: absolute;
    right: 50px; /* Positioned in blue section */
    top: 50%; /* Centered vertically */
    transform: translateY(-50%); /* Perfect vertical centering */
    z-index: 6;
    /* Removed animation */
}

.hero-images .orange-accent:hover {
    /* No hover animation */
}

@keyframes float-accent {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}


/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-header.center {
    justify-content: center;
    text-align: center;
}

.orange-square {
    width: 30px;
    height: 30px;
    background: var(--color-orange-primary);
    flex-shrink: 0;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 100;
    font-family: var(--font-primary);
    color: var(--color-dark-blue);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #fff;
}

.about-logo {
    text-align: left;
    margin-bottom: 3rem;
}

.about-logo .intro-logo {
    width: 200px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.about-logo .intro-logo:hover {
    opacity: 1;
}

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

.about-text p {
    font-size: 1.1rem;
    font-weight: 300;
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 300;
    font-family: var(--font-primary);
    color: var(--color-dark-blue);
    margin: 2.5rem 0 1.5rem 0;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    display: block;
    vertical-align: top;
}

/* Details/Summary styling for About section */
.about-text details {
    margin: 1.5rem 0;
}

.about-text details summary {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-orange-primary);
    cursor: pointer;
    margin-bottom: 1rem;
    outline: none;
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
    transition: color 0.3s ease;
}

.about-text details summary:hover {
    color: var(--color-orange-hover);
}

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

.about-text details summary::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid var(--color-orange-primary);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    transition: transform 0.3s ease, border-left-color 0.3s ease;
}

.about-text details[open] summary::before {
    transform: translateY(-50%) rotate(90deg);
    border-left-color: var(--color-orange-hover);
}

.about-text details[open] summary {
    margin-bottom: 1.5rem;
}

.about-text details p {
    margin-left: 0;
    margin-top: 0.5rem;
}

/* Introduction Section */
.introduction {
    padding: 5rem 0;
    background: var(--color-gray-light);
}

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

.intro-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.intro-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    display: block;
    vertical-align: top;
}

.intro-text p {
    font-size: 1.1rem;
    font-weight: 300;
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

.intro-text h3 {
    font-size: 1.8rem;
    font-weight: 300;
    font-family: var(--font-primary);
    color: var(--color-dark-blue);
    margin: 2.5rem 0 1.5rem 0;
}

.intro-text h3:first-child {
    margin-top: 0;
}

.intro-text ul {
    font-size: 1.1rem;
    font-weight: 300;
    font-family: var(--font-primary);
    color: var(--color-text-secondary);
    line-height: 1.6;
    padding-left: 1.5rem;
}

.intro-text li {
    margin-bottom: 0.5rem;
}

.intro-text ul a {
    color: var(--color-orange-primary);
    text-decoration: none;
    font-weight: 300;
}

.intro-text ul a:hover {
    color: var(--color-orange-hover);
    text-decoration: underline;
}

/* Mission Section */
.mission {
    padding: 5rem 0;
    background: #fff;
}

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

.mission-text p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

.mission-image {
    height: 300px;
    position: relative;
    background: url('../images/drywalling_01.jpg') center/cover;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.mission-diagonal-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--color-orange-primary);
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 0 100%);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--color-gray-light);
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-orange-primary);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark-blue);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #fff;
}

.contact-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.contact-details p {
    font-size: 1.1rem;
    font-weight: 300;
    font-family: var(--font-primary);
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.contact-details h3 {
    font-size: 1.8rem;
    font-weight: 300;
    font-family: var(--font-primary);
    color: var(--color-dark-blue);
    margin: 2rem 0 1rem 0;
}

.contact-details h3:first-child {
    margin-top: 0;
}

.contact-image {
    height: 300px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300" fill="%23ecf0f1"><rect width="400" height="300"/><circle cx="200" cy="150" r="60" fill="%23bdc3c7"/><text x="200" y="160" text-anchor="middle" font-size="16" fill="%23555">Worker</text></svg>') center/cover;
    border-radius: var(--border-radius);
}

/* Thank You Section */
.thank-you {
    padding: 5rem 0;
    background: var(--color-dark-blue);
    color: white;
    position: relative;
    overflow: hidden;
}

.thank-you-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.thank-you-text h2 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.thank-you-text p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.thank-you-image {
    height: 300px;
    position: relative;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300" fill="%23ecf0f1"><rect width="400" height="300"/><circle cx="200" cy="150" r="60" fill="%23bdc3c7"/><text x="200" y="160" text-anchor="middle" font-size="16" fill="%23555">Curved Paving</text></svg>') center/cover;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.thank-you-diagonal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.thank-you-orange-accent {
    position: absolute;
    bottom: 20%;
    left: 20%;
    width: 100px;
    height: 120px;
    background: var(--color-orange-primary);
    clip-path: polygon(0 0, 70% 0, 100% 100%, 30% 100%);
    z-index: 5;
}

/* Desktop positioning for hero text */
@media (min-width: 1200px) {
    .hero-text {
        left: calc(50vw - 600px + 80px);
        width: 500px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }

    .hero-content {
        justify-content: center;
        text-align: center;
    }

    .hero-text {
        max-width: 90%;
        text-align: center;
        padding: 1.5rem;
    }

    .hero-text h1,
    .hero-text h2 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

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

    .hero-content {
        clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    }

    .hero {
        min-height: auto;
        height: auto;
    }

    .hero .nav-container {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .hero-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

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

    .hero-text h1,
    .hero-text h2 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

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

    .about-content,
    .intro-content,
    .mission-content,
    .contact-content,
    .thank-you-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2.8rem;
    }

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

    .thank-you-text h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1,
    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .thank-you-text h2 {
        font-size: 2rem;
    }
}

/* Contact Form Styles */
.contact-form {
    background: var(--color-gray-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form h3 {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark-blue);
}

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

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

.form-group label {
    font-family: var(--font-primary);
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: var(--color-dark-blue);
    font-size: 0.9rem;
}

.form-instruction {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 0.8rem;
    color: #666;
    margin: 0 0 0.5rem 0;
    font-style: italic;
}

.form-group input,
.form-group textarea,
.form-group select {
    font-family: var(--font-primary);
    font-weight: 300;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: white;
}

.form-group select {
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

/* Specific styling for multi-select dropdown */
.form-group select[multiple] {
    height: auto;
    min-height: 100px;
    padding: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    overflow-y: auto;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-orange-primary);
    box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.1);
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-start;
}

.submit-btn,
.clear-btn {
    font-family: var(--font-primary);
    font-weight: 300;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn {
    background: var(--color-orange-primary);
    color: white;
}

.submit-btn:hover {
    background: #e67e22;
}

.clear-btn {
    background: #95a5a6;
    color: white;
}

.clear-btn:hover {
    background: #7f8c8d;
}

/* Thank You Page Styles */
.thankyou {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
}

.thankyou-content {
    text-align: center;
    max-width: 600px;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
}

.thankyou-content .orange-square {
    margin: 0 auto 2rem auto;
}

.thankyou-content h1 {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 3rem;
    color: var(--color-dark-blue);
    margin-bottom: 1.5rem;
}

.thankyou-content p {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 1rem;
}

.thankyou-content p b {
    font-weight: 300;
}

.back-btn {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 300;
    background: var(--color-orange-primary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin-top: 2rem;
}

.back-btn:hover {
    background: #e67e22;
}

/* 404 Page Not Found Styles */
.pagenotfound {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
}

.pagenotfound-content {
    text-align: center;
    max-width: 600px;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
}

.pagenotfound-content .orange-square {
    margin: 0 auto 2rem auto;
}

.pagenotfound-content h1 {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 3rem;
    color: var(--color-dark-blue);
    margin-bottom: 1.5rem;
}

.pagenotfound-content p {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 1rem;
}

.pagenotfound-content p b {
    font-weight: 300;
}

/* Footer Styles */
.footer {
    background: var(--color-dark-blue);
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

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

.footer-section h3 {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 1.3rem;
    color: var(--color-orange-primary);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    font-family: var(--font-primary);
    font-weight: 300;
    line-height: 1.6;
    color: #ecf0f1;
    margin-bottom: 0.5rem;
}

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

.footer-services li {
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-services li:last-child {
    border-bottom: none;
}

.footer-services a {
    color: var(--color-orange-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-services a:hover {
    color: var(--color-orange-hover);
}

.footer-contact p,
.footer-info p {
    margin-bottom: 0.8rem;
}

.footer-contact a {
    color: var(--color-orange-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--color-orange-hover);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: var(--color-orange-primary);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.credits {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-top: 1rem;
    text-align: center;
}

.credits a {
    color: var(--color-orange-primary);
    text-decoration: none;
}

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

/* Andries Oberholzer Consulting */
.ao {
    color: white;
    font-weight: 400;
    font-family: Arial;
    text-decoration: none;
}

.aowhite {
    color: #000000;
    font-weight: 600;
    font-family: Arial;
    text-decoration: none;
}

.consulting {
    color: red;
    font-weight: 400;
    font-family: Arial;
    text-decoration: none;
}

.credits img {
    margin-top: 0.5rem;
    transition: opacity 0.3s ease;
}

.credits img:hover {
    opacity: 0.8;
}

.footer-logo {
    text-align: center;
    margin: 1rem 0;
}

.footer-logo img {
    max-width: 100px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo img:hover {
    opacity: 1;
}

.footer-company-logo {
    margin: 1rem 0;
}

.footer-company-logo img {
    max-width: 100px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-company-logo img:hover {
    opacity: 1;
}

/* Footer responsive design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer {
        padding: 2rem 0 1rem 0;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-orange-primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

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

.back-to-top:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.back-to-top span {
    font-family: Arial, sans-serif;
    line-height: 1;
}

/* Social Media Icons */
.social-media {
    margin-top: 1.5rem;
}

.social-media h4 {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--color-orange-primary);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

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

.social-icon.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

.social-icon.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

/* Footer Links */
.footer-links {
    margin: 1rem 0;
    text-align: center;
}

.footer-links a {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 0.9rem;
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-orange-primary);
    text-decoration: underline;
}

.footer-links .separator {
    color: #7f8c8d;
    margin: 0 0.8rem;
    font-weight: 300;
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: var(--color-gray-light);
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
    margin-top: 80px; /* Account for fixed navbar */
}

.breadcrumb-nav {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--color-orange-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--color-orange-hover);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #6c757d;
    margin: 0 0.5rem;
}

.breadcrumb-current {
    color: #495057;
    font-weight: 400;
}

/* Content Page Styles */
.content-page {
    min-height: 60vh;
    padding: 3rem 0;
    background: #fff;
}

.page-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 3.5rem;
    color: var(--color-dark-blue);
    margin: 0;
}

.page-content {
    width: 100%;
    line-height: 1.8;
}

.page-content h2 {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 2.2rem;
    color: var(--color-dark-blue);
    margin: 2.5rem 0 1.5rem 0;
}

.page-content h3 {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 1.6rem;
    color: #34495e;
    margin: 2rem 0 1rem 0;
}

.page-content p {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.page-content ul, .page-content ol {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

/* Sitemap Specific Styles */
.sitemap-list {
    margin: 1.5rem 0;
}

.sitemap-list li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.sitemap-list ul {
    margin-top: 0.5rem;
    margin-left: 1.5rem;
}

.sitemap-list ul li {
    margin-bottom: 0.4rem;
    font-size: 0.95em;
    color: #666;
}

.sitemap-list a {
    color: var(--color-orange-primary);
    text-decoration: none;
    font-weight: 300;
}

.sitemap-list a:hover {
    color: var(--color-orange-hover);
    text-decoration: underline;
}

.orange-link {
    color: var(--color-orange-primary);
    text-decoration: none;
}

.orange-link:hover {
    color: var(--color-orange-hover);
    text-decoration: underline;
}

.website-info {
    background: var(--color-gray-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
    margin: 2rem 0;
}

.website-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.website-info p:last-child {
    margin-bottom: 0;
}

/* Content Page Email Links */
.page-content a[href^="mailto:"] {
    color: var(--color-orange-primary);
    text-decoration: none;
}

.page-content a[href^="mailto:"]:hover {
    color: var(--color-orange-hover);
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background: var(--color-gray-light);
}

.portfolio-content {
    text-align: left;
}

.portfolio-content p {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    width: 100%;
    max-width: none;
}

.portfolio-section {
    margin-bottom: 4rem;
}

.portfolio-section:last-child {
    margin-bottom: 0;
}

.portfolio-section-title {
    font-family: var(--font-primary);
    font-weight: 200;
    font-size: 2rem;
    color: var(--color-dark-blue);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.portfolio-section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-orange-primary);
    margin: 1rem auto 0;
}

.portfolio-gallery {
    max-width: 800px;
    margin: 0 auto;
}

.gallery-container {
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.gallery-slides {
    position: relative;
    height: 400px;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-slide.placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    flex-direction: column;
}

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

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    text-align: left;
}

.slide-caption h3 {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.slide-caption p {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    color: white;
}

.slide-caption p b {
    color: white;
    font-weight: 400;
}

.placeholder-content {
    text-align: center;
    color: white;
}

.placeholder-content h3 {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.placeholder-content p {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 1.1rem;
    color: white;
    margin: 0;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(243, 156, 18, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn:hover {
    background: rgba(243, 156, 18, 1);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    padding: 20px;
    gap: 10px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gallery-dot.active {
    background: var(--color-orange-primary);
}

.gallery-dot:hover {
    background: #e67e22;
}

/* Phone link styling for all screen sizes */
.contact-details a[href^="tel:"] {
    color: var(--color-orange-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a[href^="tel:"]:hover {
    color: var(--color-orange-hover);
    text-decoration: underline;
}

/* Footer phone styling removed since they're no longer links */

/* Mobile-specific link color adjustments */
@media (max-width: 768px) {
    .intro-text ul a,
    .footer-services a,
    .breadcrumb-nav a,
    .sitemap-list a,
    .page-content a[href^="mailto:"],
    .footer-bottom a,
    .credits a {
        color: #d68910 !important; /* Darker orange for mobile */
    }

    .intro-text ul a:hover,
    .footer-services a:hover,
    .breadcrumb-nav a:hover,
    .sitemap-list a:hover,
    .page-content a[href^="mailto:"]:hover,
    .footer-bottom a:hover,
    .credits a:hover {
        color: #b7750f !important; /* Even darker on hover */
    }

    /* Mobile phone links in contact section - darker orange */
    .contact-details a[href^="tel:"] {
        color: #d68910 !important;
    }

    .contact-details a[href^="tel:"]:hover {
        color: #b7750f !important;
    }

    /* Footer phone numbers are no longer links - styling removed */

    /* Fix footer text color and prevent any automatic phone number styling */
    .footer-contact p,
    .footer-info p,
    .footer-contact,
    .footer-info {
        color: #ecf0f1 !important;
    }

    /* Override any mobile browser auto-detection of phone numbers in footer */
    .footer-contact *,
    .footer-info * {
        color: #ecf0f1 !important;
        text-decoration: none !important;
        border: none !important;
        background: none !important;
    }

    /* Keep contact form link orange on mobile */
    .footer-contact a[href*="contact-form"] {
        color: #d68910 !important;
        text-decoration: none !important;
    }

    .footer-contact a[href*="contact-form"]:hover {
        color: #b7750f !important;
    }
}

/* Registration number styling for all screen sizes */
.registration-number {
    color: #ecf0f1 !important;
    text-decoration: none !important;
    border: none !important;
    background: none !important;
    pointer-events: none;
    user-select: text;
}

/* Override any automatic link detection for registration number */
.footer-info a[href*="2003/227428/23"],
.footer-info a[href*="2003227428"],
a[href*="2003/227428/23"],
a[href*="2003227428"] {
    color: #ecf0f1 !important;
    text-decoration: none !important;
    pointer-events: none !important;
    cursor: text !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Simple mobile hero adjustments */
    .hero {
        padding: 3rem 0 2rem 0; /* Adjust mobile padding */
        margin-top: 60px; /* Smaller navbar on mobile */
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero .hero-text h1,
    .hero .hero-text h2 {
        font-size: 2.5rem;
    }

    .hero .hero-text p {
        font-size: 1.1rem;
    }

    .hero-images {
        display: none; /* Hide completely on mobile */
    }

    .hero-images .orange-accent {
        display: none; /* Also hide orange accent on mobile */
    }

    /* Ensure all containers span full width on mobile */
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .contact-content,
    .contact-form,
    .contact-details {
        width: 100%;
        max-width: 100%;
    }

    /* Multi-select dropdown mobile adjustments */
    .form-group select[multiple] {
        min-height: 80px;
        font-size: 0.9rem;
    }

    /* Hide form instruction on mobile */
    .form-instruction {
        display: none;
    }

    .gallery-slides {
        height: 300px;
    }

    .gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    .slide-caption {
        padding: 1rem;
    }

    .slide-caption h3 {
        font-size: 1.2rem;
    }

    .slide-caption p {
        font-size: 0.9rem;
    }
}

/* Content Page Bold Tags */
.page-content b {
    font-weight: 400;
}

.label {
    font-weight: 400;
}

/* Responsive images */
.img-fluid {
    width: 100%;
    height: auto;
}

/* Rounded corner images */
.img-rounded {
    border-radius: 8px;
    margin-top: 1rem;
}

.extremetracking {
    display: none !important;
}

/* Social Sharing Section */
.social-sharing {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 0;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.share-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.share-text {
    font-weight: 500;
    color: #2c3e50;
    font-size: 1rem;
    margin-right: 10px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
    color: white;
}

.share-btn.facebook {
    background: linear-gradient(45deg, #1877f2, #42a5f5);
    border-color: #1877f2;
}

.share-btn.facebook:hover {
    background: linear-gradient(45deg, #166fe5, #1976d2);
    color: white;
}

.share-btn.twitter {
    background: linear-gradient(45deg, #1da1f2, #42a5f5);
    border-color: #1da1f2;
}

.share-btn.twitter:hover {
    background: linear-gradient(45deg, #0d8bd9, #1976d2);
    color: white;
}

.share-btn.linkedin {
    background: linear-gradient(45deg, #0077b5, #42a5f5);
    border-color: #0077b5;
}

.share-btn.linkedin:hover {
    background: linear-gradient(45deg, #005885, #1976d2);
    color: white;
}

.share-btn.whatsapp {
    background: linear-gradient(45deg, #25d366, #4caf50);
    border-color: #25d366;
}

.share-btn.whatsapp:hover {
    background: linear-gradient(45deg, #1aaa4a, #2e7d32);
    color: white;
}

.share-btn svg {
    flex-shrink: 0;
}

/* Mobile responsiveness for social sharing */
@media (max-width: 768px) {
    .share-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .share-text {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .share-buttons {
        justify-content: center;
        gap: 8px;
    }

    .share-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}