/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

a {
    color: #ffffff;
    text-decoration: none;
}

/* Navigation
.navbar {
    background: #111;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}
.nav-links li a {
    position: relative;
    padding-bottom: 5px;
    transition: 0.3s;
}
.nav-links li a.active,
.nav-links li a:hover {
    color: #00c3ff;
    font-weight: bold;
} */

/* Hero Section */
header {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 60px;
    background: linear-gradient(to bottom right, #0f2027, #203a43, #829fac);
    color: #fff;
    flex-wrap: wrap;
}

.text-content,
.image-content,
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.text-content {
    flex: 1;
    padding-right: 30px;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-content img {
    max-width: 300px;
    border-radius: 50%;
    border: 4px solid #00c3ff;
    box-shadow: 0 0 25px rgba(0, 195, 255, 0.4);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.btn {
    padding: 12px 25px;
    background: #00c3ff;
    color: #000;
    border: none;
    border-radius: 50px;
    transition: 0.3s;
    font-weight: 600;
}

.btn:hover {
    background: #00a3cc;
    transform: scale(1.05);
}

/* Section */
.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 20px auto 0;
    color: #cccccc;
}

.certification-table {
    margin: auto;
    /* text-align: left; */
}

.certification-table td {
    padding: 10px;

}



.certification-table a {
    padding: 8px 15px;
}

.certification-table tr :first-child {
    text-align: left;
}

.certification-card {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.certification-card div {
    margin: 0px 10px;
}

.certification-card a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    padding: 5px 10px;
}

/* Education */
/* .section1 {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: left;
}
.about-text {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 20px auto 0;
    color: #cccccc;
} */

/* Experience */
/* .section2 {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: right;
}
.about-text {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 20px auto 0;
    color: #cccccc;
} */

/* Skills */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.skill {
    background: #1f1f1f;
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid #444;
    transition: 0.3s ease;
    position: relative;
}

.skill:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    pointer-events: none;
}

.skill:hover {
    box-shadow: 0 0 12px rgba(0, 195, 255, 0.5);
    transform: translateY(-5px);
    background: #00c3ff;
    color: #000;
}

/* Projects */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.project-card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 195, 255, 0.1);
    transition: 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 195, 255, 0.2);
}

/* Contact */
#contact p {
    font-size: 1rem;
    margin: 10px 0;
    color: #cccccc;
}

/* Footer */
footer {
    padding: 20px;
    background: #111;
    text-align: center;
    color: #aaa;
    margin-top: 40px;
}

footer::before {
    content: '';
    display: block;
    height: 2px;
    width: auto;
    margin: 0 auto 15px;
    background: linear-gradient(to right, #00c3ff, #0072ff);
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    header {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }

    .text-content {
        padding: 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .btn {
        margin-top: 15px;
    }

    .image-content img {
        margin-top: 30px;
    }
}

/* Static Tooltip Above Skills */
.tooltip-static {
    background: #40cffa;
    color: #000;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    max-width: 80%;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Navigation */
.navbar {
    background-color: #000000;
    color: white;
    padding: 10px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    position: relative;
    padding-bottom: 5px;
    transition: 0.3s;
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.nav-links li a.active,
.nav-links li a:hover {
    color: #00c3ff;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px 0;
    transition: 0.3s;
}

/* Mobile styles */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #000000;
        flex-direction: column;
        /* Change to row for mobile row,column */
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    .nav-links li {
        padding: 10px 20px;
        text-align: center;
    }

    .nav-links.active {
        max-height: 500px;
    }

    .menu-toggle {
        display: flex;
    }
}

.edu-exp-container {
    display: flex;
    justify-content: space-around;
    /* gap: 40px; */
    padding: 0px 20px;
    max-width: 700px;
    margin: auto;
    flex-wrap: wrap;
}

.section1,
.section2 {
    min-width: 300px;
    width: max-content;
}

.section1 {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 195, 255, 0.1);
    transition: 0.3s ease;
    cursor: pointer;
    text-align: right;
}

.section2 {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 195, 255, 0.1);
    transition: 0.3s ease;
    cursor: pointer;
    text-align: justify;
}

.about-text {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 20px auto 0;
    color: #cccccc;
}

@media (max-width: 768px) {
    .edu-exp-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .section1,
    .section2 {
        width: 100%;
        text-align: center;
    }

    .section1 {
        text-align: justify right;
    }

    .section2 {
        text-align: justify;
    }
}

@media (max-width: 768px) {
    .edu-exp-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .section1,
    .section2 {
        flex: 1;
        min-width: 40px;
    }

    .section1 {
        text-align: center;
    }

    .section2 {
        text-align: center;
    }
}