:root {
    --bg-light: #f5faff;
    /* Very light sky tint */
    --accent-primary: #00aef0;
    /* Bright Sky Blue */
    --accent-secondary: #00aef0;
    /* Using same color to remove gradient */
    --text-main: #334e68;
    /* Readable medium-dark blue grey */
    --text-muted: #627d98;
    /* Muted variant */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 174, 240, 0.1);
    --gradient-linear: var(--accent-primary);
    /* Solid color instead of gradient */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Browser Address Bar Style Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 40px;
    background: #ffffff;
    /* Solid white background for the 'address bar' */
    border-bottom: 1.5px solid #e0e6ed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--gradient-linear);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 50px;
    /* Shift content up */
    background: radial-gradient(circle at 50% 50%, rgba(51, 78, 104, 0.03) 0%, transparent 70%);
}

.hero-profile-placeholder {
    width: 200px;
    /* Slightly larger as requested to see more */
    height: auto;
    background: transparent;
    border: none;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 5px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-primary);
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 30px;
    opacity: 0.8;
}

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

.hero .name {
    background: var(--gradient-linear);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section Styling */
section {
    padding: 100px 20px;
    max-width: 1100px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(0, 123, 255, 0.05);
}

section:nth-child(even) {
    background-color: #ffffff;
    /* Subtle white background for even sections */
    max-width: 100%;
}

section:nth-child(even)>* {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: var(--gradient-linear);
    border-radius: 2px;
}

/* ABOUT Section Grid */
.about-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.about-left {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.profile-placeholder {
    width: 220px;
    height: auto;
    background: transparent;
    border: none;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: none;
}

.profile-name {
    background: #ffffff;
    padding: 10px 50px;
    border-radius: 15px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-main);
    box-shadow: 0 10px 30px rgba(74, 111, 165, 0.05);
    border: 1px solid rgba(0, 174, 240, 0.08);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.profile-tags {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: var(--accent-primary);
    font-weight: 400;
    font-size: 0.95rem;
    text-align: center;
    opacity: 0.8;
}

.about-right {
    flex: 2;
    min-width: 400px;
    padding-top: 30px;
    /* Slight offset to better align with the profile photo */
}

.about-right-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(74, 111, 165, 0.05);
    border: 1px solid rgba(0, 174, 240, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(74, 111, 165, 0.1);
}

.about-item h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-item p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
    letter-spacing: -0.01em;
    font-weight: 400;
}

.about-item p.tight {
    margin-bottom: 2px;
}

.about-item p:last-child {
    margin-bottom: 0;
}

.about-item strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Proficiency Bar Styling */
.skill-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-name {
    font-size: 0.95rem;
    font-weight: 500;
}

.proficiency-bar {
    display: flex;
    gap: 5px;
}

.bar-segment {
    flex: 1;
    height: 6px;
    background: #e0e6ed;
    border-radius: 3px;
}

.bar-segment.filled {
    background: var(--gradient-linear);
}

/* Experience / Education Cards */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #ffffff;
    /* White cards for light mode */
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(74, 111, 165, 0.05);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
}

.card h3 {
    margin-bottom: 10px;
    color: var(--accent-secondary);
}

.card span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Contact Section */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    background: var(--gradient-linear);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(26, 54, 93, 0.2);
}

.btn.speech-bubble {
    border-radius: 20px 20px 20px 4px;
    position: relative;
    padding: 10px 25px;
}

.btn.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 15px;
    border-left: 8px solid var(--accent-primary);
    border-bottom: 8px solid transparent;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(74, 111, 165, 0.3);
}

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

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