/* ================================ */
/* Header Style Fix & Responsive    */
/* ================================ */
@font-face {
    font-family: 'Avenir Book';
    src: url('https://designstudiotriplea.com/wp-content/uploads//fonts/AvenirBook.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
	
}
body {
    font-family: 'Avenir Book', sans-serif;
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin-top: 0 !important;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer; 
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out; 
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Header Container Base Styles (Transparent & Absolute) */
header#masthead.site-header,    
.site-header,
.header-container {
    position: absolute !important;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
   
    background: transparent !important;
    z-index: 999;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between !important; 
    padding: 40px 0px;
	max-width: 94%;
}

/* Site Title / Logo */
.site-branding {
    width: 199px;
    max-width: 100%;   
    flex-shrink: 0;    
}

.site-branding .site-title {
    margin: 0;
    line-height: 1.2;
}

.site-branding .site-title a {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    
    color:#D6D6D6 !important;
    text-decoration: none !important;
}

/* Desktop Menu Alignment */
.header-container nav.main-navigation ul#primary-menu {
    display: flex !important;
    flex-direction: row !important;
    column-gap: 35px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: start;
    justify-content: start;
}

.header-container nav.main-navigation ul#primary-menu li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Menu Items Typography & Color */
.header-container nav.main-navigation ul#primary-menu li a {
    font-family:  'Avenir Book', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #202020 !important;
    text-decoration: none !important;
    display: inline-block;
    transition: color 0.3s ease;
    
    outline: none;
    text-transform: lowercase;
}

.header-container nav.main-navigation ul#primary-menu li a:hover {
    color: #555555 !important;
}
.site-branding .site-title a {
    font-family:  'Avenir Book', sans-serif!important;
	
}
.site-branding .site-title a {
    font-family: 'Avenir Book', sans-serif !important;
    
}
.site-branding .site-title a {
    font-family: "Manrope", sans-serif;
    font-size: 14px;
   
    color: #D6D6D6 !important;
    text-decoration: none !important;
}

/* ================================ */
/* Responsive Media Queries         */
/* ================================ */


/* =====================================
   TRIPLE A DESIGN STUDIO - MOBILE HEADER
===================================== */

@media screen and (max-width: 768px) {
#masthead .main-navigation.toggled ul#primary-menu {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: left !important;
}
    /* Main Header */
    #masthead.site-header {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        background: transparent !important;
        z-index: 9999 !important;
        box-sizing: border-box !important;
    }

    /* Header Inner Container */
    #masthead .header-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;

        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;

        padding: 20px 15px !important; 
       
    }

    /* Logo / Site Title - Width Barha Di Hai */
    #masthead .site-branding {
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: 78% !important; 
        min-width: 0 !important;
        margin: 0 !important;
    }

    #masthead .site-title {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.2 !important;
    }

    #masthead .site-title a {
        display: block !important;
        font-family: "Manrope", sans-serif !important;
        font-size: 20px !important; 
        font-weight: 600 !important;
        line-height: 1.2 !important;
        color: #000 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    /* Navigation Container */
    #masthead .main-navigation {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;

        position: relative !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Hide Menu Links Initially */
    #masthead .main-navigation ul#primary-menu {
        display: none !important;

        position: absolute !important;
        top: 45px !important;
        right: 0 !important;

        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;

        width: 180px !important;
        box-sizing: border-box !important;
        padding: 20px !important;
        margin: 0 !important;

        background: #fff !important;
        box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
        border-radius: 4px !important;

        z-index: 99999 !important;
    }

    /* Show Menu When Open */
    #masthead .main-navigation.toggled ul#primary-menu {
        display: flex !important;
    }

    /* Menu Items */
    #masthead .main-navigation ul#primary-menu li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    #masthead .main-navigation ul#primary-menu li a {
        display: block !important;
        padding: 4px 0 !important;

        font-family: "Manrope", sans-serif !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        color: #000 !important;
        text-decoration: none !important;
    }

    /* Hamburger Button */
    #masthead .main-navigation button.menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        position: relative !important;
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;

        padding: 0 !important;
        margin: 0 !important;

        border: none !important;
        outline: none !important;
        background: transparent !important;
        box-shadow: none !important;

        font-size: 0 !important;
        color: transparent !important;
        cursor: pointer !important;
    }

    /* Hamburger Lines */
    #masthead .main-navigation button.menu-toggle::before {
        content: "" !important;
        display: block !important;

        position: absolute !important;
        top: 8px !important;
        left: 3px !important;

        width: 26px !important;
        height: 2px !important;

        background: #000 !important;
        box-shadow:
            0 8px 0 #000,
            0 16px 0 #000 !important;

        transform: none !important;
    }

    #masthead .main-navigation button.menu-toggle::after {
        display: none !important;
    }

    /* Hamburger to X */
    #masthead .main-navigation.toggled button.menu-toggle::before {
        top: 15px !important;
        box-shadow: none !important;
        transform: rotate(45deg) !important;
    }

    #masthead .main-navigation.toggled button.menu-toggle::after {
        content: "" !important;
        display: block !important;

        position: absolute !important;
        top: 15px !important;
        left: 3px !important;

        width: 26px !important;
        height: 2px !important;

        background: #000 !important;
        transform: rotate(-45deg) !important;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {

    #masthead .header-container {
        padding: 15px 12px !important;
       
    }

    #masthead .site-branding {
        max-width: 82% !important;
    }

    #masthead .site-title a {
        font-size: 18px !important;
    }

    #masthead .main-navigation button.menu-toggle {
        width: 30px !important;
        min-width: 30px !important;
    }
}


