/* Reset and General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, sans-serif;
}

body {
    background: #FFFFFF;
    color: #333333;
    line-height: 1.6;
}

body.dark-mode {
    background: #0a283c;
    color: #D9D9D9;
}

.lang-display {
    white-space: pre-line;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: left;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
    background: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
body.dark-mode header {
    background: #0a283c;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo-container {
    display: flex;
}
.logo {
    height: 60px;
}
.light-logo { display: block; }
.dark-logo { display: none; }

nav {
    display: flex;
    align-items: center;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: #333333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
}
body.dark-mode nav a {
    color: #e19632;
}
nav a:hover {
    color: #e19632;
}
body.dark-mode nav a:hover {
    color: #D9D9D9;
}

/* Language & Theme Toggles */
.toggles {
    display: flex;
    gap: 10px;
    align-items: center;
}
.toggles select, .toggles button {
    background: none;
    font-size: 1rem;
    cursor: pointer;
    color: #333333;
    padding: 5px 10px;
    border: 1px solid #e19632;
    border-radius: 5px;
    transition: color 0.3s, border-color 0.3s;
}
body.dark-mode .toggles select, body.dark-mode .toggles button {
    color: #e19632;
    border-color: #e19632;
}
.toggles select:hover, .toggles button:hover {
    color: #e19632;
    border-color: #e19632;
}
body.dark-mode .toggles select:hover, body.dark-mode .toggles button:hover {
    color: #D9D9D9;
    border-color: #D9D9D9;
}
.hamburger, .close-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #e19632;
    cursor: pointer;
    position: relative;
    z-index: 1100;
}
.mobile-nav {
    display: none;
}
/* =========================
   HERO SECTION
   ========================= */
.hero-section {
    width: 100vw;
    min-height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)), url('/img/HintergrundBilder/weiß.png') center/cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0.5) 0%,
        rgba(255,255,255,0.0) 20%,
        rgba(255,255,255,0.0) 80%,
        rgba(255,255,255,0.5) 100%
    );
    z-index: 1;
}
body.dark-mode .hero-section::before {
    background: linear-gradient(
        to right,
        rgba(20,20,20,0.98) 0%,
        rgba(20,20,20,0.0) 20%,
        rgba(20,20,20,0.0) 80%,
        rgba(20,20,20,0.98) 100%
    ), url('/img/HintergrundBilder/blau.png') center/cover no-repeat;
}
.hero-section::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 180px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,1) 100%
    );
    z-index: 2;
}
body.dark-mode .hero-section::after {
    background: linear-gradient(
        to bottom,
        rgba(20,20,20,0) 0%,
        rgba(10,40,60,1) 100%
    );
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
hero h1 {
    font-size: 2.0rem;
    font-weight: 700;
    margin-bottom: 20px;
}
hero p {
    font-size: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

/* =========================
   MAIN CONTENT CONTAINER
   ========================= */
.main-content {
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 -8px 32px -8px rgba(0,0,0,0.25), 0 0px 0px 0px transparent;
    margin-top: -150px;
    padding: 40px 0;
    position: relative;
    z-index: 2;
}
body.dark-mode .main-content {
    background: #143c5a;
    box-shadow: 0 -8px 32px -8px rgba(0,0,0,0.5), 0 0px 0px 0px transparent;
}

/* Section spacing */
.main-content section {
    border-bottom: none;
}
.main-content section:first-child {
    border-top: none;
}

/* =========================
   SECTIONS (About, Services, etc.)
   ========================= */
section {
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    padding-left: 20px;
    padding-right: 20px;
}
section h2 {
    text-align: left;
    font-size: 2rem;
    padding-left: 100px;
}
section.visible {
    opacity: 1;
    transform: translateY(0);
}
section p {
    text-align: justify;
    font-size: 1.2rem;
    max-width: 1100px;
    margin: 0 auto 20px;
}

/* About Section */
#about p {
    padding-left: 0px;
    font-size: 1rem;
}

/* =========================
   SERVICES SECTION
   ========================= */
#services {
    background: #e19632; /* gold background */
    color: #fff;         /* white text */
    padding: 25px 0;
}
#services h2 {
    color: #fff;
    font-size: 2rem;
    text-align: left;
    margin-bottom: 20px;
    padding-left: 120px;
    letter-spacing: 1px;
}

/* Services Section Header Boxes */
.services-header-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background: transparent;
    padding: 32px 40px 0 40px;
    border-radius: 8px 8px 0 0;
}

