@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:ital,wght@1,400;1,700&display=swap');

:root {
    /* Brand Colors (Management Drive inspired) */
    --color-primary: #f20153; /* Magenta */
    --color-dark: #090909;    /* Deep Black */
    --color-bg-secondary: #f3f5f8; /* Light blue-grey */
    --color-accent: #ffd573;  /* Gold/Yellow */
    --color-white: #ffffff;
    --color-text-dim: #666666;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-accent: 'Playfair Display', serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-main);
    color: var(--color-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

.serif-italic {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 400;
}

/* Layout */
section {
    padding: var(--spacing-lg) 5%;
}

@media (min-width: 768px) {
    section {
        padding: var(--spacing-xl) 10%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-white);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--color-primary);
    margin-left: 0.2rem;
}

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

@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
    }
    nav a {
        font-size: 0.75rem !important;
    }
}

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

nav a:hover {
    color: var(--color-primary);
}

header.scrolled .logo {
    color: var(--color-dark);
}

header.scrolled nav a {
    color: var(--color-dark);
}

header.scrolled nav a:hover {
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--color-dark);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(242, 1, 83, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 2rem;
}

.hero h1 .accent {
    display: block;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(242, 1, 83, 0.3);
}

/* Service Card Styles */
.section-title {
    margin-bottom: var(--spacing-lg);
    font-size: clamp(2rem, 5vw, 3rem);
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: block;
}

/* Grid Layouts */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.card {
    background: var(--color-bg-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .card {
        padding: 1.5rem;
    }
}

.card:hover {
    background: var(--color-white);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

/* Profile Section */
.profile-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .profile-container {
        flex-direction: row;
        align-items: flex-start;
    }
}

.profile-image-wrapper {
    flex: 0 0 350px;
    position: relative;
}

.profile-image-wrapper img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.profile-image-wrapper::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 5px solid var(--color-primary);
    border-left: 5px solid var(--color-primary);
    z-index: 1;
}

.profile-content {
    flex: 1;
}

.profile-name {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.profile-title {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 2rem;
    display: block;
    font-size: 1.1rem;
}

.profile-text p {
    margin-bottom: 1.5rem;
    color: var(--color-text-dim);
    line-height: 1.8;
}

.profile-text p:last-child {
    margin-bottom: 0;
}

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Form Styles */
input:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary) !important;
}

@media (max-width: 768px) {
    section {
        padding: var(--spacing-lg) 5%;
    }
    .hero h1 {
        font-size: 3rem;
    }
}