:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --accent: #c9a227;
    --accent-light: #d4af37;
    --text: #2d3748;
    --text-light: #718096;
    --bg: #faf9f7;
    --bg-warm: #f5f2ed;
    --white: #ffffff;
    --shadow: rgba(26, 54, 93, 0.08);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    padding: 0.8rem 0;
    border-bottom-color: rgba(26, 54, 93, 0.1);
    box-shadow: 0 4px 30px var(--shadow);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 54, 93, 0.2);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 28px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg) 100%);
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(26, 54, 93, 0.08);
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(26, 54, 93, 0.1);
}

.hero h1 {
    font-size: 3.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero h1 .highlight {
    color: var(--accent);
    font-style: italic;
    position: relative;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(201, 162, 39, 0.2);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.8;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.25);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(26, 54, 93, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    animation: fadeIn 1.2s ease 0.3s both;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(26, 54, 93, 0.2);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.05);
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.credentials-float {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--white);
    padding: 1.2rem 1.8rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    border-left: 4px solid var(--accent);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.decoration-line {
    position: absolute;
    top: 50%;
    right: -60px;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: translateY(-50%);
}

/* About Section */
.about {
    padding: 8rem 2rem;
    background: var(--white);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 54, 93, 0.1), transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image-wrapper:hover img {
    transform: scale(1.03);
}

.about-image-frame {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--accent);
    border-radius: 24px;
    z-index: -1;
    opacity: 0.3;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text);
}

.about-text p {
    margin-bottom: 1.8rem;
}

.about-highlight {
    background: var(--bg-warm);
    border-left: 4px solid var(--accent);
    padding: 2rem;
    border-radius: 0 16px 16px 0;
    margin: 2.5rem 0;
    position: relative;
}

.about-highlight::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
}

.about-highlight p {
    font-style: italic;
    color: var(--primary);
    font-weight: 500;
    margin: 0;
    position: relative;
    z-index: 1;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    color: var(--primary);
}

.feature-icon {
    width: 36px;
    height: 36px;
    background: rgba(201, 162, 39, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Specialties Section */
.specialties {
    padding: 8rem 2rem;
    background: var(--bg-warm);
    position: relative;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.specialty-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 54, 93, 0.12);
}

.specialty-card:hover::before {
    transform: scaleX(1);
}

.specialty-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    transition: var(--transition);
}

.specialty-card:hover .specialty-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

.specialty-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.specialty-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Approach Section */
.approach {
    padding: 8rem 2rem;
    background: var(--white);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.approach-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.approach-number {
    width: 60px;
    height: 60px;
    background: var(--bg-warm);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--accent);
    position: relative;
    transition: var(--transition);
}

.approach-card:hover .approach-number {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.approach-card h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.approach-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.approach-connector {
    position: absolute;
    top: 45px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0.3;
}

/* Contact Section */
.contact {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, #0f2744 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.contact-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.contact h2 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    color: var(--white);
}

.contact > .container > p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 4rem;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(201, 162, 39, 0.3);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(201, 162, 39, 0.2);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    background: var(--accent);
    color: var(--primary);
    transform: scale(1.1);
}

.contact-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    color: var(--white);
}

.contact-card p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.contact-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--white);
}

.contact-btn:hover {
    background: transparent;
    color: var(--white);
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #0f172a;
    color: rgba(255,255,255,0.6);
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-creds {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-divider {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 2rem auto;
    opacity: 0.5;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 0.85rem;
    line-height: 1.8;
    padding: 1.5rem;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .credentials-float {
        left: 20px;
        bottom: 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .specialties-grid {
        grid-template-columns: 1fr;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact h2 {
        font-size: 2.2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .credentials-float {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 1rem;
        animation: none;
    }
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--primary);
}