.services-header-box {
    flex: 1 1 0;
    background: #e19632;   /* gold background */
    color: #fff;           /* white text */
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    border: 3px solid #fff; /* white border */
    padding: 24px 10px 18px 10px;
    margin-bottom: -2px;
    letter-spacing: 1px;
    line-height: 1.2;
    min-height: 90px;
    box-sizing: border-box;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Services Columns */
.services-columns {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    background: #e19632; /* gold background */
    border-radius: 0 0 8px 8px;
    padding: 32px 40px;
    box-sizing: border-box;
    color: #fff;         /* white text */
}

.services-col {
    flex: 1 1 0;
    min-width: 280px;
    max-width: 33%;
}
.services-col ul {
    padding: 0;
    margin: 0 auto;
    max-width: 95%;
    box-sizing: border-box;
}

.services-col li {
    font-size: 1rem;
    margin-bottom: 15px;
    word-break: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.services-col li strong {
    font-size: 1rem;
    font-weight: 600;
    display: inline;
    vertical-align: middle;
    margin-right: 8px;
}

/* DARK MODE */
body.dark-mode #services,
body.dark-mode .services-header-box,
body.dark-mode .services-columns {
    background: #e19632 !important;
    color: #0a283c !important;
    border-color: #0a283c !important;
}
body.dark-mode .services-header-box {
    border: 3px solid #0a283c !important;
}
body.dark-mode .services-col h3,
body.dark-mode .services-col li,
body.dark-mode .services-col li strong {
    color: #0a283c !important;
}

/* =========================
   CONTACT SECTION
   ========================= */
#contact {
    border-top: 4px solid #e19632;
    padding-top: 40px;
}
#contact h2 {
    color: #e19632;
    font-size: 2rem;
    text-align: left;
    margin-bottom: 20px;
    padding-left: 100px;
    letter-spacing: 1px;
}
/* Center the contact form and info smoothly within the section */
.contact-form {
    display: flex;
    gap: 100px; /* increased from 40px for more space between form and text */
    align-items: flex-start;
    max-width: 900px;
    margin: 40px auto 0 auto; /* center horizontally */
    padding-left: 0;          /* remove left padding */
    padding-right: 0;         /* remove right padding */
    justify-content: center;  /* center children */
}
.contact-form form,
.contact-info {
    width: 100%;
    max-width: 400px;
}
.contact-info {
    flex: 1 1 300px;
    font-size: 1.1rem;
    color: inherit; /* inherit from section */
    background: none;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
    max-width: 800px;
    align-self: flex-start; /* ensures top alignment */
}
.contact-info p {
    margin: 0;
    text-align: justify;
    font-size: 1.1rem;
    color: inherit;
    max-width: 100%;
}
.contact-form .form-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}
.contact-form label {
    min-width: 120px;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    margin-bottom: 0;
}
.contact-form input,
.contact-form textarea {
    flex: 1;
    padding: 12px;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    font-size: 1rem;
    background: #FFFFFF;
}
contact-form button[type="submit"] {
    width: auto;
    min-width: 120px;
    align-self: flex-end;
    margin-top: 10px;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 600;
    background: #e19632;
    color: #fff;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    display: block;
}
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
label {
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
}
input, textarea {
    padding: 12px;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    font-size: 1rem;
    background: #FFFFFF;
}
body.dark-mode input, body.dark-mode textarea {
    background: #ffffff;
    color: #0a283c;
    border-color: #555555;
}
button[type="submit"] {
    background: #e19632;
    color: #FFFFFF;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    transition: background 0.3s;
}
body.dark-mode button[type="submit"] {
    background: #e19632;
}
button[type="submit"]:hover {
    background: #8e560e;
}
body.dark-mode button[type="submit"]:hover {
    background: #ff9b19;
}

/* =========================
   PORTFOLIO SECTION
   ========================= */
#portfolio {
    background: #fff;
    padding: 60px 0;
}
body.dark-mode #portfolio {
    background: #143c5a;
}
#portfolio h2 {
    color: #e19632;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: left;
    padding-left: 120px;
}
.portfolio-grid {
    column-count: 3;
    column-gap: 30px;
    padding-left: 50px;
    padding-right: 50px;
}
.portfolio-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s;
    cursor: pointer;
}
.portfolio-item:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(225, 150, 50, 0.18);
    z-index: 2;
}
.portfolio-item img {
    width: 100%;
    display: block;
    border-radius: 8px 8px 0 0;
    object-fit: cover;
    height: auto;
}
.portfolio-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 10px 0 0 0;
    color: #2d3748;
    padding-left: 10px;
}
.portfolio-type {
    font-size: 1rem;
    color: #444;
    padding-left: 10px;
}
.portfolio-address {
    font-size: 1rem;
    color: #2d3748;
    margin-bottom: 10px;
    padding-left: 10px;
}

