/* =============================
   GLOBAL RESET & BASE STYLES
============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* corrected from 0 */
    font-family: "Inter", sans-serif;
}

body {
    font-family: "Inter", sans-serif;
}

/* =============================
   CUSTOM FONT
============================= */
@font-face {
    font-family: 'winner';
    src: url('../font/Winner.ttf');
}

/* =============================
   BUTTON STYLES
============================= */

/* WhatsApp Button */
.whatsppbtn {
    border: 1px solid #27ae60;
    color: #27ae60;
    padding: 10px 18px;
    font-size: 20px;
    font-weight: 500;
}

.whatsppbtn:hover {
    border: 1px solid #27ae60;
    background-color: #53c382;
    color: white;
}

/* Call Button */
.call {
    background: linear-gradient(to right, #0acefe, #2699fb);
    padding: 10px 18px;
    font-size: 20px;
    font-weight: 500;
}

.call:hover {
    color: white;
}

/* =============================
   HIGHLIGHTS SECTION
============================= */
.highlights-section {
    background-color: #f7faff;
}

.highlights-section h2 {
    color: #0a2134;
    font-size: 36px;
    font-weight: 700;
}

.highlights-section p {
    color: #9babb8;
    font-weight: 700;
}

/* =============================
   ICON BOXES
============================= */
.icon-box {
    width: 100px;
    height: 100px;
    opacity: 0.6;
    /* 60% opacity */
}

.icon-box svg {
    width: 50px;
    height: 50px;
}

/* =============================
   NAVBAR & OFFCANVAS
============================= */
.offcanvas,
.offcanvas-lg,
.offcanvas-md,
.offcanvas-sm,
.offcanvas-xl,
.offcanvas-xxl {
    --bs-offcanvas-width: 274px;
}

.navbar {
    --bs-navbar-padding-y: 0;
}

/* =============================
   BANNER SECTION
============================= */
.bannerContent h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 70px;
}

.bannerContent span {
    color: #2699fb;
}

/* Banner list styling */
.bannerContent,
.lis,
ul {
    list-style: none;
}

.bannerContent,
.lis,
ul li {
    position: relative;
    margin-bottom: 16px;
}

.bannerContent ul li::before,
.lis li::before {
    content: "\f058";
    position: absolute;
    color: #2699fb;
    left: -25px;
    font-family: "Font Awesome 5 Free";
}

/* Banner image styling */
.banner-w-lg {
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

/* =============================
   CAROUSEL CONTROLS
============================= */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: red;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    width: 20px;
    height: 20px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
}

.carousel-control-next-icon {
    border-left: none;
    border-bottom: none;
    border-right: 3px solid white;
    border-top: 3px solid white;
    transform: rotate(45deg);
}

/* =============================
   SOHEL BOX (Custom Card)
============================= */
.sohel {
    font-family: 'winner', sans-serif;
    bottom: 10px;
    right: -71px;
    width: 190px;
    height: 85px;
    background-color: rgb(245, 236, 236);
    border-radius: 16px;
    box-shadow: 10px 10px 0px 3px rgba(0, 0, 0, 0.8), -5px -5px 0px 0px rgba(255, 255, 0, 0.7);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.sohel:hover {
    box-shadow: 15px 15px 0px 5px rgba(0, 0, 0, 1), -8px -8px 0px 0px rgba(0, 255, 255, 0.9);
    border-color: #0000ff;
    background-color: rgb(230, 220, 220);
}

.sohel h3 {
    color: #222;
    text-shadow: 3px 3px 0px rgba(255, 0, 0, 0.6), 6px 6px 0px rgba(0, 0, 255, 0.4);
    margin: 0;
    padding: 8px;
    line-height: 1.2;
    font-size: 1.1rem;
    text-align: center;
}

/* =============================
   COUNTER SECTION
============================= */
.counterSection h2 {
    font-size: 30px;
    font-weight: 700;
    color: #2699fb;
}

/* =============================
   TABS
============================= */
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: black;
    background-color: #f2f4f7;
    border: none;
    border-bottom: 3px solid blue;
}

