* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 200;
    color: #fff;
    background: #00424c;
    line-height: 20px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
    color: #fff;
}

h1 {
    font-size: 80px;
    line-height: 100px;
    letter-spacing: 6px;
    text-transform: uppercase;
}

h2 {
    font-size: 25px;
    letter-spacing: 1px;
}

h3 {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 1px;
    text-transform: none;
}

h4 {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 1px;
}

h5 {
    font-size: 11px;
    line-height: 14px;
    letter-spacing: 1px;
}

h6 {
    font-size: 9px;
    letter-spacing: 1px;
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 200;
}

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: background 0.3s ease, padding 0.3s ease;
    background: rgba(0, 66, 76, 0.25);
}

.site-header.scrolled {
    background: rgba(0, 66, 76, 0.95);
    padding: 8px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 160px;
}

.main-nav a {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
    text-decoration: none;
    margin-left: 30px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #dd9933;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn i {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
}

/* ---------- Sections ---------- */

.section {
    padding: 60px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-teal {
    background-color: #00424c;
}

.section-white {
    background-color: #ffffff;
}

.section-padded {
    padding: 8% 0;
}

.section-nopad {
    padding: 0;
}

.section-pad-sm {
    padding: 160px 0;
}

.section-left {
    text-align: left;
}

.section-photo {
    position: relative;
}

/* dark overlay for photo backgrounds to keep white text readable */
.section-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.section-photo.section-no-overlay::before {
    background: rgba(0, 0, 0, 0);
}

.section-photo.section-no-overlay {
    background-color: #292e37;
}

.section-photo .container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    padding: 0;
}

/* ---------- Hero ---------- */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0;
}

.hero-title {
    font-size: 80px;
    font-weight: 200;
    color: #fff;
    letter-spacing: 6px;
    line-height: 100px;
    margin-top: 20%;
}

.hero-sub {
    font-size: 20px;
    font-weight: 200;
    color: #fff;
    letter-spacing: 1px;
    line-height: 28px;
    padding: 0 15%;
}

/* ---------- Section titles ---------- */

.section-title {
    font-size: 80px;
    font-weight: 200;
    color: #fff;
    letter-spacing: 6px;
    line-height: 100px;
    margin-top: 20%;
    margin-bottom: 3%;
}

.section-sub {
    font-size: 20px;
    font-weight: 200;
    color: #fff;
    letter-spacing: 1px;
    line-height: 28px;
    padding: 0 15% 6%;
}

.dark-title {
    color: #000;
}

.dark-sub {
    color: #000;
    padding-bottom: 6%;
}

.dark-sub a {
    text-decoration: none;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: left;
    white-space: nowrap;
    height: 39px;
    line-height: 39px;
    padding: 0 23px;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 4px;
    box-sizing: content-box;
    transition: color 0.1s linear, background-color 0.1s linear, border-color 0.1s linear;
    margin-bottom: 10%;
}

.btn-outline {
    color: #fff;
    border-color: #fff;
    background-color: transparent;
}

.btn-outline:hover {
    background: #00424c;
    border-color: #ffffff;
}

.btn-solid {
    color: #fff;
    border-color: #fff;
    background-color: #68878d;
}

.btn-solid:hover {
    background: #00424c;
}

/* ---------- About / Products text ---------- */

.about-wrap {
    padding: 0 6%;
}

.about-text {
    font-size: 20px;
    font-weight: 200;
    color: #fff;
    letter-spacing: 1px;
    line-height: 28px;
    padding: 0;
    margin: 0;
}

.about-gap {
    height: 20px;
    margin: 0;
}

/* ---------- Two column ---------- */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-top: 6%;
    padding-bottom: 6%;
}

.col {
    padding: 0 6%;
}

.lead {
    font-size: 20px;
    font-weight: 200;
    color: #fff;
    line-height: 28px;
    margin-bottom: 30px;
}

/* ---------- Progress bars ---------- */

.progress-bar {
    margin: 30px 0;
}

.progress-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 20px;
    font-weight: 200;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.progress-number {
    font-weight: 200;
}

.progress-track {
    height: 20px;
    background: #68878d;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: #dd9933;
    border: 1px solid #dd9933;
    transition: width 1.2s ease;
}

/* ---------- Accordion ---------- */

.accordion {
    margin-top: 10px;
}

.acc-item {
    margin-bottom: 5px;
}

