:root {
    --bg-color: #050508; /* Black / Very Dark */
    --surface-color: #11141c; /* Dark Gray */
    --surface-light: #1e2536; /* Lighter Gray */
    --text-main: #f0f4f8; /* Light gray text */
    --text-muted: #8b95a5; /* Muted gray text */
    --primary-color: #1a365d; /* Navy Blue */
    --primary-light: #2c5282; /* Lighter Navy */
    --accent-color: #4299e1; /* Vivid blue for accents */
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Animation */
#bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 15% 50%, rgba(26, 54, 93, 0.15), transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(66, 153, 225, 0.08), transparent 25%);
}

/* Typography */
h1, h2, h3, .logo, .greeting {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-main);
}

.section-heading {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: var(--nav-height);
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: -1px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 35px;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Main Layout */
main {
    padding: 0 10%;
    max-width: 1400px;
    margin: 0 auto;
}

section {
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Section */
.hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--nav-height);
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

.greeting {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #a0aec0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-size: 2.8rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 600;
}

.summary {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 550px;
}

.summary strong {
    color: var(--text-main);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: var(--primary-light);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    box-shadow: 0 10px 20px rgba(26, 54, 93, 0.4);
}

.cta-button:hover {
    transform: translateY(-4px);
    background: var(--accent-color);
    box-shadow: 0 15px 30px rgba(66, 153, 225, 0.3);
}

.cta-button.outline {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    box-shadow: none;
}

.cta-button.outline:hover {
    background: rgba(66, 153, 225, 0.1);
    transform: translateY(-4px);
}

/* Hero Orbs (Visuals) */
.hero-graphic {
    position: relative;
    width: 450px;
    height: 450px;
    display: none;
}

@media (min-width: 1024px) {
    .hero-graphic {
        display: block;
    }
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.6;
    animation: float 12s infinite ease-in-out alternate;
}

.orb-1 {
    width: 350px;
    height: 350px;
    background: var(--primary-color);
    top: 5%;
    right: 5%;
}

.orb-2 {
    width: 280px;
    height: 280px;
    background: var(--accent-color);
    bottom: 5%;
    left: 5%;
    animation-delay: -6s;
    opacity: 0.35;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, 40px) scale(1.05); }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.15rem;
    color: var(--text-muted);
}

.about-card {
    background: linear-gradient(145deg, var(--surface-color), var(--surface-light));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2px;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, transparent 35%, var(--accent-color) 50%, transparent 65%, transparent 100%);
    animation: rotate 5s linear infinite;
    opacity: 0.6;
}

.card-inner {
    background: var(--surface-color);
    padding: 50px 40px;
    border-radius: 18px;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.card-inner h3 {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
    line-height: 1.2;
}

.company-location {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.job-title {
    color: var(--accent-color);
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(66, 153, 225, 0.1);
    border-radius: 30px;
    font-size: 0.95rem;
    display: inline-block;
    border: 1px solid rgba(66, 153, 225, 0.2);
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.skill-card {
    background: var(--surface-color);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                background 0.3s, 
                box-shadow 0.3s, 
                border-color 0.3s;
}

.skill-card:hover {
    transform: translateY(-8px);
    background: var(--surface-light);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: rgba(66, 153, 225, 0.4);
}

.skill-icon {
    font-size: 2.5rem;
    background: rgba(66, 153, 225, 0.05);
    color: var(--accent-color);
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(66, 153, 225, 0.1);
}

.skill-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    text-align: center;
    min-height: 70vh;
}

.contact h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.contact p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.95rem;
    background: rgba(5, 5, 8, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    main {
        padding: 0 6%;
    }
    
    .hero {
        flex-direction: column;
        text-align: left;
        padding-top: 150px;
    }
    
    .hero h1 {
        font-size: 3.8rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    nav {
        display: none;
    }

    .contact h2 {
        font-size: 2.8rem;
    }
}
