/* Someris Global Outsourcing - Shared Styles */
:root {
    --navy: #07121A;
    --gold: #D4B76A;
    --logo-blue: #1E3A8A;
    --logo-purple: #6B21A8;
    --off-white: #F8F9FA;
    --light-gray: #A0AEC0;
    --dark-footer: #050d13;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--navy);
    color: var(--off-white);
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Page Transitions */
.page-loading {
    opacity: 0;
    transform: translateY(20px);
}

.page-loaded {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.page-transitioning {
    opacity: 0;
    transform: scale(0.98);
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Typography - Enhanced Font System */
body {
    background-color: var(--navy);
    color: var(--off-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: -0.01em;
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced Typography Variables */
:root {
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
    
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 1.875rem;   /* 30px */
    --text-4xl: 2.25rem;    /* 36px */
    --text-5xl: 3rem;       /* 48px */
    --text-6xl: 3.75rem;    /* 60px */
    
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0em;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
}

/* Hero Title - Enhanced */
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: var(--leading-tight);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Enhanced Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: var(--leading-tight);
    letter-spacing: -0.01em;
    color: var(--off-white);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 200;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    letter-spacing: -0.015em;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 300;
    letter-spacing: -0.01em;
}

h4 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

h5 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h6 {
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Enhanced Paragraph Text */
p {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    font-weight: 300;
    letter-spacing: -0.005em;
    color: var(--light-gray);
    margin-bottom: 1.25rem;
    max-width: 65ch;
}

/* Enhanced Navigation Links */
.nav-link {
    font-family: var(--font-primary);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-gray);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.nav-link:hover {
    color: var(--gold);
}

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

/* Enhanced Buttons */
.btn-primary, .btn-secondary {
    font-family: var(--font-primary);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 0.25rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--navy);
    border: 1px solid var(--gold);
}

.btn-primary:hover {
    background-color: #f4e4c1;
    border-color: #f4e4c1;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(212, 183, 106, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-secondary:hover {
    background-color: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(212, 183, 106, 0.3);
}

/* Enhanced Form Elements */
.form-label {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--off-white);
    margin-bottom: 0.5rem;
    display: block;
}

.form-input {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 300;
    letter-spacing: -0.005em;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--off-white);
    padding: 1rem;
    border-radius: 0.25rem;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 183, 106, 0.1);
}

.form-input::placeholder {
    color: var(--light-gray);
    opacity: 0.6;
}

/* Enhanced Service Cards */
.service-card {
    font-family: var(--font-primary);
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 0.5rem;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 183, 106, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-weight: 300;
    letter-spacing: -0.01em;
    color: var(--off-white);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--light-gray);
    margin-bottom: 0;
}

/* Enhanced Footer */
.footer {
    font-family: var(--font-primary);
    background-color: var(--dark-footer);
    padding: 6rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h4 {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer p {
    font-size: var(--text-sm);
    font-weight: 300;
    letter-spacing: 0.025em;
    color: var(--light-gray);
    margin-bottom: 0.5rem;
}

/* Enhanced Small Text */
.text-xs {
    font-size: var(--text-xs);
    line-height: var(--leading-normal);
    letter-spacing: 0.05em;
}

.text-sm {
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    letter-spacing: 0.025em;
}

.text-lg {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    letter-spacing: -0.005em;
}

.text-xl {
    font-size: var(--text-xl);
    line-height: var(--leading-relaxed);
    letter-spacing: -0.01em;
}

.text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--leading-relaxed);
    letter-spacing: -0.015em;
}

/* Enhanced Font Weights */
.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Enhanced Letter Spacing */
.tracking-tight {
    letter-spacing: var(--tracking-tight);
}

.tracking-normal {
    letter-spacing: var(--tracking-normal);
}

.tracking-wide {
    letter-spacing: var(--tracking-wide);
}

.tracking-wider {
    letter-spacing: var(--tracking-wider);
}

.tracking-widest {
    letter-spacing: var(--tracking-widest);
}

/* Enhanced Line Height */
.leading-tight {
    line-height: var(--leading-tight);
}

.leading-normal {
    line-height: var(--leading-normal);
}

