:root {
    --primary: #ffffff;
    --secondary: #f8fafc;
    --accent: #b08d1a;
    --accent-rgb: 176, 141, 26;
    --text-light: #0f172a;
    --text-muted: #64748b;
    --bg-overlay: rgba(255, 255, 255, 0.95);
    --glass: rgba(255, 255, 255, 0.8);
    --transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    --orb-color: rgba(176, 141, 26, 0.04);
    --glass-border: rgba(176, 141, 26, 0.15);
    --glass-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    --glass-grad: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.65);
}

html {
    scroll-behavior: smooth;
}

html,
body {
    min-height: 100%;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Outfit:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

body {
    background-color: var(--primary);
    color: var(--text-light);
    line-height: 1.7;
    letter-spacing: 0.01em;
    font-weight: 300;
    overflow-x: hidden;
    position: relative;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.04;

    }

.bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    width: 40vw;

        height: 40vw;
    border-radius: 50%;
    background: radial-gradient(circle, var(--orb-color) 0%, transparent 70%);
    filter: blur(80px);

        animation: float 25s infinite alternate;
}

.orb-2 {
    background: radial-gradient(circle, var(--orb-color) 0.5, transparent 70%);
}

.orb-1 {
    top: -10%;
    left: -10%;
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(10%, 10%) scale(1.1);
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

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

.text-accent {
    color: var(--accent);
}

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

.m-bottom-sm {
    margin-bottom: 10px;
}

.m-bottom-md {
    margin-bottom: 25px;
}

.m-bottom-lg {
    margin-bottom: 40px;
}

.m-top-sm {
    margin-top: 15px;
}

.m-top-md {
    margin-top: 40px;
}

.gap-md {
    gap: 20px;
}

.gap-lg {
    gap: 40px;
}

.w-full {
    width: 100%;
}

.flex {
    display: flex;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.font-mono {
    font-family: monospace;
}

.text-xl {
    font-size: 1.4rem;
    font-weight: 500;
}

.text-lg {
    font-size: 1.1rem;
}

.text-md {
    font-size: 1rem;
}

.text-sm {
    font-size: 0.875rem;
}

.op-9 {
    opacity: 0.9;
}

.glass {
    background: var(--glass-grad);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 30px;
}

.card {
    padding: 35px;
    margin-bottom: 20px;
}

.flip-card {
    background-color: transparent;
    width: 90%;
    max-width: 360px;
    height: 380px;

        perspective: 1000px;
    margin-bottom: 30px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flip-card-front {
    background: #ffffff;
    border: 2px solid rgba(176, 141, 26, 0.2);

        padding: 15px;
}

.flip-card-front img {
    width: 65%;
    height: 65%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.flip-card:hover .flip-card-front img {
    transform: scale(1.1);
}

.flip-card-back {
    background: #ffffff;
    color: #0f172a;

        transform: rotateY(180deg);
    padding: 25px;
    border: 2px solid var(--accent);
}

.flip-card-back h3 {
    color: var(--accent);
    margin-bottom: 12px;
    line-height: 1.3;
}

.flip-card-back p {
    font-size: 0.95rem;

        line-height: 1.6;
    color: #475569;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
}

.project-socials {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.project-socials a {
    color: #475569;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(176, 141, 26, 0.05);
    text-decoration: none;
}

.project-socials a:hover {
    color: var(--accent);
    background: rgba(176, 141, 26, 0.15);
    transform: translateY(-3px);
}

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

.detail-list li {
    display: block;
    margin-bottom: 8px;
}

.detail-list.compact-layout li {
    display: grid;
    grid-template-columns: auto 1fr;

        gap: 20px;
    align-items: baseline;
}

.detail-list.compact-layout strong {
    min-width: 140px;
    display: inline-block;
}

.detail-list.spacing-lg {
    gap: 12px;
}

.detail-list strong {
    color: var(--accent);
    font-weight: 800;
}

nav {
    position: fixed;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    padding: 8px 35px;
    min-height: 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.4s ease,
        padding 0.4s ease,
        backdrop-filter 0.4s ease,
        box-shadow 0.4s ease;
    will-change: top, width, background, padding;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);

    }

.nav-shimmer {
    position: absolute;
    inset: 0;
    border-radius: 100px;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.nav-shimmer::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transform: rotate(45deg);
    transition: 0.8s ease;
    pointer-events: none;
}

nav:hover .nav-shimmer::after {
    left: 100%;
}

nav.scrolled {
    top: 2px;
    width: 95%;
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(35px) saturate(160%);
    -webkit-backdrop-filter: blur(35px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    padding: 8px 40px;
}

nav.scrolled .logo {
    color: var(--accent);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.signature-logo {
    height: 48px;
    width: auto;
    mix-blend-mode: difference;
    filter: drop-shadow(0.5px 0.5px 0 white) drop-shadow(-0.5px -0.5px 0 white);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled .signature-logo {
    transform: scale(0.85);
}

@keyframes signature-glow {
    0% {
        filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(212, 175, 55, 0.2));
    }

    100% {
        filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(212, 175, 55, 0.8));
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-links li {
    white-space: nowrap;
}

.nav-links a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 5px 0;
    opacity: 0.8;
    white-space: nowrap;
}

nav.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.9;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
    opacity: 1;
    letter-spacing: 0.25em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.6);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 5% 40px 5%; 
    background: transparent;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    z-index: 2;
    position: relative;
}

.hero-image-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 0 96px 0; 
}

.ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.35) 0%, rgba(212, 175, 55, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
    animation: slowPulse 6s ease-in-out infinite alternate;
}

@keyframes slowPulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.hero-portrait.cutout {
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    mix-blend-mode: normal; 
    filter: contrast(1.04) brightness(1.01); 
    transition: filter 0.5s ease;
    animation: portraitFloat 5s ease-in-out infinite alternate;
}

@keyframes portraitFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

.hero-image-container:hover .hero-portrait.cutout {
    filter: contrast(1.15) brightness(1.1) drop-shadow(0 15px 25px rgba(0, 0, 0, 0.1));
}

.hero-social-bar {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 6;
    flex-wrap: nowrap;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--accent-rgb), 0.12);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.hero-social-bar a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.12rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease, color 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    animation: heroIconFloat 4.4s ease-in-out infinite;
}

.hero-social-bar a:nth-child(2) { animation-delay: 0.2s; }
.hero-social-bar a:nth-child(3) { animation-delay: 0.4s; }
.hero-social-bar a:nth-child(4) { animation-delay: 0.6s; }
.hero-social-bar a:nth-child(5) { animation-delay: 0.8s; }

.hero-social-bar a:hover {
    transform: translateY(-8px) scale(1.08);
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), #d4af37);
    border-color: rgba(var(--accent-rgb), 0.75);
    box-shadow: 0 16px 32px rgba(var(--accent-rgb), 0.28);
}

@keyframes heroIconFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.floating-stat {
    position: absolute;
    bottom: 98px; 
    right: 0px; 
    display: flex;
    align-items: center;
    gap: 10px; 
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 10px 18px; 
    border-radius: 12px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.06); 
    border: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 5;
}

.floating-stat::before {
    display: none; 
}

.stat-number {
    font-size: 2.8rem; 
    font-weight: 900;
    line-height: 1;
    color: var(--accent);
    font-family: 'Playfair Display', serif;
}

