/* ============================================
   N & M IMMIGRATION SERVICES - COMPLETE CSS
   Brand Colors: Red (#EB180A), Dark Blue (#02445E), Black, White
   ============================================ */

/* ===== CSS VARIABLES / ROOT ===== */
:root {
    --nm-red: #EB180A;
    --nm-red-dark: #C9140A;
    --nm-red-light: #FF3B2D;
    --nm-blue: #02445E;
    --nm-blue-dark: #01304A;
    --nm-blue-light: #036280;
    --nm-black: #1A1A1A;
    --nm-dark: #1A1A1A;
    --nm-white: #FFFFFF;
    --nm-gray: #F8F9FA;
    --nm-gray-dark: #6C757D;
    --nm-shadow: 0 10px 40px rgba(2, 68, 94, 0.12);
    --nm-shadow-hover: 0 20px 60px rgba(235, 24, 10, 0.15);
    --nm-transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--nm-black);
    background: var(--nm-white);
    overflow-x: hidden;
}

a {
    color: var(--nm-blue);
    text-decoration: none;
    transition: var(--nm-transition);
}

a:hover {
    color: var(--nm-red);
}

.btn-primary {
    background: var(--nm-red) !important;
    border-color: var(--nm-red) !important;
    color: var(--nm-white) !important;
}

.btn-primary:hover {
    background: var(--nm-blue) !important;
    border-color: var(--nm-blue) !important;
    color: var(--nm-white) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(235, 24, 10, 0.3);
}

.btn-outline-primary {
    color: var(--nm-red) !important;
    border-color: var(--nm-red) !important;
}

.btn-outline-primary:hover {
    background: var(--nm-red) !important;
    border-color: var(--nm-red) !important;
    color: var(--nm-white) !important;
}

.text-primary {
    color: var(--nm-red) !important;
}

.text-secondary {
    color: var(--nm-blue) !important;
}

.bg-primary {
    background: var(--nm-red) !important;
}

.bg-secondary {
    background: var(--nm-blue) !important;
}

/* ============================================
   SPINNER
   ============================================ */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background: var(--nm-white);
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#spinner .spinner-border {
    color: var(--nm-red) !important;
    border-width: 4px;
}

/* ============================================
   BACK TO TOP - MODERN & PREMIUM
   ============================================ */

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 55px;
    height: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--nm-red), var(--nm-red-dark));
    color: var(--nm-white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--nm-transition);
    z-index: 999;
    box-shadow: 0 8px 30px rgba(235, 24, 10, 0.35);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--nm-blue), var(--nm-blue-light));
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 40px rgba(2, 68, 94, 0.4);
    color: var(--nm-white);
}

.back-to-top i {
    font-size: 18px;
    margin-bottom: 1px;
    transition: var(--nm-transition);
}

.back-to-top:hover i {
    animation: arrowUp 0.6s ease;
}

.back-to-top .back-to-top-text {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Arrow Animation */
@keyframes arrowUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-8px);
        opacity: 0;
    }
    51% {
        transform: translateY(8px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Pulse Effect */
.back-to-top::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nm-red), var(--nm-blue));
    opacity: 0;
    transition: var(--nm-transition);
    z-index: -1;
    filter: blur(8px);
}

.back-to-top.show::before {
    opacity: 0.4;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }
}

/* ============================================
   BACK TO TOP - RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 48px;
        height: 48px;
    }
    
    .back-to-top i {
        font-size: 16px;
    }
    
    .back-to-top .back-to-top-text {
        font-size: 7px;
    }
}

@media (max-width: 576px) {
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 42px;
        height: 42px;
    }
    
    .back-to-top i {
        font-size: 14px;
    }
    
    .back-to-top .back-to-top-text {
        display: none;
    }
}
/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-weight: 600;
    transition: var(--nm-transition);
    border-radius: 50px;
    padding: 12px 30px;
}

.btn-square {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-md-square {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--nm-red) !important;
    border-color: var(--nm-red) !important;
    color: var(--nm-white) !important;
    position: relative;
    overflow: hidden;
}

.btn.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn.btn-primary:hover {
    background: var(--nm-blue) !important;
    border-color: var(--nm-blue) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(235, 24, 10, 0.35);
}

.btn.btn-light {
    background: var(--nm-white);
    border-color: var(--nm-red);
    color: var(--nm-red);
}

.btn.btn-light:hover {
    background: var(--nm-red);
    border-color: var(--nm-red);
    color: var(--nm-white);
}

.btn-hover {
    transition: var(--nm-transition);
}

.btn-hover:hover {
    color: var(--nm-blue) !important;
}

/* ============================================
   SECTION TITLE
   ============================================ */
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--nm-red);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    background: rgba(235, 24, 10, 0.08);
    padding: 6px 20px;
    border-radius: 30px;
}

/*.section-title::before {*/
/*    content: "";*/
/*    width: 50px;*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    right: 0;*/
/*    transform: translateY(-50%);*/
/*    margin-right: -50px;*/
/*    border: 1px solid var(--nm-red) !important;*/
/*}*/

/*.section-title::after {*/
/*    content: "";*/
/*    width: 50px;*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 0;*/
/*    transform: translateY(-50%);*/
/*    margin-left: -50px;*/
/*    border: 1px solid var(--nm-red) !important;*/
/*}*/

.section-about-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--nm-red);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    background: rgba(235, 24, 10, 0.08);
    padding: 6px 20px;
    border-radius: 30px;
}

.section-about-title::before {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-right: -50px;
    border: 1px solid var(--nm-red) !important;
}

/* ============================================
   TOPBAR
   ============================================ */
.fixed-top .container {
    transition: var(--nm-transition);
}

.topbar {
    padding: 6px 20px;
    background: var(--nm-blue) !important;
    color: var(--nm-white);
}

.topbar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--nm-transition);
}

.topbar a:hover {
    color: var(--nm-red) !important;
}

.topbar a i {
    color: var(--nm-red);
    margin-right: 5px;
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-light .navbar-nav .nav-link {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    padding: 35px 18px;
    color: var(--nm-white) !important;
    font-size: 16px;
    font-weight: 500;
    outline: none;
    transition: var(--nm-transition);
    letter-spacing: 0.5px;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 22px 18px;
    color: var(--nm-black) !important;
}



.navbar-light .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--nm-red);
    transition: var(--nm-transition);
    transform: translateX(-50%);
    border-radius: 3px;
}

.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link.active::before {
    width: 60%;
}

.navbar-light .navbar-brand h1 {
    color: var(--nm-white);
    font-weight: 700;
}

.sticky-top.navbar-light .navbar-brand h1 {
    color: var(--nm-red);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: var(--nm-transition);
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

/* ============================================
   DROPDOWN MENU - FIXED
   ============================================ */
.navbar .dropdown-menu {
    border: none;
    border-radius: 16px;
    padding: 12px 0;
    min-width: 250px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    background: var(--nm-white);
    margin-top: 10px;
    border: 1px solid rgba(235, 24, 10, 0.06);
}

.navbar .dropdown-menu .dropdown-item {
    padding: 10px 22px;
    color: var(--nm-black);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--nm-transition);
    position: relative;
    border-left: 3px solid transparent;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background: rgba(235, 24, 10, 0.05);
    color: var(--nm-red);
    border-left-color: var(--nm-red);
    padding-left: 28px;
}

