:root {
    --primary-color: #e23636;
    --primary-dark: #f38484;
    --primary-light: #e6f2ff;    
    --text-color: #ffffff;
    --heading-color: #e23636;
    --background-color: #000000;
    --white: #fff;
    --border-color: #ddd;
    --box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.2;
    color: var(--text-color);
    background-color: var(--background-color);
}
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4 {
    margin-bottom: 0.5rem;
    color: var(--heading-color);
    line-height: 1.2;
}

p {
    margin-bottom: 0.5rem;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block; 
}

header, main, footer {
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

main {
    display: flex;
    flex-wrap: wrap; 
    gap: 2rem; 
    padding: 2rem 1rem;
    min-height: 70vh; 
}

main section {
    flex: 1 1 300px; 
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem;
    background-color: var(--black);
    color: white;
    box-shadow: var(--box-shadow);
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
}

nav ul {
    display: flex;
    gap: 1.5rem;
}

nav a {
    padding: 0.5rem;
    font-weight: bold;
    color: var(--text-color);
    transition: all 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.menu {
    background-color: var(--primary-light);
    padding: 2rem;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
    align-self: flex-start; 
}
.cta-button:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}
.featured-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.content-box {
    background-color: rgb(67, 66, 66);
    padding: 1.2rem;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    flex: 1; 
    display: flex;
    flex-direction: column;
}
.profile {
    text-align: center;
    padding: 2rem;
    background-color: rgb(67, 66, 66);
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}
.profile-club {
    text-align: left;
    padding: 1rem;
    margin: 1rem;
    background-color: rgb(67, 66, 66);
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}

.bio ul {
    display: block;
    margin-top: 1.2em;
}

.ach-text {
    width: 100%;
    height: auto;
    display: block;
    background-color: #333;
    align-content: center;
}
.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-light);
}
.profile-pic img {
    border-radius: 50%;
}
.details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.details article {
    background-color: rgb(67, 66, 66);
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    flex: 1; 
}
.education h3 {
    line-height: 1em;
}
.experience li, .education li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}
.achievements {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color:#333;    
    border-radius: 10px;
        
}
.achievements img {
    width: 125px;
    height: auto;
}
.achievements p {
    margin: 1em;
}
.experience li:last-child, .education li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.contact-info {
    background-color: rgb(67, 66, 66);
    padding: 1rem;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
}
.contact-details {
    margin: 1rem 0;
}
.contact-item {
    margin-bottom: 1rem;
}
.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.social-icon {
    padding: 0.5rem;
    border-radius: 4px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    transition: all 0.3s ease;
}
.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
}
.contact-form {
    background-color: rgb(67, 66, 66);
    padding: 1rem;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}
.form-group {
    margin-bottom: 1rem;
}
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}
input, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-light);
}
.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.submit-btn:hover {
    background-color: var(--primary-dark);
}
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem;
    background-color: #333;
    color: var(--white);
    margin-top: 2rem;
}
footer p {
    margin: 0;
}
.social-links a {
    color: var(--white);
    margin-left: 1rem;
    transition: opacity 0.3s ease;
}
.social-links a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        margin-top: 1rem;
    }
    main {
        flex-direction: column;
        gap: 1.5rem;
    }
    footer {
        flex-direction: column;
        text-align: center;
    }
    .social-links {
        margin-top: 1rem;
    }
    .social-links a {
        margin: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    .profile-pic {
        width: 150px;
        height: 150px;
    }
    .cta-button {
        width: 100%;
        text-align: center;
    }   
    .contact-info, .contact-form {
        padding: 1.5rem;
    }
}
.club label, fieldset {
    padding: 0.5em;
}
.club legend {
    font-weight:bold;
    color: rgb(250, 6, 38);
    padding: 20px;
}
.club input[type="text"] {
  width: 90%;
  padding: 6px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 5px;
}