.stat-number .plus {
    font-size: 1.5rem; 
    vertical-align: super;
}

.stat-text {
    font-size: 0.75rem; 
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0) 70%);
    z-index: 1;
    border-radius: 50%;
    filter: blur(40px);
    animation: goldPulse 4s infinite alternate;
}

@keyframes goldPulse {
    0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}

.hero-text-content {
    flex: 1.2;
    text-align: center;
    max-width: 650px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
}

.hero-text-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem; 
    margin-bottom: 20px;
    line-height: 1.1;
    font-style: normal;
    color: #1a1a1a;
    white-space: nowrap; 
}

img,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
}

a,
button,
.btn {
    touch-action: manipulation;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    nav,
    .hero-social-bar,
    .floating-stat {
        background: rgba(255, 255, 255, 0.96);
    }
}

.hero-text-content span.italic-heading {
    color: var(--accent);
    text-shadow: 0 1px 3px rgba(0,0,0,0.05);
    font-style: italic;
}

.hero-text-content .typewriter-wrapper {
    min-height: 40px; 
}

.hero-text-content .typewriter {
    color: var(--accent);
    font-weight: 700;
}

.hero-sub {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    justify-content: center;
    width: 100%;
}

.btn {
    padding: 14px 34px;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    color: #fff;
    background: linear-gradient(135deg, #d4af37 0%, #b08d1a 50%, #8a6d10 100%);
    background-size: 200% auto;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(138, 109, 16, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(138, 109, 16, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    border-color: rgba(var(--accent-rgb), 0.6);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-25deg);
    transition: none;
}

.btn:hover::before {
    left: 150%;
    transition: 0.8s;
}

.hero .btn {
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.hero .btn:hover {
    border-color: var(--accent);
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--accent);
    margin-left: 5px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@media (max-width: 992px) {
    .hero {
        padding-top: 140px;
        min-height: auto;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-text-content {
        text-align: center;
        order: -1; 
    }
    .hero-text-content h1 {
        font-size: 3.5rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .image-inner {
        max-width: 380px;
    }
}

section {
    padding: 120px 10%;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 70px;
    display: flex;
    align-items: center;
    gap: 30px;
    letter-spacing: -0.01em;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0.12;
}

.italic-heading {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
}

.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform, opacity;
}

.reveal.stagger {
    transition-delay: calc(var(--delay) * 0.15s);
}

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

.timeline-container {
    width: 100%;
    overflow: hidden;

        padding: 80px 0;
    margin: 20px 0;
    position: relative;
}

.timeline-container::-webkit-scrollbar {
    display: none;
}

.timeline-track {
    display: flex;
    width: 100%;
    padding: 0 5%;
    position: relative;
    align-items: center;
    justify-content: space-between;

        height: 400px;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
    transform: translateY(-50%);
}

.timeline-item {
    flex: 1;

        position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 25%;

    }

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px var(--accent);
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: translate(-50%, -50%) scale(1.3);
}

.timeline-connector {
    position: absolute;
    width: 1px;
    background: var(--accent);
    opacity: 0.3;
}

.timeline-item.bottom .timeline-connector {
    top: 50%;
    height: 80px;
}

.timeline-item.top .timeline-connector {
    bottom: 50%;
    height: 80px;
}

.timeline-content {
    padding: 25px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background: var(--glass-grad);
    box-shadow: var(--glass-shadow);
    width: 90%;

        max-width: 240px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.timeline-item.bottom .timeline-content {
    margin-top: 240px;
}

.timeline-item.top .timeline-content {
    margin-bottom: 240px;
    order: -1;
}

.timeline-item:hover .timeline-content {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.02);
}

.timeline-date {
    display: block;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-role {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-light);
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.timeline-company {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.logo-marquee {
    width: 90%;
    max-width: 1200px;
    margin: 80px auto;
    overflow: hidden;
    background: var(--primary);
    padding: 40px 0;
    position: relative;
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 50px rgba(var(--accent-rgb), 0.1);

        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-marquee::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(var(--accent-rgb), 0.05),
            rgba(var(--accent-rgb), 0.15),
            rgba(var(--accent-rgb), 0.05),
            transparent);
    animation: golden-flow 6s infinite linear;
    z-index: 1;
    pointer-events: none;
}

@keyframes golden-flow {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.logo-marquee::after {
    display: none;

    }

.marquee-content {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 60s linear infinite;

        will-change: transform;
}

.university-logo, .client-logo {
    height: 80px;

        width: auto;
    margin: 0 40px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.7);
    transition: var(--transition);
}

.university-logo:hover, .client-logo:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

.university-logo.bmu-logo {
    height: 110px;

        margin: 0 50px;
}

.client-logo[alt*="sme" i] {
    height: 130px;
    margin: 0 40px;
}

.client-logo[alt*="samsung" i],
.client-logo[alt*="sumsung" i],
.client-logo[alt*="hdfc" i],
.client-logo[alt*="dell" i] {
    height: 160px;
    margin: 0 40px;
}

.client-logo[alt*="samsung" i]:hover,
.client-logo[alt*="sumsung" i]:hover,
.client-logo[alt*="hdfc" i]:hover,
.client-logo[alt*="sme" i]:hover,
.client-logo[alt*="dell" i]:hover {
    transform: scale(1.02);
}

.marquee-strip {
    height: 200px; 
    width: auto;
    display: inline-block;
    object-fit: contain;
    padding: 0;
    margin: 0;
    transition: transform 0.4s ease;
}

.marquee-strip:hover {
    transform: scale(1.01);
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

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

.programme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.programme-card {
    padding: 30px;

        border-radius: 35px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid var(--glass-border);
    background: var(--glass-grad);
    box-shadow: var(--glass-shadow);
}

.programme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--orb-color), transparent);
    z-index: -1;
}

.programme-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 30px rgba(var(--accent-rgb), 0.15);
}

.programme-icon {
    width: 50px;
    height: 50px;
    background: rgba(var(--accent-rgb), 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.programme-card:hover .programme-icon {
    background: var(--accent);
    color: var(--primary);
    transform: rotate(10deg);
}

.programme-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--text-light);
    font-style: italic;
}

.programme-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.full-width {
    grid-column: 1 / -1;
}

.vertical-unified-timeline {
    position: relative;
    padding: 40px 0;
    margin-top: 20px;
}

.timeline-trunk {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--accent) 15%, var(--accent) 85%, transparent);
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.3);
    z-index: 1;
}

.timeline-branch-container {
    position: relative;
    z-index: 2;
}

.timeline-branch {
    position: relative;
    width: 50%;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.timeline-branch.left {
    left: 0;
    justify-content: flex-end;
    padding-right: 30px;
    text-align: right;
}

.timeline-branch.right {
    left: 50%;
    justify-content: flex-start;
    padding-left: 30px;
}

.branch-symbol {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    background: var(--glass-grad);
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.3);
    z-index: 3;
    transform: translateY(-50%);
    transition: var(--transition);
}

.timeline-branch.left .branch-symbol {
    right: -23px;
}

.timeline-branch.right .branch-symbol {
    left: -23px;
}

.branch-symbol::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.2;
    z-index: -1;
    animation: pulseSymbol 3s infinite;
}

@keyframes pulseSymbol {
    0% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1); opacity: 0.2; }
}