.navbar .dropdown-menu .dropdown-item.active {
    background: rgba(235, 24, 10, 0.08);
    color: var(--nm-red);
    font-weight: 600;
    border-left-color: var(--nm-red);
}

    
@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        padding-top: 0;
        padding-bottom: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--nm-white);
        box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
        animation: slideDown 0.5s ease;
    }


    .navbar-light .navbar-nav .nav-link::before {
        display: none;
    }

    .navbar-light .navbar-nav .nav-link {
        position: relative;
    }

    .navbar-light .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 25px;
        left: 50%;
        width: 0;
        height: 3px;
        background: var(--nm-red);
        transition: var(--nm-transition);
        transform: translateX(-50%);
        border-radius: 3px;
    }

    .sticky-top.navbar-light .navbar-nav .nav-link::after {
        bottom: 15px;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 60%;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::after {
        display: none;
    }
    
    /* Desktop Dropdown - Hover Effect */
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }
    
    .navbar .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) translateX(-160px);
    }
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--nm-white);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    }

    .navbar-light .navbar-brand h1 {
        color: var(--nm-red);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 16px;
        border: 2px solid var(--nm-red);
        color: var(--nm-red);
        border-radius: 8px;
    }

    .navbar.navbar-expand-lg .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(235, 24, 10, 0.25);
    }

    .navbar-light .navbar-collapse {
        /*margin-top: 15px;*/
        border-top: 2px solid rgba(235, 24, 10, 0.1);
        padding-top: 15px;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 12px 0;
        color: var(--nm-black) !important;
    }

    .navbar-light .navbar-nav .nav-link::before {
        display: none;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: var(--nm-red) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
    
    /* Mobile Dropdown */
    .navbar .dropdown-menu {
        border-radius: 12px;
        padding: 8px 0;
        margin-top: 5px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        background: rgba(248, 249, 250, 0.95);
        border: none;
    }
    
    .navbar .dropdown-menu .dropdown-item {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--nm-white);
        box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
        animation: slideDown 0.5s ease;
    }


    .navbar-light .navbar-nav .nav-link::before {
        display: none;
    }

    .navbar-light .navbar-nav .nav-link {
        position: relative;
    }

    .navbar-light .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 25px;
        left: 50%;
        width: 0;
        height: 3px;
        background: var(--nm-red);
        transition: var(--nm-transition);
        transform: translateX(-50%);
        border-radius: 3px;
    }

    .sticky-top.navbar-light .navbar-nav .nav-link::after {
        bottom: 15px;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 0%;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::after {
        display: none;
    }
}

    @keyframes slideDown {
        from {
            transform: translateY(-100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
/* ============================================
   CAROUSEL / HERO - FULLY RESPONSIVE
   ============================================ */

.carousel-header {
    position: relative;
    overflow: hidden;
}

.carousel-header .carousel-inner .carousel-item {
    position: relative;
    min-height: 100vh;
    height: 100vh;
}

.carousel-header .carousel-inner .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== OVERLAY GRADIENT ===== */
.carousel-header .carousel-inner .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.5) 0%, 
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

/* ===== CAROUSEL CAPTION ===== */
.carousel-header .carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    padding: 80px 20px 40px;
}

.carousel-header .carousel-inner .carousel-item .carousel-caption h1 {
    font-weight: 800;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.carousel-header .carousel-inner .carousel-item .carousel-caption h1 .text-primary {
    color: var(--nm-red) !important;
    text-shadow: 0 0 40px rgba(235, 24, 10, 0.3);
}

.carousel-header .carousel-inner .carousel-item .carousel-caption p {
    font-size: 1.25rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* ===== CAROUSEL BUTTONS ===== */
.carousel-header .carousel-control-prev,
.carousel-header .carousel-control-next {
    z-index: 3;
    width: 80px;
    opacity: 1;
}

.carousel-header .carousel-control-prev .carousel-control-prev-icon,
.carousel-header .carousel-control-next .carousel-control-next-icon {
    width: 60px;
    height: 60px;
    background-size: 40% 40%;
    background-color: var(--nm-red) !important;
    border-radius: 50%;
    transition: var(--nm-transition);
    box-shadow: 0 8px 30px rgba(235, 24, 10, 0.3);
}

.carousel-header .carousel-control-prev .carousel-control-prev-icon:hover,
.carousel-header .carousel-control-next .carousel-control-next-icon:hover {
    background-color: var(--nm-blue) !important;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(2, 68, 94, 0.3);
}

/* ============================================
   RESPONSIVE - CAROUSEL
   ============================================ */

/* ===== LARGE DESKTOP (1200px+) ===== */
@media (min-width: 1200px) {
    .carousel-header .carousel-inner .carousel-item {
        min-height: 100vh;
        height: 100vh;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption h1 {
        font-size: 5rem;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption p {
        font-size: 1.4rem;
    }
}

/* ===== DESKTOP (992px - 1199px) ===== */
@media (max-width: 1199px) {
    .carousel-header .carousel-inner .carousel-item {
        min-height: 90vh;
        height: 90vh;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption h1 {
        font-size: 4.2rem;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption p {
        font-size: 1.2rem;
    }
}

/* ===== TABLET (768px - 991px) ===== */
@media (max-width: 991px) {
    .carousel-header .carousel-inner .carousel-item {
        min-height: 80vh;
        height: 80vh;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption {
        padding: 100px 30px 30px;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption h1 {
        font-size: 3.5rem;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption p {
        font-size: 1.1rem;
        max-width: 600px;
    }
    
    .carousel-header .carousel-control-prev,
    .carousel-header .carousel-control-next {
        width: 60px;
    }
    
    .carousel-header .carousel-control-prev .carousel-control-prev-icon,
    .carousel-header .carousel-control-next .carousel-control-next-icon {
        width: 50px;
        height: 50px;
        background-size: 35% 35%;
    }
}

/* ===== MOBILE LARGE (576px - 767px) ===== */
@media (max-width: 767px) {
    .carousel-header .carousel-inner .carousel-item {
        min-height: 70vh;
        height: 70vh;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption {
        padding: 80px 20px 20px;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption h1 {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption p {
        font-size: 1rem;
        max-width: 500px;
        margin-bottom: 20px;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .carousel-header .carousel-control-prev,
    .carousel-header .carousel-control-next {
        width: 40px;
    }
    
    .carousel-header .carousel-control-prev .carousel-control-prev-icon,
    .carousel-header .carousel-control-next .carousel-control-next-icon {
        width: 40px;
        height: 40px;
        background-size: 30% 30%;
    }
}

/* ===== MOBILE SMALL (400px - 575px) ===== */
@media (max-width: 575px) {
    .carousel-header .carousel-inner .carousel-item {
        min-height: 60vh;
        height: 60vh;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption {
        padding: 70px 15px 15px;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption h1 {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption p {
        font-size: 0.9rem;
        max-width: 100%;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .carousel-header .carousel-control-prev,
    .carousel-header .carousel-control-next {
        width: 30px;
        opacity: 0.6;
    }
    
    .carousel-header .carousel-control-prev .carousel-control-prev-icon,
    .carousel-header .carousel-control-next .carousel-control-next-icon {
        width: 32px;
        height: 32px;
        background-size: 25% 25%;
    }
}

/* ===== MOBILE EXTRA SMALL (below 400px) ===== */
@media (max-width: 399px) {
    .carousel-header .carousel-inner .carousel-item {
        min-height: 50vh;
        height: 50vh;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption {
        padding: 60px 10px 10px;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption h1 {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption .btn {
        padding: 6px 16px;
        font-size: 0.75rem;
    }
    
    .carousel-header .carousel-control-prev,
    .carousel-header .carousel-control-next {
        display: none;
    }
}

/* ============================================
   CAROUSEL INDICATORS
   ============================================ */
.carousel-header .carousel .carousel-indicators {
    z-index: 3;
    bottom: 30px;
}

.carousel-header .carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--nm-white);
    background: transparent;
    margin: 0 6px;
    transition: var(--nm-transition);
}

.carousel-header .carousel .carousel-indicators button.active {
    background: var(--nm-red);
    border-color: var(--nm-red);
    width: 40px;
    border-radius: 6px;
}

@media (max-width: 767px) {
    .carousel-header .carousel .carousel-indicators {
        bottom: 15px;
    }
    
    .carousel-header .carousel .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
    
    .carousel-header .carousel .carousel-indicators button.active {
        width: 25px;
    }
}

/* ============================================
   ANIMATED TEXT - OPTIONAL
   ============================================ */
.carousel-header .carousel-inner .carousel-item .carousel-caption h1 {
    animation: slideUp 1s ease forwards;
    opacity: 0;
}

.carousel-header .carousel-inner .carousel-item .carousel-caption p {
    animation: slideUp 1s ease 0.3s forwards;
    opacity: 0;
}

.carousel-header .carousel-inner .carousel-item .carousel-caption .btn {
    animation: slideUp 1s ease 0.6s forwards;
    opacity: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SEARCH BAR - RESPONSIVE
   ============================================ */
.search-bar {
    position: relative;
    z-index: 3;
    margin-top: -80px;
    transition: var(--nm-transition);
}

.search-bar .container {
    background: var(--nm-white);
    border-radius: 20px;
    padding: 30px 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

@media (max-width: 991px) {
    .search-bar {
        margin-top: -50px;
    }
    
    .search-bar .container {
        padding: 25px 20px;
        border-radius: 16px;
    }
}

@media (max-width: 767px) {
    .search-bar {
        margin-top: -30px;
    }
    
    .search-bar .container {
        padding: 20px 15px;
        border-radius: 14px;
    }
    
    .search-bar .container .row {
        gap: 10px;
    }
}

@media (max-width: 575px) {
    .search-bar {
        margin-top: -20px;
    }
    
    .search-bar .container {
        padding: 15px 12px;
        border-radius: 12px;
    }
}

/* ============================================
   FIX: SEARCH BAR ON CAROUSEL
   ============================================ */
@media (max-width: 768px) {
    .search-bar .container {
        margin: 0 10px;
    }
}

/* ===== LANDSCAPE PHONE FIX ===== */
@media (max-height: 600px) and (orientation: landscape) {
    .carousel-header .carousel-inner .carousel-item {
        min-height: 100vh;
        height: 100vh;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .carousel-header .carousel-inner .carousel-item .carousel-caption {
        padding: 60px 20px 20px;
    }
}

/* ============================================
   BREADCRUMB WITH IMAGE - COMPLETE
   ============================================ */

/* Thora sa dark overlay - lekin blue nahi */
.bg-breadcrumb {
    background: 
                url('../img/tourist.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 150px 0 40px 0;      /* Kam kiya */
    min-height: 200px;            /* Kam kiya */
}

/**/
/*.bg-breadcrumb::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    height: 50px;*/
/*    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,213.3C672,224,768,224,864,213.3C960,203,1056,181,1152,170.7C1248,160,1344,160,1392,160L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;*/
/*    background-size: cover;*/
/*    pointer-events: none;*/
/*}*/

.bg-breadcrumb .container {
    position: relative;
    z-index: 1;
}

.bg-breadcrumb h3 {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 5px;           /* Kam kiya */
}

.bg-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--nm-red) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bg-breadcrumb .breadcrumb-item a:hover {
    color: #ffffff !important;
}

.bg-breadcrumb .breadcrumb-item.active {
    color: var(--nm-white) !important;
}

.bg-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
    content: "›";
    font-size: 1.5rem;
    font-weight: 300;
}

/* ============================================
   RESPONSIVE - Mobile me height aur bhi kam
   ============================================ */

/* TABLET (768px - 991px) */
@media (max-width: 991px) {
    .bg-breadcrumb {
        padding: 100px 0 30px 0;     /* Aur kam */
        min-height: 150px;            /* Aur kam */
        background-position: center 35%;
    }
    
    .bg-breadcrumb h3 {
        font-size: 1.8rem !important;
        margin-bottom: 3px;
    }
}

/* MOBILE LARGE (576px - 767px) */
@media (max-width: 767px) {
    .bg-breadcrumb {
        padding: 80px 0 25px 0;      /* Aur kam */
        min-height: 120px;            /* Aur kam */
        background-position: center 30%;
    }
    
    .bg-breadcrumb h3 {
        font-size: 1.5rem !important;
        margin-bottom: 2px;
    }
}

/* MOBILE SMALL ( < 576px ) */
@media (max-width: 576px) {
    .bg-breadcrumb {
        padding: 60px 0 20px 0;      /* Aur kam */
        min-height: 100px;            /* Aur kam */
        background-position: center 25%;
    }
    
    .bg-breadcrumb h3 {
        font-size: 1.3rem !important;
        margin-bottom: 2px;
    }
    
    .bg-breadcrumb .breadcrumb-item {
        font-size: 0.75rem;
    }
    
    .bg-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        font-size: 1rem;
    }
}

/* EXTRA SMALL ( < 400px ) */
@media (max-width: 400px) {
    .bg-breadcrumb {
        padding: 50px 0 15px 0;      /* Aur bhi kam */
        min-height: 80px;             /* Aur bhi kam */
        background-position: center 20%;
    }
    
    .bg-breadcrumb h3 {
        font-size: 1.1rem !important;
        margin-bottom: 1px;
    }
    
    .bg-breadcrumb .breadcrumb-item {
        font-size: 0.65rem;
    }
    
    .bg-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        font-size: 0.8rem;
    }
}

/* LARGE SCREENS ( > 1400px ) */
@media (min-width: 1400px) {
    .bg-breadcrumb {
        padding: 180px 0 50px 0;
        min-height: 250px;
        background-size: cover;
        background-position: center;
    }
}

/* MOBILE SMALL ( < 576px ) */
@media (max-width: 576px) {
    .bg-breadcrumb {
        padding: 40px 0 15px 0;      /* Minimum */
        min-height: 70px;            /* Minimum */
        background-position: center 25%;
    }
    
    .bg-breadcrumb h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0;
    }
}
/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--nm-white);
}

.about .container .section-about-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--nm-red);
}

.about .container .section-about-title::before {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-right: -50px;
    border: 1px solid var(--nm-red) !important;
}

.about h1 span.text-primary {
    color: var(--nm-red) !important;
}

.about .btn-primary {
    background: var(--nm-red) !important;
    border-color: var(--nm-red) !important;
}

.about .btn-primary:hover {
    background: var(--nm-blue) !important;
    border-color: var(--nm-blue) !important;
}

.about .fa-arrow-right {
    color: var(--nm-red);
}

/* ============================================
   SERVICES - COMPLETE RESPONSIVE CSS
   ============================================ */

/* ---------- BASE STYLES ---------- */
.service {
    background: var(--nm-gray);
    padding: 60px 0;
}

.section-title {
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
    font-weight: 600;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--nm-red);
}

.section-title::before {
    right: calc(100% + 15px);
}

.section-title::after {
    left: calc(100% + 15px);
}

/* ---------- SERVICE CARDS ---------- */
.service .service-content-inner {
    transition: var(--nm-transition);
    border-color: var(--nm-red) !important;
    min-height: 180px;
    border-radius: 10px !important;
    overflow: hidden;
}

.service .service-content-inner:hover {
    background: var(--nm-blue) !important;
    border-color: var(--nm-blue) !important;
    transform: translateY(-5px);
    box-shadow: var(--nm-shadow-hover);
}

.service .service-content-inner .service-content h5,
.service .service-content-inner .service-content p,
.service .service-content-inner .service-icon i {
    transition: var(--nm-transition);
}

.service .service-content-inner .service-content h5 {
    color: var(--nm-blue);
}

.service .service-content-inner:hover .service-content h5,
.service .service-content-inner:hover .service-content p,
.service .service-content-inner:hover .service-icon i {
    color: var(--nm-white) !important;
}

.service .service-icon i {
    color: var(--nm-red);
}

.service .service-content .btn-primary {
    background: var(--nm-red) !important;
    border-color: var(--nm-red) !important;
}

.service .service-content .btn-primary:hover {
    background: var(--nm-blue) !important;
    border-color: var(--nm-blue) !important;
}

/* ---------- ADDITIONAL CARD STYLES ---------- */
.service-content {
    flex: 1;
    padding: 1rem 1.5rem;
}

.service-content h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem !important;
}

.service-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.service-content .btn {
    font-size: 0.85rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-top: 0.75rem !important;
}

.service-icon {
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 3rem;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* --- LAPTOP / DESKTOP (1200px - 1400px) --- */
@media screen and (max-width: 1400px) {
    .service-content h5 {
        font-size: 1rem;
    }
    
    .service-content p {
        font-size: 0.85rem;
    }
    
    .service-icon i {
        font-size: 2.5rem;
    }
    
    .service-icon {
        min-width: 70px;
    }
}

/* --- TABLET / SMALL LAPTOP (992px - 1199px) --- */
@media screen and (max-width: 1199px) {
    .service {
        padding: 50px 0;
    }
    
    .service .service-content-inner {
        min-height: 160px;
        padding: 1.2rem !important;
    }
    
    .service-content h5 {
        font-size: 1rem;
    }
    
    .service-content p {
        font-size: 0.85rem;
    }
    
    .service-content .btn {
        font-size: 0.8rem;
        padding: 0.35rem 1rem;
    }
    
    .service-icon i {
        font-size: 2.2rem;
    }
    
    .service-icon {
        min-width: 60px;
        padding: 0.8rem !important;
    }
}

/* --- TABLET PORTRAIT (768px - 991px) --- */
@media screen and (max-width: 991px) {
    .service {
        padding: 40px 0;
    }
    
    .service .service-content-inner {
        min-height: 140px;
        padding: 1rem !important;
        flex-direction: row !important;
    }
    
    /* Fix for right-aligned text on left column */
    .col-lg-6:first-child .service-content-inner .service-content {
        text-align: left !important;
    }
    
    /* Reorder icon and content for left column */
    .col-lg-6:first-child .service-content-inner {
        flex-direction: row !important;
    }
    
    .col-lg-6:first-child .service-content-inner .service-icon {
        order: -1;
    }
    
    .service-content {
        padding: 0.5rem 1rem;
    }
    
    .service-content h5 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem !important;
    }
    
    .service-content p {
        font-size: 0.82rem;
        margin-bottom: 0.5rem;
    }
    
    .service-content .btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.9rem;
        margin-top: 0.5rem !important;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    .service-icon {
        min-width: 55px;
        padding: 0.5rem !important;
    }
    
    .row.g-4 {
        --bs-gutter-y: 1rem;
        --bs-gutter-x: 1rem;
    }
    
    .mx-auto.text-center.mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mx-auto.text-center.mb-5 h1 {
        font-size: 2rem;
    }
}

/* --- MOBILE LARGE (576px - 767px) --- */
@media screen and (max-width: 767px) {
    .service {
        padding: 30px 0;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .service .service-content-inner {
        min-height: 120px;
        padding: 0.8rem !important;
        flex-direction: row !important;
        border-radius: 8px !important;
    }
    
    /* Fix alignment for all cards on mobile */
    .col-lg-6 .service-content-inner .service-content {
        text-align: left !important;
    }
    
    .col-lg-6 .service-content-inner .service-icon {
        order: -1;
    }
    
    .service-content {
        padding: 0.3rem 0.8rem;
    }
    
    .service-content h5 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem !important;
    }
    
    .service-content p {
        font-size: 0.78rem;
        line-height: 1.5;
        margin-bottom: 0.3rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .service-content .btn {
        font-size: 0.7rem;
        padding: 0.25rem 0.8rem;
        margin-top: 0.4rem !important;
    }
    
    .service-icon {
        min-width: 45px;
        padding: 0.4rem !important;
    }
    
    .service-icon i {
        font-size: 1.6rem;
    }
    
    .row.g-4 {
        --bs-gutter-y: 0.8rem;
        --bs-gutter-x: 0.8rem;
    }
    
    .mx-auto.text-center.mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    .mx-auto.text-center.mb-5 h1 {
        font-size: 1.6rem;
    }
    
    .mx-auto.text-center.mb-5 .section-title {
        font-size: 0.9rem;
    }
    
    .section-title::before,
    .section-title::after {
        width: 25px;
    }
    
    .section-title::before {
        right: calc(100% + 10px);
    }
    
    .section-title::after {
        left: calc(100% + 10px);
    }
    
    .col-12 .text-center .btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.8rem;
    }
}

/* --- MOBILE SMALL (320px - 575px) --- */
@media screen and (max-width: 575px) {
    .service {
        padding: 25px 0;
    }
    
    .service .service-content-inner {
        min-height: 100px;
        padding: 0.6rem !important;
        border-width: 2px !important;
    }
    
    .service-content {
        padding: 0.2rem 0.6rem;
    }
    
    .service-content h5 {
        font-size: 0.8rem;
        margin-bottom: 0.3rem !important;
    }
    
    .service-content p {
        font-size: 0.7rem;
        line-height: 1.4;
        -webkit-line-clamp: 2;
    }
    
    .service-content .btn {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
        margin-top: 0.3rem !important;
    }
    
    .service-icon {
        min-width: 38px;
        padding: 0.3rem !important;
    }
    
    .service-icon i {
        font-size: 1.3rem;
    }
    
    .row.g-4 {
        --bs-gutter-y: 0.6rem;
        --bs-gutter-x: 0.6rem;
    }
    
    .mx-auto.text-center.mb-5 {
        margin-bottom: 1rem !important;
    }
    
    .mx-auto.text-center.mb-5 h1 {
        font-size: 1.3rem;
    }
    
    .mx-auto.text-center.mb-5 .section-title {
        font-size: 0.75rem;
        padding: 0 5px !important;
    }
    
    .section-title::before,
    .section-title::after {
        width: 18px;
        height: 1.5px;
    }
    
    .section-title::before {
        right: calc(100% + 8px);
    }
    
    .section-title::after {
        left: calc(100% + 8px);
    }
    
    .col-12 .text-center .btn {
        font-size: 0.75rem;
        padding: 0.5rem 1.5rem;
        margin-top: 0.5rem !important;
    }
}

/* ---------- EXTRA: LANDSCAPE MOBILE FIX ---------- */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .service {
        padding: 20px 0;
    }
    
    .service .service-content-inner {
        min-height: 80px;
        padding: 0.5rem !important;
    }
    
    .service-content p {
        -webkit-line-clamp: 1;
        font-size: 0.7rem;
    }
    
    .service-content h5 {
        font-size: 0.8rem;
        margin-bottom: 0.2rem !important;
    }
    
    .service-icon i {
        font-size: 1.2rem;
    }
    
    .service-icon {
        min-width: 35px;
        padding: 0.2rem !important;
    }
    
    .row.g-4 {
        --bs-gutter-y: 0.4rem;
    }
}

/* ---------- HOVER EFFECTS FOR TOUCH DEVICES ---------- */
@media (hover: none) {
    .service .service-content-inner:hover {
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    
    .service .service-content-inner:hover .service-content h5,
    .service .service-content-inner:hover .service-content p,
    .service .service-content-inner:hover .service-icon i {
        color: inherit !important;
    }
    
    .service .service-content-inner:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* ---------- ACCESSIBILITY / REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    .service .service-content-inner {
        transition: none !important;
    }
    
    .service .service-content-inner:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* ---------- PRINT STYLES ---------- */
@media print {
    .service {
        background: white !important;
        padding: 20px 0 !important;
    }
    
    .service .service-content-inner {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
    
    .service .service-content .btn {
        display: none !important;
    }
    
    .service .service-content-inner:hover {
        background: transparent !important;
        transform: none !important;
    }
}
/* ============================================
   WHY CHOOSE US - Premium Animations
   ============================================ */

.why-choose-us {
    background: var(--nm-gray);
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.why-choose-us::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(235, 24, 10, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(2, 68, 94, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(235, 24, 10, 0.02) 0%, transparent 70%);
    animation: bgRotate 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes bgRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Floating Shapes */
.why-choose-us::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(235, 24, 10, 0.03), transparent 70%);
    top: -200px;
    right: -100px;
    animation: floatShape 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(30px, -40px) scale(1.1) rotate(90deg); }
    50% { transform: translate(-20px, 20px) scale(0.9) rotate(180deg); }
    75% { transform: translate(40px, -20px) scale(1.05) rotate(270deg); }
}

/* Section Title Animation */
.why-choose-us .section-title {
    animation: titleReveal 0.8s ease forwards;
    opacity: 0;
    position: relative;
    z-index: 1;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.why-choose-us h1 {
    animation: headingReveal 0.8s ease 0.2s forwards;
    opacity: 0;
    position: relative;
    z-index: 1;
}

@keyframes headingReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   CHOOSE CARD STYLES
   ============================================ */
.choose-card {
    background: var(--nm-white);
    border-radius: 20px;
    padding: 35px 25px !important;
    position: relative;
    overflow: hidden;
    transition: var(--nm-transition);
    cursor: pointer;
    z-index: 1;
    border: 1px solid rgba(235, 24, 10, 0.08);
    opacity: 0;
    animation: cardFadeUp 0.8s ease forwards;
    box-shadow: 0 10px 30px rgba(2, 68, 94, 0.05);
}

/* Staggered Card Entrance */
.choose-card:nth-child(1) { animation-delay: 0.1s; }
.choose-card:nth-child(2) { animation-delay: 0.3s; }
.choose-card:nth-child(3) { animation-delay: 0.5s; }
.choose-card:nth-child(4) { animation-delay: 0.7s; }

@keyframes cardFadeUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.9) rotateX(10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0);
    }
}

/* Animated Border Glow */
.choose-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--nm-red), var(--nm-blue), var(--nm-red), var(--nm-blue));
    background-size: 400% 400%;
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    animation: borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.choose-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--nm-white);
    border-radius: 20px;
    z-index: -1;
}

.choose-card:hover::before {
    opacity: 1;
}

.choose-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(235, 24, 10, 0.15), 0 10px 30px rgba(2, 68, 94, 0.1) !important;
}

/* ============================================
   CARD INNER
   ============================================ */
.choose-card .card-inner {
    position: relative;
    z-index: 1;
}

/* ============================================
   ICON ANIMATION
   ============================================ */
.choose-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(235, 24, 10, 0.06);
    border-radius: 50%;
    transition: var(--nm-transition);
    position: relative;
}

.choose-icon i {
    color: var(--nm-red) !important;
    transition: var(--nm-transition);
    font-size: 2.5rem !important;
}

/* Icon Glow Ring */
.choose-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nm-red), var(--nm-blue));
    opacity: 0;
    transition: var(--nm-transition);
    z-index: -1;
    filter: blur(12px);
}

/* Hover Animations */
.choose-card:hover .choose-icon {
    animation: iconWobble 0.7s ease;
    background: var(--nm-red);
}

.choose-card:hover .choose-icon::before {
    opacity: 0.4;
    animation: ringPulse 1.5s ease-in-out infinite;
}

.choose-card:hover .choose-icon i {
    color: var(--nm-white) !important;
    transform: scale(1.1);
}

@keyframes iconWobble {
    0% { transform: scale(1) rotate(0deg); }
    20% { transform: scale(1.15) rotate(-10deg); }
    40% { transform: scale(0.9) rotate(10deg); }
    60% { transform: scale(1.05) rotate(-5deg); }
    80% { transform: scale(0.95) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes ringPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
}

/* ============================================
   TITLE ANIMATION
   ============================================ */
.choose-card h5 {
    color: var(--nm-blue);
    font-weight: 700;
    font-size: 1.15rem;
    transition: var(--nm-transition);
    position: relative;
    display: inline-block;
}

/* Underline Animation */
.choose-card h5::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--nm-red);
    border-radius: 3px;
    transition: var(--nm-transition);
    transform: translateX(-50%);
}

.choose-card:hover h5::after {
    width: 80%;
}

.choose-card:hover h5 {
    color: var(--nm-red);
}

/* ============================================
   TEXT ANIMATION
   ============================================ */
.choose-card p {
    color: var(--nm-gray-dark);
    transition: var(--nm-transition);
    font-size: 0.95rem;
    line-height: 1.6;
}

.choose-card:hover p {
    color: var(--nm-black);
}

/* ============================================
   SHIMMER EFFECT
   ============================================ */
.choose-card .shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

.choose-card:hover .shimmer {
    left: 200%;
}

/* ============================================
   PARTICLES
   ============================================ */
.choose-card .particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: rgba(235, 24, 10, 0.15);
    border-radius: 50%;
    pointer-events: none;
    transition: var(--nm-transition);
    z-index: 0;
}

