/* Make TAB focus visible for social icons */
.btn.btn-square:focus {
    outline: 2px solid #d48a42 !important;   /* golden outline */
    outline-offset: 3px !important;          /* small space around icon */
    box-shadow: none !important;
}

/* FIXED REGISTER BUTTON HOVER */
.register-btn:hover {
    background: #d48a42 !important;
    color: #fff !important;
    border-color: #d48a42 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(212,138,66,0.4);
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
}

.btn.btn-secondary {
    color: var(--bs-white);
    border: none;
   
}

.btn.btn-secondary:hover {
    background: var(--bs-primary);
}
/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary);
}
/*** Topbar End ***/

/*** Navbar ***/
.sticky-top {
    transition: 1s;
}

.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link {
    position: relative;
    padding: 10px;
    font-weight: 400;
    font-family: "Playfair Display", serif;
    font-size: 17px;
    transition: .5s;
    z-index: 99;
}
.navbar .navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border: 2px solid var(--bs-secondary);
    opacity: 0;
    transition: 0.5s;
    z-index: 2 !important;
}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
    border-bottom: 0;
    border-right: 0;
}
.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
    border-top: 0;
    border-left: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 50%;
    height: 50%;
    opacity: 1;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

.navbar .navbar-toggler {
    padding: 8px 15px;
    color: var(--bs-dark);
    background: var(--bs-secondary);
}

.nav-bar .navbar-toggler { 
    color: var(--bs-dark);
    box-shadow: none !important;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

.navbar .nav-item .dropdown-menu {
    background: var(--bs-light);
    transition: 0.5s;
}

.navbar .nav-item .dropdown-menu .dropdown-item {
    transition: 0.5s;
}

.dropdown .dropdown-menu .dropdown-item:hover,
.dropdown .dropdown-menu .dropdown-item.active {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        margin-top: 15% !important;
        transform: rotateX(-75deg);
        transform-origin: 0 0;
        border: 0;
        transition: .5s;
        opacity: 0;
        z-index: 9;
    }
}

@media (max-width: 991px) {
    .navbar .nav-item .dropdown-menu {
        position: relative;
        margin-top: 0;
        transition: 0.5s;
    }

    .navbar .navbar-nav .nav-item::after,
    .navbar .navbar-nav .nav-item::before {
        display: none;
    }

    .navbar .navbar-nav .nav-item:hover::after,
    .navbar .navbar-nav .nav-item:hover::before,
    .navbar .navbar-nav .nav-item.active::after,
    .navbar .navbar-nav .nav-item.active::before {
        display: none;

    }

    .navbar .navbar-nav .nav-link {
        padding: 12px 0;
    }

    .navbar .navbar-nav .nav-item {
        margin: 0;
    }

    .navbar .navbar-nav .nav-item.nav-link {
        padding: 12px 0;
    }
}

@media (max-width: 991px) {

    /* Center main nav items */
    .navbar .navbar-nav {
        width: 100%;
        text-align: center;
        align-items: center !important;
    }

    .navbar .navbar-nav .nav-item,
    .navbar .navbar-nav .nav-link {
        width: 100%;
        text-align: center;
    }

    /* Center dropdown toggle text */
    .navbar .nav-item .dropdown-toggle {
        text-align: center !important;
        width: 100%;
    }

    /* Dropdown menu center */
    .navbar .dropdown-menu {
        text-align: center;
        width: 100%;
        margin: 0 auto;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .navbar .dropdown-menu .dropdown-item {
        text-align: center;
        width: 100%;
    }

    /* Center Register button */
    .navbar .d-flex {
        width: 100%;
        justify-content: center !important;
        padding-top: 15px;
    }

    .navbar .btn {
        width: auto;
        display: inline-block;
        text-align: center;
    }
}


@media (max-width: 991px) {

    /* Dropdown menu background for mobile */
    .navbar .dropdown-menu {
        background: #da8643 !important;
        border: none;
        width: 100%;
        text-align: center;
    }

    /* Dropdown items text styling */
    .navbar .dropdown-menu .dropdown-item {
        color: #fff !important;
        padding: 12px 15px;
    }

    .navbar .dropdown-menu .dropdown-item:hover {
        background: rgba(255,255,255,0.2) !important;
        color: #fff !important;
    }
}


/* ARROW ICON */
.custom-home .arrow-toggle::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
    color: #da8643;
}

/* DESKTOP */
@media (min-width: 992px) {
    .custom-home {
        display: flex;
        align-items: center;
        gap: 6px;
    }
}

