@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

   body,
    html {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        font-family: 'Open Sans', sans-serif;
        overflow: hidden;
        scroll-behavior: smooth;
    }

    #scrolly-experience {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }




    .background-video,
    .content-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.8s ease;
    }

    .active-video,
    .active-slide {
        opacity: 1;
        pointer-events: auto;
    }

    #contact-section {
           background-image: linear-gradient(rgb(0 0 0 / 26%), rgb(0 0 0 / 0%)), url(../images/contact-bg.jpg);
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        color: #ffffff;
        z-index: 5;
        overflow-y: auto;
    }

    .contact-details {
        background-color: #ffffff;
        color: #000;
    }

    .content-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        pointer-events: none;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 30px 40px;
        box-sizing: border-box;
    }

    .site-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* --- Header & Logo --- */
    .header-left {
        pointer-events: auto;
        display: flex;
        align-items: center;
        cursor: pointer;
        color: white;
        text-decoration: none;
    }

 #logo-container {
    position: absolute;
    right: 0%;
    transform: translateX(-50%);
    visibility: visible;
    opacity: 1;
    z-index: 25;
}

  #logo-container img {
    max-height: 90px;
    margin-top: 15px;
}


    /* =================================== */
    /* ==== NEW: ANIMATED HAMBURGER ICON ==== */
    /* =================================== */
    .hamburger-icon {
        width: 30px;
        height: 22px;
        position: relative;
        cursor: pointer;
    }

    .hamburger-icon span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: #fff;
        border-radius: 3px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: all .25s ease-in-out;
    }

    /* Position of the 3 lines */
    .hamburger-icon span:nth-child(1) {
        top: 0px;
    }

    .hamburger-icon span:nth-child(2) {
        top: 9px;
    }

    .hamburger-icon span:nth-child(3) {
        top: 18px;
    }

    /* Animation to 'X' when .is-active class is added */
    .hamburger-icon.is-active span:nth-child(1) {
        top: 9px;
        transform: rotate(135deg);
    }

    .hamburger-icon.is-active span:nth-child(2) {
        opacity: 0;
        left: -60px;
        /* Slide out */
    }

    .hamburger-icon.is-active span:nth-child(3) {
        top: 9px;
        transform: rotate(-135deg);
    }

    #text-slides-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }

    .text-slide {
        position: absolute;
        display: flex;
        padding: 0 5%;
        color: white;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }



p.copyright {
    text-align: center;
        font-size: 15px;
}

    .text-slide.active-text {
        opacity: 1;
        transform: translateY(0);
            max-width: 550px;
            padding: 15px 15px 10px 22px;
        margin: 10px;
    }

    .position-bottom-right {
        bottom: 15%;
        right: 0;
        background: #fff8f75e;
    }

    .position-middle-left {
        top: 25%;
        left: 23px;
        transform: translateY(-50%);
        text-align: left;
        background: #fff8f75e;
    }
