@font-face {
    font-family: 'Gotham Book';
    src: url('../fonts/GOTHAM-BOOK_0.OTF') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham Narrow Light';
    src: url('../fonts/GOTHAMNARROW-LIGHT_1.OTF') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham Pro Bold';
    src: url('../fonts/GothaProBol.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'gotham';
    src: url('../fonts/GOTHAM-BOOK_0.OTF') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'gotham';
    src: url('../fonts/GOTHAMNARROW-LIGHT_1.OTF') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'gotham';
    src: url('../fonts/GothaProBol.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* Full Page Scrolling Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Gotham Book', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

#fullpage {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Section Styles for Full Page Scrolling */
.section1,
.section2,
.section3,
.section4 {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Ensure proper spacing between sections */
.section1 {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.section1 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fill without distortion */
}

.mobile-video {
    display: none;
}

.section2 {
    font-family: "Quicksand", sans-serif !important;
    text-align: center;
    background: url(../images/global.jpg), #7e572c !important;
    background-blend-mode: hard-light;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section3 {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section4 {
    background-color: #524f4f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    height: auto;
    overflow: visible;
}

/* Custom Scrollbar Styles */
.custom-scrollbar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.1);
    padding: 20px 10px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.scroll-dot:hover {
    background-color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-dot.active {
    background-color: #f9b56f;
    border-color: #f9b56f;
    transform: scale(1.4);
    box-shadow: 0 0 20px rgba(249, 181, 111, 0.6);
}

.scroll-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-dot.active::after {
    opacity: 1;
}

/* Tooltip for scroll dots */
.scroll-dot::before {
    content: attr(title);
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10001;
}

.scroll-dot:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Navigation Arrow Styles */
.nav-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-arrow.up {
    top: 30px;
}

.nav-arrow.down {
    bottom: 30px;
    visibility: hidden;

}

.nav-arrow i {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-arrow:hover i {
    color: #f9b56f;
    transform: scale(1.2);
}

/* Smooth Transition Effects */
.section-transition {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Ensure smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    font-family: 'Gotham Book', sans-serif;
    margin: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Section content positioning */
.section2 .container,
.section3 .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

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

/* Container Styles */
.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}

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

.header {
    background-color: rgba(0, 0, 0, 1);
    padding-top: 10px;
    width: 100%;
    top: 0;
    position: fixed;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
    z-index: 9999;
}

.nav-menu {
    padding-right: 35px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    column-gap: 20px;
}

.nav-menu ul li a {
    color: #FFFFFF;
    font-size: 13px;
    font-family: 'gotham';
    font-weight: 300;
    text-decoration: unset;
    text-transform: uppercase;
    transition: all 0.5s;
}

.nav-menu ul li a:hover {
    color: #efae6a !important;
}

.nav-menu ul li.contact-us a {
    border: 1px solid #e3a466;
    padding: 10px 18px;
    color: #FFFFFF;
    font-size: 13px;
    font-family: 'gotham';
    font-weight: 300;
    text-decoration: unset;
    text-transform: uppercase;
    transition: 1s;
}

.nav-menu ul li.contact-us a:hover {
    background-color: #f9b56f !important;
    color: #FFFFFF !important;
}

.heading1 {
    font-family: 'Quicksand', sans-serif !important;
    color: #FFFFFF;
    font-size: 30px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
}

.heading2 {
    font-family: 'Quicksand', sans-serif !important;
    color: #000000;
    font-size: 30px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}

.heading2 {
    font-family: 'gotham' !important;
    font-weight: 100;
    font-size: 30px;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}

.heading3 {
    font-family: 'gotham' !important;
    font-weight: 100;
    color: #FFFFFF;
    font-size: 30px;
    text-transform: uppercase;
    margin: 30px 0;
    text-align: center;
}

.content1 {
    font-size: 16px;
    line-height: 22.8px;
    font-weight: bolder;
    color: #FFFFFF;
    margin: 0;
    padding: 10px;
}

.the-firm {
    margin-top: 30px;
}

.practice-area-boxes {
    display: flex;
    font-family: 'gotham' !important;
}

.pa-box1 {
    width: 33.33%;
    max-width: 370px;
    padding: 10px 10px 0;
    text-align: center;
}

.pa-box2,
.pa-box3 {
    width: 33.33%;
    max-width: 370px;
    padding: 10px 10px 0;
    text-align: center;
}

h3.practice-area-heading {
    color: #000000 !important;
    height: 50px !important;
    margin: 25px auto 13px;
    font-size: 24px;
    font-weight: 100;
}

p.practice-area-content {
    color: #787878 !important;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    padding: 0;
    font-weight: 100;
    text-align: justify;
}

footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 90000;
    background: #000000;
    color: #FFFFFF;
    font-family: 'gotham' !important;
    font-family: 'gotham' !important;
    font-weight: 100 !important;
    padding: 16.3px 0px !important;
    border-top: 1px solid #2b2b2b !important;
}

footer ul.footer-list {
    display: flex;
    align-items: end;
    list-style: none;
    margin: 0;
}

.footer-contact a {
    border: 1px solid #f9b56f;
    padding: 5px 10px;
    color: #fff;
    transition: 1s;
    font-size: 20px;
    font-weight: 100;
    text-decoration: unset;
}

.footer-contact a:hover {
    background-color: #f9b56f !important;
    opacity: .7;
}

footer ul.footer-list li,
li a {
    color: #ffffff;
    font-size: 13px;
    font-weight: 100;
    text-decoration: unset;
}

.footer-disclaimer {
    padding: 0 10px 0 20px;
}

.home_scroll_button1,
.home_scroll_button2 {
    bottom: 75px;
    left: 50%;
    margin-left: -23px;
    position: absolute;
    z-index: 9;
}

.home_scroll_button_up.pozicija_relative,
.home_scroll_button1.pozicija_relative {
    bottom: inherit;
    left: inherit;
    margin-left: 0;
    position: relative;
    z-index: 9;
    display: block;
    height: 80px;
}

.home-circle-button {
    width: 45px;
    height: 45px;
    /* border-radius: 100%; */
    padding: 0 !important;
    line-height: 45px;
    font-size: 21px;
    color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0px;
    border: 2px solid white !important;
}

.home-circle-button i {
    color: #fff;
}

.home-extra-note a:hover .home-circle-button {
    background: rgba(76, 76, 76, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.3);
}

.home_scroll_button1 i {
    font-size: 20px;
    color: #FFFFFF;
}

.home_scroll_button2 i {
    font-size: 20px;
    color: #333333;
}

.home_scroll_button1 {
    border: 2px solid #FFFFFF;
    padding: 10.5px 12px;
}

.home_scroll_button2 {
    border: 2px solid #333333;
    padding: 10.5px 12px;
}

.about-us {
    background-image: url("../images/contactuspage-scaled.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.iframe-container {
    background-color: #232323D4;
}

body.contact-us-page {
    overflow: unset !important;
    scroll-behavior: smooth !important;
}

.about-us .container {
    padding: 100px 20px;
}

.about-us h2.heading2 {
    font-weight: bold;
    color: #FFF;
    font-size: 52px;
    text-transform: unset;
}

/* Responsive Design */
@media (max-width: 1280px) {
    .container {
        max-width: 90% !important;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        padding-right: 0px;
    }

    .nav-menu ul {
        column-gap: 15px;
    }

    footer ul.footer-list {
        padding: 0;
    }

    .section1 {
        height: unset !important;
        min-height: unset !important;
        background: #333333;
    }

    section#section2 {
    margin-top: -4px;
}

    .section4 {
        height: unset;
    }

    .carousel-slider.arrows-outside .owl-nav .owl-prev {
        left: 0 !important;
    }

    .carousel-slider.arrows-outside .owl-nav .owl-next {
        right: 0 !important;
    }

    footer {
        position: unset;
    }

    footer ul.footer-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 20px;
        gap: 20px;
        text-align: center;
    }

    .home_scroll_button1,
    .home_scroll_button2 {
        display: none;
    }

    .section2 .container,
    .section3 .container {
        padding: 50px 20px !important;
    }

    h3.practice-area-heading {
        height: unset !important;
        margin: 20px auto 13px;
        font-size: 20px;
    }

    .pa-box1,
    .pa-box2 {
        width: 33.33%;
        max-width: 370px;
    }

    .about-us h2.heading2 {
        font-size: 30px;
    }

    .about-us .container {
        padding: 100px 20px 50px;
    }

    canvas#video_tajmer {
        display: none;
    }
}

@media (max-width: 768px) {
    .custom-scrollbar {
        right: 10px;
    }

    .scroll-dot {
        width: 10px;
        height: 10px;
    }

    .nav-arrow {
        display: none;
    }

}

@media (max-width: 767px) {
    .nav-menu ul li {
        display: none;
    }

    .nav-menu ul li.contact-us {
        display: block;
    }

    .nav-menu {
        padding-right: 20px;
    }

    .desktop-video {
        display: none;
    }

    .mobile-video {
        display: block;
    }

    .heading1,
    .heading2,
    .heading3 {
        font-size: 25px;
    }

    .heading3 {
        margin: 20px 0;
    }

    .section4 {
        height: auto !important;
        min-height: auto !important;
    }

    .nav-menu ul {
        column-gap: 0;
        padding: 0 !important;
    }

    .nav-menu ul li.contact-us a {
        padding: 10px 10px;
    }
}


/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Practice area boxes responsive layout */
@media (max-width: 768px) {
    .practice-area-boxes {
        flex-direction: column;
        align-items: center;
    }

    .pa-box1,
    .pa-box2,
    .pa-box3 {
        width: 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .section2 .container,
    .section3 .container,
    .section4 .container {
        padding: 20px;
    }
}

/* Ensure carousel slider works properly in section4 */
.section4 .carousel-slider-outer {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.section4 .carousel-slider__item {
    position: relative;
    overflow: hidden;
}

.section4 .carousel-slider__item img {
    width: 100%;
    height: auto;
    display: block;
}

.section4 .carousel-slider__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* background: rgba(0, 0, 0, 0.7); */
    color: white;
    padding: 15px;
    text-align: center;
}

.section4 .carousel-slider__caption .title {
    margin: 0;
    font-size: 16px;
    font-weight: 300;
    font-family: 'gotham', sans-serif;
}

@media (max-width: 1025px) {

    .custom-scrollbar,
    .nav-arrow {
        display: none !important;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 1024px) {
    #fullpage {
        height: auto;
        overflow: visible;
    }

    .section1,
    .section2,
    .section3,
    .section4 {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    body {
        overflow: auto;
        scroll-behavior: auto;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Desktop styles (above 1024px) */
@media (min-width: 1025px) {
    #fullpage {
        height: 100vh !important;
        overflow: hidden !important;
    }

    .section1,
    .section2,
    .section3,
    .section4 {
        height: 100vh !important;
        overflow: hidden !important;
    }

    body {
        overflow: hidden !important;
        scroll-behavior: smooth !important;
    }

    html {
        scroll-behavior: smooth !important;
    }
}