/* ========== TOP BAR STYLES ========== */
.container-fluid.bg-light.p-0 {
    background-color: #e6f0ef  !important;
}

/* ========== NAVIGATION STYLES ========== */
.navbar-nav{
    align-items: center;
}

.navbar-nav .nav-link {
    color: #2c3e50;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
}

.navbar-nav .nav-link:hover {
    color: #89b866;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0;
    padding: 1rem;
    min-width: 250px;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: rgba(137, 184, 102, 0.1);
    color: #89b866;
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
}

.dropdown-header {
    font-weight: 700;
    color: #89b866;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    border-bottom: 2px solid #89b866;
    margin-bottom: 0.5rem;
}

.dropdown-mega {
    position: static !important;
}

.dropdown-mega-menu {
    width: 90%;
    left: 0;
    right: 0;
    padding: 1.5rem 1.5rem .1rem 1.5rem;
}

.mega-menu-section {
    margin-bottom: 1.5rem;
}

.mega-menu-title {
    font-weight: 700;
    color: #89b866;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #89b866;
}

.mega-menu-links {
    list-style: none;
    padding-left: 0;
}

.mega-menu-links li {
    margin-bottom: 0.7rem;
}

.mega-menu-links a {
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.mega-menu-links a:hover {
    color: #89b866;
    padding-left: 5px;
}

/* Compact grid layout for applications */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.grid-column {
    display: flex;
    flex-direction: column;
}

.grid-section {
    margin-bottom: 1rem;
}

.grid-section-title {
    font-weight: 700;
    color: #89b866;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #89b866;
}

.grid-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.grid-links li {
    margin-bottom: 0.3rem;
}

.grid-links a {
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 1.3;
    display: block;
    padding: 0.2rem 0;
}

.grid-links a:hover {
    color: #89b866;
    padding-left: 5px;
}

/* Scrollbar styling */
.applications-grid::-webkit-scrollbar {
    width: 6px;
}

.applications-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.applications-grid::-webkit-scrollbar-thumb {
    background: #89b866;
    border-radius: 3px;
}

.applications-grid::-webkit-scrollbar-thumb:hover {
    background: #7aa85c;
}

/* MinTech Button Styles */
.mintech-btn {
    background-color: #89b866;
    border-color: #89b866;
    color: white;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-left: 2rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.mintech-btn:hover {
    background-color: #7aa85c;
    border-color: #7aa85c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(137, 184, 102, 0.3);
    color: white;
}

/* ========== FOOTER STYLES ========== */
.footer {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #89b866, #7aa85c, #89b866);
}

.footer-logo {
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-heading {
    color: #89b866;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #89b866;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
    display: block;
    position: relative;
    padding-left: 1rem;
}

.footer-link::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #89b866;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #89b866;
    padding-left: 1.5rem;
    text-decoration: none;
}

.footer-link:hover::before {
    transform: translateX(5px);
}

.contact-info {
    color: #bdc3c7;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: #89b866;
    margin-right: 1rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: #89b866;
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 5px 15px rgba(137, 184, 102, 0.3);
}

.newsletter-form {
    margin-top: 1.5rem;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 0.5rem;
}

.newsletter-input::placeholder {
    color: #bdc3c7;
}

.newsletter-input:focus {
    outline: none;
    border-color: #89b866;
    box-shadow: 0 0 0 2px rgba(137, 184, 102, 0.2);
}

.newsletter-btn {
    background: #89b866;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    width: 100%;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #7aa85c;
    transform: translateY(-2px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-menu {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-menu a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: #89b866;
}

.certification-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cert-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #bdc3c7;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========== FLOATING BUTTONS STYLES ========== */
.back-to-top {
    display: flex !important;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #89b866;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(137, 184, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #7aa85c;
    transform: translateY(-3px);
    color: #fff;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 100px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #FFF;
    text-decoration: none;
}

.whatsapp-float i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* ========== CONTACT FORM STYLES ========== */
.contact-form {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    /* border-top: 4px solid #89b866; */
}

.form-floating > .form-control {
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 1rem 0.75rem;
}

.form-floating > .form-control:focus {
    border-color: #89b866;
    box-shadow: 0 0 0 0.2rem rgba(137, 184, 102, 0.25);
}

/* Phone Number Field Styling */
.phone-field-container {
    position: relative;
}

.phone-field-container .form-control {
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 1rem 0.75rem;
    height: 58px;
}

.phone-field-container .form-control:focus {
    border-color: #89b866;
    box-shadow: 0 0 0 0.2rem rgba(137, 184, 102, 0.25);
}

/* International Telephone Input Styling */
.iti {
    width: 100%;
    display: block !important;
}

.iti__flag-container {
    background: white;
    border-radius: 8px 0 0 8px;
    border-right: 1px solid #e9ecef;
}

.iti__selected-flag {
    padding: 0 12px;
    background: white !important;
    border-radius: 8px 0 0 8px !important;
}

.iti__selected-flag:hover {
    background-color: #f8f9fa !important;
}

.iti__country-list {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    background: white;
}

.iti__country {
    padding: 8px 10px;
    border-bottom: 1px solid #f8f9fa;
}

.iti__country:hover, .iti__country.highlight {
    background-color: #f8f9fa !important;
}

.iti__divider {
    border-bottom: 1px solid #e9ecef;
}

/* ========== MOBILE RESPONSIVE STYLES ========== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }
    .navbar-nav{
        align-items: start;
    }
    .dropdown-menu {
        box-shadow: none;
        border: 1px solid #e9ecef;
        margin-top: 0.5rem;
    }
    
    .dropdown-mega-menu {
        position: static;
        transform: none;
        width: 90%;
        padding: 1rem;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-height: 300px;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.2rem;
    }
    
    .dropdown-mega-menu {
        padding: 1rem;
    }
    
    .mega-menu-section {
        margin-bottom: 1rem;
    }
    
    .product-item img {
        height: 200px;
    }
    
    .certification-image {
        height: 220px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 90px;
        right: 20px;
        font-size: 25px;
    }
    
    .mintech-btn {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .product-item img {
        height: 180px;
    }
    
    .product-filters li {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
        margin: 0 0.25rem 0.5rem 0.25rem;
    }
    
    .certification-image {
        height: 200px;
    }
    
    .contact-form {
        padding: 2rem !important;
    }
    
    .footer-menu {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .certification-badges {
        justify-content: center;
    }
    
    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 80px;
        right: 15px;
        font-size: 22px;
    }
}

/* Color variations for icons */
.bg-primary {
    background-color: #89b866 !important;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

/* Active Page Styling */
.navbar-nav .nav-link.active {
    color: #89b866 !important;
    font-weight: 600;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: #89b866;
    border-radius: 2px;
}

/* Active state for dropdown items */
.dropdown-item.active {
    background-color: rgba(137, 184, 102, 0.1) !important;
    color: #89b866 !important;
    font-weight: 600;
}

/* Active state for mega menu links */
.mega-menu-links a.active {
    color: #89b866 !important;
    font-weight: 600;
    padding-left: 10px !important;
}

.mega-menu-links a.active::before {
    /* content: '▶'; */
    position: absolute;
    left: 0;
    color: #89b866;
}

/* Active state for grid links */
.grid-links a.active {
    color: #89b866 !important;
    font-weight: 600;
    padding-left: 10px !important;
}

/* .grid-links a.active::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #89b866;
} */

/* Mobile active state */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link.active::after {
        left: 0;
        right: 0;
    }
}

    .select2-container--default .select2-selection--single {
        border: 1px solid #e9ecef;
        border-radius: 8px;
        height: 58px !important;
        padding: 1rem 0.75rem;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 26px;
        padding-left: 0 !important;
        padding-top: 10px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 56px !important;
    }

    .select2-container--default .select2-results__option--highlighted[aria-selected] {
        background-color: #89b866;
    }

    .select2-container--default .select2-search--dropdown .select2-search__field {
        border: 1px solid #e9ecef;
        border-radius: 4px;
        padding: 6px;
    }

    .select2-container--default .select2-dropdown {
        border: 1px solid #e9ecef;
        border-radius: 8px;
    }