/*
Theme Name:  SphereX3D
Theme URI:   https://spherex3d.com
Author:      Shivani Sharma
Author URI:  https://spherex3d.com
Description: Professional 3D Modeling & Visualization Studio – one-page dark theme.
Version:     1.0.0
Requires at least: 5.8
Tested up to:      6.5
Requires PHP:      7.4
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spherex3d
Tags:        dark, one-page, portfolio, animation
*/

/* =============================================================
   Theme custom / override styles
   All vendor CSS is enqueued via functions.php
   ============================================================= */

/* =============================================================
   About Page – Founder Section
   (moved from about.html inline <style>)
   ============================================================= */

.founder-section-wrapper {
    padding: 48px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.founder-inner {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 40px;
}

@media (min-width: 768px) {
    .founder-inner {
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }
}

.founder-content {
    flex: 1;
}

.founder-content h4 {
    color: #fff;
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 4px;
}

.founder-content p {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(14px, 2vw, 18px);
    line-height: 1.8;
}

.founder-content .text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.founder-image-wrap {
    flex: 0 0 auto;
    width: clamp(200px, 40vw, 340px);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
}

.founder-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* =============================================================
   Blog Listings and Details Styles
   ============================================================= */

.blog-grid-section {
    background-color: #0b0b0b;
}

.blog-card {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.blog-meta i {
    color: #fff;
    margin-right: 4px;
}

.blog-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 600;
}

.blog-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.blog-title a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.blog-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-readmore {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease-in-out;
    margin-top: auto;
}

.blog-readmore:hover {
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* Pagination */
.spx-pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 30px 0 0 0;
    gap: 8px;
}

.spx-pagination ul li a,
.spx-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.spx-pagination ul li a:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.spx-pagination ul li span.current {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Blog Details */
.blog-details-section {
    background-color: #0b0b0b;
}

.blog-details-content {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 30px;
}

@media (max-width: 576px) {
    .blog-details-content {
        padding: 16px;
    }
}

.blog-details-image img {
    border-radius: 8px;
}

.blog-details-text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.blog-details-text p {
    margin-bottom: 24px;
}

.blog-details-text h2, 
.blog-details-text h3, 
.blog-details-text h4 {
    color: #fff;
    margin-top: 40px;
    margin-bottom: 16px;
    font-weight: 600;
}

.blog-details-text ul, 
.blog-details-text ol {
    margin-bottom: 24px;
    padding-left: 20px;
}

.blog-details-text li {
    margin-bottom: 8px;
}

.blog-details-text blockquote {
    border-left: 4px solid #fff;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.02);
    margin: 30px 0;
    font-style: italic;
    color: #fff;
}

.blog-details-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-tags a {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.blog-tags a:hover {
    background: #fff;
    color: #000;
}


/* =============================================================
   CPT Portfolio Grid and Sidebar Styles
   ============================================================= */

.portfolio-wrapper-cpt {
    position: relative;
}

.portfolio-sidebar {
    border-right: 2px solid rgba(255, 255, 255, 0.05);
    padding-right: 20px;
    height: 100%;
}

@media (max-width: 991px) {
    .portfolio-sidebar {
        border-right: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.05);
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 30px;
    }
}

.portfolio-sidebar .sidebar-title {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.portfolio-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 991px) {
    .portfolio-category-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
}

.portfolio-category-list .category-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-category-list .category-btn {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

@media (max-width: 991px) {
    .portfolio-category-list .category-btn {
        width: auto;
        padding: 8px 16px;
    }
}

.portfolio-category-list .category-btn .icon-wrap {
    font-size: 16px;
    width: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.portfolio-category-list .category-item.active .category-btn,
.portfolio-category-list .category-item:hover .category-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Orange Accent on Active Category */
.portfolio-category-list .category-item.active .category-btn .icon-wrap,
.portfolio-category-list .category-item:hover .category-btn .icon-wrap {
    color: #ff5e14; /* Theme orange color */
}

/* Product Card Grid */
.product-grid-card {
    position: relative;
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-grid-card .product-card-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #121212;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-grid-card .product-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-grid-card .product-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    padding: 24px 20px 16px 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

.product-grid-card .product-card-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* Card Hover States */
.product-grid-card:hover {
    border-color: rgba(255, 94, 20, 0.3); /* Orange accent border on hover */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    transform: translateY(-5px);
}

.product-grid-card:hover .product-card-image {
    transform: scale(1.05);
}

.product-grid-card:hover .product-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.no-products-message {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
}

/* =============================================================
   CPT Portfolio Grid and Sidebar Styles
   ============================================================= */

.portfolio-wrapper-cpt {
    position: relative;
}

.portfolio-sidebar {
    border-right: 2px solid rgba(255, 255, 255, 0.05);
    padding-right: 20px;
    height: 100%;
}

@media (max-width: 991px) {
    .portfolio-sidebar {
        border-right: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.05);
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 30px;
    }
}

.portfolio-sidebar .sidebar-title {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.portfolio-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 991px) {
    .portfolio-category-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
}

.portfolio-category-list .category-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-category-list .category-btn {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

@media (max-width: 991px) {
    .portfolio-category-list .category-btn {
        width: auto;
        padding: 8px 16px;
    }
}

.portfolio-category-list .category-btn .icon-wrap {
    font-size: 16px;
    width: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.portfolio-category-list .category-item.active .category-btn,
.portfolio-category-list .category-item:hover .category-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Orange Accent on Active Category */
.portfolio-category-list .category-item.active .category-btn .icon-wrap,
.portfolio-category-list .category-item:hover .category-btn .icon-wrap {
    color: #ff5e14; /* Theme orange color */
}

/* Product Card Grid */
.product-grid-card {
    position: relative;
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-grid-card .product-card-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #121212;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-grid-card .product-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-grid-card .product-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    padding: 24px 20px 16px 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

.product-grid-card .product-card-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* Card Hover States */
.product-grid-card:hover {
    border-color: rgba(255, 94, 20, 0.3); /* Orange accent border on hover */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    transform: translateY(-5px);
}

.product-grid-card:hover .product-card-image {
    transform: scale(1.05);
}

.product-grid-card:hover .product-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.no-products-message {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
}

/* =============================================================
   CPT Portfolio Grid and Sidebar Styles
   ============================================================= */

.portfolio-wrapper-cpt {
    position: relative;
}

.portfolio-sidebar {
    border-right: 2px solid rgba(255, 255, 255, 0.05);
    padding-right: 20px;
    height: 100%;
}

@media (max-width: 991px) {
    .portfolio-sidebar {
        border-right: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.05);
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 30px;
    }
}

.portfolio-sidebar .sidebar-title {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.portfolio-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 991px) {
    .portfolio-category-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
}

.portfolio-category-list .category-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-category-list .category-btn {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

@media (max-width: 991px) {
    .portfolio-category-list .category-btn {
        width: auto;
        padding: 8px 16px;
    }
}

.portfolio-category-list .category-btn .icon-wrap {
    font-size: 16px;
    width: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.portfolio-category-list .category-item.active .category-btn,
.portfolio-category-list .category-item:hover .category-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Orange Accent on Active Category */
.portfolio-category-list .category-item.active .category-btn .icon-wrap,
.portfolio-category-list .category-item:hover .category-btn .icon-wrap {
    color: #ff5e14; /* Theme orange color */
}

/* Product Card Grid */
.product-grid-card {
    position: relative;
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-grid-card .product-card-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #121212;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-grid-card .product-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-grid-card .product-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    padding: 24px 20px 16px 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

.product-grid-card .product-card-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* Card Hover States */
.product-grid-card:hover {
    border-color: rgba(255, 94, 20, 0.3); /* Orange accent border on hover */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    transform: translateY(-5px);
}

.product-grid-card:hover .product-card-image {
    transform: scale(1.05);
}

.product-grid-card:hover .product-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.no-products-message {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
}

/* =============================================================
   Limit Hero Subheading to Two Lines on Desktop
   ============================================================= */
@media (min-width: 992px) {
    .hero-2 .hero-content p {
        max-width: 580px;
    }
}

/* =============================================================
   Limit Hero Subheading to Two Lines on Desktop
   ============================================================= */
@media (min-width: 992px) {
    .hero-2 .hero-content p {
        max-width: 580px;
    }
}

/* =============================================================
   Limit Hero Subheading to Two Lines on Desktop
   ============================================================= */
@media (min-width: 992px) {
    .hero-2 .hero-content p {
        max-width: 580px;
    }
}

/* =============================================================
   Offcanvas Sidebar Logo Dimensions
   ============================================================= */
.offcanvas__logo img {
    width: 168px;
    height: auto;
    max-height: 40px;
    display: block;
    object-fit: contain;
}

/* =============================================================
   Offcanvas Sidebar Logo Dimensions
   ============================================================= */
.offcanvas__logo img {
    width: 168px;
    height: auto;
    max-height: 40px;
    display: block;
    object-fit: contain;
}

/* =============================================================
   Offcanvas Sidebar Logo Dimensions
   ============================================================= */
.offcanvas__logo img {
    width: 168px;
    height: auto;
    max-height: 40px;
    display: block;
    object-fit: contain;
}

/* =============================================================
   Center Work Process Section Title & Headings
   ============================================================= */
.work-process-section .section-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1000px !important;
}
.work-process-section .section-title h2,
.work-process-section .section-title h6 {
    text-align: center !important;
}

/* =============================================================
   Center Work Process Section Title & Headings
   ============================================================= */
.work-process-section .section-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1000px !important;
}
.work-process-section .section-title h2,
.work-process-section .section-title h6 {
    text-align: center !important;
}

/* =============================================================
   Center Work Process Section Title & Headings
   ============================================================= */
.work-process-section .section-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1000px !important;
}
.work-process-section .section-title h2,
.work-process-section .section-title h6 {
    text-align: center !important;
}

.work-process-section .section-title { max-width: 1000px !important; }

.work-process-section .section-title { max-width: 1000px !important; }

/* =============================================================
   Center Team Section Title & Headings (1000px max-width)
   ============================================================= */
.team-section .section-title {
    max-width: 1000px !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.team-section .section-title h2,
.team-section .section-title h6 {
    text-align: center !important;
}

/* =============================================================
   Center Contact Section Title & Match Home Heading Font Size (1000px max-width)
   ============================================================= */
.contact-section .section-title {
    max-width: 1000px !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.contact-section .section-title h2 {
    font-size: 68px !important;
    text-align: center !important;
}
.contact-section .section-title h6 {
    text-align: center !important;
}

@media (max-width: 1399px) {
    .contact-section .section-title h2 {
        font-size: 62px !important;
    }
}
@media (max-width: 1199px) {
    .contact-section .section-title h2 {
        font-size: 58px !important;
    }
}
@media (max-width: 991px) {
    .contact-section .section-title h2 {
        font-size: 48px !important;
    }
}
@media (max-width: 767px) {
    .contact-section .section-title h2 {
        font-size: 42px !important;
    }
}

/* =============================================================
   Standard WordPress Pages Styling (Privacy Policy, Terms, etc.)
   ============================================================= */
.standard-page-content h1,
.standard-page-content h2,
.standard-page-content h3,
.standard-page-content h4,
.standard-page-content h5,
.standard-page-content h6 {
    color: var(--white, #ffffff);
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    font-weight: 600;
}
.standard-page-content h2 {
    font-size: 32px;
}
.standard-page-content h3 {
    font-size: 26px;
}
.standard-page-content h4 {
    font-size: 22px;
}
.standard-page-content p {
    margin-bottom: 1.5em;
    color: rgba(255, 255, 255, 0.75);
}
.standard-page-content a {
    color: var(--theme, #c5a880);
    text-decoration: underline;
    transition: all 0.3s ease;
}
.standard-page-content a:hover {
    color: var(--white, #ffffff);
}
.standard-page-content ul,
.standard-page-content ol {
    margin-bottom: 1.5em;
    padding-left: 20px;
}
.standard-page-content li {
    margin-bottom: 0.5em;
    color: rgba(255, 255, 255, 0.75);
}
.standard-page-content ul {
    list-style-type: disc;
}
.standard-page-content ol {
    list-style-type: decimal;
}
.standard-page-content blockquote {
    border-left: 3px solid var(--theme, #c5a880);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

/* =============================================================
   Standard WordPress Pages Styling (Privacy Policy, Terms, etc.)
   ============================================================= */
.standard-page-content h1,
.standard-page-content h2,
.standard-page-content h3,
.standard-page-content h4,
.standard-page-content h5,
.standard-page-content h6 {
    color: var(--white, #ffffff);
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    font-weight: 600;
}
.standard-page-content h2 {
    font-size: 32px;
}
.standard-page-content h3 {
    font-size: 26px;
}
.standard-page-content h4 {
    font-size: 22px;
}
.standard-page-content p {
    margin-bottom: 1.5em;
    color: rgba(255, 255, 255, 0.75);
}
.standard-page-content a {
    color: var(--theme, #c5a880);
    text-decoration: underline;
    transition: all 0.3s ease;
}
.standard-page-content a:hover {
    color: var(--white, #ffffff);
}
.standard-page-content ul,
.standard-page-content ol {
    margin-bottom: 1.5em;
    padding-left: 20px;
}
.standard-page-content li {
    margin-bottom: 0.5em;
    color: rgba(255, 255, 255, 0.75);
}
.standard-page-content ul {
    list-style-type: disc;
}
.standard-page-content ol {
    list-style-type: decimal;
}
.standard-page-content blockquote {
    border-left: 3px solid var(--theme, #c5a880);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

/* =============================================================
   Standard WordPress Pages Styling (Privacy Policy, Terms, etc.)
   ============================================================= */
.standard-page-content h1,
.standard-page-content h2,
.standard-page-content h3,
.standard-page-content h4,
.standard-page-content h5,
.standard-page-content h6 {
    color: var(--white, #ffffff);
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    font-weight: 600;
}
.standard-page-content h2 {
    font-size: 32px;
}
.standard-page-content h3 {
    font-size: 26px;
}
.standard-page-content h4 {
    font-size: 22px;
}
.standard-page-content p {
    margin-bottom: 1.5em;
    color: rgba(255, 255, 255, 0.75);
}
.standard-page-content a {
    color: var(--theme, #c5a880);
    text-decoration: underline;
    transition: all 0.3s ease;
}
.standard-page-content a:hover {
    color: var(--white, #ffffff);
}
.standard-page-content ul,
.standard-page-content ol {
    margin-bottom: 1.5em;
    padding-left: 20px;
}
.standard-page-content li {
    margin-bottom: 0.5em;
    color: rgba(255, 255, 255, 0.75);
}
.standard-page-content ul {
    list-style-type: disc;
}
.standard-page-content ol {
    list-style-type: decimal;
}
.standard-page-content blockquote {
    border-left: 3px solid var(--theme, #c5a880);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

/* =============================================================
   Services Page - Intrio Hover Scale Grid Styling
   ============================================================= */
.services-page-section {
    position: relative;
    z-index: 1;
}

.service-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 380px;
    background-color: #121212;
}

.service-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none !important;
}

.service-img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-gallery-item:hover .service-img {
    transform: scale(1.1);
}

/* Gradient Overlay */
.service-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    transition: height 0.4s ease;
}

.service-gallery-item:hover .service-gradient-overlay {
    height: 70%;
}

/* Service Title Styling */
.service-title-wrap {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 3;
    pointer-events: none;
}

.service-title-wrap h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-transform: capitalize;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-gallery-item:hover .service-title-wrap h3 {
    transform: translateY(-5px);
}

/* Service Link Arrow */
.service-arrow {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--theme, #c5a880);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    opacity: 0;
    transform: translate(-10px, 10px) rotate(45deg);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-arrow i {
    color: #ffffff;
    font-size: 16px;
    transition: transform 0.4s ease;
}

.service-gallery-item:hover .service-arrow {
    opacity: 1;
    transform: translate(0, 0) rotate(45deg);
}

/* Responsive adjustment for service titles */
@media (max-width: 991px) {
    .service-gallery-item {
        height: 320px;
    }
    .service-title-wrap h3 {
        font-size: 24px;
    }
}

/* =============================================================
   Services Page - Intrio Hover Scale Grid Styling
   ============================================================= */
.services-page-section {
    position: relative;
    z-index: 1;
}

.service-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 380px;
    background-color: #121212;
}

.service-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none !important;
}

.service-img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-gallery-item:hover .service-img {
    transform: scale(1.1);
}

/* Gradient Overlay */
.service-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    transition: height 0.4s ease;
}

.service-gallery-item:hover .service-gradient-overlay {
    height: 70%;
}

/* Service Title Styling */
.service-title-wrap {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 3;
    pointer-events: none;
}

.service-title-wrap h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-transform: capitalize;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-gallery-item:hover .service-title-wrap h3 {
    transform: translateY(-5px);
}

/* Service Link Arrow */
.service-arrow {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--theme, #c5a880);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    opacity: 0;
    transform: translate(-10px, 10px) rotate(45deg);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-arrow i {
    color: #ffffff;
    font-size: 16px;
    transition: transform 0.4s ease;
}

.service-gallery-item:hover .service-arrow {
    opacity: 1;
    transform: translate(0, 0) rotate(45deg);
}

/* Responsive adjustment for service titles */
@media (max-width: 991px) {
    .service-gallery-item {
        height: 320px;
    }
    .service-title-wrap h3 {
        font-size: 24px;
    }
}

/* =============================================================
   Services Page - Intrio Hover Scale Grid Styling
   ============================================================= */
.services-page-section {
    position: relative;
    z-index: 1;
}

.service-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 380px;
    background-color: #121212;
}

.service-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none !important;
}

.service-img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-gallery-item:hover .service-img {
    transform: scale(1.1);
}

/* Gradient Overlay */
.service-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    transition: height 0.4s ease;
}

.service-gallery-item:hover .service-gradient-overlay {
    height: 70%;
}

/* Service Title Styling */
.service-title-wrap {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 3;
    pointer-events: none;
}

.service-title-wrap h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-transform: capitalize;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-gallery-item:hover .service-title-wrap h3 {
    transform: translateY(-5px);
}

/* Service Link Arrow */
.service-arrow {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--theme, #c5a880);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    opacity: 0;
    transform: translate(-10px, 10px) rotate(45deg);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-arrow i {
    color: #ffffff;
    font-size: 16px;
    transition: transform 0.4s ease;
}

.service-gallery-item:hover .service-arrow {
    opacity: 1;
    transform: translate(0, 0) rotate(45deg);
}

/* Responsive adjustment for service titles */
@media (max-width: 991px) {
    .service-gallery-item {
        height: 320px;
    }
    .service-title-wrap h3 {
        font-size: 24px;
    }
}

/* =============================================================
   Services Page - Intrio Asymmetrical Column Masonry Layout
   ============================================================= */
.services-grid-container {
    column-count: 3;
    column-gap: 24px;
    width: 100%;
}

.services-grid-container .service-gallery-item-wrapper {
    display: inline-block;
    width: 100%;
    margin-bottom: 24px;
    break-inside: avoid;
    -webkit-backface-visibility: hidden;
}

.services-grid-container .service-gallery-item.tall {
    height: 480px;
}

.services-grid-container .service-gallery-item.short {
    height: 340px;
}

@media (max-width: 991px) {
    .services-grid-container {
        column-count: 2;
    }
}

@media (max-width: 767px) {
    .services-grid-container {
        column-count: 1;
    }
    .services-grid-container .service-gallery-item.tall,
    .services-grid-container .service-gallery-item.short {
        height: 360px; /* Uniform height on mobile for clean look */
    }
}

/* =============================================================
   Services Page - Intrio Asymmetrical Column Masonry Layout
   ============================================================= */
.services-grid-container {
    column-count: 3;
    column-gap: 24px;
    width: 100%;
}

.services-grid-container .service-gallery-item-wrapper {
    display: inline-block;
    width: 100%;
    margin-bottom: 24px;
    break-inside: avoid;
    -webkit-backface-visibility: hidden;
}

.services-grid-container .service-gallery-item.tall {
    height: 480px;
}

.services-grid-container .service-gallery-item.short {
    height: 340px;
}

@media (max-width: 991px) {
    .services-grid-container {
        column-count: 2;
    }
}

@media (max-width: 767px) {
    .services-grid-container {
        column-count: 1;
    }
    .services-grid-container .service-gallery-item.tall,
    .services-grid-container .service-gallery-item.short {
        height: 360px; /* Uniform height on mobile for clean look */
    }
}

/* =============================================================
   Services Page - Intrio Asymmetrical Column Masonry Layout
   ============================================================= */
.services-grid-container {
    column-count: 3;
    column-gap: 24px;
    width: 100%;
}

.services-grid-container .service-gallery-item-wrapper {
    display: inline-block;
    width: 100%;
    margin-bottom: 24px;
    break-inside: avoid;
    -webkit-backface-visibility: hidden;
}

.services-grid-container .service-gallery-item.tall {
    height: 480px;
}

.services-grid-container .service-gallery-item.short {
    height: 340px;
}

@media (max-width: 991px) {
    .services-grid-container {
        column-count: 2;
    }
}

@media (max-width: 767px) {
    .services-grid-container {
        column-count: 1;
    }
    .services-grid-container .service-gallery-item.tall,
    .services-grid-container .service-gallery-item.short {
        height: 360px; /* Uniform height on mobile for clean look */
    }
}

/* =============================================================
   Services Page - CSS Grid Masonry Layout (Alternating heights)
   ============================================================= */
.services-grid-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: 10px !important;
    gap: 24px !important;
    width: 100% !important;
    column-count: auto !important; /* Reset old column layout */
}

.services-grid-container .service-gallery-item-wrapper {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin-bottom: 0 !important;
    break-inside: auto !important;
}

.services-grid-container .service-gallery-item {
    height: 100% !important;
}

/* Explicit Grid Columns */
.services-grid-container .service-gallery-item-wrapper.col-1 {
    grid-column: 1 !important;
}
.services-grid-container .service-gallery-item-wrapper.col-2 {
    grid-column: 2 !important;
}
.services-grid-container .service-gallery-item-wrapper.col-3 {
    grid-column: 3 !important;
}

/* Row Span heights matching 480px (span 48) and 340px (span 34) */
.services-grid-container .service-gallery-item-wrapper.tall {
    grid-row-end: span 48 !important;
}
.services-grid-container .service-gallery-item-wrapper.short {
    grid-row-end: span 34 !important;
}

@media (max-width: 991px) {
    .services-grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: auto !important;
        gap: 20px !important;
    }
    .services-grid-container .service-gallery-item-wrapper {
        grid-column: auto !important;
        grid-row-end: auto !important;
    }
    .services-grid-container .service-gallery-item {
        height: 380px !important;
    }
}

@media (max-width: 767px) {
    .services-grid-container {
        grid-template-columns: 1fr !important;
    }
    .services-grid-container .service-gallery-item {
        height: 360px !important;
    }
}

/* =============================================================
   Services Page - CSS Grid Masonry Layout (Alternating heights)
   ============================================================= */
.services-grid-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: 10px !important;
    gap: 24px !important;
    width: 100% !important;
    column-count: auto !important; /* Reset old column layout */
}

.services-grid-container .service-gallery-item-wrapper {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin-bottom: 0 !important;
    break-inside: auto !important;
}

.services-grid-container .service-gallery-item {
    height: 100% !important;
}

/* Explicit Grid Columns */
.services-grid-container .service-gallery-item-wrapper.col-1 {
    grid-column: 1 !important;
}
.services-grid-container .service-gallery-item-wrapper.col-2 {
    grid-column: 2 !important;
}
.services-grid-container .service-gallery-item-wrapper.col-3 {
    grid-column: 3 !important;
}

/* Row Span heights matching 480px (span 48) and 340px (span 34) */
.services-grid-container .service-gallery-item-wrapper.tall {
    grid-row-end: span 48 !important;
}
.services-grid-container .service-gallery-item-wrapper.short {
    grid-row-end: span 34 !important;
}

@media (max-width: 991px) {
    .services-grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: auto !important;
        gap: 20px !important;
    }
    .services-grid-container .service-gallery-item-wrapper {
        grid-column: auto !important;
        grid-row-end: auto !important;
    }
    .services-grid-container .service-gallery-item {
        height: 380px !important;
    }
}

@media (max-width: 767px) {
    .services-grid-container {
        grid-template-columns: 1fr !important;
    }
    .services-grid-container .service-gallery-item {
        height: 360px !important;
    }
}

/* =============================================================
   Services Page - CSS Grid Masonry Layout (Alternating heights)
   ============================================================= */
.services-grid-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: 10px !important;
    gap: 24px !important;
    width: 100% !important;
    column-count: auto !important; /* Reset old column layout */
}

.services-grid-container .service-gallery-item-wrapper {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin-bottom: 0 !important;
    break-inside: auto !important;
}

.services-grid-container .service-gallery-item {
    height: 100% !important;
}

/* Explicit Grid Columns */
.services-grid-container .service-gallery-item-wrapper.col-1 {
    grid-column: 1 !important;
}
.services-grid-container .service-gallery-item-wrapper.col-2 {
    grid-column: 2 !important;
}
.services-grid-container .service-gallery-item-wrapper.col-3 {
    grid-column: 3 !important;
}

/* Row Span heights matching 480px (span 48) and 340px (span 34) */
.services-grid-container .service-gallery-item-wrapper.tall {
    grid-row-end: span 48 !important;
}
.services-grid-container .service-gallery-item-wrapper.short {
    grid-row-end: span 34 !important;
}

@media (max-width: 991px) {
    .services-grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: auto !important;
        gap: 20px !important;
    }
    .services-grid-container .service-gallery-item-wrapper {
        grid-column: auto !important;
        grid-row-end: auto !important;
    }
    .services-grid-container .service-gallery-item {
        height: 380px !important;
    }
}

@media (max-width: 767px) {
    .services-grid-container {
        grid-template-columns: 1fr !important;
    }
    .services-grid-container .service-gallery-item {
        height: 360px !important;
    }
}

/* =============================================================
   Services Page - Reverted Uniform Layout
   ============================================================= */
.service-gallery-item {
    position: relative !important;
    height: 420px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background-color: #111 !important;
    width: 100% !important;
    display: block !important;
}

@media (max-width: 767px) {
    .service-gallery-item {
        height: 360px !important;
    }
}

/* =============================================================
   Services Page - Reverted Uniform Layout
   ============================================================= */
.service-gallery-item {
    position: relative !important;
    height: 420px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background-color: #111 !important;
    width: 100% !important;
    display: block !important;
}

@media (max-width: 767px) {
    .service-gallery-item {
        height: 360px !important;
    }
}

/* =============================================================
   Services Page - Reverted Uniform Layout
   ============================================================= */
.service-gallery-item {
    position: relative !important;
    height: 420px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background-color: #111 !important;
    width: 100% !important;
    display: block !important;
}

@media (max-width: 767px) {
    .service-gallery-item {
        height: 360px !important;
    }
}