/* CSS Variables & Reset */
:root {
    --primary: #0B1F3A;
    --secondary: #D9232D;
    --accent: #0066CC;
    --light: #F8FAFC;
    --dark: #111827;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
    background: #fff;
    color: var(--dark);
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

.bg-primary-dark {
    background-color: var(--primary);
}

.text-secondary-red {
    color: var(--secondary);
}

.btn-red {
    background: var(--secondary);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-red:hover {
    background: #b71c1c;
    color: #fff;
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(217, 35, 45, 0.3);
}

.btn-outline-red {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline-red:hover {
    background: var(--secondary);
    color: #fff;
}

/* Top header */
.top-header {
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    padding: 6px 0;
}

.top-header a {
    color: #fff;
    margin-right: 20px;
    transition: 0.2s;
}

.top-header a:hover {
    color: var(--secondary);
}

.top-header .social-icons a {
    margin-right: 12px;
    font-size: 0.9rem;
}

/* Navbar */
.navbar-custom {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    transition: all 0.3s;
}

.navbar-custom.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.navbar-custom .nav-link {
    font-weight: 600;
    color: var(--dark);
    margin: 0 10px;
    transition: 0.2s;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--secondary);
}

.navbar-custom .navbar-brand img {
    height: 45px;
}

/* glassmorphism cards */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Swiper hero */
.swiper-slide {
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 31, 58, 0.5);
}

.swiper-slide .content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    padding: 2rem;
}

.swiper-slide .content h1 {
    font-size: 3.2rem;
    font-weight: 700;
}

/* services */
.service-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* counters */
.counter-box {
    text-align: center;
    padding: 2rem 1rem;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
}

/* glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Banner */
.inner-banner {
    background: linear-gradient(rgba(11, 31, 58, 0.7), rgba(11, 31, 58, 0.8)), url('https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?w=1400') center/cover no-repeat;
    padding: 80px 0;
    color: #fff;
}

.breadcrumb-custom .breadcrumb-item a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb-custom .breadcrumb-item.active {
    color: var(--secondary);
}

/* blog card */
.blog-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    background: #fff;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card .badge {
    background: var(--secondary);
    color: #fff;
}

/* category card */
.cat-card {
    padding: 1.5rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: 0.3s;
    text-align: center;
}

.cat-card:hover {
    transform: translateY(-10px);
    background: var(--primary);
    color: #fff;
}

.cat-card:hover i {
    color: var(--secondary);
}

/* author card */
.author-card {
    padding: 1.5rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: 0.3s;
    text-align: center;
}

.author-card:hover {
    transform: scale(1.02);
}

.author-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* newsletter */
.newsletter-bg {
    background: linear-gradient(135deg, var(--primary), #1a365d);
}

.cat-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 0.8rem;
}

/* news timeline */
.news-item {
    border-left: 3px solid var(--secondary);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

/* certificate card */
.cert-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    background: #fff;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cert-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.cert-card .card-body {
    padding: 1.5rem;
}

/* contact card */
.contact-card {
    padding: 2rem;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: 0.3s;
    text-align: center;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.contact-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* certificate card */
.cert-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    background: #fff;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cert-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.cert-card .card-body {
    padding: 1.5rem;
}

/* form */
.form-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

/* map */
.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* feature card */
.feature-card {
    padding: 1.5rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: 0.3s;
    text-align: center;
}

/* emergency */
.emergency-bg {
    background: linear-gradient(135deg, var(--primary), #1a365d);
}

.feature-card:hover {
    transform: scale(1.03);
    background: var(--primary);
    color: #fff;
}

.feature-card:hover i {
    color: var(--secondary);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 0.8rem;
}

/* verification card */
.verify-card {
    padding: 1.5rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: 0.3s;
    text-align: center;
}

.verify-card:hover {
    transform: translateY(-8px);
}

/* industry card */
.industry-card {
    padding: 1.5rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: 0.3s;
    text-align: center;
}

.industry-card:hover {
    transform: scale(1.03);
    background: var(--primary);
    color: #fff;
}

.industry-card:hover i {
    color: var(--secondary);
}



/* mission cards */
.mission-card {
    border-radius: 24px;
    padding: 2rem;
    transition: 0.3s;
    background: #fff;
    box-shadow: var(--shadow);
}

.mission-card:hover {
    transform: translateY(-10px);
}

/* process step */
.process-step {
    text-align: center;
    position: relative;
}

.process-step .step-circle {
    width: 70px;
    height: 70px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
}

.process-connector {
    height: 3px;
    background: var(--secondary);
    opacity: 0.3;
    width: 80%;
    margin: 0 auto;
}


/* team card */
.team-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    background: #fff;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}



/* timeline */
.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 50px;
    bottom: -20px;
    width: 3px;
    background: var(--secondary);
    opacity: 0.3;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

/* service card */
.service-card {
    border-radius: 24px;
    padding: 2rem;
    background: #fff;
    box-shadow: var(--shadow);
    transition: 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
}

.service-card ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--secondary);
    margin-right: 8px;
}

