* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root{

    /* Backgrounds */
    --bg-main:#2D3134;
    --bg-dark:#23272A;
    --card-bg:#383E42;

    /* Text */
    --text-primary:#F5F1EA;
    --text-secondary:#C9CED3;
    --text-muted:#90979D;

    /* Accent */
    --accent:#D8C8B4;
    --accent-hover:#E2D5C5;

    /* Borders */
    --border:#4A5055;

    /* Glass */
    --glass-bg:rgba(255,255,255,0.04);
    --glass-border:rgba(216,200,180,0.12);
}


body{
    color:white;
    overflow-x:hidden;
}

body{
    background:
        linear-gradient(
            rgba(27, 28, 29, 0.863),
            rgba(34, 35, 37, 0.85)
        ),
        url("BG image/BG.png");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;

    color: white;
}

body::before{
    content:"";

    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background:url("BG image/data-visualization.png");
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;

    opacity:15%;
    filter:blur(0.1px);

    pointer-events:none;
    z-index:-1;
}

.container {
    position: relative;
    min-height: 100vh;
    background: transparent;
}



/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(12px);
    background: rgba(15, 23, 42, 0.5);
    z-index: 50;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.nav-content{
    width:100%;
    max-width:1800px;
    margin:0 auto;

    padding:15px 50px;

    display:grid;
    grid-template-columns:auto 1fr auto;

    align-items:center;
}

.nav-left{
    display:flex;
    align-items:center;
}

.nav-links{
    display:flex;
    justify-content:center;
    align-items:center;

    gap:50px;

    width:100%;
}

.nav-right{
    display:flex;
    align-items:center;

    gap:40px;

    margin-left:auto;
}

.logo-container{
    display:flex;
    align-items:center;
    gap:12px;

    margin-left:-15px;
}

.logo-img{
    width:60px;
    height:60px;
    object-fit:contain;
}

.logo-text{
    font-size: 2rem;
    font-weight: bold;
    word-spacing: 10px;
    background: linear-gradient(to right, #c084fc, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;

    justify-self:center;
}

.nav-links a {
    color: #dbd1d1;
    text-decoration: none;
    text-transform: capitalize;
    transition: color 0.3s;
    font-size: 2rem;   /* ⬅ increased */
    font-weight: 500;
}


.nav-links a:hover,
.nav-links a.active {
    color: #c084fc !important;
    text-shadow: 0 0 10px rgba(192,132,252,0.8);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background: #0f172a;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    text-transform: capitalize;
    transition: background 0.3s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc !important;
}

/* Sections */
section {
    position: relative;
    padding: 120px 1.5rem;
    z-index: 10;
    scroll-margin-top: 110px;
}

#about{
    margin-bottom:150px;
}

#projects{
    margin-top:150px;
}

#skills{
    margin-top:150px;
}

#contact{
    margin-top:100px;
    padding-bottom: auto;
}

.section-container {
    max-width: 1024px;
    margin: 0 auto;
}

.section-container-wide {
    max-width: 1280px;
    margin: 0 auto;
}

