/*
Theme Name: Sooraj Portfolio
Theme URI: https://sooraj-as.com
Author: SOORAJ A S
Author URI: https://sooraj-as.com
Description: A premium, dark portfolio theme for SOORAJ A S.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nikhil-portfolio

Design Tokens:
- Primary Purple: #6366f1
- Accent Purple: #818cf8
- Accent Blue: #60a5fa
- WhatsApp Green: #22c55e
- Dark Background: #0a0a0a
- Logo Red: #ef4444
- Font-family: 'Outfit', sans-serif (Headings), 'Inter', sans-serif (Body);
 */

:root {
    --primary-purple: #6366f1;
    --accent-purple: #a78bfa;
    --accent-blue: #60a5fa;
    --whatsapp-green: #22c55e;
    --dark-bg: #0a0a0a;
    --light-bg: #ffffff;
    --logo-red: #ef4444;
    --text-white: #ffffff;
    --text-dark: #111111;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-muted-dark: rgba(0, 0, 0, 0.6);
    --header-height: 80px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Premium Bottom Hook Section (Light Signature Theme) */
.premium-bottom-hook {
    width: 100%;
    padding: 130px 20px; /* Increased padding */
    background: #ffffff;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.premium-bottom-hook::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/web-dev-bg.png') no-repeat center center;
    background-size: cover;
    opacity: 0.1; /* High detail but very subtle */
    pointer-events: none;
    z-index: 0;
}

.hook-content-v2 {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hook-text-v2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(34px, 5.5vw, 64px); 
    font-weight: 800;
    color: #111111;
    line-height: 1.25; /* Increased to fix clipping issues */
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}

.hook-sub-v2 {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hook-text-v2 .chem-highlight {
    background: linear-gradient(135deg, #6366f1 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 5px 0; /* Extra vertical room for gradients */
}

.btn-hook-v2 {
    display: inline-block;
    padding: 18px 48px;
    background: #000000;
    color: #ffffff !important;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hook-v2:hover {
    background: #6366f1;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

@media (max-width: 768px) {
    .premium-bottom-hook {
        padding: 80px 20px;
    }
    .hook-text-v2 {
        font-size: clamp(28px, 9vw, 42px);
        letter-spacing: -1px;
    }
    .hook-sub-v2 {
        font-size: 12px;
        letter-spacing: 2px;
    }
}


/* Header Styling */
#masthead.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 80px !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    background: rgba(10, 10, 10, 0.6) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    display: inline-flex;
    align-items: baseline;
}

.logo span {
    color: var(--logo-red);
    display: inline-block;
    margin-left: 2px;
}

.main-navigation {
    margin-left: auto !important;
    margin-right: 30px !important;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: clamp(16px, 3vw, 32px);
}

.main-navigation a {
    color: var(--text-white);
    text-decoration: none;
    font-size: clamp(13px, 1.5vw, 15px);
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    opacity: 1;
    color: var(--accent-purple);
}

.user-profile-icon {
    width: clamp(32px, 5vw, 42px);
    height: clamp(32px, 5vw, 42px);
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.user-profile-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.4) 100%), url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.container-hero {
    width: 100%;
}

.hero-content {
    max-width: 900px;
    text-align: left;
    margin: 0;
    animation: fadeRight 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes fadeRight {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-tagline {
    font-size: clamp(14px, 2vw, 15px);
    color: var(--accent-purple);
    margin: 0 0 25px 0;
    letter-spacing: 5px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 30px 0;
    letter-spacing: -1.5px;
    color: #ffffff;
}

.swipe-wrapper {
    height: 1.15em;
    overflow: hidden;
    position: relative;
    display: block;
    width: 100%;
}

.swipe-content {
    display: flex;
    flex-direction: column;
    animation: heroSwipe 10s infinite cubic-bezier(0.7, 0, 0.3, 1);
}

.swipe-item {
    display: block;
    height: 1.15em;
    white-space: nowrap;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@keyframes heroSwipe {
    0%, 30% { transform: translateY(0); }
    35%, 65% { transform: translateY(-33.33%); }
    70%, 100% { transform: translateY(-66.66%); }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(24px, 6vw, 36px);
        letter-spacing: -1px;
        margin-bottom: 25px;
    }
    .swipe-item {
        white-space: nowrap;
        line-height: 1.15;
    }
    .swipe-wrapper {
        height: 1.15em;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(20px, 7vw, 28px); /* Tighter scaling to fit small screens */
    }
}

.hero-title .highlight {
    background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 45px;
    max-width: 650px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;
}

.btn {
    padding: 15px 35px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

.btn-primary {
    background: #ffffff;
    color: #000000;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
    transform: translateY(-5px);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 1024px) {
    .container { padding: 0 25px; }
    .hero-content { padding: 0; max-width: 600px; }
}

/* Brands Marquee Section */
.brands-section {
    padding: 85px 0 75px; /* Prestige spacing */
    background: #ffffff;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.brands-title {
    text-align: center;
    font-size: 11px; /* Sophisticated smaller label */
    text-transform: uppercase;
    letter-spacing: 3px; /* Airier tracking */
    color: var(--text-dark);
    margin-bottom: 50px;
    opacity: 0.5;
    font-weight: 500;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    /* Premium Edge Fades */
    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,1) 15%,
        rgba(0,0,0,1) 85%,
        rgba(0,0,0,0) 100%
    );
    mask-image: linear-gradient(
        to right,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,1) 15%,
        rgba(0,0,0,1) 85%,
        rgba(0,0,0,0) 100%
    );
}

.marquee-track {
    display: flex;
    gap: 40px; /* Tighter rhythm for cards */
    padding: 20px 0;
    min-width: 100%;
    animation: scroll 60s linear infinite; /* Slightly slower for readability of cards */
    will-change: transform;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 20px)); } /* Adjusted for gap */
}

.brand-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 0 45px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.brand-card:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.brand-logo {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px; /* Optimized for card container */
    color: var(--text-dark);
    opacity: 0.4;
    filter: grayscale(1);
    transition: all 0.4s ease;
    white-space: nowrap;
    text-decoration: none;
    user-select: none;
    letter-spacing: 0.5px;
}

.brand-card:hover .brand-logo {
    opacity: 1;
    filter: grayscale(0);
}

/* Services Section */
.services-section {
    padding: 120px 0;
    background-color: #fafafa;
    background-image: radial-gradient(circle at 2px 2px, rgba(0,0,0,0.02) 1px, transparent 0);
    background-size: 40px 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.services-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.services-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.1);
    border-color: var(--primary-purple);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-purple);
    color: #ffffff;
    transform: rotate(-5deg) scale(1.1);
}

