/* -------------------------------------------------------------
 * BMS Digital Agency Style Sheet
 * ------------------------------------------------------------- */

/* Google Fonts Import is in HTML */

/* --- Custom Variables & Tokens --- */
:root {
    /* Fonts */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Colors */
    --color-bg: #ffffff;
    --color-text: #221F1F;
    --color-text-muted: rgba(34, 31, 31, 0.65);
    --color-accent: #1C2473; /* BMS Blue */
    --color-white: #ffffff;
    --color-black: #221F1F;
    --color-border: rgba(34, 31, 31, 0.08);
    --color-header-bg: rgba(255, 255, 255, 0.85);

    /* Animation Easing */
    --ease-reveal: cubic-bezier(0.25, 1, 0.5, 1); /* OutQuart */
    --ease-header: cubic-bezier(0.16, 1, 0.3, 1);  /* OutExpo */
}

/* --- Global Font Application --- */
h1, h2, h3, h4, h5, h6, 
.welcome-headline, 
.form-title, 
.package-title, 
.card-light-title, 
.service-title, 
.whatsapp-cta-text-wrap h4, 
.footer-title {
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
}

/* --- Base & Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- Header / Navigation --- */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2.2rem 4rem; /* Full spacing at top */
    overflow: hidden; /* Contain animated shine sweeps */
    background: transparent;
    transition: 
        padding 0.4s var(--ease-header), 
        background-color 0.4s var(--ease-header), 
        border-color 0.4s var(--ease-header), 
        transform 0.4s var(--ease-header),
        box-shadow 0.4s var(--ease-header);
    border-bottom: 1px solid transparent;
}

/* Shifting animated border light beam at the bottom */
#site-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, 
        rgba(240, 240, 240, 0) 0%, 
        rgba(28, 36, 115, 0) 25%, 
        rgba(28, 36, 115, 0.45) 50%, 
        rgba(28, 36, 115, 0) 75%, 
        rgba(240, 240, 240, 0) 100%);
    background-size: 200% 100%;
    animation: borderShine 4.5s linear infinite;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Reflective sheen sweep animation */
#site-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shineSweep 9s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

@keyframes headerGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes borderShine {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@keyframes shineSweep {
    0% { left: -150%; }
    25% { left: 150%; }
    100% { left: 150%; }
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 5; /* Sit above the background shine pseudo-elements */
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 52px; /* Increased logo size for better visibility */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.03);
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.75rem;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: #F00030;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #F00030;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Navigation Work Bubble/Badge */
.work-badge {
    position: relative;
    top: -8px;
    margin-left: 4px;
    font-size: 0.65rem;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
}

/* Get In Touch CTA Capsule Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: #221F1F;
    color: var(--color-white);
    text-decoration: none;
    padding: 0.75rem 1.6rem;
    border-radius: 100px; /* Perfect Capsule */
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.3s ease, box-shadow 0.4s ease, transform 0.3s var(--ease-header);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    display: none;
}

.cta-text {
    z-index: 2;
}

.cta-arrow-circle {
    width: 26px;
    height: 26px;
    background-color: var(--color-white);
    color: var(--color-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--ease-header), background-color 0.3s ease;
    z-index: 2;
}

.cta-arrow-svg {
    width: 14px;
    height: 14px;
    transform: rotate(-45deg);
    transition: transform 0.3s var(--ease-header);
}

/* Hover effects for Capsule Button */
.cta-button:hover {
    background-color: var(--color-accent); /* BMS Blue #1C2473 */
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(28, 36, 115, 0.45);
}

.cta-button:hover .cta-arrow-svg {
    transform: rotate(-45deg) translate(2px, -2px);
}

/* Logo Switcher Styles */
.logo-main {
    display: none;
}

.logo-white {
    display: block;
}

#site-header.scrolled .logo-white {
    display: none;
}

#site-header.scrolled .logo-main {
    display: block;
    height: 38px;
}

/* --- Header Scroll Animation Classes --- */
#site-header.scrolled {
    padding: 1.1rem 4rem;
    background: #ffffff; /* White background */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

#site-header.scrolled::before,
#site-header.scrolled::after {
    opacity: 0; /* Turn off glows on white background */
}

#site-header.scrolled .nav-link {
    color: #221F1F; /* Brand Black text when scrolled */
}

#site-header.scrolled .nav-link:hover {
    color: #F00030; /* Brand Red hover when scrolled */
}

#site-header.scrolled .nav-link::after {
    background-color: #F00030; /* Brand Red underline when scrolled */
}

#site-header.nav-hidden {
    transform: translateY(-100%);
}

/* --- Mobile Menu & Hamburger Toggle (Premium Layzo-Style) --- */
.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
}

@media (max-width: 992px) {
    /* Hide desktop nav menu & CTA wrapper */
    .nav-menu,
    .cta-wrapper {
        display: none !important;
    }

    /* Show hamburger menu toggle */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 32px;
        height: 22px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1002; /* Sit above header and mobile menu overlay */
        position: relative;
    }

    .hamburger-line {
        display: block;
        width: 100%;
        height: 2.5px;
        background-color: #ffffff; /* White bars by default on dark header background */
        border-radius: 4px;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background-color 0.3s ease;
    }

    /* Morphing to X */
    .mobile-menu-toggle.active .line-1 {
        transform: translateY(10px) rotate(45deg);
    }

    .mobile-menu-toggle.active .line-2 {
        opacity: 0;
    }

    .mobile-menu-toggle.active .line-3 {
        transform: translateY(-10px) rotate(-45deg);
    }

    /* Keep lines black when mobile menu overlay is active (white background) */
    .mobile-menu-toggle.active .hamburger-line {
        background-color: #221F1F !important;
    }

    /* Turn lines black when header is scrolled (except when mobile menu is active) */
    #site-header.scrolled .hamburger-line {
        background-color: #221F1F;
    }
}

/* Header stacking adjustments when mobile menu is open */
#site-header.mobile-menu-active {
    z-index: 1002 !important; /* Rise header above the overlay (1001) */
    background: transparent !important; /* Transparent background to show white overlay underneath */
    border-bottom: 1px solid transparent !important;
    box-shadow: none !important;
}

#site-header.mobile-menu-active .logo-white {
    display: none !important;
}

#site-header.mobile-menu-active .logo-main {
    display: block !important;
}

/* Mobile Menu Backdrop Overlay (White Background, Split Screen Layout) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff; /* Premium solid white background */
    z-index: 1001; /* Layer between header and active toggle button */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-inner {
    display: flex;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10.5rem 2.5rem 3rem 2.5rem; /* Increased top spacing to clear header content */
    gap: 5rem;
    height: auto;
    align-items: center;
}

/* Left Side: Logo & Navigation Links */
.mobile-menu-left {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
}

.mobile-menu-logo-wrap {
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu-overlay.active .mobile-menu-logo-wrap {
    animation: mobileLinkReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.06s * var(--item-index));
}

.mobile-logo-img {
    height: 48px;
    width: auto;
}

.mobile-nav {
    width: 100%;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
}

.mobile-nav-item {
    opacity: 0;
    transform: translateY(20px);
    width: 100%;
    text-align: left;
}

.mobile-menu-overlay.active .mobile-nav-item {
    animation: mobileLinkReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.06s * var(--item-index));
}

.mobile-nav-link {
    font-size: 1.8rem; /* Reduced text size from 2.2rem */
    font-weight: 700;
    color: #221F1F;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
    letter-spacing: -0.02em;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #F00030; /* Brand Red accent */
    transform: translateX(8px); /* Subtle premium slide to right on hover */
}

/* Right Side: Contact Details */
.mobile-menu-right {
    flex: 0.9;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    padding-left: 4.5rem;
    display: flex;
    align-items: center;
}

.mobile-contact-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    width: 100%;
}

.mobile-contact-heading {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu-overlay.active .mobile-contact-heading {
    animation: mobileLinkReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.06s * var(--item-index));
}

.mobile-contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu-overlay.active .mobile-contact-item {
    animation: mobileLinkReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.06s * var(--item-index));
}

.mobile-contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-contact-value {
    font-size: 1.15rem; /* Reduced text size from 1.25rem */
    font-weight: 600;
    color: #221F1F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-contact-value:hover {
    color: #F00030;
}

.mobile-contact-value.address {
    font-size: 1.1rem;
    font-weight: 500;
    color: #555555;
    margin: 0;
}

