/* ============================================
   GLOBAL STYLES - Qiblocks3 Theme
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* ============================================
   GLOBAL FONT SYSTEM — FINAL, CLIENT-APPROVED
   Headings: Oswald | Body: Cormorant
   ============================================ */

body {
    font-family: "Cormorant", serif;
    font-weight: 500;
    background-color: #fff;
    color: #1e1e1e;
    line-height: 1.7;
}

.body-text, p {
    font-family: "Cormorant", serif;
    font-weight: 500;
    line-height: 1.4;
    color: #333;
}

.checklist-item {
    font-family: "Cormorant", serif;
    letter-spacing: 0.2px;
}
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}
/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: "Oswald", sans-serif !important;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.section-title {
    font-family: "Oswald", sans-serif !important;
   font-size:40px;
   font-weight:500;
    font-style: normal;
   
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
@media (max-width: 1024px) {
    .section-title {
        font-size: 40px;
        line-height: 48px;
    }
}
@media (max-width: 680px) {
    .section-title {
        font-size: 32px;
        line-height: 40px;
    }
    .container {
        padding: 0 27px;
    }
}
@media (max-width: 767px) {
    p
    {
        font-size:14px !important;
    }
    ul li
    {
        font-size:14px !important;
    }
    
}
/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #000;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    padding: 14px 45px;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #1e1e1e;
}

.btn-textual {
    font-weight: 500;
    font-size: 17px;
    color: #1e1e1e;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
/* ========================================
   HEADER
======================================== */

.site-header{
    position:relative;
    width:100%;
    background:#ffffff;
    z-index:9999;
    box-shadow:0 2px 12px rgba(0,0,0,.04);
}

.site-header *,
.site-header *::before,
.site-header *::after{
    box-sizing:border-box;
}


/* ========================================
   WHITE BACKGROUND BELOW HEADER
======================================== */

.site-header::after{
    content:"";
    position:absolute;
    top:100%;
    left:0;

    width:100%;
    height:calc(100vh - 120px);

    background:#ffffff;

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transition:
        opacity .25s ease,
        visibility .25s ease;

    z-index:1;
}

.site-header:has(.nav-dropdown:hover)::after,
.site-header:has(.nav-dropdown:focus-within)::after,
.site-header:has(.nav-dropdown.dropdown-open)::after{
    opacity:1;
    visibility:visible;
}


/* ========================================
   HEADER INNER
======================================== */

.header-inner{
    position:relative;
    z-index:2;

    width:100%;
    max-width:1280px;
    min-height:120px;
    margin:0 auto;
    padding:20px 40px;

    display:flex;
    align-items:center;
    justify-content:space-between;
}


/* ========================================
   HEADER COMPANY LOGO
======================================== */

.site-logo{
    flex:0 1 auto;
    min-width:0;
}

.site-logo > a{
    display:flex;
    align-items:center;
    text-decoration:none;
    line-height:normal;
}

.hero-company-title{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:15px;

    margin:0;
    padding:0;
    flex-wrap:nowrap;
}

.site-logo .hero-company-logo{
    display:block;
    flex:0 0 auto;

    width:82px;
    height:auto;
    max-height:76px;

    object-fit:contain;
}

.hero-company-text{
    min-width:0;
    text-align:left;
}

.hero-company-text .company-name{
    margin:0;
    font-family:"Oswald", sans-serif !important;
    color:#111111;
    font-size:22px;
    line-height:1.15;
    font-weight:800;
    letter-spacing:.4px;
    white-space:nowrap;
    text-transform:uppercase;
}

.hero-company-text span{
    display:block;
    font-family:"Oswald", sans-serif !important;
    margin-top:6px;
    color:#111111;
    font-size:18px;
    line-height:1.2;
    font-weight:500;
    letter-spacing:1.9px;
    white-space:nowrap;
    text-transform:uppercase;
}


/* ========================================
   TABLET
======================================== */

@media(max-width:991px){

    .hero-company-title{
        gap:11px;
    }

    .site-logo .hero-company-logo{
        width:68px;
        max-height:64px;
    }

    .hero-company-text .company-name{
        font-size:17px;
    }

    .hero-company-text span{
        margin-top:4px;
        font-size:11px;
        letter-spacing:1.3px;
    }
}


/* ========================================
   SMALL MOBILE
======================================== */

@media(max-width:576px){

    .hero-company-title{
        gap:8px;
    }

    .site-logo .hero-company-logo{
        width:52px;
        max-height:50px;
    }

    .hero-company-text .company-name{
        font-size:12px;
        line-height:1.15;
        letter-spacing:0;
    }

    .hero-company-text span{
        margin-top:3px;
        font-size:8px;
        line-height:1.2;
        letter-spacing:.7px;
    }
}


/* ========================================
   VERY SMALL MOBILE
======================================== */

@media(max-width:380px){

    .site-logo .hero-company-logo{
        width:44px;
    }

    .hero-company-text .company-name{
        font-size:10px;
    }

    .hero-company-text span{
        font-size:7px;
        letter-spacing:.4px;
    }
}


/* ========================================
   DESKTOP NAVIGATION
======================================== */

.main-nav{
    display:flex;
    align-items:center;
    margin-left:auto;
}

.nav-menu{
    display:flex;
    align-items:center;
    gap:45px;

    margin:0;
    padding:0;
    list-style:none;
}

.nav-item{
    position:relative;
    margin:0;
    padding:0;
}

.nav-item.nav-dropdown{
    position:relative;
}

.nav-link{
    position:relative;

    display:flex;
    align-items:center;
    gap:8px;

    padding:14px 0;

    color:#111111;
    font-size:24px;
    line-height:1.4;
    font-weight:600;
    text-decoration:none;

    transition:color .25s ease;
}

.nav-link::after{
    content:"";

    position:absolute;
    left:0;
    bottom:5px;

    width:0;
    height:2px;

    background:#222222;

    transition:width .3s ease;
}

.nav-link:hover,
.nav-link.active{
    color:#000000;
}

.nav-link:hover::after,
.nav-link.active::after{
    width:100%;
}

.nav-link i{
    font-size:11px;
    transition:transform .3s ease;
}

.desktop-dropdown-toggle{
    display:none;
}




.dropdown-menu{
    position:absolute;
    top:calc(100% + 15px);

    /* Extend the menu toward the right side */
    right:-190px;
    left:auto;

    width:65vw;
    min-width:760px;
    max-width:1050px;

    margin:0;
    padding:0;
    list-style:none;

    background:#ffffff;
    border-top:3px solid #b58a43;
    box-shadow:0 22px 50px rgba(0,0,0,.14);

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transform:translateY(12px);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease;

    z-index:10;
}


/* Keeps hover active across the gap */

.dropdown-menu::before{
    content:"";
    position:absolute;
    top:-18px;
    left:0;

    width:100%;
    height:18px;
}


/* Dropdown list items */

.dropdown-menu li{
    width:100%;
    margin:0;
    padding:0;
}


/* Taller dropdown rows */

.dropdown-menu a{
    display:flex;
    align-items:center;

    width:100%;
    min-height:90px;
    padding:18px 15px;

    color:#333333;
    background:#ffffff;

    font-size:22px;
    line-height:1.45;
    font-weight:600;
    text-decoration:none;

    border-bottom:1px solid #e8e8e8;

    transition:
        color .25s ease,
        background-color .25s ease,
        padding-left .25s ease;
}

.dropdown-menu li:last-child a{
    border-bottom:0;
}

.dropdown-menu a:hover,
.dropdown-menu a.active{
    color:#ffffff;
    background:#000000;
    padding-left:58px;
}


/* ========================================
   OPEN DROPDOWN
======================================== */

.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown:focus-within > .dropdown-menu,
.nav-dropdown.dropdown-open > .dropdown-menu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0);
}