/* Portfolio Modal */
.portfolio-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 40, 60, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s;
}
.portfolio-modal .modal-content {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 32px 32px 24px 32px;
    max-width: 900px;
    width: 95vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    animation: fadeIn 0.3s;
    display: flex;
    align-items: flex-start;
    gap: 32px;
    flex-direction: row;
}
.portfolio-modal .modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #e19632;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s;
    z-index: 2;
}
.portfolio-modal .modal-close:hover {
    color: #b97a13;
}
#modal-side-img {
    max-width: 320px;
    max-height: 340px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    background: #f7f7f7;
    object-fit: cover;
    padding: 30px 0;
}
#modal-text {
    margin-top: 0;
    font-size: 1rem;
    color: #23313b;
    text-align: justify;
    max-width: 500px;
    padding: 30px 0;
}
.modal-images {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.modal-images img {
    max-width: 320px;
    max-height: 340px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    background: #f7f7f7;
    object-fit: cover;
}
.modal-text {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #23313b;
    text-align: left;
    width: 100%;
    max-width: 700px;
}

/* =========================
   FOOTER
   ========================= */
footer {
    background: #ffffff;
    color: #0a283c;
    padding: 40px 0;
    border-top: 4px solid #e19632;
}
footer h2 {
    color: #e19632;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: left;
    padding-left: 10px; 
}
.footer-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
    text-align: center;
}
.footer-icon {
    width: 25px;
    height: 25px;
    margin-bottom: 10px;
}
.footer-label {
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 10px;
}
.footer-info {
    font-size: 0.8rem;
    color: #0a283c;
}
.footer-info a {
    color: #0a283c;
    text-decoration: none;
    word-break: break-all;
}
body.dark-mode footer {
    background: #0a283c;
    color: #e19632;
    border-top: 4px solid #e19632;
}
body.dark-mode .footer-info,
body.dark-mode .footer-info a {
    color: #e19632;
}
.light-hide { display: block; }
.dark-hide { display: none; }
body.dark-mode .light-hide { display: none; }
body.dark-mode .dark-hide { display: block; }

/* =========================
   GENERAL ELEMENTS
   ========================= */
h2 {
    font-size: 2.8rem;
    font-weight: 600;
    color: #e19632;
    margin-bottom: 30px;
}
body.dark-mode h2 {
    color: #e19632;
}
ul {
    list-style: none;
    max-width: 900px;
    margin: 20px auto;
}
ul li {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 768px) {
    #contact h2 {
        padding-left: 20px;
        font-size: 1.5rem;
        text-align: center;
    }
    .contact-form {
        flex-direction: column;
        gap: 24px;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        align-items: stretch;
    }
    .contact-form form,
    .contact-info {
        max-width: 100%;
        width: 100%;
    }
    .contact-form .form-row {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .contact-form label {
        min-width: 0;
        font-size: 1rem;
    }
    .contact-info {
        font-size: 1rem;
        margin-top: 0;
        padding: 0;
        text-align: left;
    }
}
@media (max-width: 768px) {
    .hamburger { display: block; }
    nav ul, .toggles { display: none; }
    .mobile-nav.active ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .mobile-nav.active .toggles {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    .mobile-nav.active {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        display: flex !important;
        flex-direction: column;
        z-index: 1200;
    }
    body.dark-mode .mobile-nav.active {
        background: #0a283c;
    }
    .mobile-nav.active ~ .close-btn { display: block; }
    .mobile-nav.active ~ .hamburger { display: none; }
    .mobile-nav.active ul, .mobile-nav.active .toggles {
        animation: fadeIn 0.3s ease;
    }
    .hero { padding: 120px 0 80px; }
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.2rem; }
    h2 { font-size: 2.2rem; }
    .portfolio-grid { column-count: 1; }
}

@media (max-width: 768px) {
    .mobile-nav.active .close-btn {
        display: block !important;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2rem;
        background: none;
        border: none;
        color: #e19632;
        z-index: 1200;
    }
    .mobile-nav.active .hamburger {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .toggles {
        display: flex !important;
        position: absolute;
        right: 15px;
        top: 15px;
        flex-direction: row;
        gap: 10px;
        z-index: 1201;
        background: none;
    }
}
@media (max-width: 768px) {
    header .container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        position: relative;
        padding: 10px 0;
    }
    .main-nav {
        display: none !important;
    }
    .hamburger {
        display: block !important;
        position: static;
        margin-right: 10px;
        order: 1;
    }
    .logo-container {
        flex: 1;
        display: flex;
        justify-content: center;
        order: 2;
    }
    .toggles {
        display: flex !important;
        position: static;
        margin-left: 10px;
        order: 3;
        gap: 10px;
    }
}
/* =========================
   TEAM SECTION
   ========================= */
