/* 
 * Alemtyaz Premium Redesign
 * Minimal Luxury, Dark Aesthetics, Glassmorphism
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --primary-color: #C9A84C;
    --primary-hover: #A8893A;
    --primary-soft: rgba(201, 168, 76, 0.1);
    --dark-color: #2C2C2C;
    --dark-overlay: rgba(44, 44, 44, 0.85);
    --text-color: #666666;
    --light-bg: #F5F4F0;
    --white: #FFFFFF;

    /* System */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 50px rgba(201, 168, 76, 0.15);
    --glass-bg: rgba(201, 168, 76, 0.05);
    --glass-border: rgba(201, 168, 76, 0.15);
    --glass-blur: blur(20px);

    /* Bootstrap Overrides */
    --bs-primary: #C9A84C;
    --bs-dark: #2C2C2C;
    --bs-light: #F5F4F0;
    --bs-body-font-family: 'Inter', sans-serif;
    --bs-link-color: #C9A84C;
    --bs-link-hover-color: #A8893A;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.font-serif {
    font-family: 'Playfair Display', serif;
    color: var(--dark-color);
    font-weight: 600;
}

body .row {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

body .container {
    max-width: 93%;
}

p {
    line-height: 1.8;
    font-size: 1.05rem;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.btn-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(198, 107, 78, 0.3);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: var(--white) !important;
}

.btn-outline-light:hover {
    background-color: var(--white) !important;
    color: var(--dark-color) !important;
    transform: translateY(-2px);
}

/* Utilities */
.tracking-wide {
    letter-spacing: 2px;
}

.tracking-wider {
    letter-spacing: 4px;
}

.tracking-widest {
    letter-spacing: 4px;
}

.rounded-4 {
    border-radius: var(--border-radius-md) !important;
}

.shadow-soft {
    box-shadow: var(--shadow-soft) !important;
}

/* Custom Sizes & Spacing Utilities */
.fs-sm {
    font-size: 0.9rem;
}

.fs-xs {
    font-size: 0.8rem;
}

.fs-xxs {
    font-size: 0.7rem;
    line-height: 1.2;
}

.fs-xl {
    font-size: 1.2rem;
}

.fs-2xl {
    font-size: 2.5rem;
}

.fs-3xl {
    font-size: 3rem;
}

.lh-tight {
    line-height: 1.2;
}

.lh-relaxed {
    line-height: 1.4;
}

.lh-loose {
    line-height: 1.8;
}

.max-w-md {
    max-width: 600px;
}

.max-w-lg {
    max-width: 700px;
}

.py-section-lg {
    padding-top: 120px !important;
    padding-bottom: 120px !important;
}

.py-section-md {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

.py-section-sm {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.pt-section-sm-pb-lg {
    padding-top: 80px !important;
    padding-bottom: 120px !important;
}

.py-section-stats {
    padding: 60px 0 100px;
}

.img-h-500 {
    height: 500px !important;
    width: 100% !important;
    object-fit: cover !important;
}

.img-h-400 {
    height: 400px !important;
    width: 100% !important;
    object-fit: cover !important;
}

.link-read-more {
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 5px;
}

.btn-icon-md {
    width: 45px;
    height: 45px;
}

.absolute-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bg-pattern-radial {
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}


.logo-header {
    height: 70px;
}

.logo-footer {
    height: 60px;
    filter: brightness(0) invert(1);
}

.border-top-white-10 {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.border-top-white-5 {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Header & Nav */
.header {
    transition: background 0.4s ease, backdrop-filter 0.4s ease, padding-top 0.4s ease, padding-bottom 0.4s ease, box-shadow 0.4s ease;
    padding: 20px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.07);
    padding: 12px 0;
}

header .navbar-nav {
    display: flex;
    gap: 1rem;
}

header li {
    /* margin-right: 1rem !important;
    margin-left: 1rem !important; */
    display: flex;
}

/* Nav links — white on hero, dark when scrolled */
.header li a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
    padding: .5rem 1rem;
}

[dir="rtl"] .header li a {
    font-size: 1rem;
}

.header li a:hover,
header li a.active,
.header.scrolled li a.active {
    color: var(--primary-color) !important;
}

.header.scrolled li a {
    color: var(--dark-color) !important;
}

.header.scrolled li a:hover {
    color: var(--primary-color) !important;
}

.brand-logo {
    filter: brightness(0) invert(1);
    transition: filter 0.4s ease;
}

.header.scrolled .brand-logo {
    filter: none;
}

.header-contact {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.4s ease;
}

.header.scrolled .header-contact {
    color: var(--dark-color) !important;
}

.header-lang {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.4s ease;
}

.header.scrolled .header-lang {
    color: var(--dark-color) !important;
}

.header li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.header li a:hover::after,
header li a.active:hover::after,
.header.scrolled li a.active:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

[dir="rtl"] .header li a:hover::after,
[dir="rtl"] header li a.active:hover::after,
[dir="rtl"] .header.scrolled li a.active:hover::after {
    transform-origin: right;
}

/* Custom Header Breakpoint for Navbar */
@media (max-width: 1250px) {
    .header .d-lg-flex {
        display: none !important;
    }
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 800px;
    background-color: var(--dark-color);
    overflow: hidden;
}

/* Hero Swiper fills the section */
.hero-swiper {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.hero-swiper .swiper-wrapper {
    height: 100% !important;
}

.hero-swiper .swiper-slide,
.hero-slide {
    width: 100% !important;
    height: 100% !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay-dark {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(17, 17, 17, 0.75) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(17, 17, 17, 0.45) 0%, transparent 40%),
        linear-gradient(105deg, rgba(17, 17, 17, 0.65) 0%, rgba(17, 17, 17, 0.15) 55%, rgba(17, 17, 17, 0.35) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    pointer-events: none;
    /* Let drag/swipe events reach Swiper below */
}

/* Re-enable clicks only on actual interactive elements */
.hero-content a,
.hero-content button {
    pointer-events: auto;
}


.hero-title {
    font-size: clamp(3.5rem, 6vw, 7rem);
    line-height: 1.2;
    color: var(--white);
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

/* Swiper dots positioned at bottom */
.hero-swiper-pagination {
    position: absolute;
    bottom: 50px !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 10;
    transform: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.hero-swiper-pagination .swiper-pagination-bullet {
    width: 30px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    margin: 0 4px;
    transition: all 0.4s ease;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 55px;
}

/* Animated progress bar at very top */
.hero-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--primary-color);
    z-index: 10;
    animation: heroProgress 5s linear infinite;
}

@keyframes heroProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* Hero Stats Arch */
.hero-stats-arch {
    position: absolute;
    bottom: 0;
    right: 8%;
    width: 150px;
    background: var(--white);
    border: none;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    flex-direction: column;
    align-items: center;
    padding: 50px 0 40px;
    z-index: 10;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .hero-stats-arch {
    right: unset;
    left: 8%;
}

.hero-stats-arch:hover {
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

.hero-stats-arch .stat-item {
    text-align: center;
    margin: 15px 0;
}

.hero-stats-arch .stat-number {
    display: block;
    font-size: 2.8rem;
    line-height: 1;
    margin-bottom: 8px;
    transition: all 0.4s ease;
}

.hero-stats-arch:hover .stat-number {
    transform: scale(1.1);
}

.hero-stats-arch .stat-label {
    display: block;
    font-size: 0.65rem;
    line-height: 1.4;
    letter-spacing: 2px;
}

.hero-stats-arch .arch-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
    margin: 10px 0;
}

/* About Section */
.about-images-wrapper {
    position: relative;
    min-height: 500px;
}

.about-images-wrapper .img-1 {
    width: 80%;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
}

.about-images-wrapper .img-2 {
    width: 50%;
    position: absolute;
    bottom: 10%;
    right: 0;
    z-index: 3;
    border: 10px solid var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-hover);
}

.exp-badge {
    position: absolute;
    top: -30px;
    left: -30px;
    z-index: 4;
    background: var(--primary-color);
    color: var(--white);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 30px rgba(198, 107, 78, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Manager Quote */
.manager-quote-section {
    background-color: var(--dark-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.manager-quote-section::before {
    content: '"';
    position: absolute;
    top: -50px;
    left: 10%;
    font-size: 300px;
    font-family: 'Playfair Display', serif;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.video-embed-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.video-iframe-premium {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-thumbnail-rounded {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.play-btn-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.play-btn-pulse::after {
    content: '';
    position: absolute;
    inset: -15px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Stats Cards (Why Choose Us) */
.stat-card-premium {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.stat-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.stat-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary-soft);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.stat-card-premium:hover .stat-icon-wrapper {
    background: var(--primary-color);
    color: var(--white);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1;
    margin-bottom: 10px;
}

/* Services */
.service-card-modern {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 50px 40px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card-modern::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
    border-radius: 50% 50% 0 0;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: 0 25px 60px rgba(198, 107, 78, 0.15);
}

.service-card-modern:hover::after {
    top: 0;
    border-radius: 0;
}

.service-icon-large {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
    display: inline-block;
}

.service-card-modern:hover .service-icon-large {
    transform: scale(1.1) translateY(-5px);
    color: var(--white);
}

.service-card-modern h4,
.service-card-modern p,
.service-card-modern h2 {
    transition: color 0.4s ease;
}

.service-card-modern:hover h4,
.service-card-modern:hover p,
.service-card-modern:hover h2 {
    color: var(--white) !important;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding: 40px 0;
}

.process-timeline::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.process-step-modern {
    position: relative;
    z-index: 2;
    text-align: center;
}

.process-number-circle {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    margin: -20px auto 30px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.process-step-modern:hover .process-number-circle {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Projects Masonry Gallery */
.project-card-premium {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 30px;
    cursor: pointer;
}

.project-card-premium img {
    width: 100%;
    height: auto;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.9) 0%, rgba(17, 17, 17, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: var(--transition);
}

.project-card-premium:hover img {
    transform: scale(1.05);
}

.project-card-premium:hover .project-overlay {
    opacity: 1;
}

.project-category {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.project-title {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
}

.project-card-premium:hover .project-category,
.project-card-premium:hover .project-title {
    transform: translateY(0);
}

/* Expert Engineers - Architect Cards */
.architect-card {
    position: relative;
    padding-bottom: 50px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 20px;
}

.architect-image-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    aspect-ratio: 3/4;
    transition: all 0.5s ease;
}

.architect-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.architect-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    border-radius: 30px;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.architect-info-box {
    position: absolute;
    bottom: -20px;
    left: 6%;
    right: 6%;
    background: var(--white);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.architect-name {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 6px;
    font-weight: 700;
}

.architect-title {
    font-size: 0.75rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
}

.architect-desc {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.6;
}

.architect-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 0;
    overflow: hidden;
}

.architect-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.architect-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Hover Effects */
.architect-card:hover {
    transform: translateY(-10px);
}

.architect-card:hover .architect-image-wrap {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.architect-card:hover .architect-image-wrap img {
    transform: scale(1.08);
}

.architect-card:hover .architect-info-box {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    bottom: -15px;
}

.architect-card:hover .architect-social {
    opacity: 1;
    transform: translateY(0);
    height: 52px;
    margin-top: 15px;
}


/* Partners */
.partner-logo-premium {
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    transform: scale(0.9);
}

.owl-item.center .partner-logo-premium {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15);
}

.partner-logo-premium:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Footer Premium */
.footer-premium {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-premium h5 {
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding-bottom: 5px;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--white);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 10px 0;
    border-radius: 0;
}

.footer-input:focus {
    background: transparent;
    box-shadow: none;
    border-bottom-color: var(--primary-color);
    color: var(--white);
}

/* ===== CF7 Newsletter Footer Form ===== */
.footer-cf7-newsletter .wpcf7 {
    display: block;
}

.footer-cf7-newsletter .wpcf7-form {
    display: flex;
    position: relative;
}

.footer-cf7-newsletter .wpcf7-form p {
    margin: 0;
    flex: 1;
    display: flex;
    position: relative;
}

.footer-cf7-newsletter .wpcf7-form .wpcf7-form-control-wrap {
    flex: 1;
    display: flex;
}

.footer-cf7-newsletter input.newsletter-email,
.footer-cf7-newsletter input[type="email"] {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 10px 40px 10px 12px;
    border-radius: 0;
    width: 100%;
    outline: none;
    transition: border-color 0.3s;
}

html[dir="rtl"] .footer-cf7-newsletter input.newsletter-email,
html[dir="rtl"] .footer-cf7-newsletter input[type="email"],
[dir="rtl"] .footer-cf7-newsletter input.newsletter-email,
[dir="rtl"] .footer-cf7-newsletter input[type="email"] {
    padding: 10px 12px 10px 40px !important;
}

.footer-cf7-newsletter input.newsletter-email::placeholder,
.footer-cf7-newsletter input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.footer-cf7-newsletter input.newsletter-email:focus,
.footer-cf7-newsletter input[type="email"]:focus {
    border-bottom-color: var(--primary-color);
    box-shadow: none;
}

.footer-cf7-newsletter .wpcf7-submit {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23EB5A5E' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z'/%3E%3C/svg%3E") no-repeat center center;
    background-size: contain;
    border: none;
    padding: 0;
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-size: 0;
    color: transparent;
    text-indent: -9999px;
    overflow: hidden;
    outline: none;
    box-shadow: none;
}

html[dir="rtl"] .footer-cf7-newsletter .wpcf7-submit,
[dir="rtl"] .footer-cf7-newsletter .wpcf7-submit {
    right: auto !important;
    left: 0 !important;
    transform: translateY(-50%) scaleX(-1) !important;
}

.footer-cf7-newsletter .wpcf7-response-output {
    margin-top: 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    padding: 6px 10px;
    border: none !important;
}

.footer-cf7-newsletter .wpcf7-mail-sent-ok {
    color: #6fcf97;
}

.footer-cf7-newsletter .wpcf7-validation-errors,
.footer-cf7-newsletter .wpcf7-mail-sent-ng {
    color: #eb5757;
}

.footer-cf7-newsletter .wpcf7-not-valid-tip {
    font-size: 0.75rem;
    color: #eb5757;
}

.footer-cf7-newsletter .ajax-loader {
    display: none !important;
}


/* ===== SIDEBAR DRAWER ===== */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 360px;
    max-width: 100vw;
    background-color: var(--dark-color);
    z-index: 1050;
    padding: 50px 36px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    box-shadow: none;
}

[dir="rtl"] .sidebar-drawer {
    right: unset;
    left: 0;
    transform: translateX(-100%);
}

.sidebar-drawer.active {
    transform: translateX(0);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

[dir="rtl"] .sidebar-drawer.active {
    transform: translateX(0);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
}

.sidebar-close-btn {
    position: absolute;
    top: 22.5px;
    right: 12px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

[dir="rtl"] .sidebar-close-btn {
    right: unset;
    left: 30px;
}

.sidebar-close-btn:hover {
    background-color: var(--primary-hover);
    transform: rotate(90deg) scale(1.1);
}

.sidebar-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-social-btn:hover,
.sidebar-social-btn--active {
    background-color: var(--primary-color);
    color: #fff;
}

/* ===== VIDEO EMBED ===== */
.video-embed-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16 / 9;
    width: 100%;
}

.video-iframe-premium {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ===== FOOTER SOCIAL ICONS ===== */
.footer-social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(198, 107, 78, 0.35);
}

/* ===== SECTION LABEL UNDERLINE ===== */
.text-primary.text-uppercase.tracking-wider,
.section-label {
    position: relative;
    display: inline-block;
}

.text-primary.text-uppercase.tracking-wider::after,
.section-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--primary-color, #eb5a5e);
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-primary.text-uppercase.tracking-wider.is-visible::after,
.section-label.is-visible::after {
    width: 100%;
}

/* ===== PARTNERS CAROUSEL ===== */
.partners-carousel .owl-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes archFloat {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.06);
    }

    50% {
        transform: scale(1.015);
        box-shadow: 0 -25px 55px rgba(198, 107, 78, 0.14);
    }
}

.hero-stats-arch {
    animation: archFloat 5s ease-in-out infinite;
}

.hero-stats-arch:hover {
    animation: none;
    transform: scale(1.02);
    box-shadow: 0 -20px 50px rgba(198, 107, 78, 0.18);
}

/* 2. Section label — animated underline sweep */
.text-primary.text-uppercase.tracking-wider,
.section-label {
    position: relative;
    display: inline-block;
}

.text-primary.text-uppercase.tracking-wider::after,
.section-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-primary.text-uppercase.tracking-wider.is-visible::after,
.section-label.is-visible::after {
    width: 100%;
}

/* 3. Cards — shimmer sweep on hover */
.service-card-modern,
.stat-card-premium,
.architect-card .architect-info-box {
    overflow: hidden;
}

.service-card-modern::before,
.stat-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.12),
            transparent);
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 1;
}

.service-card-modern:hover::before,
.stat-card-premium:hover::before {
    left: 150%;
}

/* 4. Project cards — scale-in overlay reveal (smoother) */
.project-overlay {
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.55s ease !important;
}

.project-card-premium:hover .project-overlay {
    background: linear-gradient(to top, rgba(17, 17, 17, 0.92) 0%, rgba(17, 17, 17, 0.05) 65%);
}

/* 5. Stat number — count glow on reveal */
@keyframes statGlow {
    0% {
        text-shadow: none;
    }

    50% {
        text-shadow: 0 0 30px rgba(198, 107, 78, 0.35);
    }

    100% {
        text-shadow: none;
    }
}

.stat-number {
    animation: statGlow 3.5s ease-in-out infinite;
}

/* 6. About images — gentle parallax float */
@keyframes imgFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

.about-images-wrapper .img-2 {
    animation: imgFloat 7s ease-in-out infinite;
}

.story-img {
    min-height: 500px;
    object-fit: cover;
}

/* 7. Process number circles — rotate-in on hover */
.process-number-circle {
    transition: background 0.4s ease, color 0.4s ease,
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.process-step-modern:hover .process-number-circle {
    transform: scale(1.15) rotate(15deg) !important;
}

/* 8. Hero title — shimmer gradient animation */
@keyframes heroTitleShine {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-title {
    background: linear-gradient(90deg,
            #ffffff 0%,
            #ffffff 40%,
            rgba(201, 168, 76, 0.85) 50%,
            #ffffff 60%,
            #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroTitleShine 6s linear infinite;
}

@keyframes lineGrow {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

hr {
    transform-origin: left;
    animation: lineGrow 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* 10. Architect card — highlight ring on hover */
.architect-card:hover .architect-image-wrap {
    outline: 3px solid rgba(198, 107, 78, 0.2);
    outline-offset: 6px;
    transition: outline 0.4s ease, outline-offset 0.4s ease,
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* =============================================
   RESPONSIVE DESIGN (Media Queries)
   ============================================= */

@media (max-width: 1199px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media(min-width: 1171px) {
    .sidebar-drawer .list-unstyled {
        display: none;
    }

    .contact-info-section {
        margin-top: -80px;
    }
}

@media(max-width: 1170px) {

    .navbar-expand-lg .navbar-nav,
    header .header-lang {
        display: none !important;
    }

    .sidebar-drawer img {
        display: none;
    }
}

@media(min-width: 992px) {
    .navbar-expand-lg .navbar-nav li a {
        padding-right: .5rem;
        padding-left: .5rem;
    }

    [dir="rtl"] body .offset-lg-1 {
        margin-right: 8.33333333%;
        margin-left: unset;
    }
}

/* ===== SERVICES HERO ===== */
.services-hero-section {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-color);
    overflow: hidden;
}

.services-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
    animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

.services-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.85) 0%, rgba(17, 17, 17, 0.6) 100%);
    z-index: 1;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 60px;
}

.services-breadcrumb {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin: 0;
}

.services-breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
}

.services-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.services-breadcrumb .breadcrumb-item a:hover {
    color: var(--white);
}

.services-breadcrumb .breadcrumb-item.active {
    color: var(--primary-color);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.services-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.4rem;
    line-height: 1;
    padding: 0 12px;
    vertical-align: middle;
}

.services-hero-title {
    font-size: clamp(2.8rem, 5vw, 5.5rem);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, rgba(235, 90, 94, 0.85) 50%, #ffffff 60%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroTitleShine 6s linear infinite;
}

.services-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 0;
}

/* Hero Stats Panel */
.services-hero-panel {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    text-align: center;
}

.services-panel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.panel-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}

.panel-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

.services-panel-divider {
    width: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 5px auto;
}

/* Scroll Indicator */
.services-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-dot-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

.scroll-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===== INTRO STRIP ===== */
.services-intro-strip {
    padding: 70px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* ===== SERVICE CARDS EXTENDED ===== */
.service-card-full {
    position: relative;
}

.service-number-tag {
    position: absolute;
    top: 30px;
    right: 35px;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.04);
    line-height: 1;
    user-select: none;
    transition: color 0.4s ease;
}

.service-card-modern:hover .service-number-tag {
    color: rgba(235, 90, 94, 0.08);
}

.service-card-img-wrap {
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-bottom: 28px;
    position: relative;
}

.service-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(20%);
}

.service-card-modern:hover .service-card-img-wrap img {
    transform: scale(1.06);
    filter: grayscale(0%);
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.service-features-list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.88rem;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.5;
}

.service-features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* ===== DARK BANNER ===== */
.services-dark-banner {
    position: relative;
    padding: 120px 0;
    background-color: var(--dark-color);
    overflow: hidden;
}

.services-dark-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
}

.services-dark-banner-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 50%, rgba(235, 90, 94, 0.07) 0%, transparent 60%);
}

.contact-info-section {
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

.contact-info-card {
    background-color: var(--dark-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-card:hover {
    transform: translateY(-10px);
}

.contact-icon-wrap {
    width: 60px;
    height: 60px;
    background-color: rgba(198, 107, 78, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.contact-info-card:hover .contact-icon-wrap {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 19. Team Detail Page specific */
.dark-banner-image-stack {
    position: relative;
    min-height: 480px;
}

.dark-img-main {
    width: 80%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.dark-img-accent {
    width: 55%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 3;
    border: 6px solid var(--dark-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: imgFloat 7s ease-in-out infinite;
}

.dark-banner-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    z-index: 4;
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 15px 40px rgba(235, 90, 94, 0.35);
    animation: float 6s ease-in-out infinite;
}

/* Dark stat styles */
.dark-banner-stat {
    display: flex;
    flex-direction: column;
}

.dark-stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.dark-stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
}

/* ===== WHY CHOOSE US PILLARS ===== */
.services-why-section {
    background: var(--white);
}

.why-pillar-card {
    padding: 40px 35px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.why-pillar-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.why-pillar-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-soft);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.why-pillar-card:hover .why-pillar-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

/* ===== FAQ ACCORDION ===== */
.services-faq-section {
    background: var(--light-bg) !important;
}

.services-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.services-accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.services-accordion-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.services-accordion-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 28px 0;
    text-align: left;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: color 0.3s ease;
}

.services-accordion-btn:hover,
.services-accordion-btn.active {
    color: var(--primary-color);
}

.accordion-arrow {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.accordion-arrow::before,
.accordion-arrow::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-arrow::before {
    width: 10px;
    height: 1.5px;
}

.accordion-arrow::after {
    width: 1.5px;
    height: 10px;
}

.services-accordion-btn.active .accordion-arrow::after {
    transform: rotate(90deg);
    opacity: 0;
}

.services-accordion-btn.active .accordion-arrow {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.services-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    padding-bottom: 0;
}

.services-accordion-body.open {
    max-height: 300px;
    padding-bottom: 28px;
}

/* ===== CTA SECTION ===== */
.services-cta-section {
    position: relative;
    padding: 140px 0;
    background-color: var(--dark-color);
    overflow: hidden;
}

.services-cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.12;
}

.services-cta-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(235, 90, 94, 0.1) 0%, rgba(17, 17, 17, 0.6) 70%);
}

/* ===== MAIN LAYOUT ===== */
.sd-main-section {
    background: var(--white);
}

/* ===== HERO IMAGE ===== */
.sd-hero-image {
    position: relative;
    width: 100%;
    height: 460px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.sd-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
    animation: heroZoom 8s ease forwards;
}

.sd-hero-image-badge {
    position: absolute;
    bottom: 28px;
    left: 28px;
    background: var(--white);
    color: var(--dark-color);
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.sd-hero-image-badge svg {
    color: var(--primary-color);
}

/* ===== OVERVIEW ===== */
.sd-overview p {
    font-size: 0.95rem;
    line-height: 1.9;
}

/* ===== FEATURES GRID ===== */
.sd-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #f9f9f9;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.sd-feature-item:hover {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(235, 90, 94, 0.08);
    transform: translateY(-2px);
}

.sd-feature-icon {
    width: 34px;
    height: 34px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}

/* ===== PROCESS STEPS ===== */
.sd-process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sd-step {
    display: flex;
    gap: 28px;
    position: relative;
    padding-bottom: 40px;
}

.sd-step:last-child {
    padding-bottom: 0;
}

.sd-step::before {
    content: '';
    position: absolute;
    left: 26px;
    top: 56px;
    width: 1px;
    height: calc(100% - 56px);
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

.sd-step:last-child::before {
    display: none;
}

.sd-step-number {
    width: 54px;
    height: 54px;
    background: var(--dark-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary-color);
    transition: var(--transition);
}

.sd-step:hover .sd-step-number {
    background: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color), 0 8px 25px rgba(235, 90, 94, 0.3);
}

.sd-step-content {
    padding-top: 12px;
}

.sd-step-content h5 {
    font-size: 1.05rem;
}

/* ===== GALLERY ===== */
.sd-gallery-item {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    cursor: pointer;
}

.sd-gallery-tall {
    height: 360px;
}

.sd-gallery-half {
    flex: 1;
    min-height: 170px;
}

.sd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(15%);
}

.sd-gallery-item:hover img {
    transform: scale(1.06);
    filter: grayscale(0%);
}

.sd-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.75) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sd-gallery-item:hover .sd-gallery-overlay {
    opacity: 1;
}

.sd-gallery-overlay span {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ===== SIDEBAR ===== */
.sd-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sd-sidebar-box {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--border-radius-md);
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* ===== Services Nav List ===== */
.sd-services-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sd-services-nav li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sd-services-nav li:last-child {
    border-bottom: none;
}

.sd-services-nav li a {
    display: flex;
    align-items: center;
    padding: 14px 0;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}

.sd-services-nav li a:hover,
.sd-services-nav li.active a {
    color: var(--primary-color);
    padding-left: 6px;
}

.sd-services-nav li a svg {
    color: var(--primary-color);
    transition: var(--transition);
}

.sd-services-nav li.active {
    background: linear-gradient(90deg, rgba(235, 90, 94, 0.04) 0%, transparent 100%);
    margin: 0 -28px;
    padding: 0 28px;
    border-left: 3px solid var(--primary-color);
}

/* ===== Stats Box ===== */
.sd-sidebar-stats {
    background: var(--dark-color);
    border-color: transparent;
}

.sd-stat-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sd-stat-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sd-stat-row:first-child {
    padding-top: 0;
}

.sd-stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    min-width: 80px;
}

.sd-stat-lbl {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* ===== CTA Box ===== */
.sd-sidebar-cta {
    position: relative;
    padding: 36px 28px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: var(--dark-color);
}

.sd-cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
}

.sd-cta-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(235, 90, 94, 0.12) 0%, transparent 60%);
}

/* ===== Download Box ===== */
.sd-download-box {
    padding: 22px 24px;
}

.sd-download-icon {
    width: 48px;
    height: 48px;
    background: rgba(235, 90, 94, 0.1);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* ===== STATS STRIP ===== */
.proj-stats-strip {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.proj-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 20px;
    border-right: 1px solid rgba(0, 0, 0, 0.07);
    text-align: center;
}

.proj-stat-last {
    border-right: none;
}

.proj-stat-num {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    display: inline;
}

.proj-stat-lbl {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 10px;
    display: block;
}

/* ===== FLAT PROJECT GRID (filter-friendly) ===== */
.proj-flat-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-flow: dense;
    align-items: start;
    /* cards keep their own heights — no stretching */
    gap: 16px;
}

.proj-item {
    min-height: 0;
}

.proj-item.hidden {
    display: none !important;
}

.proj-span-4 {
    grid-column: span 4;
}

.proj-span-5 {
    grid-column: span 5;
}

.proj-span-6 {
    grid-column: span 6;
}

.proj-span-7 {
    grid-column: span 7;
}

.proj-span-8 {
    grid-column: span 8;
}

.proj-span-12 {
    grid-column: span 12;
}

/* Mobile: single column */
@media (max-width: 576px) {
    .proj-flat-grid {
        grid-template-columns: 1fr;
    }

    .proj-span-4,
    .proj-span-5,
    .proj-span-6,
    .proj-span-7,
    .proj-span-8,
    .proj-span-12 {
        grid-column: span 1;
    }
}

/* ===== PROJECT CARD HEIGHTS ===== */
.proj-card-tall img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.proj-card-medium img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.proj-card-short img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

.proj-card-short {
    min-height: 180px;
}

/* ===== PROJECT META (location + year) ===== */
.proj-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
    margin-bottom: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.3s;
    opacity: 0;
}

.project-card-premium:hover .proj-meta {
    transform: translateY(0);
    opacity: 1;
}

/* ===== PROJECT NUMBER TAG ===== */
.proj-number {
    position: absolute;
    top: 22px;
    right: 22px;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    background: rgba(17, 17, 17, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: var(--transition);
}

.project-card-premium:hover .proj-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===== FILTER BAR ===== */
.proj-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.proj-filter-btn {
    background: transparent;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    color: var(--text-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.proj-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.proj-filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(235, 90, 94, 0.3);
}

/* ===== FILTER ANIMATION ===== */
.proj-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.proj-item.hidden {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
    display: none;
}

/* ===== DARK PROMISE BANNER ===== */
.proj-dark-banner {
    position: relative;
    padding: 120px 0;
    background-color: var(--dark-color);
    overflow: hidden;
}

.proj-dark-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.07;
}

.proj-dark-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(235, 90, 94, 0.07) 0%, transparent 60%);
}

.proj-banner-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    align-self: center;
}

/* ===== BANNER IMAGE STACK ===== */
.proj-banner-image-wrap {
    position: relative;
    min-height: 460px;
}

.proj-banner-img-main {
    width: 82%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.proj-banner-img-accent {
    width: 52%;
    height: 210px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 3;
    border: 6px solid var(--dark-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: imgFloat 7s ease-in-out infinite;
}

.proj-banner-badge {
    position: absolute;
    top: -18px;
    left: -18px;
    z-index: 4;
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 20px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 15px 40px rgba(235, 90, 94, 0.35);
    animation: float 6s ease-in-out infinite;
}

/* ===== FULL-WIDTH HERO ===== */
.pd-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 560px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.pd-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 8s ease forwards;
}

.pd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.92) 0%, rgba(17, 17, 17, 0.35) 50%, rgba(17, 17, 17, 0.15) 100%);
    z-index: 1;
}