.nav-dropdown:hover > .dropdown-main-link i,
.nav-dropdown:focus-within > .dropdown-main-link i,
.nav-dropdown.dropdown-open > .dropdown-main-link i{
    transform:rotate(180deg);
}


/* ========================================
   MOBILE MENU BUTTON
======================================== */

.mobile-menu-btn{
    display:none;
    align-items:center;
    justify-content:center;

    width:46px;
    height:46px;
    margin-left:auto;
    padding:0;

    color:#111111;
    background:transparent;

    border:1px solid #dddddd;
    cursor:pointer;

    font-size:22px;
}


/* ========================================
   MOBILE NAVIGATION
======================================== */

.mobile-nav{
    display:none;
    width:100%;

    background:#ffffff;
    border-top:1px solid #eeeeee;
}

.mobile-nav.open{
    display:block;
}

.mobile-nav-list,
.mobile-submenu{
    margin:0;
    padding:0;
    list-style:none;
}

.mobile-nav-list > li{
    border-bottom:1px solid #eeeeee;
}

.mobile-nav-link{
    display:block;
    padding:16px 20px;

    color:#111111;
    font-size:16px;
    font-weight:600;
    text-decoration:none;
}

.mobile-nav-link.active{
    color:#b58a43;
}

.mobile-dropdown-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.mobile-dropdown-heading .mobile-nav-link{
    flex:1;
}

.mobile-dropdown-toggle{
    flex:0 0 52px;

    width:52px;
    height:52px;
    padding:0;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#111111;
    background:transparent;

    border:0;
    border-left:1px solid #eeeeee;

    cursor:pointer;
}

.mobile-dropdown-toggle i{
    font-size:12px;
    transition:transform .3s ease;
}

.mobile-dropdown.open .mobile-dropdown-toggle i{
    transform:rotate(180deg);
}

.mobile-submenu{
    display:none;
    padding:5px 0;

    background:#f7f7f7;
}

.mobile-dropdown.open .mobile-submenu{
    display:block;
}

.mobile-submenu a{
    display:block;
    padding:13px 20px 13px 38px;

    color:#444444;
    font-size:14px;
    line-height:1.5;
    text-decoration:none;

    border-bottom:1px solid #e8e8e8;
}

.mobile-submenu li:last-child a{
    border-bottom:0;
}

.mobile-submenu a:hover,
.mobile-submenu a.active{
    color:#ffffff;
    background:#000000;
}


/* ========================================
   TABLET AND MOBILE
======================================== */

@media(max-width:991px){

    .site-header::after{
        display:none;
    }

    .header-inner{
        min-height:100px;
        padding:15px 20px;
        gap:20px;
    }

    .site-logo img{
        width:95px;
    }

    .main-nav{
        display:none;
    }

    .mobile-menu-btn{
        display:flex;
    }

    .dropdown-menu{
        display:none;
    }
}


/* ========================================
   DESKTOP ONLY
======================================== */

@media(min-width:992px){

    .mobile-nav{
        display:none !important;
    }
}


/* ========================================
   SMALL MOBILE
======================================== */

@media(max-width:576px){

    .header-inner{
        min-height:85px;
        padding:12px 15px;
    }

    .site-logo img{
        width:80px;
    }

    .mobile-menu-btn{
        width:42px;
        height:42px;
        font-size:20px;
    }
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
   
    padding-top: 30px;
  
}


.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-weight: 500;
    font-size: 40px;
    margin-bottom: 27px;
}

.hero-text {
    font-size: 18px;
    line-height: 37px;
    margin-bottom: 25px;
}

.hero-image img {
    width: 100%;
    height: 300px;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 25px;
    }
    .hero-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
   
}

/* ============================================
   TUNED SECTION
   ============================================ */
.tuned-section {
    margin: 100px 0;
}

.tuned-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.counter-digit {
    font-size: 70px;
    font-weight: 500;
    color: #929191;
}

.counter-title {
    font-size: 20px;
}

.counter-text {
    font-size: 18px;
    margin-top: 7px;
    color: #000;
}

.tuned-image img {
    width: 100%;
    height: 500px;
}

@media (max-width: 768px) {
    .tuned-section {
        margin: 50px 0;
    }
    .tuned-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 20px;
    }
    .counter-digit {
        font-size: 48px;
    }
    .counter-title {
        font-size: 17px;
    }
    .counter-text {
        font-size: 15px;
        margin-top: 5px;
    }
    .tuned-image img {
        height: 280px;
        object-fit: cover;
    }
}

/* FAQ SECTION */
.faq-section {
    width: 100%;
    padding: 30px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 80px;
}

/* IMAGE */
.faq-image {
    width: 100%;
    overflow: hidden;
}

.faq-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/* FAQ CONTENT */
.faq-content {
    width: 100%;
}




/* ACCORDION */
.accordion {
    width: 100%;
}

.accordion-item {
    border-bottom: 1px solid #dddddd;
}

.accordion-item:first-child {
    border-top: 1px solid #dddddd;
}


/* QUESTION */
.accordion-header {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    cursor: pointer;
    text-align: left;
    color: #222222;
}


/* H3 QUESTION */
.accordion-header h3 {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 600;
    color: #222222;
    flex: 1;
}


/* CHEVRON */
.accordion-header i {
    flex: 0 0 auto;
    font-size: 13px;
    transition: transform 0.3s ease;
}


/* OPEN CHEVRON */
.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}


/* ANSWER */
.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.accordion-inner {
    overflow: hidden;
}

.accordion-inner p {
    margin: 0;
    padding: 0 45px 25px 0;
    font-size: 15px;
    line-height: 1.8;
    color: #666666;
}


/* OPEN ANSWER */
.accordion-item.active .accordion-content {
    grid-template-rows: 1fr;
}


/* HOVER */
.accordion-header:hover h3 {
    color: #555555;
}