/* project card */
.project-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    background: #fff;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.4s;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card .card-body {
    padding: 1.5rem;
}

/* filter buttons */
.filter-btn {
    margin: 0 6px 12px 0;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--secondary);
    background: transparent;
    color: var(--secondary);
    font-weight: 600;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--secondary);
    color: #fff;
}

/* section */
section {
    overflow: hidden;
}

/* showcase */
.showcase-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.showcase-item .image {
    flex: 1;
    min-width: 280px;
}

.showcase-item .content {
    flex: 1;
    min-width: 280px;
}

.showcase-item .content ul {
    list-style: none;
    padding-left: 0;
}

.showcase-item .content ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--secondary);
    margin-right: 8px;
}

/* timeline */
.step-circle {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 0.8rem;
}

/* lightbox gallery */
.gallery-img {
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
}

.gallery-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: 0.3s;
}

.gallery-img:hover img {
    transform: scale(1.05);
}

.gallery-section {
    background: #f8f9fa;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: .5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .4s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox */

#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
    animation: zoomIn .4s ease;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
    transition: .3s;
}

.close-btn:hover {
    color: #ffc107;
}

@keyframes zoomIn {
    from {
        transform: scale(.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */

@media(max-width:768px) {

    .gallery-item img {
        height: 220px;
    }

    .close-btn {
        font-size: 35px;
        right: 20px;
    }

    #lightbox img {
        max-width: 95%;
    }
}



/* counter */
.counter-box {
    text-align: center;
    padding: 2rem 1rem;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
}


/* footer */
.footer-dark {
    background: var(--primary);
    color: #ccc;
}

.footer-dark a {
    color: #ddd;
    transition: 0.2s;
}

.footer-dark a:hover {
    color: var(--secondary);
}

.footer-dark .border-top {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* floating buttons */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-btn .btn-whatsapp {
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.floating-btn .btn-call {
    background: var(--secondary);
    color: #fff;
    border-radius: 50px;
    padding: 12px 20px;
    margin-right: 12px;
    box-shadow: 0 6px 20px rgba(217, 35, 45, 0.4);
}

/* modal popup */
.modal-popup .modal-content {
    border-radius: 24px;
    border: none;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* responsive */
@media (max-width: 992px) {
    .top-header .d-none {
        display: none !important;
    }

    .swiper-slide .content h1 {
        font-size: 2.2rem;
    }
}

/* responsive */
@media (max-width: 992px) {
    .top-header .d-none {
        display: none !important;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-item::before {
        left: 30px;
        top: 70px;
        bottom: -10px;
    }
}

/* team card */
.team-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    background: #fff;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.team-card .card-body {
    padding: 1.5rem;
}

/* department card */
.dept-card {
    padding: 1.5rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: 0.3s;
    text-align: center;
}

.dept-card:hover {
    transform: translateY(-10px);
    background: var(--primary);
    color: #fff;
}

.dept-card:hover i {
    color: var(--secondary);
}

.dept-card i {
    font-size: 2.8rem;
    color: var(--secondary);
    margin-bottom: 0.8rem;
}

/* definition card */
.def-card {
    padding: 1.5rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: 0.3s;
    text-align: center;
}

.def-card:hover {
    transform: translateY(-10px);
    background: var(--primary);
    color: #fff;
}

.def-card:hover i {
    color: var(--secondary);
}

.def-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 0.8rem;
}

/* service mini card */
.mini-card {
    padding: 1rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: 0.3s;
    text-align: center;
}

.mini-card:hover {
    transform: scale(1.03);
    background: var(--primary);
    color: #fff;
}

.mini-card:hover i {
    color: var(--secondary);
}

.mini-card i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* info card */
.info-card {
    padding: 1.5rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: 0.3s;
    text-align: center;
}

.info-card:hover {
    transform: translateY(-10px);
    background: var(--primary);
    color: #fff;
}

.info-card:hover i {
    color: var(--secondary);
}

.info-card i {
    font-size: 2.8rem;
    color: var(--secondary);
    margin-bottom: 0.8rem;
}

/* feature icon card */
.feature-icon-card {
    padding: 1.5rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: 0.3s;
    text-align: center;
}

.feature-icon-card:hover {
    transform: scale(1.03);
    background: var(--primary);
    color: #fff;
}

.feature-icon-card:hover i {
    color: var(--secondary);
}

.feature-icon-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 0.8rem;
}

/* feature card */
.feature-card {
    padding: 1.5rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: scale(1.03);
    background: var(--primary);
    color: #fff;
}

.feature-card:hover i {
    color: var(--secondary);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 0.8rem;
}

/* responsive */
@media (max-width: 992px) {
    .top-header .d-none {
        display: none !important;
    }
}

/* responsive */
@media (max-width: 992px) {
    .top-header .d-none {
        display: none !important;
    }

    .showcase-item {
        flex-direction: column;
    }

    .showcase-item .image {
        order: 1;
    }

    .showcase-item .content {
        order: 2;
    }
}

/* Scroll to top */
#scrollTop {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(217, 35, 45, 0.4);
}