.timeline-branch:hover .branch-symbol {
    transform: translateY(-50%) scale(1.15) rotate(15deg);
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 0 25px var(--accent);
}

.branch-content {
    padding: 18px 22px;
    border-radius: 20px;
    width: 100%;
    max-width: 300px;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.timeline-branch:hover .branch-content {
    border-color: var(--accent);
    transform: translateY(-5px);
    background: rgba(var(--accent-rgb), 0.05);
}

.timeline-branch::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 2px;
    background: var(--accent);
    opacity: 0.3;
    z-index: 1;
}

.timeline-branch.left::before {
    right: 15px;
}

.timeline-branch.right::before {
    left: 15px;
}

.branch-date, .branch-role {
    display: block;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
}

.branch-content h4 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--text-light);
}

.branch-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.milestone-gold .branch-symbol {
    border-width: 2px;
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.5);
}

.milestone-gold .branch-content {
    border-color: rgba(var(--accent-rgb), 0.3);
}

@media (max-width: 768px) {
    .timeline-trunk {
        left: 30px;
    }

    .timeline-branch {
        width: 100%;
        left: 0 !important;
        padding-left: 60px !important;
        padding-right: 0 !important;
        justify-content: flex-start !important;
        text-align: left !important;
        margin-bottom: 30px;
    }

    .timeline-branch.left .branch-symbol,
    .timeline-branch.right .branch-symbol {
        left: 7px;
        right: auto;
    }

    .timeline-branch::before {
        left: 30px !important;
        right: auto !important;
        width: 30px;
    }

    .branch-content {
        max-width: 100%;
        padding: 15px 18px;
    }
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;

        gap: 80px;
    align-items: center;
}

.premium-image-wrapper {
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 30px;
    background: var(--primary);
    border-radius: 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.premium-image-wrapper::before,
.premium-image-wrapper::after {
    content: '';
    position: absolute;
    border-radius: 38px;
    pointer-events: none;
    z-index: 1;
}

.premium-image-wrapper::before {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid rgba(var(--accent-rgb), 0.15);
}

.premium-image-wrapper::after {
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    border-radius: 42px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent) 0%, transparent 50%, var(--accent) 100%);
    opacity: 0.8;
}

.premium-image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    z-index: 2;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
    background: #f8fafc;
}

.page-header {
    padding-top: 190px;
    padding-bottom: 0;

        min-height: auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

        gap: 40px;

        align-items: flex-start;
}

.floating-particles .p-square {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    opacity: 0.6;
    z-index: 1;
}

.p-square:nth-child(1) {
    top: 5%;
    left: 15%;
    animation: particleFloat 4s ease-in-out infinite alternate;
}

.p-square:nth-child(2) {
    top: 85%;
    left: 8%;
    animation: particleFloat 6s ease-in-out infinite alternate-reverse;
}

.p-square:nth-child(3) {
    top: 15%;
    right: 12%;
    animation: particleFloat 5s ease-in-out infinite alternate;
}

.p-square:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation: particleFloat 7s ease-in-out infinite alternate-reverse;
}

@keyframes particleFloat {
    from {
        transform: translate(0, 0);
        opacity: 0.4;
    }

    to {
        transform: translate(15px, -15px);
        opacity: 0.8;
    }
}

.premium-image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    z-index: 2;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

.name-tag {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff;
    padding: 8px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(10px);
    opacity: 0;
    animation: slideUp 0.8s forwards 1s, name-glow 3s ease-in-out infinite alternate;
    z-index: 3;
}

.name-tag span {
    color: #000;
    font-weight: 800;
    font-size: 1.05rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

@keyframes name-glow {
    0% {
        box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
    }

    100% {
        box-shadow: 0 5px 25px rgba(212, 175, 55, 0.6);
    }
}

.name-tag::after {
    content: '.';
    color: #6366f1;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.premium-photo {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.premium-image-container:hover .premium-photo {
    transform: scale(1.04);
}

.gold-glow {
    position: absolute;
    top: 45%;
    left: 50%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle, var(--orb-color) 3, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    filter: blur(20px);
}

.radial-contact-container {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto;
    perspective: 1000px;
}

.contact-center {
    position: relative;
    width: 250px;
    height: 250px;
    z-index: 10;
    border-radius: 50%;
    padding: 10px;
    background: var(--glass-grad);
    border: 2px solid var(--accent);
    box-shadow: 0 0 50px rgba(var(--accent-rgb), 0.3);
    overflow: hidden;
    transition: var(--transition);
}

.contact-center:hover {
    transform: scale(1.05);
    box-shadow: 0 0 70px rgba(var(--accent-rgb), 0.5);
}

.center-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.center-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.2) 0%, transparent 70%);
    pointer-events: none;
}

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

.branch-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-220px) rotate(calc(-1 * var(--angle)));
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    animation: branch-entrance 1s forwards var(--delay);
}

@keyframes branch-entrance {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(0) rotate(calc(-1 * var(--angle)));
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-220px) rotate(calc(-1 * var(--angle)));
    }
}

.branch-icon {
    width: 60px;
    height: 60px;
    background: var(--glass-grad);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
}

.branch-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    background: var(--glass-grad);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.branch-item:hover .branch-label {
    opacity: 1;
    transform: translateY(0);
}

