.modern-banner {
    background: #083416 !important;
    padding: 50px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.slider-wrapper {
    max-width: 900px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.slider-item {
    transition: transform 0.3s ease-in-out;
    text-align: center;
}

.slider-item:hover {
    transform: translateY(-10px);
}

.slider-link {
    display: block;
    padding: 20px;
    border-radius: 15px;
    text-decoration: none;
    background: #1B3730;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    color: #fff; /* Changed to white */
}

.slider-link:hover {
    background: #2d574b;
    color: #fff;
}

.icon-box .icon-image {
    transition: transform 0.3s ease-in-out;
}

.slider-link:hover .icon-box .icon-image {
    transform: scale(1.1);
}

.text-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff; /* Changed to white */
    transition: color 0.3s ease-in-out;
    font-family: 'Arial', sans-serif;
}

.slider-link:hover .text-title {
    color: #fff;
}

.text-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8); /* Light white */
    transition: color 0.3s ease-in-out;
    font-family: 'Arial', sans-serif;
}

.slider-link:hover .text-subtitle {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-banner {
        padding: 30px 10px;
    }

    .slider-link {
        padding: 15px;
    }

    .text-title {
        font-size: 1rem;
    }

    .text-subtitle {
        font-size: 0.8rem;
    }
    .navbar-collapse{
        overflow-y: auto;
    }
}

/* footer wrapper */
.footer-wrapper {
    background-color: #1B3730 !important;
}

.footer-text {
    font-size: 16px;
    color: #fff;
}

.social-btn {
    background-color: #2d574b;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.social-btn:hover {
    background-color: #3a7063;
}

.social-btn i, .social-btn svg {
    color: #fff;
    font-size: 20px;
}

.footer-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-links {
    font-size: 14px;
    display: flex;
    align-items: center;
}

.footer-links .footer-link {
    margin-left: 20px;
}

@media (max-width: 768px) {
    .footer-wrapper {
        padding: 20px 10px;
    }

    .footer-copy {
        text-align: center;
    }

    .social-media-links {
        justify-content: center;
        margin-bottom: 10px;
    }

    .footer-links {
        justify-content: center;
    }
}

/* main footer */
.custom-footer-bg{
    background-color: #083416 !important;
}
.custom-wrapper-bg{
    background-color: #083416 !important;
}
.input-email {
    background-color: #ffffff !important;
    border: 1px solid #083416;
    padding: 8px;
    border-radius: 10px 0 0 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    z-index: 1;
}
.custom-sub{
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    background-color: #2d574b;
    padding: 12px;
    border-radius: 15px;
    min-height: 150px;
    max-height: 200px !important;
    margin-bottom: 20px;
}

.input-email::placeholder {
    color: #1B3730 !important;
    font-weight: bold;
}

.input-email:focus {
    border-color: #2d574b;
    box-shadow: 0 0 10px rgba(45, 87, 75, 0.6);
}

/* Updated footer link styles */
.widget-list-link {
    font-weight: normal; /* Changed from bold to normal */
    color: rgba(255, 255, 255, 0.9);
}

.widget-list-link:hover {
    color: #ffffff;
}

/* Keeping h6 headers bold */
.footer-header {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: bold;
}

/* Improved subscription form */
.subscription-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 15px;
}

.subscription-container form {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: stretch; /* Changed to stretch to ensure same height */
}

.subscribe-border {
    height: 50px; /* Set fixed height */
    border-radius: 10px 0 0 10px !important;
}

.subscribe-btn {
    height: 50px; /* Match input height */
    background-color: #083416;
    color: white;
    padding: 0 15px; /* Adjusted padding */
    border: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: auto; /* Changed from fixed width to auto */
    min-width: 120px; /* Set minimum width */
}

.subscribe-btn:hover {
    background-color: #2d574b;
    transform: translateX(5px);
}

/* Fix responsive styles for small screens */
@media (max-width: 992px) {
    .subscription-container form {
        flex-direction: column;
        gap: 0; /* Remove gap between elements */
    }
    
    .subscribe-border {
        width: 100%;
        border-radius: 10px 10px 0 0 !important; /* Round only top corners */
        margin-bottom: 0 !important; /* Remove margin between input and button */
    }
    
    .subscribe-btn {
        width: 100%;
        border-radius: 0 0 10px 10px !important; /* Round only bottom corners */
        margin-top: 0 !important; /* Remove margin between input and button */
    }
}

.bg-color {
    background-color: #083416 !important;
}
.page-footer {
    background-color: #1B3730 !important;
    color: #fff;
}
.start_address a, .start_address span {
    color: rgba(255, 255, 255, 0.9);
}
.start_address a:hover {
    color: #ffffff;
}