@keyframes mobileLinkReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for mobile menu split layout */
@media (max-width: 768px) {
    .mobile-menu-inner {
        flex-direction: row; /* Keep side-by-side layout on mobile screens */
        align-items: flex-start;
        gap: 1.5rem; /* Reduced gap to fit screen width */
        padding: 9.5rem 1.2rem 2.5rem 1.2rem; /* Increased top spacing for mobile viewports */
    }
    
    .mobile-menu-left {
        width: 58%;
        gap: 1.5rem;
    }
    
    .mobile-logo-img {
        height: 36px; /* Scaled logo on mobile */
    }
    
    .mobile-nav-list {
        gap: 0.85rem; /* Tighter list gap */
    }
    
    .mobile-nav-link {
        font-size: 1.25rem; /* Reduced link text size */
    }
    
    .mobile-menu-right {
        width: 42%;
        border-left: 1px solid rgba(0, 0, 0, 0.08); /* Keep vertical line divider */
        padding-left: 1.2rem; /* Reduced padding */
        padding-top: 0;
        align-items: flex-start;
    }
    
    .mobile-contact-wrap {
        gap: 1.1rem;
    }
    
    .mobile-contact-heading {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    .mobile-contact-label {
        font-size: 0.65rem;
    }
    
    .mobile-contact-value {
        font-size: 0.9rem; /* Reduced contact text size */
        word-break: break-all; /* Prevent overflow on extra-narrow phones */
    }
    
    .mobile-contact-value.address {
        font-size: 0.9rem;
    }
}

/* --- Main Layout --- */
.main-wrapper {
    width: 100%;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

/* Hero Background Lines */
.hero-bg-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-bg-lines {
    width: 110%;
    max-width: 1600px;
    height: auto;
    opacity: 0.85;
    animation: rotateBgLines 90s linear infinite; /* Slow elegant rotating animation */
}

@keyframes rotateBgLines {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero Content Area */
.hero-content {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Typography styles */
.hero-title {
    font-size: clamp(4rem, 11vw, 11rem); /* Same big size as screenshot */
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-align: center;
    text-transform: uppercase;
}

.title-wrap.top {
    z-index: 1; /* Behind image */
    width: 100%;
    display: flex;
    justify-content: center;
    padding-right: 0; /* Perfectly center-aligned as requested */
}

.title-wrap.bottom {
    z-index: 3; /* In front of image */
    width: 100%;
    display: flex;
    justify-content: center;
    padding-left: 0; /* Perfectly center-aligned as requested */
    position: relative;
}

.hero-title.secondary {
    font-family: var(--font-serif);
    font-weight: 400;
    /* Upright serif uppercase as in the screenshot */
    font-style: normal;
    color: var(--color-text);
    text-transform: uppercase;
}

.copyright-symbol {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2vw, 2.2rem); /* Dynamic scaling copyright symbol */
    font-style: normal;
    font-weight: 700;
    margin-left: 0.8rem;
    vertical-align: super;
    position: relative;
    top: -2.5rem;
}

/* --- Hero Image Merging Slider --- */
.hero-image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12rem;  /* Increased image width as requested */
    height: 28rem;  /* Matches height of the large text lines */
    z-index: 2; /* Sandwiched */
    border-radius: 1.2rem; /* Adjusted corner rounding for wider strip */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.14);
    overflow: hidden;
    /* Smooth clip-path reveal wipe */
    clip-path: inset(0 50% 0 50% round 1.2rem);
    transition: clip-path 1.8s var(--ease-reveal);
}

.hero-image-container.revealed {
    clip-path: inset(0 0% 0 0% round 1.2rem);
}

.hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-image.active {
    opacity: 1;
}

/* Scroll down indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-down-link {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    outline: none;
}


.mouse-scroll {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-text-muted);
    border-radius: 12px;
    position: relative;
    opacity: 0.6;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { transform: translate(-50%, 0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, 12px); opacity: 0; }
}

/* --- Dummy Spacer Section to test scroll trigger --- */
.spacer-section {
    min-height: 100vh;
    width: 100%;
    padding: 10rem 4rem;
    display: flex;
    align-items: center;
    background-color: #fbfbfb;
    border-top: 1px solid var(--color-border);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.spacer-content {
    max-width: 800px;
}

.section-tag {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.section-heading {
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.section-desc {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- Consultation & Offer Section --- */
.offer-section {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('images/browser-office-hero-section.jpg') no-repeat center center / cover;
    position: relative;
    overflow: hidden;
    padding: 12rem 4rem 8rem 4rem; /* Top padding expanded to accommodate transparent header content */
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
}

@keyframes heroGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.offer-bg-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.offer-bg-lines {
    width: 110%;
    max-width: 1600px;
    height: auto;
    opacity: 0.5;
    animation: rotateBgLines 90s linear infinite;
}

.offer-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left Column Styling */
.offer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pill-badge {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.wave-emoji {
    font-size: 1rem;
}

.offer-heading {
    font-size: clamp(2.5rem, 4.5vw, 3.8rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 1.8rem;
}

.offer-heading .highlight-text {
    color: #F00030; /* Electric Red highlight */
}

.offer-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 620px;
}

.offer-btn {
    display: inline-block;
    background-color: #ffffff;
    color: var(--color-black);
    padding: 1.05rem 2.4rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.4s ease, transform 0.2s ease;
    margin-bottom: 4.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.offer-btn::before {
    display: none;
}

.offer-btn:hover {
    background-color: #F00030; /* Solid Brand Red */
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(240, 0, 48, 0.4);
}

/* Stats Styling */
.stats-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1.5px solid rgba(255, 255, 255, 0.15);
    padding-top: 2.8rem;
    gap: 1.5rem;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    line-height: 1.3;
}

.stat-divider {
    width: 1.5px;
    height: 3.2rem;
    background-color: rgba(255, 255, 255, 0.15);
}

/* Right Column Lead Form Card */
.offer-form-wrapper {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.form-card {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.2rem 1.8rem;
    border-radius: 1.5rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    width: 100%;
    max-width: 420px;
}

.form-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.consult-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.form-group {
    width: 100%;
    position: relative;
}

.form-input, .form-select {
    width: 100%;
    height: 48px;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.65rem;
    padding: 0 1rem;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-text);
    background-color: rgba(250, 250, 250, 0.95);
    transition: border-color 0.3s ease, background-color 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: #999999;
}

.form-input:focus, .form-select:focus {
    border-color: var(--color-accent);
    background-color: var(--color-white);
}

/* Custom Select Arrow Styling */
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(0,0,0,0.4)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 16px;
    padding-right: 2.8rem;
    cursor: pointer;
    color: #666666;
}

/* Phone Input Group (UAE Flag Prefix) */
.phone-group {
    display: flex;
    align-items: center;
    background-color: rgba(250, 250, 250, 0.95);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.65rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    overflow: hidden;
}

.phone-group:focus-within {
    border-color: var(--color-accent);
    background-color: var(--color-white);
}

.flag-code {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding-left: 1.1rem;
    pointer-events: none;
    user-select: none;
}

.uae-flag {
    width: 22px;
    height: auto;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    display: block;
}

.country-code {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}

.divider-line {
    color: rgba(0, 0, 0, 0.1);
    margin-left: 0.2rem;
    font-weight: 300;
}

.phone-input {
    border: none !important;
    background: transparent !important;
    flex: 1;
    padding-left: 0.5rem !important;
    height: 44px;
}

/* Lead Submit Button */
.form-submit-btn {
    width: 100%;
    height: 48px;
    background-color: #1C2473; /* Solid BMS Blue */
    color: var(--color-white);
    border: none;
    border-radius: 0.65rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.4s ease;
    margin-top: 0.4rem;
    box-shadow: 0 4px 15px rgba(28, 36, 115, 0.2); /* Blue shadow */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.form-submit-btn::before {
    display: none;
}

.form-submit-btn:hover {
    background-color: #F00030; /* Solid Red on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(240, 0, 48, 0.5);
}

.form-submit-btn:active {
    transform: scale(0.98) translateY(0);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    #site-header {
        padding: 1.8rem 2.5rem;
    }
    #site-header.scrolled {
        padding: 1rem 2.5rem;
    }
    .hero-title {
        font-size: clamp(3rem, 10vw, 8rem);
    }
    .hero-image-container {
        width: 8rem;
        height: 22rem;
        clip-path: inset(0 50% 0 50% round 0.8rem);
    }
    .hero-image-container.revealed {
        clip-path: inset(0 0% 0 0% round 0.8rem);
    }
    .title-wrap.top {
        padding-right: 0;
    }
    .title-wrap.bottom {
        padding-left: 0;
    }
    
    /* Offer Section Tablet scale */
    .offer-section {
        padding: 10rem 2.5rem 7rem 2.5rem;
    }
    .offer-container {
        gap: 4rem;
        grid-template-columns: 1.1fr 0.9fr;
    }
    .form-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto; /* Fallback to default cursor on mobile */
    }
    #custom-cursor {
        display: none; /* Hide custom cursor on mobile */
    }
    #site-header {
        padding: 1.5rem 1.5rem;
    }
    #site-header.scrolled {
        padding: 0.8rem 1.5rem;
    }
    .nav-list {
        gap: 1.5rem;
    }
    .hero-title {
        font-size: clamp(2.2rem, 9.5vw, 5.5rem);
    }
    .hero-image-container {
        width: 6rem;
        height: 16rem;
        clip-path: inset(0 50% 0 50% round 0.6rem);
    }
    .hero-image-container.revealed {
        clip-path: inset(0 0% 0 0% round 0.6rem);
    }
    .title-wrap.top {
        padding-right: 0;
    }
    .title-wrap.bottom {
        padding-left: 0;
    }
    .hero-content {
        height: 50vh;
    }
    .section-heading {
        font-size: 2.2rem;
    }
    
    /* Offer Section Mobile scale */
    .offer-section {
        padding: 9rem 1.5rem 5rem 1.5rem;
    }
    .offer-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .offer-form-wrapper {
        justify-content: center;
    }
    .form-card {
        max-width: 100%;
        padding: 2rem 1.4rem;
    }
    .offer-btn {
        margin-bottom: 3.5rem;
    }
    .stats-container {
        flex-wrap: wrap;
        gap: 2rem 1rem;
        padding-top: 2.2rem;
    }
    .stat-item {
        flex: 0 0 calc(50% - 0.5rem);
    }
    .stat-divider {
        display: none;
    }
}

