:root {
    --primary-color: #6366f1;
    --secondary-color: #a855f7;
    --accent-color: #ec4899;
    --dark-color: #0a0a16;
    --darker-color: #050510;
    --light-color: #f8fafc;
    --text-color: #e2e8f0;
    --text-light: #94a3b8;
    --success-color: #10b981;
}

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

::selection {
    background: var(--accent-color);
    color: var(--light-color);
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--darker-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    position: relative;
    width: 200px;
    height: 200px;
}

.loader-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color);
    z-index: 2;
}

.loader-circle {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--primary-color);
    animation: spin 1.5s linear infinite;
}

.loader-circle:nth-child(2) {
    border-top-color: var(--secondary-color);
    animation-duration: 2s;
}
.loader-circle:nth-child(3) {
    border-top-color: var(--accent-color);
    animation-duration: 2.5s;
}

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

/* Floating background shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
}

.shape-1 {
    background: var(--primary-color);
    width: 300px;
    height: 300px;
    top: 10%;
    left: -100px;
}
.shape-2 {
    background: var(--secondary-color);
    width: 400px;
    height: 400px;
    top: 60%;
    right: -150px;
}
.shape-3 {
    background: var(--accent-color);
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 10%;
}

/* Header */
.header {
    padding: 2rem 0;
    position: fixed;
    width: 100%;
    top: 0; left: 0;
    z-index: 100;
    transition: all 0.3s ease;
}
.header.scrolled {
    background: rgba(5,5,16,0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-color);
    position: relative;
}
.logo span {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    color: transparent;
}
.logo::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    bottom: -5px;
    left: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-link {
    position: relative;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
}
.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}
.nav-link:hover {
    color: var(--light-color);
}
.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
    z-index: 2;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text h1 span {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
}

/* Hero Buttons */
.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--light-color);
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* Outline Button */
.btn-outline {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}
.btn-outline:hover {
    background: var(--accent-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

/* Icon Styling */
.btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}
.btn-primary:hover i {
    transform: translateX(5px);
}

/* === Hero Image & Floating Icons === */
.hero-image {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 250px;
}

.hero-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    transition: transform 0.4s ease;
    position: relative;
    z-index: 2;
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* Floating Tech Icons Around Profile */
.floating-icon {
    position: absolute;
    width: 65px;
    height: 65px;
    animation: floatAround 6s ease-in-out infinite;
    z-index: 1;
    opacity: 0.95;
    pointer-events: none;
}

.floating-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Individual icon placement */
.floating-icon.java {
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}
.floating-icon.python {
    top: 25%;
    right: -80px;
    animation-delay: 1s;
}
.floating-icon.springboot {
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}
.floating-icon.REACT {
    top: 25%;
    left: -80px;
    animation-delay: 3s;
}

/* Floating Animation */
@keyframes floatAround {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(10px, -10px) scale(1.05); }
    50% { transform: translate(-10px, 10px) scale(0.97); }
    75% { transform: translate(5px, 8px) scale(1.03); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-icon {
        width: 50px;
        height: 50px;
    }
    .floating-icon.python {
        right: -60px;
    }
    .floating-icon.REACT {
        left: -60px;
    }
}

/* Hero Social Links */
.hero-content .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-right: 0.8rem;
    transition: all 0.3s ease;
    background: transparent;
}

.hero-content .social-link:hover {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--light-color);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.hero-content {
    margin-top: 2rem;
}

.hero-content .social-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    .hero-content .social-link {
        margin-right: 0.5rem;
        width: 40px;
        height: 40px;
    }
}

/* About Section */
.about {
    padding: 6rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.about p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Projects Section */
.projects {
    padding: 6rem 1rem;
    background: var(--dark-color);
}
.projects h2 {
    text-align: center;
    margin-bottom: 2rem;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.project-card {
    background: var(--darker-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.project-card:hover {
    transform: translateY(-5px);
}
.project-card h3 {
    margin-bottom: 0.5rem;
}
.project-card p {
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 6rem 1rem;
    text-align: center;
}
.contact h2 {
    margin-bottom: 1rem;
}
.contact a {
    color: var(--accent-color);
    font-weight: 600;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--dark-color);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Header */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .nav-links {
        display: none;
    }
    .header-container {
        justify-content: space-between;
    }
}
:root {
    --primary-color: #6366f1;
    --secondary-color: #a855f7;
    --accent-color: #ec4899;
    --dark-color: #0a0a16;
    --darker-color: #050510;
    --light-color: #f8fafc;
    --text-color: #e2e8f0;
    --text-light: #94a3b8;
    --success-color: #10b981;
}

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

::selection {
    background: var(--accent-color);
    color: var(--light-color);
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--darker-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    position: relative;
    width: 200px;
    height: 200px;
}

.loader-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color);
    z-index: 2;
}

.loader-circle {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--primary-color);
    animation: spin 1.5s linear infinite;
}

