* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



/* Body Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f3f2f2;
    color: #333;
}

/* Header Styles */
header {
    background-color: #000080;
    color: #fff;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin-bottom: 10px;
    font-family: Raleway;
}

header img{
    width:150px;
    height:150px;
}

.logos{
    display:flex;
    margin:0, auto;
    align-items: center;
    justify-content: center;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline;
    margin: 0 35px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}



/* Style for the photo gallery section */
#gallery {
    padding: 20px;
}

#gallery h2 {
    text-align: center;
    margin-bottom: 20px;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.photo-gallery img {
    width: 100%;           /* Take the full width of the container */
    height: 800px;         /* Set a taller height for a poster look */
    object-fit: cover;     /* Maintain aspect ratio, crop if necessary */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.photo-gallery img:hover {
    transform: scale(1.1);
}


a[href="#gallery"] {
    display: block;
    text-align: center;
    margin-top: 20px;
    text-decoration: none;
    color: #333;
    border: 2px solid #333;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

a[href="#gallery"]:hover {
    background-color: #333;
    color: #fff;
}

/* Main Content Styles */
main {
    padding: 20px;
}

section {
    margin-bottom: 30px;
}

section h2 {
    margin-bottom: 10px;
    text-align: center;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.profile-info p {
    text-indent: 1.5cm;
}
section p {
    margin-bottom: 20px;

}

section a {
    display: inline-block;
    padding: 5px 10px;
    border: 2px solid white;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s ease;
    background-color: #3333cc;
}

a:hover {
    text-decoration: underline;
}

#achievements {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

#achievements h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

#achievements p {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
}

#achievements ul {
    padding: 0;
}

#achievements ul li {
    margin-bottom: 10px;
    color: #333;
}

#achievements a {
    margin-top: 10px;
}

#contact {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
}

#contact h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

#contact p {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
}

#contact a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}


/* Footer Styles */
footer {
    background-color: #000080;
    color: #fff;
    text-align: center;
    /* padding: 100px 0; */

    width: 100%;
    position: relative;
    padding: 0;
    margin: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    position: relative;
}

.footer-brand {
    grid-column: 1;
    justify-self: start;
}

.footer-links {
    grid-column: 2;
    justify-self: center;
    text-align: left;
    position: relative;
    left: 50px;
}

.footer-connect {
    grid-column: 3;
    justify-self: center;
    text-align: left;
}

.footer-bottom {
    padding: 0 20px 20px;
    height: 3rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    max-width: 250px;
    height: auto;
}

.footer-tagline{
    font-size:1rem;
    margin-bottom:20px;
}

.footer-section ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-section li{
    line-height:2.5;
}

.footer-section a {
color: #fff;
text-decoration: none;
transition:color 0.3s ease;
}

.footer-section a:hover{
    color:#ccc;
}

.footer-section a{
    text-decoration:none;
    font-size:1rem;
}

.footer-copyright{
    margin-top:30px;
    font-size:1rem;
    line-height:1.5;
    text-align:center;
}

/*Profile Page Design*/

#personal-info {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
    /* line-height: 2.5; */
}

#personal-info h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.personal-details {
    display: flex;
    align-items: center;
}

.info {
    flex: 1;
}

.info ul{
    /* list-style-type:none; */
    margin-left:12.5px;
    padding:0;
}

.info ul li{
    margin-bottom:15px;
    font-size:16px;
    line-height:1.6;
}

.image {
    /* margin-left: 20px; Adjust the spacing between the information and the image */
    flex:1;
    text-align:right;
}

.image img {
    max-width: 45%; /* Ensure the image does not exceed the container width */
    height: auto;
}

#profile {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

#profile h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.profile-info {
    display: flex;
    justify-content: space-between;
}

.profile-info .career-highlights,
.profile-info .international-success {
    width: 48%;
    line-height: 2;
}

.profile-info h3 {
    color: #333;
    margin-bottom: 10px;
}

.profile-info p {
    color: #666;
    line-height: 1.5;
}

#quotes {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

#quotes h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.quote {
    margin-bottom: 20px;
}

blockquote {
    font-style: italic;
    padding: 10px;
    background-color: #fff;
    border-left: 4px solid #333;
}

blockquote p {
    margin-bottom: 10px;
}

