* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #0b1120;
    color: #e5e7eb;
}

/* HERO */
.hero {
    text-align: center;
    padding: 70px 20px;
    background: linear-gradient(135deg, #1e3a8a, #020617);
}

.hero h1 {
    font-size: 2.8rem;
}

.hero h2 {
    color: #93c5fd;
    font-weight: 400;
}

/* CARD */
.card {
    max-width: 1000px;
    margin: 25px auto;
    padding: 25px;
    background: #020617;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.card h3 {
    color: #60a5fa;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

/* SKILLS */
.skills span {
    display: inline-block;
    background: #1e40af;
    padding: 8px 14px;
    margin: 6px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* PROJECTS */
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.project {
    padding: 20px;
    background: #020617;
    border: 1px solid #1e3a8a;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.project:hover {
    transform: translateY(-6px);
    border-color: #60a5fa;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #020617;
    max-width: 600px;
    margin: 10% auto;
    padding: 25px;
    border-radius: 14px;
    animation: pop 0.3s ease;
}

@keyframes pop {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close {
    float: right;
    font-size: 28px;
    cursor: pointer;
    color: #60a5fa;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    color: #94a3b8;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .modal-content {
        margin: 20% 15px;
    }
}
/* CONTACT SECTION */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #020617;
    border: 1px solid #1e3a8a;
    border-radius: 12px;
    transition: 0.3s;
}

.contact-item span {
    font-size: 1.4rem;
}

.contact-item p {
    margin: 0;
    font-size: 0.95rem;
    word-break: break-word;
}

/* Hover effect (desktop only) */
@media (hover: hover) {
    .contact-item:hover {
        border-color: #60a5fa;
        transform: translateY(-3px);
    }
}

@media (max-width: 600px) {
    .contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .contact-item span {
        font-size: 1.6rem;
    }
}
.skills-group {
    margin-bottom: 22px;
}

.skills-group h4 {
    margin-bottom: 10px;
    color: #93c5fd;
    font-weight: 500;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills span {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}

.skills span:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30,64,175,0.4);
}

/* Mobile optimization */
@media (max-width: 600px) {
    .skills span {
        font-size: 0.8rem;
        padding: 7px 12px;
    }
}
/* PROFESSIONAL SUMMARY */
.summary-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #cbd5f5;
    margin-bottom: 12px;
}

/* CORE COMPETENCIES */
.competencies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.competency {
    background: linear-gradient(135deg, #020617, #0f172a);
    border: 1px solid #1e3a8a;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.competency:hover {
    transform: translateY(-4px);
    border-color: #60a5fa;
    box-shadow: 0 10px 25px rgba(30,58,138,0.35);
}

/* Mobile optimization */
@media (max-width: 600px) {
    .summary-text {
        font-size: 0.9rem;
        text-align: left;
    }

    .competency {
        text-align: center;
        font-size: 0.88rem;
    }
}

.timeline {
    position: relative;
    margin-left: 20px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #1e40af;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background: #60a5fa;
    border-radius: 50%;
    margin-top: 8px;
}

.timeline-card {
    background: #020617;
    border: 1px solid #1e3a8a;
    padding: 18px;
    border-radius: 12px;
}

.company {
    color: #93c5fd;
    font-size: 0.9rem;
}

.duration {
    font-size: 0.8rem;
    color: #94a3b8;
}
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.sticky-cta a {
    background: #2563eb;
    color: white;
    padding: 12px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    box-shadow: 0 10px 25px rgba(37,99,235,0.4);
}
.resume-btn {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    transition: 0.3s;
}

.resume-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37,99,235,0.45);
}
.hero-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
/* EDUCATION */
.education {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.edu-card {
    background: linear-gradient(135deg, #020617, #0f172a);
    border: 1px solid #1e3a8a;
    padding: 18px;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.edu-card:hover {
    transform: translateY(-4px);
    border-color: #60a5fa;
    box-shadow: 0 10px 25px rgba(30,58,138,0.35);
}

.edu-institute {
    color: #93c5fd;
    font-size: 0.9rem;
    margin: 6px 0;
}

.edu-year {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ACHIEVEMENTS */
.achievement-card {
    background: linear-gradient(135deg, #020617, #0f172a);
    border-left: 4px solid #60a5fa;
    padding: 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile Optimization */
@media (max-width: 600px) {
    .edu-card,
    .achievement-card {
        text-align: center;
    }
}

