:root {
    --primary-bg: #ffffff;
    --secondary-bg: #fcfcfc;
    --accent-color: #ffcc00;
    /* Art-ull Yellow */
    --text-main: #1a1a1a;
    --text-dim: #666666;
    --border-color: #eeeeee;
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    --card-shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.1);
    --transition-smooth: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    --accent-dim: rgba(255, 204, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
}

h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Reveal Animation System from v3 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header & Navigation */
header {
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    padding: 20px 0;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    opacity: 0.7;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 90vh;
    margin-top: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
    background: var(--secondary-bg);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.15;
    filter: grayscale(1);
}

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

.hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
}

/* Service Grid & Premium Cards */
.services {
    padding: 120px 0 60px 0;
    /* Reduced bottom padding */
}

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

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 60px 40px;
    border-radius: 4px;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: var(--card-shadow);
}

.service-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-color);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--card-shadow-hover);
    border-color: #ddd;
}

.service-card:hover::after {
    width: 100%;
}

.service-card h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
}

.service-card p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.8;
}

.service-cta {
    margin-top: 40px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.service-card:hover .service-cta {
    opacity: 1;
    color: var(--accent-color);
}

/* --- Contact Section: White Theme Premium (v3 Replicated) --- */
.contact-section {
    padding: 40px 0 120px 0;
    /* Reduced top padding */
    background: #fdfdfd;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.contact-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.card-perspective {
    perspective: 1200px;
    width: 100%;
    max-width: 380px;
}

.contact-card {
    background: #ffffff;
    padding: 60px 40px;
    border-radius: 0;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12), 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Enhanced shadow */
    transform-style: preserve-3d;
    position: relative;
    border: 1px solid #f0f0f0;
    text-align: left;
    backdrop-filter: blur(20px);
    transition: transform 0.1s ease;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 200px solid rgba(255, 204, 0, 0.08);
    filter: blur(25px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.contact-card-header {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 45px;
}

.card-logo {
    max-width: 160px;
    /* Control size to fix "huge logo" issue */
    height: auto;
    margin: 0 auto;
    display: block;
}

.card-tagline {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-top: 15px;
    font-weight: 600;
}

.contact-profile-info {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
    border-left: 3px solid var(--accent-color);
    padding-left: 20px;
    transform: translateZ(20px);
}

.card-name {
    font-family: 'Instrument Serif', serif;
    font-size: 2.2rem;
    font-weight: 400;
    font-style: italic;
    margin: 0;
    line-height: 1;
    color: var(--text-main);
}

.card-role {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 500;
    margin-top: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 2;
    transform: translateZ(40px);
}

.contact-link-btn {
    padding: 14px 25px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background: transparent;
}

.btn-ig:hover {
    border-color: var(--accent-color) !important;
    background: var(--accent-color) !important;
    color: #000 !important;
}

.btn-mail:hover {
    border-color: #ff00ff !important;
    background: #ff00ff !important;
    color: #fff !important;
}

.btn-web:hover {
    border-color: #00e5ff !important;
    background: #00e5ff !important;
    color: #000 !important;
}

.contact-card .contact-link-btn.btn-save {
    background: var(--text-main) !important;
    color: #ffffff !important;
    border-color: var(--text-main) !important;
    margin-top: 15px;
    justify-content: center;
    font-weight: 800;
}

.contact-card .contact-link-btn.btn-save:hover {
    background: var(--accent-color) !important;
    color: #000 !important;
    border-color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.card-footer-brand {
    margin-top: 50px;
    font-size: 0.55rem;
    color: var(--text-dim);
    letter-spacing: 0.25em;
    text-align: center;
    text-transform: uppercase;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .header-content {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .card-perspective {
        max-width: 90%;
    }
}