.choose-card .particle:nth-child(1) {
    top: 15%;
    left: 10%;
    animation: particleFloat1 6s ease-in-out infinite;
}

.choose-card .particle:nth-child(2) {
    top: 75%;
    right: 12%;
    animation: particleFloat2 8s ease-in-out infinite;
    width: 7px;
    height: 7px;
}

.choose-card .particle:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation: particleFloat3 7s ease-in-out infinite;
    width: 4px;
    height: 4px;
}

@keyframes particleFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(15px, -25px) scale(1.5); opacity: 0.8; }
    50% { transform: translate(-10px, -40px) scale(0.8); opacity: 0.5; }
    75% { transform: translate(20px, -15px) scale(1.3); opacity: 0.7; }
}

@keyframes particleFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.2; }
    30% { transform: translate(-20px, -15px) scale(1.8); opacity: 0.7; }
    60% { transform: translate(10px, -35px) scale(0.7); opacity: 0.4; }
    90% { transform: translate(-15px, -20px) scale(1.4); opacity: 0.6; }
}

@keyframes particleFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.25; }
    20% { transform: translate(-10px, -30px) scale(1.6); opacity: 0.75; }
    50% { transform: translate(15px, -10px) scale(0.9); opacity: 0.4; }
    80% { transform: translate(-5px, -45px) scale(1.2); opacity: 0.6; }
}