.leading-relaxed {
    line-height: var(--leading-relaxed);
}

.leading-loose {
    line-height: var(--leading-loose);
}

/* Enhanced Text Colors */
.text-navy {
    color: var(--navy);
}

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

.text-off-white {
    color: var(--off-white);
}

.text-light-gray {
    color: var(--light-gray);
}

/* Enhanced Italic Text */
.italic {
    font-style: italic;
}

/* Enhanced Uppercase */
.uppercase {
    text-transform: uppercase;
}

/* Advanced Typography Enhancements */

/* Font Loading Optimization */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/inter/v13/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiA.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/playfairdisplay/v30/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWMI.woff2') format('woff2');
}

/* Enhanced Text Rendering */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    font-variant-ligatures: common-ligatures;
    font-variant-numeric: oldstyle-nums;
}

/* Enhanced Selection */
::selection {
    background-color: rgba(212, 183, 106, 0.3);
    color: white;
    text-shadow: none;
}

::-moz-selection {
    background-color: rgba(212, 183, 106, 0.3);
    color: white;
    text-shadow: none;
}

/* Enhanced Focus Styles */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Enhanced Links */
a {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
}

a:hover {
    color: #f4e4c1;
}

a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Enhanced Blockquotes */
blockquote {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-style: italic;
    line-height: var(--leading-relaxed);
    color: var(--off-white);
    margin: 2rem 0;
    padding-left: 2rem;
    border-left: 3px solid var(--gold);
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--gold);
    position: absolute;
    top: -1rem;
    left: 0.5rem;
    opacity: 0.3;
}

/* Enhanced Lists */
ul, ol {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--light-gray);
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    position: relative;
}

ul li::marker {
    color: var(--gold);
}

ol li::marker {
    color: var(--gold);
    font-weight: 500;
}

/* Enhanced Code */
code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--gold);
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

pre {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--off-white);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
    line-height: var(--leading-relaxed);
}

pre code {
    background: none;
    padding: 0;
    border: none;
    color: inherit;
}

/* Enhanced Tables */
table {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

th, td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    font-weight: 600;
    color: var(--off-white);
    background-color: rgba(255, 255, 255, 0.05);
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

td {
    color: var(--light-gray);
}

tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Enhanced Headings with Decorative Elements */
h1, h2, h3 {
    position: relative;
    padding-bottom: 0.5rem;
}

h1::after,
h2::after,
h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0.6;
}

/* Enhanced Small Text and Labels */
.small-text {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-gray);
    opacity: 0.8;
}

.label-text {
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold);
}

/* Enhanced Emphasis */
em {
    font-style: italic;
    color: var(--gold);
}

strong {
    font-weight: 600;
    color: var(--off-white);
}