/* ==========================================================================
   Packages & Pricing Section (Summer Packages)
   ========================================================================== */

.packages-section {
    width: 100%;
    background: linear-gradient(135deg, #1C2473 0%, #221F1F 100%);
    padding: 8rem 4rem;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.packages-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.packages-header {
    text-align: center;
    margin-bottom: 5rem;
}

.packages-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.2vw, 3.5rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.packages-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Tier 1: Premium Digital Packages (2x2 Grid) --- */
.packages-tier-dark {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.package-card-dark {
    background: linear-gradient(135deg, #1C2473 0%, #F00030 100%);
    border-radius: 30px;
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 25px 55px rgba(34, 31, 31, 0.3);
    transition: transform 0.4s var(--ease-reveal), box-shadow 0.4s var(--ease-reveal);
}

.package-card-dark:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 70px rgba(34, 31, 31, 0.45);
}

/* Translucent numeric watermarks in background */
.card-bg-number {
    position: absolute;
    bottom: -30px;
    right: 20px;
    font-size: 16rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    font-family: var(--font-heading);
    z-index: 1;
}

.package-card-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    position: relative;
    z-index: 2; /* Sit above the background watermark number */
    height: 100%;
}

.card-col-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.package-card-dark .package-title {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.package-card-dark .package-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9); /* High contrast white */
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.package-features-plus {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.package-features-plus li {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.card-col-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    text-align: right;
}

.saving-badge {
    background-color: rgba(240, 0, 48, 0.2);
    border: 1px solid rgba(240, 0, 48, 0.35);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 100px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    align-self: flex-end;
    margin-bottom: 1.5rem;
}

.price-display-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.price-before {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
    margin-bottom: 0.2rem;
    font-weight: 500;
}

.price-now {
    font-size: 2.6rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.price-now .currency-symbol {
    font-size: 1.2rem;
    font-weight: 700;
    vertical-align: super;
    margin-right: 0.2rem;
}

/* Red CTA Button (Tier 1) */
.package-btn-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #F00030; /* Solid Red */
    color: #ffffff;
    text-decoration: none;
    padding: 0.95rem 2rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 700;
    width: 100%;
    max-width: 240px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 25px rgba(240, 0, 48, 0.25);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.package-btn-red::before {
    display: none;
}

.package-btn-red:hover {
    background-color: #1C2473; /* Transition to brand Blue on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(28, 36, 115, 0.5);
}

.package-btn-red:active {
    transform: translateY(0);
}

/* --- Tier 2: Branding & Marketing Services (4 Column Row) --- */
.packages-tier-light {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.package-card-light {
    background-color: #ffffff;
    border-radius: 25px;
    padding: 3rem 2.2rem 2.5rem 2.2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s var(--ease-reveal), box-shadow 0.4s var(--ease-reveal);
}

.package-card-light:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.08);
}

/* Light Card Header */
.card-light-title {
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}

.card-light-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-bottom: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.package-features-star {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.2rem;
}

.package-features-star li {
    font-size: 0.88rem;
    line-height: 1.45;
    color: #444444;
    font-weight: 500;
}

.card-light-savings {
    font-size: 0.8rem;
    color: #F00030; /* Brand Red for savings info */
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.card-light-price-wrap {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.8rem;
}

.price-before-light {
    font-size: 0.88rem;
    color: #888888;
    text-decoration: line-through;
    margin-bottom: 0.1rem;
    font-weight: 500;
}

.price-now-light {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-black);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

/* Light Card CTA Button */
.package-btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f3f5; /* Solid light gray */
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--color-black);
    text-decoration: none;
    padding: 0.85rem 1.5rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    width: 100%;
    margin-top: auto;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.package-btn-light::before {
    display: none;
}

.package-btn-light:hover {
    background-color: #1C2473; /* Brand Blue */
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(28, 36, 115, 0.45);
}

.package-btn-light:active {
    transform: translateY(0);
}

/* --- Package Dual-Button Layout & Styling --- */
.package-btn-group {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    margin-top: auto;
    align-items: center;
}

.package-btn-group button.pkg-btn-inquire {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 1rem;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.4s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Package circular Call/WhatsApp icon buttons */
.pkg-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    border: none;
    flex-shrink: 0;
}

.pkg-icon-btn.call-btn {
    background-color: #1C2473; /* BMS Blue */
    box-shadow: 0 4px 12px rgba(28, 36, 115, 0.2);
}

.pkg-icon-btn.whatsapp-btn {
    background-color: #25d366; /* WhatsApp Green */
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.pkg-icon-btn:active {
    transform: scale(0.96) translateY(0);
}

/* Red Tier 1 Inquiry Button */
.package-btn-group .btn-inquire-red {
    background-color: #F00030; /* Solid Red */
    color: #ffffff;
}

.package-btn-group .btn-inquire-red:hover {
    background-color: #1C2473; /* Brand Blue */
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(28, 36, 115, 0.4);
}

/* Light Tier 2 Inquiry Button */
.package-btn-group .btn-inquire-light {
    background-color: #f1f3f5; /* Light gray */
    color: var(--color-black);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.package-btn-group .btn-inquire-light:hover {
    background-color: #1C2473; /* Brand Blue */
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(28, 36, 115, 0.35);
}

.package-btn-group .pkg-btn-whatsapp:active,
.package-btn-group .btn-inquire-red:active,
.package-btn-group .btn-inquire-light:active {
    transform: translateY(0);
}

/* SVG icon styling */
.pkg-whatsapp-icon {
    width: 17px;
    height: 17px;
    display: inline-block;
    flex-shrink: 0;
}


/* --- Corner Ribbon Badges --- */
.card-ribbon {
    position: absolute;
    top: 18px;
    right: -32px;
    transform: rotate(45deg);
    width: 130px;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    color: #ffffff;
}

.ribbon-blue-badge {
    background-color: var(--color-accent); /* Blue */
}

.ribbon-gold-badge {
    background-color: #221F1F; /* Brand Black */
}

.ribbon-red-badge {
    background-color: #F00030; /* Brand Red */
}

/* --- Footer Notes --- */
.packages-footer-notes {
    text-align: center;
    margin-top: 2.5rem;
}

.footer-note-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* --- Responsive Pricing Styles --- */
@media (max-width: 1200px) {
    .packages-section {
        padding: 6rem 2.5rem;
    }
    .packages-tier-light {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.2rem;
    }
}

@media (max-width: 992px) {
    .packages-tier-dark {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .package-card-dark {
        padding: 3rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .packages-section {
        padding: 5rem 1.5rem;
    }
    .packages-header {
        margin-bottom: 3.5rem;
    }
    .package-card-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .card-col-left {
        justify-content: flex-start;
    }
    .card-col-right {
        align-items: flex-start;
        text-align: left;
    }
    .saving-badge {
        align-self: flex-start;
        margin-bottom: 1.2rem;
    }
    .price-display-wrap {
        align-items: flex-start;
        margin-bottom: 2rem;
    }
    .package-btn-red {
        max-width: 100%;
    }
    .packages-tier-light {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .package-card-light {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
        padding: 3rem 2rem 2.2rem 2rem;
    }
}

/* --- Welcome Studio Section --- */
.welcome-studio-section {
    width: 100%;
    background-color: #221F1F; /* Brand Black */
    padding: 8rem 4rem 6rem 4rem;
    position: relative;
    z-index: 10;
}

.welcome-studio-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.welcome-tag-wrapper {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.square-badge {
    width: 12px;
    height: 12px;
    background-color: #F00030; /* Brand Red */
    display: inline-block;
    border-radius: 2px;
}

.welcome-tag-text {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888888; /* Darker gray for the label */
}

.welcome-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
    align-items: flex-end;
}

.welcome-headline {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #ffffff; /* White text for dark mode */
}

.welcome-headline .muted-text {
    color: #666666; /* Muted gray text for dark mode */
}

.welcome-link-wrapper {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 0.8rem;
}

.welcome-about-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #ffffff; /* White link text */
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px dashed var(--color-accent);
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.welcome-about-link:hover {
    color: var(--color-accent);
    border-bottom-style: solid;
}

/* --- Portfolio Marquee Section --- */
.portfolio-marquee-section {
    width: 100%;
    background-color: #221F1F; /* Brand Black */
    padding: 2rem 0 8rem 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Marquee infinite slider */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    perspective: 1200px; /* Enable 3D perspective */
}

.marquee-track {
    display: flex;
    width: max-content;
    transform-style: preserve-3d; /* Preserve child 3D transforms */
}

.marquee-list {
    display: flex;
    gap: 1.8rem; /* Adjusted gap to fit 3D overlapping margins */
    padding-right: 1.8rem;
    transform-style: preserve-3d;
    animation: marqueeScroll 36s linear infinite; /* Smooth continuous scroll loop */
}

/* Pause scroll on hover for premium interaction */
.marquee-container:hover .marquee-list {
    animation-play-state: paused;
}

.marquee-card {
    width: 22rem;
    height: 16.5rem;
    border-radius: 2rem;
    overflow: hidden;
    background-color: #221F1F; /* Brand Black */
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5); /* Enhanced shadow for dark mode */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Clean thin highlight border */
    transform-style: preserve-3d;
    will-change: transform;
}

.marquee-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-reveal);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Subtle image scale-up on card hover */
.marquee-card:hover .marquee-img {
    transform: scale(1.08);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive Overrides for Marquee Section */
@media (max-width: 1024px) {
    .welcome-studio-section {
        padding: 6rem 2.5rem;
    }
    .welcome-row {
        grid-template-columns: 1.3fr 0.7fr;
        gap: 3rem;
    }
    .portfolio-marquee-section {
        padding-bottom: 6rem;
    }
    .marquee-card {
        width: 18rem;
        height: 13.5rem;
        border-radius: 1.5rem;
    }
}

@media (max-width: 768px) {
    .welcome-studio-section {
        padding: 5rem 1.5rem;
    }
    .welcome-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        align-items: flex-start;
    }
    .welcome-link-wrapper {
        justify-content: flex-start;
        padding-bottom: 0;
    }
    .portfolio-marquee-section {
        padding-bottom: 5rem;
    }
    .marquee-card {
        width: 14rem;
        height: 10.5rem;
        border-radius: 1.2rem;
    }
}

/* ==========================================================================
   Our Services Section (theplace.group Layout & Aesthetics)
   ========================================================================== */

.services-section {
    background: linear-gradient(135deg, #f3f4f6 0%, #d1d5db 100%);
    padding: 10rem 4rem 10rem 4rem;
    position: relative;
    z-index: 10;
    overflow: visible;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    gap: 4rem;
    position: relative;
}

/* Left Title Column (Sticky) */
.services-left {
    flex: 0 0 25%;
    position: relative;
}

.services-sticky-title {
    position: sticky;
    top: 150px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1rem;
}

.services-title-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.8vw, 3rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--color-text);
}

/* Right Cards Column */
.services-right {
    flex: 0 0 75%;
    display: flex;
    flex-direction: column;
    gap: 5rem; /* Gap between cards to allow visible stacking */
}

/* Card Stacking Configuration */
.service-card {
    position: sticky;
    top: 120px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
    will-change: transform, opacity;
}

/* Apply staggered z-indexes for correct stacking order */
#card-web-design        { z-index: 1; }
#card-web-dev           { z-index: 2; }
#card-domain-hosting    { z-index: 3; }
#card-logo-design       { z-index: 4; }
#card-brochure-design   { z-index: 5; }
#card-seo               { z-index: 6; }
#card-digital-marketing { z-index: 7; }

.service-card-inner {
    background-color: #ffffff;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.2);
    min-height: 28rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card-info {
    flex: 0 0 45%;
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #ffffff;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    background-color: rgba(5, 5, 5, 0.05);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}

.meta-item svg {
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.service-title {
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-top: 0; /* Reset top margin since service-meta pills are removed */
    margin-bottom: 0.8rem;
}

.service-desc {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.55;
    margin-bottom: 1.5rem; /* Adjusted for better flow with bullet points */
    font-weight: 400;
}

/* Service Card Bullet Points */
.service-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.service-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: #444444;
    font-weight: 500;
    line-height: 1.35;
}

.service-bullets .bullet-icon {
    width: 0.95rem;
    height: 0.95rem;
    color: var(--color-accent); /* BMS Blue */
    flex-shrink: 0;
    margin-top: 0.12rem;
}



.service-cta-wrapper {
    margin-top: auto;
}

.service-cta-wrapper .cta-button {
    background-color: #F00030;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(240, 0, 48, 0.25);
}

.service-cta-wrapper .cta-button:hover {
    background-color: #1C2473;
    box-shadow: 0 4px 25px rgba(28, 36, 115, 0.45);
}

/* Right half: Image Slider */
.service-card-images {
    flex: 0 0 55%;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: #eaeaea;
}

.service-image-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s ease;
    transform: scale(1.05);
}

.service-img.active {
    opacity: 1;
    transform: scale(1);
}

/* Slider progress bar */
.service-slider-progress {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.25);
    z-index: 5;
    border-radius: 2px;
}

.service-slider-progress-fill {
    height: 100%;
    background-color: #ffffff;
    transition: width 0.4s ease;
    width: 33.3%;
}

/* Slider navigation arrows */
.service-slider-nav {
    position: absolute;
    bottom: 2.8rem;
    right: 2rem;
    display: flex;
    gap: 0.6rem;
    z-index: 5;
}

.service-nav-arrow {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background-color: rgba(0, 0, 0, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    outline: none;
}

.service-nav-arrow:hover {
    background-color: #ffffff;
    color: #111111;
    border-color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

.service-nav-arrow:active {
    transform: scale(0.92);
}

/* WhatsApp CTA Block */
.whatsapp-cta-block {
    background-color: #ffffff;
    border-radius: 35px;
    padding: 2.8rem 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-top: 2rem;
    position: relative;
    z-index: 15;
}

.whatsapp-cta-content {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.whatsapp-icon-wrapper {
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 50%;
    background-color: #25d366; /* WhatsApp Green */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
    flex-shrink: 0;
}

.whatsapp-cta-text-wrap h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.3rem;
}

.whatsapp-cta-text-wrap p {
    font-size: 0.92rem;
    color: #666666;
    line-height: 1.4;
}

.whatsapp-chat-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0.9rem 2.2rem;
    background-color: #25d366; /* WhatsApp Green */
    color: #ffffff;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.4s ease;
    text-align: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.whatsapp-chat-button::before {
    display: none;
}

.whatsapp-chat-button:hover {
    background-color: #128c7e; /* Darker WhatsApp Green */
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(18, 140, 126, 0.5);
}

.whatsapp-chat-button:active {
    transform: translateY(0);
}

.whatsapp-phone {
    font-size: 0.78rem;
    opacity: 0.9;
    font-weight: 500;
    margin-top: 0.1rem;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   Responsive Overrides for Services Section
   ========================================================================== */

@media (max-width: 1200px) {
    .services-section {
        padding: 8rem 2.5rem 8rem 2.5rem;
    }
    .services-container {
        gap: 2rem;
    }
    .service-card-info {
        padding: 2.5rem 2.2rem;
    }
    .service-card {
        position: sticky;
        top: 100px;
    }
}

@media (max-width: 992px) {
    .service-card {
        position: sticky;
        top: 100px; /* Enable sticky stacking on tablets */
    }
}

@media (max-width: 767px) {
    .services-container {
        flex-direction: column;
        gap: 3rem;
    }
    .services-left {
        width: 100%;
    }
    .services-sticky-title {
        position: relative;
        top: 0;
        align-items: center;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        padding-top: 0;
    }
    .cursive-services {
        margin-left: 0;
    }
    .services-right {
        width: 100%;
        gap: 3rem;
    }
    .service-card {
        position: sticky;
        top: 95px; /* Enable sticky stacking on mobile clearing header */
    }
    .service-card-inner {
        height: auto;
        flex-direction: column;
    }
    .service-card-info {
        width: 100%;
        padding: 3rem 2rem;
        gap: 1.5rem;
    }
    .service-card-images {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 0;
    }
    .whatsapp-cta-block {
        flex-direction: column;
        gap: 2rem;
        padding: 2.5rem 2rem;
        text-align: center;
    }
    .whatsapp-cta-content {
        flex-direction: column;
        gap: 1rem;
    }
    .whatsapp-chat-button {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 576px) {
    .services-section {
        padding: 6rem 1.5rem 6rem 1.5rem;
    }
    .cursive-our, .cursive-services {
        font-size: 3.8rem;
    }
    .service-card-inner {
        border-radius: 25px;
    }
    .service-card-info {
        padding: 2rem 1.5rem;
    }
    .whatsapp-cta-block {
        border-radius: 25px;
    }
}

/* ==========================================================================
   Site Footer Style (Layzo-Inspired)
   ========================================================================== */

.site-footer {
    position: relative;
    background-color: #FEFAF6; /* Cream Background */
    color: #221F1F;
    padding: 80px 50px 50px 50px;
    font-family: var(--font-sans);
    border-top: 1px solid rgba(34, 31, 31, 0.05);
    overflow: hidden;
    z-index: 5;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

/* 3-Column Main Layout */
.footer-main-layout {
    display: grid;
    grid-template-columns: 1fr 1.8fr 1fr;
    gap: 40px;
    align-items: flex-start;
    padding-bottom: 50px;
    width: 100%;
}

/* Left Column: Contacts styling */
.footer-contacts-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-caption {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8c8c8c;
    margin-bottom: 8px;
    display: block;
    font-family: var(--font-sans);
}

.footer-contact-link {
    font-size: 24px;
    font-weight: 400;
    color: #221F1F;
    text-decoration: none;
    display: block;
    font-family: var(--font-sans);
    transition: color 0.3s ease;
    word-break: break-all;
}

.footer-contact-link:hover {
    color: #F00030; /* Brand Red */
}

.footer-contact-text {
    font-size: 18px;
    font-weight: 400;
    color: #221F1F;
    line-height: 1.45;
    font-family: var(--font-sans);
}

.footer-contacts-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 4px;
}

.footer-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    border: none;
}

.footer-icon-btn.call-btn {
    background-color: #1C2473; /* Brand Blue */
    box-shadow: 0 4px 12px rgba(28, 36, 115, 0.2);
}

.footer-icon-btn.call-btn:hover {
    background-color: #F00030; /* Brand Red */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(240, 0, 48, 0.3);
}

.footer-icon-btn.whatsapp-btn {
    background-color: #25d366; /* WhatsApp Green */
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.footer-icon-btn.whatsapp-btn:hover {
    background-color: #128c7e; /* Darker Green */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.footer-icon-btn:active {
    transform: scale(0.96) translateY(0);
}

/* Center Column styling */
.footer-center-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.footer-center-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4px;
}

.footer-logo-img-center {
    height: 64px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-logo-img-center:hover {
    transform: scale(1.03);
}

.footer-horizontal-links-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap; /* Keep in one line on desktop */
}

.footer-horizontal-links-center li {
    white-space: nowrap;
}

.footer-horizontal-links-center a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-sans);
    transition: color 0.25s ease;
}

.footer-horizontal-links-center a:hover {
    color: #F00030;
}

.footer-statement {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    color: #111111;
    font-family: var(--font-heading);
    max-width: 440px;
    margin: 8px auto 0 auto;
}

/* Right Column: Visit Card styling */
.footer-right-col {
    display: flex;
    justify-content: flex-end;
}

.footer-visit-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1C2473 0%, #F00030 100%);
    background-size: 180% 180%;
    animation: gradientMove 8s ease infinite;
    color: #ffffff;
    width: 290px;
    height: 290px;
    border-radius: 40px;
    text-decoration: none;
    text-align: center;
    padding: 30px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-visit-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 50px rgba(240, 0, 48, 0.4);
}

.visit-card-subtitle {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
    font-family: var(--font-sans);
    margin-bottom: 24px;
    display: block;
    max-width: 220px;
}

.visit-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-sans);
    letter-spacing: -0.01em;
    display: block;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Bottom Bar styling */
.footer-bottom-bar-new {
    margin-top: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(34, 31, 31, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-copyright-text-bottom {
    font-size: 13px;
    color: rgba(34, 31, 31, 0.5);
    margin: 0;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    color: #221F1F;
    border: 1px solid rgba(34, 31, 31, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-link:hover {
    background-color: #F00030; /* Brand Red on hover */
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(240, 0, 48, 0.25);
}

/* Responsive Rules */
@media (max-width: 1200px) {
    .footer-main-layout {
        gap: 30px;
        grid-template-columns: 1fr 1.2fr 1fr;
    }
    .footer-visit-card {
        width: 250px;
        height: 250px;
        border-radius: 32px;
        padding: 20px;
    }
    .visit-card-subtitle {
        font-size: 22px;
        margin-bottom: 16px;
    }
    .visit-card-title {
        font-size: 18px;
    }
    .footer-statement {
        font-size: 21px;
    }
}

@media (max-width: 991px) {
    .site-footer {
        padding: 60px 30px 40px 30px;
    }
    
    .footer-main-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding-bottom: 40px;
    }

    .footer-center-col {
        order: 1; /* Logo, Links & Statement at the top */
        width: 100%;
    }

    .footer-horizontal-links-center {
        flex-wrap: wrap !important;
        gap: 12px 18px !important;
    }

    .footer-contacts-col {
        order: 2; /* Contacts in the middle */
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .footer-contacts-buttons {
        justify-content: center;
    }

    .footer-right-col {
        order: 3; /* Visit card at the bottom */
        width: 100%;
        justify-content: center;
    }

    .footer-visit-card {
        width: 280px;
        height: 280px;
        border-radius: 36px;
    }

    .footer-bottom-bar-new {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-top: 25px;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 50px 20px 30px 20px;
    }
    
    .footer-statement {
        font-size: 18px;
    }
    
    .footer-contact-link {
        font-size: 20px;
    }
    
    .footer-contact-text {
        font-size: 16px;
    }
}

/* ==========================================================================
   Cortax-Inspired Process Section Styling
   ========================================================================== */

/* Color tokens for process section */
:root {
    --color-process-bg: #221F1F;
    --color-process-num: rgba(255, 255, 255, 0.25);
    --color-aqua: #1C2473;
    --color-pastel-yellow: #F00030;
    --color-coral-orange: #1C2473;
    --color-baby-pink: #F00030;
}

.section.process {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background: linear-gradient(135deg, #1C2473 0%, #221F1F 100%);
    color: var(--color-white);
    overflow: visible;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Heading with overlapping wavy "Process" badge */
.section-heading-wrap.process {
    display: flex;
    justify-content: center;
    margin-bottom: 5rem;
}

.section-heading-block.process {
    max-width: 48rem;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-heading-block.process .section-heading {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 500;
    color: var(--color-white);
    margin: 0;
}

.section-animated-block.small {
    position: absolute;
    z-index: 10;
    /* Position exactly overlapping the text */
    bottom: 40%;
    right: 32%;
}

.section-animated-shape {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.section-shape.process {
    height: 5.5rem;
    width: auto;
}

.section-animated-title {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
    position: absolute;
    /* Slight rotation to align with the wavy shape */
    transform: rotate(-5deg);
}

/* Grid Layout: Left Sticky Image & Right Cards */
.process-items-block {
    display: flex;
    gap: 3.5rem;
    align-items: flex-start;
    justify-content: flex-start;
}

.left-process-block {
    position: sticky;
    top: 120px;
    flex-shrink: 0;
}

.process-image-block {
    width: 21.5rem;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.process-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.right-process-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    perspective: 1000px;
}

/* Sticky Stacked Cards Styling */
.process-card-wrap {
    padding: 2.8rem 3rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #1C2473 0%, #F00030 100%);
    box-shadow: 0 25px 55px rgba(34, 31, 31, 0.3);
    /* Transition for scroll reveal trigger */
    opacity: 0;
    transform: translate3d(0, 80px, 0) skewY(-2deg);
    filter: blur(4px);
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card-wrap.reveal-active {
    opacity: 1;
    transform: translate3d(0, 0, 0) skewY(0deg);
    filter: blur(0);
}

/* Overlapping offsets for sticky stacking */
.process-card-wrap._01 {
    position: sticky;
    top: 120px;
}

.process-card-wrap._02 {
    position: sticky;
    top: 170px;
}

.process-card-wrap._03 {
    position: sticky;
    top: 220px;
}

.process-card-wrap._04 {
    position: sticky;
    top: 270px;
}

.process-card-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.process-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 42rem;
}

.process-card-title {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
}

.process-card-subtitles {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    line-height: 1.45;
    font-weight: 500;
    margin: 0;
}

.process-card-number {
    font-family: var(--font-heading);
    color: var(--color-process-num);
    font-size: 4.5rem;
    font-weight: 500;
    line-height: 1;
    user-select: none;
}

/* Responsive Styles for Process Section */
@media (max-width: 1024px) {
    .process-items-block {
        gap: 2rem;
    }
    .process-image-block {
        width: 18rem;
    }
    .section-animated-block.small {
        bottom: 35%;
        right: 25%;
    }
}

@media (max-width: 992px) {
    /* Keep process cards sticky/overlapping on tablet */
    .process-card-wrap {
        position: sticky;
    }
}

@media (max-width: 767px) {
    .process-items-block {
        flex-direction: column;
        align-items: stretch;
    }
    .left-process-block {
        position: static;
        width: 100%;
        margin-bottom: 2rem;
    }
    .process-image-block {
        width: 100%;
        aspect-ratio: 16 / 9;
        max-height: 320px;
    }
    .process-card-wrap {
        position: sticky;
        padding: 2.2rem 2.5rem;
    }
    .process-card-wrap._01 { top: 95px !important; }
    .process-card-wrap._02 { top: 125px !important; }
    .process-card-wrap._03 { top: 155px !important; }
    .process-card-wrap._04 { top: 185px !important; }

    .section-animated-block.small {
        position: relative;
        bottom: auto;
        right: auto;
        margin-bottom: 1rem;
    }
    .section-heading-block.process {
        flex-direction: column-reverse;
    }
}

@media (max-width: 576px) {
    .section.process {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
    .process-card-block {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 1rem;
    }
    .process-card-number {
        font-size: 3.5rem;
    }
    .process-card-title {
        font-size: 1.8rem;
    }
    .process-card-subtitles {
        font-size: 1.05rem;
    }
    .process-card-wrap {
        padding: 1.8rem 1.8rem;
    }
}

/* ==========================================================================
   Featured Works Section Styling (Styler Inspired)
   ========================================================================== */
.works-section {
    padding: 8rem 0;
    background-color: #d8d8db;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
}

.works-section .container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.works-title-block {
    margin-bottom: 5rem;
    padding: 0 4rem;
}

.works-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: start;
    padding: 0 4rem;
}

.works-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Stagger right column on desktop - Removed offset per user request */
@media (min-width: 993px) {
    .works-right {
        margin-top: 0;
    }
}

.work-card-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.work-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    overflow: hidden;
    background-color: #f6f8fa;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card-item:hover .work-image-container {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover Zoom effect */
.work-card-item:hover .work-img {
    transform: scale(1.05);
}

/* Hover overlay styling with backdrop-blur */
.work-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 5, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
}

.work-card-item:hover .work-hover-overlay {
    opacity: 1;
    pointer-events: auto;
}

.work-hover-buttons {
    display: flex;
    gap: 1rem;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card-item:hover .work-hover-buttons {
    transform: translateY(0);
}

/* Hover button general styling */
.work-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    height: 48px;
    padding: 0 1.5rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    border: none;
    font-family: var(--font-sans);
}

/* Button variants */
.btn-zoom {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-zoom:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: scale(1.05);
}

.btn-live {
    background-color: var(--color-accent); /* BMS Blue */
    color: var(--color-white);
}

.btn-live:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: scale(1.05);
}

/* Works Info/Text Styling */
.work-text-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 0.5rem;
}

.work-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.work-tag {
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.75rem;
    color: var(--color-accent);
}

.work-bullet {
    opacity: 0.5;
}

.work-year {
    opacity: 0.8;
}

.work-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-text);
    text-transform: none;
    margin: 0;
}

/* Lightbox styles */
.works-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.works-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    background-color: rgba(255,255,255,0.15);
}

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.works-lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

/* --- Package Inquiry Lightbox Popup Modal --- */
.package-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 5, 5, 0.85); /* Semi-transparent dark overlay */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10005; /* Above works lightbox */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.package-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.package-lightbox-container {
    background-color: #ffffff;
    border-radius: 30px;
    width: 90%;
    max-width: 520px;
    padding: 3rem 2.5rem 2.8rem 2.5rem;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.package-lightbox.active .package-lightbox-container {
    transform: scale(1) translateY(0);
}

/* Custom scrollbar for lightbox container */
.package-lightbox-container::-webkit-scrollbar {
    width: 6px;
}
.package-lightbox-container::-webkit-scrollbar-track {
    background: transparent;
}
.package-lightbox-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.package-lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: #666666;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.package-lightbox-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #000000;
    transform: rotate(90deg);
}

.package-form-title {
    font-size: 1.8rem;
    font-weight: 500;
    color: #111111;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.package-form-title span {
    color: var(--color-accent);
}

.package-form-subtitle {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* Form Styles */
.package-consult-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.package-consult-form .form-group {
    position: relative;
    width: 100%;
}

.package-consult-form .form-input {
    width: 100%;
    height: 52px;
    background-color: #f7f8fa;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.8rem;
    padding: 0 1.2rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #111111;
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.package-consult-form .form-input:focus {
    border-color: var(--color-accent);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(28, 36, 115, 0.08);
}

.package-consult-form .form-textarea {
    height: auto;
    padding: 1.1rem 1.2rem;
    resize: none;
}

/* Package read-only display input styling */
.package-consult-form .package-display-input {
    background-color: rgba(28, 36, 115, 0.04);
    border-color: rgba(28, 36, 115, 0.12);
    color: var(--color-accent);
    font-weight: 700;
    cursor: default;
}
.package-consult-form .package-display-input:focus {
    background-color: rgba(28, 36, 115, 0.04);
    border-color: rgba(28, 36, 115, 0.12);
    box-shadow: none;
}

.package-submit-btn {
    margin-top: 0.4rem;
    height: 54px;
    background-color: var(--color-accent);
    color: #ffffff;
    border-radius: 0.8rem;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(28, 36, 115, 0.18);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.4s ease;
}

.package-submit-btn:hover {
    background-color: #F00030; /* Brand Red */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 0, 48, 0.3);
}

.package-submit-btn:disabled {
    background-color: rgba(28, 36, 115, 0.3); /* Brand Blue Opacity */
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* --- Animated Success Message State --- */
.package-success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 0;
    animation: fadeInSuccess 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeInSuccess {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon-wrap {
    width: 72px;
    height: 72px;
    margin-bottom: 1.5rem;
}

.success-checkmark {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: block;
    stroke-width: 2.5;
    stroke: #25d366; /* Success Brand Green */
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #25d366;
    animation: fillCheckmark .4s ease-in-out .4s forwards, scaleCheckmark .3s ease-in-out .9s both;
}

.success-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2.5;
    stroke-miterlimit: 10;
    stroke: #25d366; /* Success Brand Green */
    fill: none;
    animation: strokeCircle .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-linecap: round;
    stroke: #25d366; /* Success Brand Green */
    animation: strokeCheck .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}

@keyframes strokeCircle {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes strokeCheck {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fillCheckmark {
    100% {
        box-shadow: inset 0px 0px 0px 4px #25d366;
    }
}

@keyframes scaleCheckmark {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

.package-success-state h4 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #221F1F !important; /* Brand Black */
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.package-success-state p {
    font-size: 0.98rem;
    color: #221F1F !important; /* Brand Black */
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 380px;
}

.close-success-btn {
    width: 100%;
    max-width: 220px;
    height: 50px;
    justify-content: center;
    background-color: #221F1F; /* Brand Black */
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.close-success-btn:hover {
    background-color: var(--color-accent);
}

/* Responsiveness for Lightbox */
@media (max-width: 576px) {
    .package-lightbox-container {
        padding: 2.5rem 1.5rem 2rem 1.5rem;
        border-radius: 20px;
    }
    .package-form-title {
        font-size: 1.5rem;
    }
    .package-success-state h4 {
        font-size: 1.5rem;
    }
}

/* Responsiveness overrides */
@media (max-width: 1200px) {
    .works-title-block,
    .works-wrapper {
        padding: 0 2.5rem;
    }
}

@media (max-width: 992px) {
    .works-title-block,
    .works-wrapper {
        padding: 0 1.5rem;
    }
    .works-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 767px) {
    .works-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    .works-section {
        padding: 5rem 0;
    }
    .works-wrapper {
        gap: 2.5rem;
    }
    .work-title {
        font-size: 1.15rem;
    }
}

/* --- Load More & Stagger Reveal Styles --- */
.works-load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 6rem;
    position: relative;
    z-index: 10;
}

.work-card-item.work-hidden {
    display: none !important;
}

.work-card-item.reveal-anim {
    display: flex !important;
    animation: fadeInUpStagger 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeInUpStagger {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile active overlay overrides for works cards on touch viewports */
@media (max-width: 992px) {
    .work-card-item.mobile-active .work-hover-overlay {
        opacity: 1;
        pointer-events: auto;
    }
    
    .work-card-item.mobile-active .work-hover-buttons {
        transform: translateY(0);
    }
    
    .work-card-item.mobile-active .work-img {
        transform: scale(1.05);
    }
}

/* --- Refined Button Styling for Pricing & WhatsApp --- */
.packages-tier-dark .pkg-icon-btn,
.packages-tier-dark .pkg-btn-inquire,
.packages-tier-light .pkg-icon-btn,
.packages-tier-light .pkg-btn-inquire {
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Dark Tier Button Styles */
.packages-tier-dark .pkg-icon-btn.call-btn {
    background-color: #ffffff !important;
    color: #1C2473 !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1) !important;
}

.packages-tier-dark .pkg-icon-btn.call-btn svg {
    color: #1C2473 !important;
    transition: color 0.4s ease;
}

.packages-tier-dark .pkg-icon-btn.call-btn:hover {
    background-color: #1C2473 !important; /* Brand Blue on hover */
    transform: scale(1.05) translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(28, 36, 115, 0.4) !important;
}

.packages-tier-dark .pkg-icon-btn.call-btn:hover svg {
    color: #ffffff !important;
}

.packages-tier-dark .pkg-icon-btn.whatsapp-btn {
    background-color: #25d366 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2) !important;
}

.packages-tier-dark .pkg-icon-btn.whatsapp-btn svg {
    color: #ffffff !important;
    fill: none !important;
    transition: color 0.4s ease;
}

.packages-tier-dark .pkg-icon-btn.whatsapp-btn:hover {
    background-color: #128c7e !important; /* WhatsApp Green hover */
    transform: scale(1.05) translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4) !important;
}

.packages-tier-dark .pkg-icon-btn.whatsapp-btn:hover svg {
    color: #ffffff !important;
}

.packages-tier-dark .pkg-btn-inquire {
    background-color: #ffffff !important;
    color: #221F1F !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15) !important;
}

.packages-tier-dark .pkg-btn-inquire:hover {
    background-color: #F00030 !important; /* Brand Red on hover */
    color: #ffffff !important;
    transform: scale(1.05) translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(240, 0, 48, 0.4) !important;
}

/* Light Tier Button Styles */
.packages-tier-light .pkg-icon-btn.call-btn {
    background-color: #1C2473 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(28, 36, 115, 0.15) !important;
}

.packages-tier-light .pkg-icon-btn.call-btn:hover {
    background-color: #F00030 !important; /* Brand Red on hover */
    transform: scale(1.05) translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(240, 0, 48, 0.4) !important;
}

.packages-tier-light .pkg-icon-btn.whatsapp-btn {
    background-color: #25d366 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.15) !important;
}

.packages-tier-light .pkg-icon-btn.whatsapp-btn svg {
    color: #ffffff !important;
    fill: none !important;
}

.packages-tier-light .pkg-icon-btn.whatsapp-btn:hover {
    background-color: #128c7e !important; /* WhatsApp Dark Green on hover */
    transform: scale(1.05) translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4) !important;
}

.packages-tier-light .pkg-btn-inquire {
    background-color: #F00030 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(240, 0, 48, 0.25) !important;
}

.packages-tier-light .pkg-btn-inquire:hover {
    background-color: #1C2473 !important; /* Brand Blue on hover */
    color: #ffffff !important;
    transform: scale(1.05) translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(28, 36, 115, 0.4) !important;
}

/* --- About Summary Section (Ideaz-Style) --- */
.about-section {
    /* Spacings */
    --_spacing---sp-1: 2px;
    --_spacing---sp-2: 4px;
    --_spacing---sp-3: 6px;
    --_spacing---sp-4: 8px;
    --_spacing---sp-5: 10px;
    --_spacing---sp-6: 12px;
    --_spacing---sp-7: 16px;
    --_spacing---sp-8: 18px;
    --_spacing---sp-9: 20px;
    --_spacing---sp-10: 24px;
    --_spacing---sp-11: 32px;
    --_spacing---sp-12: 40px;
    --_spacing---sp-13: 50px;
    --_spacing---sp-14: 56px;
    --_spacing---sp-15: 64px;
    --_spacing---sp-16: 72px;
    --_spacing---sp-17: 80px;
    --_spacing---sp-18: 90px;
    --_spacing---sp-19: 100px;
    --_spacing---sp-20: 128px;
    --_spacing---sp-21: 148px;
    --_spacing---sp-22: 160px;
    --_spacing---sp-23: 182px;
    --_spacing---sp-24: 200px;

    /* Typography */
    --_font-size---h1: 120px;
    --_font-size---h2: 80px;
    --_font-size---h3: 64px;
    --_font-size---h4: 24px;
    --_font-size---h5: 20px;
    --_font-size---p1: 36px;
    --_font-size---p2: 18px;
    --_font-size---p3: 16px;
    --_font-size---p4: 12px;

    --_line-height---s: 1.1;
    --_line-height---m: 1.2;
    --_line-height---l: 1.3;
    --_line-height---xl: 1.4;
    --_line-height---xxl: 1.5;

    --_font-weight---regular: 400;
    --_font-weight---medium: 500;
    --_font-weight---semibold: 600;
    --_font-weight---bold: 700;

    /* Colors */
    --grey: #676767;
    --black: #221F1F;
    --red: #F00030;
    --dark-red: #F00030;
    --white: #ffffff;

    margin-top: var(--_spacing---sp-22);
    margin-bottom: var(--_spacing---sp-22);
    background-color: #ffffff;
    width: 100%;
}

.about-section .container {
    padding-right: var(--_spacing---sp-13);
    padding-left: var(--_spacing---sp-13);
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.about-wrap {
    grid-column-gap: var(--_spacing---sp-14);
    grid-row-gap: var(--_spacing---sp-14);
    flex-flow: column;
    width: 100%;
    display: flex;
}

.about-heading {
    justify-content: space-between;
    align-items: flex-end;
    display: flex;
}

.about-section .label {
    grid-column-gap: var(--_spacing---sp-4);
    grid-row-gap: var(--_spacing---sp-4);
    justify-content: flex-start;
    align-items: center;
    display: flex;
}

.about-section .h4-left {
    color: var(--red);
    font-size: var(--_font-size---h4);
    font-weight: var(--_font-weight---medium);
    margin-top: 0;
    margin-bottom: 0;
    font-family: var(--font-heading);
}

.about-section .h4-left.medium-black {
    color: var(--black);
}

.about-section .h4-left.medium-grey {
    color: var(--grey);
}

.about-section .h4-left.medium-white {
    color: var(--white);
}

.about-section .about-title {
    text-align: right;
}

.about-section .about-label {
    margin-bottom: var(--_spacing---sp-4);
}

.about-section .about-content {
    grid-column-gap: var(--_spacing---sp-10);
    grid-row-gap: var(--_spacing---sp-10);
    width: 100%;
    display: flex;
}

.about-section .about-left-image {
    border-radius: 16px;
    width: 37%;
    height: 555px;
    overflow: hidden;
}

.about-section .about-text {
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 61%;
    display: flex;
}

.about-description {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--black);
    text-align: left;
    margin-bottom: 28px;
}

.about-description .muted-text {
    color: var(--grey);
}

.text-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.85em;
    font-weight: 600;
    padding: 3px 15px;
    margin: 2px 4px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.03);
    vertical-align: middle;
    text-transform: none;
    letter-spacing: -0.01em;
}

.tp-blue {
    background-color: #2e52d3;
    color: #ffffff;
}

.tp-orange {
    background-color: #fe6037;
    color: #ffffff;
}

.tp-teal {
    background-color: #65c4b1;
    color: #ffffff;
}

.tp-red {
    background-color: #F00030;
    color: #ffffff;
}

.about-section .about-row-bottom {
    width: 100%;
    display: block;
    margin-top: 0;
}

.about-lead-in {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 28px;
    font-family: var(--font-sans);
    letter-spacing: -0.01em;
}

.about-section .h2-left {
    font-size: var(--_font-size---h2);
    font-weight: 500;
    margin: 0;
    line-height: 1.1;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    color: var(--black);
}

.about-section .p1-left.regular-grey {
    color: var(--grey);
}

.about-section .p3-left.regular-grey {
    color: var(--grey);
    font-size: var(--_font-size---p3);
    line-height: 1.5;
    font-weight: 400;
}

.about-section .image-placeholder {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.about-section .about-left-image:hover .image-placeholder,
.about-section .image-row-top:hover .image-placeholder {
    transform: scale(1.03);
}

/* Sectors Pills Cloud */
.industries-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 14px 18px;
  width: 100%;
  max-width: 650px;
  padding: 10px 0;
}

/* Outer wrapper handles float translation without interfering with hover transforms */
.industry-pill-wrapper {
  display: inline-block;
  will-change: transform;
}

.industry-pill-wrapper.float-1 {
  animation: float-pill-1 3.5s infinite ease-in-out;
}
.industry-pill-wrapper.float-2 {
  animation: float-pill-2 4s infinite ease-in-out;
}
.industry-pill-wrapper.float-3 {
  animation: float-pill-3 3s infinite ease-in-out;
}

/* Add delays to stagger floating starts */
.industries-pills-wrap > .industry-pill-wrapper:nth-child(1) { animation-delay: 0s; }
.industries-pills-wrap > .industry-pill-wrapper:nth-child(2) { animation-delay: 0.3s; }
.industries-pills-wrap > .industry-pill-wrapper:nth-child(3) { animation-delay: 0.7s; }
.industries-pills-wrap > .industry-pill-wrapper:nth-child(4) { animation-delay: 1.1s; }
.industries-pills-wrap > .industry-pill-wrapper:nth-child(5) { animation-delay: 1.4s; }
.industries-pills-wrap > .industry-pill-wrapper:nth-child(6) { animation-delay: 0.2s; }
.industries-pills-wrap > .industry-pill-wrapper:nth-child(7) { animation-delay: 0.5s; }
.industries-pills-wrap > .industry-pill-wrapper:nth-child(8) { animation-delay: 0.9s; }
.industries-pills-wrap > .industry-pill-wrapper:nth-child(9) { animation-delay: 1.3s; }
.industries-pills-wrap > .industry-pill-wrapper:nth-child(10) { animation-delay: 0.4s; }
.industries-pills-wrap > .industry-pill-wrapper:nth-child(11) { animation-delay: 0.8s; }
.industries-pills-wrap > .industry-pill-wrapper:nth-child(12) { animation-delay: 1.2s; }

.industry-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 28px;
  user-select: none;
  text-transform: none;
  letter-spacing: -0.2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background-color 0.3s ease, filter 0.3s ease;
  will-change: transform;
  transform: rotate(var(--base-rotation, 0deg));
}

.industry-pill:hover {
  transform: translateY(-8px) scale(1.05) rotate(var(--hover-rotation, 0deg)) !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  filter: brightness(1.03);
  cursor: pointer;
}

/* Colors & Custom rotations to match screenshot exactly */
.pill-yellow {
  background-color: #ffd47c;
  color: #262121;
  --base-rotation: -3deg;
  --hover-rotation: -1deg;
}

.pill-orange {
  background-color: #fe6037;
  color: #ffffff;
  --base-rotation: 2deg;
  --hover-rotation: 4deg;
}

.pill-blue {
  background-color: #2e52d3;
  color: #ffffff;
  --base-rotation: -2deg;
  --hover-rotation: 0deg;
}

.pill-brightblue {
  background-color: #2760ff;
  color: #ffffff;
  --base-rotation: 3deg;
  --hover-rotation: 5deg;
}

.pill-peach {
  background-color: #ffa380;
  color: #ffffff;
  --base-rotation: 2deg;
  --hover-rotation: 4deg;
}

.pill-teal {
  background-color: #65c4b1;
  color: #ffffff;
  --base-rotation: -2deg;
  --hover-rotation: 0deg;
}

.pill-pink {
  background-color: #ffb3b8;
  color: #ffffff;
  --base-rotation: 1deg;
  --hover-rotation: 3deg;
}

.pill-lightblue {
  background-color: #64a3e3;
  color: #ffffff;
  --base-rotation: -3deg;
  --hover-rotation: -1deg;
}

@keyframes float-pill-1 {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(1deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
@keyframes float-pill-2 {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-1.5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
@keyframes float-pill-3 {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(0.8deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@media screen and (max-width: 991px) {
    .about-section {
        --_font-size---h2: 60px;
        --_font-size---h3: 50px;
        --_spacing---sp-13: 40px;
        --_spacing---sp-14: 40px;
        --_spacing---sp-12: 30px;
        --_spacing---sp-17: 64px;
        --_spacing---sp-22: 100px;
        margin-top: var(--_spacing---sp-22);
        margin-bottom: var(--_spacing---sp-22);
    }

    .about-heading {
        flex-flow: column;
        justify-content: space-between;
        align-items: flex-start;
    }

    .about-section .about-title {
        text-align: left;
        justify-content: flex-start;
        align-items: flex-start;
        display: flex;
    }

    .about-section .about-content {
        flex-flow: column;
    }

    .about-section .about-left-image {
        display: none;
    }

    .about-section .about-text {
        grid-column-gap: 0;
        grid-row-gap: 0;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .about-section {
        --_font-size---h2: 54px;
        --_font-size---h3: 42px;
    }
    
    .industry-pill {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .industries-pills-wrap {
        gap: 12px 14px;
        justify-content: center;
    }
}

@media screen and (max-width: 479px) {
    .about-section {
        --_font-size---h2: 38px;
        --_font-size---h3: 30px;
        --_spacing---sp-13: 20px;
        --_spacing---sp-14: 32px;
        --_spacing---sp-12: 28px;
        --_spacing---sp-9: 10px;
        --_spacing---sp-22: 80px;
        margin-top: var(--_spacing---sp-22);
        margin-bottom: var(--_spacing---sp-22);
    }

    .about-section .about-left-image {
        display: none;
    }
}


/* Touch active states for mobile/tablet viewports to provide haptic click feedback */
@media (max-width: 992px) {
    .cta-button:active,
    .work-btn:active,
    .social-icon-link:active,
    .service-nav-arrow:active,
    .whatsapp-chat-button:active,
    .pkg-btn-whatsapp:active,
    .pkg-btn-inquire:active {
        transform: scale(0.96) translateY(0px) !important;
        opacity: 0.85;
    }
}

/* --- Services Checkbox Group --- */
.services-checkbox-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
    width: 100%;
}

.services-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(34, 31, 31, 0.85); /* Dark text color to match form */
    margin-bottom: 0.75rem;
    text-align: left;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1rem;
    width: 100%;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 0.88rem;
    color: rgba(34, 31, 31, 0.7);
    user-select: none;
    transition: color 0.3s ease;
}

.checkbox-container:hover {
    color: #1C2473; /* Brand Blue */
}

/* Hide native checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom checkmark box */
.checkbox-checkmark {
    position: relative;
    display: inline-block;
    height: 18px;
    width: 18px;
    background-color: #f7f7f9;
    border: 1.5px solid rgba(28, 36, 115, 0.15);
    border-radius: 4px;
    margin-right: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

/* On hover, add a subtle border color */
.checkbox-container:hover input ~ .checkbox-checkmark {
    border-color: rgba(28, 36, 115, 0.4);
}

/* Checked state */
.checkbox-container input:checked ~ .checkbox-checkmark {
    background-color: #1C2473; /* Brand Blue */
    border-color: #1C2473;
}

/* Create the checkmark indicator */
.checkbox-checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: all 0.2s ease;
}

/* Show the checkmark check when ticked */
.checkbox-container input:checked ~ .checkbox-checkmark::after {
    display: block;
}

/* Checkbox label styling */
.checkbox-label {
    text-align: left;
    line-height: 1.2;
}

/* Stacking for smaller mobile viewports */
@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
}

/* --- FAQ Section Styling --- */
.faq-section {
    padding: 5rem 0;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
    position: relative;
    z-index: 10;
}

.faq-section .container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 5rem;
}

.faq-subtitle-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.faq-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.2vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--color-text);
    margin: 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-card {
    background-color: var(--color-white);
    border-radius: 1.5rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    overflow: hidden;
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    border-color: rgba(28, 36, 115, 0.15); /* Light brand blue border on hover */
}

.faq-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 1.2rem 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    outline: none;
    transition: background-color 0.3s ease;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text);
    margin: 0;
    padding-right: 1.5rem;
    pointer-events: none; /* Let button handle clicks */
}

.faq-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(28, 36, 115, 0.05);
    color: var(--color-accent);
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.faq-toggle:hover .faq-icon {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.faq-icon-svg {
    width: 12px;
    height: 12px;
}

.faq-icon-svg line {
    stroke: currentColor;
    transition: transform 0.3s ease;
}

/* Active State Styles */
.faq-card.active {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-color: rgba(28, 36, 115, 0.25);
}

.faq-card.active .faq-icon {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: rotate(135deg); /* Rotates plus to make a close cross */
}

/* Smooth Accordion Height Expansion using CSS Grid */
.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
    padding: 0 1.6rem;
}

.faq-card.active .faq-answer-wrapper {
    grid-template-rows: 1fr;
    padding-bottom: 1.25rem;
}

.faq-answer-content {
    overflow: hidden;
}

.faq-answer {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
    padding-top: 0.25rem;
}

/* Responsiveness for FAQ grid */
@media (max-width: 992px) {
    .faq-section {
        padding: 6rem 0;
    }
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .faq-column {
        gap: 1.5rem;
    }
    .faq-header {
        margin-bottom: 3.5rem;
    }
}

@media (max-width: 576px) {
    .faq-section {
        padding: 5rem 0;
    }
    .faq-toggle {
        padding: 1.6rem 1.4rem;
    }
    .faq-answer-wrapper {
        padding: 0 1.4rem;
    }
    .faq-card.active .faq-answer-wrapper {
        padding-bottom: 1.6rem;
    }
    .faq-card {
        border-radius: 1.25rem;
    }
    .faq-question {
        font-size: 1.05rem;
    }
}

/* --- Header Call & WhatsApp Icon Buttons --- */
.header-contacts {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.promo-blink-zoom {
    font-size: 18px !important;
    padding: 6px 18px !important;
    vertical-align: middle;
    display: inline-flex;
    margin-left: 12px !important;
    transform: translate3d(0, 0, 0); /* Force GPU acceleration */
    backface-visibility: hidden;
    perspective: 1000px;
    animation: promoBlinkZoom 2.5s infinite ease-in-out;
    background-color: #1C2473 !important; /* Brand Blue */
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(28, 36, 115, 0.3) !important;
}

@keyframes promoBlinkZoom {
    0%, 100% {
        transform: scale(0.96) translate3d(0, 0, 0);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.04) translate3d(0, 0, 0);
        opacity: 1;
    }
}

.header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    border: none;
}

.header-icon-btn.call-btn {
    background-color: #1C2473; /* BMS Blue */
    box-shadow: 0 4px 12px rgba(28, 36, 115, 0.2);
}

.header-icon-btn.call-btn:hover {
    background-color: #F00030; /* Brand Red */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(240, 0, 48, 0.3);
}

.header-icon-btn.whatsapp-btn {
    background-color: #25d366; /* WhatsApp Green */
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.header-icon-btn.whatsapp-btn:hover {
    background-color: #128c7e; /* Darker Green */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.header-icon-btn:active {
    transform: scale(0.96) translateY(0);
}

/* Ensure header contacts show on mobile/tablet viewports instead of hiding */
@media (max-width: 992px) {
    .header-contacts {
        display: flex !important;
        gap: 0.6rem;
        margin-right: 1.2rem; /* Margin spacing to sit cleanly next to hamburger button */
    }
    .header-icon-btn {
        width: 42px;
        height: 42px;
    }
    .header-icon-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* --- Static Header Style for Subpages (e.g. packages.html) --- */
#site-header.static-header,
#site-header.static-header.scrolled {
    padding: 1.1rem 4rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: none;
}

#site-header.static-header::before,
#site-header.static-header::after,
#site-header.static-header.scrolled::before,
#site-header.static-header.scrolled::after {
    opacity: 0 !important;
}

#site-header.static-header .logo-white,
#site-header.static-header.scrolled .logo-white {
    display: none;
}

#site-header.static-header .logo-main,
#site-header.static-header.scrolled .logo-main {
    display: block;
    height: 38px;
}

#site-header.static-header .nav-link,
#site-header.static-header.scrolled .nav-link {
    color: #221F1F;
}

#site-header.static-header .nav-link:hover,
#site-header.static-header.scrolled .nav-link:hover {
    color: #F00030;
}

#site-header.static-header .nav-link::after,
#site-header.static-header.scrolled .nav-link::after {
    background-color: #F00030;
}

#site-header.static-header .hamburger-line,
#site-header.static-header.scrolled .hamburger-line {
    background-color: #221F1F;
}

/* Offset styling for pages with fixed static header (no gaps) */
.package-page-main {
    padding-top: 0 !important;
}

.package-page-main .packages-section {
    padding-top: 10.5rem; /* ~168px top padding to clear the 73px header + content gap */
}

@media (max-width: 1024px) {
    #site-header.static-header,
    #site-header.static-header.scrolled {
        padding: 1rem 2.5rem;
    }
    .package-page-main .packages-section {
        padding-top: 8rem;
    }
}

/* Active Navigation Link Highlighting */
.nav-link.active {
    color: #F00030 !important; /* Brand Red text for active link */
}

.nav-link.active::after {
    width: 100% !important;
    background-color: #F00030 !important; /* Brand Red underline for active link */
}








