/* Import Color Schemes */
@import url("color-schemes.css");

/* Import Lato Font */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Lato:wght@300;400;700;900&family=Poppins:wght@400;500;600;700&display=swap');

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

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--scroll-bar-track);
}

::-webkit-scrollbar-thumb {
    background: var(--scroll-bar);
}

/* Hide scrollbars for all elements except body */
*:not(body) {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE & Edge */
}

*:not(body)::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* Header Styles */
.navbar-dark {
    background: var(--header-bg);
    color: var(--text-white);
    padding: 1rem 0;
    min-height: 100px;
}

.navbar {
    width: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-dark .navbar-brand.logo img,
footer.footer img {
    height: 65px;
}


.navbar-brand.logo {
    margin-right: 0;
}

.navbar-nav .nav-link {
    font-family: "DM Sans", sans-serif;
    color: var(--text-white);
    margin: 0 16px;
    padding: 8px 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-orange-hover);
}

.quote-btn {
    background-color: var(--accent-orange);
    color: var(--text-white);
    border-radius: 8px;
    border: 1px solid var(--text-white);
    padding: 12px 20px;
    font-family: "DM Sans";
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.5px;

    &:hover {
        border: 1px solid transparent;
    }
}

.hero-contact .quote-btn,
.capabilities-contact .quote-btn {
    min-width: 180px;
}

.quote-btn:hover {
    background-color: var(--accent-orange-hover) !important;
    color: var(--text-white) !important;
}

/* Main Content */
.main-content {
    padding: 80px 0;
    background-color: var(--bg-white);
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 80px;
}

.hero-contact {
    padding: 170px 0 100px;
    background: var(--header-bg);
}

.hero-title {
    color: var(--text-white);
    font-family: "Lato", sans-serif;
    font-size: 60px;
    font-weight: 300;
    line-height: 76px;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.hero-title span {
    font-weight: 700;
}

.hero-subtitle {
    color: var(--text-white);
    font-family: "Lato", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    margin-bottom: 70px;
}

/* Section Headers */
.section-header {
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: 0.15px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
    font-size: 44px;
    font-weight: 600;
    line-height: 48px;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-text {
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
}

/* Text Colors */
.text-white {
    color: var(--text-white) !important;
}

/* Image Placeholders */
.placeholder-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 32px;
}

.placeholder-container-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.image-placeholder {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.placeholder-container .placeholder-icon {
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
}

.image-placeholder img {
    max-width: 100%;
    border-radius: 4px;
}


.image-placeholder.white-bg {
    background-color: var(--bg-white);
    border-color: var(--border-medium);
}

.placeholder-icon.dark {
    background-color: var(--placeholder-icon-bg);
}

/* About Section Specific Fixes */
.about-contact {
    padding: 95px 0;
    background-color: var(--bg-white);
}

.inner-section {
    margin-top: 104px;
}

.about-contact .row {
    align-items: flex-start;
}

.about-contact .col-lg-6:first-child {
    padding-right: 40px;
}

.about-contact .col-lg-6:last-child {
    padding-left: 40px;
}

.about-contact .mt-5 {
    margin-top: 60px !important;
}

.about-contact .mt-5 .col-md-6 {
    padding: 0 15px;
}

/* Capabilities Section */
.capabilities-section {
    padding: 135px 0;
    background-color: var(--capabilities-bg);
}

.capabilities-contact {
    padding: 135px 0;
    background-color: var(--capabilities-bg);
}

.capabilities-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.capabilities-text {
    flex: 1;
}

.capabilities-boxes {
    flex: 1;
}

.capability-boxes {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 32px;
    min-height: 400px;
    height: 30vh;
    overflow: auto;
    padding-right: 10px;
}

.capability-box {
    background-color: transparent;
    border: 1px solid var(--text-white);
    padding: 24px;
    border-radius: 8px;
    color: var(--text-white);
}

.capability-box h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-white);
}

.capability-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Equipment Section */
.equipment-section {
    padding: 0;
    background-color: var(--bg-white);
}

.equipment-content {
    display: flex;
    gap: 60px;
    align-items: center;

}

.equipment-text {
    flex: 1;
    margin-left: 10%;
    margin-top: 10%;
}

.equipment-image {
    flex: 1;
}

.equipment-title {
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
    font-size: 44px;
    font-weight: 600;
    line-height: 60px;
    margin-bottom: 24px;
}

.equipment-items {
    margin-top: 40px;
    min-height: 400px;
    height: 38vh;
    overflow: auto;
    padding-right: 0px;
    margin-bottom: 100px;
}

.equipment-item {
    margin-bottom: 35px;
}

