:root {
    --primary: #1d3124 !important;
    --secondary: #b9cec3 !important;
    --border: #e0e0e0 !important;
    --black: #1d3124 !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 180px;
}

#services {
    scroll-margin-top: 180px;
}

/* Custom CSS */
.hero-slider-active {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-section-10__banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

/* Slider Navigation Arrows */
.hero-slider-prev,
.hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.1);
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.hero-slider-prev {
    left: 50px;
}

.hero-slider-next {
    right: 50px;
}

@media (max-width: 768px) {
    .hero-slider-prev {
        left: 20px;
    }

    .hero-slider-next {
        right: 20px;
    }
}

/* All Projects Button */
.all-projects-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.all-projects-btn .text {
    position: relative;
}

.all-projects-btn .count {
    font-size: 14px;
    opacity: 0.7;
}

.all-projects-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.all-projects-btn:hover {
    color: #000;
}

.all-projects-btn:hover i {
    transform: translateX(5px);
}

/* Slider 7 Navigation Arrows */
.slider-7__wrapper {
    position: relative;
}

.slider-7-prev,
.slider-7-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.slider-7-prev:hover,
.slider-7-next:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.slider-7-prev {
    left: 30px;
}

.slider-7-next {
    right: 30px;
}

.slider-7-prev.swiper-button-disabled,
.slider-7-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .slider-7-prev {
        left: 10px;
        width: 40px;
        height: 40px;
    }

    .slider-7-next {
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

.rr-underline {
    height: fit-content !important;
}

/* Team Caption */
.team__box .caption {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
    line-height: 1.6;
}

/* Team Social Icons */
.team__box .social-icons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.team__box .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #333;
    transition: all 0.3s ease;
}

.team__box .social-icons a:hover {
    background-color: #025949;
    color: #fff;
    transform: translateY(-3px);
}

.team__box .social-icons i {
    font-size: 16px;
}

/* Black Menu Overrides */
.black-menu .main-menu > ul > li > a,
.black-menu .main-menu ul li a {
    color: #000 !important;
}

.black-menu a {
    color: #000 !important;
}

.black-menu .main-menu ul li .dp-menu li a {
    color: #666 !important;
}

.black-menu .main-menu ul li .dp-menu li a:hover {
    color: #025949 !important;
}

.black-menu .header-meta .date {
    color: #666 !important;
}

.black-menu .rr-underline .text {
    color: #000 !important;
}

.black-menu .rr-underline i {
    color: #000 !important;
}

.black-menu .side-toggle .bar-icon span {
    background-color: #000 !important;
}

.blog-details__media img {
    max-height: 600px;
}

/* Rich Editor List Overrides for Blog Detail */
.blog-details__content ul {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 60px;
    padding-left: 0;
}

.blog-details__content ul li {
    color: #555;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.48px;
    list-style: disc;
    margin-bottom: 5px;
}

/* =========================================
   LEGAL PAGE — Page Title
   ========================================= */
.legal-page-title {
    padding-top: 160px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border, #e0e0e0);
}
@media (max-width: 991px) {
    .legal-page-title {
        padding-top: 120px;
        padding-bottom: 40px;
    }
}
@media (max-width: 575px) {
    .legal-page-title {
        padding-top: 100px;
        padding-bottom: 30px;
    }
}