.service-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted-dark);
    margin-bottom: 25px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-link .arrow {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link .arrow {
    transform: translate(3px, -3px);
}

.services-cta {
    margin-top: 60px;
    text-align: center;
}

.btn-secondary {
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-dark);
    border: 2px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-secondary:hover {
    background: #ffffff;
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Expert Intro Section */
.expert-intro-section {
    padding: 100px 0 120px;
    background-color: #080808;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.expert-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 35px;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    text-align: center;
}

.expert-title .outline {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.3);
}

.expert-desc-container {
    max-width: 850px;
    margin: 0 auto 50px;
    text-align: center;
}

.expert-description {
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 70px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.4s ease;
}

.trust-logo-img {
    height: 24px;
    width: auto;
    filter: brightness(1) grayscale(1) invert(1);
    opacity: 0.5;
    transition: all 0.4s ease;
}

@media (max-width: 768px) {
    .expert-intro-section {
        padding: 60px 0 80px;
    }
    .expert-title {
        font-size: clamp(22px, 8vw, 32px); /* Significantly smaller to prevent clipping */
        line-height: 1.2;
        text-align: center;
    }
    .trust-logos {
        gap: 25px;
        flex-direction: column;
    }
    .trust-logo-img {
        height: 20px;
    }
    .expert-description {
        text-align: center;
        padding: 0 5%;
        font-size: 15px;
    }
    .expert-description strong {
        color: #ffffff;
        font-weight: 600;
    }
}

.trust-item:hover .trust-logo-img {
    filter: brightness(1) invert(0);
    opacity: 1;
}

.trust-rating {
    font-size: 11px;
    letter-spacing: 2px;
    color: #8a2be2;
    font-weight: 700;
    text-transform: uppercase;
}

/* Ribbons Animation */
.ribbons-container {
    position: absolute;
    bottom: -60px;
    left: -5%;
    width: 110%;
    height: 300px;
    pointer-events: none;
    z-index: 10;
}

.ribbon-track {
    position: absolute;
    width: 100%;
    height: 60px;
    background: var(--primary-purple);
    color: #ffffff;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ribbon-right {
    top: 50%;
    transform: translateY(-50%) rotate(4deg);
    background: linear-gradient(to right, #6366f1, #a78bfa);
}

.ribbon-left {
    top: 50%;
    transform: translateY(-50%) rotate(-4deg);
    background: linear-gradient(to right, #4f46e5, #6366f1);
}

.ribbon-text {
    display: inline-block;
    padding-left: 100%;
    animation: ribbonMarquee 40s linear infinite;
}

@keyframes ribbonMarquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.ribbon-left .ribbon-text {
    animation-direction: reverse;
    animation-duration: 35s;
}

/* About Expert Section (White) */
.about-expert-section {
    padding: 120px 0;
    background-color: #ffffff;
    color: var(--text-dark);
}

.about-expert-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.quote-icon {
    margin-bottom: 25px;
    display: flex;
}

.about-expert-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(32px, 4.5vw, 54px);
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -2px;
    line-height: 1.1;
    color: var(--text-dark);
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    color: #888;
    font-weight: 500;
    border: 2px dashed #ddd;
}

.about-expert-text p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #444;
}

.pink-highlight {
    color: #e91e63;
    font-weight: 600;
}

.about-expert-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.expert-img {
    width: 100%;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.about-expert-image:hover .expert-img {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .about-expert-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-expert-image { order: -1; max-width: 500px; margin: 0 auto; }
}

/* Awards & Accreditations Section (Dark) */
.awards-section {
    padding: 120px 0;
    background-color: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.awards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 110px;
    align-items: center;
}

.awards-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(32px, 4.5vw, 68px);
    font-weight: 700;
    line-height: .95;
    color: var(--text-white);
    margin-bottom: 25px;
    letter-spacing: -3px;
}

.awards-title .outline {
    display: block;
    margin-bottom: 15px;
    color: transparent;
    -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.awards-title .main-title {
    display: block;
    padding-top: 10px;
}

.awards-description {
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 550px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 30px;
    border-radius: 32px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff;
}

/* Premium Footer Styling */
.site-footer {
    background-color: #050505;
    color: var(--text-white);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: -1px;
    display: inline-block;
    margin-bottom: 25px;
}

.footer-logo span {
    color: var(--logo-red);
}

.footer-bio {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--text-white);
    color: #000000;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-purple);
    margin-bottom: 30px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-white);
}

