/* Design tokens are defined in design-system.css (loaded first) These aliases keep backwards compat with any inline usage in older code. */
:root {
    --primary-color: #491084;
    --secondary-color: #b35cfe;
    --gradient-start: #510f91;
    --gradient-end: #0a46a1;
    --primary-purple: #491084;
    --text-white: #ffffff;
    --text-grey: #cccccc;
    --accent-line: rgba(255, 255, 255, 0.5);
    --accent-purple: #7c43bd;
    --bright-purple: #d500f9;
    --bg-light: #fdfbff;
    --text-dark: #2c2c2c;
    --text-light: #ffffff;
    --input-bg: rgba(255, 255, 255, 0.1);
    --input-border: rgba(255, 255, 255, 0.3);
    --border-color: #eeeeee;
    --transition: all 0.3s ease;
    --font-heading: Inter, sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Base resets (must come after design-system.css tokens) */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

.mobile-logo img {
    width: 100px;
    height: auto;
}

body {
    font-family: 'Inter', sans-serif;
    color: #171616;
    background-color: #ffffff;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Headings use Outfit  design-system sets scale, main.css adds text-transform */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    text-transform: uppercase;
}


/* Legacy section scroll-margin IDs removed  page-about.php uses #ap-* IDs */




.white {
    color: #FFFFFF !important;
}

.gradient-text {
    background: linear-gradient(90deg, #510F91 0%, #0A46A1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.section-padding {
    padding: 72px 40px;
}

/* Mobile reduction handled in smarter-cities block below */


.navbar {
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    z-index: 9999;
    background-color: #8800ff;
    display: flex;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    width: auto;
    min-width: unset;
}

.navbar-logo {
    width: auto;
    height: 48px;
    max-width: 140px;
    object-fit: contain;
    display: block;
    position: static;
}


.nav-link {
    font-weight: 500;
    margin: 0px 15px;
    position: relative;
    color: rgb(255, 255, 255) !important;
}

.nav-link::after {
    content: "";
    /* position: absolute; */
    width: 0px;
    height: 2px;
    bottom: 0px;
    left: 0px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

/* .nav-link:hover::after { width: 100%; }  disabled */

/* Animation Container */
.animate {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
}

/* Slide In effect */
@keyframes slideIn {
    0% {
        transform: translateY(1rem);
        opacity: 0;
    }

    100% {
        transform: translateY(0rem);
        opacity: 1;
    }
}

.slideIn {
    -webkit-animation-name: slideIn;
    animation-name: slideIn;
}

/* ===== MAIN MENU ===== */
.main-menu {
    display: flex;
    gap: 48px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.main-menu>li {
    position: relative;
    text-transform: uppercase;
}

.main-menu a {
    text-decoration: none;
    font-weight: 700;
    color: #ffffff;
    padding: 0;
    display: block;
    border-bottom: none;
    font-size: 14px;
    letter-spacing: 0.8px;
    font-family: Inter, sans-serif;
}

.main-menu>li>a {
    position: relative;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.8px;
    transition: color 0.25s ease;
}

.main-menu>li>a:hover,
.main-menu>li>a:focus {
    color: rgba(255, 255, 255, 0.75);
}


/* ===== LINK WRAPPER (nav_links flip animation) ===== */
.nav_links {
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 1.6em;
    line-height: 1.6em;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.8px;
    font-family: Inter, sans-serif;
}

/* ================= TEXT BASE ================= */
.nav_links .text-xs {
    display: block;
    transition: transform 0.45s cubic-bezier(0.645, 0.045, 0.355, 1),
        opacity 0.45s cubic-bezier(0.645, 0.045, 0.355, 1);
    will-change: transform;
}

/* TOP TEXT (VISIBLE) */
.nav_links .is-1 {
    transform: translateY(0%);
    opacity: 1;
}

/* BOTTOM TEXT (HIDDEN BELOW) */
.nav_links .is-2 {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(150%);
    opacity: 1;
}

/* ================= HOVER EFFECT ================= */
.nav_links:hover .is-1 {
    transform: translateY(-150%);
    opacity: 0;
}

.nav_links:hover .is-2 {
    transform: translateY(0%);
    opacity: 1;
}

.nav_links.active .is-1 {
    transform: translateY(-150%);
    opacity: 0;
}

.nav_links.active .is-2 {
    transform: translateY(0%);
}

/* Override Bootstrap  remove justify-content:center !important */
.justify-content-center {

        justify-content: center !important;

}


/* Desktop nav: fixed */
@media (min-width: 992px) {
    #mainNav {
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        z-index: 9999;
        backdrop-filter: blur(6px);
    }
}

/* =============================================================
   MOBILE MENU   matches samarthsec.com production
   Active: â‰¤991px  |  Hidden: â‰¥992px
============================================================= */
.mobile-menu-wrapper { display: none; }

@media (max-width: 991px) {

    /* Hide Bootstrap desktop nav */
    #mainNav {display: none !important;}

    /* Fixed purple bar */
    .mobile-menu-wrapper {
        display: block;
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        background: #8a00ff;
        z-index: 99999;
    }

    /* Logo + hamburger row */
    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* padding: 0px 32px 0px 18px; */
        background: #8a00ff;
        border-bottom: 1px solid rgba(255,255,255,0.10);
        min-height: 71px;
    }

    .mobile-logo img,
    .mobile-logo .custom-logo {
        height: 60px;
        width: auto;
        display: block;
    }

    /* Strip WP custom-logo-link padding */
    .mobile-logo .custom-logo-link {
        display: block;
        line-height: 0;
    }

    /* Hamburger button */
    .mobile-toggle {
        font-size: 26px;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
        padding: 4px 2px 4px 12px;
        line-height: 1;
        flex-shrink: 0;
    }

    /* Slide-down panel */
    .mobile-menu {
        max-height: 0;
        overflow: hidden;
        overflow-y: auto;
        transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1);
        background: #7f1dff;
    }
    .mobile-menu.open { max-height: calc(100vh - 64px); }

    /* Top-level list */
    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    /* Every leaf link */
    .mobile-menu-list > li > a {

        display: block;
        padding: 13px 20px;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .5px;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.09);
        transition: background .15s;
    }
    .mobile-menu-list > li > a:hover {
        background: rgba(255,255,255,0.08);
    }

    /* "Get in Touch" CTA */
    .mobile-cta {
        /* display: flex; */
        background: rgba(255,255,255,0.12);
        text-align: center;
        margin: 14px 16px 18px;
        /* padding: 12px 20px; */
        border-radius: 50px;
        color: #fff !important;
        /* font-weight: 700; */
        /* font-size: 14px; */
        /* text-transform: uppercase; */
        /* letter-spacing: .5px; */
        /* text-decoration: none; */
        border: 1.5px solid rgba(255,255,255,0.30);
        /* transition: background .2s; */
        width: 82%;
    }
    .mobile-cta:hover { background: rgba(255,255,255,0.22); }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open { overflow: hidden; }



.btn-custom {
    background-color: rgb(106, 0, 199);
    color: rgb(255, 255, 255);
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;
}

.btn-custom:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(138, 0, 255);
    transform: translateY(-2px);
}

/* ================= HERO BASE ================= */
#hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 46px 80px;
}

/* .hero-bg-color removed  no element uses this class */


/* ================= HERO IMAGE ================= */
.hero-image {
    position: absolute;
    bottom: -10%;
    top: 0px;
    left: 0px;
    width: 100%;
    max-width: 100%;
    z-index: 1;
    opacity: 0;
    filter: none;
    transform: translateY(40px) scale(0.98);
    animation: heroImageIn 1.2s ease forwards;
    animation-delay: 0.6s;
}

.img {
    z-index: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0%;
}


/* floating feel */
@keyframes heroImageIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ================= TEXT ================= */
.hero-title {
    font-family: Inter, sans-serif;
    font-size: 60px;
    line-height: 1.15;
    color: #ffffff;
    font-weight: 700;
    overflow: hidden;
    text-transform: capitalize;
}

.hero-subtitle {
    font-family: Inter, sans-serif;
    max-width: 560px;
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
    color: #ffffff;
}


/* ================= LINE REVEAL ================= */
.anim-line {
    display: inline-block;
    overflow: hidden;
}

