/* --- PROJECT SECTION LAYOUT --- */
.projects-section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.projects-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #e5e7eb;
}



/* --- ROW FOR PROJECT CARDS --- */
/* --- EXPERIENCE / PROJECT CARD --- */
.xp-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;

    padding: 24px;
    margin-bottom: 24px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    gap: 20px;

    color: #e5e7eb;
}

/* Left icon */
.xp-logo {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
}

/* Title + subtitle section */
.xp-content {
    flex: 1;
}

.xp-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #e5e7eb;
}

.xp-subtitle {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 12px;
}

/* Bullet list */
.xp-list {
    margin: 0;
    padding-left: 20px;
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.45;
}

/* Right side meta info */
.xp-meta {
    text-align: right;
    font-size: 0.9rem;
    color: #cbd5e1;
    white-space: nowrap;
}

.xp-location,
.xp-date {
    margin-bottom: 6px;
}

/* --- TECH STACK ICON ROW --- */
/* Wrapper for card + tech bar */
.xp-wrapper {
    margin-bottom: 32px;
}

/* Tech bar below card */
.xp-tech-bar {
    margin-top: 10px;

    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 12px;

    padding: 10px 14px;

    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;

    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* Label */
.tech-label {
    font-size: 0.9rem;
    color: #93c5fd;
    font-weight: 600;
    margin-right: 8px;
}

/* Icons */
.tech-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.85;
    transition: 0.2s ease;
}

.tech-icon:hover {
    opacity: 1;
    transform: scale(1.15);
}



/* --- GRID FOR PROJECT CARDS --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

/* --- PROJECT CARD STYLE --- */
.project-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 20px;
    padding: 24px;
    text-align: left;
    transition: 0.25s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: #60a5fa;
    box-shadow: 0 18px 35px rgba(0,0,0,0.3);
}

/* --- PROJECT IMAGE --- */
.project-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 16px;
}

/* --- TEXT --- */
.project-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #e5e7eb;
}

.project-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

/* --- PROJECT LINK --- */
.project-link {
    color: #60a5fa;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.project-link:hover {
    color: #93c5fd;
}




.resume-frame {
    width: 100%;
    height: 90vh;
    border: none;
}



body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

/* github icon*/
 .icon {
    display: inline-block;
    margin-top: 12px;
    color: #e5e7eb;
    width: 32px;
    height: 32px;
    transition: 0.2s ease;
}
.icon:hover {
    color: #60a5fa; /* same blue glow */
    transform: scale(1.1);
}

/* Face card */
.page {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 24px;
    padding: 32px 40px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.35);
}
.avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 20px;
    border: 3px solid rgba(96, 165, 250, 0.7);
}
/* all for the face  */


header {
    background-color: #ffffff;
    color: white;
    padding: 20px;
    text-align: center;
}
nav {
    background: #444;
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
/* nav a:hover {
    color: #ffd700;
} */

nav a:hover {
    color: #60a5fa; /* same blue glow */
    transform: scale(1.1);
}

.hero {
    background: #ddd;
    padding: 60px 20px;
    text-align: center;
}
.container {
    max-width: 1000px;
    margin: 40px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}



/* ---- PHOTO GALLERY SECTION ---- */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

/* Each photo card */
.gallery-item {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 16px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    border-color: #60a5fa;
    box-shadow: 0 18px 35px rgba(0,0,0,0.3);
}

/* Image style */
.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

/* Caption style */
.gallery-caption {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin: 0;
}