/* ========== MOBILE FIX ========== */
@media (max-width: 991px) {

    /* HOME + ARROW CENTERED */
    .custom-home {
        width: 100%;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px;
        flex-direction: column; /* IMPORTANT */
    }

    .custom-home .home-link {
        font-size: 20px;
        margin: 0;
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }

    .custom-home .arrow-toggle {
        margin-top: -40px;
        margin-right: -80px;
        text-align: center;
        cursor: pointer;
        flex-direction: column;
    }

    /* DROPDOWN BELOW HOME */
    .custom-home .dropdown-menu {
        width: 100% !important;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        margin-top: 10px !important;
        background: #da8643 !important;
        padding: 10px 0 !important;
        display: none !important;  /* hidden by default */
        text-align: center !important;
        z-index:9999 ;
    }

    .custom-home .dropdown-menu.show {
        display: block !important;
    }

    .custom-home .dropdown-item {
        color: #fff !important;
        padding: 10px 0;
        font-size: 16px !important;
        width: 100% !important;
    }
}

/* MAKE HOME TEXT EXACT SAME AS OTHER NAV ITEMS */
.custom-home .home-link {
    font-family: "Playfair Display", serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    padding-right: 5px;
    color: var(--bs-dark) !important;
    letter-spacing: normal !important;
}

.home-link::before {
    content: "";
    display: inline-block;
    width: 8px;   /* adjust space */
}


/*** Navbar End ***/

/*** Single Page Hero Header Start ***/
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #1f2229;
}


/* Slides */
.slides-wrapper {
    width: 100%;
    height: 510px;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    display: flex;
    opacity: 0;
    transform: translateX(50px);
    transition: 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}


/* Left Panel */
.left-panel {
    width: 40%;
    background: #2a2c33;
    padding: 70px;
    color: #fff;
}

.badge {
    width: 110px;
    height: 110px;
    background: #da8643;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    font-weight: 700;
}

.small-title {
    font-size: 30px;
    margin: 30px 0 10px;
    letter-spacing: 8px;
    color: white;
}

.big-title {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 25px;
    color: white;
}

.desc {
    width: 90%;
    margin-bottom: 30px;
    line-height: 1.5;
}

.read-btn {
    background: #000;
    color: #fff;
    padding: 12px 30px;
    letter-spacing: 3px;
    font-size: 13px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.read-btn:hover {
    background: transparent;
    color: #da8643;
    border-color: #da8643;
}

.slide {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.slide.active {
    z-index: 2;
}

.bottom-bar {
    position: relative;
    z-index: 3;
    pointer-events: none;
}

.bottom-bar * {
    pointer-events: auto;
}

.reveal-bar {
    pointer-events: none;
}


/* Right Panel */
.right-panel {
    width: 60%;
}

.right-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bottom bar */
.bottom-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 90px;
    background: #dcdcdc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    overflow: hidden;
}

/* Reveal animation bar */
.reveal-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #bcbcbc;
    z-index: 1;
    transition: width 1s ease-in-out;
}

/* Social links */
.social-bar {
    position: relative;
    z-index: 5;
    display: flex;
    gap: 50px;
    letter-spacing: 8px;
    font-weight: 600;
}

.social-bar a {
    text-decoration: none;
    margin-right: 20px;
    font-size: 14px;
    position: relative;
    transition: color 0.3s ease;
}

.social-bar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: #da8643;
    transition: width 0.3s ease;
}

.social-bar a:hover {
    color: #da8643;
}

.social-bar a:hover::after {
    width: 100%;
}


/* Controls */
.slider-controls {
    position: relative;
    z-index: 5;
    display: flex;
    gap: 15px;
}

.slider-controls button {
    width: 75px;
    height: 75px;
    font-size: 32px;
    background: #27272d;
    color: #fff;
    border: none;
    cursor: pointer;
}

.slider-controls button:hover {
    background: #000;
}

.topbar span,
.topbar .text-muted,
.topbar .text-muted i {
    cursor: default !important;
    pointer-events: none !important;
}

.navbar .nav-item,
.navbar .dropdown-menu {
    pointer-events: auto !important;
}

