/* ===================================
    Crafto - Logistics 
====================================== */
/* font 
@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');*/
/* variable */
/*:root {      
    --alt-font: "Urbanist", sans-serif;
    --primary-font: "Urbanist", sans-serif;
    --base-color: #ffc700;
    --dark-gray: #141414;
    --medium-gray: #707070;
    --aluminium-gray: rgba(255, 255, 255, 0.4);
}*/
@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700;800;900&display=swap');

    :root {      
    --alt-font: 'Barlow Semi Condensed', sans-serif !important;
    --primary-font: 'Schibsted Grotesk', sans-serif !important;
    --base-color: #ffc700;
    --dark-gray: #141414;
    --medium-gray: #707070;
    --aluminium-gray: rgba(255, 255, 255, 0.4);
}*/
/* reset */
body{
    font-size: 18px;
    line-height: 30px;
}
a:hover{
    color: var(--dark-gray);
}
/* header */
.navbar .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 600;
}
.navbar .navbar-nav .dropdown.open .dropdown-menu {
    background-color: var(--dark-gray);
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    font-size: 17px;
    font-weight: 500;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top-bar div>a {
    color: var(--light-gray);
}
.header-top-bar div>a:hover {
    color: var(--white);
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a i {
    font-size: 30px;
}
.navbar .navbar-nav .dropdown .dropdown-menu a i {
    width: 35px;
}
header .btn.btn-box-shadow.btn-base-color,
.btn.btn-base-color {
    color: var(--dark-gray);
}
header .btn.btn-box-shadow.btn-base-color:hover,
.btn.btn-box-shadow.btn-base-color:hover {
    color: var(--dark-gray);
}
header .btn.btn-small {
    font-size: 15px; 
    padding: 10px 18px;
}
/* btn */
.btn.btn-hover-animation-switch.btn-link {
    padding-top: 0;
}
.btn { 
    text-transform: inherit;
    font-weight: 600;
    letter-spacing: 0;
}
.btn.btn-extra-large {
    font-size: 18px;
    padding: 16px 32px;
}
.btn.btn-large {
    font-size: 17px;
    padding: 14px 28px;
}
.btn.btn-medium {
    font-size: 16px; 
    padding: 12px 24px;
}
.btn.btn-small {
    font-size: 15px;
}
.btn.btn-very-small {
    font-size: 14px; 
    padding: 9px 20px;
}

/* counter style */
.counter-style-04 .vertical-counter:after {
    color: var(--base-color);
}
.review-star-icon i {
    color: var(--base-color);
}

.google-maps-link a:hover {
    color: var(--white);
}

/* footer style */
footer ul li {
    margin-bottom: 1px;
}
footer p {
    line-height: 28px;
}
/* page title */
.page-title-double-large h1 {
    font-size: 4.375rem;
    line-height: 4.688rem;
}
.page-title-double-large h2 {
    font-size: 16px;
    line-height: 28px;
}

/* top bottom left right class */
.right-12 {
    right: 12%;
}

.bg-jungle-green {
    background-color: #2ebb79;
}
/* Outside box */
.outside-box-top-205px {
    margin-top: -205px;
}
/* Transparent background color */
.bg-gradient-gray-light-dark-transparent {
    background-image: linear-gradient(to top, #f7f7f7 0%, transparent 100%);
}
@media (max-width: 1399px) {
    .xl-h-180px {
        height: 180px;
    }
    .xl-w-180px {
        width: 180px;
    }
}
@media (max-width: 1199px) {
    .outside-box-top-200px {
        margin-top: -150px;
    }
}
@media (max-width: 991px) {
    .outside-box-top-200px {
        margin-top: 0;
    }
    .navbar .navbar-nav .dropdown.open .dropdown-menu {
        padding-bottom: 15px;
    }
    .navbar .navbar-nav .dropdown .dropdown-menu.show {
        background-color: var(--dark-gray);
    }
}
.service-title{
    margin-top: 240px;
}
.banner{
  margin-top: 100px;
}
.banner h1{
  font-size: 30px !important;
  margin-bottom: 0 !important;
}
/* Specific settings for screen widths between 300px and 760px */
@media (min-width: 300px) and (max-width: 760px) {
    .laser-comp .small-screen {
        height: 350px !important; /* Forces the banner to have height */
        display: flex !important;
        align-items: flex-end !important; /* Keeps text at the bottom */
        padding-bottom: 30px !important; /* Space from the very bottom edge */
    }

    .banner {
        margin-top: 0 !important; /* Removes the margin that was pushing it off-screen */
    }

    .service-title {
        margin-top: 0 !important; /* Removes the margin that was pushing it off-screen */
        font-size: 16px !important; /* Smaller font for mobile screens */
        line-height: 1.2;
    }

    .banner h1 {
        font-size: 26px !important;
        margin-bottom: 10px !important;
    }
}
.leadership-section {
    background-color: #f9f9f9; /* Change to your theme background color */
}

.owner-image-wrapper {
    position: relative;
    padding: 10px;
    border: 2px dashed #d4af37;
    display: inline-block;
}

/* Square image */
.owner-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 5px solid #fff;
    border-radius: 8px; /* small radius for modern look */
}


.italic {
    font-size: 18px;
    border-left: 4px solid #d4af37;
    padding-left: 20px;
    margin: 20px 0;
}

@media (max-width: 767px) {
    .owner-img {
        width: 200px;
        height: 200px;
    }
    .text-center-mobile {
        text-align: center !important;
    }
}
/*contact info*/
.horizontal-equal {
    background: #fff;
    border-radius: 8px;
    overflow: hidden; /* Clips the image to the border radius */
    border: 1px solid #eee;
    height: 100%; /* Ensures all boxes in a row match height */
    width: 420px;
}

.box-image {
    flex: 1; /* Takes 50% width */
    max-width: 50%;
}

.box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the image fill the area without stretching */
    display: block;
}

.box-details {
    flex: 1; /* Takes 50% width */
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers text vertically next to image */
    background-color: #ffffff;
}

.fs-16 { font-size: 16px; }

/* Responsive: stack them on very small mobile screens */
@media (max-width: 480px) {
    .horizontal-equal {
        flex-direction: column;
    }
    .box-image, .box-details {
        max-width: 100%;
    }
    .box-image img {
        height: 200px;
    }
}
.contact-info{
    max-width: 1300px;
}
.box-details {
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.contact-box:hover .box-details {
    transform: translateX(4px);
}
.contact-box {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Image zoom effect */
.box-image img {
    transition: transform 0.45s ease;
}

.contact-box:hover .box-image img {
    transform: scale(1.08);
}
/* Black background for the dropdown container */
.custom-dropdown-dark {
    background-color: #000000 !important; /* Deep black/dark gray */
    border: none;
    padding: 10px 0;
}

/* White text for the links */
.custom-dropdown-dark .dropdown-item {
    color: #ffffff !important;
    padding: 12px 20px;
    border-bottom: 1px solid #333; /* subtle separator like your image */
}

/* Remove border from last item */
.custom-dropdown-dark li:last-child .dropdown-item {
    border-bottom: none;
}

/* Hover state: changes background to a slightly lighter gray */
.custom-dropdown-dark .dropdown-item:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Ensure the arrow/icon logic works with the dark theme if needed */
.custom-dropdown-dark::before {
    border-bottom-color: #000000 !important;
}
/* Yellow Styling */
.text-yellow { color: #FFD700 !important; }
.bg-yellow { background-color: #FFD700 !important; }
.btn-yellow { 
    background-color: #FFD700; 
    color: #000; 
    font-weight: 700;
}
.btn-yellow:hover {
    background-color: #fff;
    color: #000;
    border: 1px solid black;
}

/* Offcanvas Drawer Styling */
.w-md-400px { width: 400px !important; }
.bg-white-transparent-1 { background-color: rgba(255, 255, 255, 0.05); }
.border-white-transparent { border-color: rgba(255, 255, 255, 0.1) !important; }

/* Custom Highlight Effect */
.text-highlight {
    position: relative;
    z-index: 1;
}
.text-highlight span {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: -1;
}
.text-justify{
    text-align: justify;
}
/* This ensures that when you click 'Get Quote', the section 
   stops 100px before the top, giving space for your header */
#contact-form {
    scroll-margin-top: -200px; 
}

/* Ensure smooth movement instead of a sudden jump */
html {
    scroll-behavior: smooth;
}
/* Clean Industrial Styles */
.bg-very-light-gray {
    background-color: #f7f7f7 !important;
}

.shadow-xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
}

/* Decorative Pill Background */
.absolute-pill-bg {
    position: absolute;
    top: 10%;
    left: -10%;
    width: 80%;
    height: 80%;
    background: #FFD700;
    opacity: 0.1;
    border-radius: 100px;
    z-index: 0;
    transform: rotate(-15deg);
}

.panel-box {
    border: 1px solid #eeeeee;
}

/* Spacing Fixes */
.py-9 {
    padding-top: 90px;
    padding-bottom: 90px;
}

/* Table-like stats appearance */
.border-color-extra-medium-gray {
    border-color: #e4e4e4 !important;
}
/* Backdrop Blur and Transparency */
.bg-white-transparent-backdrop {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.border-white-transparent {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Positioning */
.absolute-center-right {
    position: absolute;
    z-index: 5;
}

/* Optional: Slight hover lift */
.absolute-center-right:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}
.about-video-section {
    position: relative;
    height: 70vh; /* adjust if needed */
    overflow: hidden;
}

.about-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Dark overlay for text readability */
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

/* Content above video */
.about-video-section .container {
    position: relative;
    z-index: 3;
}
/* ================================
   AO FAILURE ANALYSIS – RESPONSIVE
================================ */

/* Desktop (default tweaks) */
#ao-failure-analysis .accordion-header a {
    cursor: pointer;
}

#ao-failure-analysis .accordion-header i {
    transition: transform 0.3s ease;
}

/* Rotate arrow when open */
#ao-failure-analysis .accordion-header a:not(.collapsed) i {
    transform: rotate(180deg);
}

/* Keep text readable */
#ao-failure-analysis p {
    word-break: break-word;
}