.choose-card:hover .particle {
    background: rgba(235, 24, 10, 0.4);
}

/* ============================================
   CARD NUMBER (Optional - Add if needed)
   ============================================ */
.choose-card .card-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(235, 24, 10, 0.04);
    line-height: 1;
    font-family: 'Georgia', serif;
    transition: var(--nm-transition);
    z-index: 0;
}

.choose-card:hover .card-number {
    color: rgba(235, 24, 10, 0.08);
    transform: scale(1.1) rotate(-5deg);
}

/* ============================================
   DESCRIPTION TEXT ANIMATION
   ============================================ */
.why-choose-us .row.justify-content-center.mt-5 p {
    animation: textReveal 1s ease 0.5s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .choose-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .why-choose-us {
        padding: 60px 0 !important;
    }
    
    .choose-card {
        padding: 25px 20px !important;
    }
    
    .choose-icon {
        width: 70px;
        height: 70px;
    }
    
    .choose-icon i {
        font-size: 2rem !important;
    }
    
    .choose-card .particle {
        display: none;
    }
    
    .why-choose-us::after {
        width: 200px;
        height: 200px;
        top: -100px;
        right: -50px;
    }
}

@media (max-width: 576px) {
    .choose-card {
        padding: 20px 15px !important;
    }
    
    .choose-icon {
        width: 60px;
        height: 60px;
    }
    
    .choose-icon i {
        font-size: 1.8rem !important;
    }
}
/* ============================================
   VISA PROGRAMS - Premium Animations
   ============================================ */

.visa-programs {
    background: linear-gradient(135deg, var(--nm-gray) 0%, var(--nm-white) 100%);
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.visa-programs::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(235, 24, 10, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(2, 68, 94, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(235, 24, 10, 0.02) 0%, transparent 70%);
    animation: bgFloat 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes bgFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, -2%) rotate(1deg); }
    66% { transform: translate(-1%, 1%) rotate(-1deg); }
}

/* Floating Dots Background */
.visa-programs::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(rgba(235, 24, 10, 0.03) 1px, transparent 1px),
        radial-gradient(rgba(2, 68, 94, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    pointer-events: none;
    z-index: 0;
}

/* Section Title Animation */
.visa-programs .section-title {
    animation: titleReveal 0.8s ease forwards;
    opacity: 0;
    position: relative;
    z-index: 1;
}

.visa-programs h1 {
    animation: headingReveal 0.8s ease 0.2s forwards;
    opacity: 0;
    position: relative;
    z-index: 1;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes headingReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   PROGRAM CARDS
   ============================================ */

.program-card {
    perspective: 1000px;
    height: 100%;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    animation: cardEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    position: relative;
    z-index: 1;
}

/* Staggered Card Entrance */
.program-card:nth-child(1) { animation-delay: 0.1s; }
.program-card:nth-child(2) { animation-delay: 0.2s; }
.program-card:nth-child(3) { animation-delay: 0.3s; }
.program-card:nth-child(4) { animation-delay: 0.4s; }
.program-card:nth-child(5) { animation-delay: 0.5s; }
.program-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0);
    }
}

/* Card Inner */
.program-card-inner {
    background: var(--nm-white);
    border-radius: 24px;
    padding: 35px 28px 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 380px;
    border: 1px solid rgba(235, 24, 10, 0.06);
    transition: var(--nm-transition);
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(2, 68, 94, 0.05);
    cursor: pointer;
}

/* Animated Border Glow */
.program-card-inner::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    padding: 2px;
    background: conic-gradient(
        from var(--angle, 0deg),
        transparent 0%,
        rgba(235, 24, 10, 0.3) 25%,
        rgba(2, 68, 94, 0.5) 50%,
        rgba(235, 24, 10, 0.3) 75%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s ease;
    animation: borderSpin 4s linear infinite;
    z-index: 0;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes borderSpin {
    to { --angle: 360deg; }
}

.program-card:hover .program-card-inner::before {
    opacity: 1;
}

/* Card Hover Effects */
.program-card:hover .program-card-inner {
    transform: translateY(-12px) rotateX(4deg) rotateY(4deg);
    box-shadow: 0 25px 60px rgba(235, 24, 10, 0.15), 0 10px 30px rgba(2, 68, 94, 0.1);
    border-color: rgba(235, 24, 10, 0.15);
}

/* ============================================
   PROGRAM NUMBER
   ============================================ */

.program-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(235, 24, 10, 0.04);
    line-height: 1;
    transition: var(--nm-transition);
    font-family: 'Georgia', serif;
    z-index: 1;
}

.program-card:hover .program-number {
    color: rgba(235, 24, 10, 0.10);
    transform: scale(1.1) rotate(-5deg);
}

/* ============================================
   PROGRAM ICON - Premium Animation
   ============================================ */

.program-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(235, 24, 10, 0.08), rgba(2, 68, 94, 0.05));
    border-radius: 18px;
    margin-bottom: 20px;
    transition: var(--nm-transition);
    position: relative;
    animation: iconFloat 3s ease-in-out infinite;
    z-index: 1;
}

.program-icon i {
    font-size: 2rem;
    color: var(--nm-red);
    transition: var(--nm-transition);
}

/* Icon Glow Ring */
.program-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 21px;
    background: linear-gradient(135deg, var(--nm-red), transparent, var(--nm-blue));
    opacity: 0;
    transition: var(--nm-transition);
    z-index: -1;
    filter: blur(10px);
}

/* Icon Hover */
.program-card:hover .program-icon {
    transform: scale(1.05) rotateY(10deg) rotateX(5deg);
    background: linear-gradient(135deg, var(--nm-red), var(--nm-blue));
    box-shadow: 0 8px 30px rgba(235, 24, 10, 0.25);
    animation-play-state: paused;
}