/*******************************
FINAL WORKING MOBILE VIEW
*******************************/
@media (max-width: 991px) {

    .hero-slider {
        height: auto !important;
        min-height: 760px !important;
        position: relative;
    }

    .slides-wrapper {
        height: auto !important;
        position: relative;
    }

    /* Slides must be relative on mobile */
    .slide {
        position: relative !important;
        width: 100% !important;
        opacity: 0;
        display: none;
        flex-direction: column !important;
        transform: none !important;
    }

    .slide.active {
        display: flex !important;
        opacity: 1 !important;
        z-index: 10 !important;
        padding-bottom: 140px !important; /* space for bottom bar */
    }

    /* Left panel full width */
    .left-panel {
        width: 100% !important;
        padding: 30px 20px !important;
        text-align: center !important;
    }

    .badge {
        width: 80px !important;
        height: 80px !important;
        font-size: 32px !important;
        margin: 0 auto 20px auto;
    }

    .small-title {
        font-size: 20px !important;
        letter-spacing: 4px !important;
    }

    .big-title {
        font-size: 30px !important;
    }

    .desc {
        width: 100% !important;
        font-size: 14px !important;
    }

    /* Image full width */
    .right-panel {
        width: 100% !important;
        height: 250px !important;
        margin-top: 20px !important;
    }

    .right-panel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }



    /**********************
     BOTTOM BAR (DESKTOP STYLE)
    ***********************/
    .bottom-bar {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 90px !important;
        background: #dcdcdc !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 25px !important;
        z-index: 999 !important;
        flex-direction: row !important;
    }

    /* Social links left */
    .social-bar {
        display: flex !important;
        gap: 20px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* ARROW BUTTONS RIGHT — FIX */
    .slider-controls {
        display: flex !important;
        gap: 12px !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999 !important;
        position: relative !important;
    }

    .slider-controls button {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
        background: #27272d !important;
        color: #fff !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Reveal bar at top of bottom bar */
    .reveal-bar {
        display: block !important;
        position: absolute !important;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background: #bcbcbc !important;
        z-index: 1 !important;
    }
}

@media (max-width: 991px) {

    /* Bottom bar becomes vertical layout */
    .bottom-bar {
        height: auto !important;
        padding: 20px 20px !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 15px !important;
    }

    /* Social links on top */
    .social-bar {
        order: 1;
        width: 100%;
        justify-content: center !important;
        text-align: center;
        gap: 25px !important;
    }

    /* SLIDE CONTROLS BELOW SOCIAL LINKS */
    .slider-controls {
        order: 2 !important;
        width: 100%;
        justify-content: center !important;
        display: flex !important;
        gap: 15px !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 99 !important;
    }

    .slider-controls button {
        width: 45px !important;
        height: 45px !important;
        font-size: 22px !important;
    }
}

@media (max-width: 991px) {
    .social-bar {
        font-size: 11px !important;
        letter-spacing: 2px !important;
        gap: 15px !important;      
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 0 10px !important;  
        overflow: hidden !important; 
        white-space: nowrap !important;
    }

    .social-bar a {
        margin: 0 !important;
        font-size: 14px !important;
        letter-spacing: 2px !important;
    }
}



/*** Carousel End ***/

/* SECTION WRAPPER */
.about-section {
    width: 100%;
    padding: 40px 0;
    font-family: "Playfair Display", serif;
    overflow: hidden;
}

/* TITLE */
.title-box h2 {
    font-size: 38px;
    margin-left: 130px;
    font-weight: 900;
}
.title-box .line {
    font-size: 40px;
    margin-left: 15px;
    font-weight: 300;
}

/* FLEX LAYOUT */
.about-wrapper {
    width: 80%;
    margin: 40px auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

/* LEFT FRAME BOX */
.about-content {
    width: 55%;
    border: 20px solid #d6ac8c;
    padding: 30px;
}

.content-inner h3 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.content-inner p {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 30px;
}

/* READ MORE BUTTON */
.read-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #000;
    color: #fff;
    letter-spacing: 2px;
    text-decoration: none;
}

/* SLIDER */
.about-slider {
    width: 48%;
    position: relative;
}

.about-slider img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

/* ARROWS */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    font-size: 26px;
    color: #000;
    background: #fff;
    border-radius: 4px;
    transform: translateY(-50%);
}

.prev { left: 10px; }
.next { right: 10px; }

/* SLIDE COUNT */
.slide-count {
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    letter-spacing: 2px;
}