.branch-item.instagram .branch-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: transparent;
}
.branch-item.instagram:hover .branch-label { color: #cc2366; border-color: #cc2366; }

.branch-item.facebook .branch-icon { background: #1877F2; color: white; border-color: transparent; }
.branch-item.facebook:hover .branch-label { color: #1877F2; border-color: #1877F2; }

.branch-item.email .branch-icon { background: #D44638; color: white; border-color: transparent; }
.branch-item.email:hover .branch-label { color: #D44638; border-color: #D44638; }

.branch-item.x-social .branch-icon { background: #000; color: white; border-color: transparent; }
.branch-item.x-social:hover .branch-label { color: #000; border-color: #000; }

.branch-item.imdb .branch-icon { background: #f5c518; color: #000; border-color: transparent; }
.branch-item.imdb:hover .branch-label { color: #f5c518; border-color: #f5c518; }

.branch-item.phone .branch-icon { background: #2ecc71; color: white; border-color: transparent; }
.branch-item.phone:hover .branch-label { color: #2ecc71; border-color: #2ecc71; }

@media (max-width: 768px) {
    .radial-contact-container {
        height: 500px;
    }

    .contact-center {
        width: 180px;
        height: 180px;
    }

    .branch-item {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-160px) rotate(calc(-1 * var(--angle)));
    }

    @keyframes branch-entrance {
        from {
            opacity: 0;
            transform: translate(-50%, -50%) rotate(var(--angle)) translateY(0) rotate(calc(-1 * var(--angle)));
        }

        to {
            opacity: 1;
            transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-160px) rotate(calc(-1 * var(--angle)));
        }
    }

    .branch-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

footer {
    padding: 80px 10% 40px 10%;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .footer-signature {
    height: 65px;
    width: auto;
    margin-bottom: 25px;
    mix-blend-mode: difference;
    filter: drop-shadow(0.5px 0.5px 0 white) drop-shadow(-0.5px -0.5px 0 white);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 350px;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent);
}

.footer-cta-container {
    background: var(--secondary);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    border: 1px solid rgba(176, 141, 26, 0.1);
}

.footer-cta-text h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-cta-text p {
    color: var(--text-muted);
}

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

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-socials a:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--accent-rgb), 0.2);
}

.footer-leadership h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
}

.initiative-logos {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.initiative-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

.initiative-item:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.initiative-logo-circular {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--accent);
    background: #fff;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.initiative-logo-circular img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.initiative-item:hover .initiative-logo-circular {
    transform: scale(1.1);
    box-shadow: 0 5px 10px rgba(var(--accent-rgb), 0.2);
}

.initiative-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 1100px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

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

    .footer-cta-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.quote-container {
    padding: 0 20px;
    margin-top: 10px;
    text-align: center;
}

.quote-content {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s forwards 1.8s;
}

.quote-highlight {
    color: var(--accent);
    font-weight: 700;
}

.quote-line {
    display: block;
    margin-bottom: 8px;
}

.vision-pillars-container {
    display: grid;
    grid-template-columns: 1fr 1fr;

        gap: 30px;
    margin-top: 60px;
    padding-bottom: 80px;
}

.vision-pillar {
    position: relative;
    padding: 40px;
    border-left: 4px solid var(--accent);
    background: var(--glass-grad);
    backdrop-filter: blur(15px);
    border-radius: 0 25px 25px 0;
    transition: var(--transition);
    cursor: default;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    text-align: left;
}

.vision-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(212, 175, 55, 0.2),
            transparent);
    transition: 0.8s ease-in-out;
    z-index: 1;
}

.vision-pillar:hover::before {
    left: 200%;
}

.vision-pillar:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(var(--accent-rgb), 0.15);
    background: rgba(255, 255, 255, 0.98);
}

body.dark-theme .vision-pillar:hover {
    background: rgba(15, 15, 15, 0.95);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.vision-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 25px;
    display: inline-block;
    transition: var(--transition);
    animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {

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

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

.vision-pillar:hover .vision-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 10px var(--accent));
}

.vision-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.vision-card-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.vision-highlight {
    color: var(--accent);
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent), #fff, var(--accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shineText 3s linear infinite;
}

@keyframes shineText {
    to {
        background-position: 200% center;
    }
}

@keyframes pillarReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vision-pillar:nth-child(1) {
    animation: pillarReveal 0.8s forwards 0.2s;
}

.vision-pillar:nth-child(2) {
    animation: pillarReveal 0.8s forwards 0.4s;
}

.vision-pillar:nth-child(3) {
    animation: pillarReveal 0.8s forwards 0.6s;
}

.vision-pillar:nth-child(4) {
    animation: pillarReveal 0.8s forwards 0.8s;
}

.vision-subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 900;
    font-size: 2.2rem;
    color: var(--accent);
    margin-top: -10px;
    margin-bottom: 0;

        text-align: center;
    letter-spacing: 2px;
    animation: rhythmicPulse 3s ease-in-out infinite;
}

.gallery-divider-img {
    display: block;
    margin: 0 auto;
    max-width: 450px;
    height: auto;
    margin-top: -200px;
    margin-bottom: 0;

        opacity: 1;
    filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.3));
}

.gallery-grid {
    margin-top: -25px;

        columns: 3 300px;
    column-gap: 30px;
    width: 100%;
}

@keyframes rhythmicPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.98);
        text-shadow: none;
    }
}

.interactive-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.interactive-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.1);
}

.card-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(212, 175, 55, 0.05),
            transparent);
    transition: 0.6s;
    pointer-events: none;
}

.interactive-card:hover .card-glow {
    left: 100%;
}

.faculty-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.faculty-tile {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.faculty-tile i {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faculty-tile span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
}

.faculty-tile:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--accent);
    transform: scale(1.05);
}

.faculty-tile:hover i {
    transform: translateY(-5px) scale(1.1);
}

.subject-categories {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.category-header i {
    color: var(--accent);
    font-size: 1.1rem;
}

.category-header strong {
    font-size: 1rem;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.subject-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subject-badge {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    cursor: pointer;
}

.subject-badge:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
    .faculty-tiles {
        grid-template-columns: 1fr;
    }
}

.expertise-section {
    padding-left: 12% !important;
    padding-right: 12% !important;
    margin: 0 auto;
}

.expertise-section .grid {
    gap: 25px !important;

    }

.expertise-section .interactive-card {
    padding: 22px 25px !important;

        max-width: 480px;

        margin: 0 auto;
}

.expertise-section .faculty-tiles {
    gap: 12px;
    margin-top: 5px;
}

.expertise-section .faculty-tile {
    padding: 10px;
    border-radius: 12px;
}

.expertise-section .faculty-tile i {
    font-size: 1.1rem;

    }

.expertise-section .faculty-tile span {
    font-size: 0.75rem;

    }

.expertise-section .subject-categories {
    gap: 15px;

    }

.expertise-section .category-header {
    margin-bottom: 8px;
}

.expertise-section .category-header strong {
    font-size: 0.85rem;
}

.expertise-section .subject-badges {
    gap: 6px;

    }

.expertise-section .subject-badge {
    padding: 4px 10px;
    font-size: 0.7rem;

        border-radius: 15px;
}

@media (max-width: 1024px) {
    .expertise-section {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }

    .expertise-section .grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .expertise-section .interactive-card {
        max-width: 100%;
    }
}

.cert-card {
    display: flex;
    gap: 25px;
    padding: 35px !important;
    align-items: flex-start;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1) !important;
}

.cert-icon {
    font-size: 2.5rem;
    color: var(--accent);
    padding: 15px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    animation: gold-pulse 3s infinite;
}

.cert-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.cert-pill {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cert-pill strong {
    display: block;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 4px;
}

.cert-pill span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cert-pill:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent);
    transform: translateX(5px);
}

.impact-pillar-card {
    position: relative;
    padding: 40px !important;
    overflow: hidden;
}

.pillar-bg-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    opacity: 0.03;
    color: var(--accent);
    transform: rotate(-15deg);
}

.pillar-footer {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
}

.text-highlight {
    color: var(--accent);
    font-weight: 600;
}

@media (max-width: 768px) {
    .cert-badges {
        grid-template-columns: 1fr;
    }

    .cert-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.gallery-section {
    padding: 100px 10%;
    background: var(--secondary);
}

.gallery-grid {
    columns: 3 300px;
    column-gap: 30px;
    width: 100%;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 30px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--glass-shadow);
    border-color: var(--accent);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--accent-rgb), 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 30px;
    opacity: 0;
    transition: all 0.5s ease;
    transform: translateY(20px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 400;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    padding: 60px 20px 20px 20px;
    box-sizing: border-box;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    pointer-events: none;
}

.lightbox-caption h3 {
    font-family: 'Playfair Display', serif;
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    transform: translateY(-50%);
    pointer-events: none;
}

.lightbox-btn {
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    opacity: 0.5;
}

.lightbox-btn:hover {
    color: var(--accent);
    opacity: 1;
}

@media (max-width: 992px) {
    .gallery-grid {
        columns: 2;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        columns: 1;
    }
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: #1a1a1a;
    cursor: pointer;
    z-index: 2100;
    transition: all 0.4s ease;
    padding: 10px;
}

nav.scrolled .mobile-menu-btn {
    color: #ffffff;
}