.contact-info {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.footer-email {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    text-decoration: none;
    margin-bottom: 25px;
    transition: opacity 0.3s ease;
}

.footer-email:hover {
    opacity: 0.7;
}

.footer-cta {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: var(--whatsapp-green);
    text-decoration: none;
    border-bottom: 1px solid rgba(34, 197, 94, 0.3);
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.footer-cta:hover {
    letter-spacing: 1px;
    border-bottom-color: var(--whatsapp-green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    margin-left: 25px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--text-white);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .site-footer { padding: 80px 0 40px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-legal a { margin: 0 10px; }
}

/* Premium FAQ Section */
.faq-section {
    padding: 120px 0;
    background-color: #ffffff;
    color: #111111;
}

.faq-main-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-align: center;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    margin-bottom: 80px;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: #cccccc; /* Outline feel */
    -webkit-text-stroke: 1px #111111;
}

.faq-main-title .bold {
    font-weight: 700;
    color: #111111;
    -webkit-text-stroke: 0;
}

.faq-main-title .dot {
    color: #1e40af; /* Vivid Blue */
    -webkit-text-stroke: 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08); /* Clean distinct border */
    border-radius: 16px; /* Pill/card shape */
    box-shadow: 0 4px 20px rgba(0,0,0,0.03); /* Subtle depth */
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.faq-question {
    padding: 24px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    border-radius: 16px;
}

.faq-item.active .faq-question {
    background: #fcfcfc;
}

.faq-question:hover {
    background: transparent;
}

.faq-question span {
    font-size: 17px;
    font-weight: 600;
    color: #111111;
}

.faq-icon-wrapper {
    width: 32px;
    height: 32px;
    background: var(--primary-purple); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
}

.faq-icon-plus {
    width: 12px;
    height: 2px;
    background: #fff;
    position: relative;
}

.faq-icon-plus::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 12px;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.faq-item.active .faq-icon-wrapper {
    transform: rotate(180deg);
}

.faq-item.active .faq-icon-plus::after {
    opacity: 0; /* Becomes a minus */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-answer-inner {
    padding: 0 40px 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
}

@media (max-width: 1024px) {
    .faq-grid { grid-template-columns: 1fr; }
}

/* Brands Portfolio Grid Section */
.brands-grid-section {
    padding: 120px 0;
    background-color: #f7f7f7;
    background-image: radial-gradient(#dddddd 1px, transparent 1px);
    background-size: 20px 20px; /* Subtle dot pattern instead of busy diagonal */
    position: relative;
}

.brands-grid-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: stretch;
}

.brands-cta-card {
    background: linear-gradient(135deg, var(--accent-purple) 0%, #4f46e5 100%);
    border-radius: 40px;
    padding: 60px 50px;
    display: flex;
    align-items: center;
    color: var(--text-white);
    box-shadow: 0 40px 100px rgba(99, 102, 241, 0.2);
}

.brands-cta-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}

.brands-cta-desc {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

.brands-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.brands-cta-link:hover {
    gap: 15px;
}

.brands-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.logo-card {
    background: #ffffff;
    border-radius: 24px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.uploaded-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-card:hover .uploaded-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-text {
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: #333333;
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #888888;
}

/* Styled Brand Logos */
.logo-text.solar { color: #22c55e; }
.logo-text.solar span { color: #166534; font-weight: 700; }

.logo-text.solution { color: #6366f1; }
.logo-text.solution span { color: #1e1b4b; display: inline; font-size: 24px; font-weight: 900; line-height: 0; position: relative; top: 4px; }

.logo-text.clear { color: #3b82f6; }
.logo-text.clear span { color: #0ea5e9; font-weight: 800; display: inline-block; border-left: 2px solid #ccc; padding-left: 5px; margin-left: 5px; }

.logo-text.adamia { color: #d97706; text-transform: lowercase; font-weight: 300; font-size: 22px; }

.logo-text.montys span { display: block; font-size: 10px; color: #444; border-top: 1px solid #eee; margin-top: 5px; padding-top: 5px; }

.logo-text.membtech { background: #6366f1; padding: 5px 12px; border-radius: 8px; color: #ffffff; letter-spacing: 1px; }

.logo-text.wpc span { color: #f43f5e; font-weight: 900; }

.logo-text.palliative { font-size: 11px; font-weight: 900; color: #1e3a8a; }
.logo-text.palliative span { font-size: 9px; line-height: 1.1; margin-top: 2px; }

@media (max-width: 1200px) {
    .brands-grid-layout { grid-template-columns: 1fr; }
    .brands-cta-card { padding: 80px 40px; text-align: center; justify-content: center; }
    .brands-cta-link { justify-content: center; }
}

@media (max-width: 768px) {
    .faq-main-title { font-size: 28px; }
    .faq-question { padding: 25px 30px; }
    .faq-answer-inner { padding: 0 30px 25px; }
    .brands-logos-grid { grid-template-columns: repeat(2, 1fr); }
    .logo-card { height: 140px; }
}

/* Premium Testimonials Section */
.testimonials-section {
    padding: 120px 0;
    background-color: #f8f9fa;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 80px;
}

.testi-subtitle {
    color: var(--accent-purple);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 15px;
}

.testi-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    color: #111111;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #f2f2f2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1; /* INSTANT VISIBILITY: Fixed missing section issue */
    transform: none;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.1);
    border-color: var(--primary-purple);
}

.testi-stars .star.filled { color: var(--primary-purple); }
.testi-client-info .verified-badge svg { fill: var(--primary-purple); }

.testi-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder {
    font-weight: 700;
    color: #999;
}

.testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testi-client-info {
    display: flex;
    align-items: center;
    gap: 5px;
}

.testi-name {
    font-weight: 700;
    color: #111111;
    font-size: 16px;
}

.testi-card-body p {
    font-size: 15px;
    line-height: 1.7;
    color: #444444;
    font-style: italic;
    margin-bottom: 30px;
    flex-grow: 1;
}

.testi-card-footer {
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testi-service {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #777;
}

.service-icon {
    color: var(--accent-purple);
}

.testi-stars {
    color: #fbbf24;
    font-size: 14px;
    letter-spacing: 2px;
}

.star { color: #dddddd; }
.star.filled { color: #fbbf24; }

@media (max-width: 1024px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-section { padding: 80px 0; }
    .testi-title { font-size: 28px; }
}

/* Absolute Precision Agency Case Studies */
.case-studies-section {
    padding: 120px 0;
    background-color: #ffffff;
}

.case-studies-header {
    text-align: center;
    margin-bottom: 80px;
}

.case-subtitle {
    color: #0046ff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.case-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 700;
    color: #000000;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.case-desc {
    font-size: 17px;
    color: #555;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.case-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid #f2f2f2;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

.case-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* PERFECT VERTICAL CENTERING */
    margin-bottom: 30px;
    padding: 0 5px;
}

.case-location {
    display: flex;
    align-items: center;
    gap: 10px;
}

.google-icon-wrapper {
    background: #fff;
    padding: 3px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-name {
    font-weight: 700;
    font-size: 14px;
    color: #000;
    text-transform: uppercase;
}

.case-meta {
    text-align: right;
}

.client-name {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #f9312c; /* Rose Red */
    margin-bottom: 1px;
}

.duration {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #000;
}

.case-table-container {
    background-color: #1d2448; /* Exact Midnight Blue */
    border-radius: 20px;
    padding: 20px 10px; /* MORE BREATHING ROOM */
}

.case-grid-header {
    display: grid;
    grid-template-columns: 1fr 60px; /* FIXED WIDTH ALIGNMENT */
    padding: 10px 20px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 5px;
}

.case-row-item {
    display: grid;
    grid-template-columns: 1fr 60px; /* PERFECT VERTICAL ALIGNMENT */
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.case-row-item:last-child {
    border-bottom: none;
}

.case-kw {
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
}

.case-val {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
}

.case-val.top-rank {
    font-size: 18px;
    text-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.text-right { text-align: right; }

@media (max-width: 1200px) {
    .case-studies-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .case-studies-grid { grid-template-columns: 1fr; }
    .case-title { font-size: 32px; }
    .case-studies-section { padding: 80px 0; }
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.stat-card.highlight {
    background: linear-gradient(135deg, #111111 0%, #050505 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #ffffff;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.stat-card.highlight:hover {
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.2);
    border: 1px solid var(--primary-purple);
}

.stat-number {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 15px;
    font-weight: 500;
    opacity: 0.7;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .awards-grid { grid-template-columns: 1fr; gap: 60px; }
    .awards-info { text-align: center; }
    .certificate-display { margin: 0 auto; }
}

@media (max-width: 768px) {
    .awards-section { padding: 80px 0; }
    .stats-grid { gap: 15px; }
    .stat-card { padding: 35px 20px; }
}

@media (max-width: 900px) {
    #masthead .main-navigation { display: none !important; }
}

#masthead .header-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
}

#masthead .logo {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

#masthead .logo span {
    color: var(--accent-purple) !important;
}

#masthead .main-navigation ul {
    display: flex !important;
    gap: 30px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#masthead .main-navigation ul li a {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

#masthead .main-navigation ul li a:hover {
    color: var(--accent-purple) !important;
}

#masthead .user-profile-icon img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    object-fit: cover !important;
}

@media (max-width: 900px) {
    #masthead .main-navigation { display: none !important; }
}

/* Elite Floating Social Buttons */
.floating-social-buttons {
    position: fixed;
    right: 30px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2147483647; 
    opacity: 1;
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none !important;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn.whatsapp { background-color: #25d366; }
.social-btn.linkedin { background-color: #0077b5; }

.social-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.social-btn .btn-label {
    position: absolute;
    right: 75px;
    background: #111;
    color: #fff;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: translateX(10px);
}

.social-btn:hover .btn-label {
    opacity: 1;
    transform: translateX(0);
}

/* Pulse Glow for WhatsApp */
.social-btn.whatsapp::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.5;
    z-index: -1;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 768px) {
    .floating-social-buttons { right: 20px; bottom: 20px; gap: 10px; }
    .social-btn { width: 50px; height: 50px; }
    .social-btn .btn-label { display: none; }
}

/* --- Perfect Elite Layout for About Page --- */
body.page-template-page-about {
    background-color: #ffffff !important;
    color: #333333;
}

.about-page-main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.about-hero {
    padding: 100px 0 80px;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 450px 1fr; /* Fixed image width for balance */
    gap: 80px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: 0 40px 100px rgba(0,0,0,0.08); /* Soft shadow */
    border: 1px solid #eeeeee;
}

.about-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-title {
    color: #111111;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.about-experience-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    background: #f8f8f8;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    margin-bottom: 30px;
}

.exp-number { color: var(--accent-purple); font-size: 32px; font-weight: 800; }
.exp-text { color: #666666; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; line-height: 1.4; }

.about-story { margin-bottom: 40px; }
.story-p { color: #555555; font-size: 16px; line-height: 1.8; margin-bottom: 20px; }
.story-p.lead { color: #111111; font-size: 19px; font-weight: 600; margin-bottom: 25px; }

/* --- Elite FAQ Layout Reform: Symmetrical & Interactive --- */
.about-faq {
    padding: 100px 0 !important;
    background-color: #fbfbfb !important;
}

.about-faq .section-title {
    font-size: 36px !important;
    font-weight: 800 !important;
    color: #111 !important;
    margin-bottom: 60px !important;
}

/* --- Elite Portfolio Showroom: 'Perfect Match' Refinement --- */
.portfolio-page-main {
    background-color: #ffffff;
}

.portfolio-hero {
    padding: 140px 0 100px !important; /* Authentic Spacing */
    background: #000000 !important; /* Authority Black as per reference */
    color: #ffffff !important;
}

.portfolio-hero .portfolio-subtitle {
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 5px !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    margin-bottom: 20px !important;
}

.portfolio-hero .portfolio-title {
    color: #ffffff !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    max-width: 1000px !important;
    margin: 0 auto 30px !important;
    line-height: 1.1 !important;
}

.portfolio-hero .portfolio-desc {
    font-size: 19px !important;
    line-height: 1.8 !important;
    color: #ffffff !important;
    max-width: 850px !important;
    margin: 0 auto !important;
    opacity: 0.9 !important;
    font-weight: 500 !important;
}

/* Perfect Reference Mosaic */
.portfolio-grid-section {
    padding: 100px 0 !important;
    background: #ffffff !important; /* Pure white background as per reference */
}

.portfolio-mosaic {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important; /* Precise Reference Spacing */
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.portfolio-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04) !important;
}

.portfolio-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 30px 70px rgba(0,0,0,0.08) !important;
}

.portfolio-thumb-wrapper {
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    background: #f8fafc !important;
}

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

.portfolio-info {
    padding: 16px 20px !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    border-top: 1px solid #f1f5f9 !important;
}

.verified-badge {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
}

.verified-check {
    width: 100% !important;
    height: 100% !important;
}

.portfolio-domain {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    text-transform: lowercase !important;
    letter-spacing: -0.2px !important;
}

/* Mobile Perfection */
@media (max-width: 1024px) {
    .portfolio-mosaic { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
    .portfolio-hero .portfolio-title { font-size: 36px !important; }
}

@media (max-width: 768px) {
    .portfolio-mosaic { grid-template-columns: 1fr !important; }
    .portfolio-hero { padding: 100px 0 60px !important; }
    .portfolio-hero .portfolio-title { font-size: 28px !important; }
}

/* --- Section Header Perfection: Elite Typography --- */
.section-header {
    margin-bottom: 60px !important; /* Perfect Luxury Gap */
    text-align: center !important;
}

.section-subtitle {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important; /* Elite Tagline Aesthetic */
    color: #888 !important;
    margin-bottom: 12px !important;
}

.section-title {
    font-size: 42px !important; /* Commanding Presence */
    font-weight: 800 !important;
    color: #111 !important;
    line-height: 1.2 !important;
    margin-bottom: 25px !important;
}

.section-desc {
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: #666 !important;
    max-width: 750px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-weight: 400 !important;
}

/* --- Elite 'Brand Wall' Mosaic: Symmetrical & Powerful --- */
.tools-section {
    padding: 120px 0 !important;
    background-color: #ffffff !important;
}

.tools-mosaic {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* Perfect 4-column Brand Wall */
    gap: 30px !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

.tool-tile {
    background: #ffffff !important;
    border: 1px solid #f2f2f2 !important;
    border-radius: 20px !important;
    padding: 40px 20px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important;
    cursor: default !important;
}

.tool-tile:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.06) !important;
    border-color: var(--accent-purple) !important;
}

.tile-icon {
    margin-bottom: 20px !important;
    transition: all 0.5s ease !important;
    filter: grayscale(1) opacity(0.6); /* Premium Monochrome Static */
}

.tool-tile:hover .tile-icon {
    filter: grayscale(0) opacity(1); /* Full Color on Hover */
    transform: scale(1.1) !important;
}

.brand-logo-img {
    height: 44px !important; /* Elite Size for Authority */
    width: auto !important;
    max-width: 130px !important;
    object-fit: contain !important;
}

.tile-label {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #222 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    opacity: 0.8 !important;
}

@media (max-width: 1024px) {
    .tools-mosaic { grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; }
}

@media (max-width: 768px) {
    .tools-mosaic { grid-template-columns: repeat(2, 1fr) !important; }
    .tool-tile { padding: 30px 15px !important; }
    .brand-logo-img { height: 38px !important; }
}

/* --- FINAL PERFECTION: Elite About Page Layout --- */
body.page-template-page-about {
    background-color: #ffffff !important;
    color: #111111 !important;
}

body.page-template-page-about .site-header {
    background-color: #000000 !important;
    position: sticky;
    top: 0;
}

/* Container Control */
.about-page-main section .container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* --- Hero Perfection --- */
.about-hero {
    padding: 100px 0 80px !important;
}

.about-hero-grid {
    display: flex !important;
    align-items: center !important;
    gap: 80px !important;
}

.about-hero-image {
    flex: 0 0 400px !important; /* Lock image size */
}

.about-img-wrapper {
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1) !important;
    border: 1px solid #eee !important;
}

.about-main-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.about-hero-title {
    font-size: 48px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    color: #111111 !important;
    margin-bottom: 20px !important;
}

.about-experience-badge {
    display: inline-flex !important;
    background: #fcfcfc !important;
    border: 1px solid #eee !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    margin-bottom: 30px !important;
}

/* --- Achievements Ribbon: Premium Dark Optimization --- */
.achievements-ribbon {
    padding: 60px 0 !important;
    background: #0a0a0a !important; /* Deep Agency Black */
    border-top: 1px solid rgba(255,255,255,0.05) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    position: relative;
    overflow: hidden;
}

/* Subtle background glow effect */
.achievements-ribbon::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* --- Achievements Ribbon: Premium Dark Optimization --- */
.achievements-ribbon {
    padding: 60px 0 !important;
    background: #0a0a0a !important; /* Deep Agency Black */
    border-top: 1px solid rgba(255,255,255,0.05) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    position: relative;
    overflow: hidden;
}

.achievements-ribbon .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

.achievements-ribbon .stat-card {
    text-align: center !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 30px 20px !important;
    border-radius: 20px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    transition: all 0.4s ease !important;
}

.achievements-ribbon .stat-number {
    font-size: 38px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin-bottom: 5px !important;
}

.achievements-ribbon .stat-label {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-weight: 700 !important;
}

/* Mobile: Two Line Set (2x2 Grid) */
@media (max-width: 768px) {
    .achievements-ribbon .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .achievements-ribbon .stat-card {
        padding: 25px 15px !important;
    }
    
    .achievements-ribbon .stat-number {
        font-size: 30px !important;
    }
}

/* --- Tools Mode: TRUE PILLS --- */
.tools-section {
    padding: 80px 0 !important;
}

.tools-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
}

.tool-card {
    display: inline-flex !important; /* Force pill behavior */
    align-items: center !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    padding: 8px 18px !important;
    border-radius: 100px !important;
    transition: all 0.3s ease !important;
    width: auto !important; /* Prevent stretching */
}

.tool-card:hover {
    border-color: var(--accent-purple) !important;
    transform: translateY(-3px) !important;
}

.tool-logo {
    height: 22px !important; /* LOCKED HEIGHT */
    width: auto !important;
    margin-right: 10px !important;
    object-fit: contain !important;
}

.tool-name {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

/* ============================================================
   PORTFOLIO SHOWCASE — ULTRA PREMIUM DARK DESIGN
   ============================================================ */
.pf-showcase-section {
    padding: 130px 0 140px;
    background: #0a0a0a; /* Matches site dark background exactly */
    position: relative;
    overflow: hidden;
}

/* Ambient purple glow — top right */
.pf-showcase-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.10) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Subtle grid lines background */
.pf-showcase-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99,102,241,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.pf-showcase-section .container {
    position: relative;
    z-index: 1;
}

/* --- Heading --- */
.pf-showcase-heading {
    text-align: center;
    margin-bottom: 70px;
}

.pf-showcase-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary-purple);
    margin-bottom: 20px;
    padding: 8px 20px;
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 100px;
    background: rgba(99,102,241,0.06);
}

.pf-showcase-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-purple);
    border-radius: 50%;
    display: inline-block;
    animation: pf-pulse 2s infinite;
}

@keyframes pf-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.pf-showcase-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -2px;
    text-transform: uppercase;
    line-height: 1.0;
}

.pf-showcase-title span {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #a78bfa 60%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- 2-Column Grid --- */
.pf-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 70px;
}

/* --- Individual Card --- */
.pf-card {
    position: relative;
    display: block;
    text-decoration: none !important;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #111111;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.pf-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 30px rgba(99,102,241,0.15);
}

/* Dark gradient overlay always present for readability */
.pf-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.75) 100%
    );
    transition: background 0.4s ease;
    z-index: 1;
}

.pf-card:hover .pf-card-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.85) 100%
    );
}

/* Placeholder card (no image) */
.pf-card-placeholder {
    background: linear-gradient(135deg, #111111 0%, #0a0a0a 100%);
    border: 1px solid rgba(255,255,255,0.06);
}

/* Purple glow category badge — top left */
.pf-card-cat {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 5;
    background: rgba(99, 102, 241, 0.9);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(167,139,250,0.4);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

/* Title + arrow — bottom left */
.pf-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
    z-index: 5;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.pf-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(15px, 2vw, 20px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
    margin: 0;
    flex: 1;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.pf-card:hover .pf-card-title {
    color: #c4b5fd;
}

.pf-card-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pf-card:hover .pf-card-arrow {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: #ffffff;
    transform: translate(3px, -3px) rotate(45deg);
    box-shadow: 0 0 20px rgba(99,102,241,0.5);
}

/* --- CTA Button --- */
.pf-showcase-cta {
    text-align: center;
}

.pf-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 52px;
    background: transparent;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    text-decoration: none !important;
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.pf-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(167,139,250,0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pf-cta-btn:hover::before {
    opacity: 1;
}

.pf-cta-btn span {
    transition: transform 0.3s ease;
    display: inline-block;
    font-size: 18px;
}

.pf-cta-btn:hover {
    border-color: rgba(99,102,241,0.6);
    color: #c4b5fd;
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(99,102,241,0.15);
}

.pf-cta-btn:hover span {
    transform: translateX(6px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .pf-showcase-grid { grid-template-columns: 1fr; }
    .pf-showcase-section { padding: 80px 0 90px; }
    .pf-card { aspect-ratio: 4 / 3; }
    .pf-showcase-title { letter-spacing: -1px; }
}

/* ============================================================
   ULTRA PREMIUM PORTFOLIO SHOWROOM
   ============================================================ */

.premium-showroom {
    position: relative;
    background: #050505 !important;
    padding: 140px 0 120px !important;
    overflow: hidden;
}

/* Ambient glow */
.showroom-glow {
    position: absolute;
    top: 30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Subtle grid lines background */
.showroom-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

/* ---- Section Header ---- */
.showroom-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.showroom-header-left {
    flex: 1;
}

.showroom-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary-purple);
    margin-bottom: 20px;
}

.showroom-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -3px;
    color: #ffffff;
    margin-bottom: 20px;
}

.showroom-title em {
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.6);
}

.showroom-desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.45);
    max-width: 480px;
    font-weight: 400;
}

.showroom-header-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0;
}

.showroom-stat-pill {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    padding: 16px 28px;
    min-width: 260px;
    transition: all 0.3s ease;
}

.showroom-stat-pill:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.06);
}

.stat-pill-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1;
}

.stat-pill-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ---- Cards Grid ---- */
.premium-mosaic {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.showroom-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative;
    z-index: 1;
}

.showroom-card:hover {
    transform: translateY(-12px) !important;
    border-color: rgba(99, 102, 241, 0.45) !important;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(99, 102, 241, 0.15) !important;
}

/* First card gets a purple top border glow */
.card-featured {
    border-color: rgba(99, 102, 241, 0.3) !important;
}

/* Numbered badge */
.card-index-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 5px 10px;
    z-index: 10;
}

.portfolio-thumb-wrapper {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111;
}

.portfolio-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1) !important;
    display: block;
}