.fade {
    animation: fadeEffect 1s ease;
}
@keyframes fadeEffect {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.about-header {
    font-size: 42px;
    font-weight: 800;
    padding: 20px 20px;
    display: inline-block;
    background: repeating-linear-gradient(
        -45deg,
        #f8f8f8,
        #f8f8f8 8px,
        #eeeeee 8px,
        #eeeeee 16px
    );
    animation: moveLines 6s linear infinite;
    border: 1px solid #ececec;
}

/* Animation */
@keyframes moveLines {
    0% { background-position: 0 0; }
    100% { background-position: 200px 0; }
}

/* ==============================
   ABOUT SECTION – MOBILE VIEW
   ============================== */
@media (max-width: 991px) {

    .about-section {
        padding: 20px 0;
    }

    /* Title Alignment */
    .title-box h2 {
        font-size: 28px;
        margin-left: 0;
        text-align: center;
    }

    .title-box .line {
        font-size: 28px;
        margin-left: 0;
        text-align: center;
    }

    /* Wrapper becomes vertical */
    .about-wrapper {
        width: 92%;
        margin: 20px auto;
        flex-direction: column;
        gap: 25px;
    }

    /* Left content box full width */
    .about-content {
        width: 100%;
        border-width: 10px;
        padding: 20px;
    }

    .content-inner h3 {
        font-size: 28px;
        line-height: 1.3;
        text-align: center;
    }

    .content-inner p {
        font-size: 15px;
        line-height: 1.6;
        text-align: center;
    }

    .read-btn {
        padding: 10px 20px;
        font-size: 12px;
        margin: 0 auto;
        display: block;
        text-align: center;
    }

    /* Slider full width */
    .about-slider {
        width: 100%;
        height: auto;
    }

    .about-slider img {
        height: 260px;       /* responsive height */
        object-fit: cover;
        width: 100%;
    }

    /* Arrows resize */
    .prev, .next {
        padding: 10px;
        font-size: 18px;
        top: 48%;
    }

    .prev { left: 10px; }
    .next { right: 10px; }

    .slide-count {
        font-size: 14px;
        margin-top: 8px;
    }

    /* About header (striped) */
    .about-header {
        font-size: 28px;
        padding: 12px 16px;
        margin: 0 auto;
        display: block;
        width: fit-content;
    }
}


/*** About End ***/

.whatwedo-section {
    width: 100%;
    padding: 40px 0;
    overflow: hidden;
}

.what-title h2 {
    font-size: 38px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-left: 15px;
}

.what-title .dash {
    margin-left: 10px;
}

.whatwedo-container {
    display: flex;
    gap: 40px;
    margin-left: 130px;
    margin-top: 40px;
}

/* LEFT SIDE */
.left-content {
    width: 60%;

}

/* SERVICE BOXES */
.services-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.service-box1 {
    text-align: center;
}

.service-box1 img {
    width: 240px;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
}

.service-box1 h4 {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 600;
}

.service-box1 .line {
    width: 2px;
    height: 25px;
    background: #000;
    margin: 5px auto;
}

.service-box1 .number {
    margin-top: 5px;
    font-size: 26px;
    color: #d2b19e;
    font-weight: 700;
}

/* DETAILS BOX */
.details-box {
    background: #ececec;
    padding: 30px;
    border-radius: 6px;
}

.details-box h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
}

.details-box p {
    font-size: 14px;
    margin-bottom: 12px;
}

.read-more {
    position: relative;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    color: #000;
    padding-bottom: 3px;
    transition: 0.3s ease;
}

/* underline animation */
.read-more::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #d6893c; /* your theme color */
    transition: 0.4s ease;
}

.read-more:hover {
    color: #d6893c; /* hover text color */
}

.read-more:hover::after {
    width: 100%;
}

/* RIGHT SIDE IMAGE */
.right-scroll-image img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: sticky;
    top: 0;
}

/* ============================================
   WHAT WE DO – MOBILE VIEW (max-width: 991px)
   ============================================ */
@media (max-width: 991px) {

    .whatwedo-section {
        padding: 20px 0;
        overflow: hidden;
    }

    /* Center heading */
    .what-title h2 {
        font-size: 28px;
        text-align: center;
        padding-left: 0;
    }

    .what-title .dash {
        margin-left: 0;
        display: block;
        margin: 5px auto;
    }

    /* Main container becomes vertical */
    .whatwedo-container {
        flex-direction: column;
        gap: 25px;
        margin-left: 0;
        margin-top: 20px;
        padding: 0 20px;
    }

    /* Left section full width */
    .left-content {
        width: 100%;
    }

    /* Service rows stack vertically */
    .services-row {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 20px;
    }

    /* Service box images resize */
    .service-box1 img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .service-box1 h4 {
        font-size: 16px;
    }

    .service-box1 .number {
        font-size: 22px;
    }

    /* Details box full width */
    .details-box {
        padding: 20px;
    }

    .details-box h3 {
        font-size: 24px;
    }

    .details-box p {
        font-size: 14px;
    }

    /* Right sticky image becomes normal scrolling */
    .right-scroll-image img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        position: relative;
        top: auto;
    }
}

  
/*** Features End ***/
/* Section Layout */
.info-testimonial-section {
    display: flex;
    padding: 50px 80px;
    gap: 40px;
    overflow: hidden;
}

/* ------------------------ LEFT – INFOGRAPHIC ------------------------ */

.infographic-area {
    width: 60%;
}

.info-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 35px;
    font-family: 'Poppins', sans-serif;
}

.info-title {
    padding: 20px 20px;
    display: inline-block;
    background: repeating-linear-gradient(
        -45deg,
        #f8f8f8,
        #f8f8f8 8px,
        #eeeeee 8px,
        #eeeeee 16px
    );
    animation: moveLines 6s linear infinite;
    border: 1px solid #ececec;
}

/* Animation */
@keyframes moveLines {
    0% { background-position: 0 0; }
    100% { background-position: 200px 0; }
}


.info-title span {
    color: #000;
    font-weight: 900;
}

/* GRID WRAPPER WITH BACKGROUND IMAGE */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
    padding: 20px;
    background: url('../img/grid-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
}

/* INFO BOX WITHOUT BACKGROUND IMAGE */
.info-box {
    background: #ffffff; /* plain white card */
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* HOVER EFFECT FOR INFO BOX */
.info-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #da8643; /* optional highlight */
}