.program-card:hover .program-icon i {
    color: var(--nm-white) !important;
    transform: scale(1.1) rotate(-5deg);
}

.program-card:hover .program-icon::after {
    opacity: 0.6;
    animation: glowPulse 1.5s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.15);
    }
}

/* ============================================
   PROGRAM TITLE
   ============================================ */

.program-title {
    color: var(--nm-blue);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 12px;
    transition: var(--nm-transition);
    position: relative;
    z-index: 1;
}

.program-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--nm-red);
    border-radius: 3px;
    transition: var(--nm-transition);
}

.program-card:hover .program-title::after {
    width: 60px;
}

.program-card:hover .program-title {
    color: var(--nm-red);
}

/* ============================================
   PROGRAM DESCRIPTION
   ============================================ */

.program-description {
    color: var(--nm-gray-dark);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    transition: var(--nm-transition);
    z-index: 1;
    position: relative;
}

.program-card:hover .program-description {
    color: var(--nm-black);
}

/* ============================================
   PROGRAM LINK
   ============================================ */

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nm-red);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--nm-transition);
    position: relative;
    z-index: 1;
}

.program-link i {
    transition: var(--nm-transition);
    font-size: 0.85rem;
}

.program-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--nm-red);
    transition: var(--nm-transition);
}

.program-card:hover .program-link {
    color: var(--nm-blue);
}

.program-card:hover .program-link::after {
    width: 100%;
}

.program-card:hover .program-link i {
    transform: translateX(5px);
}

/* ============================================
   SHIMMER EFFECT
   ============================================ */

.program-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

.program-card:hover .program-shine {
    left: 200%;
}

/* ============================================
   GLASS MORPHISM OVERLAY (Optional)
   ============================================ */

.program-card-inner .glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    opacity: 0;
    transition: var(--nm-transition);
    pointer-events: none;
    border-radius: 24px;
    z-index: 0;
}

.program-card:hover .glass-overlay {
    opacity: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
    .program-card {
        margin-bottom: 20px;
    }
    
    .program-card-inner {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .visa-programs {
        padding: 60px 0 !important;
    }
    
    .program-card-inner {
        padding: 25px 20px;
        min-height: 300px;
    }
    
    .program-number {
        font-size: 3rem;
    }
    
    .program-icon {
        width: 60px;
        height: 60px;
    }
    
    .program-icon i {
        font-size: 1.6rem;
    }
    
    .program-title {
        font-size: 1.1rem;
    }
    
    .program-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .program-card-inner {
        padding: 20px 15px;
        min-height: 280px;
    }
    
    .program-number {
        font-size: 2.5rem;
        top: 10px;
        right: 15px;
    }
    
    .program-icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }
    
    .program-icon i {
        font-size: 1.4rem;
    }
    
    .program-title {
        font-size: 1rem;
    }
    
    .program-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}
/* ============================================
   NAVBAR MOBILE FIX - ULTIMATE
   ============================================ */

/* Navbar Toggle Button Styling */
.navbar-toggler {
    border: 2px solid var(--nm-red) !important;
    color: var(--nm-red) !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    transition: var(--nm-transition) !important;
    z-index: 1001;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(235, 24, 10, 0.25) !important;
    outline: none !important;
}

.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(235, 24, 10, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Mobile Navbar Collapse */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--nm-white);
        padding: 20px 25px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
        border-radius: 0 0 16px 16px;
        z-index: 1000;
        max-height: 80vh;
        overflow-y: auto;
        display: none !important;
        border-top: 3px solid var(--nm-red);
    }
    
    .navbar-collapse.show {
        display: block !important;
    }
    
    .navbar-collapse .navbar-nav {
        gap: 5px;
    }
    
    .navbar-collapse .nav-link {
        padding: 12px 15px !important;
        border-radius: 8px;
        transition: var(--nm-transition);
        color: var(--nm-black) !important;
        font-weight: 500;
    }
    
    .navbar-collapse .nav-link:hover {
        background: rgba(235, 24, 10, 0.06);
        color: var(--nm-red) !important;
    }
    
    .navbar-collapse .nav-link.active {
        background: rgba(235, 24, 10, 0.1);
        color: var(--nm-red) !important;
    }
}

/* Desktop Navbar Fix */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
    }
}
/* ============================================
   COMMON PAGE STYLES - ALL PAGES
   ============================================ */

/* ===== MAIN CONTAINER ===== */
.main-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-column-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

/* ===== LEFT COLUMN - CONTENT ===== */
.content-column {
    animation: fadeInLeft 0.8s ease forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== ARTICLE STYLES - COMMON ===== */
.visitor-extension-article,
.express-entry-article,
.ainp-program-article,
.study-permit-article,
.caregiver-nanny-article,
.family-sponsorship-article {
    background: var(--nm-white);
    border-radius: 20px;
    padding: 10px 5px 20px 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

/* ===== PAGE TITLES - COMMON ===== */
.work-permit-title,
.express-entry-title,
.ainp-program-title,
.study-permit-title,
.caregiver-nanny-title,
.family-sponsorship-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--nm-black);
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 20px;
}

.work-permit-title::after,
.express-entry-title::after,
.ainp-program-title::after,
.study-permit-title::after,
.caregiver-nanny-title::after,
.family-sponsorship-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--nm-red), var(--nm-blue));
    border-radius: 4px;
}

.work-permit-title .red-text,
.express-entry-title .red-text,
.ainp-program-title .red-text,
.study-permit-title .red-text,
.caregiver-nanny-title .red-text,
.family-sponsorship-title .red-text {
    color: var(--nm-red);
}

/* ============================================
   CONTENT BOXES - COMMON
   ============================================ */
.visitor-extension-content .content-box,
.express-entry-content .content-box,
.ainp-program-content .content-box,
.study-permit-content .content-box,
.caregiver-nanny-content .content-box,
.family-sponsorship-content .content-box {
    background: var(--nm-white);
    padding: 25px 30px;
    margin-bottom: 25px;
    border-radius: 16px;
    border-left: 4px solid var(--nm-red);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    transition: var(--nm-transition);
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.visitor-extension-content .content-box:hover,
.express-entry-content .content-box:hover,
.ainp-program-content .content-box:hover,
.study-permit-content .content-box:hover,
.caregiver-nanny-content .content-box:hover,
.family-sponsorship-content .content-box:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(235, 24, 10, 0.08);
}

.visitor-extension-content .content-box h4,
.express-entry-content .content-box h4,
.ainp-program-content .content-box h4,
.study-permit-content .content-box h4,
.caregiver-nanny-content .content-box h4,
.family-sponsorship-content .content-box h4 {
    color: var(--nm-blue);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    padding-left: 0;
}

/*.visitor-extension-content .content-box h4::before,*/
/*.express-entry-content .content-box h4::before,*/
/*.ainp-program-content .content-box h4::before,*/
/*.study-permit-content .content-box h4::before,*/
/*.caregiver-nanny-content .content-box h4::before,*/
/*.family-sponsorship-content .content-box h4::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    left: -30px;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    width: 4px;*/
/*    height: 30px;*/
/*    background: var(--nm-red);*/
/*    border-radius: 4px;*/
/*}*/

.visitor-extension-content .content-box p,
.express-entry-content .content-box p,
.ainp-program-content .content-box p,
.study-permit-content .content-box p,
.caregiver-nanny-content .content-box p,
.family-sponsorship-content .content-box p {
    color: var(--nm-gray-dark);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
    opacity: 1 !important;
    visibility: visible !important;
}

.visitor-extension-content .content-box p:last-child,
.express-entry-content .content-box p:last-child,
.ainp-program-content .content-box p:last-child,
.study-permit-content .content-box p:last-child,
.caregiver-nanny-content .content-box p:last-child,
.family-sponsorship-content .content-box p:last-child {
    margin-bottom: 0;
}

/* ============================================
   CHECKLIST - COMMON
   ============================================ */
.visitor-extension-content .checklist,
.express-entry-content .checklist,
.ainp-program-content .checklist,
.study-permit-content .checklist,
.caregiver-nanny-content .checklist,
.family-sponsorship-content .checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.visitor-extension-content .checklist li,
.express-entry-content .checklist li,
.ainp-program-content .checklist li,
.study-permit-content .checklist li,
.caregiver-nanny-content .checklist li,
.family-sponsorship-content .checklist li {
    position: relative;
    padding: 12px 0 12px 45px;
    color: var(--nm-gray-dark);
    font-size: 1.02rem;
    line-height: 1.7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--nm-transition);
    opacity: 1 !important;
    visibility: visible !important;
}

.visitor-extension-content .checklist li:last-child,
.express-entry-content .checklist li:last-child,
.ainp-program-content .checklist li:last-child,
.study-permit-content .checklist li:last-child,
.caregiver-nanny-content .checklist li:last-child,
.family-sponsorship-content .checklist li:last-child {
    border-bottom: none;
}

.visitor-extension-content .checklist li:hover,
.express-entry-content .checklist li:hover,
.ainp-program-content .checklist li:hover,
.study-permit-content .checklist li:hover,
.caregiver-nanny-content .checklist li:hover,
.family-sponsorship-content .checklist li:hover {
    color: var(--nm-black);
    transform: translateX(5px);
}

.visitor-extension-content .checklist li::before,
.express-entry-content .checklist li::before,
.ainp-program-content .checklist li::before,
.study-permit-content .checklist li::before,
.caregiver-nanny-content .checklist li::before,
.family-sponsorship-content .checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--nm-red), var(--nm-red-dark));
    color: var(--nm-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

/* ============================================
   SIDEBARS - COMMON
   ============================================ */
.sidebar-column {
    animation: fadeInRight 0.8s ease 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.work-permit-sidebar,
.express-entry-sidebar,
.ainp-program-sidebar,
.study-permit-sidebar,
.caregiver-nanny-sidebar,
.family-sponsorship-sidebar {
    background: var(--nm-white);
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 40px rgba(2, 68, 94, 0.08);
    border: 1px solid rgba(235, 24, 10, 0.06);
    position: sticky;
    top: 120px;
}

/* ============================================
   CONSULTANT WIDGET - COMMON
   ============================================ */
.consultant-widget {
    text-align: center;
    margin-bottom: 25px;
}

.consultant-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--nm-red);
    box-shadow: 0 8px 25px rgba(235, 24, 10, 0.15);
    transition: var(--nm-transition);
}

.consultant-image:hover {
    transform: scale(1.05);
    border-color: var(--nm-blue);
    box-shadow: 0 8px 30px rgba(2, 68, 94, 0.2);
}

.consultant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consultant-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.consultant-title .red-text {
    color: var(--nm-red);
}

.consultant-title .blue-text {
    color: var(--nm-blue);
}

