/* ===================================
   Bullion Dynasty Capital - Main Styles
   High-end precious metals investment firm
   =================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* New Sophisticated Palette - Inspired by Contact Form Background */
    --sophisticated-grey: #5A5A5A;        /* Main grey from your favorite background */
    --deep-grey: #4A4A4A;                 /* Darker variant */
    --charcoal-grey-new: #3F3F3F;         /* Deep charcoal for contrast */
    --warm-grey: #6B6B6B;                 /* Lighter warm grey */
    --elegant-cream: #F8F6F2;             /* Keeping the cream for contrast */
    --sophisticated-black: #1A1A1A;
    
    /* Enhanced Gold Accents - More refined with grey */
    --rich-gold: #D4AF37;                 /* Brighter gold for grey backgrounds */
    --warm-gold: #C8941F;                 /* Warmer tone */
    --bronze-gold: #B8860B;               /* Bronze depth */
    --light-gold: #E6D084;                /* Light accent */
    
    /* Secondary Tones - Grey-based Professional */
    --slate-grey-new: #707070;            /* Updated slate grey */
    --medium-grey: #808080;               /* Medium grey for text */
    --light-grey-bg: #F5F5F5;            /* Light background grey */
    --border-grey: #CCCCCC;               /* Border accents */
    
    /* Neutral Foundations */
    --secondary-cream: #F0EDE5;
    --deep-cream: #EBE6DB;
    
    /* Legacy support (updated) */
    --gold-primary: #D4AF37;
    --gold-dark: #B88608;
    --gold-light: #F2E6B3;
    --cream: #F8F6F0;
    --white: #FFFFFF;
    --black: #1C1C1C;
    --gray-light: #F5F1E8;
    --gray-medium: #4A444A;
    --gray-dark: #4A444A;
    
    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Lato', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-gold: 0 20px 40px rgba(212, 175, 55, 0.3);
    --shadow-deep: 0 25px 50px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.7;
    color: var(--sophisticated-black);
    background: 
        radial-gradient(ellipse at top left, rgba(200, 148, 31, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(27, 41, 81, 0.02) 0%, transparent 50%),
        linear-gradient(135deg, 
            var(--elegant-cream) 0%, 
            var(--white) 25%, 
            var(--secondary-cream) 50%, 
            var(--elegant-cream) 75%, 
            var(--deep-cream) 100%);
    overflow-x: hidden;
    font-weight: 400;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--charcoal-grey);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
#header {
    background: 
        linear-gradient(180deg, 
            rgba(255, 255, 255, 0.2) 0%, 
            rgba(255, 255, 255, 0.2) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 0;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(200, 148, 31, 0.1),
        inset 0 -1px 0 rgba(200, 148, 31, 0.15);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(200, 148, 31, 0.3);
}

#header.scrolled {
    padding: 18px 0;
    background: 
        linear-gradient(180deg, 
            rgba(255, 255, 255, 0.2) 0%, 
            rgba(255, 255, 255, 0.2) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(248, 246, 242, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 
        0 6px 24px rgba(200, 148, 31, 0.2),
        0 2px 6px rgba(27, 41, 81, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(200, 148, 31, 0.3);
    transition: var(--transition-smooth);
}

.logo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        var(--rich-gold) 0%, 
        var(--light-gold) 50%, 
        var(--warm-gold) 100%);
    border-radius: 18px;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.logo:hover::before {
    opacity: 0.3;
}

.logo:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 
        0 10px 32px rgba(212, 175, 55, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 1);
}

.logo-img {
    height: 55px;
    width: auto;
    max-width: 280px;
    transition: var(--transition-smooth);
    filter: 
        drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4))
        drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1))
        contrast(1.05)
        brightness(1.0);
    position: relative;
    z-index: 2;
    border-radius: 6px;
    /* 強制的に白背景を適用 */
    background-color: #FFFFFF !important;
    background-image: none !important;
    padding: 6px 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.logo:hover .logo-img {
    filter: 
        drop-shadow(0 3px 12px rgba(212, 175, 55, 0.5))
        drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2))
        contrast(1.1)
        brightness(1.02);
    transform: scale(1.02);
}