.pd-hero-bottom {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 56px;
    padding-top: 140px;
}

.pd-hero-category {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.pd-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}

/* Prev/Next Hero Nav */
.pd-hero-nav {
    display: inline-flex;
    gap: 12px;
    align-items: center;
}

.pd-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition);
}

.pd-nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ===== INFO STRIP ===== */
.pd-info-strip {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pd-info-item {
    display: flex;
    flex-direction: column;
    padding: 28px 32px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.pd-info-last {
    border-right: none;
}

.pd-info-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
}

.pd-info-value {
    font-size: 1.05rem;
    color: var(--dark-color);
    font-weight: 600;
}

/* ===== FEATURE IMAGE ===== */
.pd-feature-img {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.pd-feature-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 8s ease;
    animation: heroZoom 8s ease forwards;
}

.pd-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.7) 0%, transparent 100%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-style: italic;
    padding: 20px 24px 18px;
    letter-spacing: 0.5px;
}

/* ===== DETAIL BOXES (Challenge/Approach) ===== */
.pd-detail-box {
    background: #f9f9f9;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-md);
    padding: 32px 28px;
    height: 100%;
    transition: var(--transition);
}

.pd-detail-box:hover {
    background: var(--white);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
    transform: translateY(-4px);
}

.pd-detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(235, 90, 94, 0.1);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 18px;
}