.loader-circle:nth-child(2) {
    border-top-color: var(--secondary-color);
    animation-duration: 2s;
}
.loader-circle:nth-child(3) {
    border-top-color: var(--accent-color);
    animation-duration: 2.5s;
}

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

/* Floating background shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
}

.shape-1 {
    background: var(--primary-color);
    width: 300px;
    height: 300px;
    top: 10%;
    left: -100px;
}
.shape-2 {
    background: var(--secondary-color);
    width: 400px;
    height: 400px;
    top: 60%;
    right: -150px;
}
.shape-3 {
    background: var(--accent-color);
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 10%;
}

/* Header */
.header {
    padding: 2rem 0;
    position: fixed;
    width: 100%;
    top: 0; left: 0;
    z-index: 100;
    transition: all 0.3s ease;
}
.header.scrolled {
    background: rgba(5,5,16,0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-color);
    position: relative;
}
.logo span {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    color: transparent;
}
.logo::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    bottom: -5px;
    left: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-link {
    position: relative;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
}
.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}
.nav-link:hover {
    color: var(--light-color);
}
.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
    z-index: 2;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text h1 span {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
}

/* Hero Buttons */
.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--light-color);
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* Outline Button */
.btn-outline {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}
.btn-outline:hover {
    background: var(--accent-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

/* Icon Styling */
.btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}
.btn-primary:hover i {
    transform: translateX(5px);
}

/* === Hero Image & Floating Icons === */
.hero-image {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 250px;
}

.hero-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    transition: transform 0.4s ease;
    position: relative;
    z-index: 2;
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* === Floating Tech Icons Around Profile (Clean Version) === */
/* === Floating Tech Icons Behind Profile Image === */
.hero-image {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 250px;
    z-index: 3;
}

/* Profile image */
.hero-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    position: relative;
    z-index: 3; /* keep it above the floating icons */
}

/* Floating icons container */
.floating-icon {
    position: absolute;
    width: 70px;
    height: 70px;
    z-index: 2; /* ensures they appear behind the photo */
    opacity: 0.9;
    pointer-events: none;
    animation: orbitBehind 10s linear infinite;
}

.floating-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none;
    box-shadow: none;
    background: none;
}

/* Individual icon positions */
.floating-icon.java {
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}
.floating-icon.python {
    top: 25%;
    right: -90px;
    animation-delay: 1s;
}
.floating-icon.springboot {
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}
.floating-icon.REACT {
    top: 25%;
    left: -90px;
    animation-delay: 3s;
}