/* Enhanced Drop Caps */
.drop-cap::first-letter {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    float: left;
    margin: 0.1rem 0.5rem 0 0;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Enhanced Text Shadows */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.text-shadow-lg {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Enhanced Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--gold) 0%, #f4e4c1 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

/* Enhanced Text Animations */
@keyframes text-focus-in {
    0% {
        filter: blur(12px);
        opacity: 0;
    }
    100% {
        filter: blur(0px);
        opacity: 1;
    }
}

.text-focus-in {
    animation: text-focus-in 1s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}

/* Enhanced Reading Experience */
.reading-width {
    max-width: 65ch;
    margin: 0 auto;
}

.wide-reading {
    max-width: 80ch;
    margin: 0 auto;
}

/* Enhanced Print Styles */
@media print {
    body {
        font-family: 'Georgia', serif;
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .hero-title,
    h1, h2, h3, h4, h5, h6 {
        color: #000;
        page-break-after: avoid;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .btn-primary,
    .btn-secondary {
        background: none;
        border: 1px solid #000;
        color: #000;
    }
}

/* Gradients and Effects */
.accent-gradient {
    background: linear-gradient(135deg, var(--logo-blue) 0%, var(--logo-purple) 50%, var(--gold) 100%);
}

.logo-glow {
    filter: drop-shadow(0 0 15px rgba(212, 183, 106, 0.2));
    transition: all 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}

.logo-glow:hover {
    filter: drop-shadow(0 0 25px rgba(212, 183, 106, 0.4));
    transform: scale(1.05);
}

.ethereal-line {
    height: 1px;
    background: linear-gradient(to right, transparent, 
        rgba(30, 58, 138, 0.4), 
        rgba(107, 33, 168, 0.4), 
        rgba(212, 183, 106, 0.4), 
        transparent);
}

/* Selection */
::selection {
    background-color: rgba(212, 183, 106, 0.3);
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.subtle-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.subtle-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Navigation */
.nav-fixed {
    position: fixed;
    width: 100%;
    z-index: 50;
    height: 6rem;
    display: flex;
    align-items: center;
    background: rgba(7, 18, 26, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--light-gray);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--gold);
}

.nav-link.active {
    color: white;
}

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

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 6rem;
    left: 0;
    width: 100%;
    background: rgba(7, 18, 26, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--light-gray);
}

/* Cards */
.service-card {
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
    transition: all 0.7s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(30, 58, 138, 0.05) 0%, 
        rgba(107, 33, 168, 0.03) 50%, 
        rgba(212, 183, 106, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.7s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    border-color: rgba(212, 183, 106, 0.2);
    transform: translateY(-8px);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(30, 58, 138, 0.2);
    transition: all 0.7s ease;
    margin-bottom: 2.5rem;
}

.service-card:hover .service-icon {
    border-color: rgba(212, 183, 106, 0.4);
    transform: scale(1.1);
}

/* Buttons */
.btn-primary {
    background: var(--gold);
    color: var(--navy);
    padding: 1.25rem 3rem;
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

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

.btn-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 183, 106, 0.3);
}

.btn-secondary {
    border: 1px solid rgba(212, 183, 106, 0.2);
    color: var(--gold);
    padding: 1.25rem 3rem;
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    transition: all 0.7s cubic-bezier(0.2, 1, 0.3, 1);
    background: transparent;
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: white;
    background: rgba(212, 183, 106, 0.05);
    transform: translateY(-2px);
}

/* Forms */
.form-input {
    background-color: transparent;
    border: 1px solid rgba(30, 58, 138, 0.2);
    color: var(--off-white);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    padding: 1.25rem 1.5rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    background-color: rgba(30, 58, 138, 0.05);
    box-shadow: 0 0 0 3px rgba(212, 183, 106, 0.1);
}

.form-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

/* Footer */
.footer {
    background: var(--dark-footer);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10rem 2rem;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(212, 183, 106, 0.1) 50%, 
        transparent 100%);
    animation: shimmer 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .nav-fixed {
        height: 5rem;
    }
    
    .mobile-menu {
        top: 5rem;
    }
    
    /* Touch-friendly targets */
    .nav-link, .btn-primary, .btn-secondary {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile service cards */
    .service-card {
        text-align: center;
    }
    
    .service-icon {
        margin: 0 auto 1.5rem auto;
    }
    
    /* Form improvements */
    .form-input {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1rem;
    }
    
    /* Better spacing on mobile */
    section {
        padding: 3rem 1rem;
    }
    
    /* Mobile animations */
    .subtle-reveal, .reveal-left, .reveal-right, .reveal-scale {
        transform: none;
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2rem, 12vw, 3.5rem);
    }
    
    .btn-primary, .btn-secondary {
        padding: 1rem 2rem;
        font-size: 0.6rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .nav-fixed {
        padding: 0 1rem;
    }
    
    section {
        padding: 2rem 1rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .service-card:hover {
        transform: none;
    }
    
    .nav-link:hover::after {
        width: 0;
    }
    
    .btn-primary:hover, .btn-secondary:hover {
        transform: none;
    }
    
    /* Add active states for touch feedback */
    .service-card:active {
        transform: scale(0.98);
    }
    
    .btn-primary:active, .btn-secondary:active {
        transform: scale(0.95);
    }
    
    .nav-link:active {
        color: var(--gold);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-glow {
        filter: drop-shadow(0 0 20px rgba(212, 183, 106, 0.3));
    }
}

/* Landscape mobile optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    section {
        padding: 2rem 1rem;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 183, 106, 0.8);
}
