@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}
html{
    font-size: 62.5%;
}
body{
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: whitesmoke;
    color: white;
}

/* General Styles for Navbar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: whitesmoke;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.top-bar h1 {
    color: black;
    font-size: 1.8rem;
}

/* Desktop Navigation */
#nav-menu ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

#nav-menu ul li {
    display: inline-block;
}

#nav-menu ul li a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    padding: 5px 10px;
    transition: 0.3s ease;
}

#nav-menu ul li a:hover,
#nav-menu ul li a.active {
    color: black;
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger .bar {
    height: 3px;
    width: 100%;
    background-color: black;
    border-radius: 2px;
}

/* Mobile Menu Hidden by Default */
/* Mobile Menu Hidden by Default */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    #nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: whitesmoke;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

    #nav-menu ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    #nav-menu ul li {
        width: 100%;
        text-align: center;
    }

    #nav-menu ul li a {
        display: block;
        width: 100%;
        padding: 10px;
        font-size: 18px;
    }

    #nav-menu.show {
        display: flex;
    }
}

section{
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}
.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: whitesmoke;
}
.home .home-content h1{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
    color: black;
}

.home-content h3{
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: black;
}
.home-content p{
    font-size: 1.6rem;
    color: black;
}
.home-img{
    border-radius: 50%;
}
.home-img img{
    position: relative;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid whitesmoke;
    cursor: pointer;
    transition: 0.2s linear;
}
.home-img img:hover{
    font-size: 1.8rem;
    font-weight: 500;
}
.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid black;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: black;
}
.social-icons a:hover{
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: lightgrey;
    box-shadow: 0  0 25px lightgrey
}
@media (max-width: 1000px){
    .home{
        gap: 4rem;
    }
}
@media(max-width:995px){
    .home{
        flex-direction: column;
        margin: 5rem 4rem;
    }
    .home .home-content h3{
        font-size: 2.5rem;
    }
    .home-content h1{
        font-size: 5rem;
    }
    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }
}
.skills-section {
    text-align: center;
    padding: 40px 20px;
}

h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.skills-section {
    text-align: center;
    padding: 40px 20px;
}

h2 {
    font-size: 2em;
    margin-bottom: 30px;
    font-weight: bold;
}
.skills-section h2{
    color: #000;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.skill {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.skill h2 {
    margin: 10px 0;
    font-size: 1.3em;
    font-weight: bold;
    color: #000;
}

.skill p {
    font-size: 0.9em;
    line-height: 1.4;
    color: #000;
}
.skill img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    border-radius: 10%;
    padding: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill img:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

#experience{
    padding: 80px 0;
    color: black;
}

.container {
    width: 85%;
    margin: auto;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.experience-col-1 {
    flex-basis: 35%;
}

.experience-col-1 img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.experience-col-1 img:hover {
    transform: scale(1.05);
}

.experience-col-2 {
    flex-basis: 60%;
}

.sub-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

/* Paragraph Styling */
.experience-col-2 p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

/* Tabs & Content */
.tab-section {
    margin-top: 20px;
}

.tab {
    margin-bottom: 15px;
}

/* Tab Links Styling */
.tab-links {
    font-size: 18px;
    font-weight: 600;
    color: black;
    cursor: pointer;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 2px;
    background: black;
    position: absolute;
    left: 0;
    bottom: -3px;
    transition: width 0.4s ease-in-out;
}

.tab-links:hover::after,
.tab-links.active-link::after {
    width: 100%;
}

/* List Styling */
.tab-contents ul {
    list-style: none;
    padding: 0;
}

.tab-contents ul li {
    margin: 8px 0;
    font-size: 16px;
    line-height: 1.5;
}

.tab-contents ul li span {
    font-weight: 600;
    color: black;
}

/* Responsive Design */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        text-align: center;
    }

    .experience-col-1,
    .experience-col-2 {
        flex-basis: 100%;
    }

    .experience-col-1 img {
        width: 80%;
        margin-bottom: 20px;
    }

    .sub-title {
        font-size: 28px;
    }

    .about-col-2 p {
        font-size: 15px;
    }

    .tab-links {
        font-size: 16px;
    }

    .tab-contents ul li {
        font-size: 15px;
    }
}
.contact {
    text-align: center;
    width: 100%;
    padding: 20px;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Contact Container */
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Contact Section */
.contact {
    text-align: center;
    width: 100%;
    padding: 20px;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #000;
}

/* Contact Container */
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Contact Box */
.contact-box {
    display: flex;
    flex-direction: row; 
    width: 800px;
    height: 450px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(239, 247, 248, 0.6);
    overflow: hidden;
}

/* Left Section (Now on the Left) */
.left-section {
    flex: 1;
    padding: 30px;
    color: #000;
    background: linear-gradient(135deg,#3d3e3f, white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.left-section h2 {
    margin-bottom: 10px;
}

.left-section p {
    font-size: 14px;
    margin-bottom: 10px;
}

/* Right Section (Contact Form Now on the Right) */
.right-section {
    flex: 1;
    padding: 30px;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.right-section h2 {
    color: #333;
    margin-bottom: 20px;
}

/* Form Styling */
form {
    width: 100%;
    max-width: 350px;
}

.input-box {
    width: 100%;
    margin-bottom: 15px;
    position: relative;
}


.input-box input, 
.input-box textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    background: white;
    transition: border 0.3s ease-in-out;
}

.input-box input:focus, 
.input-box textarea:focus {
    border: 2px solid black;
    outline: none;
}

.input-box textarea {
    resize: none;
    height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: black;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.submit-btn:hover {
    background: darkgray;
}


@media (max-width: 800px) {
    .contact-box {
        flex-direction: column;
        width: 90%;
        height: auto;
    }

    .left-section, 
    .right-section {
        padding: 20px;
    }
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.popup-content {
    color: black;
    font-size: 18px;
}

.popup button {
    margin-top: 10px;
    padding: 8px 15px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.popup button:hover {
    background: darkgray;
}

.footer {
    background: black;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    position: relative;
    bottom: 0;
    width: 100%;
}
.partners {
    padding: 50px 20px;
    text-align: center; 
}

.partners h2 {
    font-size: 28px;
    color: black;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    text-align: center;
}

.partners h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color:black;
    margin: 10px auto;
}

.partner-logos {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    gap: 20px;
    margin-top: 30px;
}

.partner-logos img {
    max-width: 150px;
    height: auto;
    transition: transform 0.3s ease-in-out;
    border-radius: 8px; 
}

.partner-logos img:hover {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .partner-logos {
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 40px;
    }
}

@media (min-width: 1024px) {
    .partner-logos {
        grid-template-columns: repeat(4, 1fr); 
    }
}