/* ===== GALLERY ===== */
.pd-gallery-item {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    cursor: pointer;
    min-height: 200px;
}

.pd-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(10%);
    display: block;
}

.pd-gallery-tall img {
    height: 350px;
}

.pd-gallery-wide img {
    height: 300px;
}

.pd-gallery-item:hover img {
    transform: scale(1.06);
    filter: grayscale(0%);
}

.pd-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.75) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 18px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pd-gallery-item:hover .pd-gallery-overlay {
    opacity: 1;
}

.pd-gallery-overlay span {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ===== SCOPE OF WORK ===== */
.pd-scope-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 22px 24px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--border-radius-sm);
    background: var(--white);
    transition: var(--transition);
}

.pd-scope-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(235, 90, 94, 0.08);
    transform: translateY(-2px);
}

.pd-scope-num {
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.06);
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.pd-scope-item:hover .pd-scope-num {
    color: rgba(235, 90, 94, 0.15);
}

/* ===== TIMELINE ===== */
.pd-timeline {
    position: relative;
    padding-left: 0;
}

.pd-timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color) 0%, rgba(235, 90, 94, 0.1) 100%);
}

.pd-timeline-item {
    display: flex;
    gap: 28px;
    padding-bottom: 36px;
    position: relative;
}

.pd-timeline-last {
    padding-bottom: 0;
}

