/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    /* Core Palette */
    --text: #040316;
    --background: #fbfbfe;
    --primary: #862d2d;
    --secondary: #040316;
    --accent: #b1b1b9;

    /* Legacy aliases */
    --color-primary: var(--primary);
    --color-primary-dark: #601e1e;
    --color-secondary: var(--secondary);
    --color-beige: var(--background);
    --color-milky: var(--background);
    --color-white: var(--background);
    --color-gray: #5d5d6d;
    --color-outline: #d8d8e8;
    --color-dark: var(--secondary);
    --color-text: var(--text);
    --shadow-primary-soft: rgba(134, 45, 45, 0.25);
    --shadow-primary-strong: rgba(134, 45, 45, 0.4);

    /* Typography */
    --font-primary: 'Zain', 'Segoe UI', sans-serif;
    --type-ratio: 1.618;
    --h1-size: 78px;
    --h2-size: calc(var(--h1-size) / var(--type-ratio));
    --h3-size: calc(var(--h2-size) / var(--type-ratio));
    --h4-size: calc(var(--h3-size) / var(--type-ratio));
    --h5-size: calc(var(--h4-size) / var(--type-ratio));
    --small-size: calc(1rem / var(--type-ratio));

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --nav-mobile-menu-offset: 80px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    font-size: 100%;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--color-text);
    background: var(--background);
    line-height: 1.65;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-primary);
    color: var(--color-dark);
    line-height: 1.2;
}

h1 {
    font-size: var(--h1-size);
    font-weight: 700;
}

h2 {
    font-size: var(--h2-size);
    font-weight: 600;
}

h3 {
    font-size: max(1rem, var(--h3-size));
    font-weight: 600;
}

h4 {
    font-size: max(0.9rem, var(--h4-size));
    font-weight: 500;
}

h5 {
    font-size: max(0.8rem, var(--h5-size));
    font-weight: 500;
    letter-spacing: 0.02em;
}

small {
    font-size: max(0.7rem, var(--small-size));
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    z-index: 1000;
    transition: background 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    transform: translateY(0);
    will-change: transform, background, box-shadow;
    pointer-events: none;
}

.navbar.scrolled {
    background: transparent;
    box-shadow: none;
}

.navbar.compact {
    top: 12px;
    background: transparent;
    box-shadow: none;
    transform: translateY(0);
    backdrop-filter: none;
}

.nav-container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(32px, 5vw, 72px);
    padding: 22px clamp(28px, 5vw, 72px);
    position: relative;
    border-radius: 32px;
    background: rgba(251, 251, 254, 0.95);
    border: 1px solid transparent;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.12);
    transition: gap 0.4s ease;
    will-change: width, padding, margin, border-radius, box-shadow;
    pointer-events: auto;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: 2px;
    transition: font-size 0.55s cubic-bezier(0.19, 1, 0.22, 1),
        letter-spacing 0.55s cubic-bezier(0.19, 1, 0.22, 1);
}

.logo span {
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    transition: gap 0.45s ease,
        justify-content 0.45s ease,
        transform 0.45s ease;
    justify-content: center;
    will-change: transform;
}

.nav-menu li a {
    font-weight: 500;
    color: var(--color-dark);
    transition: var(--transition-fast);
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--color-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-dark);
    transition: var(--transition-fast);
}

.navbar.compact .nav-container {
    background: var(--color-white);
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 25px 55px rgba(4, 3, 22, 0.22);
    padding: 10px 36px;
    width: auto;
    max-width: min(880px, calc(100% - 40px));
    margin: 0 auto;
    backdrop-filter: none;
    gap: 24px;
    justify-content: center;
}

.navbar.compact .logo h1 {
    font-size: 20px;
    letter-spacing: 1px;
}

.navbar.compact .nav-menu {
    gap: 22px;
    justify-content: center;
}