/* Header Style Fix End */
/* ================================ */





/* Work Page Start */
/* ================================ */
.work-page-main {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fafafa;
    position: relative;
}

.work-container {
    max-width: 94%;
    margin: 0 auto;
/*     padding: 0 20px; */
    width: 100%;
    box-sizing: border-box;
}

.work-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 13px;
}

.cat-card-item {
    text-decoration: none;
    color: #111111;
    display: flex;
    flex-direction: column;
}

/* Image Wrapper Setup */
.image-wrapper {
    position: relative;
    width: 100%;
    height: 406px;
   border-radius: 10px; 
    overflow: hidden;
	box-shadow: 0 2px 4px rgba(0,0,0,0.12)
}

.cat-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #2b2b2b;
    transition: opacity 0.4s ease;
}

.cat-card-item:hover .cat-card-image {
    transform: translateY(0);
}

.cat-card-image.hover-img {
    opacity: 0;
}

.cat-card-item:hover .cat-card-image.hover-img {
    opacity: 1;
}

/* Frost overlay */
.frost-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px) brightness(0.6);
    transition: all 0.4s ease;
    z-index: 2;
}

.cat-card-item:hover .frost-overlay {
    backdrop-filter: blur(0px) brightness(1);
    background: rgba(255, 255, 255, 0);
    opacity: 0;
}

.cat-card-label {
    display: flex;
    align-items: center;
    gap:0px;
    margin-top: 38px;
    font-family: "Manrope", sans-serif !important;
    font-size: 12px !important;
    font-weight: 400;
}

.cat-card-label .plus {
    font-size: 22px !important;
    color: #000000 !important;
}

/* Sub-categories styling (Step Hover Reveal) */
.sub-categories-list {
    margin-top: 6px;
    font-size: 12px;
    color: #666666;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    visibility: hidden;
}

.cat-card-item:hover .sub-categories-list {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}
.single-post-title-item .hover-post-link,
.single-post-title-item span {
    text-decoration: none!important;
    cursor: default!important;
	
}
.card-hover-post-titles-list .hover-post-link:hover {
    opacity: 9!important;
 
}
/* ==========================================
   Bottom Reveal Footer Styling (Clean Fixed State)
   ========================================== */
.bottom-reveal-footer {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    background-color: transparent;
    
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(0);
    z-index: 10;
}

.footer-inner-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 94%;
    margin: 0 auto;
    font-size: 12px;
    color: #444;
}