/* Logo pulse animation for extra attention */
@keyframes logoGlow {
    0% { 
        box-shadow: 
            0 8px 32px rgba(212, 175, 55, 0.15),
            0 2px 8px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    50% { 
        box-shadow: 
            0 12px 40px rgba(212, 175, 55, 0.25),
            0 4px 12px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 1);
    }
    100% { 
        box-shadow: 
            0 8px 32px rgba(212, 175, 55, 0.15),
            0 2px 8px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
}

.logo {
    animation: logoGlow 6s ease-in-out infinite;
}

.logo:hover {
    animation: none;
}

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

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition-smooth);
    position: relative;
    letter-spacing: 0.02em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rich-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--rich-gold);
    text-shadow: 0 0 8px rgba(200, 148, 31, 0.3);
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--rich-gold) 0%, var(--warm-gold) 100%);
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-smooth);
    margin-left: 15px;
    white-space: nowrap;
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--bronze-gold) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200, 148, 31, 0.3);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--black);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mobile-menu-toggle:hover {
    color: var(--gold-primary);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        var(--white) 0%, 
        var(--elegant-cream) 25%,
        var(--secondary-cream) 50%,
        var(--elegant-cream) 75%,
        var(--white) 100%);
    position: relative;
    padding: 140px 0 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
        linear-gradient(45deg, 
            transparent 0%, 
            rgba(212, 175, 55, 0.03) 50%, 
            transparent 100%
        );
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}













.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 72px;
    font-weight: 700; /* More authoritative for fund appearance */
    letter-spacing: 4px;
    margin-bottom: 32px;
    line-height: 0.9;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Three-line hero title styling */
.precision,
.security, 
.trust {
    display: block;
    font-weight: 300;
    letter-spacing: 0.08em;
    line-height: 0.95;
    animation: fadeInUp 1s ease-out;
}

.precision {
    color: var(--charcoal-grey);
    animation-delay: 0s;
}

.security {
    color: var(--gold-primary);
    font-weight: 600;
    animation-delay: 0.2s;
}

.trust {
    color: var(--charcoal-grey);
    animation-delay: 0.4s;
}

/* Legacy support */
.timeless {
    color: var(--gold-primary);
    display: block;
}

.wealth {
    color: var(--black);
    display: block;
}

.hero-subtitle {
    font-size: 32px;
    color: var(--black);
    font-weight: 300;
    margin-bottom: 28px;
    font-style: italic;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.hero-description {
    font-size: 20px;
    color: var(--charcoal-grey);
    margin-bottom: 48px;
    max-width: 540px;
    line-height: 1.8;
    font-weight: 300;
    opacity: 0.9;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold-primary);
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===================================
   BUTTONS
   =================================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 22px 40px;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.cta-button.primary {
    background: linear-gradient(135deg, 
        var(--gold-primary) 0%, 
        var(--gold-light) 50%, 
        var(--gold-primary) 100%);
    color: var(--white);
    box-shadow: 
        0 12px 28px rgba(212, 175, 55, 0.3),
        0 4px 8px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.3);
    border: 1px solid rgba(255,255,255,0.2);
}

.cta-button.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.25), 
        transparent);
    transition: var(--transition-smooth);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, 
        var(--gold-dark) 0%, 
        var(--gold-primary) 50%, 
        var(--gold-dark) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 16px 32px rgba(212, 175, 55, 0.4),
        0 8px 16px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

.cta-button.primary:hover::before {
    left: 100%;
}

/* ===================================
   SECTIONS
   =================================== */
.section {
    padding: 120px 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(248, 246, 240, 0.1) 50%, 
        transparent 100%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 52px;
    color: var(--navy-blue);
    font-weight: 700; /* Enhanced weight for fund authority */
    letter-spacing: 2px;
    margin-bottom: 32px;
    position: relative;
    display: inline-block;
    text-shadow: 
        0 3px 6px rgba(0,0,0,0.1),
        0 1px 2px rgba(200, 148, 31, 0.2);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--gold-primary), 
        var(--gold-light), 
        var(--gold-primary), 
        transparent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 22px;
    color: var(--slate-grey);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.01em;
}

/* ===================================
   HERITAGE SECTION
   =================================== */