cite {
    display: block;
    margin-top: 10px;
    text-align: right;
    color: #666;
}

cite:before {
    content: "- ";
}

#club-achievements {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

#club-achievements h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

#club-achievements p {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
}

.achievement {
    margin-bottom: 20px;
}

.achievement h3 {
    color: #333;
    margin-bottom: 10px;
}

.achievement ul {
    list-style-type: none;
    padding-left: 0;
}

.achievement ul li {
    color: #666;
    margin-bottom: 10px;
}

.badge {
    background-color: #007bff;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 5px;
}

#international-achievements {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

#international-achievements h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

#international-achievements p {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
}

.achievement {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.achievement h3 {
    color: #333;
    margin-bottom: 10px;
}

.achievement p {
    color: #666;
    line-height: 1.6;
}

.images {
    display: flex;
    justify-content: center;
}

.images img {
    width: 200px;
    border-radius: 5%;
    margin: 0 10px;
    transition: transform 0.3s ease-in-out;
}

.images img:hover {
    transform: scale(1.1);
}

#records {
    padding: 20px;
    margin-bottom: 30px;
}

#records h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

#records p {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
}

.record {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.record h3 {
    color: #333;
    margin-bottom: 10px;
}

.record p {
    color: #666;
    line-height: 1.6;
}

#impact-legacy {
    background-color: #f9f9f9;
    padding: 40px 20px;
    border-radius: 15px;
    margin-bottom: 40px;
}

#impact-legacy h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

#impact-legacy p {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.legacy-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.legacy-quote {
    flex: 1;
    margin-right: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center horizontally and vertically */
}

blockquote {
    font-style: italic;
    color: #333;
    text-align: center;
    max-width: 80%; /* Limit the width of the blockquote */
    margin: 0 auto; /* Center horizontally */
}


cite {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #666;
    text-align: right;
}

.legacy-image {
    flex: 1;
    position: relative;
}

.legacy-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    color: #333;
    width: 80%;
}

#featured-images {
    text-align: center;
    margin-bottom: 30px;
}

#featured-images h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.image-container {
    display: flex;
    justify-content: center;
}

.image-container img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Displaying images in a 2x2 grid */
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    opacity: 0.8;
}

.overlay h3 {
    margin: 0;
    font-size: 16px;
}

.contact-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="radio"],
input[type="checkbox"] {
    margin-right: 5px;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.gender-group, .interest-group {
    margin-bottom: 15px;
}

.radio-group, .checkbox-group {
    display: inline-block;
    margin-right: 20px;
}

.radio-group input[type="radio"], .checkbox-group input[type="checkbox"] {
    display: none;
}

.radio-group label, .checkbox-group label {
    display: inline-block;
    position: relative;
    padding-left: 25px;
    margin-right: 10px;
    cursor: pointer;
}

.radio-group label::before, .checkbox-group label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #007bff;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 1px;
}

.radio-group input[type="radio"]:checked + label::before, .checkbox-group input[type="checkbox"]:checked + label::before {
    background-color: #007bff;
}

#video {
    text-align: center;
}

.video-container {
    display: inline-block;
    margin-top: 20px; /* Adjust as needed */
}

.section-description {
    margin-bottom: 20px; /* Adjust spacing as needed */
    color: #333; /* Change text color */
    font-size: 16px; /* Change font size */
    line-height: 1.5; /* Adjust line height */
    text-align: center;
}

/*family*/


.family-profile {
    max-width: 1000px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
}

.member-card {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.member-card:hover {
    transform: scale(1.02);
}

.member-photo {
    width: 300px;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-info h3 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #333;
}

.member-info ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 10px;
}

.member-info ul li {
    font-size: 16px;
    color: #555;
    margin-bottom: 6px;
}

.member-info p {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
    .footer__container {
      grid-template-columns: 1fr 1fr;
    }

    .footer__brand {
      grid-column: 1 / -1;
      margin-bottom: 2rem;
    }

    .footer__links {
      grid-column: 1;
      justify-self: center;
    }

    .footer__related {
      grid-column: 2;
      justify-self: center;
    }
  }