.club select {
    width: 95%;
    padding: 6px 10px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 5px;
}
.club input[type="checkbox"] {
    padding: 6px 10px;
    margin-bottom: 1em;
    margin-top: 1em;
}
  input[type="submit"] {
      background-color: rgb(253, 12, 28); 
      border: none;
      color: white;
      padding: 12px 10px;
      text-decoration: none;
      display: inline-block;
      font-size: 16px;
      margin: 4px 2px;
      cursor: pointer;
      border-radius: 5px;
    }
    input[type="reset"] {
      background-color: rgb(226, 60, 60); 
      border: none;
      color: white;
      padding: 12px 20px;
      text-decoration: none;
      display: inline-block;
      font-size: 16px;
      margin: 4px 2px;
      cursor: pointer;
      border-radius: 5px;
    }
    input[type="reset"]:hover {
        background-color: rgb(141, 39, 39);
        color: black;
    }
    input[type="submit"]:hover {
        background-color: rgb(158, 5, 5);
        color: black;
    }
    .club fieldset {
        margin: 15px;
        border-radius: 5px;
       }
    .club input[type="radio"],
.club input[type="checkbox"] {
    appearance: none; 
    -webkit-appearance: none; 
    -moz-appearance: none; 
    

    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden; 
    position: absolute; 
    clip: rect(0 0 0 0);
    white-space: nowrap;
}


.club label.custom-control { 
    display: inline-flex; 
    align-items: center;
    cursor: pointer;
    position: relative; 
    padding-left: 1.5em; 
    margin-right: 1.5em; 
    margin-bottom: 0.5em; 
    color: var(--text-color); 
    text-align: left; 
}


.club input[type="radio"] + label.custom-control::before {
    content: '';
    display: block;
    width: 1em; 
    height: 1em;
    border: 2px solid var(--primary-color); 
    border-radius: 50%; 
    background-color: transparent;
    position: absolute;
    left: 0; 
    top: 50%;
    transform: translateY(-50%); 
    transition: background-color 0.2s ease, border-color 0.2s ease;
}


.club input[type="radio"]:checked + label.custom-control::after {
    content: '';
    display: block;
    width: 0.5em;
    height: 0.5em;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 0.25em; 
    top: 50%;
    transform: translateY(-50%) scale(1); 
    transition: transform 0.2s ease;
}


.club input[type="radio"]:checked + label.custom-control::before {
    border-color: var(--primary-color);
    background-color: var(--primary-light); 
}



.club input[type="checkbox"] + label.custom-control::before {
    content: '';
    display: block;
    width: 1em;
    height: 1em;
    border: 2px solid var(--primary-color);
    border-radius: 3px; 
    background-color: transparent; 
    position: absolute;
    left: 0; 
    top: 50%;
    transform: translateY(-50%); 
    transition: background-color 0.2s ease, border-color 0.2s ease;
}


.club input[type="checkbox"]:checked + label.custom-control::after {
    content: '\2713'; 
    display: block;
    font-size: 0.8em; 
    color: var(--white); 
    background-color: var(--primary-color); 
    position: absolute;
    left: 0; 
    top: 50%;
    transform: translateY(-50%);
    width: 1em; 
    height: 1em;
    border-radius: 3px;
    text-align: center;
    line-height: 1em; 
}

.club label {
    display: inline;
    font-weight: normal;
    margin-bottom: 0;
}


.profile-club p {
    margin-bottom: 1em;
}


.club input[type="text"]#fullName {
    margin-top: 0.5rem; 
    margin-bottom: 1rem;
}


.club br {
    display: none;
}


.club fieldset legend {
    text-align: left;
    margin-bottom: 1em; 
    display: block; 
    width: 100%; 
}


.club label {
    text-align: left;
    display: block; 
    margin-bottom: 0.5rem;
}


.club fieldset {
    margin: 15px 0; 
}


.club input[type="text"] {
    width: 100%;
}


.club select {
    width: 100%;
}

.club input[type="submit"],
.club input[type="reset"] {
    display: inline-block; 
    margin-right: 10px; 
    margin-top: 15px; 
}
.club legend {
    background-color: var(--background-color); 
    padding: 0 10px; 
    
}