/* Multi Screen Website Styles */
/* Performance optimizations */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   LUXURY CLASSIC TYPOGRAPHY
   Headings: Cormorant Garamond (editorial serif)
   Body:     Outfit (modern refined sans-serif)
   ============================================ */
/* Google Fonts loaded in HTML head for better performance */

/* CSS Variables for typography */
:root {
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', 'Helvetica Neue', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --letter-spacing-wide: 0.12em;
    --letter-spacing-heading: 0.03em;
    --transition-luxury: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reduce layout shifts */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:root {
    --primary-color: #0c1829;
    --secondary-color: #152238;
    --primary-light: #1a3050;
    --accent-gold: #c9a962;
    --accent-gold-light: #e2cfa0;
    --accent-color: #b91c1c;
    --text-color: #141820;
    --text-muted: #5c6370;
    --light-gray: #f7f5f0;
    --cream: #faf8f4;
    --white: #ffffff;
    --dark-gray: #3d4451;
    --success-color: #059669;
    --warning-color: #d97706;
}

/* Animation Keyframes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmerGold {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes lineReveal {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

body {
    font-family: var(--font-body);
    font-weight: var(--font-weight-light);
    line-height: 1.75;
    color: var(--text-color);
    background-color: var(--cream);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Heading hierarchy: Cormorant Garamond (elegant serif) ── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-light);
    letter-spacing: var(--letter-spacing-heading);
    line-height: 1.15;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2.5rem, 4vw, 3.75rem);
}

h3 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h4 {
    font-size: 1.75rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(12, 24, 41, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 169, 98, 0.12);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background var(--transition-luxury), box-shadow var(--transition-luxury), border-color var(--transition-luxury);
}

header.header-scrolled {
    background: rgba(12, 24, 41, 0.97);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    border-bottom-color: rgba(201, 169, 98, 0.25);
}

.navbar {
    padding: 0.85rem 0;
    transition: padding var(--transition-luxury);
}

header.header-scrolled .navbar {
    padding: 0.65rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
    transition: opacity var(--transition-luxury), transform var(--transition-luxury);
}

.logo:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.logo span {
    display: none;
}

.logo img {
    height: 80px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    font-size: 0.72rem;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    transition: color var(--transition-luxury), border-color var(--transition-luxury);
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid transparent;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    transition: width var(--transition-luxury), left var(--transition-luxury);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
    left: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Main Content */
main {
    margin-top: 0;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(12, 24, 41, 0.88) 0%,
            rgba(21, 34, 56, 0.75) 45%,
            rgba(12, 24, 41, 0.85) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--accent-gold) 20%,
            var(--accent-gold-light) 50%,
            var(--accent-gold) 80%,
            transparent 100%);
    z-index: 3;
    animation: lineReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s backwards;
    transform-origin: center;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero-text {
    color: #fff;
    text-align: center;
    max-width: 780px;
    padding: 3rem 2.5rem;
    background: rgba(12, 24, 41, 0.35);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 2px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: slideInUp 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.75rem, 7vw, 4.75rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 1.25rem;
    line-height: 1.08;
    letter-spacing: var(--letter-spacing-heading);
    animation: slideInDown 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-text h1 .heading-accent {
    display: block;
    font-style: italic;
    color: var(--accent-gold-light);
    font-weight: 300;
}

.hero-text p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 2rem;
    line-height: 1.85;
    letter-spacing: 0.02em;
    animation: fadeIn 1s ease-out 0.35s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: popIn 0.6s ease-out 0.5s backwards;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

/* Scroll-triggered animation classes */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-on-scroll.slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.animate-on-scroll.slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

.animate-on-scroll.slide-in-up {
    animation: slideInUp 0.6s ease-out forwards;
}

.animate-on-scroll.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

/* Staggered animation delays */
.animate-on-scroll.delay-1 {
    animation-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    animation-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    animation-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
    animation-delay: 0.4s;
}

.animate-on-scroll.delay-5 {
    animation-delay: 0.5s;
}


.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 0;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    transition: all var(--transition-luxury);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8944f 100%);
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201, 169, 98, 0.45);
    color: var(--primary-color);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.6);
    font-weight: 500;
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

/* Services Overview */
.services-overview {
    padding: 5.5rem 0;
    background-color: var(--cream);
    position: relative;
}

