* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif; 
    background-color: #ffffff;
    color: #3b4918;
}   
/**************************ICON*******************************/
.navbar-toggler-icon {
    position: absolute; 
    top: 5vw;          
    left: 2vw;       
    background-color: #fff; 
    width: 30px;   
    height: 30px;     
    display: none;    
}

@media (max-width: 768px) { 
    .navbar-toggler-icon {
        display: block; 
    }
}

/**************************Nav Bar****************************/
.custom-navbar {
    background-color: #fffcef;
    padding: 15px 50px;
    border-bottom: 1px solid #c8bd44;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    width: 60px;
    margin-right: 10px;
}

.brand-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    text-align: left;
}

.brand-text {
    font-size: 4vw;  
    font-weight: 900;
    margin-bottom: 0; 
    line-height: 1.1; 
    color: #3b4918;
}

.brand-subtext {
    font-size: 2vw;  
    font-weight: 300;
    color: #000000; 
    margin-top: -1px; 
    line-height: 1.1; 
}

@media (min-width: 768px) {
            .brand-text {
                font-size: 30px;  
                
            }

            .brand-subtext {
                font-size: 12px;  
                align-items: center; 
            }
        }

        @media (max-width: 768px) {
            .brand-text-wrapper {
                align-items: center; 
                text-align: center;  
            }

            .navbar-brand img {
                margin: 0 auto; 
                margin-left: -60px;
            }
        }

/* Tablet - 768px */
        @media (max-width: 768px) {
            .navbar-brand img {
                display: none;
            }

            .brand-text-wrapper {
                align-items: center;
                text-align: center;
                width: 100%;
            }

            .navbar-brand {
                width: 100%;
                justify-content: center;
            }
        }


@media (max-width: 768px) {
    .navbar-brand img {
        margin: 0 auto; 
    }
}

@media (max-width: 425px) {
    .navbar-brand img {
        display: none;
    }
}

@media (max-width: 375px) {
    .navbar-brand img {
        display: none;
    }
}

@media (max-width: 320px) {
    .navbar-brand img {
        display: none;
    }
}



.navbar-nav {
    display: flex;
    justify-content: right; 
    width: 100%;  
}

.navbar-nav .nav-link {
    color: #3b4918;
    font-size: 1.2em;
    font-weight: 400;
    margin-right: 40px; 
}

.nav-item .btn-warning {
    background-color: #f7931e;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
}

.navbar-nav .nav-link.active {
    background-color: #007bff; 
    color: white; 
    border-radius: 5px; 
    padding: 10px 20px; 
}

@media (max-width: 768px) {
    .navbar-toggler {
        margin-left: 10px;
    }

    .navbar-nav {
        flex-direction: column; 
        align-items: center; 
        width: 100%; 
    }

    .navbar-nav .nav-link {
        margin-right: 0; 
        margin-bottom: 10px;
        font-size: 1em; 
    }

    .nav-item .btn-warning {
        font-size: 1em; 
    }
    .navbar-brand img {
        width: 50px;
        margin-left: -20px;
    }
    
}
/******************************************************/




/**************************Hero Section****************************/
.hero {
    height: 100vh;
    background-image: url('./assets/background.png');
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 30px;
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 28, 28, 0.5);
    z-index: 2;
}

.hero-left {
    z-index: 3;
    width: 50%;
    text-align: left; /* Default alignment */
}

.hero-title {
    font-size: 2.8em;
    font-weight: 600;
    color: #ccc14f;
}

.hero-subtitle {
    font-size: 1em;
    font-weight: 400;
    color: #ffffff;
    margin-top: 10px;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 0.9em;
    color: #eae6e6;
    margin-bottom: 20px;
    max-width: 600px;
    line-height: 1.5;
}

.hero-btn {
    background-color: #f7931e;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    color: white;
}

.hero-carousel {
    z-index: 3;
    width: 40%; 
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #000;
    padding: 10px;
}

.footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px;
            background-color: #fffcef;
            color: #674636;
            width: 100%;
            box-sizing: border-box;
        }

        .footer-left, .footer-right {
            font-size: 0.9rem;
        }

        .footer p {
            margin: 0;
        }

        .fp-watermark {
            display: none !important; 
        }

        @media (max-width: 768px) {
            .footer-left, .footer-right {
                font-size: 0.8rem;
            }
            .footer {
                padding: 8px 10px;
            }
        }   
        /* Mobile L - 425px */
        @media (max-width: 425px) {
            .footer-left, .footer-right {
                font-size: 0.6rem;
            }
            .footer {
                padding: 8px 10px;
            }
        }

        /* Mobile M - 375px */
        @media (max-width: 375px) {
            .footer-left, .footer-right {
                font-size: 0.6rem;
            }
            .footer {
                padding: 8px 10px;
            }
        }

        /* Mobile S - 320px */
        @media (max-width: 320px) {
            .footer-left, .footer-right {
                font-size: 0.6rem;
            }
            .footer {
                padding: 8px 8px;
    }
        }

