
/*background*/
body {
    background-color: #020817;
    background-image:
        linear-gradient(130deg, transparent 45%, rgba(0, 65, 255, 0.18) 45.2%, transparent 70%),
        linear-gradient(310deg, transparent 65%, rgba(91, 33, 182, 0.16) 65.2%, transparent 85%),
        radial-gradient(ellipse at 85% 25%, rgba(0, 100, 255, 0.22), transparent 40%),
        radial-gradient(ellipse at 15% 75%, rgba(91, 33, 182, 0.18), transparent 40%),
        linear-gradient(135deg, #020817, #050b20, #020817);

    background-attachment: fixed;
    background-size: cover;
}
/*Naviagtion bar*/
.tech-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.tech-tags{
    background: rgba(0, 217, 255, 0.1);
    color: #00d9ff;
    border: 1px solid rgba(0, 217, 255, 0.4);
    padding: 7px;
    border-radius: 20px;
    font-size: 14px;
}

.contact p{
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.8px;
    margin-bottom: 25px;
}
.footer{
    text-align: center;
    padding: 25px 15px;
    margin-top: 40px;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    color: #94a3b8;
    font-size: 14px;
}
.footer p{
    margin: 8px 0;
}
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    border-bottom: 1px solid rgba(0, 217, 255, 0.15);
    background-color: #050b1e;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
}
.logo img{
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.logo span{
    color:  #6d28d9;
}
.logo small{
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    color: #cbd5e1;
}
.nav-links{
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}
.nav-links a{
    background: none;
    color: #ffffff;
    padding: 8px 0;
    margin: 0;
}
.nav-links a:hover{
    color: #6d28d9;
    background: none;
    box-shadow: none;
    transform: none;
}
.cv-button{
    background: linear-gradient(90deg, #00d9ff, #8b5cf6);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
}
.hero h1{
    font-size: 36px;
    color: #ffffff;
}
.hero h1 span{
    color: #6d28d9;
}
.hero h2{
    font-size: 21px;
    color: #ffffff;
}
.hero-content > p:not(.intro){
    font-size: 15px;
    color: #ffffff;
}
.intro{
    font-size: 11px;
    letter-spacing: 3px;
    color: #ffffff; 
}
.hero{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 60px 40px;
    text-align: left;
    background: transparent;
    border: none;
}
.hero-content{
    flex: 1;
}
.hero-image{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image img{
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #00d9ff;
    box-shadow: 
        0 0 20px #00d9ff,
        0 0 45px rgba(139,92,246,0.7);
}
@media (max-width: 768px) {
    .hero{
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 35px;
    }
    .hero-image img{
        width: 240px;
        height: 240px;
    }
    
}

/* About Section Layout */
.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* About Image */
.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    display: block;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

/* About Text */
.about-content {
    flex: 1;
    min-width: 0;
    color: #ffffff;
}
.about-content span{
    color: #6d28d9;
}

/* Mobile Layout */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        gap: 30px;
    }

    .about-image,
    .about-content {
        width: 100%;
    }
}
/* Skills & Technologies Section */
.skills {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    max-width: 1300px;
    margin: 40px auto;
    padding: 30px 15px;
    background: linear-gradient(
        90deg,
        rgba(0, 35, 100, 0.35),
        rgba(0, 15, 55, 0.65)
    );
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
}

/* Individual Skill Categories */
.skill-card {
    text-align: center;
    padding: 15px 10px;
    border-right: 1px solid rgba(0, 217, 255, 0.15);
}

.skill-card:last-child {
    border-right: none;
}

/* Skill Icons */
.skill-icon {
    color: #00d9ff;
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 0 12px rgba(0, 217, 255, 0.8);
}

/* Skill Headings */
.skill-card h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 10px;
}

/* Skill Descriptions */
.skill-card p {
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}

/* Tablet Layout */
@media (max-width: 900px) {
    .skills {
        grid-template-columns: repeat(3, 1fr);
    }

    .skill-card:nth-child(3) {
        border-right: none;
    }

    .skill-card:nth-child(n+4) {
        border-top: 1px solid rgba(0, 217, 255, 0.15);
    }
}

/* Mobile Layout */
@media (max-width: 550px) {
    .skills {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 10px;
    }

    .skill-card:nth-child(3) {
        border-right: 1px solid rgba(0, 217, 255, 0.15);
    }

    .skill-card:nth-child(2),
    .skill-card:nth-child(4) {
        border-right: none;
    }

    .skill-card:nth-child(3) {
        border-top: 1px solid rgba(0, 217, 255, 0.15);
    }

    .skill-card:nth-child(n+4) {
        border-top: 1px solid rgba(0, 217, 255, 0.15);
    }

    .skill-card h3 {
        font-size: 14px;
    }

    .skill-card p {
        font-size: 11px;
    }
}

/* EDUCATION SECTION */
.education {
    max-width: 1100px;
    margin: 80px auto;
    padding: 60px 40px;
    text-align: center;
    color: #ffffff;
}

.education h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 40px;
}

.education h2 span {
    color: #6d28d9;
}

.education-container {
    display: flex;
    justify-content: center;
}