/* Circular floating motion (behind the image) */
@keyframes orbitBehind {
    0% { transform: rotate(0deg) translateX(130px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(130px) rotate(-360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-image img {
        width: 220px;
        height: 220px;
    }
    .floating-icon {
        width: 50px;
        height: 50px;
    }
}



/* Hero Social Links */
.hero-content .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-right: 0.8rem;
    transition: all 0.3s ease;
    background: transparent;
}

.hero-content .social-link:hover {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--light-color);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.hero-content {
    margin-top: 2rem;
}

.hero-content .social-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    .hero-content .social-link {
        margin-right: 0.5rem;
        width: 40px;
        height: 40px;
    }
}

/* About Section */
.about {
    padding: 6rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.about p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Projects Section */
.projects {
    padding: 6rem 1rem;
    background: var(--dark-color);
}
.projects h2 {
    text-align: center;
    margin-bottom: 2rem;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.project-card {
    background: var(--darker-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.project-card:hover {
    transform: translateY(-5px);
}
.project-card h3 {
    margin-bottom: 0.5rem;
}
.project-card p {
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 6rem 1rem;
    text-align: center;
}
.contact h2 {
    margin-bottom: 1rem;
}
.contact a {
    color: var(--accent-color);
    font-weight: 600;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--dark-color);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Header */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .nav-links {
        display: none;
    }
    .header-container {
        justify-content: space-between;
    }
}

/* === Scroll Indicator (Downward Fade Version) === */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
    letter-spacing: 1px;
    opacity: 0.85;
    animation: fadeIn 1.5s ease forwards;
}

.scroll-indicator span {
    font-weight: 500;
    text-transform: lowercase;
}

/* Line */
.scroll-indicator-line {
    width: 3px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

/* Dot that moves downward only and fades */
.scroll-indicator-dot {
    width: 9px;
    height: 9px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s ease-in-out infinite;
}

/* Dot smoothly falls and fades out */
@keyframes scrollDown {
    0% {
        top: 5%;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    80% {
        top: 80%;
        opacity: 0;
        transform: translateX(-50%) scale(0.9);
    }
    100% {
        top: 5%;
        opacity: 0;
        transform: translateX(-50%) scale(1);
    }
}

/* Fade in appearance of the whole indicator */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 0.85;
        transform: translate(-50%, 0);
    }
}


/*=====================ABOUT SECTION====================*/
/* === About Section (Large Image, Fill Right Space) === */
/* === About Section === */
.about {
    width: 100%;
    padding: 6rem 2rem;
    background: var(--darker-color);
    color: var(--text-color);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* About layout: text left, image right */
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Left content */
.about-content {
    flex: 1.2;
    text-align: left;
}

.about-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
}

.about-heading {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.about-text {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    max-width: 600px;
}

/* === Skills Grid (Dynamic Tiles) === */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    text-align: center;
    padding: 12px 8px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

.skill-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.skill-name {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Hover Effects */
.skill-item:hover {
    transform: translateY(-6px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
.skill-item:hover .skill-icon {
    color: var(--accent-color);
    transform: scale(1.15);
}

/* Right side image (Enlarged + Dynamic) */
.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-container {
    position: relative;
    max-width: 480px; /* enlarged */
    transition: transform 0.4s ease;
}

.about-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

/* Hover zoom effect */
.about-image-container:hover .about-image {
    transform: scale(1.05);
}

/* Glowing graphics behind image */
.about-image-container::before,
.about-image-container::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    filter: blur(90px);
    animation: float 6s ease-in-out infinite alternate;
}

.about-image-container::before {
    width: 320px;
    height: 320px;
    background: var(--primary-color);
    top: -60px;
    left: -80px;
    opacity: 0.25;
}

.about-image-container::after {
    width: 220px;
    height: 220px;
    background: var(--accent-color);
    bottom: -50px;
    right: -70px;
    opacity: 0.25;
}

/* Floating animation for background graphics */
@keyframes float {
    0%   { transform: translateY(0px) scale(1); }
    100% { transform: translateY(-20px) scale(1.05); }
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-content {
        text-align: center;
    }
    .about-visual {
        margin-top: 2rem;
    }
    .about-image-container {
        max-width: 320px;
    }
}
/*About section ends*/

/* === Projects Section (Unified Style) === */
.projects {
    width: 100%;
    padding: 6rem 0;
    background: var(--darker-color);  /* same as hero/about */
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

/* Floating background shapes for continuity */
.projects::before,
.projects::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.15;
    z-index: 0;
}
.projects::before {
    width: 350px;
    height: 350px;
    background: var(--primary-color);
    top: 15%;
    left: -120px;
}
.projects::after {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    bottom: 10%;
    right: -150px;
}

/* Section Title */
.projects .section-title-container {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}
.projects .section-title {
    font-size: 2.3rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    color: transparent;
}
.projects .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Projects Grid */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Project Card */
.project-card {
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

/* Project Image */
.project-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.project-card:hover .project-image img {
    transform: scale(1.08);
}

/* Overlay */
.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.project-card:hover .project-overlay {
    opacity: 1;
}

/* Tags */
.project-tags {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    z-index: 2;
}
.project-tag {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--light-color);
    backdrop-filter: blur(6px);
}

/* Content */
.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.project-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--light-color);
}
.project-description {
    font-size: 0.95rem;
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 1rem;
}

/* Links */
.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.project-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s ease, transform 0.3s ease;
}
.project-link i {
    font-size: 0.95rem;
}
.project-link:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .projects {
        padding: 4rem 1rem;
    }
    .project-image {
        height: 200px;
    }
}

/* Project Section Ends */

/* === Experience Section (Timeline Style) === */
.experience {
    width: 100%;
    padding: 6rem 2rem;
    background: var(--darker-color);
    color: var(--text-color);
    position: relative;
}

.experience .section-title-container {
    text-align: center;
    margin-bottom: 3rem;
}

.experience .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    color: transparent;
}

.experience .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Timeline Container */
.timeline {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Vertical Line */
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    border-radius: 4px;
}

/* Timeline Item */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 1.5rem 2rem;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

/* Animate items sequentially */
.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.6s; }
.timeline-item:nth-child(3) { animation-delay: 1s; }
.timeline-item:nth-child(4) { animation-delay: 1.4s; }