.legal-page-title__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.legal-page-title__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #999;
    letter-spacing: -0.2px;
}
.legal-page-title__breadcrumb a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}
.legal-page-title__breadcrumb a:hover {
    color: var(--primary, #111);
}
.legal-page-title__breadcrumb span:last-child {
    color: var(--primary, #111);
}

.legal-page-title__heading {
    font-size: 64px;
    font-weight: 500;
    line-height: 64px;
    color: var(--primary, #111);
    letter-spacing: -3px;
    max-width: 900px;
    margin: 0;
}
@media (max-width: 1199px) {
    .legal-page-title__heading {
        font-size: 52px;
        line-height: 52px;
        letter-spacing: -2.5px;
    }
}
@media (max-width: 991px) {
    .legal-page-title__heading {
        font-size: 42px;
        line-height: 44px;
        letter-spacing: -1.8px;
    }
}
@media (max-width: 575px) {
    .legal-page-title__heading {
        font-size: 30px;
        line-height: 34px;
        letter-spacing: -1px;
    }
}

/* =========================================
   LEGAL PAGE — Body Layout
   ========================================= */
.legal-page-body {
    padding-top: 70px;
    padding-bottom: 100px;
}
@media (max-width: 991px) {
    .legal-page-body {
        padding-top: 50px;
        padding-bottom: 70px;
    }
}

.legal-page-body__inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px 80px;
    align-items: start;
}
@media (max-width: 1199px) {
    .legal-page-body__inner {
        grid-template-columns: 240px 1fr;
        gap: 50px 50px;
    }
}
@media (max-width: 991px) {
    .legal-page-body__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* =========================================
   LEGAL PAGE — Sidebar
   ========================================= */
.legal-page-sidebar {
    position: sticky;
    top: 100px;
}
@media (max-width: 991px) {
    .legal-page-sidebar {
        position: static;
        border-bottom: 1px solid var(--border, #e0e0e0);
        padding-bottom: 30px;
    }
}

.legal-page-sidebar__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 20px;
    margin-top: 0;
}
.legal-page-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
@media (max-width: 991px) {
    .legal-page-sidebar__nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
}

.legal-page-sidebar__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: #999;
    text-decoration: none;
    border-bottom: 1px solid var(--border, #e0e0e0);
    letter-spacing: -0.3px;
    transition: color 0.2s, padding-left 0.2s;
    gap: 10px;
}
.legal-page-sidebar__link i {
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.legal-page-sidebar__link:hover {
    color: var(--primary, #111);
    padding-left: 6px;
}
.legal-page-sidebar__link:hover i {
    opacity: 1;
    transform: translateX(2px);
}
.legal-page-sidebar__link.is-active {
    color: var(--primary, #111);
    font-weight: 600;
    border-bottom-color: var(--primary, #111);
}
.legal-page-sidebar__link.is-active i {
    opacity: 1;
}

@media (max-width: 991px) {
    .legal-page-sidebar__link {
        border: 1px solid var(--border, #e0e0e0);
        padding: 8px 14px;
        border-radius: 100px;
        font-size: 13px;
    }
    .legal-page-sidebar__link.is-active {
        background: var(--primary, #111);
        color: #fff;
        border-color: var(--primary, #111);
    }
    .legal-page-sidebar__link i {
        display: none;
    }
}

/* =========================================
   LEGAL PAGE — Rich Text Content
   ========================================= */
.legal-page-content__iframe {
    border: 1px solid var(--border, #e0e0e0);
    border-radius: 4px;
    margin-bottom: 40px;
    display: block;
}

.legal-page-content__rich-text {
    color: #555;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.2px;
}

.legal-page-content__rich-text h1,
.legal-page-content__rich-text h2,
.legal-page-content__rich-text h3,
.legal-page-content__rich-text h4,
.legal-page-content__rich-text h5,
.legal-page-content__rich-text h6 {
    color: var(--primary, #111);
    font-weight: 500;
    letter-spacing: -0.04em;
    margin-top: 40px;
    margin-bottom: 16px;
}
.legal-page-content__rich-text h1 {
    font-size: 36px;
    line-height: 40px;
}
.legal-page-content__rich-text h2 {
    font-size: 28px;
    line-height: 32px;
}
.legal-page-content__rich-text h3 {
    font-size: 22px;
    line-height: 28px;
}
.legal-page-content__rich-text h4 {
    font-size: 18px;
    line-height: 24px;
}

.legal-page-content__rich-text p {
    margin-bottom: 20px;
}

.legal-page-content__rich-text a {
    color: var(--primary, #111);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}
.legal-page-content__rich-text a:hover {
    opacity: 0.7;
}

.legal-page-content__rich-text ul,
.legal-page-content__rich-text ol {
    margin-left: 20px;
    margin-bottom: 24px;
    padding-left: 0;
}

.legal-page-content__rich-text ul li,
.legal-page-content__rich-text ol li {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.2px;
    margin-bottom: 8px;
    list-style: disc;
    color: #555;
}
.legal-page-content__rich-text ol li {
    list-style: decimal;
}

.legal-page-content__rich-text blockquote {
    border-left: 3px solid var(--primary, #111);
    padding: 16px 24px;
    margin: 30px 0;
    background: #f8f8f8;
    color: var(--primary, #111);
    font-style: italic;
    font-size: 17px;
    line-height: 26px;
}
.legal-page-content__rich-text strong {
    font-weight: 600;
    color: var(--primary, #111);
}
.legal-page-content__rich-text hr {
    border: none;
    border-top: 1px solid var(--border, #e0e0e0);
    margin: 40px 0;
}

@media (max-width: 575px) {
    .legal-page-content__rich-text {
        font-size: 15px;
        line-height: 26px;
    }
    .legal-page-content__rich-text h2 {
        font-size: 22px;
    }
    .legal-page-content__rich-text h3 {
        font-size: 18px;
    }
}

/* =========================================
   SERVICE DETAILS — Responsive Gallery Fix
   projects-2-inner / projects-2__media
   ========================================= */

/* Tablet (768px - 991px): Galeriyi üste, içerik alta */
@media (max-width: 991px) {
    .projects-2-inner {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-left: 0;
    }

    /* Galeri: absolute yerine normal akışa al */
    .projects-2-inner .projects-2__media {
        position: relative;
        width: 100%;
        height: 320px; /* sabit yükseklik ver */
        overflow: hidden;
        border-radius: 4px;
        margin-bottom: 40px;
    }

    .projects-2-inner .projects-2__media .thumb {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        clip-path: polygon(0 100%, 0 100%, 0 100%, 0 100%);
        transition: clip-path 0.7s ease, opacity 0.7s ease;
        opacity: 0;
    }

    .projects-2-inner .projects-2__media .thumb.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
        z-index: 2;
    }

    .projects-2-inner .projects-2__media .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Mobil (< 576px): Yüksekliği biraz düşür */
@media (max-width: 575px) {
    .projects-2-inner .projects-2__media {
        height: 240px;
    }
}

/* İçerik blokları: Mobil padding */
@media (max-width: 991px) {
    .projects-2-inner .projects-2__wrapper {
        padding-bottom: 40px;
    }

    .projects-2-inner .projects-2__item {
        grid-template-columns: 1fr !important;
        padding-bottom: 40px !important;
    }

    .projects-2-inner .projects-2__item .content .list {
        margin-top: 30px !important;
    }
}

.hero-section-10__item .hero-section-10__title:last-child {
    max-width: 42%;
    line-height: 1;
}

.service-7__thumb img {
    max-height: 333px;
}

.section-title-6__wrapper .title {
    color: #b9cec3;
}

.service-7__bg {
    background-color: #1d3124;
}

.service-7__list li.active {
    color: #b9cec3;
}

.service-7__subtitle {
    color: #b9cec3;
}

.service-7__item-box::before {
    background-color: #1d3124;
}

.service-7__title {
    color: #b9cec3;
}

.service-7__dec {
    color: #b9cec3;
}

.service-7__btn .rr-underline::before {
    background-color: #b9cec3;
}

.service-7__btn .rr-underline {
    color: #b9cec3;
}

.testimonial-7__bg {
    background-color: #1d3124;
}

.testimonial-7__dec {
    color: #b9cec3;
}

.service-7 {
    a {
        &:hover {
            color: #e59560;
        }
    }
}

.slider-7__thumb img {
    max-height: 750px;
    object-fit: cover;
}

.hero-section-10__desc{
    margin-left: unset;
    margin-right: unset;
}

.hero-section-10__banner{
    padding-bottom: 300px;
}

/* Aligning .hero-section-10__title:last-child exactly beneath .xterior */
.hero-section-10__title:last-child {
    right: auto !important;
    left: 20.4% !important;
    bottom: calc(-89% - 120px) !important;
}

@media (min-width: 1920px) {
    .hero-section-10__title:last-child {
        bottom: calc(-89% - 140px) !important;
    }
}

@media (min-width: 1555px) and (max-width: 1919px) {
    .hero-section-10__title:last-child {
        left: 24.1% !important;
    }
}

@media (max-width: 1399px) {
    .hero-section-10__title:last-child {
        left: 24.1%  !important;
        bottom: calc(-85% - 85px) !important;
    }
    .hero-section-10__banner{
        padding-bottom: 150px;
    }
}

@media (max-width: 1199px) {
    .hero-section-10__title:last-child {
        left: 19% !important;
        bottom: calc(-208% - 60px) !important;
    }
}

@media (max-width: 991px) {
    .hero-section-10__title:last-child {
        left: 17% !important;
        bottom: calc(-209% - 45px) !important;
    }
}

@media (max-width: 767px) {
    .hero-section-10__title:last-child {
        left: 23% !important;
        bottom: calc(-210% - 45px) !important;
    }
  
}

@media (max-width: 575px) {
    .hero-section-10__title:last-child {
        left: 25% !important;
        bottom: calc(-184% - 35px) !important;
    }
}

@media (max-width: 450px) {
    .hero-section-10__title:last-child {
        left: 26% !important;
        bottom: calc(-122% - 25px) !important;
    }
}


.about-7__dec{
    color: #1e3124;
}





.brands-area img{
    max-height: 165px;
    object-fit: contain;
}

/* Team Section - Uniform Media Fix */
.team-area .team__box .media {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.team-area .team__box .media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.team-area .team__box:hover .media img {
    transform: scale(1.05) !important;
}

@media (max-width: 1199px) {
    .team-area .team__box .media {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 767px) {
    .team-area .team__box .media {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 575px) {
    .team-area .team__box .media {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        margin-bottom: 20px;
    }
}

/* Service Section 7 - Equal Image Widths Fix & Mobile Height Fix */
.service-7__item-box {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
}

@media (max-width: 1199px) {
    .service-7__item-box {
        gap: 20px !important;
    }
}

@media (max-width: 575px) {
    .service-7__item-box {
        position: absolute !important;
        grid-template-columns: 1fr !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        gap: 30px !important;
    }

    .service-7__item-box.active {
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: all !important;
    }

    .service-7__wrap {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    .service-7__thumb img {
        aspect-ratio: 16 / 10 !important;
        max-height: 300px !important;
    }

    .service-7__title {
        margin-top: 25px !important;
    }
}

@media (min-width: 576px) {
    .service-7__wrap {
        max-width: 1000px !important;
        height: auto !important;
        min-height: 492px;
    }
}

.service-7__thumb {
    width: 100%;
}

.service-7__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    aspect-ratio: 1 / 1 !important; 
}

.hero-section-10__desc{
    margin-bottom: 480px;
}

/* =========================================
   WORKS SECTION 10 — Equal Heights & Responsive
   ========================================= */
.works-section-10__wrap {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 60px 40px !important;
    align-items: stretch !important;
}

.works-section-10__item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    transition: transform 0.3s ease !important;
}

.works-section-10__item:hover {
    transform: translateY(-5px) !important;
}

.works-section-10__thumb {
    width: 100% !important;
    aspect-ratio: 1.5 / 1 !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: #f5f5f5 !important;
    position: relative !important;
}

/* Force hover animation container and inner elements to match thumb height */
.works-section-10__thumb a,
.works-section-10__thumb .rr--hover-img,
.works-section-10__thumb .rr--hover-img canvas,
.works-section-10__thumb img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.works-section-10__item:hover .works-section-10__thumb img {
    transform: scale(1.1) !important;
}

.works-section-10__content {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding-top: 24px !important;
}

.works-section-10__content .title {
    font-size: 24px !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
}

.works-section-10__content .meta {
    margin-top: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-top: 1px solid rgba(0,0,0,0.05) !important;
    padding-top: 15px !important;
}

.works-section-10__content .meta .tag,
.works-section-10__content .meta .date {
    font-size: 14px !important;
    color: #666 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Breakpoints */
@media (max-width: 1199px) {
    .works-section-10__wrap {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 50px 30px !important;
    }
    .works-section-10__content .title {
        font-size: 20px !important;
    }
}

@media (max-width: 767px) {
    .works-section-10__wrap {
        grid-template-columns: 1fr !important;
        gap: 40px 0 !important;
    }
    .works-section-10__thumb {
        aspect-ratio: 16 / 10 !important;
    }
}