.equipment-item h6 {
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.equipment-item p {
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

/* Additional Services */
.additional-services {
    padding: 50px 0;
    background-color: var(--additional-services-bg);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-title {
    color: var(--text-secondary);
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: 44px;
    font-weight: 700;
    line-height: 60px;
    margin-bottom: 16px;
}

.services-subtitle {
    color: var(--text-primary);
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    margin-bottom: 90px;
}

.services-content {
    display: flex;
    gap: 90px;
    align-items: center;
}

.services-image {
    flex: 1;
}

.additional-services .image-placeholder {
    height: 600px;
    overflow: hidden;
}

.services-list {
    flex: 1;
    min-height: 520px;
    height: 40vh;
    overflow: auto;
    padding-right: 10px;
}

.service-item {
    margin-bottom: 35px;
}

.service-item h5 {
    color: var(--text-secondary);
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 32px;
    margin-bottom: 8px;
}

.capability-boxes .service-title,
.capability-boxes .service-description {
    color: var(--text-white) !important;
}

.service-item p {
    color: var(--text-secondary);
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
    margin-bottom: 30px;
}

/* Contact Section */
.contact-section {
    padding: 60px;
}

.contact-section .hero-title {
    color: var(--text-secondary);
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: 60px;
    font-weight: 400;
    line-height: 76px;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.contact-section .hero-subtitle {
    color: var(--text-secondary);
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    margin-bottom: 10px;
}

.contact-section p.hero-subtitle {
    width: 70%;
    margin: auto;
}

.contact-section .hero-section {
    margin-bottom: 0;
}

.contact-info-section {
    max-width: 40%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    padding: 65px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-secondary);
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 10px;
}

.contact-icon {
    font-size: 1.3rem;
}

.contact-icon svg path {
    fill: var(--text-secondary);
}

section.quote-section {
    margin-top: 104px;
    background: var(--text-white);
}

/* Footer - Fixed Layout */
.footer {
    background-color: var(--footer-dark);
    padding: 24px 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 0;
}

.footer-nav li {
    margin: 0;
}

.footer-nav a {
    color: var(--text-white);
    text-align: left;
    font-family: "DM Sans";
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.5px;
    text-decoration: none;
}

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

.footer p {
    color: var(--text-white);
    text-align: left;
    font-family: "DM Sans";
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.5px;
    margin: 0;
    padding-top: 20px;
}

.footer-bottom {
    border-top: 1px solid var(--border-footer);
    margin-top: 1rem;
}

/* Bootstrap Overrides */
.row {
    margin: 0;
}

.col-lg-6,
.col-md-6 {
    padding: 0 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }

    .navbar-toggler {
        border: 1px solid var(--text-white);
    }

    .navbar-collapse {
        height: 100vh;
        position: fixed;
        width: 100%;
        top: 104px;
        left: 0;
        background: var(--header-bg);
    }

    ul.navbar-nav {
        margin: 20px 0;
    }

    .navbar-nav .nav-link {
        padding: 15px 0;
        text-align: center;
    }

    .navbar-dark .navbar-brand.logo {
        order: 1;
    }

    .navbar-dark .quote-btn {
        order: 2;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-contact .col-lg-6:first-child,
    .about-contact .col-lg-6:last-child {
        padding: 0 15px;
    }

    .capabilities-content,
    .equipment-content,
    .services-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-contact,
    .capabilities-section {
        padding: 50px 0;
    }

    .capability-boxes {
        margin-top: 40px;
    }

    .hero-contact.header-dark .row {
        flex-direction: column-reverse;
    }

    .hero-contact .image-placeholder {
        margin-bottom: 20px;
        justify-content: start;
    }

    .equipment-text {
        margin-left: 4%;
        margin-top: 4%;
    }

    .equipment-content,
    .services-content {
        align-items: normal;
    }

    .equipment-section .equipment-content {
        flex-direction: column-reverse;
    }

    .services-subtitle {
        margin-bottom: 50px;
    }

    .equipment-image {
        padding-top: 50px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .equipment-items {
        min-height: 460px;
        height: 40vh;
    }

    .footer-logo {
        margin: auto;
    }

    .footer-grid {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
        align-items: center;
    }

    .footer p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-contact {
        padding-top: 140px !important;
    }

    .hero-contact,
    .about-contact,
    .capabilities-contact,
    .capabilities-section,
    .equipment-section,
    .additional-services {
        padding: 60px 0;
    }

    .contact-info-section {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .container {
        padding: 0 15px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }

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

    .navbar-nav .nav-link {
        margin: 0 10px;
    }

    .contact-section p.hero-subtitle {
        width: 100%;
    }
}