.showroom-card:hover .portfolio-img {
    transform: scale(1.06);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111 0%, #1a1a2e 100%);
}

/* Card hover overlay */
.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
}

.showroom-card:hover .card-overlay {
    opacity: 1;
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #000;
    padding: 14px 24px;
    border-radius: 100px;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.showroom-card:hover .overlay-content {
    transform: translateY(0);
}

.view-project-label {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.overlay-arrow {
    width: 16px;
    height: 16px;
    stroke: #000;
}

/* Card bottom info bar */
.glass-info {
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    padding: 16px 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.portfolio-info-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.verified-badge {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
}

.verified-check {
    width: 100% !important;
    height: 100% !important;
}

.glass-info .portfolio-domain {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
}

/* Live badge */
.card-live-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.08);
    border-radius: 100px;
    padding: 4px 10px;
}

/* No projects notice */
.no-projects-notice {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: rgba(255,255,255,0.3);
}

/* ---- Premium CTA ---- */
.showroom-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 70px;
    position: relative;
    z-index: 1;
}

.btn-elite {
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 20px 50px !important;
    background: #ffffff !important;
    color: #000000 !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    border-radius: 100px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.12) !important;
}

.btn-elite:hover {
    transform: translateY(-5px) !important;
    background: #f0f0f0 !important;
    box-shadow: 0 25px 60px rgba(255, 255, 255, 0.2) !important;
}