/* ============================================
   CONTACT LINKS - COMMON
   ============================================ */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(235, 24, 10, 0.06);
    border-radius: 50px;
    color: var(--nm-blue) !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--nm-transition);
    border: 1px solid transparent;
    text-decoration: none;
}

.contact-link:hover {
    background: var(--nm-red);
    color: var(--nm-white) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(235, 24, 10, 0.2);
    border-color: var(--nm-red);
}

.contact-link img {
    filter: brightness(0) saturate(100%) invert(20%) sepia(80%) saturate(500%) hue-rotate(180deg);
    transition: var(--nm-transition);
}

.contact-link:hover img {
    filter: brightness(0) saturate(100%) invert(100%);
}

/* ============================================
   SEPARATOR - COMMON
   ============================================ */
.custom-separator {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--nm-red), var(--nm-blue), var(--nm-red));
    margin: 25px 0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.custom-separator::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmerSlide 3s infinite;
}

@keyframes shimmerSlide {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ============================================
   WIDGET TITLE - COMMON
   ============================================ */
.widget-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

.widget-title .red-text {
    color: var(--nm-red);
}

.widget-title .blue-text {
    color: var(--nm-blue);
}

/* ============================================
   SERVICES LIST - COMMON
   ============================================ */
.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--nm-transition);
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--nm-gray-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--nm-transition);
    border-radius: 10px;
    position: relative;
    text-decoration: none;
}

.services-list li a::before {
    content: '▸';
    margin-right: 12px;
    color: var(--nm-red);
    font-weight: 700;
    transition: var(--nm-transition);
}

.services-list li a:hover {
    color: var(--nm-red);
    background: rgba(235, 24, 10, 0.05);
    padding-left: 25px;
}

.services-list li a:hover::before {
    transform: translateX(5px);
    color: var(--nm-blue);
}

.services-list li a.active {
    color: var(--nm-white);
    background: linear-gradient(135deg, var(--nm-red), var(--nm-red-dark));
    padding-left: 25px;
    box-shadow: 0 4px 15px rgba(235, 24, 10, 0.2);
}

.services-list li a.active::before {
    color: var(--nm-white);
}

/* ============================================
   APPLY BUTTON - COMMON
   ============================================ */
.apply-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--nm-red) 0%, var(--nm-red-dark) 100%);
    color: var(--nm-white) !important;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--nm-transition);
    box-shadow: 0 8px 25px rgba(235, 24, 10, 0.3);
    position: relative;
    overflow: hidden;
}

.apply-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.apply-btn:hover::after {
    width: 300px;
    height: 300px;
}

.apply-btn:hover {
    background: linear-gradient(135deg, var(--nm-blue) 0%, var(--nm-blue-light) 100%);
    box-shadow: 0 8px 30px rgba(2, 68, 94, 0.4);
    transform: translateY(-3px);
    color: var(--nm-white) !important;
}

/* ============================================
   ANIMATIONS - COMMON
   ============================================ */
.animate-fadeInUp {
    opacity: 1 !important;
    visibility: visible !important;
    animation: fadeInUp 0.6s ease forwards !important;
    animation-fill-mode: forwards !important;
}

.animate-fadeInUp:nth-child(1) { animation-delay: 0.1s; }
.animate-fadeInUp:nth-child(2) { animation-delay: 0.2s; }
.animate-fadeInUp:nth-child(3) { animation-delay: 0.3s; }
.animate-fadeInUp:nth-child(4) { animation-delay: 0.4s; }
.animate-fadeInUp:nth-child(5) { animation-delay: 0.5s; }
.animate-fadeInUp:nth-child(6) { animation-delay: 0.6s; }
.animate-fadeInUp:nth-child(7) { animation-delay: 0.7s; }
.animate-fadeInUp:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1 !important;
        transform: translateY(0);
        visibility: visible !important;
    }
}

/* ============================================
   RED & BLUE TEXT HELPERS
   ============================================ */
.red-text {
    color: var(--nm-red) !important;
}

.blue-text {
    color: var(--nm-blue) !important;
}

/* ============================================
   RESPONSIVE DESIGN - COMMON
   ============================================ */

