:root {
    /* Colors */
    --bg-color: #f8fafc;
    --surface-color: #ffffff;
    --primary-color: #059669;
    /* Slightly deeper Emerald */
    --secondary-color: #2563eb;
    /* Stronger Tech Blue */
    --text-main: #0f172a;
    --text-muted: #475569;
    --accent-light: #f8fafc;
    --accent-green: #ecfdf5;
    --accent-blue: #eff6ff;

    /* Typography */
    --font-family: 'Outfit', sans-serif;

    /* Shadows & Spacing */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.03), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    --radius: 24px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Blobs */
.background-blob {
    position: fixed;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-green);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-blue);
    bottom: 50px;
    left: -50px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
section {
    padding: 100px 0;
}

/* Hero */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    /* Fallback if img fails to load */
}

/* Profile Placeholder styling if image is missing */
.profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius);
    z-index: 2;
    position: relative;
    overflow: hidden;
}

.profile-placeholder::after {
    content: 'AP';
    font-size: 5rem;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0.2;
}

.image-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    top: 20px;
    left: -20px;
    border-radius: var(--radius);
    z-index: 1;
    opacity: 0.2;
}

.badge {
    background: var(--accent-green);
    color: var(--primary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* Grid */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.video-card {
    background: var(--surface-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

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

.video-placeholder,
.video-container {
    width: 100%;
    aspect-ratio: 9/16;
    background: linear-gradient(45deg, var(--accent-light), #e2e8f0);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-container .overlay {
    pointer-events: none;
    /* Allows interacting with video controls */
    z-index: 3;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    z-index: 1;
}

.video-placeholder::after {
    content: '▶';
    position: absolute;
    color: var(--primary-color);
    font-size: 1.2rem;
    z-index: 2;
    margin-left: 4px;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    color: white;
}

.overlay span {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
}

.overlay small {
    opacity: 0.9;
}

.card-info {
    padding: 1.5rem;
}

.card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact */
.contact {
    display: flex;
    justify-content: center;
}

.cta-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    max-width: 800px;
    padding: 5rem 4rem;
    border-radius: 48px;
    text-align: center;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--text-main);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.contact-details {
    margin: 2rem 0 3rem 0;
}

.contact-details p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.email-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.8rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--primary-color);
}

footer {
    padding: 4rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

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

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .image-wrapper {
        width: 80%;
        margin: 0 auto;
    }

    h1 {
        font-size: 2.8rem;
    }

    .intro-text {
        margin: 0 auto;
    }

    .cta-box {
        padding: 2rem;
    }

    .cta-box h2 {
        font-size: 1.8rem;
    }
}