.pd-timeline-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    margin-top: 4px;
    transition: var(--transition);
}

.pd-timeline-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.pd-timeline-dot-final {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 6px rgba(235, 90, 94, 0.15);
}

.pd-timeline-dot-final::after {
    background: var(--white);
}

.pd-timeline-item:hover .pd-timeline-dot {
    border-color: var(--primary-color);
}

.pd-timeline-item:hover .pd-timeline-dot::after {
    background: var(--primary-color);
}

.pd-timeline-date {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 6px;
}

/* ===== PAGE NAV (Bottom Prev/Next) ===== */
.pd-page-nav-card {
    display: block;
    text-decoration: none;
    padding: 20px 0;
    transition: var(--transition);
}

.pd-page-nav-card:hover {
    opacity: 0.7;
}

.pd-page-nav-label {
    display: flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.pd-page-next .pd-page-nav-label {
    justify-content: flex-end;
}

.pd-page-nav-card h6 {
    color: var(--dark-color);
    font-size: 1rem;
}

/* ===== SIDEBAR: PROJECT DETAILS ===== */
.pd-sidebar-details {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--border-radius-md);
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pd-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pd-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pd-details-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pd-details-list li svg {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.pd-detail-lbl {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.pd-detail-val {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* ===== TAGS ===== */
.pd-tag {
    display: inline-block;
    background: rgba(235, 90, 94, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(235, 90, 94, 0.2);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.pd-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ===== SHARE BUTTONS ===== */
.pd-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.pd-share-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(235, 90, 94, 0.05);
}

/* ===== SIDEBAR BOX (generic card) ===== */
.sd-sidebar-box {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--border-radius-md);
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-top: 24px;
}

/* ===== CTA Box ===== */
.sd-sidebar-cta {
    position: relative;
    padding: 36px 28px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: var(--dark-color);
    margin-top: 24px;
}

.sd-cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
}

.sd-cta-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(235, 90, 94, 0.12) 0%, transparent 60%);
}

/* ===== STATUS PAGES & 404 ===== */
.status-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    padding: 140px 0 90px;
    background: linear-gradient(135deg, rgba(235, 90, 94, 0.06), rgba(255, 255, 255, 0.95));
}

