


:root {
    --primary-color: #0a192f;
    --secondary-color: #112240;
    --accent-color: hsl(192, 51%, 62%);
    /*--accent-color: #38bdf8;*/
    --text-primary: #e6f1ff;
    --text-secondary: #8892b0;
    --gradient-start: #0a192f;
    --gradient-end: #112240;
    --card-bg: rgba(17, 34, 64, 0.7);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
        Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1rem;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    font-weight: 600;
    color: var(--accent-color);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-3px);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 5px;
    transition: var(--transition);
}

/*------------------------------------Hero Section */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.9)), url('https://via.placeholder.com/1920x1080') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
    padding-top: 6rem; /* Adjust as needed */
}

.hero-content {
    display: flex;
    align-items: left;
    justify-content: space-between;
    /*gap: rem;*/
    width: 100%;
}

.hero-text {
    flex: 1;
}

.hero-greeting {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.hero-name {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-name-col {
    color: var(--accent-color);
}
.hero-title {
    font-size: 2.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}



/*------------ typing effect -----------------*/
.hero-name-col::after {
    content: "|";
    display: inline-block;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-name-col.typing::after {
    content: "|";
    display: inline-block;
    animation: blink 0.7s infinite;
}

.hero-name-col:not(.typing)::after {
    content: "";
}

/*----------------------------*/

.hero-description {
    max-width: 500px;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.hero-image {
    flex: 1;
    max-width: 400px;
    border-radius: 10px;
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    border: 2px solid var(--accent-color);
    box-shadow: 10px 10px 0px rgba(100, 255, 218, 0.2);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: translate(-5px, -5px);
    box-shadow: 15px 15px 0px rgba(100, 255, 218, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 2rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icons a {
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/*---------------------------- About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
    max-width: 400px;
}




.about-image img {
    border-radius: 10px;
    border: 2px solid var(--accent-color);
    box-shadow: 10px 10px 0px rgba(100, 255, 218, 0.2);
}

/*----------------------- Qualifications & Certifications */
.qual-section {
    background-color: rgba(10, 25, 47, 0.5);
    padding: 4rem 0;
    border-radius: 10px;
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab {
    padding: 0.8rem 1.5rem;
    background: var(--card-bg);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.tab.active, .tab:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.content-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.fade-in {
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    height: 10%;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.card-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.wqu-card-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.card-subtitle {
    color: var(--text-secondary);
}

.card-body {
    padding: 1.5rem;
}

.details-list {
    margin-bottom: 1rem;
}

.details-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.date {
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
    color: var(--accent-color);
}

.key-courses p {
    font-weight: bold;
    margin-top: 10px;
}

.key-courses ul {
    list-style-type: none;
    margin-top: 5px;
}

.key-courses li {
    margin-bottom: 8px;
}

.key-courses li:before {
    content: "•";
    color: var(--accent-color);
    margin-right: 5px;
}


.ul {
    list-style-type: disc; /* Ensure that the list style type is set to disc (bullets) */
}

.li {
    list-style-type: inherit; /* Make sure child list items inherit the parent's style */
}

.div ul {
    list-style-type: disc; /* Specific rule for the inner ul within the div */
}


.badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.verify-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--accent-color);
    padding: 10px 15px;
    /*border: 2px solid ; /* Define border */
    border-radius: 8px; /* Rounded corners */
    /*border-color: var(--accent-color);*/
    
}

.verify-btn:hover {
    /*text-decoration: underline;-->*/
    /*padding: 0.3rem 0.6rem;*/
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent-color);
    border-radius: 15px;
    
    
}

.progress-container {
    margin: 1rem 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-value {
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
}

/*------------------------------------Skills Section */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.skill-category {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    width: 100%;
    max-width: 45%;
    transition: var(--transition);
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-size: 1.5rem;
    text-align: center;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.skill-icon {
    font-size: 2.5rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.skill-name {
    font-size: 0.85rem;
    text-align: center;
}

.skill-item:hover .skill-icon {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/*---------------------------------------------------------------------------------------------------*/
/*
.skills-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /*grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
*/

.techskill {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100px;
    transition: transform 0.3s;
}

.techskill:hover {
    transform: translateY(-10px);
}

.techskill i {
    font-size: 70px;
    margin-bottom: 15px;
    /*color: #BBDEFB*/;
}

.techskill-name {
    font-size: 18px;
    color: #E3F2FD;
}
.techimage-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

/*------------------------------------Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(100, 255, 218, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tag {
    padding: 0.3rem 0.6rem;
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.project-link:hover {
    color: var(--accent-color);
}

/* Contact Section */
.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    align-items: flex-start;
}

.contact-content {
    flex: 1;
}

.contact-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(100, 255, 218, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.contact-text {
    color: var(--text-secondary);
}

.contact-form {
    flex: 1;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.submit-btn:hover {
    background: rgba(100, 255, 218, 0.2);
}

/* Footer */
footer {
    background: var(--primary-color);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-social a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.footer-text {
    color: var(--text-secondary);
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .hero-name {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .skill-category {
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content, .about-content, .contact-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image, .about-image {
        margin: 0 auto;
    }
    
    .social-icons {
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: var(--primary-color);
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .content-container, .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        margin-top: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-name {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-greeting {
        font-size: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .tabs-container {
        flex-wrap: wrap;
    }
}