.anim-line::after {
    content: "";
    display: block;
    height: 100%;
}

.anim-line {
    transform: translateY(120%);
    animation: lineReveal 0.9s cubic-bezier(.19, 1, .22, 1) forwards;
    animation-delay: var(--delay);
}

@keyframes lineReveal {
    to {
        transform: translateY(0);
    }
}

/* ================= FADE UP ================= */
.anim-fade {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.9s ease forwards;
    animation-delay: var(--delay);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= HERO RESPONSIVE ================= */

/* Mobile: remove min-height to prevent white gap */
@media (max-width: 480px) {
    #hero-section {
        min-height: auto;
        height: auto;
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 14px;
        padding-left: 2%;
    }

    .hero-image {
        position: absolute;
        width: 100%;
        bottom: 0;
        margin-top: 18px;
    }
}

/* Small tablets */
@media (min-width: 481px) and (max-width: 768px) {
    #hero-section {
        min-height: auto;
        height: auto;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}

/* iPad/Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    #hero-section {
        padding: 112px 0 46px;
        min-height: auto;
    }

    .hero-image {
        position: absolute;
        top: 0;
        width: 100%;
        right: auto;
        bottom: auto;
        margin-top: 40px;
        transform: none;
    }

    .hero-title {
        font-size: 42px!important;
    }

    .hero-subtitle {
        font-size: 22px;
    }
}


.section-title {
    font-family: Inter, sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 300;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-desc {
    font-family: Inter, sans-serif;
    font-size: 18px;
    line-height: 1.75;
    color: var(--primary-color);
    padding: 0;
    margin-top: -30px;
    text-align: right;
}

#design-future {
    /* border-bottom: 1px solid #f0ecfa; */
}

/* On mobile, right-align desc reverts to left */
@media (max-width: 768px) {
    .section-desc {
        text-align: left;
    }

    .section-title {
        font-size: clamp(28px, 8vw, 40px);
    }
}

.design-img {
    width: 100%;
    object-fit: cover;
    height: 320px;
    /* border-radius: 10px; */
    display: block;
}

#smarter-cities {
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    padding: 60px 20px 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 620px;
}

/* SVG graphic wrapper  centred, constrains both SVG arcs */
.smarter-graphic-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 311px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0px !important;
    margin-bottom: 80px;
    align-self: unset !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Large screen: match image spacing */
@media (min-width: 1025px) {
    #smarter-cities {
        padding: 80px 20px 100px;
        min-height: 680px;
    }

    .smarter-graphic-wrapper {
        height: 360px;
        max-width: 600px;
        margin-bottom: 60px !important;
    }

    .smarter-title {
        font-size: 40px;
        margin-bottom: 22px;
    }

    .smarter-desc {
        font-size: 16px;
        line-height: 1.8;
        max-width: 720px;
        margin-bottom: 40px;
    }

    .btn-pill-white {
        padding: 14px 44px;
        font-size: 15px;
    }
}

/* Mobile overrides */
@media (max-width: 320px) {
    .smarter-graphic-wrapper {
        height: 200px !important;
        margin-bottom: 24px !important;
    }

    #smarter-cities {
        padding: 40px 20px 48px !important;
        min-height: auto !important;
    }

    #design-future {
        padding-top: 36px !important;
        padding-bottom: 75px !important;
        padding-left: 13px !important;
        padding-right: 27px !important;
    }
}

@media (min-width: 321px) and (max-width: 480px) {
    .smarter-graphic-wrapper {
        height: 220px !important;
        margin-bottom: 28px !important;
    }

    #smarter-cities {
        padding: 44px 20px 56px !important;
        min-height: auto !important;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .smarter-graphic-wrapper {
        height: 250px;
        margin-bottom: 36px !important;
    }

    #smarter-cities {
        padding: 52px 24px 68px !important;
        min-height: auto !important;
    }

    .section-padding {
        padding: 44px 0 !important;
    }

    #design-future {
        padding-top: 44px !important;
        padding-bottom: 84px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .smarter-graphic-wrapper {
        height: 290px;
        margin-bottom: 56px !important;
    }

    #smarter-cities {
        padding: 64px 32px 80px;
        min-height: auto;
    }
}

.merged-lines {
    position: relative;
    width: 100%;
    height: 100%;
}

/* SVG arc lines — interlocked "S" shape, close but not overlapping */
.line-1,
.line-2 {
    position: absolute;
    will-change: transform, opacity;
    transition: none;
    max-width: 100%;
    height: auto;
}

/* line-1: top-left arc */
.line-1 {
    top: 15%;
    left: 6%;
    width: 52%;
}

/* line-2: bottom-right arc */
.line-2 {
    bottom: 15%;
    right: 6%;
    width: 52%;
}

@media (min-width: 1369px) {
    .line-1 {
        top: 8%;
        left: 0%;
        width: 50%;
        transform: none;
    }

    .line-2 {
        bottom: 18%;
        right: 15%;
        left: auto;
        width: 50%;
        transform: none;
    }
}



/* Text block: centred below graphic */
.text-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 760px;
    margin: -10px auto 0;
    text-align: center;
}

.smarter-title {
    font-size: 38px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}

.smarter-desc {
    font-family: Inter, sans-serif;
    color: var(--heading-text) !important;
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.btn-pill-white {
    display: inline-block;
    background: #ffffff;
    color: var(--primary-color);
    padding: 13px 40px;
    border-radius: 50px;
    font-weight: 400;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: Inter, sans-serif;
}

.btn-pill-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    color: var(--primary-color);
}


#products-section {
    background: #fff;
    padding: 72px 0px 80px 0px;
}

/* Header */
.ps-header {
    margin-bottom: 48px;
    text-align: center;
}

.ps-label {
    display: block;
    font-family: Inter, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 12px;
}

.ps-title {
    font-weight: 300;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 16px;
}

@media (min-width: 1024px) and (max-width: 1368px) {
    .ps-title {
        font-size: clamp(28px, 4vw, 40px);
    }
}

.ps-desc {
    font-family: Inter, sans-serif;
    font-size: 18px;
    color: #555;
    line-height: 1.75;
    max-width: 895px;
    margin: 0 auto;
    text-align: center;
}

/* Cards row  3-up, 2nd row 2 centered */
.ps-cards-row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

/* Card wrapper */
.ps-card {
    background: rgb(225, 208, 231);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* animation */
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(73, 16, 132, .06);
    transition:
        transform 0.35s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.35s cubic-bezier(.22, 1, .36, 1);
    will-change: transform, box-shadow;
}

.ps-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(73, 16, 132, .18);
}

/* Image */
.ps-card-img {
    width: 100%;
    background-color: #debcf5;
    padding: 7px;
    border-radius: 4px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(204, 204, 204);
    overflow: hidden;
    transition: transform 0.5s;
}

.ps-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    transform: scale(1);
    transition: transform 0.55s cubic-bezier(.22, 1, .36, 1);
}

.ps-card:hover .ps-card-img img {
    transform: scale(1.07);
}

/* Card body */
.ps-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

/* .ps-card-body desktop padding intentionally unset */

.ps-card-title {
    font-weight: 300;
    text-transform: uppercase;
    color: #491084 !important;
    margin-bottom: 10px;
    line-height: 1.4;
}

.ps-card-desc {
    font-family: Inter, sans-serif;
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
    color: var(--primary-color) !important;
}

/* Pill button */
.ps-card-btn {
    display: inline-block;
    background: #3a0d8c;
    color: #fff !important;
    font-family: Inter, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    padding: 11px 32px;
    border-radius: 50px;
    text-decoration: none !important;
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(58, 13, 140, .25);
    transition:
        background 0.25s ease,
        transform 0.25s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.25s ease;
    white-space: nowrap;
}

.ps-card-btn:hover {
    color: #fff !important;
}

/* Mobile */
@media (max-width: 480px) {
    .ps-card-img {
        height: 180px;
    }
}

#stats-section {
    background-color: var(--primary-color);
    color: rgb(255, 255, 255);
    padding: 64px 35px;
}

.stat-item {
    position: relative;
    padding-left: 18px;
}