/* ==================== TABLET ==================== */
@media (max-width: 991px) {

    .faq-section {
        padding: 80px 0;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .faq-image {
        max-width: 700px;
    }

}


/* ==================== MOBILE ==================== */
@media (max-width: 767px) {

    .faq-section {
        padding: 60px 0;
    }

  

    .accordion-header {
        padding: 20px 0;
        gap: 20px;
    }

    .accordion-header h3 {
        font-size: 16px;
        line-height: 1.5;
    }

    .accordion-inner p {
        padding: 0 25px 20px 0;
        font-size: 14px;
        line-height: 1.7;
    }

}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .faq-content {
        order: 1;   /* content shows first */
    }

    .faq-image {
        order: 2;   /* image shows after content/FAQ */
    }
}
.htc-divisions-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding:50px;
}

.htc-divisions-heading {
   text-align:center;
}


.htc-eyebrow {
    display: inline-block;
    margin-bottom: 22px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #000000;
    text-align:center;
}



/* =========================
   ZIG ZAG ROW
========================= */

.htc-division-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
}

.htc-division-row:last-child {
    margin-bottom: 0;
}


/* REVERSE ROW */

.htc-division-row.reverse {
    grid-template-columns: 1.1fr 0.9fr;
}


/* =========================
   TEXT CONTENT
========================= */

.htc-division-content {
    position: relative;
    padding: 30px 20px 30px 0;
    width: 100%;
    box-sizing: border-box;
    
    /* Text reveal */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2, .7, .2, 1);
}

.htc-division-row.reverse .htc-division-content {
    padding: 30px 0 30px 20px;
}


/* When row becomes visible */