@media (max-width: 1200px) {
    .main-container {
        padding: 50px 20px 70px;
    }
    .two-column-layout {
        gap: 40px;
    }
    .work-permit-title,
    .express-entry-title,
    .ainp-program-title,
    .study-permit-title,
    .caregiver-nanny-title,
    .family-sponsorship-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 992px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .sidebar-column {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    .work-permit-sidebar,
    .express-entry-sidebar,
    .ainp-program-sidebar,
    .study-permit-sidebar,
    .caregiver-nanny-sidebar,
    .family-sponsorship-sidebar {
        position: static;
    }
    .work-permit-title,
    .express-entry-title,
    .ainp-program-title,
    .study-permit-title,
    .caregiver-nanny-title,
    .family-sponsorship-title {
        font-size: 2.2rem;
    }
    .work-permit-title::after,
    .express-entry-title::after,
    .ainp-program-title::after,
    .study-permit-title::after,
    .caregiver-nanny-title::after,
    .family-sponsorship-title::after {
        width: 60px;
    }
    .visitor-extension-content .content-box,
    .express-entry-content .content-box,
    .ainp-program-content .content-box,
    .study-permit-content .content-box,
    .caregiver-nanny-content .content-box,
    .family-sponsorship-content .content-box {
        padding: 20px 25px;
    }
    .visitor-extension-content .content-box h4::before,
    .express-entry-content .content-box h4::before,
    .ainp-program-content .content-box h4::before,
    .study-permit-content .content-box h4::before,
    .caregiver-nanny-content .content-box h4::before,
    .family-sponsorship-content .content-box h4::before {
        display: none;
    }
    .consultant-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 30px 15px 50px;
    }
    .two-column-layout {
        gap: 30px;
    }
    .work-permit-title,
    .express-entry-title,
    .ainp-program-title,
    .study-permit-title,
    .caregiver-nanny-title,
    .family-sponsorship-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    .work-permit-title::after,
    .express-entry-title::after,
    .ainp-program-title::after,
    .study-permit-title::after,
    .caregiver-nanny-title::after,
    .family-sponsorship-title::after {
        width: 50px;
        height: 3px;
    }
    .visitor-extension-content .content-box,
    .express-entry-content .content-box,
    .ainp-program-content .content-box,
    .study-permit-content .content-box,
    .caregiver-nanny-content .content-box,
    .family-sponsorship-content .content-box {
        padding: 18px 20px;
        margin-bottom: 18px;
        border-left-width: 3px;
    }
    .visitor-extension-content .content-box h4,
    .express-entry-content .content-box h4,
    .ainp-program-content .content-box h4,
    .study-permit-content .content-box h4,
    .caregiver-nanny-content .content-box h4,
    .family-sponsorship-content .content-box h4 {
        font-size: 1.1rem;
    }
    .visitor-extension-content .content-box p,
    .express-entry-content .content-box p,
    .ainp-program-content .content-box p,
    .study-permit-content .content-box p,
    .caregiver-nanny-content .content-box p,
    .family-sponsorship-content .content-box p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    .visitor-extension-content .checklist li,
    .express-entry-content .checklist li,
    .ainp-program-content .checklist li,
    .study-permit-content .checklist li,
    .caregiver-nanny-content .checklist li,
    .family-sponsorship-content .checklist li {
        padding: 10px 0 10px 40px;
        font-size: 0.95rem;
    }
    .visitor-extension-content .checklist li::before,
    .express-entry-content .checklist li::before,
    .ainp-program-content .checklist li::before,
    .study-permit-content .checklist li::before,
    .caregiver-nanny-content .checklist li::before,
    .family-sponsorship-content .checklist li::before {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    .work-permit-sidebar,
    .express-entry-sidebar,
    .ainp-program-sidebar,
    .study-permit-sidebar,
    .caregiver-nanny-sidebar,
    .family-sponsorship-sidebar {
        padding: 25px 20px;
    }
    .consultant-title {
        font-size: 1.2rem;
    }
    .contact-link {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    .widget-title {
        font-size: 1.3rem;
    }
    .services-list li a {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .main-container {
        padding: 20px 12px 40px;
    }
    .two-column-layout {
        gap: 25px;
    }
    .work-permit-title,
    .express-entry-title,
    .ainp-program-title,
    .study-permit-title,
    .caregiver-nanny-title,
    .family-sponsorship-title {
        font-size: 1.5rem;
        padding-bottom: 12px;
    }
    .work-permit-title::after,
    .express-entry-title::after,
    .ainp-program-title::after,
    .study-permit-title::after,
    .caregiver-nanny-title::after,
    .family-sponsorship-title::after {
        width: 40px;
        height: 3px;
    }
    .visitor-extension-content .content-box,
    .express-entry-content .content-box,
    .ainp-program-content .content-box,
    .study-permit-content .content-box,
    .caregiver-nanny-content .content-box,
    .family-sponsorship-content .content-box {
        padding: 15px 16px;
        margin-bottom: 15px;
        border-radius: 12px;
    }
    .visitor-extension-content .content-box h4,
    .express-entry-content .content-box h4,
    .ainp-program-content .content-box h4,
    .study-permit-content .content-box h4,
    .caregiver-nanny-content .content-box h4,
    .family-sponsorship-content .content-box h4 {
        font-size: 1rem;
    }
    .visitor-extension-content .content-box p,
    .express-entry-content .content-box p,
    .ainp-program-content .content-box p,
    .study-permit-content .content-box p,
    .caregiver-nanny-content .content-box p,
    .family-sponsorship-content .content-box p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    .visitor-extension-content .checklist li,
    .express-entry-content .checklist li,
    .ainp-program-content .checklist li,
    .study-permit-content .checklist li,
    .caregiver-nanny-content .checklist li,
    .family-sponsorship-content .checklist li {
        padding: 8px 0 8px 35px;
        font-size: 0.9rem;
    }
    .visitor-extension-content .checklist li::before,
    .express-entry-content .checklist li::before,
    .ainp-program-content .checklist li::before,
    .study-permit-content .checklist li::before,
    .caregiver-nanny-content .checklist li::before,
    .family-sponsorship-content .checklist li::before {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    .work-permit-sidebar,
    .express-entry-sidebar,
    .ainp-program-sidebar,
    .study-permit-sidebar,
    .caregiver-nanny-sidebar,
    .family-sponsorship-sidebar {
        padding: 20px 15px;
        border-radius: 16px;
    }
    .consultant-image {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    .consultant-title {
        font-size: 1.1rem;
    }
    .contact-links {
        gap: 8px;
    }
    .contact-link {
        padding: 8px 14px;
        font-size: 0.8rem;
        border-radius: 30px;
    }
    .widget-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    .services-list li a {
        padding: 8px 10px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    .services-list li a::before {
        margin-right: 8px;
        font-size: 12px;
    }
    .services-list li a:hover,
    .services-list li a.active {
        padding-left: 15px;
    }
}

@media (max-width: 400px) {
    .work-permit-title,
    .express-entry-title,
    .ainp-program-title,
    .study-permit-title,
    .caregiver-nanny-title,
    .family-sponsorship-title {
        font-size: 1.3rem;
    }
    .visitor-extension-content .content-box,
    .express-entry-content .content-box,
    .ainp-program-content .content-box,
    .study-permit-content .content-box,
    .caregiver-nanny-content .content-box,
    .family-sponsorship-content .content-box {
        padding: 12px 14px;
    }
    .visitor-extension-content .content-box p,
    .express-entry-content .content-box p,
    .ainp-program-content .content-box p,
    .study-permit-content .content-box p,
    .caregiver-nanny-content .content-box p,
    .family-sponsorship-content .content-box p {
        font-size: 0.85rem;
    }
    .visitor-extension-content .checklist li,
    .express-entry-content .checklist li,
    .ainp-program-content .checklist li,
    .study-permit-content .checklist li,
    .caregiver-nanny-content .checklist li,
    .family-sponsorship-content .checklist li {
        font-size: 0.85rem;
        padding: 6px 0 6px 30px;
    }
    .visitor-extension-content .checklist li::before,
    .express-entry-content .checklist li::before,
    .ainp-program-content .checklist li::before,
    .study-permit-content .checklist li::before,
    .caregiver-nanny-content .checklist li::before,
    .family-sponsorship-content .checklist li::before {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }
    .work-permit-sidebar,
    .express-entry-sidebar,
    .ainp-program-sidebar,
    .study-permit-sidebar,
    .caregiver-nanny-sidebar,
    .family-sponsorship-sidebar {
        padding: 15px 12px;
    }
    .consultant-image {
        width: 70px;
        height: 70px;
    }
    .consultant-title {
        font-size: 1rem;
    }
    .contact-link {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    .services-list li a {
        font-size: 0.8rem;
        padding: 6px 8px;
    }
}

/* ============================================
   FOOTER - PREMIUM STYLES
   ============================================ */

/*.footer {*/
/*    background: linear-gradient(135deg, var(--nm-blue-dark) 0%, var(--nm-blue) 50%, var(--nm-blue-light) 100%);*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*}*/

/* Animated Background Pattern */
/*.footer::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    background: */
/*        radial-gradient(circle at 20% 30%, rgba(235, 24, 10, 0.05) 0%, transparent 50%),*/
/*        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);*/
/*    pointer-events: none;*/
/*    z-index: 0;*/
/*}*/

/*.footer .container {*/
/*    position: relative;*/
/*    z-index: 1;*/
/*}*/

/* ===== FOOTER ITEMS ===== */
/*.footer-item {*/
/*    padding: 0 5px;*/
/*}*/

/*.footer-item h4 {*/
/*    font-size: 1.3rem;*/
/*    font-weight: 700;*/
/*    color: var(--nm-white);*/
/*    margin-bottom: 20px;*/
/*    position: relative;*/
/*    padding-bottom: 15px;*/
/*}*/

/*.footer-item h4::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    width: 40px;*/
/*    height: 3px;*/
/*    background: var(--nm-red);*/
/*    border-radius: 3px;*/
/*    transition: var(--nm-transition);*/
/*}*/

/*.footer-item:hover h4::after {*/
/*    width: 60px;*/
/*}*/

/*.footer-item a {*/
/*    color: rgba(255, 255, 255, 0.7);*/
/*    text-decoration: none;*/
/*    transition: var(--nm-transition);*/
/*    padding: 6px 0;*/
/*    font-size: 0.95rem;*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*}*/

/*.footer-item a:hover {*/
/*    color: var(--nm-red) !important;*/
/*    transform: translateX(5px);*/
/*}*/

/*.footer-item a i {*/
/*    color: var(--nm-red);*/
/*    font-size: 0.9rem;*/
/*    transition: var(--nm-transition);*/
/*}*/

/*.footer-item a:hover i {*/
/*    color: var(--nm-white);*/
/*}*/

/* ===== SOCIAL ICONS ===== */
/*.footer-item .d-flex .btn-primary {*/
/*    background: rgba(255, 255, 255, 0.08) !important;*/
/*    border-color: rgba(255, 255, 255, 0.1) !important;*/
/*    color: var(--nm-white) !important;*/
/*    transition: var(--nm-transition);*/
/*    width: 38px;*/
/*    height: 38px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    border-radius: 50% !important;*/
/*}*/

/*.footer-item .d-flex .btn-primary:hover {*/
/*    background: var(--nm-red) !important;*/
/*    border-color: var(--nm-red) !important;*/
/*    transform: translateY(-3px) scale(1.1);*/
/*    box-shadow: 0 8px 25px rgba(235, 24, 10, 0.3);*/
/*}*/

/*.footer-item .d-flex .btn-primary i {*/
/*    color: var(--nm-white) !important;*/
/*    font-size: 0.9rem;*/
/*}*/

/* ===== FOOTER LINKS WITH ARROW ===== */
/*.footer-item a .fa-angle-right {*/
/*    color: var(--nm-red);*/
/*    font-size: 0.8rem;*/
/*    transition: var(--nm-transition);*/
/*}*/

/*.footer-item a:hover .fa-angle-right {*/
/*    transform: rotate(90deg);*/
/*    color: var(--nm-white);*/
/*}*/

/* ===== FORM SELECT ===== */
/*.footer-item .form-select {*/
/*    background: rgba(255, 255, 255, 0.05) !important;*/
/*    border: 1px solid rgba(255, 255, 255, 0.1) !important;*/
/*    color: var(--nm-white) !important;*/
/*    padding: 12px 15px;*/
/*    border-radius: 10px;*/
/*    transition: var(--nm-transition);*/
/*    cursor: pointer;*/
/*}*/

/*.footer-item .form-select:focus {*/
/*    border-color: var(--nm-red) !important;*/
/*    box-shadow: 0 0 0 3px rgba(235, 24, 10, 0.15) !important;*/
/*}*/

/*.footer-item .form-select option {*/
/*    background: var(--nm-blue-dark);*/
/*    color: var(--nm-white);*/
/*}*/

/*.footer-item .form-floating label {*/
/*    color: rgba(255, 255, 255, 0.5);*/
/*}*/

/* ===== PAYMENT ICONS ===== */
/*.footer-bank-card {*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    gap: 12px;*/
/*    margin-top: 10px;*/
/*}*/

/*.footer-bank-card a {*/
/*    background: rgba(255, 255, 255, 0.06);*/
/*    padding: 8px 14px;*/
/*    border-radius: 10px;*/
/*    transition: var(--nm-transition);*/
/*    border: 1px solid rgba(255, 255, 255, 0.06);*/
/*}*/

/*.footer-bank-card a:hover {*/
/*    background: rgba(255, 255, 255, 0.12);*/
/*    transform: translateY(-3px);*/
/*    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);*/
/*}*/

/*.footer-bank-card a i {*/
/*    color: rgba(255, 255, 255, 0.8);*/
/*    transition: var(--nm-transition);*/
/*    font-size: 1.8rem;*/
/*}*/

/*.footer-bank-card a:hover i {*/
/*    color: var(--nm-white);*/
/*    transform: scale(1.05);*/
/*}*/

/* ============================================
   COPYRIGHT
   ============================================ */
/*.copyright {*/
/*    background: var(--nm-blue-dark);*/
/*    border-top: 1px solid rgba(255, 255, 255, 0.06);*/
/*}*/

/*.copyright .text-body {*/
/*    color: rgba(255, 255, 255, 0.6) !important;*/
/*}*/

/*.copyright a {*/
/*    color: var(--nm-red) !important;*/
/*    transition: var(--nm-transition);*/
/*}*/

/*.copyright a:hover {*/
/*    color: var(--nm-white) !important;*/
/*}*/

/*.copyright .fa-copyright {*/
/*    color: rgba(255, 255, 255, 0.4);*/
/*}*/

/* ============================================
   RESPONSIVE FOOTER
   ============================================ */

/*@media (max-width: 991.98px) {*/
/*    .footer-item {*/
/*        margin-bottom: 30px;*/
/*    }*/
    
/*    .footer-item h4 {*/
/*        font-size: 1.1rem;*/
/*    }*/
/*}*/

/*@media (max-width: 768px) {*/
/*    .footer {*/
/*        padding: 60px 0 !important;*/
/*    }*/
    
/*    .footer-item {*/
/*        text-align: center;*/
/*    }*/
    
/*    .footer-item h4::after {*/
/*        left: 50%;*/
/*        transform: translateX(-50%);*/
/*    }*/
    
/*    .footer-item:hover h4::after {*/
/*        width: 60px;*/
/*    }*/
    
/*    .footer-item a {*/
/*        justify-content: center;*/
/*    }*/
    
/*    .footer-item .d-flex {*/
/*        justify-content: center !important;*/
/*    }*/
    
/*    .footer-bank-card {*/
/*        justify-content: center;*/
/*    }*/
    
/*    .copyright .col-md-6 {*/
/*        text-align: center !important;*/
/*    }*/
/*}*/

/*@media (max-width: 576px) {*/
/*    .footer-item h4 {*/
/*        font-size: 1rem;*/
/*    }*/
    
/*    .footer-item a {*/
/*        font-size: 0.85rem;*/
/*        padding: 4px 0;*/
/*    }*/
    
/*    .footer-bank-card a {*/
/*        padding: 6px 10px;*/
/*    }*/
    
/*    .footer-bank-card a i {*/
/*        font-size: 1.4rem;*/
/*    }*/
    
/*    .copyright {*/
/*        font-size: 0.8rem;*/
/*        padding: 15px 0 !important;*/
/*    }*/
/*}*/

/* =========================================
   N&M IMMIGRATION — PREMIUM FOOTER
   ========================================= */

.nm-footer {
    --ft-bg: #071426;
    --ft-panel: #0c1c31;
    --ft-red: #eb180a;
    --ft-white: #ffffff;
    --ft-muted: #a4b1c3;
    --ft-border: rgba(255,255,255,.10);

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 72px 0 0;
    color: var(--ft-white);
    background:
        radial-gradient(ellipse at 0% 0%, rgba(30,65,105,.38), transparent 43%),
        radial-gradient(ellipse at 100% 100%, rgba(235,24,10,.07), transparent 35%),
        var(--ft-bg);
    font-family: inherit;
}

.nm-footer,
.nm-footer * {
    box-sizing: border-box;
}

.nm-footer-glow {
    position: absolute;
    z-index: -1;
    top: -180px;
    right: -130px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(39,83,134,.12);
    filter: blur(70px);
    pointer-events: none;
}

/* Top brand section */

.nm-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 0 0 42px;
}

.nm-footer-brand {
    max-width: 570px;
}

.nm-footer-eyebrow {
    display: inline-block;
    margin-bottom: 13px;
    color: #ff6a60;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.3px;
    line-height: 1.7;
}

.nm-footer-brand h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 800;
    letter-spacing: -.8px;
    line-height: 1.2;
}

.nm-footer-brand h2 span {
    color: #ff6257;
}

.nm-footer-brand p {
    max-width: 470px;
    margin: 0;
    color: var(--ft-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* Contact CTA */

.nm-footer-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    max-width: 100%;
    padding: 17px 20px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 13px;
    background: rgba(255,255,255,.045);
    color: #fff;
    text-decoration: none;
    transition: border-color .25s ease, background .25s ease;
}

.nm-footer-cta:hover {
    color: #fff;
    border-color: rgba(255,98,87,.55);
    background: rgba(255,255,255,.075);
}

.nm-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    border-radius: 11px;
    background: var(--ft-red);
    color: #fff;
    font-size: 16px;
}

.nm-footer-cta small,
.nm-footer-cta strong {
    display: block;
}

.nm-footer-cta small {
    margin-bottom: 5px;
    color: var(--ft-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.nm-footer-cta strong {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.nm-cta-arrow {
    margin-left: 8px;
    color: #ff6257;
    font-size: 15px;
    transition: transform .25s ease;
}

.nm-footer-cta:hover .nm-cta-arrow {
    transform: translateX(4px);
}

/* Separator */

.nm-footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--ft-red), rgba(255,255,255,.12) 30%, rgba(255,255,255,.12));
}

/* Main grid */

.nm-footer-grid {
    padding-top: 45px;
    padding-bottom: 48px;
    row-gap: 42px;
}

.nm-footer-grid > [class*="col-"] {
    min-width: 0;
}

.nm-footer-column {
    width: 100%;
    min-width: 0;
}

.nm-footer-column h4 {
    position: relative;
    margin: 0 0 25px;
    padding: 0 0 15px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .15px;
    line-height: 1.5;
}

.nm-footer-column h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    border-radius: 4px;
    background: var(--ft-red);
    transition: width .25s ease;
}

.nm-footer-column:hover h4::after {
    width: 52px;
}

.nm-footer-description {
    margin: -6px 0 17px;
    color: var(--ft-muted);
    font-size: 12.5px;
    line-height: 1.85;
}

/* Contact information */

.nm-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #c1ccda;
    font-size: 12.5px;
    line-height: 1.8;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.nm-contact-item:hover {
    color: #fff;
}

.nm-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 9px;
    background: rgba(255,255,255,.045);
    color: #ff6257;
    font-size: 13px;
    transition: background .2s ease;
}

.nm-contact-item:hover .nm-contact-icon {
    background: rgba(235,24,10,.16);
}

/* Social links */

.nm-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 23px;
}

.nm-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    background: rgba(255,255,255,.045);
    color: #d9e1ed;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.nm-socials a:hover {
    transform: translateY(-3px);
    border-color: var(--ft-red);
    background: var(--ft-red);
    color: #fff;
}

.nm-footer-cicc {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 65px;
    margin-top: 25px;
    object-fit: contain;
    object-position: left center;
}

/* Navigation links */

.nm-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nm-footer-links li {
    margin: 0;
    padding: 0;
}

.nm-footer-links a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    color: #aebbd0;
    font-size: 12.5px;
    line-height: 1.7;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .2s ease, padding-left .2s ease;
}