.heritage {
    background: linear-gradient(135deg, 
        var(--secondary-cream) 0%,
        var(--white) 40%,
        var(--elegant-cream) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.heritage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.heritage-title {
    font-size: 42px;
    color: var(--rich-gold);
    margin-bottom: 28px;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
}

.heritage-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.heritage-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--gold-primary);
    font-family: var(--font-primary);
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.heritage-certifications {
    display: flex;
    gap: 30px;
}

.certification {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.certification i {
    color: var(--gold-primary);
    font-size: 18px;
}

.certification span {
    font-weight: 500;
    color: var(--black);
}

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

.heritage-image {
    width: 400px;
    height: 300px;
    background: linear-gradient(45deg, var(--gold-primary), var(--gold-dark));
    border-radius: 15px;
    box-shadow: var(--shadow-deep);
    position: relative;
    overflow: hidden;
}

.heritage-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 40px 40px;
}

.market-data-notice {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    z-index: 2;
    padding: 20px;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    opacity: 0.9;
}

.notice-header i {
    font-size: 16px;
}

.notice-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.notice-content p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.4;
    margin-bottom: 15px;
    max-width: 280px;
}

.status-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0.9;
}

.price-header i {
    font-size: 18px;
}

.price-content {
    margin-bottom: 15px;
}

.price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.price-value {
    font-size: 36px;
    font-weight: 700;
    font-family: var(--font-primary);
}

.price-currency {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.8;
}

.price-change {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.price-change.positive {
    color: #4CAF50;
}

.price-change.negative {
    color: #f44336;
}

.price-footer {
    font-size: 12px;
    opacity: 0.7;
    font-style: italic;
}

/* Enhanced Kitco-style Price Display */
.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 10px;
}

.price-badge .fa-circle {
    font-size: 6px;
    color: #4CAF50;
}

.price-badge .pulse {
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.price-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 10px 0;
    font-size: 12px;
    opacity: 0.8;
}

.price-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-label {
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.7;
}

.stat-value {
    font-weight: 600;
}

/* Gold Price Loading Animation */
.gold-price-display:not(.data-loaded) .price-value {
    animation: goldPriceLoading 1.5s ease-in-out infinite;
}

.gold-price-display:not(.data-loaded) .price-change {
    opacity: 0.5;
}

.gold-price-display:not(.data-loaded) .price-badge {
    opacity: 0.3;
}

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

/* Data loaded animation */
.gold-price-display.data-loaded .price-value {
    animation: priceUpdate 0.8s ease-out;
}

@keyframes priceUpdate {
    0% {
        transform: scale(1.05);
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    }
    100% {
        transform: scale(1);
        text-shadow: none;
    }
}

/* Enhanced animation for real-time updates */
@keyframes priceUpdateRealTime {
    0% {
        transform: scale(1.08);
        text-shadow: 0 0 20px rgba(76, 175, 80, 0.8);
        background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(212, 175, 55, 0.95));
    }
    50% {
        text-shadow: 0 0 25px rgba(76, 175, 80, 1);
    }
    100% {
        transform: scale(1);
        text-shadow: none;
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.95), rgba(255, 215, 0, 0.85), rgba(184, 134, 8, 0.95));
    }
}

/* Enhanced change colors (Kitco-style) */
.price-change.positive .change-value,
.price-change.positive .change-percent {
    color: #00C851 !important;
    font-weight: 600;
}

.price-change.negative .change-value,
.price-change.negative .change-percent {
    color: #FF4444 !important;
    font-weight: 600;
}

.price-change.neutral .change-value,
.price-change.neutral .change-percent {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Professional market data styling */
.gold-price-display.data-loaded {
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.95) 0%,
        rgba(255, 215, 0, 0.85) 50%,
        rgba(184, 134, 8, 0.95) 100%
    );
    box-shadow: 
        0 0 20px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Mobile responsiveness for gold price display */
@media (max-width: 768px) {
    .price-value {
        font-size: 28px;
    }
    
    .price-header {
        font-size: 14px;
    }
    
    .price-change {
        font-size: 12px;
    }
    
    .price-badge {
        font-size: 8px;
        padding: 2px 6px;
        margin-left: 6px;
    }
    
    .price-details {
        gap: 15px;
    }
    
    .price-stat {
        font-size: 11px;
    }
}

/* ===================================
   PHILOSOPHY SECTION
   =================================== */
.philosophy {
    background: linear-gradient(135deg, 
        var(--elegant-cream) 0%,
        var(--white) 50%,
        var(--secondary-cream) 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

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

.philosophy-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 60px 45px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.1),
        0 3px 10px rgba(0,0,0,0.03),
        inset 0 1px 0 rgba(255,255,255,0.95);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--gold-primary), 
        var(--gold-light), 
        var(--gold-primary));
    transform: scaleX(0);
    transition: var(--transition-smooth);
    border-radius: 24px 24px 0 0;
}