.stat-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.stat-number {
    font-family: Inter, sans-serif;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-number::after {
    content: "+";
    font-size: 0.7em;
}

.stat-label {
    font-family: Inter, sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}

.clients-title {
    font-family: Inter, sans-serif;
    font-size: clamp(22px, 3.5vw, 45px);
    font-weight: 300;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.clients-subtitle {
    font-family: Inter, sans-serif;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Slider container */
.logo-slider {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    background: #fff;
}

/* Moving track */
.logo-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: logo-scroll 35s linear infinite;
}

/* Pause animation on hover */
.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

/* Each logo wrapper */
.logo-col {
    flex: 0 0 auto;
    width: 180px;
    /* equal spacing */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo image */
.logo-item {
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;

    filter: grayscale(100%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

/* Hover effect */
.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Animation */
@keyframes logo-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


.col-4.col-md-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}



.get-in-touch {
    display: flex;
    flex-direction: column;
}

.contact-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    clip-path: inset(0px 100% 0px 0px);
    transition: clip-path 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.contact-image-wrapper.active {
    clip-path: inset(0px);
}

.contact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.contact-image-wrapper:hover .contact-img {
    transform: scale(1.05);
}

/* Contact page section header  centered title + subtitle on new line */
.contact-section-header {
    text-align: center;
    padding: 56px 1rem 40px;
}

.contact-section-header h2 {
    display: block;
    margin-bottom: 12px;
}


.contact-section-subtitle {
    display: block;
    font-size: 17px;
    color: var(--primary-color);
    line-height: 1.6;
    margin: 0;
}

.contact-title {
    font-family: Inter, sans-serif;
    font-size: clamp(26px, 4vw, 50px);
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    background: linear-gradient(90deg, #510F91 0%, #0A46A1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.contact-desc {
    font-family: Inter, sans-serif;
    font-size: 18px;
    color: #491084;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* ================================================================
   FOOTER   pixel-perfect match to samarthsec.com
   All values controlled via Customizer; layout is 4-column grid
================================================================ */

/* ================================================================
   FOOTER    pixel-perfect: samarthsec.com
   4-column grid: Logo | Get in Touch | Quick Links | Social+Tagline
================================================================ */

#site-footer {
    background: #491084;
    /* overridden by Customizer --footer-bg */
    background: var(--footer-bg, #491084);
    padding: 56px 40px 0;
    color: #e0d4ff;
    font-family: Inter, sans-serif;
}

/* 4-column grid matching screenshot */
.footer-grid {
    display: grid;
    grid-template-columns: 170px 1fr 180px 1fr;
    gap: 40px 56px;
    align-items: start;
    padding-bottom: 52px;
}

/*  COL 1: Logo  */
.footer-col-logo {
    padding-top: 8px;
    margin-left: -48px;
}

.footer-logo-wrap {
    display: inline-block;
    line-height: 0;
}

.footer-logo-wrap img,
.footer-logo-wrap .custom-logo {
    width: 130px;
    height: auto;
    display: block;
}

/* WP wraps logo in an <a>  strip its padding */
.footer-logo-wrap .custom-logo-link {
    display: block;
    line-height: 0;
}

/*  Column headings  */
.footer-col-heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #c084fc;
    /* lilac  matches screenshot heading color */
    margin: 0 0 22px;
    padding: 0;
    font-family: Inter, sans-serif;
}

/*  COL 2: Contact info rows  */
.footer-info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.footer-info-row:last-child {
    margin-bottom: 0;
}

.footer-info-icon {
    flex-shrink: 0;
    width: 20px;
    margin-top: 2px;
    display: flex;
    align-items: flex-start;
}

.footer-info-icon-top {
    margin-top: 3px;
}

.footer-info-icon img {
    width: 18px;
    height: 18px;
    display: block;
    /* Make icons appear white on purple bg */
    filter: brightness(0) invert(1);
    opacity: 0.75;
}

.footer-info-text {
    color: #ddd6fe;
    font-size: 14.5px;
    line-height: 1.65;
}

.footer-info-text a {
    color: #ddd6fe;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-info-text a:hover {
    color: #fff;
    text-decoration: underline;
}

/*  COL 3: Quick Links  */
.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav-list li {
    margin-bottom: 12px;
}

.footer-nav-list li:last-child {
    margin-bottom: 0;
}

.footer-nav-list a {
    color: #ddd6fe;
    text-decoration: none;
    font-size: 14.5px;
    line-height: 1.4;
    transition: color 0.2s;
    display: inline-block;
}

.footer-nav-list a:hover {
    color: #fff;
}

/*  COL 4: Social + Tagline  */
.footer-col-social {
    padding-top: 0;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    transition: background 0.25s, transform 0.2s;
    text-decoration: none;
}

.footer-social-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.footer-social-btn img {
    width: 16px;
    height: 16px;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-tagline {
    color: #c4b5fd;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    max-width: 320px;
}

/*  Bottom copyright bar  */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0;
    text-align: center;
}

.footer-copyright-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12.5px;
    margin: 0;
    letter-spacing: 0.2px;
}


/* Responsive: Large tablet  1100px */
@media only screen and (min-width: 1030px) and (max-width: 1366px) {
    .footer-grid {
        grid-template-columns: 150px 1fr 160px 220px;
        gap: 32px 40px;
    }
}

/* Responsive: Tablet (769px1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 150px 1fr 1fr;
        gap: 36px 32px;
    }

    .footer-col-social {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        gap: 32px;
        padding: 24px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-social-icons {
        margin-bottom: 0;
    }

    .footer-tagline {
        max-width: none;
    }
}

/* Responsive: Mobile (480px) */
@media (max-width: 480px) {
    #site-footer {
        padding: 48px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-col-logo {
        text-align: left;
    }

    .footer-col-social {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-tagline {
        max-width: 100%;
    }
}

@keyframes glowingTrail {
    0% {
        filter: drop-shadow(rgba(255, 255, 255, 0) 0px 0px 2px) drop-shadow(rgba(255, 255, 255, 0) 0px 0px 4px);
        opacity: 0.7;
        transform: translateX(0px) translateY(0px);
    }

    40% {
        filter: drop-shadow(rgba(255, 255, 255, 0.3) 0px 0px 6px) drop-shadow(rgba(255, 255, 255, 0.5) 0px 0px 18px);
        opacity: 1;
    }

    70% {
        filter: drop-shadow(rgba(255, 255, 255, 0.55) 0px 0px 12px) drop-shadow(rgba(255, 255, 255, 0.7) 0px 0px 25px);
        transform: translateX(8px) translateY(-8px);
    }

    100% {
        filter: drop-shadow(rgba(255, 255, 255, 0.15) 0px 0px 3px) drop-shadow(rgba(255, 255, 255, 0.35) 0px 0px 10px);
        opacity: 0.8;
        transform: translateX(0px) translateY(0px);
    }
}

@keyframes glowingTrailReverse {
    0% {
        filter: drop-shadow(rgba(255, 255, 255, 0) 0px 0px 2px) drop-shadow(rgba(255, 255, 255, 0) 0px 0px 4px);
        opacity: 0.7;
        transform: translateX(0px) translateY(0px);
    }

    40% {
        filter: drop-shadow(rgba(255, 255, 255, 0.3) 0px 0px 6px) drop-shadow(rgba(255, 255, 255, 0.5) 0px 0px 18px);
        opacity: 1;
    }

    80% {
        filter: drop-shadow(rgba(255, 255, 255, 0.7) 0px 0px 14px) drop-shadow(rgb(255, 255, 255) 0px 0px 30px);
        transform: translateX(-10px) translateY(10px);
    }

    100% {
        filter: drop-shadow(rgba(255, 255, 255, 0.15) 0px 0px 3px) drop-shadow(rgba(255, 255, 255, 0.35) 0px 0px 10px);
        opacity: 0.8;
    }
}

.footer-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.footer-animate.visible {
    opacity: 1;
    transform: translateY(0px);
}

.line-1.is-animated {
    animation: 6s ease-in-out 0s infinite alternate none running glowingTrail;
}

.line-2.is-animated {
    animation: 7s ease-in-out 0.6s infinite alternate none running glowingTrailReverse;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: 0.8s ease-out 0s 1 normal forwards running fadeInUp;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes slowZoom {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.anim-line,
.anim-fade {
    display: inline-block;
    opacity: 0;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-play-state: running;
    animation-name: fadeUp;
    animation-timeline: auto;
    animation-range: normal;
    animation-delay: var(--delay);
}

.reveal-text {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.active {
    opacity: 1;
    transform: translateY(0px);
}

.reveal-logo {
    transform: translateY(30px);
    transition: 0.6s;
    filter: grayscale(100%);
    opacity: 0.6;
}

.reveal-logo.active {
    opacity: 1;
    transform: translateY(0px);
    filter: grayscale(0%);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}


/* --- CONTAINER & STICKY SETTINGS --- */
#section-subnav {
    max-width: 100%;
    /* Changed to 100% so it spans full width when sticky */
    margin: 0px auto;
    padding: 0 20px;
    /* Adjusted padding */

    /* STICKY MAGIC */
    position: sticky;
    top: 50px;
    z-index: 1000;
    /* Ensures it stays above other content */
    background-color: #ffffff;
    /* Must have a background to hide content behind it */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Optional: adds subtle shadow when sticking */
}

.subnav-container {
    max-width: 1200px;
    /* adjust if needed */
    margin: 0 auto;
    /* CENTER THE WHOLE BLOCK */
    padding: 0 16px;
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    /* CENTER CONTENT */
}

/* --- LINKS --- */
.subnav-links {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    /* Allows horizontal scroll on mid-sized screens */
    padding-bottom: 12px;
    scrollbar-width: none;
    transition: all 0.35s ease-in-out;
}

.subnav-links::-webkit-scrollbar {
    display: none;
}

.subnav-item {
    font-size: 16px;
    white-space: nowrap;
    font-weight: 500;
    color: rgb(23, 22, 22);
    text-decoration: none;
    /* Removed underline from links */
    cursor: pointer;
    transition: 0.3s;
    padding: 10px 0;
    /* Added hit area */
}

.subnav-item.active {
    color: rgb(73, 16, 132);
    font-weight: 700;
}

/* --- INDICATOR LINE --- */
.subnav-line {
    position: absolute;
    bottom: 0px;
    height: 2px;
    width: 100%;
    background: rgb(230, 230, 230);
}

.subnav-indicator {
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 4px;
    width: 0px;
    /* JS will set this */
    background: rgb(73, 16, 132);
    transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), width 0.3s;
    border-radius: 10px 10px 0 0;
}

/* --- HAMBURGER --- */
.subnav-hamburger {
    width: 30px;
    height: 20px;
    position: absolute;
    right: 0px;
    top: 20px;
    /* Aligned with padding */
    display: none;
    /* Hidden on Desktop */
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.subnav-hamburger span {
    width: 100%;
    height: 3px;
    background: rgb(73, 16, 132);
    border-radius: 4px;
    transition: 0.3s;
}

/* --- MOBILE RESPONSIVENESS (< 1024px) --- */
@media (max-width: 1024px) {
    .subnav-hamburger {
        display: flex;
        /* Show hamburger on mobile */
    }

    .subnav-links {
        display: block;
        /* Stack items */
        position: absolute;
        top: 100%;
        /* Push below header */
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        gap: 0;

        /* Collapsed State */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        padding-bottom: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    /* Open State (Toggled via JS) */
    .subnav-links.mobile-open {
        max-height: 400px;
        /* Allow expansion */
        opacity: 1;
        padding: 20px;
    }

    .subnav-item {
        display: block;
        padding: 15px 0;
        margin-left: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    /* Hide the sliding indicator on mobile as it's tricky with vertical lists */
    .subnav-indicator,
    .subnav-line {
        display: none;
    }
}


/* 
   ABOUT SECTION
*/
#section-about {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 20px;
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
}

.about-image {
    flex: 1 1 0%;
    width: 100%;
}

.image-mask {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 0;
    position: relative;
}

.image-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder shown when no image is uploaded yet */
.about-img-placeholder,
.work-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8d8ff 0%, #c9a8f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .5;
}

/* Empty award card slot */
.award-img--empty {
    width: 120px;
    height: 120px;
    background: #e8d8ff;
    border-radius: 50%;
    margin: 0 auto 12px;
    opacity: .4;
}

.about-content {
    flex: 1 1 0%;
    padding-top: 10px;
}

/* "ABOUT US" label  small uppercase h3 */
.about-label {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #491084;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* "Protecting What Makes You Smile" */
.about-heading {
    font-size: 32px;
    font-weight: 300;
    color: #491084;
    margin-bottom: 28px;
    line-height: 1.15;
    text-transform: none;
}

.about-text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: #491084;
}

/* Legacy aliases kept for other pages */
.section-label {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.1;
}

#section-timeline {
    max-width: 1440px;
    margin: 0 auto;
    background: rgb(73, 16, 132);
    color: rgb(255, 255, 255);
    position: relative;
    overflow: hidden;
    font-family: Inter, sans-serif;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.timeline-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.timeline-nav {
    display: flex;
    gap: 16px;
}

.nav-arrow {
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1.5px solid rgba(255, 255, 255, .5);
    border-radius: 4px;
    transition: background .2s;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, .15);
}


.nav-arrow svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
}


/* Large watermark year  right side, behind everything */
.big-number {
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
    font-size: clamp(180px, 22vw, 380px);
    color: rgba(255, 255, 255, .08);
    line-height: 1;
    z-index: 1;
    pointer-events: none;
    font-weight: 900;
    letter-spacing: -0.05em;
    transition: .5s ease;
    user-select: none;
}

/* Timeline line + dot row */
.timeline-graphic {
    --marker-position: 5%;
    position: relative;
    height: 60px;
    z-index: 5;
    margin-bottom: 48px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, .3);
    transform: translateY(-50%);
    z-index: 4;
}

.active-point-container {
    position: absolute;
    left: var(--marker-position);
    top: 0;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    transition: left .4s ease;
}

.year-label {
    background: #fff;
    color: #4a109c;
    padding: 5px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    white-space: nowrap;
}

.dot-main {
    width: 22px;
    height: 22px;
    background: #4a109c;
    border: 3px solid #fff;
    border-radius: 50%;
    position: relative;
}

.dot-main::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
}

/* Slide content: image circle LEFT, text RIGHT */
.slide-content-wrapper {
    position: relative;
    z-index: 6;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
    transition: opacity .3s ease;
    max-width: 680px;
}

.slide-content-wrapper.fading-out {
    opacity: 0;
}

.image-circle-container {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, .2);
    flex-shrink: 0;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-circle-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.timeline-content {
    padding-top: 20px;
    flex: 1;
}

.timeline-content p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, .9);
    margin: 0;
}


/* 
   VISION & MISSION
 */
#section-vision-mission {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 20px;
}

