* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "SF Pro Display", sans-serif;
    transition: all 0.3s linear;
}

body {
    width: 100vw !important;
}

.navbar {
    margin: 10px;
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 10px;
    height: 85px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
body.dark .dropdown {
  background-color: #333;
  border: 1px solid #555;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

body.dark .dropdown a {
  color: #fff;
  border-bottom-color: #555;
}

body.dark .dropdown a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.navbar h1 {
    font-size: 24px;
    font-weight: bold;
    color: black;
    margin-left: 10px;
}

.navbar a {
    color: black;
    text-decoration: none;
    margin: 10px;
    transition: color 0.3s;
    display: flex;
    position: relative;
}

.navbar .nav-links a {
    color: #2c3e50;
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.navbar .nav-links a:nth-child(-n + 6)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1.5px;
    width: 0%;
    background-color: rgba(0, 0, 0, 0.889);
    transition: width 0.3s ease;
}

.navbar .nav-links a:nth-child(-n + 6):hover::after {
    width: 100%;
}


.navbar .btn.login:hover {
    background-color: rgb(241, 240, 240);
    color: rgb(19, 19, 19);
    border: 1px solid black;
}

.navbar .btn.signup {
    border: 1px solid black;
    display: inline-block;
    box-sizing: border-box;
    outline: none;
    background-color: black;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 5px;
    margin-right: 5px;
    font-weight: 500;
    color: white;
    transition: background-color 0.3s, color 0.3s;
}

.navbar .btn.signup:hover {
    background-color: white;
    color: black;
}

.navbar .nav-links {
    display: flex;
    padding: 0 10px;
}

/* PROFILE SECTION */
.profile-section {
    padding: 30px;
    background: #f4f4f4;
    font-family: "Segoe UI", sans-serif;
}

.profile-container {
    display: flex;
    flex-wrap: wrap;
    margin: 30px;


}



.sidebar {
    margin-left: 0;
   
    color: #060606;
   
    width: 100%;
    max-width: 400px;
    flex-shrink: 0;
    text-align: center;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.profile-pic {
    width: 250px;
    height: 250px;


    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.profile-pic:hover {
    transform: scale(1.05);
}

.edit-btn {
    display: inline-block;
    background: #0f0f0f;
    color: #fff;
    padding: 8px 16px;
    margin: 10px auto;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
    border: none;
}

.edit-btn:hover {
    background: #727374;
}

#uploadPic {
    display: none;
}

.sidebar h2 {
    font-size: 24px;
    margin-top: 10px;
}

.sidebar p {
    font-size: 16px;
    opacity: 0.85;
    margin: 10px 0;
}

.dark-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .sidebar {
        width: 100%;
        max-width: none;
    }
}




/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-radius: 16px 16px 0 0;
    }

    .main-content {
        padding: 20px;
    }
}



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {

    color: #333;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

/* Header */
.profile-header {
    text-align: center;
    margin-bottom: 40px;
}

.profile-header h1 {
    font-size: 36px;
    color: #222;
}

.profile-header p {
    font-size: 18px;
    color: #555;
}

/* Layout */
.main-content {
    display: flex;
    flex-wrap: wrap;
    /* Allows cards to wrap to the next line if space is insufficient */
    gap: 30px;
    /* Space between cards */
    justify-content: space-around;
    /* Adjust based on alignment needs */
}

/* Cards */
.profile-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-card h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #1d1d1d;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
}

/* Lists */
.detail-list {
    list-style: none;
    padding-left: 0;
    flex-grow: 1;
}

.detail-list li {
    padding: 8px 0;
    font-size: 16px;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.detail-list li::before {
    content: "✔";
    margin-right: 10px;
    font-size: 14px;
    color: #18a558;
}

/* Input & Buttons */
input[type="text"] {
    padding: 10px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin: 10px 0;
    font-size: 14px;
}

button {
    padding: 10px 14px;
    background-color: #000000;
    border: none;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #8c8d8d;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    background: #eee;
    height: 10px;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 5px;
}

.progress-bar-inner {
    height: 100%;
    background: #111212;
    width: 0%;
    transition: width 0.5s ease-in-out;
}

/* Certificate links */
a.certificate-link {
    color: #020202;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

a.certificate-link:hover {
    color: #808081;
}

/* footer CSS */
.footer {
    display: flex;
    flex-wrap: wrap;
    /* allow wrapping on smaller screens */
    align-items: flex-start;
    justify-content: space-around;
    background-color: black;
    color: white;
    padding: 20px;
    border-start-start-radius: 10px;
    border-start-end-radius: 10px;
    position: relative;
    padding-bottom: 60px;
    /* for space at bottom */
    gap: 20px;
    /* spacing between items */
}

/* Titles */
.footer h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* General links */
.footer a {
    color: white;
    text-decoration: none;
    margin: 5px 0;
}

.footer a:hover {
    color: #f0f0f0;
}

/* Social section */
.footer .social {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer .social h1 {
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
    text-align: center;
}

.footer .social svg {
    width: 36px;
    height: 36px;
    object-fit: cover;
    margin: 5px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid white;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer .social svg:hover {
    transform: scale(1.05);
    background-color: rgba(245, 244, 244, 0.466);
    border: 1px solid rgba(245, 244, 244, 0.466);
}

/* Contact section */
.footer .contact {
    display: flex;
    flex-direction: column;
}

.contact a {
    color: #b3b3b3;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
    color: white;
}

/* Form section */
.footer .form {
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
}

.footer .form input,
.footer .form textarea {
    border: none;
    outline: none;
    padding: 10px;
    margin: 5px 0;
    width: 220px;
    border-radius: 5px;
}

.footer .form button {
    border: none;
    outline: none;
    background-color: blue;
    color: white;
    padding: 10px;
    margin-top: 5px;
    width: 120px;
    cursor: pointer;
    border-radius: 5px;
}

.footer .form button:hover {
    background-color: white;
    color: blue;
}

/* Copyright text */
.footer .copy {
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    font-size: 14px;
}

/* RESPONSIVENESS */
@media screen and (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer .social,
    .footer .contact,
    .footer .form {
        width: 100%;
        align-items: center;
    }

    .footer .form input,
    .footer .form textarea {
        width: 80%;
    }

    .footer .form button {
        width: 60%;
    }

    .footer .copy {
        font-size: 12px;
        position: static;
        margin-top: 20px;
    }
}




#profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #555;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}