.btn-elite-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 18px;
}

.btn-elite:hover .btn-elite-arrow {
    transform: translateX(5px);
}

.showroom-cta-note {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.5px;
}

.mt-60 { margin-top: 60px !important; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .premium-mosaic { grid-template-columns: repeat(2, 1fr) !important; }
    .showroom-header { flex-direction: column; align-items: flex-start; gap: 40px; }
    .showroom-header-right { flex-direction: row; }
    .showroom-stat-pill { min-width: auto; }
}

@media (max-width: 768px) {
    .premium-showroom { padding: 80px 0 !important; }
    .premium-mosaic { grid-template-columns: 1fr !important; }
    .showroom-title { font-size: 48px; letter-spacing: -2px; }
    .showroom-header-right { flex-direction: column; }
}



/* ==========================================================================
   PREMIUM AGENCY FOOTER V2
   ========================================================================== */
.site-footer.v2-premium {
    background: #0a0a0a !important;
    padding: 100px 0 40px;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container-v2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-master-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo-v2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
}

.footer-logo-v2 span { color: var(--primary-purple); }

.footer-bio-v2 {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    margin-bottom: 30px;
    max-width: 320px;
}

.footer-social-row {
    display: flex;
    gap: 15px;
}

.f-social-icon {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: #fff;
}

.f-social-icon:hover {
    background: var(--primary-purple);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

/* Brands Specific Hover Colors (Optional Luxury Touch) */
.f-social-icon.li:hover { background: #0077b5; }
.f-social-icon.tw:hover { background: #1da1f2; }
.f-social-icon.ig:hover { background: #e1306c; }
.f-social-icon.be:hover { background: #053eff; }

.f-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--primary-purple);
    margin-bottom: 30px;
}

.f-list { list-style: none; padding: 0; }
.f-list li { margin-bottom: 18px; }
.f-list a {
    font-family: var(--font-body);
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.f-list a::after {
    content: '';
    position: absolute;
    bottom: -4px; right: 0;
    width: 0; height: 1px;
    background: var(--primary-purple);
    transition: width 0.4s ease;
}

.f-list a:hover { color: #fff; }
.f-list a:hover::after { width: 100%; left: 0; }

.f-contact-box { margin-bottom: 25px; }
.f-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 8px;
}

.f-contact-link {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.f-contact-link:hover { color: var(--primary-purple); }

.btn-f-premium {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    background: #fff;
    color: #000;
    border-radius: 100px;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.btn-f-premium:hover {
    background: var(--primary-purple);
    color: #fff;
    transform: translateY(-5px) scale(1.05);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.f-legal-links a { color: inherit; text-decoration: none; margin: 0 10px; }
.f-legal-links a:hover { color: #fff; }

@media (max-width: 1024px) {
    .footer-master-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 600px) {
    .footer-master-grid { grid-template-columns: 1fr; }
    .footer-bottom-bar { flex-direction: column; gap: 20px; text-align: center; }
}

/* ==========================================================================
   FLOATING QUICK ACTIONS (WHATSAPP & LINKEDIN)
   ========================================================================== */
.floating-quick-actions {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999999; /* Ensure it stays above everything */
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #fff !important;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.float-btn.wa { background: #25D366; }
.float-btn.li { background: #0077b5; }

.float-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* Tooltip Reveal */
.btn-tool-tip {
    position: absolute;
    right: 75px;
    background: #111;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.float-btn:hover .btn-tool-tip {
    opacity: 1;
    transform: translateX(0);
}

/* Pulsing Radar Animation for WhatsApp */
.pulse-radar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    z-index: -1;
    animation: radarPulse 2s infinite;
}

@keyframes radarPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

@media (max-width: 768px) {
    .floating-quick-actions { right: 20px; bottom: 20px; gap: 10px; }
    .float-btn { width: 50px; height: 50px; }
    .btn-tool-tip { display: none; }
}

/* ==========================================================================
   PREMIUM MOBILE OPTIMIZATION SYSTEM
   ========================================================================== */

/* 1. Mobile-First Global Improvements */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .container {
        padding: 0 20px !important;
    }
    
    section {
        padding: 60px 0 !important;
    }
    
    .site-header {
        height: 70px !important;
    }
}

/* 2. Simplified Mobile Navigation */
.desktop-only-avatar {
    display: block;
}

@media (max-width: 991px) {
    .desktop-only-avatar {
        display: none !important;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000000;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle.active .bar-1 { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active .bar-2 { opacity: 0; transform: translateX(-10px); }
.mobile-menu-toggle.active .bar-3 { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        display: none !important;
    }
}

/* Desktop Menu Optimization */
.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    position: relative;
    padding: 10px 0;
}

.main-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: width 0.3s ease;
}

.main-navigation ul li.current-menu-item a::after,
.main-navigation ul li.current_page_item a::after,
.main-navigation ul li a:hover::after {
    width: 100%;
}

.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current_page_item a {
    color: var(--primary-purple);
    opacity: 1;
}

/* 3. Pixel-Perfect Mobile Menu (Reference Match) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
}

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

.mobile-menu-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Overlay Header Bar */
.mobile-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eeeeee;
}

.m-logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #000;
    text-decoration: none;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.m-logo-text span {
    color: var(--primary-purple);
}

/* Social Tiles in Overlay */
.m-social-row {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    padding: 30px 0 10px;
}

.m-soc-tile {
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.m-soc-tile:active {
    background: #eeeeee;
    transform: scale(0.95);
}

.mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 32px;
    color: #444;
    cursor: pointer;
    line-height: 1;
}

/* Navigation List */
.mobile-menu-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.mobile-menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-content ul li {
    border-bottom: 1px solid rgba(0,0,0,0.02);
}

.mobile-menu-content ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 25px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    transition: background 0.2s ease;
}

.mobile-menu-content ul li a::after,
.m-f-caret::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(45deg);
    margin-top: -3px;
    opacity: 0.8;
}

.mobile-menu-content ul li a:active {
    background: #f9f9f9;
}

/* Footer Section */
.mobile-menu-footer {
    padding: 0 25px 40px;
    border-top: 1px solid #eeeeee;
}

.m-footer-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
}

.m-f-label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
}

/* Rectangular Dark CTA */
.btn-m-premium {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 22px;
    background: #2b3e51; /* Charcoal/Navy from reference */
    color: #ffffff !important;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.btn-m-premium:hover {
    background: #1a2a3a;
}

/* 4. Smart Footer Accordions */
@media (max-width: 768px) {
    .f-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .footer-accordion-item.active .f-accordion-content {
        max-height: 500px; /* Large enough to fit content */
    }
    
    .accordion-trigger {
        position: relative;
        cursor: pointer;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        margin-bottom: 10px !important;
    }
    
    .acc-icon {
        position: absolute;
        right: 0;
        top: 50%;
        width: 12px;
        height: 12px;
        transform: translateY(-50%);
    }
    
    .acc-icon::before, .acc-icon::after {
        content: '';
        position: absolute;
        background: var(--primary-purple);
        transition: all 0.3s ease;
    }
    
    .acc-icon::before { width: 100%; height: 2px; top: 50%; margin-top: -1px; left: 0; }
    .acc-icon::after { height: 100%; width: 2px; left: 50%; margin-left: -1px; top: 0; }
    
    .footer-accordion-item.active .acc-icon::after { transform: rotate(90deg); opacity: 0; }
}

.mobile-menu-overlay a {
    color: #000;
}

body.menu-open {
    overflow: hidden;
}

/* 4. Portfolio Filter Scroll Optimization */
@media (max-width: 768px) {
    .filter-pill-nav {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        padding-bottom: 10px !important;
        -ms-overflow-style: none;
        scrollbar-width: none;
        flex-wrap: nowrap !important;
        mask-image: linear-gradient(to right, black 85%, transparent 100%);
    }
    
    .filter-pill-nav::-webkit-scrollbar {
        display: none;
    }
    
    .filter-pill {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
}

/* 5. Elite Responsive Grids */
@media (max-width: 991px) {
    .services-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
    .portfolio-grid-v2 { grid-template-columns: repeat(2, 1fr) !important; }
    .case-studies-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
}

@media (max-width: 768px) {
    /* Services: Full Width as requested */
    .services-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
    .portfolio-grid-v2 { grid-template-columns: 1fr !important; }
    .awards-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
    
    /* Stats: Optimized 2x2 remains */
}

/* 6. Front Page Polish for Mobile */
@media (max-width: 768px) {
    .hero-section { padding: 120px 0 80px !important; }
    
    .hero-content {
        text-align: center !important;
        margin: 0 auto !important;
    }
    
    .hero-title {
        font-size: clamp(32px, 8vw, 42px) !important;
        line-height: 1.1 !important;
        margin-bottom: 25px !important;
    }
    
    .hero-actions {
        justify-content: center !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100%;
        max-width: 300px;
        margin: 30px auto 0 !important;
    }
    
    .hero-actions .btn { width: 100% !important; justify-content: center; }
    
    /* Brand Scrolling Polish */
    .brand-card {
        min-width: 150px !important;
        height: 60px !important;
        padding: 0 20px !important;
    }
    
    .ribbons-container { display: none; }
}

/* 7. Footer Responsive Refinement */
@media (max-width: 768px) {
    .footer-master-grid { grid-template-columns: 1fr !important; gap: 40px !important; text-align: center !important; }
    .footer-bio-v2 { margin: 0 auto 30px !important; }
    .footer-social-row { justify-content: center !important; }
    .footer-bottom-bar { flex-direction: column !important; gap: 15px !important; }
}

/* 9. Elite Agency Reveal System */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* 10. Premium Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-purple), var(--accent-blue));
    border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-purple);
}

