/* ---------------- GLOBAL ---------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #050814, #12003c, #230066);
    color: #e8ecff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* ---------------- NAVBAR ---------------- */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 18px 0;
    background: rgba(10, 15, 45, 0.55);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(127, 93, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 40px;
    padding-right: 40px;
    z-index: 50;
}

.logo {
    font-size: 28px;
    font-weight: 700;
}

.nav a {
    color: #e8ecff;
    text-decoration: none;
    margin-left: 20px;
    padding: 8px 14px;
    border-radius: 20px;
    transition: 0.25s;
    font-weight: 500;
}

.nav a:hover {
    background: #7f5dff;
    box-shadow: 0 0 10px #7f5dff;
}

/* ---------------- HERO ---------------- */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 8%;
    gap: 40px;
    flex-wrap: wrap;
    scroll-margin-top: 130px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
}

.highlight {
    background: linear-gradient(45deg, #a885ff, #7f5dff);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text {
    margin: 20px 0;
    font-size: 18px;
    max-width: 450px;
}

.hero-img-container {
    flex: 1;
    text-align: center;
}

.hero-img {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 5px solid #7f5dff;
    object-fit: cover;
    box-shadow: 0 0 25px rgba(127, 93, 255, 0.6);
    animation: float 5s infinite ease-in-out;
}

/* Floating animation */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    margin-top: 15px;
    background: #7f5dff;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    box-shadow: 0 0 15px #a885ff;
    transform: translateY(-3px);
}

/* ---------------- SECTIONS ---------------- */
.section {
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    scroll-margin-top: 100px;
}

.glass-box {
    background: rgba(255, 255, 255, 0.07);
    padding: 25px;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(127, 93, 255, 0.3);
    scroll-margin-top: 100px;
}

.section-title {
    font-size: 28px;
    margin-bottom: 15px;
}

/* ---------------- SKILLS ---------------- */
.skills-list li {
    margin: 8px 0;
    padding: 4px 10px;
    border-left: 3px solid #7f5dff;
}

/* ---------------- PROJECTS ---------------- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.project-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(127, 93, 255, 0.3);
    transition: 0.3s;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px #7f5dff;
}

/* ---------------- CONTACT ---------------- */
.contact-item a {
    color: #e8ecff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.contact-item a:hover {
    transform: translateX(5px);
}

/* ---------------- FOOTER ---------------- */
.footer {
    text-align: center;
    padding: 18px 0;
    margin-top: 40px;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(127,93,255,0.3);
}
/* SECTION WRAPPER */
.edu-skill-section {
    width: 90%;
    max-width: 1100px;
    margin: 60px auto;
    padding: 20px;
}

.main-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 45px;
    border-bottom: 2px solid #4a6bff;
    display: inline-block;
    padding-bottom: 6px;
}

/* TWO COLUMNS */
.edu-skill-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* SHARED CARD STYLE (Education & Skills) */
.card-box {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(74, 107, 255, 0.4);
    border-radius: 12px;
    padding: 25px 28px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 20px rgba(30, 30, 60, 0.4);
    transition: 0.3s ease;
}

.card-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(74, 107, 255, 0.6);
}

/* TITLES */
.subtitle {
    font-size: 22px;
    margin-bottom: 18px;
    font-weight: 600;
}

/* EDUCATION TEXT */
.education-box p {
    margin: 7px 0;
    font-size: 16px;
}

/* SKILLS ITEMS */
.skill-item {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(74, 107, 255, 0.5);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-weight: 500;
    transition: 0.25s ease;
}

.skill-item:hover {
    transform: scale(1.03);
    background: rgba(74, 107, 255, 0.2);
    box-shadow: 0 0 14px rgba(74, 107, 255, 0.5);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .edu-skill-container {
        flex-direction: column;
        gap: 25px;
    }
}
.hero-img-container {
    position: relative;
    right: -300px;   
}
.social {
  text-decoration: none;
  color: #e8ecff;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.social:hover {
  transform: translateX(5px);
  color: #a78bff;
}
