* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #e3eaf4;
    transition: background-color 0.3s ease, color 0.3s ease;
}


body.dark-mode {
    background-color: #121212;
    color: #eaeaea;
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    margin: 20px;
    position: relative;
    z-index: 10;
    transition: background 0.3s ease;
}

body.dark-mode .navbar {
    background: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.brand-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000;
    transition: color 0.3s ease;
}

body.dark-mode .brand-title {
    color: #fff;
}
        /* Hero Section */
        .hero-section {
            background-color: #009b3a;
            color: white;
            text-align: center;
            padding: 100px 0;
        }

        .hero-section h1 {
            font-size: 3rem;
            margin-bottom: 20px;
        }

        .hero-section p {
            font-size: 1.2rem;
            margin-bottom: 30px;
        }

        .hero-section a {
            background-color: #fff;
            color: #009b3a;
            padding: 12px 25px;
            font-weight: bold;
            text-transform: uppercase;
            border-radius: 30px;
            text-decoration: none;
            transition: background-color 0.3s ease;
        }

        .hero-section a:hover {
            background-color: #006e2e;
            color: white;
        }

        /* Service Slider Section */
        #services {
            padding: 60px 0;
        }

        .service-slider-wrapper {
            position: relative;
            overflow: hidden;
        }

        .service-slider {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }

        .service-item {
            background-color: #027a2e;
            color: #fff;
            padding: 60px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            width: 100%;
            text-align: center;
            margin-right: 30px;
        }

        .service-item img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            border-radius: 10px;
            margin-bottom: 20px;
        }

        .service-item h3 {
            font-size: 2rem;
            margin-bottom: 20px;
        }

        .service-item p {
            font-size: 1.2rem;
            margin-bottom: 20px;
        }

        .service-item a {
            background-color: #fff;
            color: #009b3a;
            padding: 12px 25px;
            font-weight: bold;
            text-transform: uppercase;
            border-radius: 30px;
            text-decoration: none;
            transition: background-color 0.3s ease;
        }

        .service-item a:hover {
            background-color: #006e2e;
            color: white;
        }

        /* Buttons for Slider */
        .slider-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            padding: 10px 15px;
            font-size: 1.5rem;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            transition: background-color 0.3s ease;
        }

        .slider-btn:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }

        .slider-btn.prev {
            left: 10px;
        }

        .slider-btn.next {
            right: 10px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .service-item {
                width: 90%;
                margin-right: 15px;
            }
        }
        
.navbar-links {
    display: flex; /* Display links on desktop */
    flex-direction: row;
    list-style: none;
}

.navbar-links.active {
    display: flex; /* Show links on mobile when active */
}

.navbar-links ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

.navbar-links ul li {
    margin-left: 20px;
}

.navbar-links ul li a {
    text-decoration: none;
    color: #000;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 12px;
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

body.dark-mode .navbar-links ul li a {
    color: #fff;
}

.navbar-links ul li a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

body.dark-mode .navbar-links ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Toggle Button for Mobile */
.toggle-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: #000;
    border-radius: 10px;
    transition: background 0.3s ease;
}

body.dark-mode .toggle-button .bar {
    background-color: #fff;
}

/* Bottom Theme Switcher */
.bottom-theme-toggle {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #e3eaf4;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, color 0.3s ease;
    cursor: pointer;
    z-index: 20;
}

body.dark-mode .bottom-theme-toggle {
    background: #222;
    color: #fff;
}

#dark-mode-icon {
    display: inline-block;
    color: #000;
}

body.dark-mode #dark-mode-icon {
    display: none;
}

#light-mode-icon {
    display: none;
    color: #fff;
}
.content {
    padding: 20px;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}
body.dark-mode #light-mode-icon {
    display: inline-block;
}

/* Bottom Left Buttons */
.bottom-left-buttons {
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;  /* Spacing between buttons */
}

