/* GLOBAL STYLES */
html {
    scroll-behavior: smooth;
}

:root {
    --bg-color: #ecf0f3;
    --primary-blue: #019eff;
    --text-dark: #3c3e41;
    --text-heading: #1e2125;
    --shadow-light: 10px 10px 19px #d1d9e6, -10px -10px 19px #ffffff;
    --shadow-inset: inset 5px 5px 10px #d1d9e6, inset -5px -5px 10px #ffffff;
}

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

body {
    background-color: var(--bg-color);
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
}

.section-divider {
    border: none;
    border-bottom: 1px solid #dce1e4;
    margin: 50px 8%;
}

/* Layout Helpers */
section {
     padding: 80px 8%; }

.center { 
    text-align: center; display: block; }

.separator { 
    border: 0; border-bottom: 1px solid #dce1e4; margin: 0 8%; }
    
.grid-container { 
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background: var(--bg-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--text-heading);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s;
}

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

.nav-right { display: flex; align-items: center; gap: 20px; }

.btn-resume {
    background: var(--bg-color);
    box-shadow: var(--shadow-light);
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    color: var(--primary-blue);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-resume:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, #e2e8ec, #ffffff);
}

/* HERO SECTION */
.hero {
    display: flex;
    padding: 10px 8%;
    gap: 50px;
    align-items: center;
}

.hero-text { flex: 1.2; }

.welcome-text {
    letter-spacing: 3px;
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 20px;
}

h1 {
    font-size: 60px;
    line-height: 1.2;
    color: var(--text-heading);
    margin-bottom: 30px;
}

.blue-text { color: var(--primary-blue); }

.typewriter {
    border-right: 3px solid var(--primary-blue);
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: typing 3.5s steps(30, end) infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

.hero-desc {
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.hero-footer { display: flex; gap: 100px; }

.label { font-size: 14px; display: block; margin-bottom: 20px; }

.icon-group { display: flex; gap: 20px; }

.neu-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-color);
    box-shadow: var(--shadow-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
}

.neu-icon:hover {
    background: linear-gradient(145deg, #e2e8ec, #ffffff);
    transform: translateY(-5px);
}

/* IMAGE SECTION */
.hero-image-area { flex: 0.8; }

.image-card {
    background: var(--bg-color);
    box-shadow: var(--shadow-light);
    border-radius: 20px;
    overflow: visible;
    position: relative;
    padding: 10px;
}

.image-card img {
    width: 100%;
    display: block;
    border-radius: 15px;
}

/* FEATURES SECTION */
.features { padding: 20px 8%; }

.subtitle-pink {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
}

.center { text-align: center; display: block; }

.section-title {
    font-size: 60px;
    color: var(--text-heading);
    margin-top: 10px;
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    text-align: left;
}

.card-icon {
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-heading);
}

.feature-card p {
    font-size: 16px;
    line-height: 28px;
}

.feature-card:hover {
    background: linear-gradient(145deg, var(--primary-blue), #14d1d1);
    transform: translateY(-10px);
}

.feature-card:hover h3, 
.feature-card:hover p, 
.feature-card:hover .card-icon {
    color: white;
}


/* PORTFOLIO GRID */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 20px;
}

.portfolio-card {
    background: var(--bg-color);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: 0.4s;
    cursor: pointer;
}

.portfolio-card .inner-content {
    transition: 0.4s;
}

.portfolio-card .thumb {
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
}

.portfolio-card .thumb img {
    width: 100%;
    transition: 0.5s;
}

.portfolio-card:hover .thumb img {
    transform: scale(1.1);
}

.portfolio-card .meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.category { color: var(--primary-blue); letter-spacing: 1px; }

.portfolio-title {
    font-size: 22px;
    color: var(--text-heading);
    line-height: 1.4;
}

.portfolio-card:hover {
    background: linear-gradient(145deg, var(--primary-blue), #14d1d1);
    transform: translateY(-10px);
}

/* RESUME TABS */
.resume-tab-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.resume-tabs {
    display: flex;
    background: var(--bg-color);
    box-shadow: var(--shadow-light);
    border-radius: 10px;
    list-style: none;
    width: 100%;
}

.resume-tabs li {
    flex: 1;
    text-align: center;
    padding: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    border-radius: 10px;
}

.resume-tabs li.active {
    background: var(--bg-color);
    box-shadow: var(--shadow-light);
    color: var(--primary-blue);
}

/* RESUME TIMELINE */
.resume-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.resume-card-item {
    background: var(--bg-color);
    box-shadow: var(--shadow-light);
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 30px;
    transition: 0.4s;
}

.resume-card-item:hover {
    background: linear-gradient(145deg, #e2e8ec, #ffffff);
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.rating {
    background: var(--bg-color);
    box-shadow: var(--shadow-light);
    padding: 5px 15px;
    color: var(--primary-blue);
    border-radius: 5px;
    font-weight: 600;
}

/* CONTACT FORM (Inset Shadows) */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    padding-top: 40px;
}

.contact-info-card, .contact-form-card {
    background: var(--bg-color);
    box-shadow: var(--shadow-light);
    padding: 40px;
    border-radius: 20px;
}

.neu-input {
    width: 100%;
    background: #ecf0f3;
    border: none;
    box-shadow: var(--shadow-inset);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    margin-bottom: 25px;
    outline: none;
    font-family: inherit;
}

.form-row { display: flex; gap: 20px; }
.form-group { flex: 1; }

.btn-submit {
    width: 100%;
    padding: 20px;
    border: none;
    border-radius: 10px;
    background: var(--bg-color);
    box-shadow: var(--shadow-light);
    color: var(--primary-blue);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, #e2e8ec, #ffffff);
}

/* FOOTER */
.footer {
    padding: 60px 0;
    border-top: 1px solid #dce1e4;
    margin-top: 80px;
}

/* RESPONSIVENESS */
@media (max-width: 992px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { flex-direction: column; text-align: center; }
    .typewriter { border: none; white-space: normal; }
    .hero-footer { justify-content: center; gap: 30px; }
}

:root {
    --bg: #ecf0f3;
    --pink: #016bff;
    --text: #3c3e41;
    --heading: #1e2125;
    --shadow: 10px 10px 19px #d1d9e6, -10px -10px 19px #ffffff;
    --inner-shadow: inset 5px 5px 10px #d1d9e6, inset -5px -5px 10px #ffffff;
}




/* Typography */
.subtitle { letter-spacing: 2px; font-size: 14px; font-weight: 500; }
.subtitle-pink { color: var(--pink); font-size: 14px; font-weight: 500; letter-spacing: 1px; }
.section-title { font-size: 50px; color: var(--heading); margin: 10px 0 40px; }
.pink-text { color: var(--primary-blue); }


/* Portfolio Cards */
.port-card { background: var(--bg); padding: 25px; border-radius: 20px; box-shadow: var(--shadow); transition: 0.4s; cursor: pointer; }
.port-card:hover { transform: translateY(-10px); background: linear-gradient(145deg, #f0f4f7, #ffffff); }
.port-img { border-radius: 15px; overflow: hidden; margin-bottom: 20px; }
.port-img img { width: 100%; transition: 0.5s; }
.port-card:hover .port-img img { transform: scale(1.1); }
.port-meta { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 10px; font-weight: 600; }
.cat { color: var(--pink); }
.port-card h3 { font-size: 20px; color: var(--heading); transition: 0.3s; }
.port-card:hover h3 { color: var(--primary-blue); }

/* Resume Section */
.tab-nav { display: flex; box-shadow: var(--shadow); border-radius: 10px; margin-bottom: 50px; }
.tab-item { flex: 1; text-align: center; padding: 25px; cursor: pointer; font-weight: 600; transition: 0.3s; border-radius: 10px; }
.tab-item.active { box-shadow: var(--shadow); color: var(--primary-blue); }

.resume-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.year-label { color: var(--pink); font-size: 14px; font-weight: 500; }
.col-title { font-size: 32px; color: var(--heading); margin-bottom: 30px; }
.resume-card { background: var(--bg); box-shadow: var(--shadow); padding: 30px; border-radius: 20px; margin-bottom: 25px; transition: 0.4s; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; }
.badge { background: var(--bg); box-shadow: var(--shadow); color: var(--primary-blue); padding: 5px 15px; border-radius: 5px; font-weight: 600; font-size: 14px; }
.resume-card:hover { background: linear-gradient(145deg, var(--primary-blue), #d11414); }
.resume-card:hover h4, .resume-card:hover p, .resume-card:hover .badge { color: white; }

/* Contact Form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.info-card, .form-card { background: var(--bg); box-shadow: var(--shadow); padding: 40px; border-radius: 20px; }
.input-row { display: flex; gap: 20px; }
.input-group { flex: 1; }
label { font-size: 12px; font-weight: 600; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.neu-input { width: 100%; border: none; background: var(--bg); box-shadow: var(--inner-shadow); padding: 15px; border-radius: 8px; margin-bottom: 25px; outline: none; }
.btn-submit { width: 100%; background: var(--bg); box-shadow: var(--shadow); border: none; padding: 18px; border-radius: 10px; color: var(--primary-blue); font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { transform: translateY(-5px); color: var(--heading); }

/* Footer */
.footer { text-align: center; padding: 60px; border-top: 1px solid #dce1e4; margin-top: 40px; }

/* Typewriter */
.typewriter { border-right: 3px solid var(--pink); white-space: nowrap; overflow: hidden; display: inline-block; animation: typing 1.5s steps(30, end) 1; }
@keyframes typing { from { width: 0 } to { width: 55% } }