.vm-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vm-block {
    flex: 1;
    padding: 40px 0;
}

.vm-divider {
    width: 100%;
    height: 1px;
    background: #e0d0f0;
}

.vm-heading {
    font-size: 36px;
    font-weight: 300;
    background: linear-gradient(90deg, #510F91 0%, #0A46A1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vm-block p {
    font-size: 16px;
    line-height: 1.75;
    color: #491084;
    margin-bottom: 14px;
}

.vm-block p:last-child {
    margin-bottom: 0;
}

@media only screen and (min-width: 1030px) and (max-width: 1366px) {
    #section-vision-mission {
        padding: 80px 122px;
    }

    .vm-container {
        flex-direction: row;
        gap: 0;
        align-items: stretch;
    }

    .vm-block {
        padding: 20px 60px 20px 0;
    }

    .vm-block:last-child {
        padding: 20px 0 20px 60px;
    }

    .vm-divider {
        width: 1px;
        height: auto;
        min-height: 200px;
        flex-shrink: 0;
    }

    .vm-heading {
        font-size: 50px;
    }
}

#section-awards {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

/* Ensure carousel container is visible before Owl initialises */
.awards-grid,
.testimonials-grid {
    display: block;
    min-height: 200px;
}

/* Before Owl initialises  show items as a flex row */
.awards-grid:not(.owl-loaded) {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 24px;
}

.testimonials-grid:not(.owl-loaded) {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 24px;
}