.bottom-left-buttons .btn {
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 50px; /* Rounded buttons */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #000;
    font-size: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

body.dark-mode .bottom-left-buttons .btn {
    background-color: #333;
    color: #fff;
}

.bottom-left-buttons .btn:hover {
    background-color: #e0e0e0;
    transform: scale(1.05); /* Slight hover effect */
}

body.dark-mode .bottom-left-buttons .btn:hover {
    background-color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .toggle-button {
        display: flex;
    }

    .navbar-links {
        display: none; /* Hide by default on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        border-radius: 0 0 15px 15px;
    }

    body.dark-mode .navbar-links {
        background-color: #333;
    }

    .navbar-links.active {
        display: flex; /* Show on mobile when active */
    }

    .navbar-links ul {
        flex-direction: column;
        width: 100%;
    }

    .navbar-links ul li {
        margin: 10px 0;
    }
}
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Contact Card Styling */
.contact-card {
    max-width: 500px;
    background-color: #000;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo .shield {
    background-color: #009b3a;
    color: #fff;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1.5rem;
}

.logo .company-name h1 {
    font-size: 1.5rem;
    margin-left: 15px;
}

.logo .company-name p {
    color: #009b3a;
    font-size: 1rem;
    margin-left: 15px;
}

/* Manager Information */
.manager-info h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.manager-info span {
    font-style: italic;
}

/* Contact Information */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.contact-info .info-item i {
    color: #009b3a;
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Add Styling for Geometric Pattern (Right Side) */
.contact-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        #009b3a 10px,
        #009b3a 20px
    );
    opacity: 0.3;
}

       /* General Styles */
       body {
        font-family: 'Arial', sans-serif;
        background-color: #f5f5f5;
        color: #333;
        transition: background-color 0.3s, color 0.3s;
    }

    /* Dark Mode Styles */
    body.dark-mode {
        background-color: #333;
        color: #f5f5f5;
    }

    /* Mission Section */
    .mission-section {
        padding: 60px 0;
        background-color: #f4f6f9;
        transition: background-color 0.3s;
    }

    body.dark-mode .mission-section {
        background-color: #444;
    }

    .mission-title {
        font-size: 2rem;
        font-weight: 600;
        color: #009b3a;
    }


    .mission-list {
        font-size: 1.1rem;
        margin-top: 20px;
        color: #333;
    }

    body.dark-mode .mission-list {
        color: #f5f5f5;
    }

    .mission-list li {
        margin-bottom: 20px;
        display: flex;
        align-items: center;
    }

    .mission-list li .icon {
        margin-right: 15px;
        color: #009b3a;
    }



    .mission-header {
        color: #009b3a;
        font-weight: 700;
    }

  

    /* About Section */
    .about-section {
        padding: 50px 0;
        background-color: #ffffff;
        transition: background-color 0.3s;
    }

    body.dark-mode .about-section {
        background-color: #444;
    }

    /* Styling for icons */
    .mission-list i {
        font-size: 1.5rem;
    }

    /* Theme Toggle Button */
  
    .bottom-theme-toggle i {
        font-size: 24px;
        color: #333;
    }

    body.dark-mode .bottom-theme-toggle i {
        color: #f5f5f5;
    }

    /* New Section for Custom Theme Switcher */
    .theme-switch-section {
        background-color: #fff;
        padding: 30px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        margin-bottom: 30px;
    }

    .theme-switch-section h3 {
        color: #009b3a;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    body.dark-mode .theme-switch-section {
        background-color: #444;
    }

    .theme-switch-section button {
        background-color: #009b3a;
        color: #fff;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
    }

    body.dark-mode .theme-switch-section button {
        background-color: #007d2f;
    }

    .theme-switch-section button:hover {
        background-color: #007d2f;
    }

            /* Gallery Section */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 200px; /* Set a fixed height for the image */
    object-fit: cover;
    display: block;
}

/* Overlay Text at Bottom */
.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    font-size: 1rem;
    /* Ensures text is always visible */
}

/* Optional: Hover effects for card transformation (No hover effect on text) */
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

            .overlay h3 {
                margin: 0;
                font-size: 1.5rem;
            }
    
            .overlay p {
                margin: 5px 0 0;
                font-size: 1rem;
            }
                    /* Fixed Navigation Bar */
                    .navbar {
                        position: fixed; /* Fix the navbar at the top of the page */
                        top: 0;
                        left: 0;
                        right: 0;
                        z-index: 1000; /* Ensure navbar is on top of other content */
                        background-color: #ffffff; /* Background color */
                        padding: 10px 20px; /* Padding to give the navbar some space */
                        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional shadow for better visibility */
                        display: flex; /* Optional: if you want a flex layout for items */
                        justify-content: space-between; /* Optional: space between items */
                        margin: 0px 0px;
                    }
                    .carousel-item {
                        height: 50vh; /* Set the height to 50% of the viewport height */
                        background-size: cover;
                        background-position: center;
                    }
                    
                    .carousel-caption {
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        text-align: center;
                        color: white;
                        font-size: 3rem;
                        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
                    }
                    /* Responsive text adjustments */
.text-responsive {
    font-size: calc(1.5rem + 1vw); /* Dynamically adjust text size */
}

.carousel-caption h1 {
    font-size: calc(2.5rem + 1vw); /* Scales title text based on screen width */
}

.carousel-caption p {
    font-size: calc(1rem + 0.5vw); /* Scales paragraph text */
}

/* Ensure proper spacing on smaller devices */
@media (max-width: 768px) {
    .carousel-caption {
        padding: 20px;
        text-align: center;
    }
}

.footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content p {
    font-size: 1rem;
    margin: 0;
    padding: 10px;
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ff6f61; /* Change hover color */
}

@media screen and (max-width: 768px) {
    .footer {
        font-size: 0.9rem;
    }
}
.google-map-container {
    width: 100%;
    max-width: 1200px; /* Maximum width for layout */
    margin: 30px auto; /* Center the content */
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

/* Map Wrapper - Ensuring iframe is responsive */
.map-wrapper iframe {
    width: 100%;
    height: 450px; /* Default height */
    border: none;
    border-radius: 10px; /* Rounded corners for iframe */
}

/* Address Section */
.address-wrapper {
    margin-top: 15px;
}

/* Address Text Styling */
.address {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
    text-transform: capitalize;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .google-map-container {
        padding: 10px;
    }

    .map-wrapper iframe {
        height: 300px; /* Shorten height on smaller screens */
    }

    .address {
        font-size: 1rem; /* Adjust text size */
    }
}

@media (max-width: 480px) {
    .google-map-container {
        padding: 5px;
    }

    .map-wrapper iframe {
        height: 250px; /* Further reduce height on very small screens */
    }

    .address {
        font-size: 0.9rem; /* Smaller text on very small screens */
    }
}