@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Sora:wght@300;600;800&display=swap');

:root {
    --primary: #1e88e5;
    --secondary: #4fc3f7;
    --accent: #2979ff;
    --bg-dark: #0b0e14;
    --bg-card: rgba(17, 24, 39, 0.8);
    --text: #f3f4f6;
    --text-muted: #9ca3af;
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

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

/* Glassmorphism utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(11, 14, 20, 0.95);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 62px;
    transition: var(--transition);
}

header.scrolled .nav-logo img {
    height: 50px;
}

/* Scroll effect for logo handled via .nav-logo img height change */
.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    padding: 0;
}

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

.nav-links a:hover {
    color: var(--secondary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 70% 30%, rgba(30, 136, 229, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 10% 80%, rgba(79, 195, 247, 0.1) 0%, transparent 30%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(30, 136, 229, 0.1);
    border: 1px solid var(--primary);
    border-radius: 2rem;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--secondary);
    border-radius: 0.5rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-hero:hover {
    background: rgba(79, 195, 247, 0.1);
    color: var(--secondary);
}

/* Services */
.services {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.card {
    padding: 3rem 2rem;
    transition: var(--transition);
    cursor: default;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

/* Experience Section */
.experience {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-dark), #111827);
}

.exp-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.exp-content {
    flex: 1;
}

.exp-image {
    flex: 1;
    text-align: center;
}

.exp-image img {
    max-width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Contact Section */
.contact {
    padding: 10rem 0;
    text-align: center;
}

.contact-box {
    padding: 4rem;
    max-width: 600px;
    margin: 0 auto;
}

.email-link {
    display: block;
    font-size: 2rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 800;
    margin-top: 1.5rem;
    transition: var(--transition);
    text-align: center;
    overflow-wrap: anywhere;
}

.email-link:hover {
    color: white;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    nav {
        justify-content: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .exp-wrapper {
        flex-direction: column;
    }
    .contact-box {
        padding: 3rem 1.5rem;
        width: 100%;
    }
    .email-link {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .email-link {
        font-size: 0.9rem;
    }
    .contact-box {
        padding: 2.5rem 1rem;
    }
    .card {
        padding: 2.5rem 1.5rem;
    }
}