@media (max-width: 968px) {
    .navbar {
        padding: 0;
        background: rgba(251, 251, 254, 0.98);
        box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
        pointer-events: auto;
    }

    .nav-container {
        width: 100%;
        max-width: none;
        border-radius: 0;
        padding: 20px;
        justify-content: space-between;
        gap: 16px;
        box-shadow: none;
    }

    .logo {
        position: relative;
        left: 0;
        transform: none;
        opacity: 1;
    }

    .hamburger {
        position: static;
    }
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(134, 45, 45, 0.94) 0%, rgba(4, 3, 22, 0.9) 100%),
        url('../assets/images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
}

/* Smooth gradient fade at bottom of hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, rgba(4, 3, 22, 0.65));
    z-index: 3;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

/* Big Ben Rising Animation */
.big-ben-container {
    position: absolute;
    right: 5%;
    bottom: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    z-index: 2;
    pointer-events: none;
}

.big-ben-image {
    height: 85%;
    width: auto;
    object-fit: contain;
    transform: translateY(100%);
    animation: bigBenRise 2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.4));
}

/* Reveal/Tear Effect Mask */
.hero-reveal-mask {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(135deg, rgba(134, 45, 45, 0.94) 0%, rgba(4, 3, 22, 0.9) 100%);
    z-index: 3;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    animation: tearReveal 2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}

@keyframes bigBenRise {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes tearReveal {
    0% {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    }

    50% {
        clip-path: polygon(0 100%,
                100% 100%,
                100% 40%,
                95% 35%,
                90% 45%,
                85% 30%,
                80% 40%,
                75% 25%,
                70% 35%,
                65% 30%,
                60% 40%,
                55% 35%,
                50% 45%,
                45% 40%,
                40% 50%,
                35% 45%,
                30% 55%,
                25% 50%,
                20% 60%,
                15% 55%,
                10% 65%,
                5% 60%,
                0 70%);
    }

    100% {
        clip-path: polygon(0 100%,
                100% 100%,
                100% -10%,
                95% -5%,
                90% -8%,
                85% -3%,
                80% -6%,
                75% -2%,
                70% -4%,
                65% -1%,
                60% -3%,
                55% 0%,
                50% -2%,
                45% 1%,
                40% -1%,
                35% 2%,
                30% 0%,
                25% 3%,
                20% 1%,
                15% 4%,
                10% 2%,
                5% 5%,
                0 3%);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-title {
    font-size: 120px;
    font-weight: 800;
    margin-bottom: 24px;
    padding: 20px 0;
    color: var(--color-white);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    opacity: 0;
}

.scroll-indicator span {
    width: 2px;
    height: 40px;
    background: var(--color-white);
    animation: scrollAnimation 2s infinite;
}

.scroll-indicator p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes scrollAnimation {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.3;
    }

    50% {
        transform: translateY(10px);
        opacity: 1;
    }
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: var(--color-white);
    border: 1px solid var(--color-outline);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 10px 30px var(--shadow-primary-soft);
}

.btn-secondary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-primary-strong);
}

/* ===========================
   Animated Button
   =========================== */
.animated-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 16px 36px;
    border: 4px solid;
    border-color: transparent;
    font-size: 16px;
    font-weight: 600;
    background-color: transparent;
    border-radius: 100px;
    color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.animated-button svg {
    position: absolute;
    width: 24px;
    fill: var(--color-primary);
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
    right: 16px;
}

.animated-button .arr-2 {
    left: -25%;
}

.animated-button .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: var(--color-primary);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
    box-shadow: 0 0 0 12px transparent;
    color: var(--color-white);
    border-radius: 100px;
}

.animated-button:hover .arr-1 {
    right: -25%;
}

.animated-button:hover .arr-2 {
    left: 16px;
}

.animated-button:hover .text {
    transform: translateX(12px);
}

.animated-button:hover svg {
    fill: var(--color-white);
}

.animated-button:active {
    scale: 0.95;
    box-shadow: 0 0 0 4px var(--color-primary);
}

.animated-button:hover .circle {
    width: 600px;
    height: 600px;
    opacity: 1;
}