.mining {
    
    padding: 10px 15px 10px 15px;
    text-align: center;
        margin: 10px 0px 0px;
            min-height: 97%;

}
.oprojects p {
    font-size: 18px !important;
    padding: 0px;
}
.oprojects {
    text-align: center;
    align-items: center;
    vertical-align: middle;
}
.oprojects h3 {
    font-size: 20px;
    text-align: center;
}

    .position-middle-left.active-text {
        transform: translateY(-50%) translateX(0);
    }

    .site-footer {
        bottom: 30px;
        pointer-events: auto;
        position: absolute;
        left: 30px;
    }

    #scroll-prompt-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px;
        color: white;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    }

    .arrow-button {
        background: none;
        border: none;
            padding: 5px 10px 5px 10px;
        cursor: pointer;
        transition: opacity 0.3s ease, transform 0.3s ease;
        position: relative;
        opacity: 0.7;
    }

    .arrow-button:hover {
        opacity: 1;
        transform: scale(1.1);
    }

    .arrow-button::after {
        content: '';
        display: block;
        width: 12px;
        height: 12px;
    }

    #prev-arrow::after {
        border-left: 2px solid white;
        border-top: 2px solid white;
        transform: rotate(45deg);
    }

    #next-arrow::after {
        border-right: 2px solid white;
        border-bottom: 2px solid white;
        transform: rotate(45deg);
    }

    .hidden {
        opacity: 0 !important;
        pointer-events: none !important;
        transform: scale(0.5) !important;
    }

    /* Bootstrap Menu Styles */
   .offcanvas {
    background-color: #fff;
    color: #000;
}

    .offcanvas-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .offcanvas-title {
            font-size: 18px;
        font-weight: 700;
    }

    .offcanvas-body {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .menu-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .menu-nav a {
        
            font-size: 25px;
            color: #000;
        text-decoration: none;
        display: block;
        padding: 10px 0;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .menu-nav a:hover {
           color: #202020;
        transform: scale(1.05);
    }

    /* Text Slide Animations */
    @keyframes slideUpFadeIn {
        0% {
            transform: translateY(40px);
            opacity: 0;
        }

        100% {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .text-slide.active-text {
        animation: slideUpFadeIn 1s ease-out forwards;
    }

    /* Contact Section Animation */
    @keyframes fadeInSlide {
        0% {
            opacity: 0;
            transform: translateY(50px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    #contact-section.active-slide {
        animation: fadeInSlide 1s ease forwards;
    }

    .background-video.active-video {
        filter: brightness(0.9);
        transition: filter 0.8s ease;
    }

    .text-slide h1 {
        opacity: 0;
        animation: slideUpFadeIn 1s ease-out forwards;
        animation-delay: 0.3s;
         font-size: 37px;
    line-height: 38px;
        font-weight: 600;
    }

.text-slide p {
    opacity: 0;
    animation: slideUpFadeIn 1s ease-out forwards;
    animation-delay: 0.6s;
    
    line-height: 26px;
    font-size: 18px;
}


    .text-slide.active-text h1,
    .text-slide.active-text p {
        animation-play-state: running;
    }

    .transition-fade {
        transition: opacity 1s ease-in-out, transform 1.2s ease;
    }
    .contact-details i {
    color: #9b811eb0;
}
#contact-section button {
    background: #9b811eb0;
    border: 1px solid #9b811eb0;
}
.contact-details a {
    color: #0099f0;
    text-decoration: none;
}
.contact-details a:hover {
    color: #9b811eb0;
}
#menuOffcanvas img {
    width: 75px;
}
.offcanvas {
    max-width: 240px;
}




/* ================================================
   HEADER STYLES
   ================================================ */

/* Main header container */
.photobuddy_fl_header {
    position: fixed; /* Keeps header at the top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10; /* Ensures it's above other content */
    
    /* Flexbox for easy alignment */
    display: flex;
    align-items: center; /* Vertically center items */
    justify-content: space-between; /* Pushes logo left and trigger right */
    
    padding: 20px 40px; /* Adjust padding as needed */
    background-color: #ffffff; /* White background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow */
    box-sizing: border-box; /* Ensures padding is included in width */
}

/* Header logo styles */
.photobuddy_fl_header_logo img {
    max-height: 45px; /* Control the height of your logo */
    width: auto;
    display: block;
}

/* Menu Trigger (Hamburger) styles */
.photobuddy_fl_trigger {
    cursor: pointer;
}

.photobuddy_fl_trigger a {
    text-decoration: none;
    display: flex;
    flex-direction: column; /* Stack the lines vertically */
    justify-content: space-between; /* Space out the lines */
    width: 30px;  /* Width of the hamburger icon */
    height: 20px; /* Height of the hamburger icon */
}

/* The three lines of the hamburger icon */
.photobuddy_fl_trigger span {
    display: block;
    width: 100%;
    height: 3px; /* Thickness of the lines */
    background-color: #333; /* Color of the lines */
    border-radius: 2px;
}
/* --- CSS for the Header Layout --- */
/* --- HEADER STYLES --- */


@media screen and (max-width: 767px) {
    #logo-container img {
        /* max-height: 60px !important; */
        width: 50px;
        margin-top: 0px !important;
    }

.position-bottom-right {
        bottom: auto;
        right: auto;
        top: 135px;
        left: 48%;
        width: 90vw;
        max-width: none;
        margin: 0;
        padding: 20px;
        box-sizing: border-box;
    }

    .text-slide {
        /* Horizontally center and set initial animation position */
        transform: translateX(-50%) translateY(20px);
    }

    @keyframes slideUpFadeInMobile {
        from {
            transform: translateX(-50%) translateY(40px);
            opacity: 0;
        }
        to {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
        }
    }

    .text-slide.active-text {
        animation-name: slideUpFadeInMobile;
    }

    .text-slide h1 {
        font-size: 28px;
        line-height: 1.2;
    }
    .text-slide p {
        font-size: 16px;
        line-height: 1.5;
    }

    /*
    This block makes slides with long content (About, Services, Projects)
    scrollable if their content is too tall for the mobile screen.
    We target every slide from the second one onwards.
    */
    #text-slides-container .text-slide:nth-child(n+2) {
        overflow-y: auto;
        /* Set a height that fills the available screen space */
        /*height: calc(100vh - 110px);*/
        padding-right: 15px; /* Add padding for the scrollbar */
    }

    /* Adjust the inner .row to prevent horizontal overflow */
    #text-slides-container .text-slide:nth-child(n+2) .row {
        margin-right: 0;
        margin-left: 0;
    }

    .oprojects {
        margin-bottom: 20px;
    }
    .oprojects img {
        max-height: 45px;
        width: auto;
        margin-bottom: 8px;
    }
    .oprojects p {
        font-size: 17px !important;
        line-height: 1.3;
    }
    #contact-section {
    padding-top: 55px;
}
.content-overlay {

    padding: 20px 40px 30px !important;
 
}
.site-footer {
    bottom: 0px !important;
    
    left: 15px !important;
}
}