.info-number {
    font-size: 40px;
    color: #c38b67;
    margin: 0 0 10px 0;
}

.info-text {
    font-size: 16px;
    font-weight: 500;
}

.testimonial-area {
    width: 40%;
}

.test-title {
    font-size: 38px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 25px;
}

.test-title {
    padding: 20px 20px;
    display: inline-block;
    background: repeating-linear-gradient(
        -45deg,
        #f8f8f8,
        #f8f8f8 8px,
        #eeeeee 8px,
        #eeeeee 16px
    );
    animation: moveLines 6s linear infinite;
    border: 1px solid #ececec;
}

/* Animation */
@keyframes moveLines {
    0% { background-position: 0 0; }
    100% { background-position: 200px 0; }
}
.testimonial-container {
    position: relative;
}

.testimonial-slide {
    display: none;
    padding: 35px;
    border: 1px solid #e5e5e5;
    background: white;
    animation: fade 0.8s ease;
}

@keyframes fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.test-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.test-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.test-name {
    font-size: 18px;
    font-weight: 700;
}

.test-role {
    font-size: 14px;
    color: #777;
}

.test-quote {
    font-size: 40px;
    color: #d2956d;
    margin-left: auto;
}

.test-msg {
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.test-count {
    text-align: right;
    font-size: 16px;
    background: #d2956d;
    color: #fff;
    padding: 5px 15px;
    width: fit-content;
    margin-left: auto;
    border-radius: 4px;
}

/* =============================================
   INFO + TESTIMONIAL SECTION — MOBILE VIEW
   ============================================= */
@media (max-width: 991px) {

    /* Main wrapper becomes vertical */
    .info-testimonial-section {
        flex-direction: column;
        padding: 20px;
        gap: 25px;
    }

    /* Infographic full width */
    .infographic-area {
        width: 100%;
    }

    /* Infographic title */
    .info-title {
        font-size: 26px;
        padding: 15px 18px;
        margin-bottom: 20px;
        display: block;
        text-align: center;
    }

    /* Info grid 2 columns → 1 column */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }

    /* Info box adjustments */
    .info-box {
        padding: 25px;
    }

    .info-number {
        font-size: 30px;
        text-align: center;
    }

    .info-text {
        text-align: center;
        font-size: 15px;
    }

    /* TESTIMONIAL full width */
    .testimonial-area {
        width: 100%;
    }

    .test-title {
        font-size: 26px;
        padding: 15px 18px;
        text-align: center;
        display: block;
    }

    .testimonial-slide {
        padding: 25px;
    }

    /* Test header compact */
    .test-header {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .test-img {
        width: 60px;
        height: 60px;
    }

    .test-name {
        font-size: 16px;
        text-align: center;
        width: 100%;
    }

    .test-role {
        font-size: 13px;
        width: 100%;
        text-align: center;
    }

    /* Center the quote icon */
    .test-quote {
        font-size: 30px;
        margin: 10px auto 0;
        text-align: center;
        display: block;
    }

    .test-msg {
        font-size: 14px;
        text-align: center;
    }

    .test-count {
        font-size: 14px;
        margin: 10px auto 0;
        padding: 5px 12px;
    }
}


/* Set theme color */
:root {
    --bs-secondary: #da8643 !important;
}

/* Backgrounds become orange */
.bg-secondary,
.btn-secondary,
.btn-outline-secondary,
.feature-img,
.service-content .bg-secondary {
    background-color: #da8643 !important;
    border-color: #da8643 !important;
}


.text-secondary {
    color: #da8643 !important;
}



/* Text, headings, icons must stay white */
.btn-secondary i,
.btn-secondary span,
.feature-item i,
.service-content i,
.footer-item i,
.social-bar span {
    color: #ffffff !important;
}

.services-section {
    padding: 60px 40px; /* reduced side padding */
    background: #e5e7eb;
    overflow-x: hidden; /* remove right overflow */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    width: 100%;
    max-width: 1400px;  
    margin: 0 auto; /* centers grid */
}


.services-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    display: inline-block;
    background: #fff;
    padding: 12px 25px;
    border: 1px solid #ccc;
}


.services-title {
    padding: 20px 20px;
    display: inline-block;
    background: repeating-linear-gradient(
        -45deg,
        #f8f8f8,
        #f8f8f8 8px,
        #eeeeee 8px,
        #eeeeee 16px
    );
    animation: moveLines 6s linear infinite;
    border: 1px solid #ececec;
}

.service-box {
    background: #ffffff;
    padding: 40px 35px;
    border: 2px solid transparent;   /* default transparent */
    border-bottom: 4px solid #d8c3a0; /* default bottom highlight */
    position: relative;
    transition: all 0.3s ease;
}