.philosophy-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(212, 175, 55, 0.03) 0%, 
        transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.philosophy-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.15),
        0 10px 20px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255,255,255,1);
}

.philosophy-card:hover::before {
    transform: scaleX(1);
}

.philosophy-card:hover::after {
    opacity: 1;
}

.philosophy-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    box-shadow: var(--shadow-soft);
}

.philosophy-card h4 {
    color: var(--black);
    font-size: 24px;
    margin-bottom: 20px;
}

.philosophy-card p {
    color: var(--gray-dark);
    font-size: 16px;
    line-height: 1.6;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.service-card {
    background: 
        linear-gradient(145deg, 
            rgba(255, 255, 255, 0.95) 0%,
            rgba(245, 242, 232, 0.9) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 60px 40px;
    border-radius: 24px;
    box-shadow: 
        0 15px 40px rgba(61, 61, 61, 0.12),
        0 5px 15px rgba(0,0,0,0.08),
        0 2px 6px rgba(200, 148, 31, 0.1),
        inset 0 1px 0 rgba(255,255,255,1),
        inset 0 -1px 0 rgba(200, 148, 31, 0.1);
    text-align: center;
    transition: var(--transition-smooth);
    border: 2px solid rgba(200, 148, 31, 0.15);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(212, 175, 55, 0.05), 
        transparent);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.15),
        0 8px 16px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255,255,255,1);
    border-color: rgba(212, 175, 55, 0.2);
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    box-shadow: var(--shadow-soft);
}

.service-card h4 {
    font-size: 22px;
    color: var(--navy-blue);
    margin-bottom: 20px;
    font-family: var(--font-secondary);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.service-card p {
    color: var(--gray-dark);
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-features ul {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    color: var(--gray-dark);
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: 700;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: linear-gradient(135deg, 
        var(--sophisticated-grey) 0%, 
        var(--deep-grey) 100%);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact .section-subtitle {
    color: #CCCCCC;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gold-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h5 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-details p {
    color: #CCCCCC;
    font-size: 16px;
    line-height: 1.5;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.12);
    padding: 60px 50px;
    border-radius: 28px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-guarantee {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(27, 41, 81, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--rich-gold);
}

.contact-guarantee p {
    color: var(--slate-grey);
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-guarantee i {
    color: var(--rich-gold);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 20px 15px 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    font-size: 16px;
    transition: var(--transition-smooth);
    font-family: var(--font-secondary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(0, 0, 0, 0.5);
}

.form-group select option {
    background: var(--charcoal-black);
    color: var(--white);
    padding: 10px;
}

.form-group label {
    position: absolute;
    top: 20px;
    left: 15px;
    color: #CCCCCC;
    font-size: 16px;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:not([value=""]) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 8px;
    font-size: 12px;
    color: var(--gold-primary);
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    accent-color: var(--gold-primary);
}

.checkbox-group label {
    position: static;
    color: #CCCCCC;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: 
        linear-gradient(135deg, 
            var(--elegant-cream) 0%, 
            var(--light-grey-bg) 30%,
            #F9F9F9 70%,
            var(--elegant-cream) 100%),
        radial-gradient(ellipse at center bottom, 
            rgba(200, 148, 31, 0.05) 0%, 
            transparent 70%);
    color: var(--sophisticated-black);
    padding: 100px 0 50px;
    position: relative;
    box-shadow: 
        inset 0 4px 12px rgba(0, 0, 0, 0.05),
        0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--rich-gold), 
        transparent);
}

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

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 20px; /* Space between logo and description */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.footer-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 7px 14px; /* 20% larger than header: 6px*1.2=7.2px, 12px*1.2=14.4px */
    border-radius: 12px; /* 20% larger than header: 10px*1.2=12px */
    background: rgba(248, 246, 242, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 
        0 4px 16px rgba(212, 175, 55, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: var(--transition-smooth);
}

.footer-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.1) 0%, 
        rgba(242, 230, 179, 0.05) 100%);
    border-radius: 16px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.footer-logo:hover::before {
    opacity: 1;
}

.footer-logo:hover {
    transform: translateY(-2px) scale(1.02);
    background: rgba(248, 246, 242, 1.0);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 
        0 6px 20px rgba(212, 175, 55, 0.3),
        0 3px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.footer-logo img {
    height: 66px; /* 20% larger than header: 55px*1.2=66px */
    width: auto;
    max-width: 336px; /* 20% larger than header: 280px*1.2=336px */
    transition: var(--transition-smooth);
    filter: 
        drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4))
        drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1))
        contrast(1.05)
        brightness(1.0);
    position: relative;
    z-index: 2;
    border-radius: 7px; /* 20% larger than header: 6px*1.2=7.2px */
    /* White background enforcement like header */
    background-color: #FFFFFF !important;
    background-image: none !important;
    padding: 5px 10px; /* 20% larger than header: 4px*1.2=4.8px, 8px*1.2=9.6px */
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.footer-logo:hover img {
    filter: 
        drop-shadow(0 3px 12px rgba(212, 175, 55, 0.6))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15))
        contrast(1.1)
        brightness(1.05);
    transform: scale(1.02);
        brightness(1.08);
}