.section-container-small {
    max-width: 768px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(to right, #c084fc, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
#home{
    margin-top:120px;
    padding-top:120px;
    padding-bottom:180px;
}


.hero-container{
    min-height:0px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:100px;
}

.hero-left{
    margin-left:100px;
    width:48%;
}

.hero-right{
    width:48%;
    display:flex;
    justify-content:flex-end;
    padding-right:100px;
}

.hero-image{
    position:relative;
    width:600px;
    height:600px;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* Photo container */
.photo-container{
    width:650px;
    height:700px;

    border-radius:50%;
    overflow:hidden;

    border:6px solid #c084fc;

    box-shadow:
        0 0 25px rgba(192,132,252,.5),
        0 0 50px rgba(192,132,252,.2);

    z-index:2;
}

/* Photo NEVER rotates */
.photo-container img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 25%;
}

@keyframes spin{
    from{
        transform:rotate(0deg);
    }
    to{
        transform:rotate(360deg);
    }
}

.about-card{
    margin-top:25px;
    width:100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #c084fc, #ec4899, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 2rem;
    color: #d1d5db;
    max-width: 520rem;
    line-height: 1.8;
    margin: 0 auto 3rem;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.5rem;
    color: #d1d5db;
    max-width: 520rem;
    line-height: 1.8;
    margin: 0 auto 3rem;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 9999px;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-primary {
    background: transparent;
    color: white;
    border: 1px solid #22C55E;
}

.btn-primary:hover {
    background: #8B5CF6;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(164, 161, 177, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid #06B6D4;
}

.btn-secondary:hover {
    background: #8B5CF6;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(164, 161, 177, 0.5);
}

.btn-resume {
    background: transparent;
    color: white;
    border: 1px solid #FBBF24;
}

.btn-resume:hover {
    background: #8B5CF6;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(164, 161, 177, 0.5);
}

.btn-tertiary {
    background: transparent;
    color: white;
    border: 1px solid #8B5CF6;
}

.btn-tertiary:hover {
    background: #8B5CF6;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(164, 161, 177, 0.5);
}

.btn-full {
    width: 100%;
}


.social-link {
    color: white;
    transition: all 0.3s;
    display: inline-block;
}

.social-link:hover {
    color: #c084fc;
    transform: scale(1.1);
}

.social-links{
    margin-right:-20px;
}

/* Glass Card */
.glass-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    padding: 3rem;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.about-text {
    font-size: 1.35rem;
    color: #d1d5db;
    line-height: 2;
    margin-bottom: 1.5rem;
}

.about-text:last-child {
    margin-bottom: 0;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: all 0.3s;
}

.project-card:hover {
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-8px) scale(1.02);
}

.project-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.project-description {
    color: #d1d5db;
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-btn {
    color:lightgreen;
    background: transparent;
    font-size: 1.5rem;
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(168, 85, 247, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: #d8b4fe;
}

.project-link {
    background: none;
    border: none;
    color: #c084fc;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s;
}

.project-link:hover {
    color: #d8b4fe;
}

/* Skills */
.skill-item {
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 6px 12px;
    align-items: center;
}


.skill-item:last-child {
    margin-bottom: 0;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-size: 1.125rem;
    font-weight: 600;
}

.skill-percentage {
    color: #5feeb7;
    font-weight: 600;
    justify-self: end;
}


.skill-bar {
    width: 100%;
    background: #334155;
    border-radius: 9999px;
    height: 0.75rem;
    overflow: hidden;
    grid-column: 1 / -1;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(to right, #a855f7, #ec4899);
    border-radius: 9999px;
    transition: width 1s ease;
}

/* Skill Progress Widths */
.skill-progress-95 { width: 95%; }
.skill-progress-90 { width: 90%; }
.skill-progress-85 { width: 85%; }
.skill-progress-80 { width: 80%; }
.skill-progress-75 { width: 75%; }


/* ===== SKILL LOGO STYLES (ADDED) ===== */

.skill-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    cursor: pointer;
    filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.6));
    transition: transform 0.3s ease;
}

.skill-logo:hover {
    transform: scale(1.15);
}

/* Responsive */
@media (max-width: 768px) 

{

    .hero-container {
    flex-direction: column-reverse;
    text-align: center;
}

.hero-content {
    text-align: center;
}

.hero-buttons,
.social-links {
    justify-content: center;
}

.hero-image img {
    width: 280px;
    height: 280px;
}

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .glass-card {
        padding: 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    section {
        padding: 4rem 1rem;
    }
}


.glass-card,
.project-card {
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.glass-card:hover,
.project-card:hover {
    box-shadow:
        0 0 50px rgba(168, 85, 247, 0.45),
        0 0 120px rgba(168, 85, 247, 0.30),
        inset 0 0 40px rgba(168, 85, 247, 0.20);
}


/* ===== TEXT COLOR ===== */

/* Project cards text */
.project-card,
.project-card h3,
.project-card p {
    color: #e5e7eb; /* light gray */
}

/* Project title */
.project-title {
    color: #ffffff;
}

/* Skills text */
.skill-name {
    color: #ffffff;
}

/* About + general text */
.about-text,
.project-description {
    color: #d1d5db;
}

.skill-categories {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.skill-category {
  flex: 1;
  background: linear-gradient(145deg, #0b1220, #020617);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.skill-category img {
  width: 32px;
}

.skill-category:hover {
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
  transform: translateY(-4px);
}

.skill-details {
  margin-top: 30px;
}

.skill-group {
  display: none;
  background: linear-gradient(145deg, #0b1220, #020617);
  padding: 30px;
  border-radius: 18px;
}

.skill-bar-item {
  display: grid;
  grid-template-columns: 32px 120px 1fr 50px;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}

.skill-bar-item img {
  width: 28px;
}

.bar {
  height: 8px;
  background: #1f2937;
  border-radius: 10px;
}

.bar div {
  height: 100%;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  border-radius: 10px;
}

/* ===== Skills Tabs Add-on  ===== */

.skills-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 30px;
  margin: 40px auto;
  max-width: 1100px;
}


.skill-tab {
  background: rgba(18, 22, 40, 0.95);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* ICON SIZE — CLEAR LIKE 1ST IMAGE */
.skill-tab img {
  width: 42px;
  height: 42px;
}

/* TEXT — BIG + READABLE */
.skill-tab span {
  font-size: 22px;        /* ⬅ increased */
  font-weight: 700;       /* ⬅ bold */
  color: #ffffff;         /* ⬅ high contrast */
  letter-spacing: 0.4px;
}

/* ACTIVE + HOVER */
.skill-tab:hover {
  box-shadow: 0 0 25px rgba(170, 80, 255, 0.75);
  transform: translateY(-3px);
}

.skill-tab.active {
  box-shadow: 0 0 25px rgba(170, 80, 255, 0.75);
}


.skills-content {
  margin-top: 40px;
}

.skills-group {
  display: block;
}

.hidden {
  display: none;
}

.skill-name {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-name img {
  width: 26px;
}

/* ===================================
   CERTIFICATIONS SECTION
=================================== */

.certificate-tabs{
    display:grid;
    grid-template-columns:repeat(4,minmax(200px,1fr));
    gap:25px;
    margin:40px auto;
    max-width:1100px;
}

.certificate-tab{
    background:rgba(18,22,40,0.95);
    border-radius:18px;
    padding:28px;
    display:flex;
    align-items:center;
    gap:14px;
    cursor:pointer;
    transition:all .3s ease;
}

.certificate-tab span{
    font-size:20px;
    font-weight:700;
    color:#fff;
}

.certificate-tab:hover{
    box-shadow:0 0 25px rgba(170,80,255,.75);
    transform:translateY(-3px);
}

.certificate-tab.active{
    box-shadow:0 0 25px rgba(170,80,255,.75);
}

.tab-icon{
    font-size:26px;
}

.certificates-content{
    margin-top:40px;
}

.certificate-group{
    display:block;
}

.hidden{
    display:none;
}

.certificate-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.certificate-card{
    background:rgba(18,22,40,0.95);
    border:1px solid rgba(168,85,247,.25);
    border-radius:18px;
    padding:28px;
    transition:all .3s ease;
}

.certificate-card:hover{
    transform:translateY(-5px);
    box-shadow:
        0 0 25px rgba(168,85,247,.45),
        0 0 60px rgba(168,85,247,.25);
}

.certificate-card h3{
    font-size:24px;
    font-weight:700;
    color:#fff;
    margin-bottom:12px;
    line-height:1.4;
}

.certificate-card p{
    color:#facc15;
    font-size:18px;
    font-weight:600;
    margin-bottom:28px;
}

.certificate-card a{
    text-decoration:none;
    color:lightgreen;
    font-size:20px;
    font-weight:600;
    transition:.3s;
}

.certificate-card a:hover{
    color:#86efac;
}

@media(max-width:900px){

    .certificate-tabs{
        grid-template-columns:repeat(2,1fr);
    }

    .certificate-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:600px){

    .certificate-tabs{
        grid-template-columns:1fr;
    }

}

/* ===== CONTACT SECTION TEXT ===== */

#contact,
#contact h2,
#contact label,
#contact input,
#contact textarea {
    color: #ffffff;
}

/* Input placeholder text */
#contact input::placeholder,
#contact textarea::placeholder {
    color: #9ca3af;
}

/* Form background clarity */
#contact .glass-card {
    background: rgba(15, 23, 42, 0.65);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}


.form-input, .form-textarea {
    padding: 0.75rem 1rem;
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 0.5rem;
    color: white;
    font-size: 1.3rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form button {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
}


.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #a855f7;
}

.form-textarea {
    resize: none;
}

/* Footer */
footer {
    position: relative;
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    z-index: 10;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    color: #9ca3af;
}