/* FULL BORDER ON HOVER */
.service-box:hover {
    border: 4px solid #d8c3a0;   /* full gold border */
    box-shadow: 0 12px 25px rgba(0,0,0,0.10);
    transform: translateY(-6px);
}


.service-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-icon {
    width: 45px;
    height: 45px;
}

.service-num {
    font-size: 55px;
    font-weight: 700;
    color: #e5e5e5;
}

.service-head {
    margin: 25px 0 10px;
    font-size: 20px;
    font-weight: 700;
}

.service-text {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-box .read-more {
    color: #000;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
    transition: 0.3s ease;
}

/* Underline Animation */
.service-box .read-more::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #d9a46a;  /* theme color */
    transition: width 0.35s ease;
}

/* Hover Effects */
.service-box .read-more:hover {
    color: #d9a46a;
}

.service-box .read-more:hover::after {
    width: 100%;
}




.projects-section {
    padding: 60px 40px;
    overflow: hidden;
}

.projects-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 40px;
}

.projects-header h2 {
    padding: 20px 20px;
    display: inline-block;
    background: repeating-linear-gradient(
        -45deg,
        #f8f8f8,
        #f8f8f8 8px,
        #eeeeee 8px,
        #eeeeee 16px
    );
    animation: moveLines 6s linear infinite;
    border: 1px solid #ececec;
}

.projects-header .line {
    width: 60px;
    height: 3px;
    background: #000;
}

.projects-header h2 {
    font-size: 36px;
    font-weight: 800;
}

/* GRID */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 equal columns */
    gap: 20px;
    width: 100%;
}

.project-card {
    position: relative;
    width: 100%;
    height: 280px; /* reduced size */
    border-radius: 5px;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY (HIDDEN BY DEFAULT) */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.62);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

/* EXPAND ICON */
.expand-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
}

/* TEXT */
.overlay h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #d6893c;
}

.overlay p {
    font-size: 14px;
    opacity: 0.85;
}

/* HOVER EFFECT */
.project-card:hover .overlay {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   PROJECTS SECTION — TABLET (max-width: 991px)
   ============================================ */
@media (max-width: 991px) {

    .projects-section {
        padding: 40px 20px;
    }

    .projects-header h2 {
        font-size: 28px;
        padding: 15px 18px;
    }

    .projects-header .line {
        width: 50px;
    }

    /* Reduce grid to 2 columns for tablets */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .project-card {
        height: 230px;
    }

    .overlay h3 {
        font-size: 18px;
    }

    .overlay p {
        font-size: 13px;
    }

    .expand-icon {
        font-size: 22px;
    }
}


/* ============================================
   PROJECTS SECTION — MOBILE (max-width: 576px)
   ============================================ */
@media (max-width: 576px) {

    .projects-section {
        padding: 30px 15px;
    }

    .projects-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .projects-header h2 {
        font-size: 24px;
        padding: 12px 16px;
        display: block;
    }

    .projects-header .line {
        width: 40px;
        height: 3px;
    }

    /* 1 column for mobile */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        height: 250px;
    }

    /* Overlay text smaller */
    .overlay h3 {
        font-size: 20px;
    }

    .overlay p {
        font-size: 13px;
        line-height: 1.5;
    }

    .expand-icon {
        font-size: 20px;
        top: 15px;
        right: 15px;
    }
}

.clients-section {
    position: relative;
    padding: 60px 80px;
    background: url('../img/marbel.webp');
    background-size: cover;
    overflow: hidden;
    background-position: center;
}

.clients-header h2 {
    display: inline-block;
    font-size: 36px;
    font-weight: 800;
    padding: 15px 25px;
    border: 1px solid #ddd;
    background: #fff;
    margin-bottom: 40px;
}

.clients-header h2 {
    padding: 20px 20px;
    display: inline-block;
    background: repeating-linear-gradient(
        -45deg,
        #f8f8f8,
        #f8f8f8 8px,
        #eeeeee 8px,
        #eeeeee 16px
    );
    animation: moveLines 6s linear infinite;
    border: 1px solid #ececec;
}

/* GRID */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CLIENT BOX */
.client-box {
    position: relative;
    border: 1px solid rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.4);
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* BORDER ANIMATION LAYER */
.client-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #d8c3a0;      /* gold border */
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* ON HOVER – FILL BORDER SLOWLY */
.client-box:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.client-box img {
    max-width: 120px;
    height: auto;
    opacity: 0.9;
}

/* VERTICAL TEXT */
.clients-vertical {
    position: absolute;
    right: -130px;
    top: 60%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 70px;
    font-weight: 800;
    color: rgba(0,0,0,0.1);
    letter-spacing: 10px;
}