@media (max-width: 768px) {
    .member-card {
        flex-direction: column;
        align-items: center;
    }

    .member-photo {
        width: 100%;
        height: 250px;
    }

    .member-info {
        text-align: center;
    }

    .member-info ul {
        padding-left: 0;
    }
    .footer-container {
      grid-template-columns: 1fr;
      padding-top: 3rem;
    }

    .footer-brand,
    .footer-links,
    .footer-related {
      grid-column: 1;
      justify-self: center;
      margin-bottom: 2rem;
      width: 100%;
      max-width: 250px;
    }

    .footer-bottom {
      height: auto;
      padding-bottom: 2rem;
    }
}

/* ================== Enhanced News Page Styles ================== */

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    background-color: #f5f5f5;
}

.news-container h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.8em;
    color: #222;
    font-weight: 700;
    border-bottom: 4px solid #cfcfcf;
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}


.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Always 2 columns */
    gap: 30px;
}

.news-card {
    background-color: #ffffff; /* White background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover img {
    transform: scale(1.03);
}

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-title {
    font-size: 1.5em;
    color: #222;
    font-weight: 600;
}

.news-date {
    font-size: 0.95em;
    color: #777;
}

.news-description {
    font-size: 1em;
    color: #444;
    line-height: 1.6;
}

/* Responsive - stack cards on smaller screens */
@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card img {
        height: 200px;
    }
}

/* General reset for links */
a {
    text-decoration: none; /* Removes underline */
    color: inherit; /* Inherits the color from its parent element */
}

/* Style for the 'Read more' link */
.read-more {
    display: inline-block;
    padding: 10px;
    background-color: white; /* Set the background to white */
    color: #007BFF; /* Blue text color for the link */
    border: 1px solid #007BFF; /* Optional: Add a border to the 'Read more' button */
    border-radius: 5px; /* Optional: Rounded corners */
    text-align: center;
    margin-top: 10px;
}

/* Remove any background color when hovering over the link */
.read-more:hover {
    background-color: #f1f1f1; /* Light grey background on hover */
}

.news-source {
    font-size: 0.9rem; /* Smaller text size */
    color: #666; /* Light grey color */
    margin-top: 5px; /* Small space from the 'Read more' link */
    font-style: italic; /* Optional: to give it a subtle look */
}

/* Improved but minimal table styling */
#goal-statistics {
    margin-top: 40px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

#goal-statistics h2 {
    font-size: 1.8rem;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

#goal-statistics p {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: #f2f2f2;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

tr:hover {
    background-color: #fafafa;
    transition: background-color 0.2s ease;
}

td {
    color: #555;
}

/* Style for the total row */
tr:last-child {
    background-color: #f9f9f9;
    font-weight: bold;
}

/* =====career stat==== */
/* profile-stats.css */

#career-stats table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1em;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

#career-stats table thead {
    background-color: #333;
    color: #fff;
}

#career-stats table th, #career-stats table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
}

#career-stats table tbody tr:nth-child(even) {
    background-color: #e9e9e9;
}

#career-stats table tbody tr:hover {
    background-color: #dcdcdc;
}

#career-stats table th {
    font-weight: bold;
}

#career-stats table td {
    font-weight: normal;
}

#career-stats table caption {
    margin: 10px 0;
    font-size: 1.2em;
    font-weight: bold;
}


/* ===== FAQ ====*/ 

.faq-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
}

.faq-item {
    margin: 20px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    color: black;
    border: 2px solid black;
    border-radius: 5px;
    padding: 20px;
    width: 100%;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-align: left; /* Prevent centering */
}

.faq-question span {
    text-align: left; /* Ensures text inside button stays left-aligned */
    flex-grow: 1;      /* Allows the text to take available space before arrow */
    margin-right: 10px; /* Adds spacing between text and arrow */
}

.faq-question.active {
    background-color: #007BFF;
    color: white;
}

.faq-answer {
    display: none;
    padding: 20px;
    background-color: #f1f1f1;
    border: 2px solid black;
    margin-top: 5px;
    font-size: 1.1em; /* Increased from default for better readability */
    line-height: 1.6;
}

.faq-answer.active {
    display: block;
}

.arrow {
    transition: transform 0.3s ease;
    font-size: 1.2em; /* Optional: makes arrow a bit bigger */
}

.arrow.rotate {
    transform: rotate(90deg);
}

.faq-container h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2); /* Faint line */
}