.status-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(17, 17, 17, 0.06);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    padding: 48px 32px;
}

.status-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(235, 90, 94, 0.12);
    color: var(--primary-color);
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.05);
    color: var(--dark-color);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.status-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text-color);
}

.status-list li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

.btn-outline-dark {
    border-color: var(--dark-color) !important;
    color: var(--dark-color) !important;
    background: transparent;
}

.btn-outline-dark:hover {
    background-color: var(--dark-color) !important;
    color: var(--white) !important;
}

/* Success page — green icon */
.success-page .status-icon {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}


/* ===== TEAM HERO ===== */
.team-hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--dark-color);
    overflow: hidden;
}

.team-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(40%);
    animation: heroZoom 10s ease-out forwards;
}

.team-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.95) 0%, rgba(17, 17, 17, 0.7) 100%);
    z-index: 1;
}

.team-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 60px;
}

.team-hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.team-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 540px;
    line-height: 1.8;
}

.team-hero-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-hero-dots .dot {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    filter: blur(40px);
    opacity: 0.15;
    z-index: 1;
}

.team-hero-dots .dot-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -5%;
    animation: float 8s ease-in-out infinite;
}

.team-hero-dots .dot-2 {
    width: 200px;
    height: 200px;
    bottom: -5%;
    left: 15%;
    animation: float 6s ease-in-out infinite reverse;
}

.team-hero-dots .dot-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 40%;
    opacity: 0.1;
    animation: pulse 4s infinite;
}

/* ===== FEATURED SECTION ===== */
.team-featured-img-wrap {
    position: relative;
    border-radius: var(--border-radius-lg);
    border-bottom-right-radius: 120px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.team-featured-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.team-featured-badge {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: var(--dark-color);
    padding: 20px 30px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: float 5s ease-in-out infinite;
}

.team-exp-ring {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    animation: float 3s infinite;
}

.team-featured-section h2,
.project-title {
    font-family: 'Inter', sans-serif;
}

.team-gm-quote {
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    color: var(--dark-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 24px;
    line-height: 1.6;
    font-style: italic;
}

.team-signature-divider {
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.team-mini-stat {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 15px;
}

/* ===== VALUES STRIP ===== */
.team-values-section {
    background: var(--dark-color);
}

.team-value-card {
    padding: 60px 40px;
    height: 100%;
    transition: var(--transition);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.team-value-card--light {
    background: var(--white);
}

.team-value-card:hover {
    background: var(--primary-color);
}

.team-value-card--light:hover {
    background: var(--primary-color);
}

.team-value-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.team-value-icon--dark {
    background: rgba(0, 0, 0, 0.03);
}

.team-value-card:hover .team-value-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: scale(1.1);
}

.team-value-card:hover h4,
.team-value-card:hover p {
    color: var(--white) !important;
}

/* ===== FILTER TABS ===== */
.team-filter-tabs {
    margin-bottom: 10px;
}

.team-filter-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-filter-btn:hover,
.team-filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(235, 90, 94, 0.2);
}

/* ===== EXTENDED ARCHITECT CARD ===== */
.team-architect-card .architect-image-wrap {
    aspect-ratio: 4/5;
}



/* ===== JOIN US CTA ===== */
.team-join-section {
    position: relative;
    padding: 120px 0;
    background: var(--dark-color);
    overflow: hidden;
}

.team-join-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.team-join-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 17, 17, 1) 0%, rgba(17, 17, 17, 0.85) 100%);
}

.team-perks-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--border-radius-lg);
}

.team-perk-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(235, 90, 94, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== CONTACT HERO ===== */
.contact-hero-section {
    position: relative;
    padding: 160px 0 180px;
    background-color: var(--dark-color);
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(80%);
    animation: heroZoom 10s ease-out forwards;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.9) 0%, rgba(17, 17, 17, 1) 100%);
}

.contact-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
}

.contact-hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    color: var(--white);
    max-width: 800px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    line-height: 1.8;
}

.contact-cards-wrapper {
    position: relative;
}