/**************************Services Section****************************/
.apgorrs-services {
    padding: 50px 0;
    background-color: #fff;
}

.service-box {
    background-color: #f5f5f3;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.service-box img {
    width: 90px;
    margin-bottom: 15px;
}

.apgorrs-services h2 {
    font-weight: bold;
    color: #f7931e;
    font-size: 2.5em;
}

.service-box h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
}

.service-box p {
    font-size: 1em;
    margin-bottom: 15px;
}

.service-box .btn {
    padding: 10px 20px;
    border-radius: 5px;
}

/**************************Responsive Styles****************************/
@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 120px 20px 40px;
    }

    .hero .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-left {
        width: 100%;
        margin-bottom: 30px;
    }

    .hero-carousel {
        display: none; /* Hide carousel on mobile */
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-btn {
        margin-bottom: 30px;
        display: inline-block;
    }
}

/* Since we're hiding the carousel completely, we can remove or comment out 
   the carousel-specific styles for smaller breakpoints */

/* Mobile L - 425px */
@media (max-width: 425px) {
    .hero {
        padding: 100px 15px 30px;
    }
}

/* Mobile M - 375px */
@media (max-width: 375px) {
    .hero {
        padding: 90px 12px 25px;
    }
}

/* Mobile S - 320px */
@media (max-width: 320px) {
    .hero {
        padding: 80px 10px 20px;
    }
}

.modal-content {
    max-width: 800px;
    margin: 5% auto;
}

.modal-content form {
    background-color: #f5f5f3;
    padding: 20px;
    border-radius: 10px;
    color: #674636;
}

.suggestion-intro {
    text-align: justify;
    margin-bottom: 20px;
    color: #674636;
}

#suggestionForm textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #674636;
    border-radius: 8px;
    box-sizing: border-box;
    resize: vertical;
}

#suggestionForm .button-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

#suggestionForm .submit-button {
    background-color: #f7931e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
}

#suggestionForm .close-modal {
    background-color: #859e44;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
}

.modal-content {
    background-color: #f5f5f3;
    margin: 8% auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
}

/* Modal Position Adjustment */
.modal {
    display: none;
    position: fixed;
    z-index: 10000; /* Ensure it's higher than everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh; /* Use viewport height */
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden; /* Prevent scrolling of the background */
}

.modal-content {
    position: fixed; /* Change to fixed positioning */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the modal */
    background-color: #f5f5f3;
    padding: 30px;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-height: 90vh; /* Limit height to prevent overflow */
    overflow-y: auto; /* Allow scrolling within the modal if needed */
}

/* Form Title */
#suggestionForm h2 {
    color: #576f1b;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

/* Introduction Text */
.suggestion-intro {
    text-align: justify;
    margin-bottom: 25px;
    color: #674636;
    line-height: 1.6;
    padding: 15px;
    background-color: #fff;
    border-radius: 10px;
    border-left: 4px solid #f7931e;
}

.suggestion-intro em {
    display: block;
    margin-top: 15px;
    color: #859e44;
    font-style: italic;
}

/* Form Fields */
#suggestionForm label {
    display: block;
    margin: 15px 0 8px;
    color: #576f1b;
    font-weight: 500;
}

#suggestionForm input[type="text"],
#suggestionForm textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

#suggestionForm input[type="text"]:focus,
#suggestionForm textarea:focus {
    outline: none;
    border-color: #f7931e;
    box-shadow: 0 0 5px rgba(247, 147, 30, 0.2);
}

#suggestionForm textarea {
    min-height: 150px;
    resize: vertical;
}

/* Button Container */
#suggestionForm .button-container {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Submit Button */
#suggestionForm .submit-button {
    background-color: #f7931e;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#suggestionForm .submit-button:hover {
    background-color: #e88418;
}

/* Cancel Button */
#suggestionForm .close-modal {
    background-color: #859e44;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#suggestionForm .close-modal:hover {
    background-color: #728636;
}

/* Close Button (X) */
.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #674636;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #f7931e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }

    #suggestionForm h2 {
        font-size: 22px;
    }

    .suggestion-intro {
        padding: 12px;
        font-size: 14px;
    }

    #suggestionForm .button-container {
        flex-direction: column;
        gap: 10px;
    }

    #suggestionForm .submit-button,
    #suggestionForm .close-modal {
        width: 100%;
        padding: 10px;
    }
}