.footer-description {
    color: var(--sophisticated-grey);
    font-size: 16px;
    line-height: 1.6;
    max-width: 400px;
    margin: 0;
    flex: 1;
    margin-top: 8px; /* Slight alignment adjustment */
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h5 {
    font-size: 18px;
    color: var(--sophisticated-black);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--sophisticated-grey);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.footer-column a:hover {
    color: var(--rich-gold);
}

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

.footer-legal p {
    color: var(--sophisticated-grey);
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-legal .compliance-statement {
    font-weight: 500;
    color: var(--rich-gold);
    font-size: 13px;
    margin: 8px 0;
    font-style: italic;
}

.compliance-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--rich-gold);
    border-radius: 25px;
    color: var(--warm-gold);
    font-size: 14px;
    font-weight: 600;
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, 
        var(--gold-primary) 0%, 
        var(--gold-light) 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1000;
    box-shadow: 
        0 8px 20px rgba(212, 175, 55, 0.3),
        0 3px 6px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, 
        var(--gold-dark) 0%, 
        var(--gold-primary) 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 12px 28px rgba(212, 175, 55, 0.4),
        0 6px 12px rgba(0,0,0,0.15);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Large Desktop */
@media (max-width: 1400px) {
    .hero-title {
        font-size: 56px;
    }
    

}

/* Desktop */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content {
        gap: 60px;
    }
    
    .heritage-content {
        gap: 60px;
    }
    
    .section-title {
        font-size: 42px;
    }
}

/* Tablet */
@media (max-width: 968px) {
    .hero-content,
    .heritage-content,
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    

        max-height: 75vw;
    }
    
    .heritage-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px; /* Slightly smaller gap on tablet */
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .logo {
        padding: 8px 14px;
        border-radius: 10px;
    }
    
    .logo-img {
        height: 48px;
        max-width: 240px;
    }
    
    .footer-logo {
        padding: 10px 16px;
    }
    
    .footer-logo {
        padding: 6px 12px; /* Tablet: header size * 1.2 */
    }
    
    .footer-logo img {
        height: 58px; /* Tablet: 48px * 1.2 = 58px */
        max-width: 288px; /* Tablet: 240px * 1.2 = 288px */
    }
    
    .footer-brand {
        flex-direction: column; /* Stack vertically on tablet */
        gap: 12px;
        align-items: flex-start;
    }
    
    .footer-description {
        max-width: 100%; /* Full width on tablet */
    }
    
    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    

    
    .heritage-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .heritage-certifications {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-cards {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .logo {
        padding: 6px 12px;
        border-radius: 8px;
    }
    
    .logo-img {
        height: 42px;
        max-width: 200px;
    }
    
    .footer-logo {
        padding: 7px 14px; /* Mobile: header size * 1.2 */
    }
    
    .footer-logo img {
        height: 50px; /* Mobile: 42px * 1.2 = 50px */
        max-width: 240px; /* Mobile: 200px * 1.2 = 240px */
    }
    
    .footer-brand {
        flex-direction: column; /* Stack vertically on mobile */
        gap: 12px;
        align-items: flex-start;
    }
    
    .footer-description {
        max-width: 100%; /* Full width on mobile */
        font-size: 14px; /* Smaller text on mobile */
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    

    
    .cta-button {
        padding: 15px 25px;
        font-size: 14px;
    }
    
    .service-card,
    .philosophy-card {
        padding: 30px 20px;
    }
    
    .contact-form-container {
        padding: 40px 25px;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero-scroll-indicator,
    .back-to-top,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    body {
        font-size: 12px;
        color: black;
        background: white;
    }
    
    .section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
}