.contact-info-card {
    background: var(--dark-color);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    height: 100%;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    border-color: rgba(235, 90, 94, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.contact-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(235, 90, 94, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.contact-info-card:hover .contact-icon-wrap {
    background: var(--primary-color);
    color: var(--white);
}

/* ===== PREMIUM FORM ===== */
.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
}

.premium-input {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    background: rgba(0, 0, 0, 0.02) !important;
    color: var(--text-color) !important;
    font-size: 0.95rem;
    box-shadow: none !important;
    transition: var(--transition);
}

.premium-input:focus {
    background: var(--white) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(235, 90, 94, 0.1) !important;
}

.form-floating>label {
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
}

.form-floating>.premium-input:focus~label,
.form-floating>.premium-input:not(:placeholder-shown)~label {
    color: var(--primary-color);
    transform: scale(0.85) translateY(-1rem) translateX(0.15rem);
}

/* ===== MAP WRAPPER ===== */
.contact-map-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
}

.map-overlay-box {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--primary-color);
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .fs-3xl {
        font-size: 2rem !important;
    }

    .fs-2xl {
        font-size: 1.75rem !important;
    }

    .py-section-lg {
        padding: 80px 0;
    }

    .py-section-md {
        padding: 60px 0;
    }

    .pt-section-sm-pb-lg {
        padding-top: 60px !important;
        padding-bottom: 80px !important;
    }

    .about-images-wrapper {
        height: 500px;
        /* margin-bottom: 40px; */
    }

    .about-images-wrapper .img-1 {
        width: 80%;
        height: 90%;
    }

    .about-images-wrapper .img-2 {
        width: 50%;
        height: 60%;
        right: 0;
        bottom: 0;
    }

    .img-h-500,
    .img-h-400 {
        height: 350px !important;
    }

    .process-connector {
        display: none;
    }

    .services-hero-content {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .services-dark-banner {
        padding: 80px 0;
    }

    .dark-banner-image-stack {
        min-height: 350px;
    }

    .dark-img-main {
        height: 280px;
    }

    .dark-img-accent {
        height: 170px;
    }

    .services-cta-section {
        padding: 100px 0;
    }

    .service-card-img-wrap {
        height: 160px;
    }

    .sd-sidebar {
        position: static;
        margin-top: 40px;
    }

    .sd-hero-image {
        height: 320px;
    }

    .sd-gallery-tall {
        height: 260px;
    }

    .proj-flat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proj-span-4,
    .proj-span-5,
    .proj-span-6,
    .proj-span-7,
    .proj-span-8,
    .proj-span-12 {
        grid-column: span 1;
    }

    .proj-card-tall img {
        height: 360px;
    }

    .proj-card-medium img {
        height: 280px;
    }

    .proj-dark-banner {
        padding: 80px 0;
    }

    .proj-banner-image-wrap {
        min-height: 320px;
        margin-top: 20px;
    }

    .proj-banner-img-main {
        height: 280px;
        width: 90%;
    }

    .proj-banner-img-accent {
        height: 160px;
    }

    .pd-hero {
        height: 70vh;
        min-height: 480px;
    }

    .pd-feature-img img {
        height: 340px;
    }

    .pd-info-item {
        padding: 20px 16px;
    }

    .pd-gallery-tall img {
        height: 260px;
    }

    .team-featured-badge {
        left: 20px;
        bottom: 20px;
    }

    .team-value-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .contact-form-wrapper {
        padding: 40px 30px;
    }
}

@media (max-width: 767px) {
    .team-hero-section {
        min-height: auto;
    }

    .team-hero-content {
        padding-top: 100px;
    }

    .team-hero-title {
        font-size: 2.5rem;
    }

    .team-featured-img {
        height: 400px;
        border-bottom-right-radius: 60px;
    }

    .team-gm-quote {
        font-size: 1.1rem;
    }

    .team-filter-tabs {
        justify-content: center;
    }

    .team-join-section {
        padding: 80px 0;
    }

    .team-perks-card {
        padding: 30px 20px;
    }

    .pd-hero {
        height: 60vh;
        min-height: 400px;
    }

    .pd-hero-title {
        font-size: 2rem;
    }

    .pd-info-item {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
        padding: 16px 20px;
    }

    .pd-info-last {
        border-bottom: none;
    }

    .pd-feature-img img {
        height: 240px;
    }

    .pd-gallery-item img,
    .pd-gallery-tall img,
    .pd-gallery-wide img {
        height: 200px;
    }

    .pd-timeline::before {
        left: 15px;
    }

    .pd-timeline-dot {
        width: 32px;
        height: 32px;
    }

    .pd-hero-nav {
        justify-content: flex-start;
        margin-top: 16px;
    }

    .proj-stats-strip .col-6:nth-child(odd) .proj-stat-item {
        border-right: 1px solid rgba(0, 0, 0, 0.07);
    }

    .proj-stats-strip .col-6:nth-child(even) .proj-stat-item {
        border-right: none;
    }

    .proj-stats-strip .col-6:nth-child(1) .proj-stat-item,
    .proj-stats-strip .col-6:nth-child(2) .proj-stat-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    }

    .proj-stats-strip .col-6:nth-child(3) .proj-stat-item,
    .proj-stats-strip .col-6:nth-child(4) .proj-stat-item {
        border-bottom: none;
    }

    .proj-stat-item {
        padding: 24px 10px;
    }

    .proj-stat-num {
        font-size: 2rem;
    }

    .proj-filter-bar {
        gap: 8px;
    }

    .proj-filter-btn {
        padding: 8px 16px;
        font-size: 0.72rem;
    }

    .proj-card-tall img {
        height: 280px;
    }

    .proj-card-medium img {
        height: 240px;
    }

    .proj-banner-img-accent {
        display: none;
    }

    .proj-banner-img-main {
        width: 100%;
        height: 240px;
    }

    .proj-banner-badge {
        left: 10px;
        top: -14px;
        padding: 10px 16px;
        font-size: 0.68rem;
    }

    .sd-hero-image {
        height: 240px;
    }

    .sd-gallery-tall {
        height: 220px;
    }

    .sd-gallery-half {
        min-height: 140px;
    }

    .sd-step {
        gap: 18px;
    }

    .sd-step-number {
        width: 44px;
        height: 44px;
        font-size: 0.85rem;
    }

    .sd-step::before {
        left: 21px;
        top: 46px;
    }

    .services-hero-title {
        font-size: 2.5rem;
    }

    .services-intro-strip {
        padding: 50px 0;
    }

    .services-dark-banner {
        padding: 60px 0;
    }

    .dark-img-accent {
        display: none;
    }

    .dark-img-main {
        width: 100%;
        height: 250px;
    }

    .dark-banner-badge {
        top: -15px;
        left: 10px;
        padding: 12px 18px;
        font-size: 0.7rem;
    }

    .why-pillar-card {
        padding: 30px 25px;
    }

    .services-cta-section {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 20px !important;
    }

    .hero-content {
        padding-top: 100px !important;
        text-align: center;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.7rem;
    }

    .project-overlay {
        padding: 20px;
    }

    .fs-3xl {
        font-size: 1.8rem !important;
    }

    .img-h-500,
    .img-h-400 {
        height: 280px !important;
    }

    .manager-quote-section {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .manager-quote-section blockquote {
        font-size: 1.3rem;
    }

    .service-card-modern,
    .stat-card-premium,
    .architect-info-box {
        padding: 30px 20px;
    }

    .hero-swiper-pagination {
        bottom: 20px !important;
    }

    .about-images-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 300px;
        min-height: 300px;
    }

    .about-images-wrapper .img-1 {
        height: 100% !important;
    }


    .exp-badge {
        top: 6%;
        left: 2%;
    }

    .py-section-lg {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .exp-badge {
        width: 110px;
        height: 110px;
    }

    .exp-badge h2 {
        font-size: 20px !important;
    }

    .exp-badge p {
        font-size: 10px;
    }

    .contact-hero-section {
        padding: 120px 0 140px;
    }

    .contact-hero-title {
        font-size: 2.5rem;
    }

    /* .contact-info-section {
        margin-top: -60px;
    } */

    .contact-info-card {
        padding: 30px 20px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .map-overlay-box {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }
}

/* ===== CUSTOM FILTER SELECT ===== */
.custom-filter-select-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.custom-filter-select {
    position: relative;
    width: 300px;
    max-width: 100%;
    user-select: none;
    z-index: 100;
    /* Ensure it stays above cards */
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: var(--light-color, #f8f9fa);
    color: var(--dark-color, #1a1a1a);
    font-family: var(--font-primary, sans-serif);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.custom-select-trigger:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.custom-select-arrow {
    transition: transform 0.3s ease;
    color: var(--primary-color, #C66B4E);
}

.custom-filter-select.open .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-filter-select.open .custom-select-trigger {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 20px;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 101;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.custom-filter-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    display: block;
    padding: 12px 25px;
    color: #555;
    font-size: 0.95rem;
    font-family: var(--font-primary, sans-serif);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-option:hover {
    background: var(--light-color, #f8f9fa);
    color: var(--primary-color, #C66B4E);
    padding-left: 30px;
}

.custom-option.selected {
    color: var(--primary-color, #C66B4E);
    background: rgba(198, 107, 78, 0.05);
    font-weight: 600;
}

/* ===== Custom Form Select for Contact Page ===== */
.custom-form-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-form-select {
    position: relative;
    width: 100%;
    height: 58px;
    /* Standard bootstrap form-floating height */
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius-sm, 8px);
    padding: 0 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: var(--transition, all 0.3s ease);
    outline: none;
}

.custom-form-select:focus,
.custom-form-select.open {
    border-color: var(--primary-color, #EB5A5E);
    box-shadow: 0 0 0 0.25rem rgba(235, 90, 94, 0.25);
}

.custom-form-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 15px;
    /* space for the floating label */
}

.custom-form-select-text {
    font-size: 1rem;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
    opacity: 0;
    /* hidden until selected */
    transition: opacity 0.2s ease;
}

.custom-form-select.has-value .custom-form-select-text,
.custom-form-select.open .custom-form-select-text {
    opacity: 1;
}

.custom-form-select-arrow {
    transition: transform 0.3s ease;
    color: #6c757d;
}

.custom-form-select.open .custom-form-select-arrow {
    transform: rotate(180deg);
}

.custom-form-select-label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem;
    pointer-events: none;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
    color: rgba(33, 37, 41, 0.65);
    margin-bottom: 0;
}

.custom-form-select.has-value .custom-form-select-label,
.custom-form-select.open .custom-form-select-label {
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
    color: rgba(33, 37, 41, 0.65);
}

.custom-form-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius-sm, 8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1050;
    max-height: 250px;
    overflow-y: auto;
}

.custom-form-select.open .custom-form-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-form-option {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 1rem;
    color: #212529;
    transition: background 0.2s;
}

.custom-form-option:hover {
    background-color: #f8f9fa;
}

.custom-form-option.selected {
    background-color: var(--primary-soft, rgba(198, 107, 78, 0.1));
    color: var(--primary-color, #EB5A5E);
    font-weight: 500;
}

/* ===== Refactored Inline Styles ===== */
.hero-bg-team {
    filter: grayscale(40%);
}

.hero-bg-contact {
    filter: grayscale(80%);
}

.breadcrumb-icon {
    margin-top: -2px;
}

.contact-message-input {
    height: 150px;
}

.map-iframe {
    border: 0;
    filter: grayscale(100%) contrast(1.2) opacity(0.8);
}

.pd-gallery-main {
    height: 100%;
    min-height: 420px;
}

.pd-gallery-item {
    display: flex;
    flex-direction: column;
}

.pd-gallery-item .pd-gallery-img {
    flex: 1;
    min-height: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-gallery-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.pd-gallery-sub {
    flex: 1;
    min-height: 0;
}

/* ===== CORE VALUE CARD ===== */
.core-value-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 50px 40px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.core-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(198, 107, 78, 0.05) 0%, transparent 100%);
    transition: height 0.5s ease;
    z-index: -1;
}

.core-value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(198, 107, 78, 0.2);
    box-shadow:
        0 20px 60px rgba(198, 107, 78, 0.12),
        0 8px 25px rgba(0, 0, 0, 0.06);
}

.core-value-card:hover::before {
    height: 100%;
}

.core-value-number {
    position: relative;
    display: inline-block;
}



/* ===== LIGHTBOX MODAL ===== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox-modal.show {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--primary-color, #c5a992);
}

.lightbox-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    position: relative;
}

.lightbox-img {
    max-height: 80vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.lightbox-img.loaded {
    opacity: 1;
    transform: scale(1);
}

.lightbox-nav {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
}

.lightbox-nav:hover {
    background: var(--primary-color, #c5a992);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    margin-top: 20px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {

    /* Lightbox Modal */
    .lightbox-nav {
        width: 45px;
        height: 45px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    /* Section Spacing Adjustments */
    .py-section-lg {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }

    .py-section-md {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .py-section-sm {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .pt-section-sm-pb-lg {
        padding-top: 50px !important;
        padding-bottom: 80px !important;
    }

    /* Premium Cards Padding */
    .service-card-modern,
    .core-value-card {
        padding: 35px 25px;
    }

    /* About Images */
    .about-images-wrapper {
        min-height: 0;
        margin-bottom: 20px;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
    }

    .about-images-wrapper .img-1 {
        width: 100%;
        margin: 0 auto;
    }

    .exp-badge {
        width: 100px;
        height: 100px;
        top: -5%;
        left: -10px;
    }

    .exp-badge h2 {
        font-size: 1.5rem !important;
    }

    .story-img {
        min-height: 300px !important;
    }

    /* Hero Stats Arch */
    .hero-stats-arch {
        position: relative;
        right: 0;
        width: 100%;
        border-radius: var(--border-radius-md);
        padding: 30px 0;
        margin-top: 30px;
        flex-direction: row;
        justify-content: space-evenly;
    }

    .hero-stats-arch .arch-divider {
        width: 100%;
        height: 1px;
        margin: 15px 0;
        background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
        display: none;
        /* Hide vertical dividers on mobile if changing to row */
    }

    /* Sidebar Mobile Fix */
    .sidebar-drawer {
        width: 100vw;
        padding: 30px 25px;
    }
}

@media (max-width: 576px) {

    .service-card-modern,
    .core-value-card {
        padding: 30px 20px;
    }
}

.clear-amp {
    font-family: 'Inter', sans-serif;
}

[dir="rtl"] .me-1 {
    margin-right: unset !important;
    margin-left: .25rem !important;
}

[dir="rtl"] .me-2 {
    margin-right: unset !important;
    margin-left: .5rem !important;
}

[dir="rtl"] .me-3 {
    margin-right: unset !important;
    margin-left: 1rem !important;
}

[dir="rtl"] body ul {
    padding-inline-start: unset;
}

[dir="rtl"] body .ms-2 {
    margin-left: unset !important;
    margin-right: .5rem !important;
}

[dir="rtl"] body .pd-page-nav svg {
    transform: rotate(180deg);
}

[dir="rtl"] body .breadcrumb-item+.breadcrumb-item {
    padding-right: .5rem;
    padding-left: unset;
}

[dir="rtl"] body .ms-auto {
    margin-left: unset !important;
    margin-right: auto !important;
}

[dir="rtl"] body .form-floating>label,
[dir="rtl"] body .custom-form-select-label {
    left: unset;
    right: 0;
}

[dir="rtl"] body .contact-main-section button[type="submit"] svg,
[dir="rtl"] footer button[type="submit"] svg {
    transform: rotate(180deg);
}

[dir="rtl"] body .footer-input {
    padding: 10px 0px 10px 48px !important;
}

a[href^="tel:"] {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
}

html[dir="rtl"] .footer-input+button {
    right: auto !important;
    left: 0 !important;
}

html[dir="rtl"] .footer-input+button svg {
    transform: rotate(180deg);
}

html[dir="rtl"] a[href^="tel:"] {
    flex-direction: row-reverse;
}

html[dir="rtl"] a[href^="tel:"] svg {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

html[dir="rtl"] footer p.text-white-50.mb-0,
html[dir="rtl"] footer .bi-telephone+span {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
}

/* Custom Weoryx Footer Link Styling */
footer a[href="https://weoryx.com/"] {

    color: var(--white);
    text-decoration: none;
    /* font-weight: 700; */
    letter-spacing: 0.5px;
    position: relative;
    padding: 0 1px;
    transition: all 0.3s ease;
}

/* 
footer a[href="https://weoryx.com/"]::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
} */

footer a[href="https://weoryx.com/"]:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(235, 90, 94, 0.3);
}

/* ===== ACTIVE NAVIGATION LINK STYLING ===== */
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .show>.nav-link,
.navbar-nav li.current-menu-item>a,
.navbar-nav li.current_page_item>a,
.navbar-nav li.current-menu-ancestor>a,
.navbar-nav li.active>a,
.navbar-nav a.active {
    color: var(--primary-color) !important;
}

/* ===== SERVICES INTRO STRIP SPACING ===== */
.services-intro-strip,
.services-hero-section+.services-intro-strip,
.wp-block-alemtyaz-services-intro {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    margin-top: 0 !important;
}

/* ===== PROJECT CARD PREMIUM & FLAT GRID STYLING ===== */
.project-card-premium {
    position: relative;
    border-radius: var(--border-radius-md, 16px);
    overflow: hidden;
    margin-bottom: 0;
    cursor: pointer;
    display: block;
}

.project-card-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.9) 0%, rgba(17, 17, 17, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s ease;
}

.project-card-premium:hover img {
    transform: scale(1.05);
}

.project-card-premium:hover .project-overlay {
    opacity: 1;
}

.project-category {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.project-title {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
}

.project-card-premium:hover .project-category,
.project-card-premium:hover .project-title {
    transform: translateY(0);
}

.proj-meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
    margin-bottom: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.3s;
    opacity: 0;
}

.project-card-premium:hover .proj-meta {
    transform: translateY(0);
    opacity: 1;
}

.proj-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    background: rgba(17, 17, 17, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
}

.project-card-premium:hover .proj-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* FLAT PROJECT GRID */
.proj-flat-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-flow: dense;
    align-items: start;
    gap: 20px;
}

.proj-item {
    min-height: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.proj-span-4 {
    grid-column: span 4;
}

.proj-span-5 {
    grid-column: span 5;
}

.proj-span-6 {
    grid-column: span 6;
}

.proj-span-7 {
    grid-column: span 7;
}

.proj-span-8 {
    grid-column: span 8;
}

.proj-span-12 {
    grid-column: span 12;
}

@media (max-width: 991px) {

    .proj-span-4,
    .proj-span-5,
    .proj-span-6,
    .proj-span-7,
    .proj-span-8 {
        grid-column: span 6;
    }
}

@media (max-width: 576px) {
    .proj-flat-grid {
        grid-template-columns: 1fr;
    }

    .proj-span-4,
    .proj-span-5,
    .proj-span-6,
    .proj-span-7,
    .proj-span-8,
    .proj-span-12 {
        grid-column: span 1;
    }
}

.proj-card-tall img {
    height: 380px;
}

.proj-card-medium img {
    height: 300px;
}

/* FILTER BAR */
.proj-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.proj-filter-btn {
    background: transparent;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    color: var(--text-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.proj-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.proj-filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(235, 90, 94, 0.3);
}

/* ===== Sidebar & Services Nav Styling ===== */
.sd-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sd-sidebar-box {
    background: var(--white, #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--border-radius-md, 12px);
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.sd-services-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sd-services-nav li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sd-services-nav li:last-child {
    border-bottom: none;
}

.sd-services-nav li a {
    display: flex;
    align-items: center;
    padding: 14px 0;
    color: var(--text-color, #212529);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition, all 0.3s ease);
}

.sd-services-nav li a:hover,
.sd-services-nav li.active a {
    color: var(--primary-color, #eb5a5e);
    padding-left: 6px;
}

.sd-services-nav li a svg,
.sd-services-nav li a i {
    color: var(--primary-color, #eb5a5e) !important;
    font-size: 1.1rem;
    transition: var(--transition, all 0.3s ease);
}

.sd-services-nav li.active {
    background: linear-gradient(90deg, rgba(235, 90, 94, 0.06) 0%, transparent 100%);
    margin: 0 -28px;
    padding: 0 28px;
    border-left: 3px solid var(--primary-color, #eb5a5e);
}

[dir="rtl"] .exp-badge {
    left: unset;
    right: -30px;
}

[dir="rtl"] .about-images-wrapper .img-2 {
    right: unset;
    left: 0;
    top: 50%;
}

section .sd-stat-lbl,
section .sd-stat-num {
    color: #fff !important;
}

.sd-stat-row {
    justify-content: space-between !important;
}

.sd-sidebar-box.sd-sidebar-stats {
    background: #2C2C2C !important;
}

.sd-stat-lbl {
    text-align: end;
}

[dir="rtl"] .sd-step::before {
    left: unset;
    right: 26px;
}

/* ===== BLOG SECTION — PREMIUM ENHANCED ===== */

/* Card wrapper */
.blog-card-premium {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 0;
    padding: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

/* Image wrapper */
.blog-img-wrap {
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.blog-img-wrap img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

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

/* Category badge — sits over image */
.blog-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--primary-color);
    color: #fff;
    padding: 6px 16px;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    z-index: 3;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
    transition: background 0.3s ease;
}

[dir="rtl"] .blog-badge {
    left: unset;
    right: 18px;
    clip-path: polygon(100% 0, 8px 0, 0 50%, 8px 100%, 100% 100%);
}

/* Card body */
.blog-card-body {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Meta row */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.72rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
}

.blog-meta svg {
    color: var(--primary-color);
    flex-shrink: 0;
    position: relative;
    top: -1px;
}

/* Title */
.blog-title {
    font-size: 1.1rem;
    line-height: 1.45;
    margin-bottom: 12px;
}

.blog-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
    background-image: linear-gradient(var(--primary-color), var(--primary-color));
    background-size: 0% 1px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: color 0.35s ease, background-size 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    padding-bottom: 2px;
}

.blog-card-premium:hover .blog-title a {
    color: var(--primary-color);
    background-size: 100% 1px;
}

/* Excerpt */
.blog-excerpt {
    font-size: 0.88rem;
    color: #888;
    line-height: 1.75;
    flex: 1;
    margin-bottom: 24px;
}

/* Read more link */
.link-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--dark-color);
    text-decoration: none;
    border-bottom: 1.5px solid var(--primary-color);
    padding-bottom: 4px;
    transition: color 0.3s ease, gap 0.3s ease;
    align-self: flex-start;
}

.link-read-more::after {
    content: '→';
    font-size: 0.85rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.blog-card-premium:hover .link-read-more {
    color: var(--primary-color);
    gap: 14px;
}

.blog-card-premium:hover .link-read-more::after {
    transform: translateX(4px);
}

[dir="rtl"] .link-read-more::after {
    content: '←';
}

[dir="rtl"] .blog-card-premium:hover .link-read-more::after {
    transform: translateX(-4px);
}

/* ===== PAGINATION PREMIUM ===== */
.pagination-premium {
    gap: 6px;
}

.pagination-premium .page-item .page-link {
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    color: var(--dark-color);
    padding: 10px 18px;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: transparent;
    font-family: 'Inter', sans-serif;
}

.pagination-premium .page-item .page-link:hover,
.pagination-premium .page-item.active .page-link {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(201, 168, 76, 0.3);
}

.pagination-premium .page-item.disabled .page-link {
    opacity: 0.35;
    pointer-events: none;
}

/* ===== BLOG DETAILS PAGE ===== */
.blog-details-content {
    color: var(--dark-color);
}

.blog-features-list {
    padding-left: 1.5rem;
    list-style-type: square;
    color: var(--text-color);
}

.blog-features-list li::marker {
    color: var(--primary-color);
}

.blog-blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    background: rgba(201, 168, 76, 0.05);
    font-size: 1.25rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--dark-color);
    position: relative;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}
[dir="rtl"] .blog-blockquote{
    border-left: unset;
    border-right: 4px solid var(--primary-color);
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
}

.blog-tag-link {
    display: inline-block;
    padding: 6px 14px;
    background: #f8f9fa;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    margin: 0 4px 8px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-tag-link:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Post Navigation */
.blog-nav-link {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    background: transparent;
    border: none;
    text-decoration: none;
    transition: transform 0.3s ease;
    height: 100%;
}

.blog-nav-link:hover {
    transform: translateY(-3px);
}

/* Share Icons */
.blog-share-icon {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: var(--dark-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.blog-share-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.blog-nav-link .nav-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.blog-nav-link .nav-title {
    font-size: 1.1rem;
    color: var(--dark-color);
    line-height: 1.4;
    transition: var(--transition);
}

.blog-nav-link:hover .nav-title {
    color: var(--primary-color);
}

/* Sidebar Widgets */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}
[dir="rtl"] .widget-title::after{
    left:unset;
    right: 0;
}
/* Search Form */
.sidebar-search-form {
    display: flex;
}

.sidebar-search-form .form-control {
    border-radius: 0;
    border-color: rgba(0, 0, 0, 0.1);
    border-right: none;
}
[dir="rtl"] .sidebar-search-form .form-control{
    border-right: 1px solid #ced4da;
    border-left: none;
}

.sidebar-search-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.sidebar-search-form .btn {
    border-radius: 0;
}

/* Categories List */
.widget-category-list li {
    margin-bottom: 12px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
    padding-bottom: 12px;
}

.widget-category-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.widget-category-list a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    transition: var(--transition);
    font-weight: 500;
}

.widget-category-list a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

[dir="rtl"] .widget-category-list a:hover {
    transform: translateX(-5px);
}

/* Recent Posts */
.recent-post-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 20px;
    transition: var(--transition);
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.recent-post-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: var(--border-radius-sm);
}
[dir="rtl"] .recent-post-item img{
    margin-right: unset;
    margin-left: 15px;
}
.recent-post-title {
    font-size: 0.95rem;
    color: var(--dark-color);
    line-height: 1.4;
    margin-bottom: 6px;
    transition: var(--transition);
}

.recent-post-item:hover .recent-post-title {
    color: var(--primary-color);
}

.recent-post-date {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.widget-tags {
    display: flex;
    flex-wrap: wrap;
}

.btn-check:active+.btn-primary:focus,
.btn-check:checked+.btn-primary:focus,
.btn-primary.active:focus,
.btn-primary:active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow: unset !important;
}