/* General Body Styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

/* Main Heading */
h1 {
    text-align: center;
    font-size: 3em;
    color: #ffffff;
    margin: 30px 0;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Section Headings */
h2 {
    font-size: 2.2em;
    color: #4a9eff;
    border-bottom: 3px solid #4a9eff;
    padding-bottom: 10px;
    margin: 40px 0 20px 0;
    font-weight: 600;
}

/* Activity Headings */
h3 {
    font-size: 1.5em;
    color: #6db3ff;
    margin: 0 0 10px 0;
    font-weight: 600;
}

/* Paragraph Styling */
p {
    font-size: 1.1em;
    color: #d0d0d0;
    margin: 10px 0;
    text-align: justify;
}

/* Profile Table */
.profile-table {
    width: 80%;
    max-width: 1000px;
    margin: 40px auto;
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.profile-table td {
    padding: 30px;
    vertical-align: middle;
}

.profile-image {
    text-align: center;
    width: 40%;
}

.profile-image img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.profile-info {
    width: 60%;
}

.profile-info p {
    font-size: 1.3em;
    margin: 15px 0;
    color: #e0e0e0;
}

.profile-info strong {
    color: #4a9eff;
}

/* Bio Section */
.bio {
    width: 80%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background-color: #2a2a2a;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Activities Section */
.activities {
    width: 80%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background-color: #2a2a2a;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Activities Table */
.activities-table {
    width: 100%;
    margin: 20px 0;
    border-spacing: 0;
}

.activities-table tr {
    background-color: #333333;
    margin-bottom: 20px;
    display: table;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.activities-table tr + tr {
    margin-top: 30px;
}

.activities-table td {
    padding: 25px;
    vertical-align: top;
}

.activity-image {
    width: 35%;
    text-align: center;
}

.activity-image img {
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.activity-content {
    width: 65%;
    padding-left: 30px;
}

.activity-content p {
    font-size: 1.05em;
    color: #d0d0d0;
    margin: 15px 0;
}

/* Links Styling */
a {
    color: #4a9eff;
    text-decoration: none;
    font-weight: 600;
}

a:visited {
    color: #6db3ff;
}

.activity-links {
    margin-top: 15px;
    font-size: 1.05em;
}

.activity-links a {
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    .profile-table,
    .bio,
    .activities {
        width: 95%;
        padding: 15px;
    }
    
    .profile-table td {
        display: block;
        width: 100% !important;
        padding: 15px;
        text-align: center;
    }
    
    .activities-table tr,
    .activities-table td {
        display: block;
        width: 100% !important;
        text-align: center;
    }
    
    .activity-content {
        padding-left: 0;
        margin-top: 15px;
    }
}