/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #fbffed;
    color: #333;
    line-height: 1.6;
}

/* Navbar */
header {
    background-color: #fff;
    padding: 15px 30px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Flexbox navbar to separate logo & menu */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensures separation */
}

/* Logo Container */
.logo-container {
    flex: 0 0 auto; /* Prevents resizing */
}

.logo {
    max-height: 50px;
    width: auto;
}

/* Navigation */
.nav-links {
    list-style: none;
    display: flex;
    margin-right: 30px;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    transition: 0.3s;
}

.nav-links a:hover {
    background-color: #5d713c;
    color: white;
    border-radius: 30px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 20px;
}

.hamburger span {
    background-color: #333;
    height: 3px;
    width: 25px;
    margin: 5px 0;
    border-radius: 3px;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Fullscreen Slideshow */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover; /* Stretches image to cover the full screen */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Transparent Content Box */
.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8); /* Slight transparency for readability */
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    max-width: 500px;
    width: 80%;
    z-index: 10; /* Ensures it's above the slideshow */
}


.hero-content {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    text-align: center;
    border-radius: 20px;
    max-width: 500px;
    width: 80%;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: #5d713c;
}

.hero-content p {
    font-size: 1.2rem;
    color: #333;
}

/* Progress Bar */
.progress-container {
    margin-top: 15px;
    background: #ddd;
    border-radius: 10px;
    width: 100%;
    height: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 60%;
    background: #be6328;
    text-align: center;
    color: white;
    line-height: 20px;
    font-size: 0.9rem;
    border-radius: 10px;
}

/* Content Sections */
/* Section Styling */
.section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 400px; /* Ensures consistent height */
}

/* Alternating background colors */
.section:nth-child(even) {
    background: #f7f7f7;
}
.section:nth-child(odd) {
    background: #ffffff;
}

/* Card Style */
.section-container {
    background: #fff; /* White cards */
    padding: 40px;
    border-radius: 15px; /* Smooth rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Soft shadow for card effect */
    max-width: 800px;
    width: 90%;
    transition: transform 0.3s ease-in-out;
}

/* Hover Effect */
.section-container:hover {
    transform: translateY(-5px); /* Slight lift effect on hover */
}

.join-buttons {
    text-align: center;
    margin: 20px 0;
}

.join-buttons .btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 1em;
    font-weight: bold;
    color: white;
    background-color: #9f9831;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin: 10px;
}

.join-buttons .btn:hover {
    background-color: #bf6f27;
}

.join-buttons .btn-outline {
    background-color: transparent;
    color: #bf6f27;
    border: 2px solid #bf6f27;
}

.join-buttons .btn-outline:hover {
    background-color: #bf6f27;
    color: white;
}

.welcome-message {
    text-align: center;
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 20px;
    color: #4d4d4d;
}

.join-footer {
    text-align: center;
    font-size: 1em;
    color: #666;
    margin-top: 20px;
}


/* Heading and Text Styling */
.section-container h2 {
    color: #5d713c;
    font-size: 2rem;
    margin-bottom: 15px;
}

.section-container p {
    font-size: 1.1rem;
    color: #333;
}

.security-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.security-img {
    width: 45%;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.security-footer {
    text-align: center;
    font-weight: bold;
    margin-top: 20px;
}

/* Security Section */
.security-grid {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.security-grid img {
    width: 40%;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.security-text {
    width: 60%;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
    .security-grid {
        flex-direction: column; /* Stack image above text */
        text-align: center;
    }

    .security-grid img {
        width: 100%; /* Full width on mobile */
    }

    .security-text {
        width: 100%;
        text-align: center;
    }
}

.security-buttons {
    text-align: center;
    margin: 20px 0;
}

.security-buttons .btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 1em;
    font-weight: bold;
    color: white;
    background-color: #9f9831;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin: 10px;
}

.security-buttons .btn:hover {
    background-color: #bf6f27;
}

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

.contact-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.contact-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.contact-card h3 {
    margin: 10px 0;
    color: #bf6f27;
}

.contact-card p {
    margin: 5px 0;
    font-size: 1em;
}

.contact-card a {
    color: #9f9831;
    text-decoration: none;
    font-weight: bold;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Newsroom Section */
.newsroom-intro {
    text-align: center;
    font-size: 1.2em;
    color: #4d4d4d;
    margin-bottom: 20px;
}

.news-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.news-item {
    width: 30%;
    max-width: 300px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.news-item:hover {
    transform: scale(1.05);
}

.news-thumbnail {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

iframe.news-thumbnail {
    pointer-events: none; /* Ensures click interaction behaves like an image */
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.accordion {
    margin-top: 30px;
}

.accordion-header {
    background-color: #9f9831;
    color: #fff;
    padding: 15px;
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    margin-bottom: 5px;
}

.accordion-header.active {
    background-color: #bf6f27;
}

.accordion-header:hover {
    background-color: #bf6f27;
}

.accordion-content {
    display: none;
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}



.accordion-content li {
    margin-bottom: 8px;
}

/* Centering the buttons and stacking them vertically */
.chat-buttons-container {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    align-items: center;
    gap: 15px; /* Space between buttons */
    margin-top: 50px; /* Adjust as needed */
}

/* General Chat Button Styles */
.chat-btn {
    display: flex;
    align-items: center;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 250px; /* Consistent button width */
    justify-content: center; /* Center text and icon */
}

/* Remove hyperlink underline */
.chat-link {
    text-decoration: none;
}

/* WhatsApp Button */
.whatsapp-btn {
    background-color: #25d366;
    color: white;
}

.whatsapp-btn:hover {
    background-color: #1ebe5d;
}

/* Telegram Button */
.telegram-btn {
    background-color: #0088cc;
    color: white;
}

.telegram-btn:hover {
    background-color: #007bb5;
}

/* Button Icons */
.chat-btn img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Remove bullet points globally */
ul {
    list-style: none;
    padding-left: 0;
}

/* Optional: add a bit of left padding for visual spacing */
ul li {
    padding-left: 1em;
    position: relative;
}

@media (max-width: 768px) {
    /* Reduce inner padding and widen containers */
    .section-container {
        padding: 20px 15px;
        width: 95%;
    }

    .section {
        padding: 50px 10px;
    }

    .hero-overlay {
        padding: 20px;
        max-width: 95%;
    }

    .join-buttons .btn,
    .security-buttons .btn {
        width: 100%;
        margin: 10px 0;
    }

    .contact-card {
        padding: 15px;
    }

    .accordion-content {
        padding: 15px 10px;
    }
}


footer p {
    margin: 0;
    font-size: 1rem;
}