#team {
    background: #f7f7f7;
    padding: 60px 0;
}
body.dark-mode #team {
    background: #1c2a3f;
}
.team-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 220px;
    max-width: 300px;
    min-width: 200px;
    text-align: center;
}
.team-photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.team-info {
    font-size: 1rem;
    color: #23313b;
}
body.dark-mode .team-info {
    color: #e19632;
}

/* Diagonal team layout for about section */
.about-team-diagonal {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 50px;
    margin-bottom: 60px;
    /* Reduce side padding for wider appearance */
    padding-left: 5vw;
    padding-right: 5vw;
    align-items: center;
}

.about-team-row {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: center;
    width: 100%;
    /* Increase max-width for more photo width */
    max-width: 800px;
}

.about-team-row.reverse {
    flex-direction: row-reverse;
    align-items: center; /* changed from flex-start to center */
}

.about-team-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

.about-team-info {
    font-size: 1rem;
    color: #23313b;
    text-align: left;
    padding: 0 40px;
    max-width: 1000px;
    flex: 1 1 150px;
    overflow-wrap: anywhere;
    min-width: 320px;
    white-space: normal;
}
.about-team-info-2{
    font-size: 1rem;
    color: #23313b;
    text-align: right;
    padding: 0 40px;
    max-width: 1000px;
    flex: 1 1 150px;
    overflow-wrap: anywhere;
    min-width: 320px;
    white-space: normal;
}

.about-team-info a ,
.about-team-info-2 a {
    color: #e19632;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    word-break: normal;      /* prevent breaking in the middle of the email */
    overflow-wrap: normal;   /* prevent breaking in the middle of the email */
    white-space: nowrap;     /* keep email on one line */
    display: inline-block;   /* allow nowrap to work */
    max-width: 100%;
}
.about-team-info a:hover,
.about-team-info a:focus,
.about-team-info-2 a:hover,
.about-team-info-2 a:focus {
    color: #23313b; /* blue on hover */
    text-decoration: underline;
}
body.dark-mode .about-team-info a,
body.dark-mode .about-team-info-2 a {
    color: #e19632; /* blue in dark mode */
}
body.dark-mode .about-team-info a:hover,
body.dark-mode .about-team-info a:focus,
body.dark-mode .about-team-info-2 a:hover,
body.dark-mode .about-team-info-2 a:focus {
    color: #FFFFFF; /* gold on hover in dark mode */
}

body.dark-mode .about-team-info,
body.dark-mode .about-team-info-2 {
    color: #e19632;
}
/* =========================
   FOOTER RESPONSIVE DESIGN
   ========================= */
   @media (max-width: 768px) {
    h2 {
        margin: 0 auto !important;
    }
    .about-team-diagonal {
        gap: 0px;
        padding-left: 0;
        padding-right: 0;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .about-team-row,
    .about-team-row.reverse {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        max-width: 100vw !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    .about-team-photo {
        width: 120px !important;
        height: 120px !important;
        margin-bottom: 8px !important;
    }
    .about-team-info,
    .about-team-info-2 {
        text-align: center !important;
        padding: 0 10px !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        font-size: 1rem !important;
        word-break: break-word !important;
    }
}
@media (max-width: 900px) {
    footer,
    .footer-row,
    .footer-col,
    .footer-label,
    .footer-info {
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;

    }
    footer h2 {
        text-align: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        font-size: 1.5rem !important;
    }
    .footer-col {
        width: 100% !important;
        padding: 10px 0 !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .footer-row {
        flex-direction: column !important;
        gap: 24px !important;
    }
}
@media (max-width: 768px) {
    .services-header-row {
        display: none !important;
    }
    .services-columns {
        flex-direction: column !important;
        gap: 5px !important;
        padding: 16px 8px !important;
        max-width: 100vw !important;
    }
    .services-col {
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto 24px auto !important;
        background: #e19632 !important;
        border-radius: 8px !important;
        padding: 0 0 24px 0 !important;
        box-sizing: border-box !important;
    }
    .services-header-box {
        display: block !important;
        width: 100% !important;
        margin-bottom: 0 !important;
        font-size: 1.1rem !important;
        padding: 18px 10px 12px 10px !important;
        text-align: center !important;
        border-bottom: 2px solid #fff !important;
        background: #e19632 !important;
        color: #fff !important;
        box-sizing: border-box !important;
    }
    .services-col ul {
        padding: 10px 16px !important;
    }
}
.services-col .services-header-box {
    display: none;
}

/* Hide mobile-nav on desktop, show main-nav */
.main-nav {
    display: flex;
    align-items: center;
}
.mobile-nav {
    display: none;
}
@media (max-width: 768px) {
    .mobile-nav {
        display: none;
    }
    .mobile-nav.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        background: #fff;
        z-index: 1200;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        padding: 20px 0;
    }
}
