/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #fefefe;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

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

/* Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #034a66;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.page-header nav ul {
    display: flex;
    gap: 1.5rem;
}

.page-header nav a {
    color: #fff;
    font-weight: 600;
    transition: color 0.3s;
}

.page-header nav a:hover {
    color: #00e676;
}

/* Hero */
.page-title {
    font-size: 3rem;
    text-align: center;
    margin-top: 2rem;
    color: #1b1b1b;
    margin-bottom: 60px;
}

/* Sections */
section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Club Cards */
section ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

section ul li {
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1rem;
    flex: 1 1 300px;
    max-width: 340px;
    transition: transform 0.3s, box-shadow 0.3s;
}

section ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

section ul li h3 {
    margin: 1rem 0 0.5rem;
    font-size: 1.3rem;
    color: #00796b;
}

section ul li a {
    display: inline-block;
    margin-top: 1rem;
    color: #00bfa5;
    font-weight: bold;
}

.link {
    display: inline-block;
    margin-bottom: 1rem;
    color: #00796b;
    transition: color 0.3s;
    padding: 0px;
}

.link:hover {
    color: #004d40;
}

/* Ordered List */
ol {
    padding-left: 1.5rem;
}

ol li {
    margin-bottom: 0.8rem;
}

/* Address & Contact */
address {
    margin: 2rem 0;
    font-style: normal;
    line-height: 1.5;
}

address a {
    color: blue;
    text-decoration: underline;
}

/* Button */
button {
    padding: 0.75rem 1.5rem;
    background-color: #00e676;
    border: none;
    border-radius: 25px;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #00c853;
}

/* Downloads Section */
.downloads {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Footer */
.page-footer {
    background-color: #111;
    color: #ccc;
    padding: 2rem;
    text-align: center;
}

.page-footer ul {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.page-footer img {
    transition: transform 0.3s;
}

.page-footer img:hover {
    transform: scale(1.1);
}

.copyright-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.cert-image {
    width: 160px;
    transition: transform 0.3s ease-in-out;
}

.cert-image:hover {
    transform: scale(3);
}

.projects {
    display: flex;
    margin: 5px 0;
    text-decoration: none;
    color: #007acc;
    justify-content: space-between;
}

.social-media {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

details {
    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 5px;
}

summary {
    font-weight: bold;
    cursor: pointer;
}

.details-container {
    display: flex;
    gap: 20px;
    justify-content: space-around;
}

.links a {
    text-decoration: none;
    color: rgb(7, 46, 173);
    font-weight: 600;
    transition: color 0.3s ease;
    margin-bottom: 10px;
    display: inline-block;
    margin-top: 15px;
}

.links a:hover {
    color: rgb(184, 20, 8);
}

.footer-icon {
    filter: invert(1);
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 1rem;
    }

    section ul {
        flex-direction: column;
        align-items: center;
    }

    .downloads {
        align-items: center;
    }

    .projects {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
    }

    .page-header a img {
        width: 30px;
        height: 30px;
        margin-bottom: 10px;
    }

    .page-header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .page-header nav a {
        font-size: 0.95rem;
    }

    .section-title,
    .page-title {
        font-size: 1.5rem;
    }

    .section-text {
        font-size: 1rem;
    }

    body {
        padding: 0 10px;
    }

    .social-media {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }

    .social-media li {
        padding: 10px;
        background-color: #f9f9f9;
        border-radius: 10px;
    }

    .social-media details summary {
        font-weight: bold;
        cursor: pointer;
    }

    .social-media a {
        display: block;
        margin: 5px 0;
        word-break: break-word;
    }
}