.htc-division-row.is-visible .htc-division-content {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   NUMBER
========================= */

.htc-division-number {
    display: block;
    margin-bottom: 25px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #999;
}


/* =========================
   HEADING
========================= */

.htc-division-content h3 {
    margin: 0;
    max-width: 600px;
    font-size:33px;
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: #171717;
}


/* =========================
   CENTERED DIVIDER
========================= */
.htc-divider {
    display: block;
    width: 55px;
    height: 2px;
    background: #222;
    position: relative;
    left: 30%;
    transform: translateX(-50%);
    margin: 22px 0;
}


/* =========================
   PARAGRAPH
========================= */

.htc-division-content p {
    max-width: 620px;
    margin: 0;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.85;
    font-weight: 400;
    color: #555;
}


.htc-image-wrap img {
    width: 100%;
   height:400px;
    display: block;
    object-fit: cover;
}
/* =========================
   TEXT SCROLL REVEAL
========================= */

.reveal-row {
    opacity: 1;
    transform: none;
}


/* Text starts hidden */

.reveal-row .htc-division-content {
    opacity: 0;
    transform: translateY(45px);
    transition:
        opacity 0.9s ease,
        transform 1s cubic-bezier(.2, .7, .2, 1);
}


/* Text becomes visible */

.reveal-row.is-visible .htc-division-content {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   STAGGERED TEXT REVEAL
========================= */

.htc-division-content .htc-division-number,
.htc-division-content h3,
.htc-division-content .htc-divider,
.htc-division-content p {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.7s ease,
        transform 0.8s cubic-bezier(.2, .7, .2, 1);
}


/* Number */

.reveal-row.is-visible .htc-division-number {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.05s;
}


/* Heading */

.reveal-row.is-visible .htc-division-content h3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}


/* Divider */

.reveal-row.is-visible .htc-divider {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}


/* Paragraph */

.reveal-row.is-visible .htc-division-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}
.htc-image-wrap {
    overflow: hidden;
}
/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

    .htc-divisions-section {
        padding: 90px 0;
    }

    .htc-divisions-heading {
        margin-bottom: 80px;
    }

    .htc-division-row,
    .htc-division-row.reverse {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        margin-bottom: 30px;
    }

    .htc-image-wrap {
        height: 450px;
    }

    .htc-division-content p {
        font-size: 15px;
        line-height: 1.75;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .htc-divisions-section {
        padding: 70px 0;
    }


    .htc-divisions-heading {
        margin-bottom: 60px;
    }


    .htc-eyebrow {
        margin-bottom: 15px;
        font-size: 10px;
        letter-spacing: 2px;
    }


    .htc-divisions-heading h2 {
        font-size: 40px;
        line-height: 1;
        letter-spacing: -1px;
    }


    /*
       On mobile every row becomes:
       IMAGE
       TEXT

       This gives a clean reading flow.
    */

    .htc-division-row,
    .htc-division-row.reverse {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 35px;
    }


    .htc-division-image {
        width: 100%;
        order: 1;
    }


    .htc-division-content,
    .htc-division-row.reverse .htc-division-content {
        width: 100%;
        order: 2;
        padding: 0;
    }


    .htc-image-wrap {
        height: 360px;
    }


    .htc-division-number {
        margin-bottom: 15px;
        font-size: 13px;
        letter-spacing: 2px;
    }


    .htc-division-content h3 {
        font-size: 25px !important;
        line-height: 1.05;
        letter-spacing: -0.5px;
    }


    .htc-divider {
        margin: 22px 0;
    }


    .htc-division-content p {
        font-size: 15px;
        line-height: 1.75;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .htc-divisions-section {
        padding: 55px 0;
    }


    .htc-divisions-heading h2 {
        font-size: 34px;
    }


    .htc-image-wrap {
        height: 300px;
    }


    .htc-division-content h3 {
        font-size: 26px;
    }


    .htc-division-content p {
        font-size: 14px;
        line-height: 1.7;
    }

}


/* ============================================
   ABOUT TABS SECTION
   ============================================ */
.about-tabs-section {
    margin: 100px 0;
}

.text-center {
    text-align: center;
}

.about-subtitle {
    font-weight: 500;
    font-size: 17px;
    color: #1e1e1e;
    display: block;
    margin-bottom: 7px;
}

.about-title {
    font-size: 50px;
    line-height: 60px;
    font-weight: 500;
    margin-bottom: 60px;
}

.about-tabs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about-image img {
    width: 100%;
    height: auto;
}

.tabs-nav {
    display: flex;
    gap: 35px;
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 35px;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 20px;
    font-weight: 500;
    color: #c4c4c4;
    padding: 0 0 10px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #1e1e1e;
    border-bottom: 3px solid #1e1e1e;
}

.tab-pane {
    display: none;
    font-size: 17px;
    line-height: 26px;
}

.tab-pane.active {
    display: block;
}

@media (max-width: 768px) {
    .about-title {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 40px;
    }
    .about-tabs-grid {
        grid-template-columns: 1fr;
    }
    .tabs-nav {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* ============================================
   FOOTER
============================================ */

.site-footer {
    width: 100%;
    background-color: #f8f8f8;
    padding-top: 40px;
}


/* ============================================
   FOOTER GRID
============================================ */

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    width: 100%;
    max-width: 1000px;

    margin: 0 auto;
    padding-bottom: 70px;

    gap: 70px;

    align-items: start;
}


/* ============================================
   FOOTER COLUMN
============================================ */

.footer-col {
    width: 100%;
    
}


/* ============================================
   LOGO
============================================ */

.footer-logo {
    display: block;

    width: auto;
    max-width: 128px;

    margin: 0 auto 25px;
}


/* ============================================
   HEADINGS
============================================ */

.footer-heading {
    margin: 25px 0 18px;

    font-size: 18px;
    line-height: 1.3;

    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1px;

    color: #171717;
}


/* ============================================
   TEXT
============================================ */

.footer-col p {
    margin: 0 0 12px;

    font-size: 18px;
    line-height: 1.8;

    font-weight: 400;

    color: #555;
}


/* ============================================
   LINKS
============================================ */

.footer-col a {
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    color: #555;
    text-decoration: none;
}
.footer-col a:hover {
    
    color:black;
}


/* ============================================
   PORTFOLIO LINKS
============================================ */

.footer-links {
    list-style: none;

    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 13px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links li a {
    display: inline-block;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}


/* ============================================
   FOOTER BOTTOM
============================================ */

.footer-bottom {
    width: 100%;

    padding: 25px 0;

    border-top: 1px solid #e2e2e2;

    text-align: center;
}

.footer-bottom p {
    margin: 0;

    font-size: 18px;
    line-height: 1.5;

    color: #666;
}


/* ============================================
   TABLET
============================================ */

@media (max-width: 991px) {

    .site-footer {
        padding-top: 80px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);

        max-width: 850px;

        gap: 40px;

        padding-bottom: 60px;
    }

    .footer-col p,
    .footer-col a,
    .footer-links li a {
        font-size: 15px;
    }

}


/* ============================================
   MOBILE
============================================ */

@media (max-width: 767px) {

    .site-footer {
        padding-top: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        max-width: 450px;

        gap: 45px;

        padding-bottom: 50px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-heading {
        margin-top: 20px;
        font-size: 17px;
    }

    .footer-col p {
        font-size: 15px;
        line-height: 1.7;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links li a {
        font-size: 15px;
    }

    .footer-bottom {
        padding: 22px 15px;
    }

    .footer-bottom p {
        font-size: 13px;
    }

}


/* ============================================
   SMALL MOBILE
============================================ */

@media (max-width: 480px) {

    .site-footer {
        padding-top: 50px;
    }

    .footer-grid {
        gap: 35px;

        padding-left: 20px;
        padding-right: 20px;

        box-sizing: border-box;
    }

    .footer-col p,
    .footer-col a,
    .footer-links li a {
        font-size: 14px;
    }

}
/* ============================================
   ABOUT PAGE SPECIFIC STYLES
   ============================================ */

/* Hero section with background image */
.about-hero {
    min-height: 450px;
    background-image: url('https://qiblocks3.qodeinteractive.com/wp-content/uploads/2022/04/title-img-2.jpg');
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

.about-hero-content {
    max-width: 50%;
    margin: 0 auto;
    background: rgba(0,0,0,0.2); /* subtle overlay for readability */
    padding: 40px;
    border-radius: 4px;
}

.about-hero-title {
    font-size: 70px;
    font-weight: 400;
    line-height: 75px;
    margin-bottom: 19px;
    color: #fff;
}

.about-hero-text {
    font-size: 23px;
    line-height: 33px;
    color: #fff;
}

/* What we do section */
.what-we-do {
    margin: 100px 0;
}

.text-center {
    text-align: center;
}

.section-subtitle {
    font-size: 17px;
    font-weight: 500;
    color: #1e1e1e;
    display: block;
    margin-bottom: 7px;
}


.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.work-card img {
    width: 100%;
    height: auto;
    margin-bottom: 25px;
}

.work-card p {
    font-size: 17px;
    line-height: 26px;
    margin-bottom: 20px;
}

.btn-textual {
    font-weight: 500;
    font-size: 17px;
    color: #1e1e1e;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}

.btn-textual:hover {
    opacity: 0.7;
}

/* Parallax CTA section */
.parallax-cta {
    min-height: 605px;
    background-image: url('https://qiblocks3.qodeinteractive.com/wp-content/uploads/2022/05/parallax-01.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 100px 0;
}

.cta-content {
    max-width: 51.4%;
    margin: 0 auto;
    color: #fff;
}

.cta-subtitle {
    font-size: 17px;
    font-weight: 500;
    display: block;
    margin-bottom: 20px;
}

.cta-title {
    font-size: 50px;
    line-height: 60px;
    font-weight: 500;
    margin-bottom: 21px;
}

.cta-text {
    font-size: 23px;
    line-height: 33px;
    margin-bottom: 25px;
}

.btn-primary {
    background-color: #000;
    color: #fff;
    padding: 14px 45px;
    font-weight: 500;
    font-size: 16px;
    display: inline-block;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #1e1e1e;
}

/* FAQ section (already styled, but ensure grid within about page) */
.about-faq .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Responsive adjustments for about page */
@media (max-width: 1024px) {
    .about-hero-content {
        max-width: 70%;
    }
    .about-hero-title {
        font-size: 40px;
        line-height: 48px;
    }
    .section-title {
        font-size: 40px;
        line-height: 48px;
    }
    .cta-title {
        font-size: 40px;
        line-height: 48px;
    }
    .cta-content {
        max-width: 70%;
    }
    .two-columns {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .two-columns, .about-faq .faq-grid {
        grid-template-columns: 1fr;
    }
    .about-hero-content {
        max-width: 90%;
        padding: 30px;
    }
    .cta-content {
        max-width: 90%;
    }
    .cta-title {
        font-size: 32px;
        line-height: 40px;
    }
    .cta-text {
        font-size: 18px;
        line-height: 28px;
    }
    .section-title {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 40px;
    }
    .parallax-cta {
        background-attachment: scroll;
    }
}

/* ============================================
   PROJECTS PAGE SPECIFIC STYLES
   ============================================ */

/* Hero background (uses different image) */
.projects-hero {
    min-height: 450px;
    background-color:black;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

.projects-hero-content {
    max-width: 50%;
    margin: 0 auto;
    padding: 40px;
}

.projects-hero-title {
    font-size: 70px;
    font-weight: 400;
    line-height: 75px;
    margin-bottom: 19px;
    color: #fff;
}

.projects-hero-text {
    font-size: 23px;
    line-height: 33px;
    color: #fff;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 60px 0;
}

.project-item {
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-image {
    overflow: hidden;
    margin-bottom: 20px;
}

.project-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    display: block;
}

.project-item:hover .project-image img {
    transform: scale(1.05);
}

.project-category {
    font-size: 16px;
    line-height: 1.25em;
    color: #c4c4c4;
    margin-bottom: 6px;
}

.project-category a {
    color: #c4c4c4;
    text-decoration: none;
    transition: color 0.3s;
}

.project-category a:hover {
    color: #1e1e1e;
}

.project-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
}

.project-title a {
    color: #1e1e1e;
    text-decoration: none;
    transition: opacity 0.3s;
}

.project-title a:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .projects-hero-content {
        max-width: 70%;
    }
    .projects-hero-title {
        font-size: 40px;
        line-height: 48px;
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 680px) {
    .projects-hero-content {
        max-width: 90%;
        padding: 30px;
    }
    .projects-hero-title {
        font-size: 35px;
        line-height: 40px;
    }
    .projects-hero-text {
        font-size: 18px;
        line-height: 28px;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
/* ========================================
   SINGLE PROJECT CONTENT SECTION
======================================== */

.single-project-section{
    width:100%;
    max-width:none;
    margin:0;
    padding:45px 0 30px;
    background:#ffffff;
}

.single-project-section *,
.single-project-section *::before,
.single-project-section *::after{
    box-sizing:border-box;
}

.single-project-container{
    width:100%;
    max-width:none;
    margin:0;
    padding:0 40px;
}


/* ========================================
   FULL-WIDTH CONTENT
======================================== */

.project-details{
    width:100%;
    max-width:none;
    margin:0 0 30px;
}

.project-details-title{
    margin:0 0 18px;

    color:#111111;
    font-size:34px;
    line-height:1.2;
    font-weight:700;
    letter-spacing:.2px;
    text-align:center;
    text-transform:uppercase;
}

.project-details-text{
    width:100%;
    max-width:none;
    margin:0;
    color:#1e1e1e;
    font-size:22px;
    line-height:1.9;
    text-align:justify;
    text-justify:inter-word;
}


/* ========================================
   THREE-IMAGE GRID
======================================== */

.project-image-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:18px;

    width:100%;
    max-width:none;
    margin:0;
}

.project-image-item{
    position:relative;
    overflow:hidden;

    width:100%;
    height:360px;

    background:#eeeeee;
}

.project-image-item img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;

    transition:transform .5s ease;
}

.project-image-item:hover img{
    transform:scale(1.04);
}


/* ========================================
   LARGE DESKTOP
======================================== */

@media(min-width:1600px){

    .single-project-container{
        padding-right:50px;
        padding-left:50px;
    }

    .project-image-item{
        height:420px;
    }
}


/* ========================================
   TABLET
======================================== */

@media(max-width:991px){

    .single-project-section{
        padding:40px 0 45px;
    }

    .single-project-container{
        padding:0 22px;
    }

    .project-details{
        margin-bottom:28px;
    }

    .project-details-title{
        font-size:30px;
    }

    .project-details-text{
        font-size:17px;
        line-height:1.75;
    }

    .project-image-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .project-image-item{
        height:300px;
    }

    .project-image-item:last-child{
        grid-column:1 / -1;
        height:360px;
    }
}


/* ========================================
   MOBILE
======================================== */

@media(max-width:576px){

    .single-project-section{
        padding:35px 0 40px;
    }

    .single-project-container{
        padding:0 15px;
    }

    .project-details{
        margin-bottom:24px;
    }

    .project-details-title{
        margin-bottom:14px;
        font-size:25px;
        line-height:1.25;
    }

    .project-details-text{
        font-size:16px;
        line-height:1.7;
        text-align:left;
    }

    .project-image-grid{
        grid-template-columns:1fr;
        gap:14px;
    }

    .project-image-item,
    .project-image-item:last-child{
        grid-column:auto;
        height:250px;
    }
}




/* =========================================
   SINGLE PROJECT HERO
========================================= */
.single-project-hero{
    position:relative;
    min-height:350px;
    background:gray;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#ffffff;
    overflow:hidden;
}
.single-project-hero .container{
    position:relative;
    z-index:2;
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}
.single-project-hero-content{
    width:100%;
    max-width:850px;
    margin:0 auto;
    padding:50px 20px;
}
.single-project-title{
    margin:0 0 19px;
    color:#ffffff;
    font-size:54px;
    font-weight:400;
    line-height:1.08;
    letter-spacing:-1px;
    text-transform:uppercase;
    transform-style:preserve-3d;
}
.single-project-description{
    max-width:none;
    margin:0 auto;
    color:#ffffff;
    font-size:22px;
    line-height:1.45;
}


/* =========================================
   RESPONSIVE — SINGLE PROJECT HERO
========================================= */

@media(max-width:1024px){

    .single-project-hero{
        min-height:300px;
    }

    .single-project-title{
        font-size:52px;
    }

    .single-project-description{
        font-size:18px;
    }
}

@media(max-width:767px){

    .single-project-hero{
        min-height:260px;
    }

    .single-project-hero-content{
        padding:40px 16px;
    }

    .single-project-title{
        font-size:23px;
        letter-spacing:-0.5px;
        margin:0 0 14px;
    }

    .single-project-description{
        font-size:14px;
        line-height:1.6;
        max-width:100%;

        /* Clamp to 3 lines with ellipsis */
        display:-webkit-box;
        -webkit-line-clamp:3;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }
}

@media(max-width:480px){

    .single-project-hero{
        min-height:200px;
    }

    .single-project-title{
        font-size:19px;
    }

    .single-project-description{
        font-size:14px;
    }
}

/* GSAP word animation support */

.single-project-word-wrap{
    display:inline-block;
    overflow:hidden;
    vertical-align:bottom;
    padding-bottom:.08em;
    margin-bottom:-.08em;
}

.single-project-word{
    display:inline-block;
    will-change:transform, opacity, filter;
}

.single-project-title,
.single-project-description{
    will-change:transform, opacity, filter;
}


/* Reduced motion */

@media(prefers-reduced-motion:reduce){

    .single-project-title,
    .single-project-description,
    .single-project-word{
        opacity:1 !important;
        transform:none !important;
        filter:none !important;
    }
}

/* Responsive */
@media (max-width: 1024px) {
   
    .single-project-grid {
        gap: 40px;
    }

}

@media (max-width: 768px) {
    .single-project-grid {
        grid-template-columns: 1fr;
    }
   
    .nav-links {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .swiper-button-prev,
    .swiper-button-next {
        width: 40px !important;
        height: 40px !important;
    }
    .meta-item {
        flex-direction: column;
        gap: 5px;
    }
    .meta-label {
        width: auto;
    }
}


/* ==================================================
   COMMON PROJECT CONTENT
================================================== */

.project-content-section{
    position:relative;
    width:100%;
    padding:40px 0;
    background:#ffffff;
    overflow:hidden;
}

.project-content-section *,
.project-content-section *::before,
.project-content-section *::after{
    box-sizing:border-box;
}

.project-content-section .container{
    width:100%;
    max-width:none;
    margin:0 auto;
    padding:0 4%;
}
/* ==================================================
   MAIN HEADER
================================================== */

.project-content-header{
    width:100%;
    max-width:none;
    margin:0 0 26px;
    font-family:"Oswald", sans-serif !important;
    text-align:center;
}

.project-content-eyebrow{
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:12px;
    color:#111111;
    font-size:18px;
    line-height:1.4;
    font-weight:600;
    letter-spacing:2.5px;
    text-transform:uppercase;
}

.project-content-eyebrow::before{
    content:"";
    width:28px;
    height:2px;
    background:#111111;
}



/* ==================================================
   INTRO PARAGRAPH
================================================== */

.project-content-body{
    width:100%;
    max-width:none;
    margin:0;
}

.project-content-body p,
.project-text{
    margin:0;
    color:#1e1e1e;
    font-size:22px;
    line-height:1.9;
    text-align:justify;
    text-justify:inter-word;
}


/* ==================================================
   TWO COLUMN FEATURE BLOCKS
================================================== */

.project-two-column{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
    margin-top:34px;
    align-items:stretch;
}

.project-column{
    min-width:0;
}

.project-panel{
    position:relative;
    height:100%;
    min-height:210px;
    padding:30px 30px 28px;
    background:#f4f4f2;
    border-top:3px solid #111111;
    overflow:hidden;
    transition:
        transform .7s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow .7s cubic-bezier(0.16, 1, 0.3, 1),
        background-color .6s ease;
}

.project-panel::before{
    content:"";
    position:absolute;
    top:-60px;
    right:-60px;
    width:130px;
    height:130px;
    border:1px solid rgba(0,0,0,.08);
    border-radius:50%;
    transition:transform .9s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-panel:hover{
    transform:translateY(-7px);
    background:#ffffff;
    box-shadow:0 20px 45px rgba(0,0,0,.09);
}

.project-panel:hover::before{
    transform:scale(1.3);
}

.project-panel h3{
    position:relative;
    margin:0 0 14px;
    color:#111111;
    font-size:26px;
    line-height:1.15;
    font-weight:700;
    text-transform:uppercase;
}

.project-panel p{
    position:relative;
    margin:0;
    color:#1e1e1e;
    font-size:22px;
    line-height:1.9;
}


/* ==================================================
   CONTENT BLOCK
================================================== */

.project-content-block{
    margin-top:38px;
    padding-top:28px;
    border-top:1px solid #e4e4e4;
}

.project-content-block-title{
    position:relative;
    margin:0 0 15px;
    padding-left:17px;
    color:#111111;
    font-size:30px;
    line-height:1.2;
    font-weight:700;
    text-transform:uppercase;
}

.project-content-block-title::before{
    content:"";
    position:absolute;
    top:6px;
    bottom:5px;
    left:0;
    width:4px;
    background:#111111;
}

.project-content-block > p{
    margin:0;
    color:#1e1e1e;
    font-size:22px;
    line-height:1.9;
    margin-top:20px;
}


/* ==================================================
   LIST
================================================== */

.project-list{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:16px 32px;
    width:100%;
    margin:24px 0 0;
    padding:0;
    list-style:none;
}

.project-list-item{
    display:flex;
    align-items:center;
    gap:11px;
    min-width:0;
    padding:4px 0;
    color:#1e1e1e;
    font-size:20px;
    line-height:1.1;
}

.project-list-icon{
    flex:0 0 23px;
    display:flex;
    align-items:center;
    justify-content:center;
    width:23px;
    height:23px;
    color:#ffffff;
    background:#111111;
    border-radius:50%;
    font-size:9px;
    transition:
        transform .6s cubic-bezier(0.16, 1, 0.3, 1),
        background-color .5s ease;
}

.project-list-item:hover .project-list-icon{
    transform:rotate(360deg) scale(1.08);
    background:#444444;
}

.project-list-single{
    grid-template-columns:1fr;
}


/* ==================================================
   HIGHLIGHT CARDS
================================================== */

.project-highlight-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
    margin-top:38px;
}

.project-highlight-card{
    position:relative;
    min-width:0;
    min-height:180px;
    padding:28px 20px;
    text-align:center;
    background:#111111;
    border-radius:20px;
    border:1px solid #111111;
    overflow:hidden;
    transition:
        transform .7s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow .7s cubic-bezier(0.16, 1, 0.3, 1),
        background-color .6s ease;
}

.project-highlight-card::before{
    content:"";
    position:absolute;
    top:-45px;
    right:-45px;
    width:110px;
    height:110px;
    background:rgba(255,255,255,.05);
    border-radius:50%;
    transition:transform .9s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-highlight-card::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0;
    height:3px;
    background:#111111;
    transition:width .6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-highlight-card:hover{
    transform:translateY(-8px);
    background:#ffffff;
    box-shadow:0 18px 40px rgba(0,0,0,.13);
}

.project-highlight-card:hover::before{
    transform:scale(1.5);
    background:rgba(0,0,0,.04);
}

.project-highlight-card:hover::after{
    width:100%;
}

.project-highlight-icon{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
    width:56px;
    height:56px;
    margin:0 auto 18px;
    color:#111111;
    background:#ffffff;
    border-radius:50%;
    font-size:22px;
    transition:
        transform .8s cubic-bezier(0.16, 1, 0.3, 1),
        color .5s ease,
        background-color .5s ease;
}

.project-highlight-card:hover .project-highlight-icon{
    color:#ffffff;
    background:#111111;
    transform:rotateY(180deg);
}

.project-highlight-card h3,
.project-highlight-card h4{
    position:relative;
    z-index:2;
    margin:0 0 7px;
    color:#ffffff;
    font-size:20px;
    line-height:1.2;
    font-weight:800 !important;
    transition:color .5s ease;
}

.project-highlight-card span{
    position:relative;
    z-index:2;
    color:#cccccc;
    font-size:20px;
    font-weight:600;
    line-height:1.55;
    transition:color .5s ease;
}

.project-highlight-card:hover h3,
.project-highlight-card:hover h4,
.project-highlight-card:hover span{
    color:#111111;
}


/* ==================================================
   DARK NOTE
================================================== */

.project-note{
    position:relative;
    display:flex;
    align-items:center;
    gap:22px;
    margin-top:24px;
    padding:28px 32px;
    border-radius:10px;
    overflow:hidden;
}

.project-note::after{
    content:"";
    position:absolute;
    right:-70px;
    top:-70px;
    width:180px;
    height:180px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:50%;
}

.project-note-icon{
    position:relative;
    z-index:2;
    flex:0 0 58px;
    display:flex;
    align-items:center;
    justify-content:center;
    width:58px;
    height:58px;
    color:#111111;
    background:#ffffff;
    border-radius:50%;
    font-size:22px;
}

.project-note-content{
    position:relative;
    z-index:2;
}

.project-note-content h3{
    margin:0 0 6px;
    color:#ffffff;
    font-size:30px;
    line-height:1.2;
}

.project-note-content p{
    margin:0;
    color:#cccccc;
    font-size:20px;
    line-height:1.75;
}

/* ==================================================
   KEY FACTS SECTION
================================================== */

.project-key-facts{
    width:100%;
    margin-top:42px;
    padding:38px 0;

    display:grid;
    grid-template-columns:210px 1fr;
    align-items:center;

    background:#ffffff;
    border-top:1px solid #eeeeee;
    border-bottom:1px solid #eeeeee;
}


/* LEFT HEADING */

.project-key-facts-heading{
    min-height:130px;
    padding-right:32px;

    display:flex;
    align-items:center;

    border-right:1px solid #cccccc;
}

.project-key-facts-heading h3{
    margin:0;

    color:#333333;
    font-size:35px;
    line-height:1.15;
    font-weight:500;
    letter-spacing:.2px;
    text-transform:uppercase;
}


.project-key-facts-list{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:35px;
    width:100%;
    padding-left:40px;
}


/* SINGLE FACT */

.project-key-fact-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    text-align:center;
}
.project-key-fact-top{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:10px;
}


/* ICON */

.project-key-fact-icon{
    width:60px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:15px;
    font-size:34px;
    color:#666;
}

.project-key-fact-icon i{
    line-height:1;
}


.project-key-fact-title{
    margin:0 0 8px;

    font-family:"Oswald",sans-serif;
    font-size:20px;
    font-weight:500;
    color:#222;
    text-transform:uppercase;
}

.project-key-fact-text{
    margin:0;
    color:#1e1e1e;
    font-size:20px;
    line-height:1.6;
}


/* ==================================================
   HOVER
================================================== */

.project-key-fact-item{
    transition:transform .3s ease;
}

.project-key-fact-icon,
.project-key-fact-title{
    transition:
        color .3s ease,
        transform .3s ease;
}

.project-key-fact-item:hover{
    transform:translateY(-3px);
}

.project-key-fact-item:hover .project-key-fact-icon{
    color:#111111;
    transform:scale(1.06);
}

.project-key-fact-item:hover .project-key-fact-title{
    color:#000000;
}


/* ==================================================
   TABLET
================================================== */

@media(max-width:991px){

    .project-key-facts{
        grid-template-columns:1fr;
        padding:30px 0;
    }

    .project-key-facts-heading{
        min-height:auto;
        padding:0 0 22px;
        margin-bottom:28px;

        border-right:0;
        border-bottom:1px solid #cccccc;
    }

    .project-key-facts-heading h3{
        font-size:31px;
    }

    .project-key-facts-list{
        padding-left:0;
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:32px 24px;
    }
}


/* ==================================================
   MOBILE
================================================== */

@media(max-width:576px){

    .project-key-facts{
        margin-top:30px;
        padding:25px 0;
    }

    .project-key-facts-heading{
        margin-bottom:24px;
        padding-bottom:18px;
    }

    .project-key-facts-heading h3{
        font-size:27px;
    }

    .project-key-facts-list{
        grid-template-columns:1fr;
        gap:26px;
    }

    .project-key-fact-top{
        margin-bottom:8px;
    }

    .project-key-fact-value{
        font-size:36px;
    }

    .project-key-fact-label{
        padding-left:56px;
        font-size:14px;
    }
}
@media(max-width:991px){

    .project-content-section{
        padding:35px 0;
    }

    .project-content-section .container{
        padding:0 24px;
    }

    .project-list{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:14px 24px;
    }
}

@media(max-width:576px){

    .project-content-section{
        padding:30px 0;
    }

    .project-content-section .container{
        padding:0 16px;
    }

    .project-list{
        grid-template-columns:1fr;
        gap:12px;
    }

    .project-list-item{
        font-size:16px;
    }
}
.toni-rossi-video-section{
    width:100%;
}

.toni-rossi-video-section video{
    display:block;
    width:100%;
    height:450px;

    object-fit:cover;

}
/*=========================================
TONI ROSSI CTA
=========================================*/

.toni-rossi-cta{
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 720px;
    margin: 30px auto 0; 
    padding: 30px;

    background: gray;
    border-radius: 22px;

    text-align: center;
    box-sizing: border-box;
}

/* Decorative circles */

.toni-rossi-cta-pattern{
    position: absolute;
    top: -55px;
    right: -55px;

    width: 140px;
    height: 140px;

    background: gray;
    border-radius: 50%;

    pointer-events: none;
}

.toni-rossi-cta::before{
    content: "";

    position: absolute;
    left: -45px;
    bottom: -45px;

    width: 100px;
    height: 100px;

    background: gray;
    border-radius: 50%;

    pointer-events: none;
}

/* Heading */

.toni-rossi-cta h2{
    margin: 0 0 14px;

    color: #ffffff;

    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

/* Paragraph */

.toni-rossi-cta p{
    max-width: 900px;
    margin: 0 auto 26px;
    color: white;
    font-size: 22px;
    line-height: 1.7;
}

/* Button */

.toni-rossi-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 14px 28px;

    background: #ffffff;
    color: #111111;

    border-radius: 50px;

    text-decoration: none;

    font-size: 22px;
    font-weight: 700;

    transition: all .35s ease;
}

.toni-rossi-btn:hover{
    background: #f2f2f2;
    transform: translateY(-3px);
}

.toni-rossi-btn i{
    transition: transform .35s ease;
}

.toni-rossi-btn:hover i{
    transform: translateX(5px);
}

/*=========================================
Tablet
=========================================*/

@media (max-width:991px){

    .toni-rossi-cta{

        max-width: 650px;

        padding: 38px 30px;

        margin-top: 40px;
    }

    .toni-rossi-cta h2{

        font-size: 30px;
    }

    .toni-rossi-cta p{

        font-size: 17px;
    }

}

/*=========================================
Mobile
=========================================*/

@media (max-width:767px){

    .toni-rossi-cta{

        width: calc(100% - 30px);

        margin: 35px auto 0;

        padding: 30px 22px;

        border-radius: 18px;
    }

    .toni-rossi-cta-subtitle{

        font-size: 11px;
        letter-spacing: 2px;

        margin-bottom: 12px;
    }

    .toni-rossi-cta h2{

        font-size: 25px;

        margin-bottom: 12px;
    }

    .toni-rossi-cta p{

        font-size: 16px;

        line-height: 1.6;

        margin-bottom: 22px;
    }

    .toni-rossi-btn{

        padding: 12px 24px;

        font-size: 14px;
    }

    .toni-rossi-cta-pattern{

        width: 100px;
        height: 100px;

        top: -40px;
        right: -40px;
    }

    .toni-rossi-cta::before{

        width: 70px;
        height: 70px;

        left: -30px;
        bottom: -30px;
    }

}
/* ==================================================
   PAGE-LOAD AND SCROLL ANIMATIONS (BOTTOM TO TOP)
================================================== */

html.project-animation-ready .project-reveal.project-visible{
    opacity:1;
    filter:blur(0);
    transform:translateY(0);
}


/* Header — now rises from below instead of dropping from above */

html.project-animation-ready .project-content-header{
    transform:translateY(40px);
    transition:
        transform .9s cubic-bezier(0.16, 1, 0.3, 1),
        opacity .9s ease;
}

html.project-animation-ready .project-content-header.project-visible{
    transform:translateY(0);
}


/* Intro — now rises from below instead of sliding from left */

html.project-animation-ready .project-content-body{
    transform:translateY(45px);
    transition:
        transform .9s cubic-bezier(0.16, 1, 0.3, 1),
        opacity .9s ease;
}

html.project-animation-ready .project-content-body.project-visible{
    transform:translateY(0);
}


/* Panels — both columns now rise from below (uniform, no more left/right split) */

html.project-animation-ready .project-column:first-child .project-panel,
html.project-animation-ready .project-column:last-child .project-panel{
    transform:translateY(50px);
    transition:
        transform .9s cubic-bezier(0.16, 1, 0.3, 1),
        opacity .9s ease;
}

html.project-animation-ready .project-panel.project-visible{
    transform:translateY(0);
}


/* List items — now rise from below instead of sliding from left */

html.project-animation-ready .project-list-item{
    opacity:0;
    transform:translateY(20px);
    transition:
        opacity .8s cubic-bezier(0.16, 1, 0.3, 1),
        transform .8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay:var(--list-delay,0s);
}

html.project-animation-ready .project-content-block.project-visible .project-list-item{
    opacity:1;
    transform:translateY(0);
}


/* ==================================================
   RESPONSIVE
================================================== */

@media(max-width:1100px){

    .project-content-title{
        font-size:50px;
    }

    .project-list{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .project-highlight-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}


@media(max-width:991px){

    .project-content-section{
        padding:65px 0 70px;
    }

    .project-two-column{
        grid-template-columns:1fr;
    }

    .project-panel{
        min-height:auto;
    }

    .project-content-title{
        font-size:45px;
    }

    /* Panels already rise from below now — keep consistent on tablet too */
    html.project-animation-ready .project-column:first-child .project-panel,
    html.project-animation-ready .project-column:last-child .project-panel{
        transform:translateY(40px);
    }

    html.project-animation-ready .project-panel.project-visible{
        transform:translateY(0);
    }
}


@media(max-width:767px){

    .project-content-section{
        padding:55px 0 60px;
    }

    .project-content-section .container{
        padding:0 16px;
    }

    .project-content-header{
        margin-bottom:25px;
    }

    .project-content-title{
        font-size:38px;
        line-height:1.08;
    }

    .project-content-body p,
    .project-text{
        font-size:15px;
        text-align:left;
    }

    .project-two-column{
        margin-top:28px;
    }

    .project-panel{
        padding:25px 22px;
        text-align:center; /* Specialized Leather Applications & other panel cards now center-aligned like highlight cards */
    }

    .project-panel h3{
        font-size:14px;
    }
    .project-details-text
    {
      
        font-size:16px;
    }
    .project-content-block{
        margin-top:30px;
        padding-top:24px;
    }

    .project-content-block-title{
        font-size:20px;
    }

    .project-list{
        grid-template-columns:1fr;
        gap:10px;
    }

    .project-highlight-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .project-highlight-card{
        min-height:165px;
    }
    .project-highlight-card h3, 
    .project-highlight-card h4
    {
        font-size:17px;
        font-weight:600;
    }
   .project-note{
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:25px 22px;
}
    .project-note-content h3
    {
        font-size:18px;
    }
    /* Smaller rise distance on mobile for smoother feel on small viewport */
    html.project-animation-ready .project-content-header,
    html.project-animation-ready .project-content-body,
    html.project-animation-ready .project-column:first-child .project-panel,
    html.project-animation-ready .project-column:last-child .project-panel{
        transform:translateY(30px);
    }

    html.project-animation-ready .project-list-item{
        transform:translateY(15px);
    }
}


@media(max-width:520px){

    .project-content-section{
        padding:45px 0 50px;
    }

    .project-content-eyebrow{
        font-size:18px;
        letter-spacing:2px;
    }

    .project-content-title{
        font-size:33px;
    }

    .project-highlight-grid{
        grid-template-columns:1fr;
    }

    .project-highlight-card{
        min-height:auto;
        padding:27px 20px;
    }

    .project-content-block-title{
        padding-left:14px;
        font-size:20px;
        line-height:35px;
    }
}


/* ==================================================
   REDUCED MOTION
================================================== */

@media(prefers-reduced-motion:reduce){

    html.project-animation-ready .project-reveal,
    html.project-animation-ready .project-list-item{
        opacity:1;
        filter:none;
        transform:none;
        transition:none;
    }
}

/* ==================================================
   COMMON GSAP ANIMATION SUPPORT
================================================== */

.single-project-title,
.single-project-description,
.project-content-header,
.project-content-body,
.project-panel,
.project-content-block,
.project-list-item,
.project-highlight-card,
.project-note{
    will-change:transform, opacity, filter;
    backface-visibility:hidden;
}

.common-word-wrap{
    display:inline-block;
    overflow:hidden;
    vertical-align:bottom;
    padding-bottom:.08em;
    margin-bottom:-.08em;
}

.common-word{
    display:inline-block;
    will-change:transform, opacity, filter;
}

/* Keep content visible when JavaScript fails */

.single-project-title,
.single-project-description,
.project-reveal,
.project-list-item{
    opacity:1;
    visibility:visible;
}

/* Reduced motion */

@media(prefers-reduced-motion:reduce){

    .single-project-title,
    .single-project-description,
    .project-reveal,
    .project-list-item,
    .common-word{
        opacity:1 !important;
        visibility:visible !important;
        transform:none !important;
        filter:none !important;
    }
}

.toni-rossi-video-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Fixed aspect ratio so the section never collapses or overflows */
    aspect-ratio: 16 / 9;
}

.toni-rossi-video-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.toni-video-controls {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 10px;
    z-index: 5;
}

.toni-video-controls button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(0,0,0,0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.toni-video-controls button:hover {
    background: rgba(0,0,0,0.7);
}

@media (max-width: 600px) {
    .toni-rossi-video-section {
        aspect-ratio: 16 / 9;
    }
    /* keep object-fit: cover from before — now cropping is minimal since ratios match */
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

/* Eyebrow / heading fade-up */
.htc-divisions-heading.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.htc-divisions-heading.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Default row: text comes from LEFT, image comes from RIGHT */
.htc-division-row .htc-division-content {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.htc-division-row .htc-division-image {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

/* Reversed row: text is on the right, so it comes from RIGHT,
   image is on the left, so it comes from LEFT */
.htc-division-row.reverse .htc-division-content {
    transform: translateX(60px);
}
.htc-division-row.reverse .htc-division-image {
    transform: translateX(-60px);
}

/* Trigger state added by your IntersectionObserver */
.htc-division-row.is-visible .htc-division-content,
.htc-division-row.is-visible .htc-division-image {
    opacity: 1;
    transform: translateX(0);
}

/* Slight delay on image so text leads in visually */
.htc-division-row .htc-division-image {
    transition-delay: 0.15s;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .htc-divisions-heading.reveal-up,
    .htc-division-row .htc-division-content,
    .htc-division-row .htc-division-image {
        transition: none;
        transform: none;
        opacity: 1;
    }
}