/* State 1: Shuru mein sirf text hide hoga, left toggle dot apni jagah visible rahega */
.footer-left .footer-text, 
.footer-center-desc, 
.footer-right span {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* State 3: Jab left toggle dot par click ho ga toh poora footer upar slide ho ga aur sab show ho ga */
.bottom-reveal-footer.active {
    transform: translateY(-20px);
}

.bottom-reveal-footer.active .footer-left .footer-text,
.bottom-reveal-footer.active .footer-center-desc,
.bottom-reveal-footer.active .footer-right span {
    opacity: 1;
    visibility: visible;
}

.footer-left, .footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-center-desc {
    max-width: 550px;
    text-align: center;
    line-height: 1.5;
    color: #666;
}

.circle-dot-toggle {
    cursor: pointer;
    font-size: 30px; 
    line-height:0px;
    color: #888;
    transition: color 0.3s ease, transform 0.3s ease;
    user-select: none;
}

.circle-dot-toggle:hover {
    color: #111;
}

.grey-dot {
    cursor: pointer; /* Yeh right dot ko clickable banayega */
    color: #888;
    font-size: 30px; 
    line-height: 1;
    transition: color 0.3s ease;
}

.grey-dot:hover {
    color: #111;
}

.work-categories-grid a:visited {
    color: #111111 !important;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .work-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .work-page-main {
        height: auto;
        overflow: auto;
    }
    .bottom-reveal-footer {
        position: relative;
        bottom: 0;
        padding: 30px 20px;
    }
    .footer-left .footer-text, 
    .footer-center-desc, 
    .footer-right span {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 600px) {
    .work-categories-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Default hidden state aur smooth transition */
.card-hover-post-title {
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease-in-out;
    margin-top: 6px;
}

/* Grey color aur font settings */
.hover-post-link {
    color: #888888; /* Grey color taake clearly visible ho */
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    display: block;
}

/* Jab card par hover ho toh title smoothly reveal ho jaye */
.cat-card-item:hover .card-hover-post-title {
    opacity: 1;
    transform: translateY(0);
}


.cat-card-label {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.cat-card-label .plus {
    position: absolute;
    left: 0; 
}

.cat-card-label .title {
    width: 100%;
    text-align: center;
	    font-family:  'Avenir Book', sans-serif;
    
}


/* Sub-categories aur Post titles ko center align aur color matching karne ke liye */
.sub-categories-list, 
.card-hover-post-title {
    text-align: center;
    width: 100%;
    margin-top: 8px;
}

.sub-categories-list {
    color: rgba(255, 255, 255, 0.75); /* Reference image jaisa soft color */
    line-height: 1.6;
}

.card-hover-post-title .hover-post-link {
    color: #333;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.card-hover-post-title .hover-post-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Category Title & Plus Alignment */
.cat-card-label {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.cat-card-label .plus {
    position: absolute;
    left: 0;
}

.cat-card-label .title {
    width: 100%;
    text-align: center;
}

/* Sub-categories Alignment */
.sub-categories-list {
    text-align: center;
    width: 100%;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

/* Projects List ko by default hide karna aur hover par show karna */
.card-hover-post-titles-list {
    text-align: center;
    width: 100%;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cat-card-item:hover .card-hover-post-titles-list {
    opacity: 1;
    visibility: visible;
}

.card-hover-post-titles-list .single-post-title-item {
    margin-bottom: 4px;
}

.card-hover-post-titles-list .hover-post-link {
    color: #202020;
    text-decoration: none;
    font-size: 12px;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.card-hover-post-titles-list .hover-post-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}


/* ===== Plus to O Hover Effect ===== */

/* ===== Plus to O Hover Effect ===== */

.cat-card-label .plus {
    display: inline-block;
    position: relative;
    width: 0px;
    min-width: 0px;
    height: 22px;
    line-height: 22px;
    font-size: 20px;
}

/* Original Plus */
.cat-card-label .plus .plus-symbol {
    display: inline-block;
    opacity: 1;
    transition: opacity 0.2s ease;
}

/* O - Hidden by default */
.cat-card-label .plus .hover-symbol {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Hover: Hide Plus */
.cat-card-item:hover .cat-card-label .plus .plus-symbol {
    opacity: 0;
}

/* Hover: Show O */
.cat-card-item:hover .cat-card-label .plus .hover-symbol {
    opacity: 1;
}


.cat-card-label a {
    text-decoration: none;
}
.footer-center-desc

 {
    max-width: 883px;
}

/* Active / Current Page items target karne ke liye */
.header-container nav.main-navigation ul#primary-menu li.current-menu-item > a,
.header-container nav.main-navigation ul#primary-menu li.current_page_item > a,
.header-container nav.main-navigation ul#primary-menu li a:active {
    color: #A5A5A5 !important;
}

/* Hover effect ke liye */
.header-container nav.main-navigation ul#primary-menu li a:hover {
    color: #A5A5A5 !important;
}

.single-post-title-item {
    font-family:  'Avenir Book', sans-serif;
    font-size: 12px;
    text-align: center;
    color: #202020;

}


span.circle-dot-toggle, span.grey-dot {
    font-size: 28px !important;
    color: #D6D6D6 !important;
}
span.grey-dot{
    font-size: 28px !important;
    color: #D6D6D6 !important;
	line-height: 0px!important;
}
span.footer-text,.footer-center-desc,.footer-right span {
    font-family:  'Avenir Book', sans-serif;
    
    
    color: #C9C9C9;
}


// work page responsive

/* ==========================================
   WORK PAGE - RESPONSIVE FIX
   Append at the END of existing CSS
========================================== */


/* ==========================================
   TRIPLE A - FINAL WORK PAGE RESPONSIVE
========================================== */

/* DESKTOP */
@media screen and (min-width: 1025px) {

    .work-page-main {
        height: 100vh !important;
        min-height: 100vh !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 0 !important;
    }

    .work-categories-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }

    .image-wrapper {
        height: 406px !important;
    }

    .bottom-reveal-footer {
        position: absolute !important;
        bottom: 25px !important;
    }
}

/* TABLET LANDSCAPE */
@media screen and (min-width: 769px) and (max-width: 1024px) {

    .work-page-main {
        height: auto !important;
        min-height: 100vh !important;
        overflow: visible !important;
        display: block !important;
        padding: 110px 0 20px !important;
    }

    .work-categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 22px 16px !important;
    }

    .image-wrapper {
        height: auto !important;
        aspect-ratio: 4 / 5;
    }
}

/* TABLET PORTRAIT */
@media screen and (min-width: 601px) and (max-width: 768px) {

    .work-page-main {
        height: auto !important;
        min-height: 100vh !important;
        overflow: visible !important;
        display: block !important;
        padding: 100px 0 20px !important;
    }

    .work-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px 15px !important;
    }

    .image-wrapper {
        height: auto !important;
        aspect-ratio: 4 / 5;
    }
}

/* TABLET FOOTER */
@media screen and (min-width: 601px) and (max-width: 1024px) {

    .bottom-reveal-footer {
        position: relative !important;
        bottom: auto !important;
        padding: 25px 0 !important;
        transform: none !important;
    }

    .footer-inner-content {
        width: 94% !important;
        max-width: 94% !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
    }

    .footer-left .footer-text,
    .footer-center-desc,
    .footer-right span {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .footer-center-desc {
        max-width: 100% !important;
        font-size: clamp(9px, 1.2vw, 12px) !important;
    }

    .footer-left .footer-text,
    .footer-right span {
        font-size: clamp(9px, 1.1vw, 12px) !important;
    }
}

/* MOBILE */
@media screen and (max-width: 600px) {

    .work-page-main {
        height: auto !important;
        min-height: 100vh !important;
        overflow: visible !important;
        display: block !important;
        padding: 90px 0 20px !important;
    }

    .work-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px !important;
    }

    .work-categories-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .image-wrapper {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
    }

    .cat-card-label {
        margin-top: 12px !important;
    }

    /* Show content without hover */
    .sub-categories-list,
    .card-hover-post-titles-list {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .bottom-reveal-footer {
        position: relative !important;
        bottom: auto !important;
        padding: 20px 0 !important;
        transform: none !important;
    }

    .footer-inner-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px !important;
        gap: 14px !important;
    }

    .footer-left,
    .footer-right {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .footer-center-desc {
        max-width: 100% !important;
        text-align: left !important;
        font-size: 11px !important;
        line-height: 1.6 !important;
    }

    .footer-left .footer-text,
    .footer-right span {
        font-size: 11px !important;
    }

    .footer-left .footer-text,
    .footer-center-desc,
    .footer-right span {
        opacity: 1 !important;
        visibility: visible !important;
    }
	.footer-left .circle-dot-toggle,
    .footer-right .grey-dot {
        font-size: 11px !important;
        line-height: 1 !important;
        width: 11px !important;
        height: 11px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
	
@media screen and (max-width: 600px) {

    .cat-card-label {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        width: 100% !important;
    }

    /* Plus fixed on left */
    .cat-card-label .plus {
        position: absolute !important;
        left: 0 !important;
        width: auto !important;
        min-width: auto !important;
        font-size: 16px !important;
    }

    /* All stays exactly center */
    .cat-card-label .title {
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
    }

    /* Always show plus, never circle */
    .cat-card-label .plus-symbol {
        opacity: 1 !important;
    }

    .cat-card-label .hover-symbol {
        display: none !important;
        opacity: 0 !important;
    }

    /* Project posts remain visible */
    .card-hover-post-titles-list {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

}
/* Mobile Click Fix */
@media screen and (max-width: 768px) {
    #masthead, 
    #masthead .header-container, 
    #masthead .site-branding, 
    #masthead .main-navigation, 
    #masthead .main-navigation button.menu-toggle,
    #masthead .main-navigation ul#primary-menu li a {
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }

    /* Ensure hamburger button is fully clickable on top */
    #masthead .main-navigation button.menu-toggle {
        z-index: 100000 !important;
    }

    /* Ensure dropdown menu appears above everything */
    #masthead .main-navigation.toggled ul#primary-menu {
        z-index: 100001 !important;
    }
}