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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
}

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

section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: #fff;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #38bdf8;
    margin: 1rem auto 0;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #38bdf8;
    color: #0f172a;
}

.btn-primary:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.3);
}

.btn-outline {
    border: 2px solid #38bdf8;
    color: #38bdf8;
    background: transparent;
}

.btn-outline:hover {
    background: #38bdf8;
    color: #0f172a;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #38bdf8;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #38bdf8;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #94a3b8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid #38bdf8;
}

/* About Section */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    color: #e2e8f0;
}

.about-profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    background: #1e293b;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.about-image {
    flex: 1 1 250px;
    text-align: center;
}

.about-image img {
    max-width: 200px;
    border-radius: 50%;
    border: 4px solid #38bdf8;
}

.about-text {
    flex: 2 1 500px;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: left;
}

.about-text .intro {
    font-weight: 600;
    color: #38bdf8;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.4rem;
    background-color: #38bdf8;
    color: #1e293b;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #0ea5e9;
}

/* Education Section */
.education-item {
    background: #1e293b;
    padding: 2rem;
    border-radius: 10px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.education-item h3 {
    color: #38bdf8;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.education-item .institution {
    color: #e2e8f0;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.education-item .year {
    color: #94a3b8;
    font-style: italic;
    margin-bottom: 1rem;
}

.education-item .description {
    color: #94a3b8;
    line-height: 1.6;
}


/* Education Section Enhancements */
.campus-image {
    max-width: 800px;
    margin: 0 auto 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.campus-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.campus-image img:hover {
    transform: scale(1.02);
}

.education-item {
    background: #1e293b;
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.education-item h3 {
    color: #38bdf8;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.education-item .institution {
    color: #e2e8f0;
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.education-item .year {
    color: #94a3b8;
    font-style: italic;
    margin-bottom: 1rem;
}

.education-item .description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.achievements h4 {
    color: #38bdf8;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #334155;
    padding-bottom: 0.3rem;
}

.achievements ul {
    list-style: none;
    padding: 0;
}

.achievements li {
    color: #e2e8f0;
    margin-bottom: 0.6rem;
    padding-left: 1.8rem;
    position: relative;
    line-height: 1.5;
}

.achievements li::before {
    content: '🏆';
    position: absolute;
    left: 0;
    color: #38bdf8;
    font-size: 1rem;
}


/* Achievement Images Gallery */
.achievement-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.image-card {
    background: #0f172a; /* dark blue frame */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(56,189,248,0.25);
}

/* IMAGE FIX */
.image-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;   /* shows full image */
    object-position: center;
    display: block;
    background: #0f172a;   /* keeps dark theme behind image */
}

/* caption */
.image-caption {
    padding: 0.8rem;
    text-align: center;
    font-size: 0.9rem;
    color: #cbd5f5;
    background: #1e293b;
    border-top: 1px solid #334155;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .achievement-images {
        grid-template-columns: 1fr;
    }
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: #1e293b;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h3 {
    color: #38bdf8;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.skill-items {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-items li {
    background: #0f172a;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #e2e8f0;
    border: 1px solid #38bdf8;
}

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

.project-card {
    background: #1e293b;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #2d3a4f;
}

.project-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: #fff;
}

.project-card p {
    padding: 0 1.5rem 1rem;
    color: #94a3b8;
}

.project-tech {
    padding: 0 1.5rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    background: #0f172a;
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    font-size: 0.8rem;
    color: #38bdf8;
}

.project-links {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    gap: 1.5rem;
}

.project-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: #38bdf8;
}

.project-links i {
    margin-right: 0.3rem;
}

/* Experience Section */
.experience-item {
    background: #1e293b;
    padding: 2rem;
    border-radius: 12px;
    max-width: 700px;
    margin: 1.5rem auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.experience-item:hover {
    transform: translateY(-5px);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}

.experience-item h3 {
    color: #38bdf8;
    font-size: 1.5rem;
    margin: 0;
}

.date {
    color: #facc15;
    font-weight: 500;
    font-size: 0.9rem;
}

.company {
    color: #94a3b8;
    font-style: italic;
    margin-bottom: 1rem;
}

.responsibilities {
    list-style: none;
    color: #e2e8f0;
    padding-left: 0;
}

.responsibilities li {
    margin-bottom: 0.6rem;
    padding-left: 1.8rem;
    position: relative;
}

.responsibilities li::before {
    content: '▹';
    color: #38bdf8;
    position: absolute;
    left: 0;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: #1e293b;
    padding: 3rem;
    border-radius: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 5px;
    color: #e2e8f0;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #38bdf8;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #94a3b8;
}

.contact-info i {
    color: #38bdf8;
    font-size: 1.2rem;
    width: 25px;
}

/* Footer */
.footer {
    background: #0a0f1c;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: #e2e8f0;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #38bdf8;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #38bdf8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #1e293b;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 300px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
    }
}
.contact-info a {
    text-decoration: none;
    color: #FFC107;
    font-weight: 500;
}

.contact-info a:hover {
    color: #0077b5;
}
.project-video-container {
    margin-top: 15px;
}

.project-video {
    width: 100%;
    max-height: 300px;
    border-radius: 8px;
    object-fit: cover;
}


/* ===== Project Image Slider ===== */

.project-slider-box{
    width:100%;
    height:220px;
    margin-top:15px;
    position:relative;
    overflow:hidden;
    border-radius:8px;
}

.slider-images{
    width:100%;
    height:100%;
    position:relative;
}

.slider-images img{
    width:100%;
    height:100%;
    object-fit:cover;
    position:absolute;
    top:0;
    left:0;
    display:none;
}

.slider-images img.active{
    display:block;
}
/* arrows */

.slider-nav{
    position:absolute;
    width:100%;
    top:50%;
    transform:translateY(-50%);
    display:flex;
    justify-content:space-between;
    padding:0 10px;
}

.slider-nav button{
    background:#FFC107;
    border:none;
    padding:6px 10px;
    border-radius:4px;
    color:#fff;
    cursor:pointer;
    font-weight:bold;
}
.company {
    display: flex;
    justify-content: space-between; /* company left, date right */
    align-items: center;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.company .date {
    font-weight: 400;
    font-size: 0.9rem;
    color: #94a3b8; /* optional lighter color for date */
}
.experience {
  padding: 20px;
}

.job {
  margin-bottom: 20px;
}

.job h3 {
  margin: 0;
  font-size: 1.2em;
}

.company {
  font-weight: bold;
}

.duration {
  color: gray;
  font-size: 0.9em;
}

.job ul {
  margin: 10px 0 0 20px;
}
.hero-tagline {
    font-style: italic;
}
.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #8fcd6b, #58e346, #c01062);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
  }