/* Responsive adjustments for modal content */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 85vh;
    }
}

@media (max-width: 425px) {
    .modal-content {
        width: 95%;
        max-height: 80vh;
        padding: 20px;
    }
}

/* Font Size Adjustments for All Content */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-title {
        font-size: 1.8em;
    }
    
    .hero-subtitle {
        font-size: 0.8em;
    }
    
    .hero-description {
        font-size: 0.7em;
    }

    /* Services Section */
    .apgorrs-services h2 {
        font-size: 1.6em;
    }
    
    .service-box h3 {
        font-size: 1.1em;
    }
    
    .service-box p {
        font-size: 0.8em;
    }

    /* Buttons */
    .btn-success, 
    .btn-warning,
    .hero-btn {
        font-size: 0.8em;
        padding: 8px 16px;
    }

    /* Modal/Suggestion Form */
    #suggestionForm h2 {
        font-size: 1.4em;
    }

    .suggestion-intro {
        font-size: 0.8em;
    }

    #suggestionForm label {
        font-size: 0.8em;
    }

    #suggestionForm input[type="text"],
    #suggestionForm textarea {
        font-size: 0.8em;
    }

    #suggestionForm .submit-button,
    #suggestionForm .close-modal {
        font-size: 0.8em;
    }
}

@media (max-width: 425px) {
    /* Hero Section */
    .hero-title {
        font-size: 1.5em;
    }
    
    .hero-subtitle {
        font-size: 0.75em;
    }
    
    .hero-description {
        font-size: 0.65em;
    }

    /* Services Section */
    .apgorrs-services h2 {
        font-size: 1.4em;
    }
    
    .service-box h3 {
        font-size: 1em;
    }
    
    .service-box p {
        font-size: 0.75em;
    }

    /* Buttons */
    .btn-success, 
    .btn-warning,
    .hero-btn {
        font-size: 0.75em;
        padding: 7px 14px;
    }

    /* Modal/Suggestion Form */
    #suggestionForm h2 {
        font-size: 1.2em;
    }

    .suggestion-intro {
        font-size: 0.75em;
    }

    #suggestionForm label {
        font-size: 0.75em;
    }

    #suggestionForm input[type="text"],
    #suggestionForm textarea {
        font-size: 0.75em;
    }

    #suggestionForm .submit-button,
    #suggestionForm .close-modal {
        font-size: 0.75em;
    }
}

@media (max-width: 375px) {
    /* Hero Section */
    .hero-title {
        font-size: 1.3em;
    }
    
    .hero-subtitle {
        font-size: 0.7em;
    }
    
    .hero-description {
        font-size: 0.6em;
    }

    /* Services Section */
    .apgorrs-services h2 {
        font-size: 1.2em;
    }
    
    .service-box h3 {
        font-size: 0.9em;
    }
    
    .service-box p {
        font-size: 0.7em;
    }

    /* Buttons */
    .btn-success, 
    .btn-warning,
    .hero-btn {
        font-size: 0.7em;
        padding: 6px 12px;
    }

    /* Modal/Suggestion Form */
    #suggestionForm h2 {
        font-size: 1.1em;
    }

    .suggestion-intro {
        font-size: 0.7em;
    }

    #suggestionForm label {
        font-size: 0.7em;
    }

    #suggestionForm input[type="text"],
    #suggestionForm textarea {
        font-size: 0.7em;
    }

    #suggestionForm .submit-button,
    #suggestionForm .close-modal {
        font-size: 0.7em;
    }
}

@media (max-width: 320px) {
    /* Hero Section */
    .hero-title {
        font-size: 1.1em;
    }
    
    .hero-subtitle {
        font-size: 0.65em;
    }
    
    .hero-description {
        font-size: 0.55em;
    }

    /* Services Section */
    .apgorrs-services h2 {
        font-size: 1em;
    }
    
    .service-box h3 {
        font-size: 0.8em;
    }
    
    .service-box p {
        font-size: 0.65em;
    }

    /* Buttons */
    .btn-success, 
    .btn-warning,
    .hero-btn {
        font-size: 0.65em;
        padding: 5px 10px;
    }

    /* Modal/Suggestion Form */
    #suggestionForm h2 {
        font-size: 1em;
    }

    .suggestion-intro {
        font-size: 0.65em;
    }

    #suggestionForm label {
        font-size: 0.65em;
    }

    #suggestionForm input[type="text"],
    #suggestionForm textarea {
        font-size: 0.65em;
    }

    #suggestionForm .submit-button,
    #suggestionForm .close-modal {
        font-size: 0.65em;
    }
}

