/* ========== GLOBAL ========== */
body {
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
    overflow-x: hidden;
}

/* ========== TOP BAR ========== */
.top-bar {
    background: #f8f9fa;
    font-size: 0.9rem;
    border-bottom: 1px solid #dee2e6;
}

/* ========== NAVIGATION MEGA MENU ========== */
.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    padding: 1.5rem !important;
    border-radius: 0 0 12px 12px;
    border: none;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.mega-menu .dropdown-item {
    padding: 0.25rem 0;
    font-size: 0.9rem;
    color: #4b5563;
}
.mega-menu .dropdown-item:hover {
    background: transparent;
    color: #dc2626;
    transform: translateX(5px);
    transition: 0.2s;
}
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    .navbar .dropdown > .dropdown-toggle:active {
        pointer-events: none;
    }
}

/* ========== HERO SLIDER ========== */
.hero-slider .carousel-item img {
    height: 500px;
    object-fit: cover;
}
@media (max-width: 768px) {
    .hero-slider .carousel-item img {
        height: 300px;
    }
}

/* ========== FEATURE CARDS ========== */
.features .card {
    transition: transform 0.2s, box-shadow 0.2s;
}
.features .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.1) !important;
}
.features i {
    transition: transform 0.2s;
}
.features .card:hover i {
    transform: scale(1.05);
}

/* ========== CLIENTS LOGOS ========== */
.client-logo {
    max-height: 60px;
    width: auto;
    filter: grayscale(30%);
    transition: all 0.3s;
}
.client-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* ========== PRODUCTS LIST LINKS ========== */
.main-content ul li a {
    text-decoration: none;
    color: #2c3e50;
    display: inline-block;
    margin-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 4px;
    transition: 0.2s;
}
.main-content ul li a:hover {
    color: #dc2626;
    border-bottom-color: #dc2626;
    transform: translateX(3px);
}

/* ========== FOOTER ========== */
footer a {
    text-decoration: none;
}
footer a:hover {
    color: #dc2626 !important;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 768px) {
    .mega-menu .row {
        flex-direction: column;
    }
    .mega-menu .col-md-4 {
        margin-bottom: 1rem;
    }
    .features .card {
        margin-bottom: 1rem;
    }
}

/* =========================
   HEADER DESIGN
========================= */

.modern-header {
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 999;
}

/* Top Bar */

.top-bar {
    background: #0d1b2a;
    color: #fff;
    font-size: 14px;
}

.top-link {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.top-link:hover {
    color: #ff3b3b;
}

.top-link i {
    color: #ff3b3b;
    margin-right: 5px;
}

.company-text {
    font-weight: 600;
    letter-spacing: 1px;
}

.iso-badge {
    background: #ff3b3b;
    padding: 7px 15px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

/* Main Header */

.main-header {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.navbar {
    padding: 12px 0;
}

.navbar-brand img {
    max-height: 75px;
}

/* Navigation */

.navbar-nav .nav-link {
    color: #111;
    font-size: 15px;
    font-weight: 600;
    margin: 0 8px;
    position: relative;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ff3b3b;
}

/* Contact Button */

.contact-btn {
    background: #ff3b3b;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 30px;
    margin-left: 15px;
}

.contact-btn:hover {
    background: #0d1b2a;
    color: #fff !important;
}

/* Mega Menu */

.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    padding: 35px 0;
    border-radius: 0;
    margin-top: 18px;
}

.mega-box h6 {
    font-size: 16px;
    font-weight: 700;
    color: #ff3b3b;
    margin-bottom: 15px;
    border-left: 3px solid #ff3b3b;
    padding-left: 10px;
}

.mega-box a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 7px 0;
    transition: 0.3s;
    font-size: 14px;
}

.mega-box a:hover {
    color: #ff3b3b;
    padding-left: 5px;
}

/* Dropdown */

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.dropdown-item {
    padding: 10px 18px;
    font-size: 14px;
}

.dropdown-item:hover {
    background: #ff3b3b;
    color: #fff;
}

/* Sticky Header */

.main-header {
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Mobile */

@media(max-width:991px){

    .mega-menu {
        width: 100%;
        padding: 20px;
    }

    .navbar-nav {
        padding-top: 15px;
    }

    .contact-btn {
        margin-left: 0;
        margin-top: 10px;
        display: inline-block;
    }

    .navbar-brand img {
        max-height: 60px;
    }

}

@media(max-width:767px){

    .top-bar {
        text-align: center;
    }

    .top-link {
        display: inline-block;
        margin-bottom: 5px;
    }

    .iso-badge {
        display: inline-block;
        margin-top: 5px;
    }

}
/* =========================
   MODERN FOOTER DESIGN
========================= */

.modern-footer {
    background: #0d1b2a;
    color: rgba(255,255,255,0.75);
    padding-top: 80px;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

/* Footer Logo */

.footer-logo-box img {
    max-width: 220px;
    margin-bottom: 25px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}

.footer-about {
    font-size: 15px;
    line-height: 1.8;
}

/* Footer Title */

.footer-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55px;
    height: 3px;
    background: #ff3b3b;
    border-radius: 10px;
}

/* Footer Links */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links li a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: 0.3s;
    font-size: 15px;
}

.footer-links li a:hover {
    color: #ff3b3b;
    padding-left: 5px;
}

/* Contact Info */

.footer-contact p {
    margin-bottom: 18px;
    line-height: 1.7;
    font-size: 15px;
}

.footer-contact i {
    color: #ff3b3b;
    margin-right: 10px;
}

.footer-contact a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: 0.3s;
}

.footer-contact a:hover {
    color: #ff3b3b;
}

/* Social Icons */

.footer-social a {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    margin-right: 10px;
    transition: 0.3s;
    font-size: 18px;
}

.footer-social a:hover {
    background: #ff3b3b;
    transform: translateY(-5px);
}

/* Bottom Footer */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 60px;
    padding: 25px 0;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
}

.designer-name {
    color: #ffffff;
    font-weight: 600;
}

/* Responsive */

@media(max-width:991px){

    .modern-footer {
        padding-top: 60px;
    }

    .footer-title {
        margin-top: 10px;
    }

}

@media(max-width:767px){

    .footer-bottom {
        text-align: center;
    }

    .footer-logo-box img {
        max-width: 180px;
    }

}