/* styles.css - Ultra-Professional, Elegant & Fully Responsive */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #003d5b;
    --primary-light: #005a85;
    --secondary: #30638e;
    --accent: #edae49;
    --accent-soft: rgba(237, 174, 73, 0.1);
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 10px 30px -10px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px -15px rgba(0,0,0,0.1);
    --radius: 12px;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base for rem */
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.8;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.reveal {
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

/* --- Navigation --- */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -5px; left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

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

.nav-cta {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
}

/* --- Layout --- */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2.2rem); }

/* --- Hero Section --- */
.hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(230, 240, 245, 0.6), transparent);
    padding: 2rem;
}

.hero p.subtitle {
    font-size: 0.9rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero h2 {
    max-width: 800px;
    font-style: italic;
    color: var(--text-light);
    font-weight: 400;
}

/* --- Components --- */
.cta-box {
    margin-top: 3rem;
    background-color: var(--white);
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    box-shadow: 0 10px 20px rgba(0, 61, 91, 0.15);
    max-width: 100%;
}

.cta-button:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 61, 91, 0.2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* --- Philosophy --- */
.philosophy-section {
    background-color: var(--white);
    padding: clamp(2rem, 5vw, 5rem);
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

/* --- Lists --- */
.specialties-list {
    list-style: none;
}

.specialties-list li {
    padding: 0.8rem 0 0.8rem 2rem;
    position: relative;
    border-bottom: 1px solid var(--bg);
}

.specialties-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* --- Footer --- */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 5rem 1.5rem 2rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-section p, .footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* --- Responsive Menu --- */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav a {
        font-size: 0.85rem;
    }
    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .logo { font-size: 1.2rem; }
    nav ul { gap: 0.8rem; }
    .hero { padding: 1rem; }
}