@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transform: translateY(-100%);
        transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        z-index: 2000;
        opacity: 0;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        margin: 0;
        transform: translateY(30px);
        opacity: 0;
        transition: 0.4s ease;
    }

    .nav-links.active li {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.6s;
    }

    .nav-links.active li:nth-child(7) {
        transition-delay: 0.7s;
    }

    .nav-links a {
        font-size: 2rem;
        font-family: 'Playfair Display', serif;
        color: #0f172a !important;
    }

    .radial-contact-container {
        transform: scale(0.8);
        margin: 40px auto;
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .signature-logo {
        max-width: 250px;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .about-portrait-card {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

.roadmap-infographic {
    position: relative;
    width: 100%;
    padding: 100px 0;
    margin: 40px 0;
    min-height: 600px;
}

.infographic-svg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100px;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.2;
}

.infographic-path {
    stroke-dasharray: 10;
    animation: dashGrow 20s linear infinite;
}

@keyframes dashGrow {
    to {
        stroke-dashoffset: -200;
    }
}

.infographic-track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 2%;
}

.info-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: var(--transition);
}

.info-node {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
    border: 4px solid #fff;
    transition: var(--transition);
}

.info-item:hover .info-node {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.info-line {
    width: 2px;
    height: 60px;
    background: #e2e8f0;
    margin: 10px 0;
}

.info-content {
    background: var(--glass-grad);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    width: 180px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.info-item:hover .info-content {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.info-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    opacity: 0.2;
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-light);
}

.info-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.infographic-track {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    width: 100%;
    min-height: 600px;
}

.info-item {
    display: grid;
    grid-template-rows: 1fr 100px 1fr;

        align-items: center;
    justify-items: center;
    text-align: center;
    position: relative;
}

.info-node {
    grid-row: 2;

        width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 3;
    border: 4px solid #fff;
    transition: var(--transition);
}

.info-content {
    width: 180px;
    transition: var(--transition);
}

.info-item.top .info-content {
    grid-row: 1;
    align-self: end;
    margin-bottom: 20px;
}

.info-item.bottom .info-content {
    grid-row: 3;
    align-self: start;
    margin-top: 20px;
}

.info-item.top .info-line {
    grid-row: 1;
    align-self: end;
    height: 40px;
    width: 2px;
    background: #e2e8f0;
    position: absolute;
    bottom: 50px;

    }

.info-item.bottom .info-line {
    grid-row: 3;
    align-self: start;
    height: 40px;
    width: 2px;
    background: #e2e8f0;
    position: absolute;
    top: 50px;

    }

.stage-1 .info-node {
    background: #f1c40f;
}

.stage-2 .info-node {
    background: #3498db;
}

.stage-3 .info-node {
    background: #2ecc71;
}

.stage-4 .info-node {
    background: #e74c3c;
}

.stage-5 .info-node {
    background: #9b59b6;
}

.stage-6 .info-node {
    background: #e67e22;
}

.stage-7 .info-node {
    background: #1abc9c;
}

.stage-8 .info-node {
    background: #34495e;
}

@media (max-width: 1100px) {
    .infographic-track {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }

    .infographic-svg {
        display: none;
    }

    .info-item {
        flex: none;
        width: calc(50% - 40px);
    }
}

@media (max-width: 600px) {
    .info-item {
        width: 100%;
    }

    .info-item.bottom {
        flex-direction: column;
    }

    .info-line {
        height: 30px;
    }
}

.premium-text-block {
    position: relative;
    max-width: 900px;
}

.premium-text-block p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    opacity: 0.85;
    text-align: justify;
    hyphens: auto;
}

.drop-cap {
    float: left;
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    line-height: 0.8;
    padding: 8px 12px 4px 0;
    color: var(--accent);
    font-weight: 800;
}

.text-highlight {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    display: inline;
    background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.08) 0%, rgba(var(--accent-rgb), 0.08) 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.3em;
    background-position: 0 90%;
    transition: background-size 0.3s ease;
}

.text-highlight:hover {
    background-size: 100% 100%;
}

.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }

.section-title.reveal {
    margin-bottom: 50px;
}

.quote-container {
    margin-top: 30px;
    border-left: 3px solid var(--accent);
    padding-left: 25px;
}

.quote-line {
    display: block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.quote-highlight {
    color: var(--accent);
    font-weight: 700;
    font-style: normal;
}

@media (max-width: 768px) {
    .premium-text-block p {
        text-align: left;
        font-size: 1.1rem;
    }

        .drop-cap {
        font-size: 4rem;
        padding-top: 4px;
    }
}

.bio-bg-element {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.05) 0%, transparent 70%);
    z-index: -1;
    filter: blur(30px);
    animation: slowRotate 20s linear infinite;
}

@keyframes slowRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.text-highlight::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 35%;
    background: rgba(var(--accent-rgb), 0.15);
    z-index: -1;
    transition: width 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-active .text-highlight::before {
    width: 100%;
    transition-delay: 0.5s;
}

.text-highlight:hover::before {
    height: 100%;
}

.bio-signature-container {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 1s ease 0.8s;
}

.reveal-active .bio-signature-container {
    opacity: 1;
    transform: translateX(0);
}