/* =============================
   LOGIN MODAL
============================= */
#loginModal .modal-dialog {
    max-width: 480px;
}

#loginModal .modal-content {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(12, 20, 40, 0.12);
}

/* Header Gradient & Title */
#loginModal .modal-header {
    background: linear-gradient(90deg, #4f46e5 0%, #0ea5a8 100%);
    color: #fff;
    padding: 1.1rem 1rem;
}

#loginModal .modal-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: .2px;
}

#loginModal .btn-close {
    filter: brightness(1.4) invert(.95);
    opacity: .95;
}

/* Modal Body & Form */
#loginModal .modal-body {
    background: #fff;
    padding: 1.25rem 1.25rem;
}

.LoginForm .mb-3 {
    margin-bottom: 0.9rem;
}

.LoginForm .form-label {
    font-size: .92rem;
    color: #374151;
    margin-bottom: .35rem;
}

.LoginForm .form-control {
    border-radius: 10px;
    border: 2px solid #cbd5e1;
    padding: .62rem .75rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: border-color .12s, box-shadow .12s, transform .06s;
    background: #fff;
}

.LoginForm .form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.08);
    transform: translateY(-1px);
    outline: none;
}

.form-check-label {
    color: #6b7280;
    font-size: .90rem;
}

.form-check-input {
    width: 1.05rem;
    height: 1.05rem;
}

/* Footer Buttons */
#loginModal .modal-footer {
    background: #ffffff;
    border-top: none;
    padding: .9rem 1.25rem;
    display: flex;
    gap: .6rem;
    justify-content: flex-end;
}

#loginModal .btn-primary {
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
    border: none;
    border-radius: 10px;
    padding: .55rem 1rem;
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.12);
}

#loginModal .btn-secondary {
    background: #f3f4f6;
    color: #111827;
    border-radius: 10px;
    padding: .55rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.04);
}

/* Helper Text */
.form-help {
    font-size: .85rem;
    color: #6b7280;
    margin-top: .45rem;
}

/* Responsive for small devices */
@media (max-width: 420px) {
    #loginModal .modal-dialog {
        margin: 1rem;
    }

    #loginModal .modal-content {
        border-radius: 12px;
    }

    #loginModal .modal-title {
        font-size: 1.25rem;
    }
}

.curriculum-img {
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: tranform 0.3s ease-in;
}

.curriculum-img:hover {
    transform: scale(1.03);
    transition: 0.3s ease-in-out;
}

.card-subtitle {
    text-transform: uppercase;
    color: #0d6dfdcb;
    /* Bootstrap primary blue */
}


.banner-bg,
.banner-bg1,
.banner-bg2,
.banner-bg3,
.banner-bg4 {
    height: 90vh;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}


.banner-bg {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)),
        url('../asset/banner.jpg');
}

.banner-bg1 {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)),
        url('../asset/banner2.jpg');
}

.banner-bg2 {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)),
        url('../asset/banner3.jpg');
}

.banner-bg3 {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)),
        url('../asset/banner4.jpg');
}
.banner-bg4 {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)),
        url('../asset/b-bg5.jpg');
}

/* Align carousel buttons center right */
.carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev.custom-nav {
    left: auto;
    right: 60px;
}

.carousel-control-next.custom-nav {
    right: 10px;
}

/* Optional: Improve text visibility on all screen sizes */
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-radius: 8px;
}

  .hero h2{ color:#3b82f6; }
  .lead-muted{ color:#6b7280; }

  .gallery-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap:1rem;
  }
  .gallery-item{
    overflow:hidden;
    border-radius:12px;
    box-shadow:0 4px 14px rgba(0,0,0,0.1);
    transition: transform .3s ease;
    width:100%;
    height:220px; /* fixed height */
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    transition: transform .5s ease;
  }
  .gallery-item:hover{ transform: translateY(-6px); }
  .gallery-item:hover img{ transform: scale(1.08); }
  .btn-dark{
    border-radius:8px;
  }