.services-overview h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    font-weight: 300;
    color: var(--primary-color);
    letter-spacing: var(--letter-spacing-heading);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.25rem 2rem;
    border-radius: 0;
    text-align: center;
    border: 1px solid rgba(201, 169, 98, 0.12);
    box-shadow: 0 4px 24px rgba(12, 24, 41, 0.04);
    transition: transform var(--transition-luxury), box-shadow var(--transition-luxury), border-color var(--transition-luxury);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    transform: scaleX(0);
    transition: transform var(--transition-luxury);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(12, 24, 41, 0.1);
    border-color: rgba(201, 169, 98, 0.35);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    margin-bottom: 1rem;
}

.service-icon img {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

.feature-icon img {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

.reason-icon img {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.65rem;
    font-family: var(--font-heading);
    font-weight: 400;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

/* Why Choose Us */
.why-choose-us {
    padding: 5.5rem 0;
    background-color: var(--light-gray);
    border-top: 1px solid var(--divider-color, #e5dfd6);
    border-bottom: 1px solid var(--divider-color, #e5dfd6);
}

.why-choose-us h2 {
    text-align: center;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 300;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2.25rem 2rem;
    border-radius: 0;
    text-align: center;
    border: 1px solid rgba(201, 169, 98, 0.1);
    box-shadow: 0 4px 20px rgba(12, 24, 41, 0.04);
    transition: transform var(--transition-luxury), box-shadow var(--transition-luxury);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(12, 24, 41, 0.08);
}

.feature-icon {
    margin-bottom: 1rem;
}

.feature-icon img {
    width: 60px;
    height: 60px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.feature-card p {
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-light) 100%);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(201, 169, 98, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(201, 169, 98, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-weight: 300;
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.88;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #0a1420 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 4rem 0 1.5rem;
    border-top: 1px solid rgba(201, 169, 98, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-gold-light);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color var(--transition-luxury);
}

.footer-section ul li a:hover {
    color: var(--accent-gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(201, 169, 98, 0.15);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Privacy Policy Page */
.privacy-content {
    padding: 4rem 0;
    background-color: var(--white);
}

.privacy-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.privacy-text h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-family: var(--font-heading);
}

.privacy-text h3 {
    color: var(--dark-gray);
    margin: 2rem 0 1rem;
    font-size: 1.75rem;
    font-family: var(--font-heading);
}

.privacy-text p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.privacy-text ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.privacy-text ol li {
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.privacy-text ul {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.privacy-text ul li {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.privacy-links {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 0;
    margin-top: 3rem;
}

.privacy-links h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-family: var(--font-heading);
}

.privacy-links ul {
    list-style: none;
}

.privacy-links ul li {
    margin-bottom: 0.5rem;
}

.privacy-links ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.privacy-links ul li a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 72px);
        max-height: calc(100vh - 72px);
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 0;
        z-index: 999;
        overflow-y: scroll;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    body.menu-open {
        overflow: hidden;
    }

    .nav-menu a {
        color: var(--primary-color) !important;
        padding: 1rem 2rem;
        display: block;
        border-bottom: 1px solid #e2e8f0;
        font-size: 1rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: var(--primary-color);
        color: var(--white) !important;
        padding-left: 2.5rem;
        border-left: 3px solid var(--accent-gold);
    }

    .nav-menu.active {
        left: 0;
    }

    .logo img {
        height: 70px;
        width: auto;
    }

    .hero {
        background-attachment: scroll;
        min-height: 80vh;
    }

    .hero-text {
        padding: 1.5rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text {
        padding: 1rem;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .services-overview h2,
    .text-content h2,
    .cta-section h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Page Header */
.page-header {
    padding: 140px 0 4.5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 55%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 169, 98, 0.1) 0%, transparent 55%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-weight: 300;
    letter-spacing: var(--letter-spacing-heading);
    animation: slideInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-header p {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out 0.25s backwards;
}

/* Services Detail */
.services-detail {
    padding: 4rem 0;
}

.service-detail {
    margin-bottom: 4rem;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-detail.reverse .service-content {
    direction: rtl;
}

.service-detail.reverse .service-text {
    direction: ltr;
}

.service-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 300;
}

.service-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    color: var(--accent-gold);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-image {
    max-width: 100%;
    height: auto;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border: 1px solid rgba(201, 169, 98, 0.15);
    box-shadow: 0 12px 40px rgba(12, 24, 41, 0.08);
    transition: transform var(--transition-luxury), box-shadow var(--transition-luxury);
}

.service-detail:hover .service-image img {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(12, 24, 41, 0.12);
}

/* Service Process */
.service-process {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.service-process h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.process-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.process-step {
    text-align: center;
    padding: 1.2rem 0.8rem;
    flex: 0 1 180px;
    max-width: 200px;
}

.step-number {
    width: 48px;
    height: 48px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.process-step p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Products Page Styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    display: block;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: #0f172a;
    margin-bottom: 1rem;
}

.product-info p {
    color: #0f172a;
    margin-bottom: 1rem;
}

.product-specs {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-specs li {
    padding: 0.25rem 0;
    color: #1e293b;
    font-size: 1rem;
}

/* Contact Form Styles */
.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1.05rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-info {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    border-radius: 8px;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.2rem;
}

/* Projects Gallery */
.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.project-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.project-category {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.project-info p {
    color: var(--dark-gray);
}

/* About Page Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 0;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.about-text p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.stats-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.stat-item p {
    font-size: 1.2rem;
}

/* Responsive Design for Additional Pages */
@media (max-width: 768px) {
    .service-content {
        grid-template-columns: 1fr;
        direction: rtl;
        /* Reverse order: image first, then text */
    }

    .service-text {
        direction: ltr;
        /* Keep text direction normal */
    }

    /* Keep reverse class working properly */
    .service-detail.reverse .service-content {
        direction: ltr;
        /* Reverse back to normal for reverse class */
    }

    .service-detail.reverse .service-text {
        direction: rtl;
        /* Reverse text direction for reverse class */
    }

    .process-steps {
        gap: 0.5rem;
    }

    .process-step {
        flex: 0 1 140px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .projects-gallery {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .service-text h2,
    .about-text h2 {
        font-size: 2rem;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
}

.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.map-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.map-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.map-container {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

.map-info {
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-top: 1px solid #e2e8f0;
}

.map-info p {
    margin: 0.5rem 0;
    color: var(--text-color);
}

.map-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.map-info a:hover {
    text-decoration: underline;
}

/* Product Categories */
.product-categories {
    padding: 4rem 0;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--secondary-color);
    background-color: transparent;
    color: var(--secondary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--secondary-color);
    color: var(--white);
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 1rem 0;
}

/* Brands Section */
.brands-section {
    padding: 5rem 0;
    background-color: var(--cream);
}

.brands-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-family: var(--font-heading);
    font-weight: 300;
}

.brands-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.brand-track {
    display: flex;
    width: fit-content;
    transition: animation-play-state 0.3s ease;
}

.brand-logo {
    flex: 0 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.brand-logo img {
    max-height: 80px;
    max-width: 240px;
    filter: none;
    opacity: 1;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo img:hover {
    filter: none;
    opacity: 1;
    transform: scale(2.0);
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Duplicate logos for seamless loop */
.brand-track::after {
    content: "";
    display: flex;
    gap: 2rem;
}

.brand-track::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: inherit;
}

/* Responsive Design */
@media (max-width: 768px) {
    .brand-logo {
        min-width: 150px;
        padding: 1rem;
    }

    .brand-logo img {
        max-height: 60px;
        max-width: 180px;
    }

    .brands-section h2 {
        font-size: 2rem;
    }
}

/* Form Validation Styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--accent-color);
}

.error-message {
    color: var(--accent-color);
    font-size: 1rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.success-message {
    background-color: var(--success-color);
    color: var(--white);
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: none;
}

.success-message.show {
    display: block;
}

/* Loading State */
.btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn.loading:after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .category-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form-container h2 {
        font-size: 1.5rem;
    }
}

/* About Page Styles */
.about-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.mission-vision {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mv-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mv-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.mv-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

.mv-card ul {
    list-style: none;
    padding: 0;
}

.mv-card ul li {
    padding: 0.5rem 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 1.5rem;
}

.mv-card ul li:before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.team-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-info p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Certifications Section */
.certifications-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.certifications-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.cert-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cert-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.cert-list {
    list-style: none;
    padding: 0;
}

.cert-list li {
    padding: 0.5rem 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 1.5rem;
}

.cert-list li:before {
    content: "🏆";
    position: absolute;
    left: 0;
}

.cert-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.cert-logo {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.cert-logo:hover {
    transform: translateY(-3px);
}

.cert-logo img {
    max-width: 100px;
    max-height: 60px;
    width: auto;
    height: auto;
}

/* Why Choose Section */
.why-choose-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.why-choose-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.reason-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
}

.reason-icon {
    margin-bottom: 1rem;
}

.reason-icon img {
    width: 60px;
    height: 60px;
}

.reason-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.reason-card p {
    color: var(--dark-gray);
}

/* Projects Page Additional Styles */
.projects-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.project-details {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-details span {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lazy Loading */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}

/* Additional Mobile Responsive */
@media (max-width: 768px) {
    .cert-content {
        grid-template-columns: 1fr;
    }

    .cert-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .project-details {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .cert-logos {
        grid-template-columns: 1fr;
    }

    .member-image {
        height: 200px;
    }

    .member-info {
        padding: 1rem;
    }

    .reason-card {
        padding: 1.5rem;
    }
}

/* Performance Optimizations */
/* Optimize animations and transitions */
.btn,
.service-card,
.product-card,
.project-card {
    will-change: transform;
    transform: translateZ(0);
}

/* Optimize images */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Optimize scrolling */
html {
    scroll-behavior: smooth;
}

/* Optimize form elements */
input,
textarea,
select {
    will-change: border-color, box-shadow;
}

/* Critical CSS for above-the-fold content */
.hero,
.page-header {
    contain: layout style paint;
}

/* Optimize grid layouts */
.services-grid,
.products-grid,
.projects-gallery {
    contain: layout;
}

/* Reduce paint on hover states */
.nav-menu a:hover,
.service-card:hover,
.product-card:hover {
    will-change: background-color, transform;
}

/* Optimize mobile performance */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }

    .hero-image img,
    .service-image img,
    .product-image img {
        transform: translateZ(0);
    }
}

/* Preload animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Loading spinner optimization */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    will-change: transform;
}

/* Optimize focus states for accessibility */
.btn:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Optimize print styles */
@media print {

    .navbar,
    .hamburger,
    .btn,
    footer {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    h1,
    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* ============================================================
   NORTHBANKS-INSPIRED DESIGN SYSTEM
   — Two-color headings
   — Section dividers (line + accent)
   — Decorative rules
   — Editorial typography
   ============================================================ */

/* ── 1. ACCENT COLOR (used for second color in headings & dividers) ── */
:root {
    --accent-warm: #c9a962;
    --accent-line: #c9a962;
    --divider-color: #e5dfd6;
    /* soft warm grey for full-width dividers */
    --divider-thin: 1px;
    --divider-thick: 3px;
}

/* ── 2. TWO-COLOR HEADINGS ─────────────────────────────────────────
   Pattern A: Heading where FIRST line is dark, SECOND line is accent
   Usage in HTML:  <h2>Our <span class="heading-accent">Services</span></h2>
   ────────────────────────────────────────────────────────────────── */
.heading-accent {
    color: var(--accent-warm);
    font-style: italic;
    font-weight: 300;
}

/* Pattern B: Small italic label ABOVE a big heading (Northbanks style)
   Usage:  <span class="eyebrow">What we do</span>
           <h2>Retail Formats</h2>
*/
.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-warm);
    margin-bottom: 0.6rem;
}

/* Pattern C: italic subtitle BELOW a big heading
   Usage:  <h2>Our Work</h2>
           <p class="heading-sub">Building brand presence</p>
*/
.heading-sub {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--accent-warm);
    letter-spacing: 0.02em;
    margin-top: -0.25rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* ── 3. DECORATIVE HEADING UNDERLINE RULES ──────────────────────────
   A short colored line that sits under section headings
   Usage: add class "ruled" to any h2 or h3
   ────────────────────────────────────────────────────────────────── */
.ruled {
    position: relative;
    padding-bottom: 1.2rem;
    margin-bottom: 1.8rem;
}

.ruled::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: var(--divider-thick);
    background-color: var(--accent-warm);
    border-radius: 2px;
}

/* Centred variant for centred headings */
.ruled.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ── 4. SECTION DIVIDERS ────────────────────────────────────────────
   Full-width thin lines between sections
   ────────────────────────────────────────────────────────────────── */

/* Simple thin full-width rule */
.section-divider {
    width: 100%;
    height: var(--divider-thin);
    background-color: var(--divider-color);
    border: none;
    margin: 0;
}

/* Short centred decorative rule — for mid-section breaks */
.divider-short {
    display: block;
    width: 60px;
    height: 1px;
    background-color: var(--accent-warm);
    margin: 2rem auto;
}

/* Left accent bar — colored left border on content blocks */
.divider-left {
    border-left: var(--divider-thick) solid var(--accent-warm);
    padding-left: 1.5rem;
    margin-left: 0;
}

/* ── 5. SECTION BACKGROUND ALTERNATION ─────────────────────────────
   Subtle two-tone sections separated by a single px rule
   ────────────────────────────────────────────────────────────────── */
.section-light {
    background-color: #faf9f7;
    border-top: var(--divider-thin) solid var(--divider-color);
    border-bottom: var(--divider-thin) solid var(--divider-color);
}

.section-dark {
    background-color: #1a1a1a;
    color: #f0ece6;
    border-top: var(--divider-thin) solid #333;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #f0ece6;
}

.section-dark .heading-accent {
    color: var(--accent-warm);
}

/* ── 6. LARGE DISPLAY / OVERSIZED HEADINGS ──────────────────────────
   For hero-style statements — very large, light weight, editorial
   ────────────────────────────────────────────────────────────────── */
.display-heading {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 300;
    line-height: 1.0;
    letter-spacing: -0.01em;
    color: var(--text-color);
}

.display-heading .heading-accent {
    display: block;
    /* second line breaks to its own row */
    font-style: italic;
}

/* ── 7. SERVICE / CONTENT BLOCK HEADINGS (like Northbanks services page) ─
   h2 + h4 italic combo
   ────────────────────────────────────────────────────────────────── */
.content-block h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--text-color);
    margin-bottom: 0.3rem;
    letter-spacing: 0.01em;
}

.content-block h4 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--accent-warm);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.content-block p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.98rem;
    line-height: 1.85;
    color: #4a4a4a;
    max-width: 60ch;
}

/* ── 8. COLOURED SIDE DIVIDER (vertical accent bar on sections) ─────
   Creates a decorative colored bar on the left side of a section
   Usage: add class "side-accent" to a section or div
   ────────────────────────────────────────────────────────────────── */
.side-accent {
    position: relative;
}

.side-accent::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 0;
    width: var(--divider-thick);
    height: 80%;
    background: linear-gradient(to bottom,
            transparent,
            var(--accent-warm) 20%,
            var(--accent-warm) 80%,
            transparent);
}

/* Bottom accent bar variant */
.bottom-accent {
    position: relative;
    padding-bottom: 3rem;
}

.bottom-accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(to right,
            transparent,
            var(--accent-warm) 30%,
            var(--accent-warm) 70%,
            transparent);
}

/* ── 9. RESPONSIVE ADJUSTMENTS ──────────────────────────────────────*/
@media (max-width: 768px) {
    .display-heading {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .side-accent::before {
        display: none;
        /* hide vertical side bar on small screens */
    }

    .ruled::after {
        width: 36px;
    }
}

/* ============================================================
   LUXURY ENHANCEMENTS — animations & polish
   ============================================================ */

.animate-on-scroll {
    opacity: 0;
    will-change: opacity, transform;
}

.animate-on-scroll.fade-in {
    animation: fadeIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-on-scroll.slide-in-left {
    animation: slideInLeft 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-on-scroll.slide-in-right {
    animation: slideInRight 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-on-scroll.slide-in-up {
    animation: slideInUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-on-scroll.scale-in {
    animation: scaleIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .eyebrow {
    animation: fadeIn 0.8s ease-out backwards;
}

.section-header h2 {
    animation: slideInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s backwards;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
    border: 1px solid rgba(201, 169, 98, 0.4);
    padding: 0.45rem 1.1rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.8s ease-out backwards;
}

.luxury-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    margin: 1.25rem auto 0;
    animation: lineReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s backwards;
    transform-origin: center;
}

.service-icon,
.feature-icon {
    transition: transform var(--transition-luxury);
}

.service-card:hover .service-icon,
.feature-card:hover .feature-icon {
    transform: translateY(-4px) scale(1.05);
}

.social-links a {
    transition: transform var(--transition-luxury), color var(--transition-luxury);
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--accent-gold-light) !important;
}

/* Stagger children in grids when JS adds auto-animate class */
.auto-stagger > * {
    opacity: 0;
}

.auto-stagger > *.is-visible {
    animation: slideInUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}