.bio-signature {
    height: 60px;
    width: auto;
    filter: brightness(0) drop-shadow(0.4px 0.4px 0 black) drop-shadow(-0.4px -0.4px 0 black);
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.bio-signature:hover {
    opacity: 1;
}

.magnetic-wrap {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-block;
}

.magnetic-wrap:hover {
    transform: scale(1.02) rotate(1deg);
}

.drop-cap {
    background: linear-gradient(135deg, var(--accent) 0%, #8a6d12 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 10px rgba(var(--accent-rgb), 0.1);
}

.quote-container {
    transition: all 0.6s ease;
}

.quote-container:hover {
    border-left-width: 8px;
    padding-left: 30px;
    background: rgba(var(--accent-rgb), 0.02);
}

.premium-image-container::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 50%;
    height: 300%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transform: rotate(45deg);
    transition: none;
    pointer-events: none;
    z-index: 4;
}

.premium-image-wrapper:hover .premium-image-container::after {
    animation: lightSweep 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes lightSweep {
    0% { top: -100%; left: -100%; }
    100% { top: 100%; left: 100%; }
}

.premium-image-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 10px 20px rgba(var(--accent-rgb), 0.05);
}

.magnetic-wrap {
    perspective: 1000px;
}

.magnetic-wrap:hover {
    transform: rotateX(2deg) rotateY(5deg) scale(1.01);
}

.name-tag {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    padding: 10px 22px !important;
    border-radius: 12px !important;
}

.name-tag span {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.15rem !important;
}

.bio-vertical-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.bio-portrait-centered {
    width: 320px;
    height: auto;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.pure-portrait {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.pure-portrait:hover {
    transform: scale(1.02);
}

.bio-vertical-layout .premium-text-block {
    margin: 0 auto;
}

.m-top-xl {
    margin-top: 80px;
}

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

.quote-container.text-center {
    border-left: none;
    border-top: 2px solid var(--accent);
    padding: 30px 20px;
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .content-grid {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 80px;
        align-items: flex-start;
    }

    .about-image-column {
        margin-top: 60px; 
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.bio-portrait-container {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
    opacity: 1 !important;
    transform: none !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.pure-portrait {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

.bio-social-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: -25px; 
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.bio-social-bar .social-icon-premium {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-grad);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.bio-social-bar .social-icon-premium:hover {
    transform: translateY(-8px) scale(1.1);
    color: var(--accent);
    border-color: rgba(var(--accent-rgb), 0.4);
    box-shadow: 0 15px 35px rgba(var(--accent-rgb), 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.bio-social-bar .social-icon-premium i {
    transition: transform 0.5s ease;
}

.bio-social-bar .social-icon-premium:hover i {
    transform: rotate(360deg);
}

.quote-container {
    margin-top: 20px;
    border-left: 3px solid var(--accent);
    padding-left: 25px;
    transition: all 0.4s ease;
}

.quote-container:hover {
    padding-left: 30px;
    background: rgba(var(--accent-rgb), 0.02);
}

.text-highlight {
    background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.12) 0%, rgba(var(--accent-rgb), 0.12) 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.2em;
    background-position: 0 88%;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.text-highlight:hover {
    background-size: 100% 100%;
    color: var(--text-light);
    text-shadow: 0 0 15px rgba(var(--accent-rgb), 0.1);
}

.drop-cap {
    margin-right: 15px;
    margin-top: 5px;
}

.bio-signature-container {
    margin-top: 60px;
}

.page-header.container {
    padding-top: 140px;
    padding-bottom: 60px;
    margin-bottom: 0;
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.subsidiary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 100px;
}

@media (min-width: 992px) {
    .subsidiary-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.subsidiary-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    height: 100%;
    position: relative;
}

.subsidiary-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.subsidiary-visual {
    margin-bottom: 25px;
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.subsidiary-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    padding: 10px;
    background: #fff;
    border: 1px solid #f0f0f0;
    transition: transform 0.5s ease;
}

.subsidiary-card:hover .subsidiary-logo {
    transform: scale(1.05);
}

.subsidiary-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.subsidiary-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.brand-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 20px;
}

.subsidiary-description p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.subsidiary-description ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.subsidiary-description li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.subsidiary-description i {
    color: var(--accent);
    margin-right: 12px;
    margin-top: 4px;
    font-size: 0.8rem;
}

.subsidiary-btn {
    margin-top: auto;
    padding: 14px 30px;
    background: linear-gradient(135deg, #d4af37 0%, #b08d1a 50%, #8a6d10 100%);
    background-size: 200% auto;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    border-radius: 50px;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(138, 109, 16, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.subsidiary-btn:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(138, 109, 16, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    border-color: rgba(var(--accent-rgb), 0.6);
}

.subsidiary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-25deg);
    transition: none;
}

.subsidiary-btn:hover::before {
    left: 150%;
    transition: 0.8s;
}

.subsidiary-btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.subsidiary-btn:hover i {
    transform: translateX(5px);
}

.subsidiary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    transition: width 0.4s ease;
}

.subsidiary-card:hover::before {
    width: 100px;
}

.subsidiary-card[data-brand="getting-roots"]::before { background: #daac0b; }
.subsidiary-card[data-brand="greeting-lives"]::before { background: #2ecc71; }
.subsidiary-card[data-brand="project-help"]::before { background: #3498db; }

.engagements-page {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    display: flex;
    overflow: hidden;
    color: #1a1a1a;
    transition: background 1.5s ease;
}

.engagements-page[data-theme="thought-leadership"] { background: #fdfbf1; }
.engagements-page[data-theme="executive-strategy"] { background: #f7f9fd; }
.engagements-page[data-theme="human-potential"] { background: #fcf8f8; }
.engagements-page[data-theme="global-impact"] { background: #f4fbf9; }

.engagements-page::before {
    content: '';
    position: absolute;
    top: 0; left: 40%; width: 1px; height: 100%;
    background: rgba(218, 172, 11, 0.12);
    z-index: 5;
}

.master-grid-progress {
    position: absolute;
    top: 0;
    left: 40%;
    width: 0; 
    height: 5px;
    background: var(--accent);
    z-index: 1000;
    cursor: ew-resize; 
    transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 20px rgba(218, 172, 11, 0.4);
}

.master-grid-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.split-navigator {
    flex: 0 0 40%;
    height: 100%;
    background: transparent;
    padding: 150px 80px 80px 80px;
    overflow-y: auto;
    border-right: 1px solid rgba(0,0,0,0.03);
    z-index: 2;
    scrollbar-width: none;
}

.split-navigator::-webkit-scrollbar { display: none; }

.split-navigator h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 40px;
    line-height: 0.95;
    color: #111;
    letter-spacing: -2px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    opacity: 0.25;
}

.nav-item.active {
    opacity: 1;
}

.nav-item .nav-idx {
    font-family: 'Outfit', sans-serif;
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--accent);
    width: 40px;
    letter-spacing: 2px;
}

.nav-item .nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #111;
    transition: all 0.4s ease;
}

.nav-item:hover .nav-title,
.nav-item.active .nav-title {
    transform: translateX(10px);
}

.split-dossier-viewport {
    flex: 1;
    height: 100%;
    padding: 150px 100px 80px 100px;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    perspective: 1000px; 
}

.dossier-underlay {
    position: absolute;
    width: 90%;
    height: 90%;
    background: rgba(218, 172, 11, 0.02);
    border: 1px solid rgba(218, 172, 11, 0.05);
    border-radius: 40px;
    z-index: -1;
    filter: blur(50px);
    transition: transform 0.2s ease-out; 
}

.dossier-frame {
    max-width: 100%; 
    width: 100%;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.1s ease-out;
}

.dossier-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
    position: absolute;
    width: 100%;
    visibility: hidden;
    pointer-events: none;
}

.dossier-content.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.dossier-h3 {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem; 
    line-height: 0.85;
    margin-bottom: 30px;
    color: #111;
    font-weight: 400;
    display: block;
    white-space: nowrap; 
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotateX(-90deg);
    filter: blur(10px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.dossier-content.active .char {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    filter: blur(0);
}

.dossier-p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 850px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease 0.6s;
}

.dossier-content.active .dossier-p {
    opacity: 1;
    transform: translateY(0);
}

.engagement-dna {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease 0.8s;
}

.dossier-content.active .engagement-dna {
    opacity: 1;
    transform: translateY(0);
}

.dna-module {
    flex: 1;
    padding-left: 20px;
    border-left: 1px solid rgba(218, 172, 11, 0.3);
}

.dna-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.dna-value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #111;
    line-height: 1.2;
}

.dossier-action {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 24px 50px;
    background: transparent;
    color: #111;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    border: 1px solid #111;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1) 1s, background 0.4s ease, color 0.4s ease;
}

.dossier-content.active .dossier-action {
    opacity: 1;
    transform: translateY(0);
}

.dossier-action::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: #111;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.dossier-action:hover {
    color: #fff;
    transform: scale(1.02);
}

.dossier-action:hover::before {
    left: 0;
}

@media (max-width: 1024px) {
    .engagements-page { flex-direction: column; height: auto; overflow-y: auto; }
    .engagements-page::before, .master-grid-progress, .dossier-underlay { display: none; }
    .split-navigator { flex: none; width: 100%; height: auto; padding: 140px 30px 40px 30px; border-right: none; }
    .split-dossier-viewport { flex: none; width: 100%; height: auto; padding: 40px 30px 80px 30px; }
    .dossier-content { position: relative; top: auto; transform: none; display: none; margin-bottom: 60px; }
    .dossier-content.active { display: block; transform: none; top: auto; }
    .dossier-h3 { font-size: 3.5rem; white-space: normal; letter-spacing: -1px; }
    .engagement-dna { flex-direction: column; gap: 20px; }
}

.engagements-clean {
    display: flex;
    min-height: 100vh;
    background: #fafafa;
    padding-top: 80px; 
    position: relative;
    z-index: 10;
}

.engagements-sidebar {
    width: 40%;
    padding: 80px 4% 80px 8%;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
}

.engagements-sidebar .sidebar-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 60px;
    color: #111;
    letter-spacing: -1px;
}

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

.engagements-list li {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 30px;
    opacity: 0.5;
}

.engagements-list li:hover {
    opacity: 0.8;
}

.engagements-list li.active {
    opacity: 1;
    border-bottom: 1px solid rgba(176, 141, 26, 0.4); 
}

.engagements-list .enum {
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
}

.engagements-list .ename {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #333;
    transition: color 0.3s;
}

.engagements-list li.active .ename {
    color: #000;
}

.engagements-detail {
    width: 60%;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 8%;
    background: #fafafa;
    overflow: hidden;
}

.engagements-detail .plus-mark {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    color: var(--accent);
    opacity: 0.6;
}

.stamp-circular {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 120px;
    height: 120px;
    opacity: 0.08;
    pointer-events: none;
    user-select: none;
}

.stamp-circular img {
    width: 100%;
    height: 100%;
    animation: rotate 30s linear infinite;
}

.stamp-text {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 50%;
    font-weight: 700;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.detail-content {
    max-width: 500px;
    width: 100%;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.eyebrow-line {
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.eyebrow-text {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
}

.detail-title {
    font-size: 3.5rem;
    line-height: 1.1;
    color: #111;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.detail-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.btn-black {
    display: inline-flex;
    align-items: center;
    background: #000;
    color: #fff;
    padding: 16px 32px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-black .arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-black:hover {
    background: #222;
}

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

@media (max-width: 1024px) {
    .engagements-clean {
        flex-direction: column;
        padding-top: 100px;
    }
    .engagements-sidebar {
        width: 100%;
        padding: 40px 6%;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .engagements-sidebar .sidebar-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    .engagements-detail {
        width: 100%;
        position: relative;
        top: auto;
        height: auto;
        padding: 60px 6%;
    }
    .detail-title {
        font-size: 2.8rem;
    }
    .stamp-circular {
        top: 20px;
        right: 20px;
        width: 80px;
        height: 80px;
    }
}

.engagement-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.engagement-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.engagement-modal-content {
    background: #fdfdfd;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    border: none;
    border-radius: 16px;
    padding: 40px 50px;
    width: 90%;
    max-width: 650px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.engagement-modal-overlay.active .engagement-modal-content {
    transform: translateY(0) scale(1);
}

.engagement-modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #1a1e29;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1.2);
    transform-origin: center;
}

.engagement-modal-close:hover {
    color: var(--accent);
    transform: rotate(90deg) scale(1.15);
}

.engagement-modal-title,
.engagement-modal-subtitle,
.engagement-form > div,
.engagement-form > .submit-btn {
    opacity: 0;
    transform: translateY(20px);
}

.engagement-modal-overlay.active .engagement-modal-title {
    animation: modalFadeUp 0.6s forwards cubic-bezier(0.19, 1, 0.22, 1) 0.1s;
}
.engagement-modal-overlay.active .engagement-modal-subtitle {
    animation: modalFadeUp 0.6s forwards cubic-bezier(0.19, 1, 0.22, 1) 0.15s;
}
.engagement-modal-overlay.active .engagement-form > div:nth-of-type(1) {
    animation: modalFadeUp 0.6s forwards cubic-bezier(0.19, 1, 0.22, 1) 0.2s;
}
.engagement-modal-overlay.active .engagement-form > div:nth-of-type(2) {
    animation: modalFadeUp 0.6s forwards cubic-bezier(0.19, 1, 0.22, 1) 0.25s;
}
.engagement-modal-overlay.active .engagement-form > div:nth-of-type(3) {
    animation: modalFadeUp 0.6s forwards cubic-bezier(0.19, 1, 0.22, 1) 0.3s;
}
.engagement-modal-overlay.active .engagement-form > .submit-btn {
    animation: modalFadeUp 0.6s forwards cubic-bezier(0.19, 1, 0.22, 1) 0.35s;
}

@keyframes modalFadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.engagement-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #1a1e29;
    margin-bottom: 8px;
    line-height: 1.2;
    font-weight: 700;
}

.engagement-modal-subtitle {
    font-size: 1rem;
    color: #556070;
    margin-bottom: 35px;
    font-weight: 400;
}

.engagement-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.engagement-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    text-align: left;
}

.engagement-form-group label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #1a1e29;
    text-transform: uppercase;
}

.engagement-form-group input,
.engagement-form-group textarea {
    padding: 16px 20px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #1a1e29;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.engagement-form-group input::placeholder,
.engagement-form-group textarea::placeholder {
    color: #8892a0;
    font-weight: 300;
}

.engagement-form-group input:focus,
.engagement-form-group textarea:focus {
    outline: none;
    border-color: #c5a040;
    box-shadow: 0 0 0 4px rgba(197, 160, 64, 0.15);
    background: #fff;
}

.engagement-form textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.engagement-form .submit-btn {
    margin-top: 15px;
    width: 100%;
    font-size: 1rem;
    padding: 18px;
    background: #c5a040;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(197, 160, 64, 0.3);
}

.engagement-form .submit-btn:hover {
    background: #daa520;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(218, 165, 32, 0.4);
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .engagement-modal-content {
        padding: 30px 20px;
    }
}

.right-sidebar-toggle {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2005;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 20px 10px;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.right-sidebar-toggle:hover {
    background: #8a6d10;
    padding-right: 15px;
}

.btn-vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
}

.right-sidebar-toggle i {
    font-size: 1.2rem;
}

.right-sidebar {
    position: fixed;
    right: -320px;
    top: 0;
    width: 320px;
    height: 100vh;
    background: #fdfdfd;
    box-shadow: -15px 0 40px rgba(0,0,0,0.15);
    z-index: 2000;
    padding: 80px 30px 40px 30px;
    transition: right 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    overflow-y: auto;
}

.right-sidebar.active {
    right: 0;
}

.right-sidebar-header {
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(176, 141, 26, 0.2);
    padding-bottom: 15px;
}

.right-sidebar-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #1a1e29;
    font-weight: 700;
}

.right-sidebar .engagements-list li {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 18px 0;
    margin-bottom: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s ease;
}

.right-sidebar .engagements-list li:last-child {
    border-bottom: none;
}

.right-sidebar .engagements-list li .enum {
    color: #c5a040;
    font-weight: 800;
    margin-right: 15px;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
}

.right-sidebar .engagements-list li .ename {
    color: #6a7281;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.2px;
    transition: color 0.3s ease;
}

.right-sidebar .engagements-list li:hover .ename {
    color: #1a1e29;
}

.right-sidebar.active .engagements-list li {
    animation: slideInRightSoft 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.right-sidebar.active .engagements-list li:nth-child(1) { animation-delay: 0.15s; }
.right-sidebar.active .engagements-list li:nth-child(2) { animation-delay: 0.20s; }
.right-sidebar.active .engagements-list li:nth-child(3) { animation-delay: 0.25s; }
.right-sidebar.active .engagements-list li:nth-child(4) { animation-delay: 0.30s; }
.right-sidebar.active .engagements-list li:nth-child(5) { animation-delay: 0.35s; }
.right-sidebar.active .engagements-list li:nth-child(6) { animation-delay: 0.40s; }
.right-sidebar.active .engagements-list li:nth-child(7) { animation-delay: 0.45s; }
.right-sidebar.active .engagements-list li:nth-child(8) { animation-delay: 0.50s; }

@keyframes slideInRightSoft {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
    .right-sidebar {
        width: 280px;
        right: -280px;
    }
}

.nav-links .dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links .dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: #ffffff; 
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    z-index: 99999; 
    border: 1px solid rgba(0,0,0,0.05);
    padding: 10px 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.nav-links .dropdown:hover .dropdown-content,
.nav-links .dropdown:focus-within .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
    pointer-events: auto;
}

nav.scrolled .nav-links .dropdown-content a,
.nav-links .dropdown-content a {
    color: #1a1a1a !important; 
    padding: 12px 24px !important;
    text-decoration: none !important;
    display: block !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-family: 'Outfit', sans-serif !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
    opacity: 1 !important;
    letter-spacing: 0.15em !important;
    border: none !important;
    background: transparent !important;
    width: 100%;
    box-sizing: border-box;
}

nav.scrolled .nav-links .dropdown-content a:hover,
.nav-links .dropdown-content a:hover {
    background-color: rgba(176, 141, 26, 0.1) !important;
    color: #b08d1a !important;
    letter-spacing: 0.25em !important;
}

nav.scrolled .nav-links .dropdown-content a::after,
.nav-links .dropdown-content a::after {
    display: none !important;
}

.nav-links .dropbtn {
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(176, 141, 26, 0.1);
}

.featured-badge {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
}

.featured-link {
    text-decoration: none;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.featured-link i {
    transition: transform 0.3s ease;
}

.featured-link:hover {
    color: #8a6d10;
    border-bottom: 1px solid var(--accent);
}

.featured-link:hover i {
    transform: translateX(6px);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: rgba(176, 141, 26, 0.3);
}

.featured-img-container {
    width: 100%;
    height: 220px;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.featured-img-container img {
    max-width: 75%;
    max-height: 75%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-img-container img {
    transform: scale(1.05);
}

.featured-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.featured-img-container, .featured-content {
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
}

.featured-card.fading .featured-img-container,
.featured-card.fading .featured-content {
    opacity: 0;
    transform: scale(0.96);
    filter: blur(4px);
}

@media (max-width: 900px) {
    .nav-links .dropdown {
        flex-direction: column;
        width: 100%;
    }
    .nav-links .dropdown-content {
        position: static;
        transform: none !important;
        box-shadow: none;
        background: transparent;
        border: none;
        width: 100%;
        visibility: visible;
        opacity: 1;
        padding: 5px 0;
        display: none; 
    }

    .nav-links .dropdown.open .dropdown-content,
    .nav-links .dropdown:active .dropdown-content,
    .nav-links .dropdown:hover .dropdown-content {
        display: flex;
    }

    nav.scrolled .nav-links .dropdown-content a,
    .nav-links .dropdown-content a {
        padding: 10px !important;
        font-size: 1.2rem !important;
        color: #fff !important; 
    }
}

.engagement-carousel {
    position: relative;
    width: 100%;
    height: 320px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
}

.engagement-carousel::before {
    content: '';
    position: absolute;
    bottom: -50px;
    width: 150%;
    height: 100px;
    background: radial-gradient(ellipse at center, rgba(176, 141, 26, 0.15) 0%, transparent 60%);
    z-index: 0;
}

.ec-slide {
    position: absolute;
    width: auto;
    height: 95%;
    object-fit: contain;
    opacity: 0;
    transform: translateX(50px) scale(0.9) translateY(-15px);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
    pointer-events: none;
    z-index: 1;
}

.ec-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1.05) translateY(-25px);
    z-index: 2;
    pointer-events: auto;
}

.ec-slide.exit {
    opacity: 0;
    transform: translateX(-50px) scale(0.9) translateY(-15px);
}

.ec-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid rgba(218, 172, 11, 0.2);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ec-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(176, 141, 26, 0.3);
}

.ec-btn.left { left: 10px; }
.ec-btn.right { right: 10px; }

/* ========================================================================= */
/* COMPREHENSIVE MOBILE RESPONSIVENESS FIXES (iOS & ANDROID)                 */
/* ========================================================================= */

@media (max-width: 768px) {
    /* 1. Typography & Global Scales */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        -webkit-text-size-adjust: 100%;
    }

    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    h1, .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    h2, .section-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }

    p, .text-xl, .hero-sub, .text-lg, .text-md, .text-sm {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    .drop-cap {
        font-size: 3.5rem !important;
    }

    .floating-stat {
        transform: scale(0.65) !important;
        right: -10px !important;
        bottom: 78px !important;
    }

    /* 2. Grid & Layout Resizing */
    .grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .hero-container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 30px !important;
        padding: calc(88px + env(safe-area-inset-top)) 20px calc(36px + env(safe-area-inset-bottom)) !important;
    }

    .hero-text-content {
        align-items: center !important;
    }
    
    .typewriter-wrapper {
        justify-content: center !important;
    }

    .hero-portrait {
        max-width: 80% !important;
        margin: 0 auto !important;
    }

    .hero-text-content h1 {
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    .hero-actions {
        justify-content: center !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    .hero-actions .btn {
        width: 100% !important;
    }

    .hero-social-bar {
        position: static;
        transform: none;
        margin-top: 14px;
        gap: 10px;
        flex-wrap: wrap;
        padding: 8px 10px;
    }

    .hero-social-bar a {
        width: 42px;
        height: 42px;
    }

    .about-section, .light-section, .gallery-section, .expertise-section, .experience-section {
        padding: 50px 20px !important;
    }

    .project-socials {
        justify-content: center !important;
    }

    /* 3. Flip Cards & Interactive Layouts */
    .flip-card-inner {
        min-height: 350px !important;
    }

    .cert-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 25px !important;
    }

    .cert-badges {
        grid-template-columns: 1fr !important;
    }

    .gallery-grid {
        columns: 1 !important;
    }

    /* 4. Footer Tweaks */
    .footer-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 30px !important;
    }

    .initiative-logos {
        justify-content: center !important;
    }

    /* 5. Right Sidebar (Engagements API) for Mobile */
    .right-sidebar {
        width: 85vw !important;
        max-width: 320px !important;
    }

    /* 6. Navigation iOS Safari Fixes */
    .nav-links {
        height: calc(var(--vh, 1vh) * 100) !important;
        height: 100dvh !important; /* iOS fix */
        height: 100svh !important;
        padding-top: 80px !important;
        padding-bottom: calc(20px + env(safe-area-inset-bottom)) !important;
        justify-content: flex-start !important;
        overflow-y: auto !important;
    }
    
    .featured-card {
        flex-direction: column !important;
    }
    
    .featured-img-container {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 2px solid var(--glass-border) !important;
    }
}

@media (max-width: 480px) {
    /* Hard overrides for very small iPhones / Androids */
    .signature-logo {
        max-width: 180px !important;
    }
    .hero-portrait {
        max-width: 100% !important;
    }
}
