/*RESET*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*BODY*/
body {
    /*font-family: Arial, sans-serif;*/
    font-family: 'Poppins', sans-serif;
    /*line-height: 1.6;*/
    background: #0f172a;
    color: #f1f5f9;
}

h1, h2, h3 {
    color: #ffffff;
}

p {
    color: #94a3b8;
}

a {
    color: #6c63ff;
}

section {
    background: transparent;
}

/*:root {
    --bg-color: #0f172a;
    --primary-text: #f1f5f9;
    --secondary-text: #94a3b8;
    --accent: #6c63ff;
}*/

/*universal card style*/
.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/*hover effect*/
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/*stacks cards nicely in sections*/
.qualifications .card,
.about .card {
    margin: 15px auto;
    max-width: 600px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #111;
    color: #fff;
}


nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a {
    color: #00f2fe;
}


.hero {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-size: 3rem;
}

.hero p {
    margin: 10px 0;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
   align-items: center;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    background: #111;
    color: #fff;
    font-weight: 500;
    border-radius: 25px;
    transition: 0.3s;
    text-decoration: none;
    margin-top: 10px;
    text-align: center;
}

.btn:hover {
    background: #333;
}

.btn-primary {
    background-color: #6c63ff;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #4a47c4;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: #6c63ff;
}    

.btn-outline:hover {
    background-color: #6c63ff;
    color: white;
}

section {
    padding: 100px 50px;
}

section {
    padding: 60px 50px;
    background: transparent;
}


.project-card {
    background: #f4f4f4;
    padding: 20px;
    margin-top: 15px;
    border-radius: 10px;
}

/*smooth scrolling*/
html {
    scroll-behavior: smooth;
}

/*Projects section*/
.projects {
    background-color: #0f172a;
    color: #f1f5f9;
    text-align: center;
}

.projects h2 {
    margin-bottom: 30px;
}

/*Grid layout*/
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/*project card*/
.project-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

}

/*hover effect*/
.project-card:hover {
    transform: translateY(-5px);
}

/*button link*/
.project-card a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: #4facfe;
    font-weight: bold;
}

section {
    padding: 80px 50px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

@media(max-width: 768px) {
    nav {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 50px 20px;
    }
}

.card, .project-card, .skills-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-image img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
}

/*body{
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    text-align: center;
}*/

form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input, form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

form button {
    padding: 12px;
    background: #4facfe;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

form button:hover {
    background: #00c6ff;
}

.qualifications {
    background-color: #0f172a;
    color: #f1f5f9;
    text-align: center;
}

.qualification-item {
    margin-bottom: 20px;
}

.qualification-item h3 {
    margin-bottom: 5px;
}

.qualification-item span {
    color: gray;
    font-size: 0.9rem;
}

.skills {
    text-align: center;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/*skills badges*/
.skill {
    background: #4facfe;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    transition: transformatio 0.2s ease, background 0.3s ease;
}

/*hover effect*/
.skill:hover {
    transform: scale(1.05);
    background: #00c6ff;
}

.skills-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.skills-category {
    background: ; rgba(255, 255, 255, 0.05);
    color: #f1f5f9;
    padding: 20px;
    border-radius: 12px;
    width: 250px;
}

.skills-category h3 {
    margin-bottom: 15px;
    color: #ffffff;
}

.skills-category p,
.skills-category li {
    color: #94a3b8;
}


.cv-btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: #6c63ff;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.3s ease;
}

.cv-btn:hover {
    background-color: #4a47c4;
    transform: translateY(-3px);
}

.skill-card i, 
h2 i,
h3 i {
    margin-right: 8px;
    color: #6c63ff;
}
.contact {
    text-align: center;
    padding: 80px 20px;
    background: #0f172a;
    color: #f1f5f9;
}

.contact-subtext {
    color: #94a3b8;
    margin-bottom: 20px;
}

.contact-form {
    max-width: 500px;
    margin: auto;
    background: #1e1e2f;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/*inputs*/
.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: #0f172a;
    color: #f1f5f9;
    font-size: 14px;
}

/*placeholder color*/
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
}

/*focus effect*/
.contact-form input:focus,
.contact-form textarea:focus {
    border: 2px solid #6c63ff;
}

.contact-form button {
    margin-top: 10px;
}

.contact-form:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.contact-btn {
    background-color: transparent;
    border: 2px solid #6c63ff;
    margin-left: 10px;
}

.contact-btn:hover {
    background-color: #6c63ff;
    color: white;
}

.contact-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 35px;
}

.contact-icons a {
    font-size: 40px;
    color: #ffffff;
    opacity: 1;
    transition: 0.3s ease;
}

.contact-icons a:hover {
    color: #6c63ff;
    transform: translateY(-5px);
}

.footer {
    text-align: center;
    padding: 25px;
    margin-top: 50px;
    color: #94a3b8;
    font-size: 14px;
    background: #0f172a;
}

/* FORCE fix for any white cards inside skills section */
#skills div {
    background: transparent !important;
}

#skills div {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #f1f5f9;
    border-radius: 12px;
    padding: 20px;
}