.education-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    width: 100%;
    max-width: 750px;
    padding: 30px;
    text-align: left;
    background: rgba(5, 15, 40, 0.65);
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 12px;
    transition: 0.3s ease;
}

.education-card:hover {
    border-color: #00d9ff;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.15);
    transform: translateY(-5px);
}

.education-icon {
    font-size: 40px;
    color: #00d9ff;
}

.education-content h3 {
    color: #ffffff;
    font-size: 21px;
    margin-bottom: 10px;
}

.education-content h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 12px;
}

.education-status {
    display: inline-block;
    color: #a78bfa;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 12px;
}

.education-content p:last-child {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
}

/* EDUCATION RESPONSIVENESS */
@media (max-width: 768px) {
    .education {
        padding: 40px 20px;
    }

    .education h2 {
        font-size: 28px;
    }

    .education-card {
        padding: 22px;
        gap: 15px;
    }

    .education-content h3 {
        font-size: 18px;
    }
}

/* CERTIFICATIONS SECTION */
.certifications {
    max-width: 1100px;
    margin: 80px auto;
    padding: 60px 40px;
    text-align: center;
}

.certifications h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 40px;
}

.certifications h2 span {
    color: #6d28d9;
}

.certifications-container {
    display: flex;
    justify-content: center;
}

.certification-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    width: 100%;
    max-width: 750px;
    padding: 30px;
    text-align: left;
    background: rgba(5, 15, 40, 0.65);
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 12px;
    transition: 0.3s ease;
}

.certification-card:hover {
    border-color: #00d9ff;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.15);
    transform: translateY(-5px);
}

.certification-icon {
    font-size: 42px;
    color: #00d9ff;
}

.certification-content h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 10px;
}

.certification-content h4 {
    color: #00d9ff;
    font-size: 16px;
    margin-bottom: 12px;
}

.certification-status {
    display: inline-block;
    color: #a78bfa;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 12px;
}

.certification-content p:last-child {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
}

/* CERTIFICATIONS RESPONSIVENESS */
@media (max-width: 768px) {
    .certifications {
        padding: 40px 20px;
    }

    .certifications h2 {
        font-size: 28px;
            color: #ffffff;
    }

    .certification-card {
        padding: 22px;
        gap: 15px;
    }

    .certification-content h3 {
        font-size: 19px;
    }
}
.certifications .section-title {
    color: #ffffff;
}
.section-title span{
    color: #6d28d9;
}
html {
    scroll-behavior: smooth;
}

/* PROFESSIONAL CERTIFICATION CARD DESIGN */

.certifications-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
}

.certification-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: auto;
    max-width: none;
    min-height: 260px;
    padding: 30px 25px;
    text-align: left;
    background: linear-gradient(
        145deg,
        rgba(8, 25, 60, 0.9),
        rgba(5, 10, 35, 0.95)
    );
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.certification-card:hover {
    border-color: #00d9ff;
    box-shadow:
        0 0 15px rgba(0, 217, 255, 0.2),
        0 0 30px rgba(109, 40, 217, 0.15);
    transform: translateY(-6px);
}

.certification-icon {
    font-size: 38px;
    margin-bottom: 5px;
}

.certification-content h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 10px;
}

.certification-content h4 {
    color: #00d9ff;
    font-size: 14px;
    margin-bottom: 12px;
}

.certification-status {
    color: #a78bfa;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
}

.certification-content p:last-child {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
}
.certification-content p {
    color: #ffffff;
}

/* RESPONSIVE CERTIFICATION CARDS */
@media (max-width: 900px) {
    .certifications-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .certifications-container {
        grid-template-columns: 1fr;
    }

    .certification-card {
        min-height: auto;
    }
}

/* CONTACT SECTION */
.contact {
    max-width: 900px;
    margin: 80px auto;
    padding: 60px 40px;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 15px;
}

.contact h2 span {
    color: #6d28d9;
}

.contact-description {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.contact-container form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 650px;
    margin: 0 auto;
}

.contact-container input,
.contact-container textarea {
    width: 100%;
    padding: 16px;
    background: rgba(5, 15, 40, 0.85);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: 0.3s ease;
}

.contact-container input:focus,
.contact-container textarea:focus {
    border-color: #00d9ff;
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.25);
}

.contact-container input::placeholder,
.contact-container textarea::placeholder {
    color: #94a3b8;
}

.contact-container textarea {
    resize: vertical;
}

.contact-container button {
    padding: 15px 25px;
    background: linear-gradient(90deg, #0066ff, #6d28d9);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-container button:hover {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
    transform: translateY(-3px);
}

/* CONTACT RESPONSIVENESS */
@media (max-width: 768px) {
    .contact {
        padding: 40px 20px;
        margin: 50px auto;
    }

    .contact h2 {
        font-size: 30px;
    }
}

#home,
#about,
#skills,
#education,
#certifications,
#contact {
    scroll-margin-top: 100px;
}

/* Prevent horizontal scrolling */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Make elements fit their containers */
* {
    box-sizing: border-box;
}

/* Make images responsive */
img {
    max-width: 100%;
    height: auto;
}