/* Animated Button Light Variant (for dark backgrounds) */
.animated-button.btn-light {
    color: var(--color-white);
    box-shadow: 0 0 0 2px var(--color-white);
}

.animated-button.btn-light svg {
    fill: var(--color-white);
}

.animated-button.btn-light .circle {
    background-color: var(--color-white);
}

.animated-button.btn-light:hover {
    color: var(--color-primary);
}

.animated-button.btn-light:hover svg {
    fill: var(--color-primary);
}

.animated-button.btn-light:active {
    box-shadow: 0 0 0 4px var(--color-white);
}

/* ===========================
   Mission Overview Section
   =========================== */
.mission-overview {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--color-white) 0%, rgba(134, 45, 45, 0.04) 100%);
    position: relative;
    z-index: 5;
}

.mission-panel {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.mission-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr);
    gap: clamp(24px, 3vw, 36px);
    align-items: stretch;
}

.mission-overview .mission-card {
    background: var(--color-white);
    border-radius: 28px;
    border: 1px solid rgba(4, 3, 22, 0.04);
    box-shadow: 0 35px 120px rgba(4, 3, 22, 0.16);
}

.mission-main {
    padding: clamp(28px, 4vw, 52px);
}

.mission-copy .eyebrow {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 13px;
    color: var(--color-primary);
    margin-bottom: 18px;
    font-weight: 600;
}

.mission-copy {
    max-width: 640px;
}

.mission-copy h2 {
    font-size: var(--h2-size);
    margin-bottom: 24px;
    color: var(--color-dark);
}

.mission-copy p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--color-gray);
}

.mission-actions {
    display: flex;
    gap: 20px;
    margin-top: 32px;
    flex-wrap: wrap;
}