/* 11. Typography & Global Polish */
html {
    scroll-behavior: smooth;
}

body {
    letter-spacing: -0.015em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    letter-spacing: -0.03em;
}

/* 12. Portfolio Card Micro-Interactions Upgrade */
.portfolio-case-v2:hover {
    transform: translateY(-15px) scale(1.02) !important;
}

.case-img {
    filter: grayscale(0.2);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.portfolio-case-v2:hover .case-img {
    filter: grayscale(0);
}

/* 13. Header Premium Glass Button */
.btn-header-contact.btn-glass-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05); /* very light, glassy */
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-family: var(--font-heading), sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 8px; /* Standard premium curve */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Internal Glow and Hover Shift */
.btn-header-contact.btn-glass-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-header-contact.btn-glass-premium:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(138, 43, 226, 0.2) inset; /* subtle purple glow hint */
    color: #ffffff;
}

.btn-header-contact.btn-glass-premium:hover::before {
    opacity: 1;
}

/* 14. Premium Contact Modal */
.premium-contact-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-out;
}

.premium-contact-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.premium-contact-modal-inner {
    width: 100%;
    max-width: 440px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(138, 43, 226, 0.15);
}

.premium-contact-modal-overlay.active .premium-contact-modal-inner {
    transform: translateY(0) scale(1);
}

.pcm-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    width: 32px; height: 32px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pcm-close:hover {
    background: var(--primary-purple, #8A2BE2);
    transform: rotate(90deg);
}

.pcm-header {
    text-align: center;
    margin-bottom: 25px;
}

.pcm-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.pcm-header p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.pcm-form-group {
    margin-bottom: 15px;
}

.pcm-form-group input, 
.pcm-form-group select, 
.pcm-form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 14px 18px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pcm-form-group input:focus, 
.pcm-form-group select:focus, 
.pcm-form-group textarea:focus {
    outline: none;
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 10px rgba(255,255,255,0.05);
}

.pcm-form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 18px top 50%;
    background-size: 10px auto;
}

.pcm-form-group select option {
    background: #1a1a1a;
    color: #ffffff;
}

.pcm-form-group textarea {
    resize: none;
}

.pcm-form-group input::placeholder, 
.pcm-form-group textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

body.modal-open {
    overflow: hidden;
}

.pcm-submit-btn {
    width: 100%;
    padding: 16px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pcm-submit-btn:hover {
    background: var(--primary-purple, #8a2be2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.3);
}

.pcm-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ============================================================
   TESTIMONIALS SECTION — REFERENCE MATCH REDESIGN
   ============================================================ */
.testimonials-section {
    padding: 100px 0;
    background-color: #f7f9fc; /* Light blue-grey background as per reference */
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testi-subtitle {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.testi-title {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    color: #000;
    letter-spacing: -1.5px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.testi-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.testi-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
}

.testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testi-name-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 18px;
    color: #111;
    font-family: var(--font-heading), sans-serif;
}

.v2-verified-badge {
    display: flex;
    align-items: center;
}

.testi-card-body {
    flex-grow: 1;
    margin-bottom: 25px;
}

.testi-card-body p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    font-style: normal !important; /* Explicitly removed slope/italics */
}

.testi-divider {
    height: 1px;
    background: #eeeeee;
    margin-bottom: 20px;
    width: 100%;
}

.testi-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testi-footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.testi-service-name {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.testi-stars {
    display: flex;
    gap: 2px;
}

.testi-stars .star {
    font-size: 16px;
    color: #e2e8f0; /* Unfilled */
}

.testi-stars .star.filled {
    color: #fbbf24; /* Amber-400 as per common high-end star color */
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        padding: 30px 25px;
    }
    .testi-title {
        font-size: 28px;
    }
}

/* --- Modal Mobile & Refinements (Carried Over) --- */
@media screen and (max-width: 480px) {
    .premium-contact-modal-inner,
    .pcm-modal-container {
        max-width: 90% !important;
        padding: 30px 20px !important;
        border-radius: 12px !important;
    }
}
.pcm-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* ============================================================
   PREMIUM BLOG V2 — RESOURCES LAYOUT (LIGHT THEME)
   ============================================================ */
.blog-page-v2 {
    background-color: #ffffff !important;
    padding-bottom: 100px;
    font-family: 'Inter', sans-serif;
}

.blog-v2-header {
    padding: 100px 0 60px;
    text-align: left;
}

.v2-tagline {
    font-size: 13px;
    font-weight: 700;
    color: #6366f1;
    text-transform: capitalize;
    margin-bottom: 12px;
    display: block;
}

.v2-main-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
}

.v2-desc {
    font-size: 16px;
    color: #555;
    max-width: 600px;
}

/* Featured Card */
.v2-featured-section {
    margin-bottom: 60px;
}

.featured-card {
    display: block;
    text-decoration: none;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.08);
}

.featured-image-wrapper {
    aspect-ratio: 21 / 9;
    background: #f0f0f0;
    position: relative;
}

.featured-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #fff;
    backdrop-filter: blur(4px);
}

.featured-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.featured-excerpt {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 25px;
    max-width: 600px;
}

.featured-meta-row {
    display: flex;
    align-items: center;
    gap: 30px;
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.author-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
}

.meta-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    opacity: 0.8;
}

.v2-tags {
    display: flex;
    gap: 8px;
}

.pill-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    color: #fff;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.featured-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.featured-card:hover .featured-arrow {
    background: #fff;
    color: #000;
}

/* Mobile Search (Hidden on Desktop) */
.v2-mobile-search {
    display: none;
    margin-bottom: 30px;
}

/* Layout Wrapper */
.v2-layout-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.v2-main-content {
    flex: 1;
}

/* Post Grid inside main */
.v2-post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.v2-grid-card {
    display: flex;
    flex-direction: column;
}

.v2-card-cat {
    font-size: 12px;
    font-weight: 800;
    color: #6366f1;
    text-transform: capitalize;
    margin-bottom: 12px;
}

.v2-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.v2-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.v2-grid-card:hover .v2-card-image img {
    transform: scale(1.08);
}

.v2-card-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}

.v2-card-title a {
    text-decoration: none;
    color: #111;
    transition: color 0.3s ease;
}

.v2-card-title a:hover {
    color: #6366f1;
}

.v2-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.v2-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f8f8f8;
}

.v2-card-date {
    font-size: 11px;
    color: #999;
    font-weight: 600;
}

/* Pagination */
.v2-pagination {
    margin-top: 80px;
    text-align: center;
}

.v2-pagination .page-numbers {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f8f8;
    color: #111;
    text-decoration: none;
    font-weight: 700;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.v2-pagination .page-numbers.current,
.v2-pagination .page-numbers:hover {
    background: #000;
    color: #fff;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .v2-post-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-image-wrapper { aspect-ratio: 16 / 9; }
    .featured-overlay { padding: 25px; flex-direction: column; align-items: flex-start; gap: 20px; }
    .meta-right { width: 100%; }
}

@media (max-width: 768px) {
    .v2-post-grid { grid-template-columns: 1fr; }
    .v2-nav-bar { flex-direction: column; align-items: flex-start; gap: 20px; }
    .v2-search .search-input-wrapper { width: 100%; }
    .featured-title { font-size: 24px; }
}

/* ============================================================
   SINGLE POST V2 — PREMIUM LAYOUT (LIGHT THEME)
   ============================================================ */
.single-v2-page {
    background-color: #ffffff !important;
    padding-bottom: 120px;
}

.v2-article-container { max-width: 1200px; }

.v2-article-header {
    padding: 100px 0 60px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 60px;
}

.v2-article-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    color: #111;
    margin-bottom: 40px;
}