.nm-footer-links a::before {
    content: "";
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    margin-top: 7px;
    border-radius: 50%;
    background: #596a82;
    transition: background .2s ease, transform .2s ease;
}

.nm-footer-links a:hover {
    padding-left: 4px;
    color: #fff;
}

.nm-footer-links a:hover::before {
    transform: scale(1.2);
    background: var(--ft-red);
}

/* Map card */

.nm-map-card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: var(--ft-panel);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.nm-map-card iframe {
    display: block;
    width: 100%;
    height: 225px;
    border: 0;
    background: #15243a;
}

.nm-map-caption {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px 13px;
    color: #fff;
    text-decoration: none;
    transition: background .2s ease;
}

.nm-map-caption:hover {
    color: #fff;
    background: rgba(255,255,255,.045);
}

.nm-map-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(235,24,10,.12);
    color: #ff6257;
}

.nm-map-caption > span:nth-child(2) {
    flex: 1;
    min-width: 0;
}

.nm-map-caption strong,
.nm-map-caption small {
    display: block;
    overflow-wrap: anywhere;
}

.nm-map-caption strong {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
}

.nm-map-caption small {
    color: var(--ft-muted);
    font-size: 10.5px;
    line-height: 1.6;
}

.nm-map-arrow {
    flex-shrink: 0;
    color: #ff6257;
    font-size: 12px;
}

.nm-footer-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 15px;
    color: #92a2b8;
    font-size: 11px;
    line-height: 1.8;
}

.nm-footer-note i {
    margin-top: 4px;
    color: #ff6257;
}

/* Bottom bar */

.nm-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid var(--ft-border);
}

.nm-footer-bottom p {
    margin: 0;
    color: #8f9eb2;
    font-size: 11.5px;
    line-height: 1.8;
}

.nm-footer-bottom p strong {
    color: #e6ebf2;
    font-weight: 700;
}

.nm-footer-bottom > a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #e5eaf2;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}

.nm-footer-bottom > a:hover {
    color: #ff6257;
}

.nm-footer-bottom > a i {
    color: #ff6257;
}

/* =========================================
   LAPTOPS
   ========================================= */

@media (max-width: 1199.98px) {
    .nm-footer {
        padding-top: 58px;
    }

    .nm-footer-top {
        gap: 24px;
    }

    .nm-footer-cta {
        padding: 14px;
    }

    .nm-footer-grid {
        padding-top: 38px;
        padding-bottom: 38px;
        row-gap: 38px;
    }

    .nm-map-card iframe {
        height: 220px;
    }
}

/* =========================================
   TABLETS
   ========================================= */

@media (max-width: 767.98px) {
    .nm-footer {
        padding-top: 44px;
    }

    .nm-footer-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
        padding-bottom: 30px;
    }

    .nm-footer-brand {
        max-width: 100%;
    }

    .nm-footer-brand h2 {
        font-size: 30px;
    }

    .nm-footer-cta {
        width: 100%;
        justify-content: flex-start;
    }

    .nm-footer-grid {
        padding-top: 34px;
        padding-bottom: 30px;
        row-gap: 36px;
    }

    .nm-footer-column {
        max-width: 100%;
    }

    .nm-footer-column h4 {
        margin-bottom: 20px;
    }

    .nm-footer-description {
        max-width: 400px;
    }

    .nm-map-card iframe {
        height: 240px;
    }

    .nm-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }
}

/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 400px) {
    .nm-footer {
        padding-top: 35px;
    }

    .nm-footer .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .nm-footer-brand h2 {
        font-size: 26px;
        letter-spacing: -.5px;
    }

    .nm-footer-eyebrow {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .nm-footer-brand p {
        font-size: 13px;
    }

    .nm-footer-cta {
        gap: 10px;
        padding: 13px 11px;
    }

    .nm-cta-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .nm-footer-cta strong {
        font-size: 11.5px;
    }

    .nm-cta-arrow {
        margin-left: auto;
        font-size: 12px;
    }

    .nm-footer-grid {
        row-gap: 30px;
    }

    .nm-footer-column h4 {
        font-size: 14px;
    }

    .nm-contact-item,
    .nm-footer-links a {
        font-size: 12px;
    }

    .nm-map-card iframe {
        height: 205px;
    }

    .nm-footer-bottom p,
    .nm-footer-bottom > a {
        font-size: 10.5px;
    }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    .nm-footer *,
    .nm-footer *::before,
    .nm-footer *::after {
        transition: none !important;
    }
}
/* ============================================
   SIRF TEXT RED - KOI LINE NAHI
   ============================================ */

/* Sabhi underlines hatado */
.navbar-light .navbar-nav .nav-link::before,
.navbar-light .navbar-nav .nav-link::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Sirf text red - koi line nahi */
.nav-link.active {
    color: #EB180A !important;
    font-weight: 700 !important;
    border-bottom: none !important;
    background: transparent !important;
}

/* Mobile mein bhi same */
@media (max-width: 991.98px) {
    .nav-link.active {
        color: #EB180A !important;
        font-weight: 700 !important;
        border-bottom: none !important;
        background: rgba(235, 24, 10, 0.08) !important;
        border-radius: 8px !important;
        padding: 8px 15px !important;
    }
}

/* ============================================
   NAVIGATION ACTIVE STYLES - FINAL
   ============================================ */

/* Sabhi underlines hatado */
.navbar-light .navbar-nav .nav-link::before,
.navbar-light .navbar-nav .nav-link::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Desktop active link - Red text only */
@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link.active {
        color: #EB180A !important;
        font-weight: 700 !important;
        border-bottom: none !important;
        background: transparent !important;
    }
}

/* Mobile active link */
@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link.active {
        color: #EB180A !important;
        font-weight: 700 !important;
        border-bottom: none !important;
        background: rgba(235, 24, 10, 0.08) !important;
        border-radius: 8px !important;
        padding: 8px 15px !important;
    }
}

/* Dropdown items active */
.dropdown-item.active {
    color: #EB180A !important;
    font-weight: 700 !important;
    background: rgba(235, 24, 10, 0.08) !important;
    border-left: 3px solid #EB180A !important;
}

.dropdown-item.active:hover {
    color: #EB180A !important;
    background: rgba(235, 24, 10, 0.12) !important;
}
/* Mobile Dropdown Fix */
@media (max-width: 991.98px) {
    .navbar .dropdown-menu {
        display: none !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        background: rgba(248, 249, 250, 0.95) !important;
        padding: 10px 0 !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .navbar .dropdown-menu.show {
        display: block !important;
    }
    
    .navbar .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }
}
/* Dropdown icon rotate */
.navbar .dropdown-toggle-split i {
    transition: transform 0.3s ease;
}

.navbar .dropdown-toggle-split[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Mobile par icon sahi dikhane ke liye */
@media (max-width: 991.98px) {
    .navbar .dropdown-toggle-split {
        padding: 8px 12px !important;
    }
    
    .navbar .dropdown-toggle-split i {
        font-size: 14px;
    }
}
/* Dropdown show */
.dropdown-menu.show {
    display: block !important;
}

/* Icon rotate */
#dropdownIcon {
    transition: transform 0.3s ease;
}

/* Mobile fix */
@media (max-width: 991.98px) {
    .dropdown-toggle-split {
        padding: 8px 12px !important;
    }
    
    .dropdown-toggle-split i {
        font-size: 14px;
    }
}