.awards-grid:not(.owl-loaded) .award-card,
.testimonials-grid:not(.owl-loaded) .testi-card {
    flex: 0 0 260px;
}

.section-header {
    margin-bottom: 40px;
    position: relative;
}

.section-header h2 {
    font-size: 50px;
    margin-bottom: 10px;
    font-weight: 300;
}

.subtitle {
    font-size: 18px;
    color: rgb(73, 16, 132);
}

.nav-arrows {
    position: absolute;
    top: -16px;
    right: 0px;
}

.arrow-group {
    display: flex;
    gap: 16px;
    cursor: pointer;
}

.arrow-group img {
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.awards-grid {
    display: block;
}

.award-card {
    background: rgba(225, 208, 231, 0.85);
    padding: 20px;
    text-align: center;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.award-img {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
}

.award-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.award-card p {
    font-size: 16px;
    font-weight: 600;
    color: rgb(73, 16, 132);
    line-height: 1.4;
}

#section-testimonials {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

.testi-card {
    background: rgb(73, 16, 132);
    color: rgb(255, 255, 255);
    padding: 40px 30px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 12px;
}

.testi-card h3 {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
}

.testi-card .quote {
    font-size: 16px;
    line-height: 1.5;
    flex-grow: 1;
}

.testi-card .author strong {
    font-size: 16px;
}

.testi-card .author span {
    font-size: 14px;
    opacity: 0.9;
}

.testimonials-grid .owl-stage {
    display: flex;
}

.testimonials-grid .owl-item {
    display: flex;
}

.testimonials-grid .testi-card {
    height: 100%;
}

.testi-card {
    min-height: 380px;
}

/* 
   LEAD EXAMPLE & MENTOR CARD
 */
#mentor-card {
    max-width: 1440px;
    margin: 32px auto;
    padding: 0 21px;
}

#lead-example {
    max-width: 1440px;
    margin: 20px auto;
    padding: 0 21px;
}

.mentor-wrapper,
.lead-wrapper {
    background: rgb(217, 217, 217);
    border-radius: 16px;
    padding: 48px 0 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    min-height: 360px;
    overflow: hidden;
}

.mentor-left,
.lead-left {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 48px;
}

.mentor-right,
.lead-right {
    width: 45%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    align-self: stretch;
}

.mentor-right img,
.lead-right img {
    width: 100%;
    max-width: 470px;
    height: 340px;
    object-fit: contain;
    object-position: bottom right;
    display: block;
}

/* Lead tagline  large sentence */
.lead-tagline {
    font-size: 42px;
    font-weight: 300;
    color: #2d2da8;
    margin-bottom: 16px;
    line-height: 1.2;
    text-transform: none;
}

/* Lead name  h3 */
.lead-name {
    font-size: 22px;
    font-weight: 400;
    color: #2d2da8;
    margin-bottom: 4px;
    text-transform: none;
}

/* Lead role */
.lead-role {
    font-size: 16px;
    color: #444;
    margin-bottom: 0;
}

/* Lead bio text  2 column layout */
.lead-bio {
    margin-top: 32px;
    font-size: 15px;
    line-height: 1.75;
    color: #333;
    column-count: 2;
    column-gap: 48px;
}

/* Mentor name */
.mentor-name {
    font-size: 38px;
    font-weight: 300;
    color: #2d2da8;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Mentor subtitle  "IPS Retd. & Former DGP, Maharashtra" */
.mentor-subtitle {
    font-size: 20px;
    font-weight: 300;
    color: #2d2da8;
    margin-bottom: 8px;
    text-transform: none;
}

.mentor-role {
    font-size: 16px;
    color: #444;
}

/* Mobile */
@media (max-width: 768px) {

    .mentor-wrapper,
    .lead-wrapper {
        flex-direction: column;
        padding: 32px 24px 0;
        align-items: center;
        min-height: auto;
    }

    .mentor-left,
    .lead-left {
        width: 100%;
        text-align: center;
        padding-bottom: 24px;
    }

    .mentor-right,
    .lead-right {
        width: 100%;
        justify-content: center;
    }

    .mentor-right img,
    .lead-right img {
        max-width: 280px;
        height: 240px;
    }

    .lead-tagline {
        font-size: 28px;
    }

    .mentor-name {
        font-size: 28px;
    }

    .lead-bio {
        column-count: 1;
    }
}


.animated-block {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s, transform 0.8s;
}

.animated-block.visible {
    opacity: 1;
    transform: translateY(0px);
}

/*#section-team {
    max-width: 1440px;
    margin: 0px auto;
    padding: 0px 20px 60px;
}

.team-grid {
    display: block;
    margin-top: 40px;
}

.team-card {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.35s, box-shadow 0.35s;
}

.image-sweep {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.image-sweep img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.35s, transform 0.35s;
}

.owl-carousel .owl-item:hover .image-sweep img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    bottom: 0px;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(49, 15, 145, 0.9), transparent);
    color: rgb(255, 255, 255);
}

.team-overlay h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.team-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

.team-overlay .reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.35s, transform 0.35s;
}

.owl-carousel .owl-item:hover .team-overlay .reveal-text {
    opacity: 1;
    transform: translateY(0px);
}

.owl-carousel .owl-item:hover .team-card {
    box-shadow: rgba(73, 16, 132, 0.25) 0px 20px 50px;
    transform: translateY(-6px);
}

@media (hover: none) {
    .image-sweep img {
        filter: grayscale(0%);
        transform: none;
    }

    .team-overlay .reveal-text {
        opacity: 1;
        transform: none;
    }
}*/
/* Font base */


/* ================================
   LEADERSHIP TEAM  STATIC VERSION
   Matches Samarth site exactly
================================ */

/* Font consistency */
#section-team {
    font-family: 'Inter', sans-serif;
}

/* Container */
.team-container {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
}

/* Header */
.section-header {
    text-align: center;
    margin-bottom: 0px;
}

.section-header .subtitle {
    font-size: 15px;
    opacity: 0.7;
}

/* Static 2-card grid */
.team-grid-static {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Card */
.team-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #f3f3f3;
    transition: transform 0.45s cubic-bezier(.4, 0, .2, 1);
}

.team-card:hover {
    transform: translateY(-6px);

}

/* Image */
.image-sweep img {
    width: 100%;
    height: 558px;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.8s cubic-bezier(.4, 0, .2, 1);
}

.team-card:hover .image-sweep img {
    transform: scale(1.08);
}

/* Gradient overlay (exact style) */
.team-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(109, 40, 217, 0) 45%,
            rgba(109, 40, 217, 0.85) 100%);
    z-index: 1;
    transition: opacity 0.6s ease;
}

/* Text overlay */
.team-overlay {
    position: absolute;
    bottom: 22px;
    left: 24px;
    z-index: 2;
    color: #fff;
}

/* Reveal animation */
.team-overlay h3,
.team-overlay p {
    transform: translateY(14px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(.4, 0, .2, 1);
}

.team-card:hover .team-overlay h3 {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

.team-card:hover .team-overlay p {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.2s;
}

/* Typography */
.team-overlay h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.team-overlay p {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 400;
    /* opacity: 0.9; */
}

/* Responsive */
@media (max-width: 767px) {
    .team-grid-static {
        grid-template-columns: 1fr;
    }

    .image-sweep img {
        height: 360px;
    }
}



#section-work {
    max-width: 1440px;
    margin: 0px auto;
    padding: 60px 20px;
}

.work-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.work-image {
    flex: 1 1 0%;
}

.image-mask {
    overflow: hidden;
    border-radius: 18px;
}

.image-mask img {
    width: 100%;
    height: 100%;
    display: block;
    transform: scale(1);
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.work-image:hover .image-mask img {
    transform: scale(1.12);
}

.work-content {
    flex: 1 1 0%;
}

.work-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.work-content p {
    font-size: 18px;
    line-height: 1.6;
    color: rgb(73, 16, 132);
    margin-bottom: 24px;
}

.btn-work {
    display: inline-block;
    background: rgb(73, 16, 132);
    color: rgb(255, 255, 255);
    padding: 12px 30px;
    border-radius: 24px;
    border: 1px solid rgb(179, 92, 254);
    text-decoration: none;
    transition: 0.3s;
}

.btn-work:hover {
    background: rgb(95, 24, 178);
    transform: translateY(-2px);
}

@media (hover: none) {
    .image-mask img {
        transform: scale(1.08);
    }
}

.section-header {
    text-align: center;
    padding: 60px 1rem;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 750px;
    margin: 0px auto;
    color: rgb(73, 16, 132);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0px auto;
}




/* Legacy: keep product-detail-container working for other pages */
.product-detail-container {
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0px auto;
}

.product-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
    padding: 2rem 0px;
    border-bottom: 1px solid rgb(238, 238, 238);
    transition: background-color 0.3s;
}

.product-row:last-child {
    border-bottom: none;
    margin-bottom: 2rem;
}

.product-row:nth-child(2n) {
    flex-direction: row-reverse;
}

.product-image {
    flex: 1 1 0%;
    display: flex;
    justify-content: center;
}

.product-image img {
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(rgba(0, 0, 0, 0.2) 0px 10px 15px);
    transition: transform 0.5s;
}

.product-row:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    flex: 1 1 0%;
}