/* ================================
   Large Tablets & Small Laptops
   (≤ 1199px)
================================ */
@media (max-width: 1199px) {
    #ao-failure-analysis h3 {
        font-size: 28px;
    }

    #ao-failure-analysis .accordion-header a {
        font-size: 18px;
    }

    #ao-failure-analysis .absolute-center-right {
        right: 120px !important;
        width: 220px;
    }
}


/* ================================
   Tablets (≤ 991px)
================================ */
@media (max-width: 991px) {
    #ao-failure-analysis {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    #ao-failure-analysis .col-lg-6,
    #ao-failure-analysis .col-lg-5 {
        width: 100%;
    }

    #ao-failure-analysis h3 {
        font-size: 26px;
    }

    #ao-failure-analysis .accordion-header a {
        font-size: 17px;
    }

    /* Move overlay inside image */
    #ao-failure-analysis .absolute-center-right {
        position: relative;
        right: auto !important;
        top: auto !important;
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }
}


/* ================================
   Mobile Landscape (≤ 767px)
================================ */
@media (max-width: 767px) {
    #ao-failure-analysis h3 {
        font-size: 24px;
        line-height: 1.3;
    }

    #ao-failure-analysis .accordion-header a {
        font-size: 16px;
        padding: 14px 0;
    }

    #ao-failure-analysis p {
        font-size: 14px;
        line-height: 1.6;
    }

    #ao-failure-analysis .accordion-header span {
        max-width: 85%;
    }
}


