#header .header-column {
    display: flex;
    align-self: stretch;
    align-items: center;
    flex-grow: 1;
}
li {
    line-height: 24px;
}
.nav>.nav-item>.nav-link {
    font-size: 13px;
    font-weight: 600;
    color: white;
    padding: 0.2rem 0.8rem;
    border-right: solid #fff 1px;
}

.navbar-nav .nav-link {
    color: #fff;
  }
  .dropend .dropdown-toggle {
    color: #134158;
    margin-left: 1em;
  }
  .dropdown-item:hover {
    background-color: #134158;
    color: #fff;
  }
  .dropdown .dropdown-menu {
    display: none;
  }
  .dropdown:hover > .dropdown-menu,
  .dropend:hover > .dropdown-menu {
    display: block;
    margin-top: 0.125em;
    margin-left: 0.125em;
  }
  @media screen and (min-width: 769px) {
    .dropend:hover > .dropdown-menu {
      position: absolute;
      top: 0;
      left: 100%;
    }
    .dropend .dropdown-toggle {
      margin-left: 0.5em;
    }
  }

  @media screen and (max-width: 769px) {
    .monile_view{
        display: none;
    }
    .img_h{
            height: 240px;
    }
  }

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    font-size: 17px;
    font-weight: 400;
}

.btnn{
    background: white;
    color: #134158 !important;
    border-radius: 12px;
    text-align: center;
    font-weight: 400 !important;
}

 .marquee a {
    font-weight: 700;
    color: #b75533;
    margin-right: 25px;
    display: inline-block;
    text-decoration: none;
        margin-right: 5%;
}