.product-info h3 {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 400;
    font-family: Inter, sans-serif;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 1rem;
    /* No text-align here  controlled by .pleft / .pright on the element */
}

.product-info p {
    color: #491084;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* wpautop-generated paragraphs inside content rows */
.row-text p {
    color: #491084;
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    /* text-align inherited from .pleft / .pright parent */
}

.row-text p:last-child {
    margin-bottom: 0;
}

.pleft {
    text-align: left;
}

.pright {
    text-align: right;
}

/* Image placeholder when no WP image has been uploaded */
.content-row-placeholder {
    width: 100%;
    min-height: 280px;
    background: linear-gradient(135deg, #ede8f8 0%, #c9a8f5 60%, #a8c4f5 100%);
    border-radius: 8px;
    opacity: 0.45;
}

.download-btn {
    display: inline-block;
    background-color: #491084;
    color: #fff !important;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    margin-top: 4px;
    cursor: pointer;
    border: none;
}

.download-btn:hover {
    background-color: #6018b0;
    box-shadow: 0 4px 16px rgba(73, 16, 132, 0.30);
    transform: translateY(-2px);
    color: #fff !important;
}

/* --- MAIN CONTACT SECTION --- */
.contact-section {
    padding: 37px 5%;
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Left Column: Info */
.contact-info {
    flex: 1;
    min-width: 300px;
}

.section-subtitle {
    color: var(--secondary-purple);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--light-lavender);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
    transition: 0.3s;
}

.info-item:hover .icon-box {
    background-color: var(--primary-purple);
    color: white;
}

.info-content h5 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.info-content span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Right Column: Form (Styled like Samarth Cards) */
.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-lavender);
    /* Light purple bg from cards */
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-purple);
}

input,
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid transparent;
    background-color: white;
    border-radius: 5px;
    /* Slightly rounded like inputs in image */
    font-family: inherit;
    font-size: 0.95rem;
    transition: 0.3s;
    outline: none;
}


input:focus,
textarea:focus {
    border-color: var(--secondary-purple);
    box-shadow: 0 0 0 3px rgba(106, 44, 191, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button.submit-btn {
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-purple));
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: var(--border-radius);
    /* Pill shape button */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

button.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 26, 133, 0.3);
}

/* --- MAP SECTION --- */
.map-section {
    width: 100%;
    height: 400px;
    filter: grayscale(100%);
    /* Optional: Matches the sleek B&W/Purple vibe */
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- 5. MAIN CONTACT LAYOUT (Flexbox) --- */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: -50px auto 50px;
    /* Pull up to overlap banner slightly */
    padding: 0 20px;
    gap: 0;
    position: relative;
    z-index: 10;
}

/* --- LEFT SIDE: GET IN TOUCH --- */
.left-col-info {
    flex: 1;
    min-width: 350px;
    background: white;
    padding: 60px;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.left-col-info h2 {
    font-size: 2rem;
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-weight: 400;
}

.left-col-info p {
    color: #666;
    margin-bottom: 40px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #f3e5f5;
    color: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    transition: 0.3s;
}

.info-card:hover .info-icon {
    background: var(--primary-purple);
    color: white;
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.info-text span {
    color: #666;
    font-size: 0.95rem;
}

/* --- RIGHT SIDE: FORM (Samarth Dark Purple Card) --- */
.right-col-form {
    flex: 1;
    min-width: 350px;
    background-color: var(--primary-purple);
    /* Matches Samarth Form Background */
    padding: 60px;
    border-radius: 0 10px 10px 0;
    color: white;
    box-shadow: 0 20px 40px rgba(74, 20, 140, 0.4);
}

/* --- FORM STYLING (For Provided HTML) --- */

/* Grid System simulation for the User's HTML classes 
        .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
        .col-xl-6, .col-lg-6, .col-md-6, .col-sm-6 {
            width: 50%;
            padding: 0 30px;
            margin-bottom: 20px;
        }
        .col-xs-12 { width: 100%; padding: 0 10px; margin-bottom: 20px; }*/

/* Input Styling */
.right-col-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.wpcf7-form-control {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: 0.3s;
    outline: none;
}

.wpcf7-form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.wpcf7-form-control:focus {
    border-color: var(--bright-purple);
    background: rgba(255, 255, 255, 0.05);
}

textarea.wpcf7-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Submit Button */
input.wpcf7-submit {
    background: linear-gradient(90deg, #9c27b0, #d500f9);
    color: white;
    border: none;
    width: 100%;
    padding: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s;
}

input.wpcf7-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.wpcf7-not-valid-tip {
    color: #FFFFFF;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.wpcf7-form .error {
    border-color: #FFFFFF;
}

.wpcf7-response-output {
    margin-top: 15px;
    padding: 12px;
    display: none;
    font-size: 14px;
}

.wpcf7-response-output.success {
    background: #d4edda;
    color: #155724;
}

.wpcf7-response-output.fail {
    background: #f8d7da;
    color: #721c24;
}



/* --- BLog LAYOUT --- */
.pxl-blog-page-wrapper {
    max-width: 1300px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.pxl-content-area {
    flex: 3;
    min-width: 0;
}

.pxl-sidebar-area {
    flex: 1;
    min-width: 300px;
}

/* --- BLOG GRID --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.blog-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(74, 20, 140, 0.12);
}

.blog-media {
    height: 220px;
    overflow: hidden;
}

.blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
}

.blog-title {
    font-size: 1.5rem;
    /* Outfit looks better slightly larger when weight is 300 */
    color: var(--samarth-purple);
    text-decoration: none;
    line-height: 1.2;
    margin-bottom: 15px;
    display: block;
}

.blog-meta {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--samarth-accent);
    margin-bottom: 10px;
    font-weight: 600;
}

.blog-excerpt {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* --- SIDEBAR WIDGETS --- */
.widget {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.4rem;
    color: var(--samarth-purple);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--samarth-light);
    padding-bottom: 10px;
}

/* Search Widget */
.search-form {
    position: relative;
    display: flex;
}

.search-form input {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    outline: none;
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--samarth-purple);
    color: white;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    cursor: pointer;
}

/* Categories Widget */
.widget-categories ul {
    list-style: none;
    padding: 0;
}

.widget-categories li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-bottom: 1px solid #f9f9f9;
}

.widget-categories li a {
    color: var(--text-main);
    text-decoration: none;
    transition: 0.2s;
}

.widget-categories li a:hover {
    color: var(--samarth-accent);
}

/* Recent Posts Widget */
.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.recent-post-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h5 {
    font-size: 1rem !important;
    margin: 0;
    line-height: 1.2;
}

.recent-post-info h5 a {
    color: var(--samarth-purple);
    text-decoration: none;
}

/* --- RESPONSIVE --- */
@media (min-width: 769px) and (max-width: 1024px) {

    .pxl-content-area,
    .pxl-sidebar-area {
        flex: 1 1 100%;
    }

    .pxl-sidebar-area {
        order: 2;
    }
}

@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Download Modal Styling */
#downloadModal .modal-content {
    border: none;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#downloadModal .modal-header {
    background: #1a1a1a;
    color: #fff;
    border-radius: 12px 12px 0 0;
}

