/* Global Styles */
:root {
    --primary-color: #065b0b;
    --secondary-color: #097c1c;
    --accent-color: #2cb475;
    --text-color: #333;
    --light-gray: #f4f4f4;
    --medium-gray: #ddd;
    --dark-gray: #666;
    --card-shadow: 0 4px 8px rgb(29, 117, 68);
    --hover-shadow: 0 8px 16px rgba(39, 108, 51, 0.887);
    --border-radius: 8px;
}

* {
    font-family: 'Arial', sans-serif;
}

body {
    background-image:url('Images/user-profile_background.jpg');
    color: var(--text-color);
    line-height: 1.6;
    margin-top: 100px;;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 15px 0;
}

.main-menu li {
    margin: 0 15px;
}

.main-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-menu a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.main-menu a.active {
    background-color: var(--primary-color);
    color: white;
}

/* Card Styles */
.card {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
    text-align: center;
}

/* Profile Card Styles */
.profile-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 20px;
}

.profile-header {
    display: flex;
    align-items: center;
}

.avatar-container {
    margin-right: 30px;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-color);
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05);
}

.user-info h1 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.user-info .title {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    text-decoration: none;
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-color);
}

/* Skills Section */
.skills-card {
    background-color: #fff;
}

.skill {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.skill-name {
    flex: 1;
    margin-right: 10px;
}

/* Progress bar section */
.progress-bar {
    flex: 2;
    height: 10px;
    background-color: var(--medium-gray);
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
}

.percentage {
    margin-left: 10px;
    color: var(--dark-gray);
    font-weight: bold;
    width: 40px;
    text-align: right;
}

.experience-list {
    list-style: none;
}

.experience-list li {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.experience-list h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* UN Goals Sections */
sdg-support-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.sdg-box {
    background-color: #ffffff; /* Solid white background */
    border: 2px solid #b0e0e6;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.sdg-box:hover {
    transform: translateY(-10px);
}

.sdg-box .goal-icon {
    display: block;
    margin: 0 auto 10px;
}

.sdg-box h3 {
    font-size: 1.2em;
    margin: 10px 0;
    color: #333;
}

.sdg-box p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
}


/*Experience Container */
.experience-container {
    width: 80%;
    max-width: 800px;
    margin: 20px auto;
    text-align: left;
}

/* Section Title */
.experience-container h2 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 20px;
    color: #f4f4f4;
}

/* Experience Card */
.experience-card {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

/* Hover Effect */
.experience-card:hover {
    transform: scale(1.02);
}

/* Job Title */
.experience-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #2c3e50;
}

/* Job Details */
.experience-card p {
    font-size: 14px;
    color: #555;
    margin: 5px 0;
}

.sdg-box {
    background-color: #ffffff; /* White background */
    border: 2px solid #548563; /* Light blue border */
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover Effect */
.sdg-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* SDG Icon Styling */
.sdg-box .goal-icon {
    display: block;
    margin: 0 auto 10px;
    max-width: 80px;
}

/* SDG Title */
.sdg-box h3 {
    font-size: 1.2em;
    margin: 10px 0;
    color: #2c3e50;
}

/* SDG Description */
.sdg-box p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
}

.activities-section {
    padding: 20px;
}
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
}
.activity-card {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(4, 137, 73, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 200px;
}
.activity-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.activity-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
}
.activity-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}
.activity-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}
.card-calendar-section {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(2, 68, 20, 0.1);
    padding: 25px;
    max-width: 1500px;
    margin: 0 auto;
    margin-top: 40px;
}

.card-calender-section h2 {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

th, td {
    padding: 15px 20px;
    text-align: center;
    font-size: 16px;
    border-radius: 10px;
    font-weight: normal;
    transition: all 0.3s ease;
}

/* Table header style */
th {
    background-color: #044804;
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

/* Available slots style */
.available {
    background-color: #a5d9b5;
    color: #04542b;
    font-weight: bold;
}

/* Unavailable slots style */
.unavailable {
    background-color: #ffebee;
    font-weight: bold;
}

/* Hover effect for table cells */
td:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* Responsive design */
@media (max-width: 768px) {
    table {
        font-size: 14px;
    }

    th, td {
        padding: 10px 15px;
    }
}

.contact-section {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
}

.contact-section h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 24px;
    font-weight: 600;
    
}

/* Form Styling */
.contact-form {
    display: grid;
    gap: 15px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Group Styling */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 16px;
    color: #555;
    font-weight: 600;
}

/* Input & Textarea Styling */
input, textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
    transition: border 0.3s ease-in-out;
}

input:focus, textarea:focus {
    outline: none;
    border: 1px solid #4CAF50;
}

/* Placeholder text style */
input::placeholder, textarea::placeholder {
    color: #888;
}

/* Submit Button Styling */
.submit-btn {
    background-color: #032e15;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #45a049;
}

.submit-btn:active {
    background-color: #3e8e41;
}

/* Responsive Design for Mobile Devices */
@media (max-width: 768px) {
    .contact-section {
        padding: 20px;
    }
    .contact-form {
        width: 100%;
        gap: 10px;
    }
}