.mission-sidebar {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.sidebar-frame {
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    display: flex;
}

.sidebar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

/* ===========================
   Difference Section
   =========================== */
.difference-section {
    padding: var(--section-padding);
    background: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: var(--h2-size);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.header-line {
    width: 80px;
    height: 4px;
    background: var(--color-primary);
    margin: 0 auto;
}

.difference-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.difference-text h3 {
    font-size: var(--h3-size);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 24px;
}

.difference-text p {
    font-size: 16px;
    color: var(--color-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.uk-office {
    margin-top: 30px;
    padding: 25px;
    background: var(--color-white);
    border: 1px solid var(--color-outline);
    border-left: 4px solid var(--color-primary);
    border-radius: 8px;
}

.uk-office h4 {
    font-size: var(--h4-size);
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.uk-office p {
    font-size: 16px;
    color: var(--color-gray);
}

.difference-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.difference-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.difference-image:hover img {
    transform: scale(1.05);
}

/* ===========================
   Mission Section
   =========================== */
.mission-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    position: relative;
    z-index: 6;
    box-shadow: 0 0 60px var(--shadow-primary-soft);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.mission-section .mission-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mission-card h3 {
    font-size: var(--h3-size);
    font-weight: 700;
    margin-bottom: 20px;
}

.mission-card p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
}

.core-focus-list {
    list-style: none;
}

.core-focus-list li {
    font-size: 16px;
    margin-bottom: 16px;
    padding-left: 25px;
    position: relative;
    line-height: 1.8;
}

.core-focus-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-white);
    font-weight: 700;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    padding: 100px 0;
    background: var(--color-white);
    position: relative;
    z-index: 5;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.5;
}

.cta-content h2 {
    font-size: var(--h2-size);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: var(--color-gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: var(--h3-size);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-col h3 span {
    color: var(--color-primary);
}

.footer-col h4 {
    font-size: var(--h4-size);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--color-primary);
    padding-left: 5px;
}

.contact-info li {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.6;
}

/* ===========================
   Social Media Links
   =========================== */
.social-media-card {
    width: fit-content;
    height: fit-content;
    background-color: rgba(245, 245, 220, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 25px;
    gap: 20px;
    box-shadow: 0px 10px 30px rgba(4, 3, 22, 0.08);
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid rgba(177, 177, 185, 0.4);
}

.socialContainer {
    width: 52px;
    height: 52px;
    background-color: #3A3A3A;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition-duration: .3s;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
}

/* Instagram */
.containerOne:hover {
    background-color: #d62976;
    transition-duration: .3s;
}

/* Twitter/X */
.containerTwo:hover {
    background-color: #000000;
    transition-duration: .3s;
}

/* LinkedIn */
.containerThree:hover {
    background-color: #0072b1;
    transition-duration: .3s;
}

/* WhatsApp */
.containerFour:hover {
    background-color: #128C7E;
    transition-duration: .3s;
}

.socialSvg {
    width: 17px;
}

.socialSvg path {
    fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg path {
    fill: rgb(255, 255, 255);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 80px;
    }

    .mission-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-copy h2 {
        font-size: 42px;
    }

    .sidebar-frame {
        height: 400px;
    }

    .difference-content {
        grid-template-columns: 1fr;
    }

    .difference-image {
        order: -1;
        height: 400px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 56px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-media-card {
        margin: 20px auto 0;
    }

    .uk-office {
        border-left: 1px solid var(--color-outline);
        border-top: 4px solid var(--color-primary);
    }
}

/* Steps Section */
.steps-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.steps-section {
    width: 100%;
    max-width: 940px;
    padding: 40px 16px;
    text-align: center;
}

.steps-section .section-title {
    font-size: var(--h1-size);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.steps-section .section-desc {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.steps {
    width: 100%;
    padding-bottom: 40px;
}

.steps .swiper-slide {
    width: 300px;
    /* Fixed width for slides */
    height: auto;
}

.card-wrapper {
    position: relative;
}

.card {
    --r: 30px;
    /* radius */
    --s: 40px;
    /* inner curve size */
    background-color: #862d2d;
    padding: 24px;
    width: 100%;
    text-align: left;
    border-radius: 30px;
    clip-path: shape(from 0 0,
            hline to calc(100% - var(--s) - 2 * var(--r)),
            arc by var(--r) var(--r) of var(--r) cw,
            arc by var(--s) var(--s) of var(--s),
            arc by var(--r) var(--r) of var(--r) cw,
            vline to 100%,
            hline to 0);
}

.card-circle {
    width: 60px;
    height: 60px;
    background-color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    padding-right: 70px;
    color: #fff;
}

.card-desc {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 12px;
    padding-right: 65px;
}

.card-figure {
    height: 200px;
    background-color: #eee;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.card-img {
    height: 100%;
    position: absolute;
    width: 100%;
    inset: 0;
    object-fit: cover;
}

.swiper-pagination {
    position: static;
    margin-top: 24px;
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #1a1a1a;
    width: 24px;
    border-radius: 4px;
}

.no-support {
    position: fixed;
    inset: 0;
    background-color: #000d;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1em;
    z-index: 10;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

@supports (clip-path: shape(from 0 0, move to 0 0)) {
    .no-support {
        display: none;
    }
}

/* ===========================
   Knitwear Showcase Section
   =========================== */
.knitwear-showcase {
    --slider-gap: 1.25rem;
    --slider-speed: 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --slider-closed: 5rem;
    --slider-open: 30rem;
    --slider-accent: #ff6b35;

    background: #07090d;
    color: #c5c7ce;
    padding: 80px 20px;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    /* Ensure Inter is available or fallback */
}

.knitwear-head {
    max-width: 1400px;
    margin: auto;
    padding: 0 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
}

.knitwear-head h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.2;
    color: #fff;
    margin: 0;
}

@media (min-width: 1024px) {
    .knitwear-head h2 {
        font-size: 2.25rem;
    }
}

.knitwear-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.knitwear-nav-btn:hover {
    background: var(--slider-accent);
}

.knitwear-nav-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.knitwear-slider {
    max-width: 1400px;
    margin: auto;
    overflow: hidden;
}

.knitwear-controls {
    display: flex;
    flex-direction: row;
    gap: 0.rem;
}

.knitwear-track {
    display: flex;
    gap: var(--slider-gap);
    align-items: flex-start;
    justify-content: center;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 40px;
}

.knitwear-track::-webkit-scrollbar {
    display: none;
}

.knitwear-card {
    position: relative;
    flex: 0 0 var(--slider-closed);
    height: 26rem;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: flex-basis var(--slider-speed), transform var(--slider-speed);
}

.knitwear-card[active] {
    flex-basis: var(--slider-open);
    transform: translateY(-6px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

.knitwear-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75) saturate(75%);
    transition: filter 0.3s, transform var(--slider-speed);
}

.knitwear-card:hover .knitwear-card__bg {
    filter: brightness(0.9) saturate(100%);
    transform: scale(1.06);
}

.knitwear-card__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    padding: 0;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
}

.knitwear-card__title {
    color: #fff;
    font-weight: 700;
    font-size: 1.35rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.knitwear-card__thumb,
.knitwear-card__desc,
.knitwear-card__btn,
.knitwear-card__tagline {
    display: none;
}

.knitwear-card[active] .knitwear-card__content {
    flex-direction: row;
    align-items: center;
    padding: 1.2rem 2rem;
    gap: 1.1rem;
}

.knitwear-card[active] .knitwear-card__title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.knitwear-card[active] .knitwear-card__thumb,
.knitwear-card[active] .knitwear-card__desc,
.knitwear-card[active] .knitwear-card__btn,
.knitwear-card[active] .knitwear-card__tagline {
    display: block;
}

.knitwear-card__thumb {
    width: 133px;
    height: 269px;
    border-radius: 0.45rem;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.knitwear-card__tagline {
    color: var(--slider-accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.knitwear-card__desc {
    color: #ddd;
    font-size: 1rem;
    line-height: 1.4;
    max-width: 20rem;
}

.knitwear-card__btn {
    padding: 0.55rem 1.3rem;
    border: none;
    border-radius: 9999px;
    background: var(--slider-accent);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
}

.knitwear-card__btn:hover {
    background: #ff824f;
}

.knitwear-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 20px 0;
}

.knitwear-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: 0.3s;
}

.knitwear-dot.active {
    background: var(--slider-accent);
    transform: scale(1.2);
}

@media (max-width: 767px) {
    .knitwear-showcase {
        --slider-closed: 4rem;
        --slider-open: 22rem;
        padding: 50px 20px 30px;
    }

    .knitwear-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0 0 20px;
    }

    .knitwear-track {
        flex-direction: column;
        scroll-snap-type: y mandatory;
        align-items: center;
        justify-content: flex-start;
        padding-bottom: 0;
        gap: 0.8rem;
    }

    .knitwear-card {
        height: auto;
        min-height: 80px;
        flex: 0 0 auto;
        width: 100%;
        scroll-snap-align: start;
    }

    .knitwear-card[active] {
        min-height: 300px;
        transform: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    .knitwear-card__title {
        font-size: 1.1rem;
        writing-mode: horizontal-tb;
        transform: none;
        text-align: center;
        padding-inline: 0.3rem;
    }

    .knitwear-card__content {
        flex-direction: row;
        justify-content: flex-start;
        padding: 1rem;
        align-items: center;
        gap: 1rem;
    }

    .knitwear-card[active] .knitwear-card__content {
        align-items: flex-start;
        padding: 1.5rem;
        flex-wrap: wrap;
    }

    .knitwear-card[active] .knitwear-card__thumb {
        width: 100px;
        height: 140px;
        margin-bottom: 0;
    }

    .knitwear-card[active] .knitwear-card__title {
        font-size: 1.5rem;
        margin-top: 0;
        text-align: left;
    }

    .knitwear-card[active] .knitwear-card__desc {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .knitwear-dots {
        display: none;
    }

    .knitwear-controls {
        width: 100%;
        justify-content: space-between;
    }
}