@media (max-width: 991px) {

    .clients-section {
        padding: 40px 30px;
    }

    .clients-header h2 {
        font-size: 28px;
        text-align: center;
        display: block;
        margin: 0 auto 25px;
    }

    /* 4 → 2 columns */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .client-box {
        padding: 30px;
        height: 130px;
    }

    .client-box img {
        max-width: 100px;
    }

    /* Reduce vertical text size */
    .clients-vertical {
        right: -90px;
        font-size: 50px;
    }
}

@media (max-width: 576px) {

    .clients-section {
        padding: 25px 15px;
        overflow: hidden;
    }

    .clients-header h2 {
        font-size: 22px;
        padding: 12px 15px;
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }

    /* 4 → 1 column */
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .client-box {
        height: 120px;
        padding: 25px;
    }

    .client-box img {
        max-width: 85px;
    }

    /* Hide or minimize vertical text */
    .clients-vertical {
        font-size: 32px;
        right: -50px;
        opacity: 0.15;
        letter-spacing: 5px;
    }
}


.team-section {
    padding: 40px 0;
    overflow: hidden;
}

.team-title {
    font-size: 45px;
    font-weight: 800;
    margin-bottom: 40px;
}

.team-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.team-card {
    width: 280px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-img {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

/* DARK OVERLAY */
.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: 0.4s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

/* SOCIAL ICONS */
.team-social {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -20px);
    display: flex;
    gap: 15px;
    opacity: 0;
    transition: 0.5s ease;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #000;
    transition: 0.3s ease;
}

.team-social a:hover {
    background: #d2956d;
    color: #fff;
}

/* SHOW ICONS ON HOVER */
.team-card:hover .team-social {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.team-info {
    padding: 20px;
    text-align: left;
}

.team-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: #d2956d;
    margin-bottom: 5px;
}

.team-info p {
    margin: 0;
    font-size: 15px;
    opacity: 0.8;
}

/* SOCIAL ICONS */
.team-social {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    display: flex;
    gap: 15px;
    opacity: 0;
    transition: 0.4s ease;
}

/* SOCIAL ICON BOUNCE ANIMATION */
@keyframes iconBounce {
    0% { transform: translateY(20px); opacity: 0; }
    60% { transform: translateY(-10px); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}

/* SHOW ICONS ON HOVER */
.team-container .team-card:hover .team-social {
    opacity: 1;
}

.team-card:hover .team-social a {
    animation: iconBounce 0.5s ease forwards;
}

/* Delay each icon for smooth effect */
.team-social a:nth-child(1) { animation-delay: 0.0s; }
.team-social a:nth-child(2) { animation-delay: 0.1s; }
.team-social a:nth-child(3) { animation-delay: 0.2s; }
.team-social a:nth-child(4) { animation-delay: 0.3s; }

/* ============================================
   TEAM SECTION — MOBILE VIEW
   ============================================ */
@media (max-width: 991px) {

    .team-section {
        padding: 30px 0;
    }

    .team-title {
        font-size: 30px;
        text-align: center;
        margin-bottom: 25px;
    }

    /* Cards stack */
    .team-container {
        gap: 20px;
        justify-content: center;
        padding: 0 20px;
    }

    /* Adjust card width */
    .team-card {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    /* Reduce image height */
    .team-img {
        height: 260px;
    }

    .team-info h3 {
        font-size: 18px;
        text-align: center;
    }

    .team-info p {
        font-size: 14px;
        text-align: center;
    }

    /* Social icons scaling */
    .team-social a {
        width: 35px;
        height: 35px;
        font-size: 15px;
    }

    /* Adjust overlay and icon position */
    .team-social {
        transform: translate(-50%, -35%);
    }
}


.footer-section {
    background: #26272b;
    padding: 60px 60px 20px 60px;
    color: #d5d5d5;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

.footer-container {
    display: grid;
    grid-template-columns: 300px 320px 180px 260px;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}


.footer-logo {
    width: 170px;
    margin-bottom: 20px;
}

.footer-text {
    line-height: 1.7;
    font-size: 15px;
    color: #d1d1d1;
    max-width: 290px;
}

.footer-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    margin-right: 12px;
    font-size: 18px;
    background: #fff;
    color: #000;
    border-radius: 50%;
}

/* Titles */
.footer-title {
    color: #d9a46a;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 600;
}

/* Recent Post */
.post-item {
    display: flex;
    border-bottom: 1px solid #3e3e3e;
    padding-bottom: 15px;
    margin-bottom: 18px;
}

.post-date {
    width: 60px;
    font-size: 32px;
    font-weight: 700;
}

.post-date span {
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

.post-info {
    font-size: 16px;
    color: #e9e9e9;
}

.post-meta {
    font-size: 13px;
    margin-top: 5px;
    color: #c9c9c9;
}

/* Useful Links */
.footer-links li {
    list-style: none;
    border-bottom: 1px solid #3e3e3e;
    padding: 12px 0;
    width: 180px;
}

/* Updated link style with hover animation */
.footer-links a {
    position: relative;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s ease;
}

/* Underline hover effect */
.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: #d9a46a; /* your highlight color */
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #d9a46a;
}

.footer-links a:hover::after {
    width: 100%;
}

/* Contact */
.contact-text {
    margin-bottom: 15px;
    font-size: 16px;
}

/* Newsletter Row */
.newsletter-row {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.newsletter-left h4 {
    color: #d9a46a;
    font-size: 20px;
    margin-bottom: 10px;
}

.newsletter-left p {
    font-size: 16px;
    color: #cfcfcf;
}

/* Email box */
.newsletter-box {
    display: flex;
    width: 550px;
    height: 55px;
    background: #2f3033;
}

.newsletter-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ccc;
    padding: 0 20px;
}

.newsletter-box button {
    width: 70px;
    background: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px solid #3a3a3a;
    font-size: 16px;
    color: #cfcfcf;
}

input.error {
    border: 1px solid #ff4d4d;
    color: #ff4d4d !important;
}

input.error::placeholder {
    color: #ff4d4d;
}

.newsletter-box button {
    background: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s ease;
}

.newsletter-box button:hover {
    background: #d9a46a;
    color: #fff;
}

/* ============================================
   FOOTER — MOBILE VIEW
   ============================================ */
@media (max-width: 991px) {

    .footer-section {
        padding: 40px 20px;
        overflow: hidden;
    }

    /* GRID — 4 columns → 1 column */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 15px;
    }

    .footer-text {
        max-width: 100%;
        margin: 0 auto;
        font-size: 14px;
        line-height: 1.6;
    }

    .footer-social {
        margin-top: 15px;
    }

    /* Recent post layout becomes vertical */
    .post-item {
        justify-content: center;
    }

    .post-date {
        width: auto;
        margin-right: 15px;
        font-size: 26px;
    }

    .post-date span {
        font-size: 11px;
    }

    .post-info {
        font-size: 14px;
    }

    /* Useful links center alignment */
    .footer-links li {
        width: 100%;
        text-align: center;
    }

    .footer-links a {
        font-size: 15px;
    }

    /* CONTACT */
    .contact-text {
        text-align: center;
        font-size: 15px;
    }

    /* NEWSLETTER SECTION */
    .newsletter-row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .newsletter-left h4 {
        font-size: 18px;
    }

    .newsletter-left p {
        font-size: 14px;
        max-width: 100%;
    }

    .newsletter-box {
        width: 100%;
        height: 50px;
    }

    .newsletter-box input {
        font-size: 14px;
        padding: 0 15px;
    }

    .newsletter-box button {
        width: 60px;
        font-size: 18px;
    }

    /* ERROR INPUT MOBILE FIX */
    input.error {
        border-width: 1px;
        font-size: 14px;
    }

    /* FOOTER BOTTOM */
    .footer-bottom {
        font-size: 14px;
        padding-top: 12px;
        margin-top: 30px;
        text-align: center;
    }
}


/* ===============================
      COMMON SCROLL ANIMATION
================================= */

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 2s ease-out;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* FADE IN */
.fadeIn {
    transform: none;
}

/* FADE IN UP */
.fadeInUp {
    transform: translateY(30px);
}
.fadeInUp.active {
    transform: translateY(0);
}

/* FADE IN DOWN */
.fadeInDown {
    transform: translateY(-30px);
}
.fadeInDown.active {
    transform: translateY(0);
}

/* FADE IN TOP LEFT */
.fadeInTopLeft {
    transform: translate(-30px,-30px);
}
.fadeInTopLeft.active {
    transform: translate(0,0);
}

/* FADE IN TOP RIGHT */
.fadeInTopRight {
    transform: translate(30px,-30px);
}
.fadeInTopRight.active {
    transform: translate(0,0);
}

/* FADE IN BOTTOM LEFT */
.fadeInBottomLeft {
    transform: translate(-30px,30px);
}
.fadeInBottomLeft.active {
    transform: translate(0,0);
}

/* FADE IN BOTTOM RIGHT */
.fadeInBottomRight {
    transform: translate(30px,30px);
}
.fadeInBottomRight.active {
    transform: translate(0,0);
}


/* ============================
   MOBILE – FIX DROPDOWN ARROW
   ============================ */
/* MOBILE ONLY */
@media (max-width: 991px) {

    /* Arrow Button */
    .custom-home .arrow-toggle {
        width: 30px !important;     /* reduced size */
        height: 30px !important;
        background: #ffffff;
        border-radius: 10px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin: -48px 0 0 90px !important; /* move to right */
        box-shadow: 0 2px 10px rgba(0,0,0,0.15);
        padding: 0;
    }

    /* Arrow icon size reduce */
    .custom-home .arrow-toggle::after {
        font-size: 15px !important; 
        color: #da8643 !important;
    }

    /* Home text spacing fix */
    .custom-home .home-link {
        padding-bottom: 18px !important;
    }
}