.result_bg{
    background-image: url(../img/sec-1-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    margin-top: -6px;
}

.bg_topic{
    background-color: #fff;
    border-radius: 50%;
    height: 120px;
    width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.result_bg h2{
    font-size: 1rem!important;
    color: #fff;
    text-align: center;
    margin-top: 2%;
}
.result_bg a {
    /* color: #0d6efd; */
    text-decoration: none;
}
.news a{
    text-decoration: none;
}
.notice-box {
    background: #fff;
    border-radius: 10px;
    -webkit-box-shadow: 1px 5px 13px -1px rgba(0,0,0,0.35);
    -moz-box-shadow: 1px 5px 13px -1px rgba(0,0,0,0.35);
    box-shadow: 1px 5px 13px -1px rgba(0,0,0,0.20);
}
.notics{
    background-image: url(../img/bg_02.jpg);
    background-position: top;
    background-repeat: no-repeat;
}
 .notice-box .head {
    padding: 10px 15px;
    border-radius: 10px 10px 0 0;
    font-weight: 600;
    font-size: 18px;
    color: #fff;
    height: 60px;
}
:host {
    display: inline-block;
    overflow: hidden;
    text-align: initial;
    white-space: nowrap;
}
.news_btn{
    border-color: #931111 #931111 #116ecc;
    color: #fff;
    background-color: #931111;
}
:host([direction="up"]), :host([direction="down"]) {
    overflow: initial;
    overflow-y: hidden;
    white-space: initial;
}
.notice-box .notices .marquee-notice a {
    display: block;
    margin: 0px 0;
    color: #333;
    font-weight: 600;
    border-bottom: solid 1px #ccc;
    padding: 10px 0;
    text-decoration: none;
}
.home-sec-2 .notice-box .notices {
    height: 350px;
}
.notice-box .notices .marquee-notice {
    overflow: auto;
    padding: 0 15px;
}



.about-sec .box h4 {
    color: #0270dc;
    font-size: 15px;
}
.about-sec .box a {
    display: inline-block;
    float: left;
    width: 50%;
    padding: 5px 10px;
    text-align: center;
    border: solid 1px #931111;
    color: #333;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}
.about-sec {
    margin: 100px 0;
}
.views a{
    color: #333;
    text-decoration: none;
}
.views{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.item h4{
    margin-top: 10px;
}

.footer_bg{
    background-image: url(../img/pattern3.jpg);
    padding: 4% 0;
}
.footer_bg  a{
  color: #fff !important;
  text-decoration: none;
}
.footer_bg h2{
    font-size: 22px;
    margin-bottom: 7%;
}
.copy p{
    margin: 0;
}
.social-content li i{
    color: #fff;
}

.files input::file-selector-button {
    font-weight: bold;
    color: #fff;
    /* padding: 0.5em; */
    border: thin solid grey;
    border-radius: 3px;
    background-color:#134158 !important;
  }


.our_goal{
    background-color: #13415826;
    padding: 5%;
    border-radius: 10px;
    height: 250px;
}

.default-btn {
    background-color: #134158;
    color: #fff;
    font-size: 16px;
    padding: 13px 35px;
    border-radius: 0;
    position: relative;
    -webkit-transition: all ease .5s;
    transition: all ease .5s;
    border: 1px solid var(--bg-2);
    z-index: 1;
}

.cources span{
    font-size: 14px;
    color: #931111;
    font-weight: 500;
    padding: 5% 0;
    /* background-color: #931111; */
}
.cources {
    font-size: 13px;
    border-bottom: 2px solid;
    padding: 0% 2% 2%;
    font-weight: 500;
    margin: 1% 0;
}
.cources p{
margin: 0;

}

.cources_des{
    background-color: #134158;
    color: #fff;
    align-items: center;
    padding: 2% 10px;
    margin: 3% 0;
}
.cources_des p{
    margin: 0;

    }

.admin_blog{
    border-bottom: 1px solid #1341588c;
}
 .texts h3{
    color: #931111 !important;
    font-size: 20px;
    /* background-color: #1341582e; */
}
    .admin_blog p{
        margin: 0;

    }
/* ============ only desktop view ============ */
@media all and (min-width: 992px) {
	.navbar .nav-item .dropdown-menu{  display:block; opacity: 0;  visibility: hidden; transition:.3s; margin-top:0;  }
	.navbar .nav-item:hover .nav-link{ color: #fff;  }
	.navbar .dropdown-menu.fade-down{ top:80%; transform: rotateX(-75deg); transform-origin: 0% 0%; }
	.navbar .dropdown-menu.fade-up{ top:180%;  }
	.navbar .nav-item:hover .dropdown-menu{ transition: .3s; opacity:1; visibility:visible; top:100%; transform: rotateX(0deg); }
}
/* ============ desktop view .end// ============ */
#preloder {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999999;
    background: #000;

}

#preloder img {
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


@media(max-width: 767px) {
    #preloder img {
        width: 150px;
        height: 150px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .carousel-item .carousel-caption{
            max-width:90%;
        }
}
 :root {
            --brand-blue: #002D5B;
            --brand-gold: #D4AF37;
            --brand-light: #f8f9fa;
        }

        body { 
            font-family: 'Outfit', sans-serif; 
            color: #333;
            overflow-x: hidden;
        }

        /* Custom Brand Classes */
        .bg-brand-blue { background-color: var(--brand-blue) !important; }
        .text-brand-blue { color: var(--brand-blue) !important; }
        .bg-brand-gold { background-color: var(--brand-gold) !important; }
        .text-brand-gold { color: var(--brand-gold) !important; }
        .btn-brand-gold { 
            background-color: var(--brand-gold); 
            color: var(--brand-blue); 
            border: none; 
            font-weight: 800;
            border-radius: 50px;
            padding: 12px 30px;
            transition: 0.3s;
            border:1px solid var(--brand-gold);
        }
        .btn-brand-gold:hover { background-color: white; color: var(--brand-blue); transform: translateY(-3px);   border:1px solid var(--brand-gold);}

        /* Top Bar */
        .top-bar { font-size: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }

        /* Navigation */
        .navbar { 
            padding: 10px 0; 
            box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(10px);
        }
        .nav-link { 
            font-weight: 700; 
            font-size: 12px; 
            text-transform: uppercase; 
            color: #333 !important; 
            padding: 10px !important;
        }
        .nav-link:hover { color: var(--brand-gold) !important; }
        
        /* Hero Carousel Customization */
        .carousel-item { height: 650px; background-color: #000; }
        .carousel-item img { opacity: 0.6; object-fit: cover; height: 100%; width: 100%; }
        .carousel-caption { 
            text-align: left; 
            bottom: 25%; 
            left: 10%; 
            right: 10%; 
        }

        /* Notice Board Overlap */
        .overlap-section { margin-top: -80px; position: relative; z-index: 10; }
        .glass-card { 
            background: rgba(255, 255, 255, 0.95); 
            backdrop-filter: blur(10px); 
            border-radius: 20px; 
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            overflow: hidden;
        }

        /* News Ticker */
        .ticker-wrap { background: #eee; padding: 10px 0; overflow: hidden; }
        .ticker-move { display: inline-block; white-space: nowrap; animation: ticker-kf 30s linear infinite; }
        @keyframes ticker-kf { 
            0% { transform: translateX(100%); } 
            100% { transform: translateX(-100%); } 
        }

        /* Course Tabs */
        .nav-pills .nav-link { 
            border-radius: 50px; 
            padding: 10px 30px; 
            background: #f1f1f1; 
            margin: 0 5px; 
            color: #666 !important;
        }
        .nav-pills .nav-link.active { background: var(--brand-blue) !important; color: white !important; }
        
        .course-card { 
            border: 1px solid #eee; 
            border-radius: 25px; 
            transition: 0.4s; 
            overflow: hidden; 
            background: white;
            height: 100%;
        }
        .course-card:hover { transform: translateY(-10px); box-shadow: 0 15px 45px rgba(0,0,0,0.1); }
        .course-img-wrapper { height: 200px; position: relative; overflow: hidden; }
        .course-badge { 
            position: absolute; 
            top: 15px; 
            left: 15px; 
            background: var(--brand-gold); 
            padding: 5px 15px; 
            font-size: 10px; 
            font-weight: 800; 
            border-radius: 5px; 
        }

        /* Counters */
        .stat-box i { font-size: 40px; color: var(--brand-gold); margin-bottom: 15px; }

        /* Testimonials */
        .testimonial-card { 
            background: white; 
            padding: 40px; 
            border-radius: 30px; 
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            margin: 20px 0;
        }

        /* Floating Button */
        .floating-cta {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1000;
        }

        /* Footer */
        footer { padding-top: 80px; }
        footer a { text-decoration: none; transition: 0.3s; color: #aaa; }
        footer a:hover { color: var(--brand-gold); padding-left: 5px; }
        .carousel-item .carousel-caption{
            max-width:50%;
        }
        
        @media (min-width: 992px) {
    .navbar-collapse.collapse {
        display: flex !important; /* Forces the menu to show on Large screens */
    }
    .navbar-toggler {
        display: none !important; /* Hides the hamburger icon on Large screens */
    }
}

@media (max-width: 991px) {
    .navbar-collapse.collapse:not(.show) {
        display: none !important; /* Hides the menu on Mobile unless toggled */
    }
}
.bg-blue{
   background-color: #002d5b;
}
.success-card {
        background: #f8fafc;
        border-radius: 20px;
        padding: 40px 30px;
        border: 1px solid #e2e8f0;
        position: relative;
        margin: 10px;
        transition: transform 0.3s ease;
    }
    .success-card:hover { transform: translateY(-5px); }
    
    .quote-icon {
        position: absolute;
        top: 20px;
        right: 30px;
        color: #D4AF37;
        font-size: 2rem;
        opacity: 0.15;
    }
    
    .story-text {
        color: #475569;
        font-size: 1.05rem;
        line-height: 1.6;
        min-height: 80px;
    }
    
    .student-avatar {
        width: 50px !important;
        height: 50px !important;
        border-radius: 50%;
        border: 2px solid #D4AF37;
    }
    
    .designation {
        font-size: 0.75rem;
        color: #D4AF37;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .testimonial-decor-circle {
        position: absolute;
        width: 150px;
        height: 150px;
        background: rgba(212, 175, 55, 0.1);
        border-radius: 50%;
        top: -20px;
        left: -20px;
        z-index: 0;
    }
    /* Section Colors */
    .text-brand-blue { color: #134158; }
    .text-brand-gold { color: #D4AF37; }
    .bg-brand-blue { background-color: #134158; }

    /* Testimonial Card Styling */
    .modern-testimonial-card {
        padding: 50px 40px;
        border-radius: 25px;
        position: relative;
        border: 1px solid rgba(0,0,0,0.05);
        margin: 15px; /* Space for the shadow */
    }

    .quote-icon-top {
        color: #D4AF37;
        font-size: 2.5rem;
        opacity: 0.2;
        margin-bottom: -15px;
    }

    .testimonial-content {
        font-size: 1.15rem;
        line-height: 1.8;
        color: #555;
        font-style: italic;
    }

    /* Avatar Fix - Critical for your issue */
    .avatar-wrapper {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }

    .avatar-wrapper img {
        width: 100% !important; /* Force small size */
        height: 100% !important;
        object-fit: cover;
    }

    /* Slider Dots styling to match your brand */
    .testimonial-carousel .owl-dots .owl-dot.active span {
        background: #D4AF37 !important;
    }
    .text-safed{
        color:#fff;
    }
    .markimg{
        position: absolute;
    margin-left: -3%;
    }
    
    /* Fix for Mobile: Ensure menu is hidden by default and shown when toggled */
/* 1. MOBILE ONLY (Small screens) */
@media (max-width: 760px) {
    .navbar-collapse.collapse:not(.show) {
        display: none !important; /* Keep it hidden when not toggled */
    }
    
    .navbar-collapse.collapse.show {
        display: block !important; /* Show it when toggled */
        width: 100%;
    }
.collapse {
    visibility: visible !Important;
}
    .navbar-nav {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
       .carousel-item .carousel-caption {
        max-width: 100%;
        width: 80% !important;
    }
.markimg {
    position: absolute;
    margin-left: -5%;
    margin-right: 10% !important;
}
#heroSlider h1.display-2.fw-bolder.mb-4 {
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 3px 3px 10px rgba(0, 0, 0, 0.5) !important;
    font-size: 30px !important;
}
button.nav-link.text-capitalize {
    margin-bottom: 10px;
}
}

/* 2. LAPTOP ONLY (Large screens) */
@media (min-width: 992px) {
    .navbar-collapse.collapse {
        display: flex !important; /* Force flex display on laptop */
        visibility: visible !important;
    }

    .navbar-toggler {
        display: none !important; /* Hide hamburger on laptop */
    }
}

/* 3. SHARED FIX (General UI) */
.navbar-brand img {
    max-width: 100%;
}

#heroSlider h1.display-2.fw-bolder.mb-4 {
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 3px 3px 10px rgba(0, 0, 0, 0.5) !important;
    font-size: 55px;
}
.category-parent {
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
            border: none;
            transition: all 0.3s ease;
            box-shadow: 0 10px 20px rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .category-parent:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.12);
        }

        /* Header section with background image */
        .category-header {
            position: relative;
            height: 140px;
            overflow: hidden;
        }

        .category-header img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .category-parent:hover .category-header img {
            transform: scale(1.1);
        }

        .header-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            display: flex;
            align-items: flex-end;
            padding: 1rem;
        }

        /* Courses List inside the card */
        .course-list-container {
            padding: 1.25rem;
            flex-grow: 1;
        }

        .course-tag {
            display: block;
            background: #f8f9fa;
            border: 1px solid #eee;
            color: #444;
            padding: 8px 12px;
            border-radius: 8px;
            margin-bottom: 8px;
            font-size: 0.85rem;
            text-decoration: none;
            transition: 0.2s;
            position: relative;
            padding-left: 30px;
        }

        .course-tag::before {
            content: "\f054"; /* FontAwesome angle-right */
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 12px;
            font-size: 0.7rem;
            color: var(--brand-gold);
        }

        .course-tag:hover {
            background: var(--brand-gold);
            color: #fff;
            border-color: var(--brand-gold);
            padding-left: 35px;
        }

        .course-tag:hover::before {
            color: #fff;
        }

        /* View More Link */
        .view-more-btn {
            display: block;
            text-align: center;
            padding: 10px;
            background: var(--brand-dark);
            color: #fff;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 600;
            transition: 0.3s;
            margin-top: auto;
        }

        .view-more-btn:hover {
            background: var(--brand-gold);
            color: #fff;
        }

        .course-count-badge {
            background: var(--brand-gold);
            color: white;
            font-size: 0.7rem;
            padding: 2px 8px;
            border-radius: 50px;
            position: absolute;
            top: 10px;
            right: 10px;
        }
        .text-footer{
            color:#aaa;
        }
        .btn-home:hover {
    color: #002d5b !important;
    border: 1px solid #002d5b;
}
.collapse {
    visibility: visible !important;
}