#downloadModal .modal-title {
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

#downloadModal .btn-close {
    filter: invert(1);
}

#downloadModal .form-control {
    border: 1px solid #e0e0e0;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
}

#downloadModal .form-control:focus {
    border-color: #1a1a1a;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.05);
}

#downloadModal .btn-primary {
    background: linear-gradient(90deg, #1a1a1a 0%, #333333 100%);
    border: none;
    padding: 12px;
    font-weight: 600;
    width: 100%;
    margin-top: 10px;
    transition: transform 0.2s;
}

#downloadModal .btn-primary:hover {
    transform: translateY(-2px);
    background: #000;
}

#downloadModal a#toggleAuth {
    color: #555;
    text-decoration: underline;
    font-size: 14px;
}

/* ======================================================
   ABOUT PAGE STYLES
====================================================== */
.about-subnav {
    position: sticky;
    top: 70px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #eee;
    padding: 0;
}

.about-subnav .subnav-links {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.about-subnav .subnav-links a {
    display: inline-block;
    padding: 14px 20px;
    font-size: .82rem;
    font-weight: 600;
    color: #491084;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: border-color .2s, color .2s;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.about-subnav .subnav-links a:hover,
.about-subnav .subnav-links a.active {
    border-bottom-color: #491084;
}

/* About section */
.about-section {
    padding: 80px 0;
}

.about-img {
    width: 100%;
    border-radius: 12px;
}

.about-text {
    color: #444;
    line-height: 1.85;
    font-size: 1rem;
    margin-top: 1.2rem;
}

/* Vision / Mission */
.vision-mission-section {
    background: #491084;
    padding: 80px 0;
}

.vision-box,
.mission-box {
    background: rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 2rem;
    color: #fff;
    height: 100%;
}

.vision-box h3,
.mission-box h3 {
    color: #d4a8ff !important;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.vision-box p,
.mission-box p {
    line-height: 1.8;
    opacity: .9;
}

/* Timeline */
.timeline-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 1.5rem;
}

.timeline-scroll::-webkit-scrollbar {
    height: 6px;
}

.timeline-scroll::-webkit-scrollbar-thumb {
    background: #b35cfe;
    border-radius: 3px;
}

.timeline-item {
    min-width: 220px;
    max-width: 240px;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(73, 16, 132, .1);
    flex-shrink: 0;
}

.timeline-year {
    font-size: 2rem;
    font-weight: 700;
    color: #491084;
    margin-bottom: .5rem;
}

.timeline-img img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: .8rem;
}

.timeline-content h4 {
    font-size: .95rem;
    font-weight: 700;
    color: #333;
    margin-bottom: .4rem;
}

.timeline-content p {
    font-size: .85rem;
    color: #666;
    line-height: 1.6;
}

/* Awards carousel */
.awards-carousel .award-item {
    padding: 1rem;
}

.award-img-wrapper {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-img-wrapper img {
    max-height: 130px;
    max-width: 100%;
    object-fit: contain;
}

.award-caption {
    font-size: .82rem;
    color: #555;
    text-align: center;
    margin-top: .6rem;
    line-height: 1.4;
}

/* Testimonials carousel */
.testimonials-carousel .testimonial-item {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(73, 16, 132, .08);
    margin: 1rem;
}

.testimonial-project {
    font-size: 1rem;
    margin-bottom: .8rem;
}

.testimonial-quote {
    font-size: 1rem;
    font-style: italic;
    color: #555;
    line-height: 1.7;
    border-left: 3px solid #491084;
    padding-left: 1rem;
    margin: 0 0 1.2rem;
}

.testimonial-meta strong {
    color: #491084;
}

.testimonial-meta span {
    font-size: .85rem;
    color: #888;
}

/* Leadership */
.leader-portrait {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #b35cfe;
}

.leader-role {
    color: #888;
    font-size: .9rem;
}

.leader-bio {
    color: #444;
    line-height: 1.85;
    font-size: 1rem;
}

.team-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e9d8ff;
}

.team-role {
    font-size: .85rem;
    color: #888;
}

/* Work with us */
.work-img {
    width: 100%;
    border-radius: 12px;
}

/* ======================================================
   3-LEVEL NAVIGATION  matches samarthsec.com exactly
   Uses opacity/visibility/transform (animatable)  no display:none
====================================================== */

/* Desktop: top-level li */
.main-menu>li.has-children {
    position: relative;
}

/* L1 dropdown */
.main-menu>li.has-children>.submenu {
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 32px rgba(73, 16, 132, .15);
    padding: 8px 0;
    z-index: 999;
    list-style: none;
    margin: 0;

    /* Animation base (closed) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scaleY(0.95);
    transform-origin: top;
    transition: opacity .28s ease, visibility .28s ease, transform .28s cubic-bezier(.4, 0, .2, 1);
    pointer-events: none;
}

/* Open on hover */
.main-menu>li.has-children:hover>.submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scaleY(1);
    pointer-events: auto;
}

/* Stagger reveal for L1 items */
.main-menu>li.has-children>.submenu>li {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
}

.main-menu>li.has-children:hover>.submenu>li {
    opacity: 1;
    transform: translateY(0);
}

.main-menu>li.has-children:hover>.submenu>li:nth-child(1) {
    transition-delay: 40ms;
}

.main-menu>li.has-children:hover>.submenu>li:nth-child(2) {
    transition-delay: 90ms;
}

.main-menu>li.has-children:hover>.submenu>li:nth-child(3) {
    transition-delay: 140ms;
}

.main-menu>li.has-children:hover>.submenu>li:nth-child(4) {
    transition-delay: 190ms;
}

.main-menu>li.has-children:hover>.submenu>li:nth-child(5) {
    transition-delay: 240ms;
}

.main-menu>li.has-children:hover>.submenu>li:nth-child(6) {
    transition-delay: 290ms;
}

/* L1 leaf links */
.submenu>li>a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: .88rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.submenu>li>a:hover {
    background: #f5f0ff;
    color: #491084;
    border-left-color: #491084;
}

/* Physical Security Products parent link */
.submenu>li.has-children>.submenu-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    color: #333;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    background: #faf7ff;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.submenu>li.has-children>.submenu-parent::after {
    content: "\203A";
    opacity: .6;
    margin-left: 8px;
}

.submenu>li.has-children>.submenu-parent:hover {
    background: #f0e8ff;
    color: #491084;
    border-left-color: #491084;
}

/* L2 flyout (second-level) */
.submenu>li.has-children {
    position: relative;
}

.submenu>li.has-children>.submenu.second-level {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 260px;
    background: #fff;
    border-radius: 0 8px 8px 8px;
    box-shadow: 6px 8px 32px rgba(73, 16, 132, .14);
    padding: 8px 0;
    z-index: 1000;
    list-style: none;
    margin: 0;

    /* Animation base (closed) */
    opacity: 0;
    visibility: hidden;
    transform: translateX(12px) scaleX(0.95);
    transform-origin: left;
    transition: opacity .25s ease, visibility .25s ease, transform .25s cubic-bezier(.4, 0, .2, 1);
    pointer-events: none;
}

.submenu>li.has-children:hover>.submenu.second-level {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scaleX(1);
    pointer-events: auto;
}

/* Stagger for L2 items */
.submenu>li.has-children>.submenu.second-level>li {
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .22s ease, transform .22s ease;
}

.submenu>li.has-children:hover>.submenu.second-level>li {
    opacity: 1;
    transform: translateX(0);
}

.submenu>li.has-children:hover>.submenu.second-level>li:nth-child(1) {
    transition-delay: 35ms;
}

.submenu>li.has-children:hover>.submenu.second-level>li:nth-child(2) {
    transition-delay: 75ms;
}

.submenu>li.has-children:hover>.submenu.second-level>li:nth-child(3) {
    transition-delay: 115ms;
}

.submenu>li.has-children:hover>.submenu.second-level>li:nth-child(4) {
    transition-delay: 155ms;
}

.submenu>li.has-children:hover>.submenu.second-level>li:nth-child(5) {
    transition-delay: 195ms;
}

.submenu>li.has-children:hover>.submenu.second-level>li:nth-child(6) {
    transition-delay: 235ms;
}