/* Left/Right alignment */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}
.timeline-item:nth-child(even) {
    left: 50%;
}

/* Timeline Icon */
.timeline-icon {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--darker-color);
    border: 3px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-icon:hover {
    background: var(--accent-color);
    color: var(--light-color);
}

/* Timeline Content Box */
.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    display: inline-block;
    max-width: 420px;
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-6px);
}

/* Connector Lines */
.timeline-item:nth-child(odd) .timeline-content::after {
    content: "";
    position: absolute;
    top: 30px;
    right: -20px;
    width: 20px;
    height: 2px;
    background: var(--accent-color);
}
.timeline-item:nth-child(even) .timeline-content::after {
    content: "";
    position: absolute;
    top: 30px;
    left: -20px;
    width: 20px;
    height: 2px;
    background: var(--accent-color);
}

/* Date Badge */
.timeline-date {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--light-color);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 1rem;
}

/* Titles */
.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--light-color);
}

.timeline-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
}

.timeline-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Fade-in Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        text-align: left !important;
    }

    .timeline-icon {
        left: 20px;
        transform: translateX(0);
    }

    .timeline-content {
        max-width: 100%;
    }

    .timeline-content::after {
        display: none; /* hide connector on small screens */
    }
}

/* Experience Ends here */

/* === Achievements Section === */
.achievements {
    width: 100%;
    padding: 6rem 2rem;
    background: var(--darker-color);
    color: var(--text-color);
    position: relative;
}

.achievements .section-title-container {
    text-align: center;
    margin-bottom: 3rem;
}

.achievements .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    color: transparent;
}

.achievements .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Grid Layout */
.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Achievement Card */
.achievement-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* Icon */
.achievement-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 1.2rem auto;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--light-color);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* Title */
.achievement-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--light-color);
}

/* Description */
.achievement-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Achievement Section Ends here*/

/* === Contact Section === */
.contact {
    width: 100%;
    padding: 6rem 2rem;
    background: var(--darker-color);
    color: var(--text-color);
}

.contact .section-title-container {
    text-align: center;
    margin-bottom: 3rem;
}

.contact .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    color: transparent;
}

.contact .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Layout: Left Info + Right Form */
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* === Left: Contact Info === */
.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-heading {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light-color);
    text-align: left;
}

.contact-text {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: left;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

/* Contact icons */
.contact-link-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 1.3rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Contact text (aligned left) */
.contact-link-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-link-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: left;
}

.contact-link-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--light-color);
    text-align: left;
}

/* === Right: Contact Form === */
.contact-form {
    flex: 1;
    min-width: 350px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-label {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    text-align: left;
}

.form-control {
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-color);
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: left;
}

.form-control::placeholder {
    color: var(--text-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.25);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

/* Submit button */
.contact-form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
    border-radius: 10px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--light-color);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* === Responsive === */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-form {
        margin-top: 2rem;
    }
}

/*Contact Section Ends here */

/* === Footer === */
.footer {
    background: var(--dark-color);
    padding: 4rem 2rem 2rem;
    color: var(--text-light);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;   /* ✅ align all sections to the top */
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* === Brand Section === */
.footer-brand {
    flex: 1;
    min-width: 250px;
    text-align: left;   /* ✅ Align brand content left */
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
    margin-bottom: 0.5rem;
    text-align: left;
}

.footer-text {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 320px;
    text-align: left;   /* ✅ Align description left */
    line-height: 1.5;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;   /* ✅ Align social icons left */
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.footer-social .social-link:hover {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* === Footer Links Section === */
.footer-links-container {
    flex: 1;
    min-width: 200px;
    text-align: left;   /* ✅ Align quick links left */
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light-color);
    text-align: left;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-link {
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    text-align: left;
}

.footer-link i {
    font-size: 0.7rem;
    color: var(--accent-color);
}

.footer-link:hover {
    color: var(--light-color);
}

/* === Bottom Section === */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 3rem;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* === Responsive === */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand,
    .footer-links-container {
        text-align: center;   /* Center align on small screens */
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-heading {
        text-align: center;
    }
}

