/* Vang Consulting — Theme Styles */

/* Base resets and typography */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Open Sans", system-ui, sans-serif;
    color: #1e3a5f;
    overflow-x: hidden;
}

/* GSAP visibility — prevent FOUC */
.gsap-reveal {
    visibility: hidden;
}

body.gsap-ready .gsap-reveal {
    visibility: visible;
}

/* Selection */
::selection {
    background: #0d9488;
    color: white;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: "Merriweather", Georgia, serif;
}

/* Navigation */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(30, 58, 95, 0.08), 0 4px 12px rgba(30, 58, 95, 0.04);
}

/* Hero gradient overlay */
.hero-gradient {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.92) 0%, rgba(23, 45, 74, 0.88) 50%, rgba(13, 148, 136, 0.15) 100%);
}

/* Hero pattern */
.hero-pattern {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(13, 148, 136, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

/* Decorative line */
.accent-line {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #14b8a6);
    border-radius: 2px;
}

.accent-line-wide {
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #14b8a6);
    border-radius: 2px;
}

/* Service cards */
.service-card {
    position: relative;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #14b8a6);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(30, 58, 95, 0.12);
}

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

.service-card .service-icon {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), color 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.08);
    color: #0d9488;
}

/* Stat cards */
.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0d9488, #14b8a6);
}

/* CTA section */
.cta-gradient {
    background: linear-gradient(135deg, #1e3a5f 0%, #172d4a 60%, #102035 100%);
}

.cta-pattern {
    background-image:
        radial-gradient(circle at 20% 80%, rgba(13, 148, 136, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
}

/* Button styles */
.btn-primary {
    background: #0d9488;
    color: white;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    background: #0f766e;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    border: 2px solid white;
    color: white;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-outline:hover {
    background: white;
    color: #1e3a5f;
    transform: translateY(-1px);
}

/* Form styles */
.form-input {
    border: 1px solid #d5dfe9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Team member cards */
.team-card {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.team-card:hover {
    transform: translateY(-4px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Merriweather", serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #1e3a5f 0%, #345f93 100%);
    border: 4px solid white;
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.15);
}

/* Values grid */
.value-card {
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.value-card:hover {
    border-left-color: #0d9488;
}

/* Contact info cards */
.contact-info-card {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-info-card:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer-gradient {
    background: linear-gradient(180deg, #091320 0%, #102035 100%);
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #adbfd4;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #849fbe;
}

/* Mobile nav */
.mobile-nav-overlay {
    transition: opacity 0.3s ease;
}

.mobile-nav-panel {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Page header */
.page-header-gradient {
    background: linear-gradient(135deg, #1e3a5f 0%, #172d4a 50%, #1e3a5f 100%);
}

.page-header-pattern {
    background-image:
        radial-gradient(circle at 30% 70%, rgba(13, 148, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

/* Loading animation for contact form */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    animation: spin 0.8s linear infinite;
}
