/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Body Styling */
body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Container */
.container {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: fit-content;
    margin: auto;
}

/* Header Styling */
header {
    background-color: #34708D; /* Deep blue */
    color: white;
    padding: 1rem 0;
    border-bottom: 4px solid #f5bf42; /* Gold accent */
}

header .university-logo,
header .club-logo {
    height: 60px;
}

header .club-name {
    text-align: center;
    flex-grow: 1;
}

header .club-name h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

header .club-name p {
    font-size: 1rem;
    font-weight: lighter;
}

/* Navigation Menu */
nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav ul li {
    text-transform: uppercase;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav ul li a.active,
nav ul li a:hover {
    color: #f5bf42; /* Gold accent */
}

/* Hero Section */
.hero {
    text-align: center;
    background: url('../Images/alqisc_members1.JPG') no-repeat center center/cover;
    color: white;
    padding: 4rem 2rem;
    position: relative;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero .btn {
    background-color: #f5bf42; /* Gold */
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hero .btn:hover {
    background-color: #d4a531;
}

/* Gallery Section */
.gallery-section {
    padding: 2rem;
    text-align: center;
    background-color: #f4f4f4;
}

.gallery-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.carousel-container {
    position: relative;
    max-width: 90%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.carousel-item {
    min-width: 300px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: auto;
}

.carousel-item p {
    padding: 0.5rem;
    font-weight: bold;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Events Section */
.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.event-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.event-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #34708D;
}

.event-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.event-card .btn {
    background-color: #34708D;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 4px;
    display: inline-block;
}

.event-card .btn:hover {
    background-color: #34708D;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #34708D;
    color: white;
    margin-top: 2rem;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #f5bf42;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 0.75rem;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.3s;
}

.scroll-top-btn:hover {
    background-color: #d4a531;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: center;
    }

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

    .hero h2 {
        font-size: 2rem;
    }

    .carousel {
        gap: 0.5rem;
    }
}







/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #34708D;
    color: white;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
}

header .logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 20px;
}

header img.logo {
    width: 80px;
    height: auto;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
    margin-right: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

header nav ul li a.active, 
header nav ul li a:hover {
    background-color: #f7b801;
    color: #34708D;
}

/* Main Content */
main.contact-us {
    padding: 2rem;
    text-align: center;
    background-color: #f5f5f5;
}

main h1 {
    color: #34708D;
    margin-bottom: 1rem;
}

main p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

/* Contact Form */
.contact-form {
    flex: 1 1 300px;
    max-width: 400px;
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    margin-bottom: 1rem;
    color: #34708D;
}

.contact-form label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button.submit-btn {
    background-color: #34708D;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.contact-form button.submit-btn:hover {
    background-color: #f7b801;
    color: #34708D;
}

/* Contact Info */
.contact-info {
    flex: 1 1 300px;
    max-width: 400px;
    text-align: left;
}

.contact-info h2 {
    color: #34708D;
}

.contact-info p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.contact-info img.campus-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.contact-info .social-links a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #34708D;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.contact-info .social-links a:hover {
    color: #f7b801;
}

.contact-info .social-links img {
    width: 20px;
    height: auto;
    margin-right: 0.5rem;
}

/* Footer */
footer {
    background-color: #34708D;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

footer p {
    margin: 0;
}

/* Scroll-to-Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #34708D;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#scrollTopBtn:hover {
    background-color: #f7b801;
    color: #34708D;
}

/* Classes section */
.classes {
    padding: 20px;
    text-align: center;
}

.intro-text {
    font-size: 1.2em;
    margin: 10px 0 20px;
    color: #555;
}

.class-cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.class-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.class-card h3 {
    color: #002147;
}

.schedule {
    font-weight: bold;
    color: #555;
}

.enroll-btn {
    display: inline-block;
    background: #002147;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.enroll-btn:hover {
    background: #f0a500;
}

/* Class image */
.class-img {
    max-width: 100%;
    border-radius: 10px;
    margin-top: 20px;
}