/* Desktop nav caret */
.nav-caret {
    display: inline-block;
    font-size: .65em;
    margin-left: 4px;
    vertical-align: middle;
    opacity: .8;
    transition: transform .3s ease;
}

.has-children:hover>a .nav-caret {
    transform: rotate(180deg);
}

/* 
   MOBILE 3-LEVEL ACCORDION   matches samarthsec.com live site
   Classes emitted by SamarthSec_Mobile_Walker:
   .mobile-has-children   li with children
   .mobile-parent         <button> for top-level toggle
   .mobile-parentsub      <button> for deeper-level toggle
   .mobile-submenu        <ul> L1 children
   .mobile-submenu.second <ul> L2 children
 */

/* Sub-lists hidden by default  slide-down via max-height */
.mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    background: #ffffff;
    width: 100%;
}

.mobile-submenu.second {
    padding-left: 19px;
    background: #dfd1eb;
}

/* Open state: large max-height allows natural height */
.mobile-has-children.open>.mobile-submenu {
    max-height: 700px;
}

/* Top-level parent button (.mobile-parent) */
.mobile-has-children>.mobile-parent {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    cursor: pointer;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.mobile-parent .arrow {
    display: inline-block;
    transition: transform .25s ease;
    font-style: normal;
    font-size: 1.1rem;
    line-height: 1;
}

.mobile-has-children.open>.mobile-parent .arrow {
    transform: rotate(45deg);
}

/* Deeper parent row (.mob-sub-link + .mobile-parentsub) */
.mobile-has-children .mob-sub-link {
    display: block;
    color: #111111;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    flex: 1;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.mobile-parentsub {
    width: 95%;
    margin-top: -14px;
    text-align: left;
    padding: 5px 18px;
    background: none;
    border: none;
    color: #000000;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}


/* Wrap the sub-link + toggle button in a flex row */
.mobile-has-children:not(:has(> .mobile-parent)) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eaeaea;
    padding: 0;
    background: #ffffff;
    flex-wrap: wrap;
}

.arrow2 {
    font-size: 18px;
    transition: transform .3s ease;
    position: absolute;
    right: 20px;
    margin-top: -31px;
}


.mobile-has-children.open>.mobile-parentsub .arrow2 {
    transform: rotate(45deg);
}

/* Leaf links inside mobile submenus */
.mobile-submenu li>a {
    display: block;
    color: #111111;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #eaeaea;
    transition: color .15s;
    text-transform: uppercase;

}

.mobile-submenu li>a:hover {
    color: #000;
    background-color: #ffffff;
    /* border-left-color: #491084; */
    border-left: 3px solid #491084;
}

/* 
   EXTRACTED INLINE STYLES
 */

/* front-page.php: Design Future row */
.design-future-row {
    margin-bottom: 32px;
}

/* template-parts/hero.php: hero container inner z-index */
.hero-container-inner {
    z-index: 2;
}

/* template-parts/content-rows.php: button wrap */
.content-row-btn-wrap {
    margin-top: 20px;
}

/* page-about.php: animation transition delays */
.ap-delay-12 {
    transition-delay: .12s;
}

.ap-delay-08 {
    transition-delay: .08s;
}

.ap-delay-07 {
    transition-delay: .07s;
}

/* SVG icon in PDF download buttons */
.pc-pdf-icon {
    vertical-align: middle;
    margin-right: 6px;
    margin-top: -2px;
}

/* 
   GLOBAL APPLIED STYLES  previously in ss-dynamic-css inline block
   Uses CSS custom properties set by the Customizer (:root vars)
 */
body {
    font-family: var(--font-body);
    font-size: var(--font-size-body, 16px);
    line-height: 1.7;
    color: var(--body-text);
    background-color: var(--body-bg);
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.card-title {
    font-family: var(--font-heading);
    color: var(--heading-text);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-title {
    font-family: Inter, sans-serif;
    font-size: var(--font-size-hero, 60px);
    line-height: 1.15;
    color: #ffffff;
    font-weight: 700;
    overflow: hidden;
    text-transform: capitalize;
}

h1,
.section-title {
    font-size: var(--font-size-h1, 40px);
}

h2 {
    font-size: var(--font-size-h2, 32px);
}

h3,
.card-title {
    font-size: var(--font-size-h3, 22px);
}

small,
.caption,
.subtitle {
    font-size: var(--font-size-small, 14px);
    color: var(--muted-text);
}

.hero-subtitle {
    font-size: 18px;
}

.section-desc,
.ps-desc,
.contact-desc,
.smarter-desc,
.clients-subtitle {
    font-size: 18px;
    color: var(--primary-color);
}

.ps-card-title {
    font-size: var(--font-size-h3, 22px);
    color: var(--heading-text);
}

.ps-card-desc {
    font-size: var(--font-size-small, 14px);
    color: var(--body-text);
}

.ps-title {
    font-size: var(--font-size-h1, 40px);
}

.contact-title,
.contact-section-header h2 {
    font-size: var(--font-size-h1, 40px);
}

.stat-label,
.ps-label {
    font-size: var(--font-size-small, 14px);
}

.smarter-title {
    font-size: var(--font-size-h1, 40px);
}

.ap-about-heading {
    font-size: 49px;
    font-weight: 300;
    line-height: 1.12;
    margin-bottom: 28px;
}

.ap-vm-heading {
    font-size: 48px;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 16px;
}

.ap-section-heading {
    font-size: 48px;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 10px;
}

.ap-work-heading {
    font-size: 48px;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 20px;
}

.ap-about-text p,
.ap-vm-block p,
.ap-testi-quote,
.ap-work-content p,
.ap-lead-bio-inner p {
    font-size: var(--font-size-small, 14px);
}

.footer-info-text,
.footer-nav-list a,
.footer-tagline {
    font-size: var(--font-size-small, 14px);
}



.ap-vm-block p,
.ap-about-text p,
.ap-work-content p,
.ap-lead-bio-inner p {
    font-size: 16px;
    color: #491084;
}



.ps-label,
.ap-about-label,
.stat-label {
    font-size: 13px;
    text-transform: uppercase;
}

a {
    color: var(--link-color);
}

a:hover {
    color: #0a46a1;
}

.container {
    max-width: var(--container-max-width, 1320px);
}



.navbar,
.mobile-menu-wrapper,
.mobile-header {
    background-color: var(--nav-bg) !important;
}

.navbar .nav-link,
.navbar-nav .nav-link,
.subnav-item {
    color: var(--nav-text) !important;
    font-size: var(--font-size-nav, 15px);
}

.navbar .nav-link:hover,
.navbar-nav .nav-link:hover,
.subnav-item:hover {
    color: var(--nav-hover) !important;
}

.navbar .current-menu-item>a,
.navbar .active>.nav-link {
    color: #ffd700 !important;
}

#smarter-cities,
#stats-section {
    background-color: var(--primary-color);
}

#site-footer {
    background-color: var(--footer-bg);
}

#site-footer .footer-info-text,
#site-footer .footer-tagline,
.footer-copyright-text {
    color: var(--footer-text);
}

#site-footer .footer-col-heading {
    color: #c084fc;
}

#site-footer .footer-nav-list a,
#site-footer .footer-info-text a {
    color: var(--footer-text);
}

#site-footer .footer-nav-list a:hover,
#site-footer .footer-info-text a:hover {
    color: #fff;
}

.gradient-text,
.contact-title {
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.btn-custom,
.btn-pill,
.download-btn,
.explore-btn,
.card-btn {
    background-color: var(--btn-bg);
    color: var(--btn-text);
    border-color: var(--btn-bg);
    border-radius: var(--btn-radius);
    font-size: 15px;
}

.btn-custom:hover,
.btn-pill:hover,
.download-btn:hover,
.explore-btn:hover,
.card-btn:hover {
    background-color: #b35cfe;
    color: #ffffff;
    border-color: #b35cfe;
}

.product-card,
.testi-card,
.award-card {
    background-color: var(--card-bg);
    border-color: var(--card-border);
    border-radius: var(--card-radius);
}

#design-future,
#section-about,
.alt-bg {
    background-color: var(--section-light-bg);
}