.v2-author-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.meta-author-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #f0f0f0;
}

.author-info-text .meta-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: #999;
    letter-spacing: 1px;
}

.author-info-text .meta-name {
    font-size: 18px;
    font-weight: 800;
    color: #111;
}

.meta-details-box {
    display: flex;
    gap: 40px;
}

.detail-item .meta-label {
    display: block;
    font-size: 11px;
    color: #999;
    font-weight: 600;
    margin-bottom: 4px;
}

.detail-item .meta-val {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

/* Article Grid */
.v2-article-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 80px;
}

.v2-featured-img {
    border-radius: 40px;
    overflow: hidden;
    margin-bottom: 60px;
}

.v2-featured-img img { width: 100%; height: auto; display: block; }

.v2-content-body {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.v2-content-body h2, .v2-content-body h3 {
    font-family: var(--font-heading);
    color: #111;
    margin: 60px 0 25px;
    font-weight: 800;
}

.v2-content-body p { margin-bottom: 30px; }

/* Sidebar Widgets */
.v2-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.v2-sidebar-widget {
    padding: 30px;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    background: #fff;
}

/* Author Bio Widget */
.author-bio-widget { text-align: center; background: #fcfcfc; }
.bio-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.bio-name { font-size: 22px; font-weight: 800; color: #111; margin-bottom: 10px; }
.bio-title { font-size: 12px; font-weight: 800; color: #6366f1; letter-spacing: 1px; margin-bottom: 20px; }

.bio-social { display: flex; justify-content: center; gap: 10px; margin-bottom: 25px; }
.bio-soc {
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    background: #eee; border-radius: 50%; font-size: 10px; font-weight: 800; color: #111;
    text-decoration: none; transition: all 0.3s ease;
}
.bio-soc:hover { background: #6366f1; color: #fff; }

.bio-text { font-size: 14px; line-height: 1.6; color: #666; margin-bottom: 30px; }
.bio-btn {
    display: block; width: 100%; padding: 14px; background: #6366f1; color: #fff;
    border-radius: 10px; font-weight: 800; font-size: 13px; text-decoration: none;
    transition: all 0.3s ease;
}

/* Newsletter Widget */
.newsletter-widget { background: #f8f8ff; border: 1px solid #eef0ff; text-align: center; }
.news-subtitle { font-size: 12px; color: #666; margin-bottom: 5px; }
.news-title { font-size: 24px; font-weight: 900; color: #111; letter-spacing: 1px; margin-bottom: 30px; }

.news-form input {
    width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 8px;
    margin-bottom: 15px; font-size: 14px;
}
.news-form button {
    width: 100%; padding: 15px; background: #6366f1; color: #fff; border: none;
    border-radius: 8px; font-weight: 800; cursor: pointer; transition: all 0.3s ease;
}

/* PDF Banner */
.pdf-banner-widget {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    color: #fff; border: none; text-align: center; padding: 40px 20px;
}
.pdf-icon { font-size: 40px; margin-bottom: 15px; }
.pdf-text { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.pdf-sub { font-size: 12px; opacity: 0.8; font-weight: 700; }

/* Posts List Widget */
.posts-widget .widget-tabs { display: flex; gap: 20px; margin-bottom: 25px; border-bottom: 1px solid #eee; }
.tab-item { font-size: 14px; font-weight: 700; padding-bottom: 15px; cursor: pointer; color: #999; }
.tab-item.active { color: #111; border-bottom: 2px solid #111; }
.post-item-link {
    display: block; padding: 15px 0; border-bottom: 1px solid #f8f8f8;
    text-decoration: none; color: #333; font-weight: 600; font-size: 14px; line-height: 1.4;
    transition: all 0.3s ease;
}
.post-item-link:last-child { border-bottom: none; }
.post-item-link:hover { color: #6366f1; padding-left: 5px; }

/* Content Navigation */
.v2-post-nav {
    display: flex; justify-content: space-between; padding-top: 60px;
    margin-top: 60px; border-top: 1px solid #eee;
}
.v2-post-nav a { font-weight: 800; color: #111; text-decoration: none; font-size: 15px; }
.v2-post-nav a:hover { color: #6366f1; }

/* Mobile */
@media (max-width: 1024px) {
    .v2-article-grid { grid-template-columns: 1fr; gap: 60px; }
    .v2-author-meta-row { flex-direction: column; align-items: flex-start; }
    .meta-details-box { width: 100%; border-top: 1px solid #eee; padding-top: 25px; }
}

/* Direct PDF Download Widget (Sidebar) */
.direct-pdf-widget {
    background: #fff;
    border: 1px solid #eef2ff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.03);
}

.pdf-widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.pdf-mini-icon {
    width: 28px;
    height: 28px;
    background: #6366f1;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}

.pdf-widget-title {
    font-size: 17px;
    font-weight: 800;
    color: #111;
    margin: 0;
}

.pdf-widget-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.sidebar-lead-form .input-set {
    margin-bottom: 12px;
}

.sidebar-lead-form input {
    width: 100%;
    padding: 12px 16px;
    background: #f8faff;
    border: 1px solid #eef2ff;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sidebar-lead-form input:focus {
    outline: none;
    background: #fff;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.pdf-submit-btn {
    width: 100%;
    padding: 14px;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.pdf-submit-btn:hover {
    background: #4f46e5;
    transform: translateY(-2px);
}

.pdf-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.pdf-form-feedback {
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
}

/* SEO Breadcrumbs Styling */
.v2-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #999;
    margin-bottom: 25px;
    font-weight: 500;
}
.v2-breadcrumbs a { text-decoration: none; color: #999; transition: color 0.3s ease; }
.v2-breadcrumbs a:hover { color: #6366f1; }
.v2-breadcrumbs .current { color: #333; font-weight: 700; }

/* Dynamic Table of Contents (TOC) */
.v2-toc-container {
    background: #f8faff;
    border: 1px solid #eef2ff;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 50px;
}
.toc-header h3 { font-size: 18px; font-weight: 800; color: #111; margin-bottom: 20px; border: none; }
.toc-list { display: flex; flex-direction: column; gap: 12px; }
.toc-link {
    text-decoration: none; font-size: 15px; color: #555; font-weight: 500;
    transition: all 0.3s ease; display: inline-block;
}
.toc-link:hover { color: #6366f1; padding-left: 5px; }
.toc-link.h3 { padding-left: 20px; font-size: 14px; color: #777; }

/* Premium Boxed Lists (Accordion Style from Model) */
.v2-content-body ul { list-style: none; padding: 0; margin: 40px 0; }
.v2-content-body ul li {
    background: #f8f8f8;
    padding: 18px 25px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}
.v2-content-body ul li:hover {
    background: #f0f4ff;
    border-color: #6366f1;
    transform: translateX(5px);
}

/* Sidebar Tab Refinement */
.widget-tabs .tab-item { transition: all 0.3s ease; }
.widget-tabs .tab-item:hover { color: #111; }
.posts-list { display: flex; flex-direction: column; }

/* ============================================================
   GLOBAL RESPONSIVE EXCELLENCE (MOBILE & TABLET)
   Strictly isolated to < 1024px to preserve Desktop layout.
   ============================================================ */

@media (max-width: 1024px) {
    /* Container Scaling */
    .container {
        padding-left: 25px;
        padding-right: 25px;
    }

    /* Typography Scaling */
    body { font-size: 15px; }
    h1, h2, h3 { line-height: 1.2; }

    /* Blog V2 - Featured Post */
    .featured-card { border-radius: 30px; }
    .featured-image-wrapper { aspect-ratio: 16 / 9; }
    .featured-overlay { padding: 30px; }
    .featured-title { font-size: 26px; }

    /* Blog V2 - Grid */
    .v2-post-grid,
    .services-grid,
    .pf-showcase-grid,
    .about-expert-grid,
    .awards-grid,
    .case-studies-grid,
    .faq-grid,
    .brands-grid-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Single Article V2 */
    .v2-article-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .v2-author-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    /* Home Page Hero Fixes */
    .hero-title { font-size: 38px; }
    .hero-content { padding-right: 0; text-align: center; }
    .hero-actions { justify-content: center; }
}

@media (max-width: 768px) {
    /* Global Typography */
    .site-tagline, .elite-badge, .site-badge-premium {
        font-size: 10px;
        letter-spacing: 3px;
    }

    /* Grids to Single Column */
    .v2-post-grid,
    .services-grid,
    .pf-showcase-grid,
    .about-expert-grid,
    .awards-grid,
    .case-studies-grid,
    .faq-grid,
    .brands-grid-layout,
    .stats-grid,
    .trust-logos {
        grid-template-columns: 1fr !important;
        display: flex;
        flex-direction: column;
    }
    
    .hero-title { font-size: 32px; letter-spacing: -1px; }
    .hero-actions { flex-direction: column; gap: 15px; width: 100%; }
    .hero-actions .btn { width: 100%; text-align: center; }

    /* Brands Marquee Cleanup */
    .brand-card { padding: 15px 30px; }
    .brand-logo-img { height: 30px; }

    /* Blog V2 */
    .v2-post-grid { grid-template-columns: 1fr; }
    .blog-v2-header { padding: 60px 0 40px; }
    .v2-main-title { font-size: 36px; }
    
    .v2-nav-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        position: static;
    }
    .v2-search .search-input-wrapper { width: 100%; }

    /* Single Article Headers */
    .v2-featured-img { border-radius: 20px; margin-bottom: 40px; }
    .v2-toc-container { padding: 20px; }
    
    /* Footer & Site Branding */
    .footer-split-v2 { flex-direction: column; gap: 40px; }
    .logo { font-size: 20px; }

    /* Header Nav */
    .main-navigation { display: none; } /* Hide desktop nav on mobile */
    .mobile-menu-toggle { display: flex; } /* Ensure hamburger is visible */

    /* Lead Capture Sidebar Form */
    .direct-pdf-widget { padding: 20px; border-radius: 15px; }
}

.single-v2-page {
    background-color: #fff;
    padding-bottom: 100px;
}

.v2-article-container {
    max-width: 1300px;
    margin: 0 auto;
}

.v2-article-header {
    padding: 100px 0 60px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 60px;
}

@media (max-width: 480px) {
    .v2-article-title { font-size: 28px; }
    .lounge-glass-box { padding: 40px 20px; }
    .lounge-title { font-size: 32px; }
    .btn-premium-send { padding: 18px 40px; width: 100%; }
}

/* ============================================================
   SEO CAPABILITIES SECTION (GRID + CONTENT)
   ============================================================ */

.seo-capabilities-section {
    padding: 140px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Background Decoration */
.seo-capabilities-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.cap-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: stretch; /* Stretch both columns to same height */
    position: relative;
    z-index: 1;
}

/* Left side: Premium Feature Grid */
.cap-left {
    display: flex;
}

.seo-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr); /* Ensure row height is equal */
    gap: 30px;
    width: 100%;
}

.seo-feature-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    padding: 50px 35px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.seo-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.seo-feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
    border-color: #e5e7eb;
}

.seo-feature-card:hover::before {
    opacity: 1;
}

.seo-card-icon {
    width: 70px;
    height: 70px;
    background: #f8faff;
    color: #6366f1;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.5s ease;
}

.seo-feature-card:hover .seo-card-icon {
    background: #6366f1;
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.seo-feature-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.seo-feature-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}

/* Right side: Content Area */
.cap-right {
    display: flex;
    flex-direction: column;
}

.cap-image-wrapper {
    flex: 1; /* Allow image wrapper to grow */
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.12);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.6s ease;
}

.cap-right:hover .cap-image-wrapper {
    transform: perspective(1000px) rotateY(0deg);
}

.cap-main-img {
    width: 100%;
    height: 100%; /* Fill the growing wrapper */
    object-fit: cover;
    display: block;
}

.cap-text-content {
    padding-left: 10px;
}

.cap-title {
    font-size: 38px;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.cap-desc {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 45px;
    max-width: 500px;
}

.cap-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 45px;
    background: #0047FF;
    background: linear-gradient(135deg, #0047FF 0%, #002db3 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0, 71, 255, 0.2);
}

.cap-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 71, 255, 0.3);
}

.cap-btn .arrow-right {
    transition: transform 0.4s ease;
}

.cap-btn:hover .arrow-right {
    transform: translateX(5px);
}

/* Premium Filter Finish */
.seo-feature-card h3 {
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1200px) {
    .cap-grid { gap: 60px; }
    .cap-title { font-size: 32px; }
}

@media (max-width: 1024px) {
    .cap-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }
    .cap-right {
        order: -1;
        text-align: center;
    }
    .cap-text-content {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .cap-main-img {
        height: 400px;
    }
    .cap-image-wrapper {
        transform: none;
    }
}

@media (max-width: 600px) {
    .seo-feature-grid {
        grid-template-columns: 1fr;
    }
    .cap-title {
        font-size: 28px;
    }
    .seo-feature-card {
        padding: 40px 25px;
    }
}

/* ============================================================
   PREMIUM BLOG SIDEBAR & MOBILE OPTIMIZATION
   ============================================================ */

.v2-layout-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-top: 60px;
}

.v2-main-content {
    flex: 1;
}

/* Sidebar Styling */
.v2-sidebar {
    width: 320px;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.widget-title {
    font-size: 16px;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f8f8f8;
}

.v2-sidebar-search {
    position: relative;
}

.v2-sidebar-search input {
    width: 100%;
    padding: 14px 20px;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.v2-sidebar-search input:focus {
    outline: none;
    background: #fff;
    border-color: #6366f1;
}

.v2-sidebar-search button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
}

.sidebar-filter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-filter-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-radius: 10px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sidebar-filter-link:hover {
    background: #f8f8ff;
    color: #6366f1;
}

.sidebar-filter-link.active {
    background: #6366f1;
    color: #fff !important;
}

.filter-count {
    font-size: 11px;
    opacity: 0.7;
    background: rgba(0,0,0,0.05);
    padding: 2px 8px;
    border-radius: 6px;
}

.sidebar-filter-link.active .filter-count {
    background: rgba(255,255,255,0.2);
}

.sidebar-cta-widget {
    background: #111;
    color: #fff;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
}

.sidebar-cta-widget h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
}

.sidebar-cta-widget p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 25px;
    line-height: 1.6;
}

.sidebar-cta-btn {
    display: inline-block;
    padding: 14px 25px;
    background: #6366f1;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sidebar-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4);
}

/* SEO Optimized Post Structure */
.v2-grid-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.v2-grid-card:hover {
    transform: translateY(-10px);
}

/* Mobile Responsiveness Improvements */
@media (max-width: 1024px) {
    .v2-layout-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .v2-sidebar {
        width: 100%;
        position: static;
        order: -1; 
    }
    
    .v2-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .v2-mobile-search {
        display: block;
        width: 100%;
    }
    
    .v2-mobile-search input {
        width: 100%;
        padding: 15px 25px;
        border-radius: 100px;
        border: 1px solid #eee;
        background: #f8f8f8;
    }
    
    .search-widget {
        display: none; 
    }

    .featured-image-wrapper {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 768px) {
    .blog-v2-header { padding: 60px 0 40px; }
    .v2-main-title { font-size: 32px; letter-spacing: -1px; }
    .v2-post-grid { grid-template-columns: 1fr; }
    .featured-title { font-size: 24px; line-height: 1.2; }
    .featured-overlay { padding: 25px; flex-direction: column; align-items: flex-start; gap: 20px; }
    .featured-arrow { display: none; }
}

/* Video Showcase Section (Light Theme Overhaul) */
.video-showcase-section {
    padding: 80px 0;
    background: #f5f5f7;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.video-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.video-player-wrapper {
    position: relative;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    background: #f0f0f0;
    cursor: pointer;
}

.video-overlay-cover {
    position: relative;
    padding-top: 56.25%;
}

.video-overlay-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.video-player-wrapper:hover .video-overlay-cover img {
    transform: scale(1.05);
}

.play-trigger-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.video-player-wrapper:hover .play-trigger-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: #ffffff;
}

/* Right Content (Light Theme) */
.ml-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 800;
    color: #111111;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.en-desc {
    font-size: clamp(15px, 1vw, 17px);
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Social Proof Badge */
.video-social-proof {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-stack img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #f5f5f7;
    margin-left: -15px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.avatar-stack img:first-child {
    margin-left: 0;
}

.rating-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stars {
    color: #f5b02b;
    font-size: 18px;
    letter-spacing: 1px;
}

.rating-value {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #666;
}

/* Premium Video Popup Modal */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.video-modal-inner {
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-overlay.active .video-modal-inner {
    transform: scale(1);
}

.close-video-modal {
    position: absolute;
    top: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.video-modal-inner iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile Styling */
@media (max-width: 1024px) {
    .video-showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .video-showcase-section {
        padding: 60px 20px;
    }
    .video-player-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .ml-title { font-size: 26px; }
    .video-social-proof {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .video-modal-inner { width: 95%; aspect-ratio: 16/9; }
    .close-video-modal { top: 20px; right: 20px; width: 40px; height: 40px; }
}