.acc-header {
    position: relative;
    width: 100%;
    min-height: 45px;
    text-align: left;
    background: #68878d;
    border: none;
    color: #dd9933;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 200;
    letter-spacing: 1px;
    line-height: 2em;
    padding: 0;
    cursor: pointer;
    box-sizing: border-box;
}

.acc-title {
    display: block;
    padding: 0 0 0 63px;
}

.acc-mark {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 45px;
    height: 45px;
    border: 2px solid #e3e3e3;
    border-radius: 3px;
    box-sizing: border-box;
    background-color: transparent;
}

.acc-mark-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 9px;
    height: 9px;
}

.acc-mark-icon::before,
.acc-mark-icon::after {
    content: '';
    position: absolute;
    background: #303030;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.acc-mark-icon::before {
    width: 9px;
    height: 1px;
}

.acc-mark-icon::after {
    width: 1px;
    height: 9px;
    transition: opacity 0.2s ease;
}

.acc-item.open .acc-mark-icon::after {
    opacity: 0;
}

.acc-header:hover .acc-title {
    color: #00424c;
}

.acc-body {
    display: none;
    background: #0a535e;
    padding: 20px 25px;
}

.acc-item.open .acc-body {
    display: block;
}

.acc-body p {
    margin-bottom: 15px;
}

.acc-body p:last-child {
    margin-bottom: 0;
}

.acc-body strong {
    color: #dd9933;
}

/* ---------- Testimonials slider ---------- */

.slider {
    max-width: 900px;
    margin: 0 auto;
    padding: 10% 6%;
    position: relative;
}

.slide {
    display: none;
    text-align: center;
}

.slide.active {
    display: block;
}

.quote {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 200;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 1px;
    color: #dd9933;
    margin-bottom: 30px;
}

.attribution {
    font-size: 20px;
    font-weight: 200;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 7.5%;
}

.slider-nav {
    text-align: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #68878d;
    margin: 0 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #dd9933;
}

/* ---------- Contact ---------- */

.contact-title {
    font-size: 80px;
    font-weight: 200;
    color: #fff;
    letter-spacing: 6px;
    line-height: 100px;
    padding-top: 6%;
}

.phone a,
.footer a {
    text-decoration: none;
}

.phone a:hover,
.footer a:hover {
    color: #dd9933;
}

.bacta-logo {
    margin-bottom: 15px;
}

.contact-logo-row {
    margin-bottom: 20px;
}

/* ---------- Footer ---------- */

.footer {
    background: #00424c;
    border-top: 1px solid #0a535e;
    padding: 20px 0;
    text-align: left;
}

.footer h6 {
    font-family: 'Roboto', sans-serif;
    font-size: 9px;
    font-weight: 200;
    letter-spacing: 1px;
    color: #fff;
}

/* ---------- Back to top ---------- */

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    background: #dd9933;
}

/* ---------- Responsive ---------- */

@media screen and (max-width: 900px) {
    .main-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #00424c;
        padding: 80px 30px;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav a {
        margin: 0 0 30px 0;
        font-size: 20px;
        letter-spacing: 2px;
    }

    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1001;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 45px;
        line-height: 56px;
        letter-spacing: 4px;
        margin-top: 0;
    }

    .hero {
        min-height: auto;
        padding: 130px 0 60px;
    }

    .hero-sub {
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0;
        padding: 0 2%;
    }

    .section-title {
        font-size: 32px;
        line-height: 40px;
        letter-spacing: 3px;
    }

    .section-sub {
        font-size: 16px;
        line-height: 24px;
        padding: 0 5% 10%;
    }

    .about-text {
        font-size: 17px;
        padding: 0 2%;
    }

    .section-pad-sm {
        padding: 40px 0;
    }

    .col {
        padding: 0 2%;
    }
}

@media screen and (max-width: 600px) {
    body,
    p {
        font-size: 10px;
        line-height: 15px;
        letter-spacing: 1px;
    }

    h1,
    .hero-title,
    .section-title,
    .contact-title {
        font-size: 40px;
        line-height: 45px;
        letter-spacing: 3px;
    }

    h3,
    .hero-sub,
    .section-sub,
    .about-text,
    .lead,
    .quote,
    .attribution {
        font-size: 12px;
        line-height: 15px;
        letter-spacing: 1px;
    }
}