/* ================================
   Mobile Portrait (≤ 575px)
================================ */
@media (max-width: 575px) {
    #ao-failure-analysis {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    #ao-failure-analysis h3 {
        font-size: 22px;
    }

    #ao-failure-analysis .accordion-header a {
        font-size: 15px;
    }

    #ao-failure-analysis .accordion-header span {
        max-width: 80%;
    }

    #ao-failure-analysis .absolute-center-right {
        padding: 12px;
    }

    #ao-failure-analysis img {
        border-radius: 8px;
    }
}
/* ======================================
   AO REFURBISHMENT SECTION – BASE
====================================== */
#ao-refurbishment {
    overflow: hidden;
}

#ao-refurbishment h3 {
    line-height: 1.25;
}

#ao-refurbishment p {
    word-break: break-word;
}

/* Ensure images scale properly */
#ao-refurbishment img {
    max-width: 100%;
    height: auto;
}

/* ======================================
   LARGE SCREENS (≤ 1199px)
====================================== */
@media (max-width: 1199px) {
    #ao-refurbishment h3 {
        font-size: 28px;
    }

    #ao-refurbishment .fs-18 {
        font-size: 16px;
    }
}

/* ======================================
   TABLETS (≤ 991px)
====================================== */
@media (max-width: 991px) {
    #ao-refurbishment {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* Stack columns */
    #ao-refurbishment .row.align-items-center {
        flex-direction: column;
    }

    #ao-refurbishment .col-lg-6 {
        width: 100%;
    }

    #ao-refurbishment .ps-lg-5 {
        padding-left: 0 !important;
        margin-top: 30px;
    }

    #ao-refurbishment h3 {
        font-size: 26px;
    }

    #ao-refurbishment .row.g-3 {
        margin-bottom: 20px;
    }
}

/* ======================================
   MOBILE LANDSCAPE (≤ 767px)
====================================== */
@media (max-width: 767px) {
    #ao-refurbishment h3 {
        font-size: 24px;
    }

    #ao-refurbishment p {
        font-size: 15px;
        line-height: 1.6;
    }

    #ao-refurbishment .btn {
        width: 100%;
        text-align: center;
    }

    /* Image grid alignment */
    #ao-refurbishment .col-6 {
        width: 100%;
    }

    #ao-refurbishment .col-6.mt-5 {
        margin-top: 15px !important;
    }
}

/* ======================================
   MOBILE PORTRAIT (≤ 575px)
====================================== */
@media (max-width: 575px) {
    #ao-refurbishment {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    #ao-refurbishment h3 {
        font-size: 22px;
    }

    #ao-refurbishment .fs-18 {
        font-size: 14px;
    }

    #ao-refurbishment h4 {
        font-size: 22px;
    }

    #ao-refurbishment .fs-13 {
        font-size: 11px;
    }
}

/* ======================================
   MODAL RESPONSIVE FIXES
====================================== */
@media (max-width: 767px) {
    #aoSpecsModal .modal-dialog {
        max-width: 95%;
        margin: 1rem auto;
    }

    #aoSpecsModal .modal-body {
        padding: 16px;
    }

    #aoSpecsModal .modal-header h6 {
        font-size: 15px;
    }

    #aoSpecsModal .modal-footer {
        padding: 12px;
    }
}
