/* --- GENERAL STYLES (Applies to all pages) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: url("../images/mission.png") no-repeat center center fixed;
    background-size: cover;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 75px; /* Adjusts for fixed navbar */
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* --- NAVBAR (Consistent across all pages) --- */
.navbar {
    width: 100%;
    height: 75px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.9); /* Dark background for readability */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.navbar-logo img {
    height: 100px;
    width: auto;
}

.menu ul {
    display: flex;
    gap: 30px;
}

.menu ul li a {
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.menu ul li a:hover {
    color: #fcc201; /* Gold */
}

/* --- HAMBURGER BUTTON (Mobile) --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease-in-out;
}

/* --- HERO/BANNER (Used on Index and Support) --- */
.hero, .hero-banner {
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 40px 20px;
}

.hero-content h1, .hero-text h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero-content .par, .hero-text p {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

/* --- BUTTONS (Consistent) --- */
.cn {
    display: inline-block;
    padding: 15px 30px;
    background: #800000; /* Maroon */
    color: white;
    border-radius: 10px;
    font-weight: bold;
    border: none;
    text-align: center;
}

.cn:hover {
    background: #fcc201; /* Gold */
    color: black;
    transform: translateY(-3px);
}

/* --- CONTENT SECTIONS (Index, About, Support) --- */
.services-section, .team-section, .testimonials {
    text-align: center;
    padding: 60px 20px;
    background-color: rgba(255, 255, 255, 0.05); /* Subtle contrast */
}

.services-cards, .team-cards, .testimonial-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.card, .team-card {
    background: white;
    color: black;
    padding: 30px;
    width: 300px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.card:hover, .team-card:hover {
    transform: translateY(-10px);
}

.card h3, .team-card h3 {
    color: #800000;
    margin-bottom: 10px;
}

/* --- ABOUT SPECIFIC --- */
.about-main {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
}

.about-container {
    max-width: 800px;
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.about-container h1 {
    margin-bottom: 20px;
}

.about-container p {
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* --- CONNECT PAGE SPECIFIC --- */
.connect-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
}

.connect-form-section {
    background: rgba(0, 0, 0, 0.7); /* Dark semi-transparent box */
    color: white;
    max-width: 600px;
    width: 100%;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    text-align: center;
}

.connect-form-section h2 {
    color: #fcc201; /* Gold */
    margin-bottom: 10px;
}

.connect-form-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.connect-form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.connect-form label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #fcc201;
}

.connect-form input,
.connect-form select,
.connect-form textarea {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, 0.9);
    font-family: Arial, sans-serif;
}

.connect-form textarea {
    height: 100px;
    resize: vertical;
}

.btn-connect {
    padding: 15px;
    background: #800000; /* Maroon */
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-connect:hover {
    background: #fcc201; /* Gold */
    color: black;
}

/* --- TESTIMONIALS SPECIFIC --- */
.testimonials {
    background: #fff0f0;
    color: #333;
}

.testimonial {
    max-width: 600px;
    font-style: italic;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.testimonial span {
    font-weight: bold;
    color: #800000;
    display: block;
    margin-top: 10px;
}

/* --- CONTACT SPECIFIC --- */
.contact-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
}

.contact-box {
    background-color: #800000; /* Maroon background */
    color: #ffd700; /* Gold text */
    max-width: 700px;
    width: 100%;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    text-align: center;
}

.contact-box h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-box .par {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: white;
}

.contact-box p {
    font-size: 1.1rem;
    margin: 10px 0;
}

/* --- CALL TO ACTION SECTION --- */
.cta-section {
    display: flex;
    justify-content: center; /* Centers button horizontally */
    align-items: center;
    padding: 40px 20px;
    background-color: rgba(0, 0, 0, 0.05); /* Subtle contrast */
    margin-top: 20px; /* Space above the section */
}

/* --- THANK YOU PAGE SPECIFIC --- */
.thankyou-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    text-align: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6); /* Dark semi-transparent box */
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.thankyou-message h1 {
    color: #fcc201; /* Gold */
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.thankyou-message p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* The button uses the .btn-connect class from the connect page for consistency */

/* --- FOOTER (Consistent across all pages) --- */
footer {
    background-color: #800000;
    color: white;
    padding: 50px 20px;
    text-align: center;
    margin-top: auto; /* Pushes footer to bottom */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #fcc201;
}

.footer-icons a {
    color: #fcc201;
    font-size: 24px;
    margin: 0 10px;
}

.footer-icons a:hover {
    color: white;
}

/* --- FLOATING BUTTON (Index & Connect) --- */
.fab-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #800000;
    color: white;
    padding: 15px;
    border-radius: 50%;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 200;
}

/* --- RESPONSIVENESS (Mobile) --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .menu {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 20px;
    }

    .menu.active {
        display: block;
    }

    .menu ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Hamburger Animation */
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-content h1, .hero-text h1 {
        font-size: 2em;
    }
    
    .about-container, .contact-box {
        padding: 20px;
    }
}