/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;700&family=Roboto:wght@400;500;700&display=swap');

/* Root Variables */
:root {
  /* Background Colors */
  --primary-bg-color: #004D40;
  --secondary-bg-color: #EAFFEA;
  --light-bg-color: #EBF9E0;
  --main-bg-color: #ffffff;
  --nav-bg-color: #3F4D70;
  --news-label-color: #3F4D70;
  /* gradiant */
  --nav-gradiant-bg: #609513;
  --primary-gradiant-bg: linear-gradient(180deg, rgba(196, 169, 204, 1) 0%, rgba(119, 43, 145, 1) 50%, rgba(196, 169, 204, 1) 100%);

  /* Text Colors */
  --primary-text-color: #762A8F;
  --secondary-text-color: #1A7F3C;
  --nav-text-color: #ff5522;

  /* Font Sizes */
  --font-header-size: 19px;
  --font-content-size: 16px;
  --font-small-size: 14.4px;
  --font-large-size: 20.8px;
  --nav-school-name: 44px;
  --nav-school-paragraph: 18px;
}

/* Professional Reset & Basic Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Arial', 'Noto Sans Bengali', sans-serif;
  color: #494949;
  position: relative;
  overflow-x: hidden;
  box-sizing: border-box;
  padding: 0 !important;
  background-position: center center;
  background-size: auto;
  background-repeat: repeat;
  background-attachment: scroll;
}

.container {

  margin: 0 auto;

}



/* --- ট্যাবলেট ডিভাইসের জন্য (সর্বোচ্চ ১০২৪ পিক্সেল স্ক্রিন) --- */
@media (max-width: 1024px) {
    .container {
        padding: 40px 0 26px 0;
    }
}

/* --- মোবাইল ডিভাইসের জন্য (সর্বোচ্চ ৭৬৮ পিক্সেল স্ক্রিন) --- */
@media (max-width: 768px) {
    .container {
         padding: 40px 0 26px 0;
    }
}


/* --- Topbar Container Layout --- */
.topbar {
  background-color: var(--primary-text-color, #111); /* ব্যাকগ্রাউন্ড কালার নিশ্চিত করার জন্য */
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

.topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px; /* আপনার প্রজেক্টের কন্টেইনার সাইজ অনুযায়ী কম-বেশি করতে পারেন */
  margin: 0 auto;
  padding: 0 15px;
}

.topbar-left span {
  margin-right: 20px;
}

.topbar-left b {
  color: #fff;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px; /* image_e8c3d8.png এর মতো আইকনগুলোর মাঝের সুন্দর দূরত্ব */
}

/* --- হুবহু ইমেজের মতো রাউন্ডেড ও কালারফুল সোশ্যাল আইকন --- */
.topbar-right a.icon {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important; /* পুরোপুরি গোল করার জন্য */
  color: white !important;       /* ভেতরের লোগো সাদা রাখার জন্য */
  font-size: 14px !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important; /* ইমেজের মতো হালকা বর্ডার */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4) !important;   /* ডার্ক ব্যাকগ্রাউন্ডে গ্লো করার জন্য */
  transition: transform 0.2s ease, filter 0.2s ease !important;
}

/* হোভার করলে ইমেজের মতো ভাইব্রেন্ট গ্লো হবে */
.topbar-right a.icon:hover {
  transform: scale(1.15) !important;
  filter: brightness(1.2) !important;
}

/* --- image_e8c3d8.png অনুযায়ী কাস্টম কালার প্যালেট --- */
.topbar-right a.facebook { background-color: #17A2F2 !important; }  /* ছবির মতো লাইট ব্লু */
.topbar-right a.youtube { background-color: #FF0000 !important; }   /* একদম উজ্জ্বল লাল */
.topbar-right a.twitter { background-color: #46C3D3 !important; }   /* ছবির ৩ নম্বর X আইকনের ব্যাকগ্রাউন্ড */
.topbar-right a.instagram { background-color: #51A5C3 !important; } /* ছবির ৪ নম্বর আইকনের কালার টোন */
.topbar-right a.linkedin { background-color: #0077B5 !important; }  /* ছবির ৫ নম্বর আইকনের ডার্ক ব্লু */
.topbar-right a.tiktok { background-color: #111111 !important; }    /* ব্ল্যাক টিকটক ব্যাকগ্রাউন্ড */
.topbar-right a.pinterest { background-color: #BD081C !important; } /* উজ্জ্বল পিন্টারেস্ট রেড */
.topbar-right a.whatsapp { background-color: #25D366 !important; }  /* হোয়াটসঅ্যাপ গ্রিন */

/* --- লগইন বাটন স্টাইল --- */
.topbar-right a.login-btn {
  color: white !important;
  text-decoration: none !important;
  margin-left: 10px !important;
  font-weight: 500;
  transition: color 0.3s !important;
}

.topbar-right a.login-btn:hover {
  color: #ffdd57 !important;
}


/* --- রেসপন্সিভ ডিজাইন: মোবাইল এবং ট্যাবলেটে হাইড করার জন্য --- */
@media (max-width: 991px) {
  .topbar {
    display: none !important;
  }
}





.main-header {
  background-color: white;
  padding: 15px 0;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}




.logo-area {
  display: flex;
  align-items: center;
}

.logo-area img {
  height: 150px;
  margin-right: 20px;
  animation: fadeIn 1s;
}

.college-title h1,
.college-title h2,
.college-title p {
  margin: 0;
}

.college-title h1 {
  font-family: 'Noto Sans Bengali', sans-serif;
  color: #d32f2f;
  font-size: 28px;
}

.college-title h2 {
  color: #004d40;
  font-size: 24px;
}

.college-title p {
  font-size: 14px;
  color: #555;
}

.header-principal {
  text-align: center;
}

.header-principal img {
  height: 230px;
  width: 230px;
  border-radius: 50%;
  border: 3px solid var(--primary-text-color);
}

.header-principal p {
  margin: 5px 0 0;
  font-size: 18px;
  line-height: 1.3;
}





/* ==========================================================================
   ১. রিসেট এবং গ্লোবাল স্টাইলস (ডিফল্ট)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif; /* আপনার প্রজেক্টের পছন্দসই ফন্ট ব্যবহার করতে পারেন */
}

/* ==========================================================================
   ২. টপবার স্টাইলস (TopBar Styles)
   ========================================================================== */
.topbar {
    width: 100%;
    background: #2e3192; /* মূল থিম কালার (গাঢ় নীল) */
    color: white;
    font-size: 14px;
    padding: 8px 0;
}

.topbar-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.topbar-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar-left span b {
    font-weight: 600;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* কালারফুল সোশ্যাল আইকন */
.topbar-right .icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.topbar-right .icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* টপবার লগইন বাটন */
.login-btn {
    background: #ff8500;
    color: #ffffff !important;
    padding: 6px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    border: 2px solid #ff8c0e;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: inline-block;
}

.login-btn:hover {
    background: transparent;
    color: #ffffff !important;
    border-color: #f9ae5c;
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
    transform: translateY(-1px);
}

/* ==========================================================================
   ৩. ডেস্কটপ ন্যাভবার স্টাইলস (Desktop Layout - ল্যাপটপ ও কম্পিউটারের জন্য)
   ========================================================================== */
.nav_school {
    width: 100%;
    background-color: #ffffff; /* ডেস্কটপে ব্যাকগ্রাউন্ড সাদা */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo img {
    display: block;
    max-height: 60px;
    width: auto;
}

.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ডেস্কটপে হেডার লগইন বাটন এবং মোবাইল টগল হাইড থাকবে */
.header-login-btn,
.mobile-toggle {
    display: none !important;
}

/* ডেস্কটপ মেইন মেনু কন্টেইনার */
ul.menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 auto; /* মেনু একদম সেন্টারে (মাঝখানে) রাখার জন্য */
    padding: 0;
}

ul.menu > li {
    position: relative;
}

ul.menu > li > a {
    color: #000000; /* ডেস্কটপে মেনুর লেখা কালো */
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 22px 12px;
    display: flex;
    align-items: center;
    user-select: none;
    white-space: nowrap;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

/* হোভার আন্ডারলাইন অ্যানিমেশন ইফেক্ট */
ul.menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 12px;
    right: 12px;
    height: 2px;
    background-color: #2e3192; /* বেগুনি কালার */
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

ul.menu > li > a:hover,
ul.menu > li > a:focus,
ul.menu > li.show > a {
    color: #2e3192; /* হোভার করলে বেগুনি কালার হবে */
}

ul.menu > li > a:hover::after,
ul.menu > li > a:focus::after,
ul.menu > li.show > a::after {
    transform: scaleX(1);
}

/* ডেস্কটপ ড্রপডাউন সাবমেনু */
ul.menu > li > ul.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 230px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) translateX(-50%);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
    margin: 0;
}

/* মাউস হোভার এবং অ্যাক্টিভ ক্লাসে সাবমেনু দেখানোর ডেস্কটপ লজিক */
@media (min-width: 769px) {
    ul.menu > li:hover > ul.submenu,
    ul.menu > li.show > ul.submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) translateX(-50%);
    }
}

ul.submenu li a {
    display: block;
    padding: 10px 20px;
    color: #131313;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

ul.submenu li a:hover,
ul.submenu li a:focus {
    background-color: rgba(157, 90, 185, 0.1); /* হালকা বেগুনি ব্যাকগ্রাউন্ড */
    color: #9D5AB9;
}

/* ==========================================================================
   ৪. রেসপনসিভ স্টাইলস (Tablet & Mobile - ৭৬৮ পিক্সেল বা তার নিচে)
   ========================================================================== */
@media (max-width: 768px) {
    /* টপবার কলাম লেআউট */
    .topbar-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* মোবাইল হেডার অর্ডারিং: [☰ Menu] ---- [ Logo ] ---- [Login Button] */
    .nav_school {
        width: 100% !important;
        position: relative !important;
        display: block !important;
        background-color: #ffffff !important;
    }

    .nav-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 16px !important;
        box-sizing: border-box !important;
    }

    /* ১. বামে হ্যামবার্গার মেনু (☰) */
    .mobile-toggle {
        order: 1 !important;
        display: block !important;
        font-size: 1.6rem !important;
        color: #19191a !important;
        background: transparent !important;
        border: none !important;
        padding: 5px !important;
        margin: 0 !important;
        cursor: pointer !important;
        line-height: 1 !important;
    }

    /* ২. মাঝখানে লোগো */
    .nav-logo {
        order: 2 !important;
        display: flex !important;
        justify-content: center !important;
        flex-grow: 1 !important;
        text-align: center !important;
    }

    .nav-logo img {
        width: 100px !important;
        height: auto !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    /* ৩. ডানে ৩-লাইনের পাশের বিশেষ লগইন বাটন */
    .nav-right-actions {
        order: 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-shrink: 0 !important;
        gap: 12px !important;
    }

    .header-login-btn {
        display: inline-block !important;
        background: #ff8402 !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        font-size: 13px !important;
        padding: 6px 14px !important;
        border-radius: 20px !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        box-shadow: 0 2px 6px rgba(249, 174, 92, 0.3) !important;
    }

    .header-login-btn:active {
        background: #ff8902;
        transform: scale(0.95);
    }
/* মোবাইল মেইন ড্রপডাউন মেনু ব্যাকগ্রাউন্ড (উচ্চতা ফুল এবং ব্যাকগ্রাউন্ড কালো) */
ul.menu {
    display: none; /* ডিফল্টভাবে বন্ধ */
    flex-direction: column !important;
    align-items: stretch !important;
    width: 80% !important; /* উইডথ একটু কমানো হলো */
    height: 100vh !important; /* হাইট সম্পূর্ণ স্ক্রিন জুড়ে করা হলো */
    background-color: #1a1a1a !important; /* মেনুর ব্যাকগ্রাউন্ড ডার্ক/কালো করা হলো */
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.3) !important;
    overflow-y: auto !important;
    z-index: 9999 !important;
    gap: 0 !important;
}

/* মেনুর ভেতরের টেক্সট কালার সাদা করার জন্য (প্রয়োজন হলে ব্যবহার করবেন) */
ul.menu li a {
    color: #ffffff !important;
}

    /* Alpine.js ক্লাস টগল হলে মেনু ওপেন হবে */
    ul.menu.show {
        display: flex !important;
    }

    ul.menu > li > a {
        color: #1f1f1f !important; /* লেখা কালো */
        padding: 14px 20px !important;
        font-size: 15px !important;
        border-bottom: 1px solid #f0f0f0 !important; /* হালকা সেপারেটর বর্ডার */
        width: 100%;
        box-sizing: border-box;
    }

    ul.menu > li > a::after {
        display: none !important; /* মোবাইলে আন্ডারলাইন ইফেক্ট বাতিল */
    }

    ul.menu > li > a:hover {
        background-color: #f7f7f7 !important;
        color: #9D5AB9 !important;
    }

    /* ----------------------------------------------------------------------
       মোবাইল সাবমেনু (এক ক্লিকে ওপেন ও সাদা ব্যাকগ্রাউন্ডের মূল সেটিংস)
       ---------------------------------------------------------------------- */
    ul.menu > li > ul.submenu {
        display: none !important; /* ওভারল্যাপ এড়াতে ডেস্কটপের স্টাইল ডিফল্টভাবে বন্ধ */
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        background-color: #fafafa !important; /* সাবমেনুর ব্যাকগ্রাউন্ড ফ্রেশ অফ-হোয়াইট/সাদা */
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Alpine.js এর activeSubmenu এর কারণে li-তে .show ক্লাস আসলে সাবমেনু এক ক্লিকে খুলবে */
    ul.menu > li.show > ul.submenu {
        display: block !important;
    }

    ul.submenu li a {
        padding: 12px 35px !important; /* সাবমেনু আইটেমগুলোকে একটু ডানে পুশ করা */
        color: #333333 !important;
        font-size: 14px !important;
        border-bottom: 1px solid #eeeeee !important;
        background-color: #fafafa !important;
    }

    ul.submenu li a:hover {
        background-color: #f0f0f0 !important;
        color: #9D5AB9 !important;
    }
}

/* ==========================================================================
   ৫. ব্যানার সেকশন (Banner Section)
   ========================================================================== */
.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .banner {
        flex-direction: column;
        height: auto;
        text-align: center;
    }
    .left-logo img {
        height: 100px;
    }
}


@media (max-width: 768px) {
    /* মোবাইলের মেইন ড্রপডাউন মেনু ব্যাকগ্রাউন্ড সাদা */
    ul.menu {
        background-color: #ffffff !important;
    }

    /* মোবাইলে সিএসএস এর মাধ্যমে ডিফল্ট সাব-মেনু হাইড রাখা */
    ul.menu > li > ul.submenu {
        display: none !important;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        background-color: #ffffff !important; /* সাবমেনু ব্যাকগ্রাউন্ড সম্পূর্ণ সাদা */
        box-shadow: none !important;
        padding: 0 !important;
    }

    /* Alpine.js এর ক্লিকে মেইন মেনুতে .show ক্লাস আসার সাথে সাথে সাব-মেনু ১ ক্লিকে ওপেন হবে */
    ul.menu > li.show > ul.submenu {
        display: block !important;
    }

    /* মোবাইলে কোনো স্টিকি হোভার কালার থাকবে না, শুধুমাত্র টেক্সট কালার থাকবে */
    ul.menu > li > a:hover,
    ul.menu > li > a:focus,
    ul.menu > li > a:active {
        background-color: transparent !important;
        color: #1f1f1f !important;
    }

    /* সাব-মেনুর ভেতরের লিংকগুলোর ডিজাইন ও সাদা ব্যাকগ্রাউন্ড */
    ul.submenu li a {
        background-color: #ffffff !important;
        color: #333333 !important;
        display: block !important;
        padding: 12px 35px !important;
        border-bottom: 1px solid #f5f5f5 !important;
    }

    ul.submenu li a:hover {
        background-color: #f9f9f9 !important;
        color: #9D5AB9 !important;
    }
}



@media (max-width: 768px) {
    ul.menu>li>a {

border-top: 1px solid #ffffff !important;
        padding: 8px  14px !important;
    }
}

@media (max-width: 768px) {
    ul.submenu li a {

        border-top: 1px solid #ffffff !important;
    }
}



/* ==========================================================================
   ১. শুধুমাত্র মোবাইল স্ক্রিনের জন্য রেসপন্সিভ সিএসএস (Max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {

    /* মোবাইল মেইন ড্রপডাউন মেনু (ল্যাপটপে এটি ইফেক্ট করবে না) */
    ul.menu {
        display: none; /* জাভাস্ক্রিপ্ট দিয়ে ওপেন করার জন্য */
        flex-direction: column !important;
        align-items: stretch !important;

        /* সাইজ এবং পজিশন */
        width: 80% !important; /* স্ক্রিনের ৮০% জুড়ে মেনু থাকবে */
        height: 100vh !important; /* হাইট সম্পূর্ণ স্ক্রিন জুড়ে */
        position: fixed !important; /* স্ক্রোল করলেও নড়বে না */
        top: 0 !important;
        left: 0 !important;

        background-color: #ffffff !important; /* মেইন মেনুর ব্যাকগ্রাউন্ড সম্পূর্ণ সাদা */
        padding: 20px 0 !important;
        margin: 0 !important;
        overflow-y: auto !important;
        z-index: 99999 !important;
        gap: 0 !important;

        /* বাকি খালি অংশে কালো আবছা শেড (Overlay Effect) */
        box-shadow: 0 0 0 500px rgba(0, 0, 0, 0.5) !important;
    }

    /* মোবাইল মেইন মেনুর লিংক স্টাইল (টেক্সট কালো) */
    ul.menu > li > a {
        color: #000000 !important; /* মেইন মেনুর টেক্সট কালো */
        border-bottom: 1px solid #eeeeee !important; /* হালকা গ্রে বর্ডার */
        padding: 12px 20px !important;
        display: block !important;
    }

    /* ----------------------------------------------------------------------
       ২. সাব-মেনু স্টাইল (Submenu Color Red)
       ---------------------------------------------------------------------- */
    ul.submenu, ul.menu li ul {
        background-color: #eaf3fa!important; /* সাব-মেনুর ব্যাকগ্রাউন্ড লাল */
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    /* সাব-মেনুর ভেতরের লিংক */
    ul.submenu li a, ul.menu li ul li a {
        background-color: #eaf3fa !important; /* ব্যাকগ্রাউন্ড লাল */
        color: #000000 !important; /* টেক্সট কালার সাদা (লালের ওপর ফুটবে ভালো) */
        border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
        padding: 10px 70px !important; /* সাব-মেনু চেনার জন্য একটু ডানে সরানো */
        display: block !important;
    }

    /* মেনু ওপেন থাকলে পেছনের পেজের স্ক্রোল লক করার জন্য */
    body.menu-open {
        overflow: hidden !important;
    }
}







/* Marquee Section Styles */
.marquee-section {
  width: 100%;
  background: #f2f2f2;


  overflow: hidden;
}

.marquee-container {
  max-width: 1570px; /* আপনার মেইন গ্রিড অনুযায়ী পরিবর্তন করতে পারেন */
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: #f2f2f2;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  height: 46px;
}

.marquee-label {
  font-weight: 700;
  color: white;
  font-size: 1rem;
  display: flex;
  align-items: center;
  background-color: #2e3192;
  gap: 8px;
  padding: 0 20px;
  position: relative;
  white-space: nowrap;
  height: 100%;
  z-index: 2;
}

.marquee-label::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 0;
  height: 0;
  border-top: 23px solid transparent;
  border-bottom: 23px solid transparent;
  border-left: 16px solid #772B91;
  z-index: 2;
}

.marquee-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  padding-left: 25px;
  display: flex;
  align-items: center;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}

.marquee-data {
  display: flex;
  align-items: center;
}

.marquee-item {
  display: inline-block;
  margin-right: 50px; /* প্রতিটা নোটিশের মাঝের দূরত্ব */
  color: #1a7f3c;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  white-space: nowrap;
}

.marquee-item:hover {
  color: #772B91;
}








/* --- Main Content --- */
.main-content {
  padding: 0;

}

.content-wrapper {
  display: grid;

  gap: 10px;
}

.left-column {
  grid-column: span 4;
  padding: 0;
  background-color: white;
  border-radius: 0px;
}

.right-column {
  grid-column: span 1;
  background-color: white;
  padding: 0 0 30px 0;
  border-radius: 5px;

}

.main-wrapper {
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.18);
  max-width: 1400px;
  margin: auto;
}

.card {
  background-color: white;
  padding: 20px;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10);
  animation: slideInUp 0.8s ease-out;
  color: black;

}

.card:hover {
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.18);
}

.card h3 {
  margin-top: 0;
  font-family: 'Noto Sans Bengali', sans-serif;
  color: var(--primary-text-color);
  border-bottom: 2px solid var(--primary-text-color);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notice-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #ccc;
}

.notice-list li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.notice-list li a:hover {
  color: #d32f2f;
}

.all-notices,
.read-more {
  display: inline-block;
  margin-top: 15px;
  background: linear-gradient(180deg, rgba(196, 169, 204, 1) 0%, rgba(119, 43, 145, 1) 50%, rgba(196, 169, 204, 1) 100%);
  color: white;
  padding: 8px 15px;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.3s, color 0.3s;
}

.all-notices:hover,
.read-more:hover {
  background: linear-gradient(180deg, rgba(119, 43, 145, 1) 0%, rgba(196, 169, 204, 1) 50%, rgba(119, 43, 145, 1) 100%);
  color: #ffffff;
}



.important-links {
  list-style: none;
  padding-left: 0;
}

.important-links li a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #333;
  border-bottom: 1px dotted #eee;
}

.important-links li a:before {
  content: '\f0da';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 10px;
  color: var(--primary-text-color);
}

audio {
  width: 100%;
  margin-top: 10px;
}

.emergency-hotlines img,
.national-helpline img {
  width: 100%;
  height: auto;
}

/* Calendar */
.calendar-card {

  background: white;
  box-shadow: 0 6px 24px 0 rgba(37, 99, 235, 0.08);
  padding-bottom: 1.2rem;
}

#calendar {
  width: 100%;
  background: transparent;
  border-radius: 12px;
  box-shadow: none;
  padding: 1rem 0.5rem 0.5rem 0.5rem;
  font-family: inherit;
}

#calendar .calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5em;
  background: #772B91;
  color: #fff;
  border-radius: 8px;
  padding: 0.5em 0.7em;
  font-size: 1.1em;
  box-shadow: 0 2px 8px 0 rgba(37, 99, 235, 0.10);
}

#calendar .calendar-nav {
  cursor: pointer;
  color: #fff;
  background: #612077;
  border-radius: 50%;
  width: 2em;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  transition: background 0.4s, color 0.2s, box-shadow 0.3s;
  box-shadow: 0 1px 4px 0 rgba(30, 64, 175, 0.10);
  border: none;
  user-select: none;
  padding: 0 0.5em;
}

#calendar .calendar-nav:hover {
  background: #3f164d;
  color: #ffffff;
  box-shadow: 0 2px 8px 0 rgba(56, 189, 248, 0.15);
}

#calendar table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0.2em;
  text-align: center;
  margin-top: 0.5em;
}

#calendar th {
  color: #772B91;
  font-weight: 700;
  background: #e0e7ff;
  border-radius: 6px;
  padding: 0.4em 0;
  font-size: 1em;
  letter-spacing: 0.5px;
}

#calendar td {
  padding: 0.5em 0.2em;
  font-size: 1.05em;
  color: #334155;
  border-radius: 8px;
  background: #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  box-shadow: 0 1px 4px 0 rgba(30, 64, 175, 0.04);
}

#calendar td.today {
  background: linear-gradient(135deg, #772B91 60%, #c16ade 100%);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 2px 8px 0 rgba(37, 99, 235, 0.15);
  border: 2px solid #292929;
}

#calendar td:hover:not(.today):not(:empty) {
  background: #e5b7f5;
  color: #772B91;
  box-shadow: 0 2px 8px 0 rgba(56, 189, 248, 0.10);
}

/* Principal Pro Card Styles */
.principal-pro-card {
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10);
  display: flex;
  padding-bottom: 20px;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.principal-pro-card:hover {
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.18);
}

.principal-img-wrapper {
  background: linear-gradient(135deg, #e0e7ff 0%, #f0fdfa 100%);
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
}

.principal-img {
  /* width: 300px; */
  height: 200px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10);
}

.principal-info {
  text-align: center;
}

.principal-info a {
    display: inline-block;
    background: #2e3192;
    padding: 10px 10px;
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
    border-left: 5px solid #f8a96b;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
}

.principal-info a::before {
  content: "❝";
  font-size: 2rem;
  color: #8E50A2;
  position: absolute;
  left: 10px;
  top: -10px;
}

.principal-info a:hover {
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.principal-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.5px;
}

.principal-title {
  font-size: 1rem;
  color: white;
  background: var(--primary-gradiant-bg);
  font-weight: 600;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.6rem;
  display: flex;
  margin-top: 0px;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  width: 100%;
}

.principal-quote {
  font-size: 0.98rem;
  color: #64748b;
  font-style: italic;
  margin-top: 0.5rem;
  padding: 0 0.5rem;
}

/* Info Board Section Styles */
.info-board-section {
  background: white;
  border-radius: 12px;
  margin-bottom: 32px;

  padding: 24px 16px 8px;
}

.info-board-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-board-main {
  display: flex;
  align-items: center;
  background: rgba(230, 230, 230, 0.393);
  ;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 1px 6px 0 rgba(60, 180, 90, 0.08);
  gap: 24px;
}

.info-board-img i {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  color: var(--primary-text-color);
  box-shadow: 0 2px 8px 0 rgba(60, 180, 90, 0.1);
  font-size: 139px;
}

.info-board-content {
  width: 100%;
}

.info-board-content h3 {
  margin: 0 0 8px 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-text-color);
}

.info-board-content ul {
  margin: 0;
  padding-left: 18px;
  color: #0F574B;
  font-size: 1rem;
}

.info-board-content ul li {
  margin-bottom: 4px;
  line-height: 1.5;
}

.info-board-content ul li h1 {
  font-size: 20px;
  color: rgb(46, 46, 46);
  font-weight: 500;
}

.info-board-content ul li a {
  display: inline-block;
  padding: 5px;
  color: #59216c;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.info-board-content ul li a:hover {
  color: black;
  /* Darker blue on hover */
  transform: scale(1.03);
}

.info-board-row {
  display: flex;
  gap: 18px;
}

.info-board-card {
  flex: 1 1 0;
  background: rgba(230, 230, 230, 0.393);
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(60, 180, 90, 0.08);
  padding: 16px 14px 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  transition: box-shadow 0.2s;
}

.info-board-card:hover {
  box-shadow: 0 4px 16px 0 rgba(60, 180, 90, 0.13);
}

.info-board-card i {
  color: var(--primary-text-color);
  margin-right: 6px;
  flex-shrink: 0;
}

.info-board-card img {
  margin-right: 6px;
  height: 100px;
  width: auto;
  flex-shrink: 0;
}

.info-board-card strong {
  font-size: 1.08rem;
  color: var(--primary-text-color);
  display: block;
  margin-bottom: 4px;
}

.info-board-card ul {
  margin: 0;
  padding-left: 16px;
  font-size: 0.98rem;
  color: #333;
}

.info-board-card ul li {
  margin-bottom: 2px;
  line-height: 1.4;
}

.info-board-card ul li a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
  display: inline-block;
}

.info-board-card ul li a:hover,
.info-board-card ul li a:focus {
  color: var(--primary-text-color);
  outline: none;
  text-decoration: underline;
  text-decoration-color: var(--primary-text-color);
}

.info-board-card ul li a:active {
  color: var(--primary-text-color);
  outline: none;
}




/* --- Hero Section & Layout --- */
.hero-section {
    position: relative;
    animation: fadeIn 1.5s;
    background: #ededed;
    padding: 30px  0 0 0;
}

.hero-container {
    display: flex;

    max-width: 1600px; /* স্ট্যান্ডার্ড বড় স্ক্রিনের জন্য উইডথ বাড়ানো হয়েছে */
    margin: 0 auto;
    padding: 0 15px;
    align-items: stretch; /* বাম ও ডান পাশের উচ্চতা সমান রাখবে */
    box-sizing: border-box;
}

.hero-left {
    flex: 1.6;
    min-width: 0; /* Swiper-এর সাইজ বাগ ফিক্স করার জন্য */
}
@media (max-width: 992px) {

    .hero-left {


        border-radius: 0 !important;

    }

}
/* Tablet & Mobile Responsive Styles (768px বা তার নিচে) */
@media (max-width: 768px) {
    .hero-left {
        border-radius: 0 !important; /* ফোন এবং ট্যাবলেটে বর্ডার রেডিয়াস ০ হয়ে যাবে */
    }
}




/* --- Swiper Slider Images --- */
.hero-section .hero-left .swiper {
    height: 100%;
}

.hero-section .hero-left img {
    width: 100%;
    height: 100%;
    min-height: 380px; /* ছোট স্ক্রিনেও যেন ইমেজ একদম চ্যাপ্টা না হয়ে যায় */
    max-height: 480px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

/* --- ডান পাশের ব্যানার কার্ড --- */
.admission-banner-card {
    background-color: #2e3192;
    border-radius: 18px;
    width: 100%;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

/* ভর্তি ব্যাজ */
.admission-badge {
    background-color: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* সাব টাইটেল */
.banner-sub-title {
    color: #bfa6ff;
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    font-weight: 500;
}

/* মেইন টাইটেল */
.banner-main-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

/* হাইলাইট টেক্সট */
.banner-highlight {
    color: #ffffff;
    font-size: 1.05rem;
    margin: 0 0 25px 0;
    font-weight: 400;
}

.pink-text {
    color: #ff2a93;
    font-weight: bold;
    border-bottom: 2px dashed #ff2a93;
}

/* বাটন কন্টেইনার */
.banner-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 220px;
}

/* ভর্তি ফর্ম বাটন */
.btn-pink {
    background: linear-gradient(135deg, #ff2a93, #c9126d);
    color: #ffffff;
    text-decoration: none;
    padding: 11px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 15px rgba(255, 42, 147, 0.2);
}

.btn-pink:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 42, 147, 0.4);
}

/* যোগাযোগ করুন বাটন */
.btn-outline {
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    padding: 11px 30px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, border-color 0.2s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

/* --- এডমিশন লোগো সাইজ এবং অ্যানিমেশন --- */
.admission-logo-wrapper {
    margin-bottom: 25px; /* নিচের বাটনের সাথে গ্যাপ তৈরি করার জন্য */
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.admission-logo-wrapper img {
    width: 250px;         /* আপনার পছন্দমত সাইজ পরিবর্তন করতে পারবেন */
    height: auto;
    object-fit: contain;
    /* অ্যানিমেশন সেটআপ */
    animation: floatAnimation 3s ease-in-out infinite;
}

/* ভাসমান অ্যানিমেশনের Keyframes */
@keyframes floatAnimation {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px); /* ৫-৮ পিক্সেল উপরে উঠবে */
    }
    100% {
        transform: translateY(0px);
    }
}


/* মোবাইল এবং ট্যাবলেটে (768px বা তার ছোট স্ক্রিনে) অ্যারো বাটন হাইড করার জন্য */
@media (max-width: 768px) {
    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }
}




/* ==========================================================================
   BUTTONS MAIN STYLE (সব স্ক্রিনের জন্য বাটন এক লাইনে রাখার মূল কোড)
   ========================================================================== */
.banner-action-buttons {
    display: flex !important;
    flex-direction: row !important; /* বাটন দুটিকে এক লাইনে (Row) করবে */
    flex-wrap: wrap;               /* স্ক্রিন খুব বেশি ছোট হলে বাটন ভেঙে নিচে নামবে */
    gap: 12px;
    width: 100%;
    max-width: 100%;               /* ডেস্কটপে বাটন ছড়ানোর পর্যাপ্ত জায়গা দিবে */
}

.btn-pink, .btn-outline {
    flex: 1;                       /* দুটি বাটন সমান সমান জায়গা নিবে */
    min-width: 130px;              /* বাটনের ভেতরের টেক্সট অনুযায়ী মিনিমাম উইডথ */
    white-space: nowrap;           /* টেক্সট যেন ভেঙে দুই লাইন না হয়ে যায় */
}

/* যোগাযোগ করুন বাটন ডিফল্ট স্টাইল */
.btn-outline {
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, border-color 0.2s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}


/* ==========================================================================
   MEDIA QUERIES (সব ডিভাইসের জন্য রেসপনসিভ ব্রেকপয়েন্ট)
   ========================================================================== */

/* ১. মিডিয়াম ল্যাপটপ এবং ট্যাবলেট ল্যান্ডস্কেপ (max-width: 992px) */
@media (max-width: 992px) {
    .hero-container {
        gap: 20px;
    }
    .banner-main-title {
        font-size: 1.6rem;
    }
    .admission-banner-card {
        padding: 40px 20px;
    }
}

/* ২. ট্যাবলেট পোর্ট্রেট এবং বড় মোবাইল (max-width: 768px) */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column; /* স্লাইডার উপরে এবং কার্ড নিচে চলে আসবে */
        align-items: stretch;
    }

    .hero-left, .hero-right {
        flex: unset;
        width: 100%;
    }

    .hero-section .hero-left img {
        max-height: 350px;
    }

    .admission-banner-card {
        padding: 40px 25px;
        align-items: center; /* কন্টেন্টগুলো মাঝে দেখাবে */
        text-align: center;
    }

    .banner-action-buttons {
        max-width: 340px; /* ট্যাবলেটে বাটন দুটি পাশাপাশি সুন্দর দেখানোর জন্য উইডথ বাড়ানো হলো */
        margin: 0 auto;
    }
}

/* ৩. ছোট স্মার্টফোন বা মোবাইল (max-width: 480px) */
@media (max-width: 480px) {
    .hero-section {
        padding: 0 0 !important;
    }

    .hero-container {
        gap: 0;
        padding: 0 0;
    }

    .hero-section .hero-left img {
        max-height: 240px;
        border-radius: 12px;
    }

    .admission-banner-card {
        padding: 0 0;
        border-radius: 12px;
    }

    .banner-sub-title {
        font-size: 0.95rem;
    }

    .banner-main-title {
        font-size: 1.35rem;
        line-height: 1.3;
    }

    .banner-highlight {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .banner-action-buttons {
        max-width: 100%; /* মোবাইলে সম্পূর্ণ জায়গা জুড়ে থাকবে */
    }
}


@media (max-width: 992px) {
    .banner-right-wrapper {
        max-height: 265px !important;
    }
}


/* Video Section Styles */
.video-section {
  padding: 20px 0 30px 0;
  background:rgb(255, 255, 255);
  border-radius: 18px;
  max-width: 1600px;
  margin: auto;
}

.title_header {
  font-size: 29px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-align: center;
  color: #ffffff;

}

.section-title-chairman-card {
  text-align:center;
  font-size: 2.1rem;
  margin-bottom: 32px;

  color: #343795;
  font-weight: 700;
  padding: 5px;
}

.section_description {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.video-thumb {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(30, 60, 120, 0.10);
  padding: 12px 10px 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.7s both;
  border-radius: 12px;
}

.video-thumb:hover {
  transform: translateY(-7px) scale(1.04);
  box-shadow: 0 6px 24px 0 rgba(30, 60, 120, 0.16);
}

.thumb-anim {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.thumb-anim img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  z-index: 1;
}

.thumb-anim .video-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  fill: var(--primary-text-color);
  z-index: 2;
  opacity: 0.85;
  pointer-events: none;
}

.video-thumb span {
  display: block;
  font-size: 1.04rem;
  color: var(--primary-text-color);
  font-weight: 500;
  margin-top: 8px;
}



/* Teacher Section Styles */
.teacher-section {
  padding: 20px 0 30px 0;
  background: #f8fafc;
  border-radius: 18px;
  margin-bottom: 20px;

}

.teacher-section .section-title {
  letter-spacing: 1px;
}

.teacher-swiper {
  padding-bottom: 20px;
}


.w-full {
  width: 100%;
}

.teacher-card {
  background: white;
  box-shadow: 0 2px 12px 0 rgba(30, 60, 120, 0.10);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 180px;
  /* This will be overridden on smaller screens */
  border-radius: 0px;
  transition: all 0.3s ease;
}

o .teacher-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(30, 60, 120, 0.16), 0 3px 12px 0 rgba(30, 60, 120, 0.10);
}

.teacher-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 2px 8px 0 rgba(30, 60, 120, 0.10);
}

.teacher-card h3 {
  font-size: 1rem;
  color: white;
  font-weight: 600;
  word-break: break-word;
  width: 100%;
  padding: 8px 12px;
  box-shadow: 0 1px 6px rgba(60, 180, 90, 0.08);
  background: linear-gradient(135deg, #772B91 0%, #c16ade 100%);
  text-align: center;
  font-family: 'Noto Sans Bengali', sans-serif;
  margin: 0 !important;
  transition: color 0.3s, text-shadow 0.3s;
}

.teacher-card h3:hover {
  color: #ffffff;
  text-shadow: rgb(2, 2, 2) 0px 7px 29px;
}

.teacher-card p {
  font-size: 0.92rem;
  color: #4a5a6a;
  text-align: center;
  line-height: 1.4;
  width: 100%;
  background-color: #d5d5d6;
  box-shadow: 0 1px 6px rgba(60, 180, 90, 0.08);
  margin: 0 !important;
  font-weight: 400;
  word-break: break-word;
  padding: 5px;
}



/* --- Footer --- */


.footer-text-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  text-align: left;
  padding: 10px 0;
}

.footer-wraper-text {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-image-wrapper {
  position: absolute;
  top: -90px;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 10;
}

.footer-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-footer a {
  color: #4caf50;
  text-decoration: none;
  transition: 0.3s;
}

.main-footer a:hover {
  text-decoration: underline;
  color: #66bb6a;
}

.footer-logo {
  height: 20px;
  vertical-align: middle;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

.footer-social a {
  color: #ffffff;
  font-size: 18px;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #4caf50;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-text-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-wraper-text {
    flex-direction: column;
    gap: 10px;
  }

  .footer-logo {
    height: 18px;
  }
}

/* --- Animations --- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll-marquee {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

/* --- Responsive Design --- */

/* Medium devices (tablets, less than 992px) */
@media (max-width: 992px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }

  .left-column,
  .right-column {
    padding: 15px 0;
  }

  .main-header .container {
    flex-direction: column;
    text-align: center;
  }

  .logo-area {
    flex-direction: column;
    margin-bottom: 15px;
  }

  .logo-area img {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .header-principal {
    margin-top: 10px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 768px) {
  .nav-container {
    flex-wrap: wrap;
    height: auto;
    padding: 5px 10px;
  }

  .mobile-toggle {
    display: block;
  }

  ul.menu {
    flex-direction: column;
    width: 100%;
    display: none;
    gap: 0;
    margin-top: 0.75rem;
  }

  ul.menu.show {
    display: flex;
  }

  ul.menu>li {
    width: 100%;
  }

  ul.menu>li>a {
    padding: 14px 10px;
    border-top: 1px solid #0d0e0f;
  }

  ul.menu>li>a::after {
    display: none;
  }

  ul.submenu {
    position: static;
    width: 100%;
    transform: none !important;
    background-color: #f2f2f2
    box-shadow: none;
    border-radius: 0;
    opacity: 1 !important;
    visibility: visible !important;
    border: none;
    display: none;
    padding: 0;
  }

  ul.menu>li.show>ul.submenu {
    display: block;
  }

  ul.submenu li a {
    padding-left: 30px;
    border-top: 1px solid rgba(74, 85, 104, 0.5);

  }

  .top-header .container,
  .footer-text-content,
  .footer-wraper-text {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .top-header .top-right {
    margin-left: 0;
  }

  .info-board-row {
    flex-direction: column;
  }

  .footer-image-wrapper {
    top: -69px;
  }
}

/* Extra small devices (portrait phones, less than 600px) */
@media (max-width: 600px) {
  .banner {
    flex-direction: column;
    height: 90px;
    gap: 10px;
    background-size: cover !important;
    background-repeat: no-repeat;
    background-position: center;
  }

  .left-logo img {
    height: 80px;
  }

  .center-text {
    width: 100%;
    margin: 0;
  }

  .center-text h1 {
    font-size: 1.8rem;
    /* Adjusted for smaller screens */
  }

  .center-text p,
  .codes {
    font-size: 0.9rem;
    /* Adjusted */
  }

  .right-image,
  .right-image-blank {
    display: none;
  }

  .info-board-main {
    flex-direction: column;
    text-align: center;
  }
}

/* Very small devices (e.g., iPhone 5/SE, less than 480px) */
@media (max-width: 480px) {

  .left-column,
  .right-column {
    padding: 10px;
    /* Reduced padding */
    width: 100%;
    /* Ensure full width */
    max-width: 100%;
    /* Override previous faulty rule */
  }

  .left-column>div,
  .left-column>section {
    margin: 15px 0 !important;
  }

  .card {
    padding: 15px;
  }

  .center-text h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .principal-pro-card {
    padding: 1.5rem 1rem;
  }

  .hero-procard-overlay h2 {
    font-size: 1.2rem;
  }

  .hero-procard-overlay p {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .teacher-card {
    max-width: none;
    /* Allow card to fill the swiper slide */
  }

  .teacher-card img {
    width: 150px;
    /* Smaller image */
    height: 150px;
  }

  .marquee-label {
    font-size: 0.9rem;
    padding: 8px;
  }

  .marquee-item {
    font-size: 0.9rem;
  }
}

/* Extremely small devices (less than 360px) */
@media (max-width: 360px) {
  .center-text h1 {
    font-size: 1.3rem;
    /* Further reduction */
  }

  .center-text p {
    font-size: 0.8rem;
  }

  .codes {
    font-size: 0.8rem;
    padding: 3px 6px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .card h3 {
    font-size: 1rem;
  }

  .principal-name {
    font-size: 1.1rem;
  }

  .left-column,
  .right-column,
  /* Google Fonts */
  @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali&display=swap');
  @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;700&family=Roboto:wght@400;500;700&display=swap');

  /* Root Variables */
  :root {
    /* Background Colors */
    --primary-bg-color: #004D40;
    --secondary-bg-color: #EAFFEA;
    --light-bg-color: #EBF9E0;
    --main-bg-color: #ffffff;
    --nav-bg-color: #3F4D70;
    --news-label-color: #3F4D70;
    /* gradiant */
    --nav-gradiant-bg: #609513;
    --primary-gradiant-bg: linear-gradient(180deg, rgba(196, 169, 204, 1) 0%, rgba(119, 43, 145, 1) 50%, rgba(196, 169, 204, 1) 100%);

    /* Text Colors */
    --primary-text-color: #762A8F;
    --secondary-text-color: #1A7F3C;
    --nav-text-color: #ff5522;

    /* Font Sizes */
    --font-header-size: 19px;
    --font-content-size: 16px;
    --font-small-size: 14.4px;
    --font-large-size: 20.8px;
    --nav-school-name: 44px;
    --nav-school-paragraph: 18px;
  }

  /* Professional Reset & Basic Styles */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }



  .container {
    max-width: 860px;
    margin: 0 auto;
    background-color: white;
  }

  /* --- Header Styles --- */
  .top-header {
    background-color: var(--primary-text-color);
    color: white;
    padding: 8px 0;
    font-size: 14px;
  }

  .top-header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .top-header span {
    margin-right: 20px;
  }

  .top-header .top-right {
    margin-left: auto;
  }

  .top-header .top-right a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
  }

  .top-header .top-right a:hover {
    color: #ffdd57;
  }

  .main-header {
    background-color: white;
    padding: 15px 0;
  }

  .main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo-area {
    display: flex;
    align-items: center;
  }

  .logo-area img {
    height: 150px;
    margin-right: 20px;
    animation: fadeIn 1s;
  }

  .college-title h1,
  .college-title h2,
  .college-title p {
    margin: 0;
  }

  .college-title h1 {
    font-family: 'Noto Sans Bengali', sans-serif;
    color: #d32f2f;
    font-size: 28px;
  }

  .college-title h2 {
    color: #004d40;
    font-size: 24px;
  }

  .college-title p {
    font-size: 14px;
    color: #555;
  }

  .header-principal {
    text-align: center;
  }

  .header-principal img {
    height: 230px;
    width: 230px;
    border-radius: 50%;
    border: 3px solid var(--primary-text-color);
  }

  .header-principal p {
    margin: 5px 0 0;
    font-size: 18px;
    line-height: 1.3;
  }

  /* --- Navigation Bar --- */
  .nav_school {
    background: #fff;
    color: #ffffff;

    position: sticky;
    top: 0;
    z-index: 20;

    margin: 0 auto;
    width: 100%;
  }

  .nav-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
  }

  .logo {
    font-weight: 700;
    font-size: 1.5rem;
    user-select: none;
    color: #fff;
  }

  ul.menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
  }

  ul.menu>li {
    position: relative;
  }

  ul.menu>li>a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 22px 10px;
    display: flex;
    align-items: center;
    user-select: none;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
  }

  ul.menu>li>a::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 10px;
    right: 10px;
    height: 2px;
    background-color: #9D5AB9;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  }

  ul.menu>li>a:hover,
  ul.menu>li>a:focus,
  ul.menu>li.show>a {
    color: #d8d8d8;
  }

  ul.menu>li>a:hover::after,
  ul.menu>li>a:focus::after,
  ul.menu>li.show>a::after {
    transform: scaleX(1);
  }

  .active_nav::after {
    color: #9D5AB9 !important;
    font-weight: 600 !important;
    transform: scaleX(1) !important;
  }

  .dropdown-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
  }

  li.show .dropdown-arrow {
    transform: rotate(180deg);
  }

  .glass-effect {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 10px;
  }

  ul.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background-color: #772B91;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    transform: translateY(10px) translateX(-50%);
    z-index: 1000;
    padding: 0.5rem 0;
    border: 1px solid #4a5568;
  }

  ul.submenu li a {
    display: block;
    padding: 10px 20px;

    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  ul.submenu li a:hover,
  ul.submenu li a:focus {
    background-color: #772B91;
    color: #ffffff;
  }

  ul.menu>li.show>ul.submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(-50%);
  }

  .mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    user-select: none;
    color: #772B91 !important;
    background-color: white;
    margin-top: 5px;
    border: none;
    padding: 0 15px;
  }

  /* Banner/Header Section */
  .banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nav-bg-color);
    box-shadow: 0 2px 12px rgba(60, 180, 90, 0.07);
    padding: 18px 0;
    gap: 18px;
    height: 240px;
    position: relative;
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
  }


  /* Left Logo */
  .left-logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }


  .left-logo img {
    height: 160px;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(60, 180, 90, 0.10);
  }

  /* Center Text */
  .center-text {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0 20px;
    z-index: 2;
  }

  .center-text h1 {
    font-size: var(--nav-school-name, 2.1rem);
    font-weight: 700;
    color: var(--nav-text-color, #1a7f3c);
    text-shadow: 2px 2px 6px #000, 0 1px 0 #fff;
    margin: 0 0 6px;
  }

  .center-text p {
    font-size: var(--nav-school-paragraph, 1.08rem);
    color: var(--nav-text-color, #222);
    margin: 6px 0;
    text-shadow: 1px 1px 2px #000, 0 1px 0 #fff;
  }

  .codes {
    background-color: var(--main-bg-color, #d9f6dc);
    color: var(--nav-text-color, #1a7f3c);
    display: inline-block;
    padding: 5px 10px;
    font-weight: bold;
    font-size: var(--nav-school-paragraph, 1rem);
    margin-top: 10px;
    border-radius: 5px;
  }

  /* Right Image Placeholder */
  .right-image-blank {
    width: 20%;
    min-width: 20%;
    height: 1px;
  }





/* ================= MARQUEE SECTION ================= */
.marquee-section {

    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.07);

    /* কন্টেইনারের বাইরে জোর করে ফুল উইডথ করার ট্রিক */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    overflow: hidden;
}

/* ভেতরের এলিমেন্টগুলোকে স্লাইডারের সমান্তরালে মাঝখানে রাখার জন্য */
.marquee-container {
    width: 100%;
    max-width: 1600px;       /* আপনার মেইন কন্টেইনারের উইডথ */
    margin: 0 auto;          /* মাঝখানে পজিশন করার জন্য */
    padding: 0 15px;
    display: flex;
    align-items: center;
    min-height: 48px;
}

.marquee-label {
    font-weight: 700;
    color: white;
    font-size: 1.08rem;
    display: flex;
    align-items: center;
    background-color: var(--news-label-color); /* আপনার বেগুনি কালার */
    gap: 7px;
    padding: 6px 12px;
    position: relative;
    white-space: nowrap;
    margin-right: 13px;
    z-index: 2;
}

/* লেবেলের ডানপাশের কোণাকৃতির অ্যারো ইফেক্ট */
.marquee-label::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -17px;
    width: 0;
    height: 0;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 14px solid #772B91; /* আপনার বেগুনি কালার */
}

.marquee-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-marquee 25s linear infinite;
}

.marquee-section:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-block;
    margin-right: 32px;
    color: #1a7f3c;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
}









  /* --- Main Content --- */
  .main-content {
    padding: 0;

  }

  .content-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .left-column {
    grid-column: span 3;
    padding: 20px;
    background-color: white;
    border-radius: 0px;
  }

  .right-column {
    grid-column: span 1;
    background-color: white;
    padding: 20px;
    border-radius: 5px;

  }

  .main-wrapper {
    max-width: 1400px;
    margin: auto;
  }

  .card {
    background-color: white;
    padding: 20px;
    border-radius: 18px !important;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10);
    margin-bottom: 20px;
    animation: slideInUp 0.8s ease-out;
    margin-top: 20px;
  }

  .card:hover {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.18);
  }

  .card h3 {
    margin-top: 0;
    font-family: 'Noto Sans Bengali', sans-serif;
    color: var(--primary-text-color);
    border-bottom: 2px solid var(--primary-text-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
  }

  .notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .notice-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #ccc;
  }

  .notice-list li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
  }

  .notice-list li a:hover {
    color: #d32f2f;
  }

  .all-notices,
  .read-more {
    display: inline-block;
    margin-top: 15px;
    background: linear-gradient(180deg, rgba(196, 169, 204, 1) 0%, rgba(119, 43, 145, 1) 50%, rgba(196, 169, 204, 1) 100%);
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s, color 0.3s;
  }

  .all-notices:hover,
  .read-more:hover {
    background: linear-gradient(180deg, rgba(119, 43, 145, 1) 0%, rgba(196, 169, 204, 1) 50%, rgba(119, 43, 145, 1) 100%);
    color: #ffffff;
  }



  .important-links {
    list-style: none;
    padding-left: 0;
  }

  .important-links li a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: #333;
    border-bottom: 1px dotted #eee;
  }

  .important-links li a:before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary-text-color);
  }

  audio {
    width: 100%;
  }

  .emergency-hotlines img,
  .national-helpline img {
    width: 100%;
    height: auto;
  }

  /* Calendar */
  .calendar-card {
    background: white;
    box-shadow: 0 6px 24px 0 rgba(37, 99, 235, 0.08);
    padding-bottom: 1.2rem;
  }

  #calendar {
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
    font-family: inherit;
  }

  #calendar .calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5em;
    background: #772B91;
    color: #fff;
    border-radius: 8px;
    padding: 0.5em 0.7em;
    font-size: 1.1em;
    box-shadow: 0 2px 8px 0 rgba(37, 99, 235, 0.10);
  }

  #calendar .calendar-nav {
    cursor: pointer;
    color: #fff;
    background: #612077;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    transition: background 0.4s, color 0.2s, box-shadow 0.3s;
    box-shadow: 0 1px 4px 0 rgba(30, 64, 175, 0.10);
    border: none;
    user-select: none;
    padding: 0 0.5em;
  }

  #calendar .calendar-nav:hover {
    background: #3f164d;
    color: #ffffff;
    box-shadow: 0 2px 8px 0 rgba(56, 189, 248, 0.15);
  }

  #calendar table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0.2em;
    text-align: center;
    margin-top: 0.5em;
  }

  #calendar th {
    color: #772B91;
    font-weight: 700;
    background: #e0e7ff;
    border-radius: 6px;
    padding: 0.4em 0;
    font-size: 1em;
    letter-spacing: 0.5px;
  }

  #calendar td {
    padding: 0.5em 0.2em;
    font-size: 1.05em;
    color: #334155;
    border-radius: 8px;
    background: #fff;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    box-shadow: 0 1px 4px 0 rgba(30, 64, 175, 0.04);
  }

  #calendar td.today {
    background: linear-gradient(135deg, #772B91 60%, #c16ade 100%);
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 8px 0 rgba(37, 99, 235, 0.15);
    border: 2px solid #292929;
  }

  #calendar td:hover:not(.today):not(:empty) {
    background: #e5b7f5;
    color: #772B91;
    box-shadow: 0 2px 8px 0 rgba(56, 189, 248, 0.10);
  }

  /* Principal Pro Card Styles */
  .principal-pro-card {
    background: #fff;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10);
    display: flex;
    padding-bottom: 20px;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s;
    position: relative;
    overflow: hidden;
  }

  .principal-pro-card:hover {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.18);
  }

  .principal-img-wrapper {
    background: linear-gradient(135deg, #e0e7ff 0%, #f0fdfa 100%);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
  }

  .principal-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10);
  }

  .principal-info {
    text-align: center;
  }

  .principal-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.5px;
  }

  .principal-title {
    font-size: 1rem;
    color: white;
    background: var(--primary-gradiant-bg);
    font-weight: 600;
    margin-bottom: 0.7rem;
    margin-top: 0px !important;
    padding: 0.3rem 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    width: 100%;
  }

  .principal-quote {
    font-size: 0.98rem;
    color: #64748b;
    font-style: italic;
    margin-top: 0.5rem;
    padding: 0 0.5rem;
  }








/* ===================================== ALIF ACADEMY - FIX GRID DESIGN ============================================ */

.alif-info-board-section {
  background: #ffffff !important;
  padding: 50px 0 !important;
  width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
}

.alif-main-container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

/* ফ্লেক্স লেআউট দিয়ে মেইন কন্টেইনার কন্ট্রোল */
.alif-row-layout {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 30px !important;
  width: 100% !important;
}

/* বাম পাশের কার্ড কলাম (৭৩% জায়গা দখল করবে) */
.alif-cards-column {
  flex: 1 1 70% !important;
  min-width: 300px !important;
}

/* কাস্টম সিএসএস গ্রিড - যা থিমের বুটস্ট্র্যাপের সাথে মিলবে না */
.alif-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important; /* নিখুঁত ২ কলাম লেআউট */
  gap: 20px !important;
}

/* কার্ড এর মেইন কন্টেইনার */
.alif-custom-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 24px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-sizing: border-box !important;
}

.alif-custom-card:hover {
  transform: translateY(-3px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05) !important;
}

/* কার্ড হেডার স্টাইল */
.alif-card-header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 16px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding-bottom: 12px !important;
}

/* ইমেজ বা আইকন সাইজ ফিক্সড (যেন বড় না হয়ে যায়) */
.alif-card-img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  object-fit: contain !important;
  display: block !important;
}

.alif-custom-card strong {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #1e1b4b !important;
}

/* লিস্ট আইটেম স্টাইল */
.alif-custom-card ul {
  margin: 0 !important;
  padding-left: 18px !important;
  list-style-type: disc !important;
}

.alif-custom-card ul li {
  margin-bottom: 8px !important;
  color: #64748b !important;
}

.alif-custom-card ul li a {
  font-size: 14.5px !important;
  color: #475569 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
}

.alif-custom-card ul li a:hover {
  color: #2e3192 !important; /* মেইন ব্র্যান্ড কালার */
  padding-left: 4px !important;
}

/* ------------------ ডান পাশের সাইডবার উইজেট স্টাইল ------------------ */
.alif-sidebar-column {
  flex: 1 1 25% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  min-width: 310px !important;
}

.alif-widget-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 24px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
  box-sizing: border-box !important;
}

.alif-badge-container {
  margin-bottom: 16px !important;
}

.alif-widget-badge {
  display: inline-block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 4px 14px !important;
  border-radius: 50px !important;
}

.badge-purple {
  background: #f5f3ff !important;
  color: #6d28d9 !important;
  border: 1px solid #ddd6fe !important;
}

.badge-green {
  background: #f0fdf4 !important;
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
}

.alif-widget-flex {
  display: flex !important;
  gap: 16px !important;
  align-items: center !important;
}

/* ছবি গোল করার নিখুঁত ফ্রেম */
.alif-avatar-circle {
  width: 75px !important;
  height: 75px !important;
  max-width: 75px !important;
  max-height: 75px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 3px solid #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  background: #f8fafc !important;
  flex-shrink: 0 !important;
}

.alif-avatar-circle img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.alif-profile-info h4 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1e1b4b !important;
  margin: 0 0 4px 0 !important;
}

.alif-profile-info p {
  font-size: 13px !important;
  color: #64748b !important;
  margin: 0 0 12px 0 !important;
}

.alif-read-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #2e3192 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.alif-read-more:hover {
  gap: 8px !important;
}

/* ------------------ ফুল রেস্পন্সিভ স্ক্রিন মিডিয়া কোয়েরি ------------------ */
@media (max-width: 1100px) {
  .alif-cards-column {
    flex: 1 1 100% !important;
  }
  .alif-sidebar-column {
    flex: 1 1 100% !important;
    flex-direction: row !important; /* ট্যাবলেটে বা ছোট ল্যাপটপে উইজেট ২টি নিচে পাশাপাশি আসবে */
  }
  .alif-widget-card {
    flex: 1 !important;
  }
}

@media (max-width: 768px) {
  .alif-cards-grid {
    grid-template-columns: 1fr !important; /* মোবাইলে সব কার্ড সুন্দরভাবে ১টি লাইনে নিচে নিচে আসবে */
  }
  .alif-sidebar-column {
    flex-direction: column !important; /* মোবাইলে উইজেটগুলোও উপর-নিচ হবে */
  }
}


















  /* --- Hero Section & Swiper --- */
  .hero-section {
    position: relative;
    text-align: center;
    color: white;
    animation: fadeIn 1.5s;
  }

  .hero-section img {
    width: 100%;
    height: auto;

    object-fit: cover;
    display: block;
  }

  .hero-procard-overlay {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) !important;
    bottom: 0px;
    background: rgba(255, 255, 255, 0.21);
    border-radius: 18px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 5px 10px;
    width: 100%;
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1.1s both;
  }

  .swiper-wrapper {
    border-radius: 18px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    color: #772B91;
    border-radius: 50%;
    box-shadow: 0 4px 16px 0 rgba(119, 43, 145, 0.18);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.5rem;
    font-weight: bold;
  }

  .swiper-button-prev:hover,
  .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.545);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    box-shadow: 0 8px 32px 0 rgba(119, 43, 145, 0.25);
    color: #59216c;
  }

  .swiper-pagination-bullet {
    background: #772B91;
    opacity: 0.6;
  }

  .swiper-pagination-bullet-active {
    background: #c16ade;
    opacity: 1;
  }

  .swiper-slide {
    border-radius: 18px;
    overflow: hidden;
    width: 100%;
  }

  .swiper-slide img {
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10);
  }

  .hero-procard-overlay h2 {
    color: #ffffff;
    text-shadow: rgb(2, 2, 2) 0px 7px 29px;
    font-size: 2.1rem;
    margin: 0 0 10px 0;
    font-weight: 700;
    letter-spacing: 1px;
  }

  .hero-procard-overlay p {
    color: #ffffff;
    text-shadow: rgb(2, 2, 2) 0px 7px 29px;
    font-size: 1.08rem;
    margin: 0;
    font-weight: 400;
  }



/* --- Right Side Banner Image Animation --- */
.banner-right-wrapper img {
  display: block;
  max-width: 100%;
  height: auto;

  /* অ্যানিমেশনটি এখানে যুক্ত করা হয়েছে */
  animation: floatAndPulse 4s ease-in-out infinite;
}

/* অনবরত নড়াচড়া করার জন্য কি-ফ্রেম */
@keyframes floatAndPulse {
  0% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.03); /* সামান্য ওপরে উঠবে এবং একটু বড় হবে */
  }
  100% {
    transform: translateY(0px) scale(1);
  }
}

















  /* Teacher Section Styles */
  .teacher-section {
    padding: 20px 0 30px 0;
    background: #f8fafc;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10);
  }

  .teacher-section .section-title {
    letter-spacing: 1px;
  }

  .teacher-swiper {
    padding-bottom: 20px;
  }


  .w-full {
    width: 100%;
  }

  .teacher-card {
    background: white;
    box-shadow: 0 2px 12px 0 rgba(30, 60, 120, 0.10);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 180px;
    /* This will be overridden on smaller screens */
    border-radius: 0px;
    transition: all 0.3s ease;
  }

  .teacher-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(30, 60, 120, 0.16), 0 3px 12px 0 rgba(30, 60, 120, 0.10);
  }

  .teacher-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    box-shadow: 0 2px 8px 0 rgba(30, 60, 120, 0.10);
  }

  .teacher-card h3 {
    font-size: 1rem;
    color: white;
    font-weight: 600;
    word-break: break-word;
    width: 100%;
    padding: 8px 12px;
    box-shadow: 0 1px 6px rgba(60, 180, 90, 0.08);
    background: linear-gradient(135deg, #772B91 0%, #c16ade 100%);
    text-align: center;
    font-family: 'Noto Sans Bengali', sans-serif;
    margin: 0 !important;
    transition: color 0.3s, text-shadow 0.3s;
  }

  .teacher-card h3:hover {
    color: #ffffff;
    text-shadow: rgb(2, 2, 2) 0px 7px 29px;
  }

  .teacher-card p {
    font-size: 0.92rem;
    color: #4a5a6a;
    text-align: center;
    line-height: 1.4;
    width: 100%;
    background-color: #d5d5d6;
    box-shadow: 0 1px 6px rgba(60, 180, 90, 0.08);
    margin: 0 !important;
    font-weight: 400;
    word-break: break-word;
    padding: 5px;
  }

  /* --- Footer --- */
  .main-footer {
    background-color: #333;
    color: #ffffff;
    padding: 48px 20px 20px 20px;
    text-align: center;
    font-size: 14px;
    position: relative;
    max-width: 1400px;
    margin: 60px auto 0 auto;
    box-sizing: border-box;
  }

  .footer-text-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    text-align: left;
    padding: 10px 0;
  }

  .footer-wraper-text {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .footer-image-wrapper {
    position: absolute;
    top: -90px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 10;
  }

  .footer-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .main-footer a {
    color: #4caf50;
    text-decoration: none;
    transition: 0.3s;
  }

  .main-footer a:hover {
    text-decoration: underline;
    color: #66bb6a;
  }

  .footer-logo {
    height: 20px;
    vertical-align: middle;
  }

  /* Social icons */
  .footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
  }

  .footer-social a {
    color: #ffffff;
    font-size: 18px;
    transition: color 0.3s;
  }

  .footer-social a:hover {
    color: #4caf50;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .footer-text-content {
      flex-direction: column;
      text-align: center;
    }

    .footer-wraper-text {
      flex-direction: column;
      gap: 10px;
    }

    .footer-logo {
      height: 18px;
    }
  }


  /* --- Animations --- */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  @keyframes slideInUp {
    from {
      transform: translateY(30px);
      opacity: 0;
    }

    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes navSlideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes scroll-marquee {
    from {
      transform: translateX(100%);
    }

    to {
      transform: translateX(-100%);
    }
  }

  /* --- Responsive Design --- */

  /* Medium devices (tablets, less than 992px) */
  @media (max-width: 992px) {
    .content-wrapper {
      grid-template-columns: 1fr;
    }

    .left-column,
    .right-column {
      padding: 15px;
    }

    .main-header .container {
      flex-direction: column;
      text-align: center;
    }

    .logo-area {
      flex-direction: column;
      margin-bottom: 15px;
    }

    .logo-area img {
      margin-right: 0;
      margin-bottom: 10px;
    }

    .header-principal {
      margin-top: 10px;
    }
  }

  /* Small devices (landscape phones, less than 768px) */
  @media (max-width: 768px) {
    .nav-container {
      flex-wrap: wrap;
      height: auto;
      padding: 5px 10px;
    }

    .mobile-toggle {
      display: block;
    }

    ul.menu {
      flex-direction: column;
      width: 100%;
      display: none;
      gap: 0;
      margin-top: 0.75rem;
    }

    ul.menu.show {
      display: flex;
    }

    ul.menu>li {
      width: 100%;
    }

    ul.menu>li>a {
      padding: 14px 10px;
      border-top: 1px solid #4a5568;
    }

    ul.menu>li>a::after {
      display: none;
    }

    ul.submenu {
      position: static;
      width: 100%;
      transform: none !important;
      background-color: rgba(0, 0, 0, 0.15);
      box-shadow: none;
      border-radius: 0;
      opacity: 1 !important;
      visibility: visible !important;
      border: none;
      display: none;
      padding: 0;
    }

    ul.menu>li.show>ul.submenu {
      display: block;
    }

    ul.submenu li a {
      padding-left: 30px;


    }

    .top-header .container,
    .footer-text-content,
    .footer-wraper-text {
      flex-direction: column;
      text-align: center;
      gap: 10px;
    }



    .top-header .top-right {
      margin-left: 0;
    }

    .info-board-row {
      flex-direction: column;
    }

    .footer-image-wrapper {
      top: -69px;
    }
  }

  /* Extra small devices (portrait phones, less than 600px) */
  @media (max-width: 600px) {
    .banner {
      flex-direction: column;
      height: 90px !important;
      background-size: cover !important;
      padding: 15px 10px;
      gap: 10px;
    }

    .left-logo img {
      height: 80px;
    }

    .center-text {
      width: 100%;
      margin: 0;
    }

    .center-text h1 {
      font-size: 1.8rem;
      /* Adjusted for smaller screens */
    }

    .center-text p,
    .codes {
      font-size: 0.9rem;
      /* Adjusted */
    }

    .right-image,
    .right-image-blank {
      display: none;
    }

    .info-board-main {
      flex-direction: column;
      text-align: center;
    }
  }

  /* Very small devices (e.g., iPhone 5/SE, less than 480px) */
  @media (max-width: 480px) {

    .left-column,
    .right-column {
      padding: 10px;
      /* Reduced padding */
      width: 100%;
      /* Ensure full width */
      max-width: 100%;
      /* Override previous faulty rule */
    }

    .left-column>div,
    .left-column>section {
      margin: 15px 0 !important;
    }



      .left-column,
    .right-column,
    .card {
      padding: 8px;
      /* Minimal padding */
    }

    .card {
      padding: 15px;
    }

    .center-text h1 {
      font-size: 1.5rem;
      line-height: 1.2;
    }

    .section-title {
      font-size: 1.5rem;
    }

    .principal-pro-card {
      padding: 1.5rem 1rem;
    }

    .hero-procard-overlay h2 {
      font-size: 1.2rem;
    }

    .hero-procard-overlay p {
      font-size: 0.85rem;
      line-height: 1.3;
    }

    .teacher-card {
      max-width: none;
      /* Allow card to fill the swiper slide */
    }

    .teacher-card img {
      width: 150px;
      /* Smaller image */
      height: 150px;
    }

    .marquee-label {
      font-size: 0.9rem;
      padding: 8px;
    }

    .marquee-item {
      font-size: 0.9rem;
    }
  }

  /* Extremely small devices (less than 360px) */
  @media (max-width: 360px) {
    .center-text h1 {
      font-size: 1.3rem;
      /* Further reduction */
    }

    .center-text p {
      font-size: 0.8rem;
    }

    .codes {
      font-size: 0.8rem;
      padding: 3px 6px;
    }

    .section-title {
      font-size: 1.3rem;
    }

    .card h3 {
      font-size: 1rem;
    }

    .principal-name {
      font-size: 1.1rem;
    }








    .hero-procard-overlay {
      padding: 5px;
    }

    .hero-procard-overlay h2 {
      font-size: 1rem;
      margin-bottom: 5px;
    }

    .hero-procard-overlay p {
      font-size: 0.75rem;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }

  .card {
    padding: 8px;
    /* Minimal padding */
  }

  .hero-procard-overlay {
    padding: 5px;
  }

  .hero-procard-overlay h2 {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .hero-procard-overlay p {
    font-size: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}








.hero-section {
    background: #f2f2f2;
    padding: 40px 0 0 0;
}

.hero-container {
    display: flex;
    gap: 24px;
    max-width: 1600px;
    margin: auto;
    align-items: stretch;
}

/* LEFT SLIDER */
.hero-left {
    flex: 3.4;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 480px;
}

.hero-left .swiper {
    height: 100%;
}

.hero-left .swiper-wrapper,
.hero-left .swiper-slide {
    height: 100%;
}

.hero-left .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* RIGHT SIDE */
.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 480px;
    min-width: 280px; /* ব্যানার ইমেজের জন্য উইডথ কিছুটা বাড়ানো হলো */
}

/* WHITE ADMISSION CARD STYLE */
.admission-banner-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    border: 1px solid #eef2f5;
    height: 100%;
    overflow: hidden;
}

/* ADMISSION BADGE */
.admission-badge {
    background: #e0f2f1;
    color: #00796b;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* TEXT COLORS FOR WHITE BACKGROUND */
.banner-sub-title {
    color: #546e7a;
    font-size: 0.95rem;
    margin: 1px 0 4px 0;
    font-weight: 500;
}

.banner-main-title {
    color: #1a252f;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.banner-highlight {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.pink-text {
    color: #d81b60;
    font-weight: 700;
}

/* BANNER RIGHT IMAGE WRAPPER (Updated) */
.banner-right-wrapper {
    width: 100%;
    max-height: 160px; /* ব্যানার ইমেজটির উচ্চতা নিয়ন্ত্রণ করার জন্য */
    margin: 10px 0 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 8px;
}

.banner-right-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* ইমেজ যেন কেটে না যায় এবং সুন্দর দেখায় */
}

/* ACTION BUTTONS */
.banner-action-buttons {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.btn-pink {
    background-color: #d81b60;
    color: white !important;
    padding: 10px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(216, 27, 96, 0.2);
    flex: 1;
    white-space: nowrap;
}

.btn-pink:hover {
    background-color: #c2185b;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #00796b !important;
    border: 2px solid #00796b;
    padding: 8px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex: 1;
    white-space: nowrap;
}

.btn-outline:hover {
    background-color: #00796b;
    color: white !important;
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media(max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }

    .hero-left {
        height: 320px;
    }

    .hero-right {
        flex-direction: column;
        height: auto;
    }

    .admission-banner-card {
        flex: none;
        padding: 40px 20px;
        height: auto;
    }

    .banner-right-wrapper {
        max-height: 200px; /* মোবাইল স্ক্রিনে ব্যানারের সাইজ কিছুটা বাড়ানো হলো */
    }
}





/* =====================================OUR DEPARTMENTS============================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght=700&display=swap');

.dept-section {
  background: #f2f2f2;
  /* ওপরে ও নিচে কোনো গ্যাপ থাকবে না */
  padding: 60px 30px 60px !important;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  position: relative;
  overflow: hidden;
  min-height: auto !important;
}

/* Background floating books */
.bg-canvas { position: absolute; inset: 0; z-index: 0; }

.book-bg {
  position: absolute;
  z-index: 1;
  opacity: 0.055;
  animation: floatBook var(--fd, 14s) ease-in-out infinite var(--fdelay, 0s);
}

@keyframes floatBook {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)) scale(1); }
  50%       { transform: translateY(-22px) rotate(var(--rot2, 6deg)) scale(1.04); }
}

/* Content wrapper */
.dept-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding-top: 0px !important; /* কন্টেন্টের ওপরের গ্যাপ জিরো */
}

/* Section title */
.dept-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(34px, 5vw, 48px); /* টাইটেল সাইজ পারফেক্ট করা হলো */
  font-weight: 700;
  color: #1a1035;
  line-height: 1.0;
  margin-top: 0px !important;   /* নোটিশ বারের ঠিক নিচ থেকে শুরু হবে */
  margin-bottom: 30px !important; /* টাইটেলের নিচের গ্যাপ বন্ধ */
}
.dept-title span { color: #2e3192; }


/* Grid */
.dept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Cards */
.dept-card {
  border-radius: 20px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  background: white;
  padding: 36px 20px 36px !important; /* কার্ডের ভেতরের টপ ও বটম প্যাডিং কমানো হলো */

  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.dept-card:hover { transform: translateY(-5px); }

.dept-card.academic:hover {
  box-shadow: 0 20px 50px rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.4);
}
.dept-card.hifz:hover {
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.4);
}

/* Card top accent line */
.card-top-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
}
.academic .card-top-line { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
.hifz     .card-top-line { background: linear-gradient(90deg, #2e3192, #a78bfa); }

/* Glow on hover */
.card-glow {
  position: absolute;
  bottom: -80px; left: 50%;
  transform: translateX(-50%);
  width: 220px; height: 140px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0;
  transition: opacity 0.4s;
}
.dept-card:hover .card-glow { opacity: 0.18; }
.academic .card-glow { background: #0ea5e9; }
.hifz     .card-glow { background: #2e3192; }

/* Diamond icon wrapper */
.icon-diamond {
  width: 70px; height: 70px; /* ডায়মন্ড আইকন সাইজ ছোট করা হলো গ্যাপ কমাতে */
  margin: 0 auto 12px !important;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.diamond-border {
  position: absolute; inset: 0;
  transform: rotate(45deg);
  border: 2px solid;
  border-radius: 10px;
  animation: rotateDiamond 9s linear infinite;
}
.diamond-border2 {
  position: absolute; inset: 5px;
  transform: rotate(45deg);
  border: 1px solid;
  border-radius: 6px;
  opacity: 0.4;
  animation: rotateDiamond 9s linear infinite reverse;
}

/* Tablet & Mobile Responsive Styles (768px বা তার নিচে) */
@media (max-width: 768px) {
    .dept-title {
        font-size: 1.8rem; /* ফোন এবং ট্যাবলেটে ফন্ট সাইজ ৩০ পিক্সেল হবে */
        margin-bottom: 40px !important;
    }
}
@keyframes rotateDiamond { to { transform: rotate(405deg); } }

.diamond-inner {
  position: absolute; inset: 8px;
  transform: rotate(45deg);
  border-radius: 5px;
}


/* --- ট্যাবলেট ডিভাইসের জন্য (সর্বোচ্চ ১০২৪ পিক্সেল স্ক্রিন) --- */
@media (max-width: 1024px) {
    .dept-card {
        padding: 20px 15px !important; /* ট্যাবলেটের স্ক্রিন অনুযায়ী প্যাডিং কিছুটা অ্যাডজাস্ট করা হলো */
        border-radius: 14px;
    }
}

/* --- মোবাইল ডিভাইসের জন্য (সর্বোচ্চ ৭৬৮ পিক্সেল স্ক্রিন - আপনার মূল কোড) --- */
@media (max-width: 768px) {
    .dept-card {
        padding: 20px 10px 20px !important; /* আপনার দেওয়া মোবাইলের কমফোর্টেবল প্যাডিং */
        border-radius: 12px;                /* মোবাইলে ছোট বর্ডার রেডিয়াস */
    }
}

.academic .diamond-border  { border-color: rgba(14, 165, 233, 0.55); }
.academic .diamond-border2 { border-color: rgba(14, 165, 233, 0.3); }
.academic .diamond-inner   { background: rgba(14, 165, 233, 0.1); }

.hifz .diamond-border  { border-color: rgba(124, 58, 237, 0.55); }
.hifz .diamond-border2 { border-color: rgba(124, 58, 237, 0.3); }
.hifz .diamond-inner   { background: rgba(124, 58, 237, 0.1); }

.icon-itself { position: relative; z-index: 2; font-size: 26px; }
.academic .icon-itself { color: #0ea5e9; }
.hifz     .icon-itself { color: #2e3192; }

/* Card text */
.dept-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(80, 60, 140, 0.45);
  border: 1px solid rgba(80, 60, 140, 0.15);
  border-radius: 4px;
  padding: 1px 6px;
  display: inline-block;
  margin-bottom: 6px !important;
}
.dept-name {
  font-family: 'Oswald', sans-serif;
  font-size: 20px; font-weight: 700;
  color: #1a1035;
  margin-bottom: 4px !important;
}
.dept-sub {
  font-size: 13px;
  color: #7a7a9a;
  margin-bottom: 0px !important; /* সাবটাইটেলের নিচের অতিরিক্ত মার্জিন ডিলিট */
}

/* Bottom discover text */
.dept-discover {
  margin-top: 15px !important; /* নিচের লেখাটির টপ গ্যাপ কমানো হলো */
  text-align: center;
  color: rgba(90, 60, 180, 0.45);
  font-size: 11px;
  letter-spacing: 0.12em;
}

/* Responsive */
@media (max-width: 640px) {
  .dept-grid { grid-template-columns: 1fr; gap: 12px; }
  .dept-section { padding: 50px 0px 26px !important;}
}


/* স্টার্স কন্টেইনার ফিক্স এবং ওপরে ১০ পিক্সেল গ্যাপ নির্ধারণ */
#dept-stars.stars-container {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  z-index: 1 !important;
}
















  /* কন্টেন্ট এরিয়া স্ক্রিনের পুরো জায়গা জুড়ে থাকবে */
  .dept-content {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  /* মোবাইলেও এক লাইনে ২ টি বক্স বা কার্ড থাকবে */
  .dept-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px; /* মোবাইলে বক্সগুলোর মাঝখানের গ্যাপ কিছুটা কমানো হলো যেন স্ক্রিনে সুন্দর দেখায় */
    padding: 0 8px; /* একদম স্ক্রিনের বর্ডারের সাথে যেন লেগে না যায়, তার জন্য সামান্য ৮ পিক্সেল স্পেস */
  }




  .icon-itself {
    font-size: 18px;
  }

  .dept-card img.icon-itself {
    width: 28px !important;
    height: 28px !important;
  }

  .dept-label {
    font-size: 8px;
    padding: 0px 4px;
    margin-bottom: 4px !important;
  }



  .dept-sub {
    font-size: 11px;
    line-height: 1.2;
  }


/* ===================================== CURRICULUM DETAILS SECTION ============================================ */

.curr-details-section {
  background: #ffffff; /* আপনার রিকোয়ারমেন্ট অনুযায়ী পিওর হোয়াইট ব্যাকগ্রাউন্ড */
  padding: 30px 20px 35px; /* ফিক্সড এবং কম প্যাডিং */
  position: relative;
  font-family: 'Barlow', sans-serif;
}

.curr-details-container {
  max-width: 1600px;
  margin: 0 auto;
}

/* ৩ কলাম বিশিষ্ট গ্রিড লেআউট */
.curr-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* কার্ডের মেইন ডিজাইন (স্ক্রিনশটের মতো আকর্ষণীয় পার্পল শ্যাডো থিম) */
.curr-detail-card {
   /* প্রিমিয়াম পার্পল ব্যাকগ্রাউন্ড কালার */
  border-radius: 18px;
  padding: 30px 24px;
  text-align: left;
  color: #2c2c2c;
border:solid 1px #e1d3fbbd;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* হোভার করলে হালকা একটু উপরে উঠবে এবং গ্লো বাড়বে */
.curr-detail-card:hover {
  transform: translateY(-5px);

}

/* আইকন বক্স স্টাইল */
.curr-detail-icon {
  color: #1d1d1d;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 4px;
}

/* কার্ড টাইটেল */
.curr-detail-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
}

/* কার্ডের ভেতরের বিবরণ বা টেক্সট */
.curr-detail-desc {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(39, 39, 39, 0.9);
  margin: 0;
  text-align: justify;
}

/* রেস্পন্সিভ লেআউট - ট্যাবলেট এবং মোবাইল ডিভাইসের জন্য */
@media (max-width: 991px) {
  .curr-details-grid {
    grid-template-columns: repeat(2, 1fr); /* ট্যাবলেটে ২টি কলাম */
    gap: 18px;
  }
}

@media (max-width: 650px) {
  .curr-details-grid {
    grid-template-columns: 1fr; /* মোবাইলে ১টি কলামে পুরো স্ক্রিন জুড়ে থাকবে */
    gap: 16px;
  }
  .curr-detail-card {
    padding: 24px 20px; /* মোবাইলে কার্ডের ভেতরের প্যাডিং সামান্য কমানো হলো */
  }
  .curr-details-section {
    padding: 0; /* মোবাইলের জন্য আউটার প্যাডিং অপ্টিমাইজড */
  }
}



/* Tablet & Mobile Responsive Styles (768px বা তার নিচে) */
@media (max-width: 768px) {
    .curriculum-section .curr-global-tab-panel.open {
        border-color: transparent !important; /* বর্ডার কালার হাইড করার জন্য */
        /* অথবা আপনি চাইলে নিচের লাইনটিও ব্যবহার করতে পারেন */
         border: none !important;
    }
}


/* Tablet & Mobile Responsive Styles (768px বা তার নিচে) */
@media (max-width: 768px) {
    .curriculum-section {
               padding: 40px 0 26px 0 !important;
    }
}












/* ===================================== OUR CURRICULUM ============================================ */

.curriculum-section {
  background: #ffffff !important;
  padding: 60px 20px !important;
  position: relative !important;
  overflow: hidden !important;
  font-family: 'Barlow', sans-serif !important;
}

.curriculum-section .stars-bg {
  position: absolute !important; inset: 0 !important;
  background-image: radial-gradient(1px 1px at 10% 15%, rgba(120,80,220,0.1) 0%, transparent 100%), radial-gradient(1.5px 1.5px at 40% 30%, rgba(120,80,220,0.1) 0%, transparent 100%) !important;
  pointer-events: none !important;
}

/* আপনার চাহিদা অনুযায়ী মেইন সেকশন ১৬০০ পিক্সেল করে দেওয়া হলো */
.curriculum-section .section-inner {
  position: relative !important; z-index: 5 !important;
  max-width: 1600px !important; margin: 0 auto !important; text-align: center !important;
}

.curriculum-section .badge {
  display: inline-flex !important; align-items: center !important; gap: 6px !important;
  background: rgba(130,80,255,0.08) !important; border: 1px solid rgba(130,80,255,0.2) !important;
  color: #2e3192 !important; font-size: 11px !important; font-weight: 600 !important; letter-spacing: 2px !important;
  padding: 5px 14px !important; border-radius: 20px !important; margin-bottom: 14px !important; text-transform: uppercase !important;
}

.curriculum-section .section-title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: clamp(34px, 5vw, 48px) !important; font-weight: 800 !important; letter-spacing: 1px !important;
  margin: 0 0 20px 6px !important; text-transform: uppercase !important; color: #1a1035 !important;
}
.curriculum-section .section-title span { color: #2e3192 !important; }


/* Tablet & Mobile Responsive Styles (768px বা তার নিচে) */
@media (max-width: 768px) {
    .curriculum-section .section-title {
        text-align: center !important; /* ফোন এবং ট্যাবলেটে টাইটেলটি মাঝখানে চলে আসবে */
            margin: 0 0 20px 6px !important;
    }
}
/* --- ফোন এবং ট্যাবলেটের জন্য (Mobile & Tablet View - সর্বোচ্চ ১০২৪ পিক্সেল স্ক্রিন) --- */
@media (max-width: 1024px) {
    .curriculum-section .section-title {
        font-size: 1.8rem !important; /* ফোন এবং ট্যাবলেটে ফিক্সড ১.৮rem থাকবে */
            margin: 0 0 20px 6px !important;

    }
}

/* ফ্লেক্সবক্স মেইন কন্টেইনার */
.curriculum-section .curriculum-flex-container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  gap: 16px !important;
  width: 100% !important;
  margin-bottom: 25px !important;
  box-sizing: border-box !important;
}

/* প্রতিটি সিঙ্গেল কার্ড আইটেম */
.curriculum-section .curr-card-item {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  background: #ffffff !important;
  border: 1.5px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  padding: 24px 10px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.curriculum-section .curr-card-item:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(46,49,146,0.3) !important;
  box-shadow: 0 6px 20px rgba(46,49,146,0.08) !important;
}

/* একটিভ কার্ড স্টাইল */
.curriculum-section .curr-card-item.active {
  background: #fdfbff !important;
  border-color: #2e3192 !important;
  box-shadow: 0 4px 15px rgba(46,49,146,0.12) !important;
}

/* অ্যারো আইকন এরিয়া */
.curriculum-section .curr-arrow-icon {

  color: rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.3s ease, color 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.curriculum-section .curr-card-item:hover .curr-arrow-icon {
  color: #2e3192 !important;
}
/* একটিভ হলে অ্যারো ১৮০ ডিগ্রী ঘুরে যাবে */
.curriculum-section .curr-card-item.active .curr-arrow-icon {
  transform: rotate(180deg) !important;
  color: #2e3192 !important;
}

/* আইকন স্টাইল */
.curriculum-section .curr-icon-wrap {
  width: 56px !important; height: 56px !important; border-radius: 12px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  margin-bottom: 12px !important;
}

.curriculum-section .ic-islamic   { background: rgba(29,185,115,0.1) !important; }
.curriculum-section .ic-academic { background: rgba(80,140,240,0.1) !important; }
.curriculum-section .ic-lang     { background: rgba(220,80,170,0.1) !important; }
.curriculum-section .ic-it       { background: rgba(130,80,255,0.1) !important; }
.curriculum-section .ic-soft     { background: rgba(245,185,40,0.1) !important; }
.curriculum-section .ic-biz      { background: rgba(60,180,220,0.1) !important; }

/* টাইটেল স্টাইল */
.curriculum-section .curr-card-title {
  font-size: 18px !important; font-weight: 600 !important; color: #1a1035 !important;
  text-transform: uppercase !important;
  text-align: center !important; line-height: 1.3 !important;
  min-height: 34px !important; display: flex !important; align-items: center !important; justify-content: center !important;
}


/* --- ট্যাবলেট ডিভাইসের জন্য (সর্বোচ্চ ১০২৪ পিক্সেল স্ক্রিন) --- */
@media (max-width: 1024px) {
    .curriculum-section .curr-card-title {
        font-size: 16px !important; /* ট্যাবলেটে ফন্ট সাইজ সামান্য কমানো হলো */
        min-height: 48px !important; /* কার্ডের এলাইনমেন্ট বজায় রাখার জন্য হাইট অ্যাডজাস্ট */
    }
}

/* --- মোবাইল ডিভাইসের জন্য (সর্বোচ্চ ৭৬৮ পিক্সেল স্ক্রিন) --- */
@media (max-width: 768px) {
    .curriculum-section .curr-card-title {
        font-size: 15px !important;  /* মোবাইলে লেখা যেন বেশি ভেঙে না যায় তাই ১৫ পিক্সেল করা হলো */
        min-height: 40px !important;  /* ছোট স্ক্রিনে টেক্সটের চারপাশের বাড়তি ফাঁকা জায়গা কমানো হলো */
        line-height: 1.2 !important;  /* লাইনগুলোর ভেতরের গ্যাপ কিছুটা কমফোর্টেবল করা হলো */
    }
}


.curriculum-section .curr-card-line { width: 25px !important; height: 0 !important; border-radius: 2px !important; }
.curriculum-section .cl-green  { background: #1db973 !important; }
.curriculum-section .cl-blue   { background: #5a9cff !important; }
.curriculum-section .cl-pink   { background: #e05dbb !important; }
.curriculum-section .cl-purple { background: #2e3192 !important; }
.curriculum-section .cl-yellow { background: #f5b928 !important; }
.curriculum-section .cl-cyan   { background: #3dbde0 !important; }

/* গ্লোবাল প্যানেল */
.curriculum-section .curr-global-tab-panel {
  max-height: 0;
  overflow: hidden !important;
  background: #faf9ff !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s, border-color 0.35s !important;
  width: 100% !important;
  box-sizing: border-box !important;

}

.curriculum-section .curr-global-tab-panel.open {
  border-color: rgba(124,58,237,0.2) !important;

  box-shadow: inset 0 2px 8px rgba(0,0,0,0.02) !important;
}

.curriculum-section .curr-panel-content {
  display: none;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #4b5563 !important;
  text-align: center !important;
  animation: currFadeIn 0.4s ease !important;
}

@keyframes currFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* রেসপন্সিভনেস (মোবাইল ও ট্যাবের জন্য স্ক্রল অপশন) */
@media (max-width: 950px) {
  .curriculum-section .curriculum-flex-container {
    overflow-x: auto !important;
    padding-bottom: 10px !important;
    padding-top: 10px!important;
  }
  .curriculum-section .curr-card-item {
    flex: 0 0 145px !important;
  }
}



/* Tablet & Mobile Responsive Styles (768px বা তার নিচে) */
@media (max-width: 768px) {
    .curriculum-section {
               padding: 40px 0 26px 0 !important;
    }
}













  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* ── Section wrapper ── */
.features-section {
    position: relative;

    font-family: 'Hind Siliguri', sans-serif;
    color: #1e1e2e;
    padding: 40px 20px 44px;
    overflow: hidden;
}

.wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}


/* --- ট্যাবলেট ডিভাইসের জন্য (সর্বোচ্চ ১০২৪ পিক্সেল স্ক্রিন) --- */
@media (max-width: 1024px) {
    .wrapper {
          padding: 50px 0 30px 0;
    }
}

/* --- মোবাইল ডিভাইসের জন্য (সর্বোচ্চ ৭৬৮ পিক্সেল স্ক্রিন) --- */
@media (max-width: 768px) {
    .wrapper {
           padding: 40px 0 30px 0;
    }
}

/* ── Animated background books ── */
.bg-books {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}
.bg-book {
    position: absolute;
    opacity: 0.055;
    animation: floatBook linear infinite;
}
.bg-book svg { display: block; }

@keyframes floatBook {
    0%   { transform: translateY(0px) rotate(var(--rot0)) scale(var(--sc)); opacity: 0.04; }
    30%  { opacity: 0.08; }
    50%  { transform: translateY(var(--drift)) rotate(var(--rot1)) scale(var(--sc)); opacity: 0.06; }
    70%  { opacity: 0.08; }
    100% { transform: translateY(0px) rotate(var(--rot0)) scale(var(--sc)); opacity: 0.04; }
}

.accordion-item.open {
    border-color: #a78bfa;
    box-shadow: 0 4px 20px rgba(46, 49, 146, .1);
    background: #ffffff;

}
/* Tablet & Mobile Responsive Styles (768px বা তার নিচে) */
@media (max-width: 768px) {
    .features-section {
        padding: 0; /* ফোন ও ট্যাবলেটে ১২ পিক্সেল প্যাডিং পাবে */
    }
}
/* ── Header ── */
.section-header {
    text-align: center;
    margin-bottom: 32px;
    padding: 0 12px 0 12px;
}

.section-header h2 {
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 700;
    color: #1e1e2e;
    letter-spacing: .4px;
    margin-bottom: 8px;
}


.section-header h2 span { color: #2e3192; }
.section-header p {
    font-size: .93rem;
    color: #6b7280;
    max-width: 580px;
    margin: 0 auto 10px;
    line-height: 1.7;
}
.section-header .sublink {
  display: inline-block;
  font-size: .85rem;
  color: #2e3192;
  border-bottom: 1px solid #2e319255;
  padding-bottom: 2px;
  text-decoration: none;
}
.header-line {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, #2e3192, #a78bfa);
  border-radius: 2px;
  margin: 12px auto 0;
}


/* --- ট্যাবলেট ডিভাইসের জন্য (সর্বোচ্চ ১০২৪ পিক্সেল স্ক্রিন) --- */
@media (max-width: 1024px) {
    .section-header {

  padding: 0 22px 0 22px;
    }
}

/* --- মোবাইল ডিভাইসের জন্য (সর্বোচ্চ ৭৬৮ পিক্সেল স্ক্রিন) --- */
@media (max-width: 768px) {
    .section-header {

   padding: 0 22px 0 22px;
    }
}


@media (max-width: 1024px) {
    .section-header h2 {
        font-size: 1.8rem; /* ফোন এবং ট্যাবলেটে আপনার পছন্দের নির্দিষ্ট ১.৮rem থাকবে */

    }
}
/* ── Accordion ── */
.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.accordion-item {
    background: #f9f8ff;
    border: 1px solid #e5e1f7;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
    box-shadow: 0 1px 4px rgba(46,49,146,.04);
}
.accordion-item.open {
    border-color: #a78bfa;
    box-shadow: 0 4px 20px rgba(46,49,146,.1);
    background: #ffffff;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 14px;
      padding: 16px 8px;
    cursor: pointer;
    user-select: none;
    transition: background .2s;
}
.accordion-header:hover { background: #f3f0ff; }

/* Number badge */
.acc-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 8px;
    background: #ede9fe;
    border: 1px solid #c4b5fd;
    font-size: .82rem;
    font-weight: 700;
    color: #2e3192;
    flex-shrink: 0;
    transition: background .3s, color .3s;
}
.accordion-item.open .acc-num {
    background: #2e3192;
    border-color: #2e3192;
    color: #fff;
}

.acc-title-block { flex: 1; }
.acc-title {
    font-size: .97rem;
    font-weight: 600;
    color: #1e1e2e;
    letter-spacing: .2px;
}
.acc-subtitle {
    font-size: .78rem;
    color: #9ca3af;
    margin-top: 2px;
}

/* Pill */
.acc-pill {
    background: #ede9fe;
    border: 1px solid #c4b5fd;
    border-radius: 20px;
    padding: 3px 11px;
    font-size: .7rem;
    font-weight: 600;
    color: #2e3192;
    white-space: nowrap;
    margin-right: 10px;
}
.accordion-item.open .acc-pill {
    background: #2e319215;
    color: #6d28d9;
}

/* Arrow */
.acc-arrow {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: #ede9fe;
    border: 1px solid #c4b5fd;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform .35s, background .3s;
}
.acc-arrow svg {
    width: 13px; height: 13px;
    fill: none; stroke: #2e3192;
    stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.accordion-item.open .acc-arrow {
    transform: rotate(180deg);
    background: #2e3192;
}
.accordion-item.open .acc-arrow svg { stroke: #fff; }

/* Body */
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.4,0,.2,1); }
.accordion-body-inner { padding: 7px; }
/* Tablet & Mobile Responsive Styles (768px বা তার নিচে) */
@media (max-width: 768px) {
    .accordion-body-inner {
        padding: 0; /* ফোন এবং ট্যাবলেটে প্যাডিং ০ হয়ে যাবে */
    }
}
/* ── Sub-items Vertical List (Updated) ── */
.sub-grid {
    display: flex;
    flex-direction: column; /* পাশে পাশে না গিয়ে উপর-নিচে আসার জন্য */
    gap: 10px;
    margin-bottom: 14px;
    width: 100%; /* পুরো বক্স সমান করার জন্য */
}

.sub-item {
    background: #faf9ff;
    border: 1px solid #ede9fe;
    border-radius: 8px;
    padding: 14px 16px;
    width: 100%; /* পুরো বক্স সমান উইডথ নিশ্চিত করার জন্য */
    box-sizing: border-box;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.sub-item:hover {
    border-color: #a78bfa;
    background: #f5f3ff;
    box-shadow: 0 2px 8px rgba(46,49,146,.08);
}
.sub-item-title {
    font-size: .88rem; font-weight: 600; color: #1e1e2e;
    display: flex; align-items: center; margin-bottom: 6px;
}
.sub-item-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #2e3192; display: inline-block;
    margin-right: 8px; flex-shrink: 0;
}
.sub-item-desc { font-size: .80rem; color: #6b7280; line-height: 1.6; padding-left: 15px; }

/* Long desc */
.acc-desc {
    font-size: .86rem; color: #6b7280; line-height: 1.8;
    border-top: 1px solid #ede9fe;
    padding-top: 14px; margin-top: 2px;
}






/* ===================================== IT SKILLS SECTION ============================================ */

.it-skills-section {
  background: #ffffff;
  padding: 35px 20px 40px;
  position: relative;
  overflow: hidden;
  font-family: 'Barlow', sans-serif;
}

.skills-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(124, 58, 237, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.skills-glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(124, 58, 237, 0.04);
  filter: blur(80px);
  border-radius: 50%;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.skills-container {
  position: relative;
  z-index: 2;

  margin: 0 auto;
}

.skills-header {
  text-align: center;
  margin-bottom: 35px;
}

.skills-icon-badge {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border: 1.5px solid rgba(46,49,146,0.2);
  box-shadow: 0 6px 20px rgba(46,49,146,0.08);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #2e3192;
}

.skills-main-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #1a1035;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.1;
}

.skills-main-title span {
  color: #2f3292;
}

.skills-title-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #2e3192, transparent);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ১ লাইনে ৪টি বক্স সুন্দরভাবে সাজানোর জন্য গ্রিড পরিবর্তন করা হলো */
.skills-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* এখানে ৩ কেটে ৪ করে দেওয়া হয়েছে */
  gap: 20px;
}

/* কার্ডের স্ট্যান্ডার্ড ডিজাইন */
.skill-item-card {
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  padding: 20px 5px 20px 5px ;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}

.skill-item-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.09);
}

.skill-ic-box {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ১২টি স্কিলের জন্য কালার প্যালেট */
.color-graphic { background: rgba(224, 93, 187, 0.1); color: #e05dbb; }
.color-video   { background: rgba(245, 185, 40, 0.1); color: #f5b928; }
.color-motion  { background: rgba(130, 80, 255, 0.1); color: #8250ff; }
.color-sound   { background: rgba(29, 185, 115, 0.1); color: #1db973; }
.color-cinema  { background: rgba(61, 189, 224, 0.1); color: #3dbde0; }
.color-ai      { background: rgba(46,49,146,0.1); color: #2e3192; }
.color-web     { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.color-app     { background: rgba(236, 72, 153, 0.1); color: #ec4899; }
.color-office  { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.color-studio  { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.color-content { background: rgba(99, 102, 241, 0.1); color: #6366f1; }
.color-robot   { background: rgba(20, 184, 166, 0.1); color: #14b8a6; }

.skill-text-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a1035;
  letter-spacing: 0.2px;
  line-height: 1.3;
}

/* রেস্পন্সিভ ব্রেকপয়েন্ট - ট্যাবলেট ও মোবাইল */
@media (max-width: 1024px) {
  .skills-card-grid {
    grid-template-columns: repeat(3, 1fr); /* ছোট ল্যাপটপ বা ট্যাবে ৩টি করে বক্স দেখাবে */
  }
}

@media (max-width: 768px) {
  .skills-card-grid {
    grid-template-columns: repeat(2, 1fr); /* বড় মোবাইল বা ছোট ট্যাবে ২টি করে বক্স দেখাবে */
  }
}

@media (max-width: 480px) {
  .skills-card-grid {
    grid-template-columns: 1fr; /* সাধারণ মোবাইলে ১টি করে পুরো লাইনে আসবে */
    gap: 14px;
  }
  .it-skills-section {
    padding: 0;
  }
}













/* - ===== SOFT & HARD SKILLS SECTION - START ===== -- */




















.bs-section {
  background: #ffffff;
  padding: 40px 20px 40px;
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  min-height: 600px;
}

/* ── Background floating books ── */
.bs-bg-books {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bs-book {
  position: absolute;
  opacity: 0.06;
  animation: floatBook 6s ease-in-out infinite;
}
@keyframes floatBook {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-14px) rotate(4deg); }
  66%       { transform: translateY(-6px) rotate(-3deg); }
}

/* ── Content wrapper ── */
.bs-content {
  position: relative;
  z-index: 1;

  margin: 0 auto;
}

/* ── Header ── */
.bs-header { text-align: center; margin-bottom: 32px; }
.bs-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #6c3fc5;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.bs-icon-wrap svg { width: 32px; height: 32px; fill: white; }

.bs-title {
  font-size: 32px; font-weight: 700;
  letter-spacing: 1px; margin: 0 0 8px;
}
.bs-title .dark  { color: #2d1a6e; }
.bs-title .light { color: #2e3192; }

.bs-underline {
  width: 50px; height: 3px;
  background: #2e3192; border-radius: 2px;
  margin: 0 auto;
}

/* ── Cards grid ── */
.bs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* এখানে ৩ কেটে ৪ করে দেওয়া হয়েছে */
  gap: 14px;
  margin-bottom: 24px;
}

/* ── Responsive Breakpoints ── */
@media (max-width: 1024px) {
  .bs-grid { grid-template-columns: repeat(3, 1fr); } /* ছোট ল্যাপটপ বা ট্যাবে ৩টি করে দেখাবে */
}
@media (max-width: 768px) {
  .bs-grid { grid-template-columns: repeat(2, 1fr); } /* বড় মোবাইল বা ছোট ট্যাবে ২টি করে দেখাবে */
}
@media (max-width: 480px) {
  .bs-grid { grid-template-columns: 1fr; } /* সাধারণ মোবাইলে ১টি করে দেখাবে */
}

.bs-card {
  background: #ffffff;
  border: 1px solid #e2d9f3;
  border-radius: 12px;
  padding: 20px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.bs-card:hover {
  border-color: #a78bfa;
  box-shadow: 0 4px 16px rgba(46,49,146,0.12);
}
.bs-card-icon {
  width: 30px; height: 30px;
  flex-shrink: 0;
  background: #ede9fe;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.bs-card-icon svg { width: 16px; height: 16px; fill: #2e3192; }
.bs-card-title {
  font-size: 18px; font-weight: 600;
  color: #2d1a6e; margin: 0 0 2px; line-height: 1.3;
  text-align: left;
}
.bs-card-desc {
  font-size: 14px; color: #7c6fa0;
  margin: 0; line-height: 1.4;
  text-align: left;
}

/* ── Toggle button ── */
.bs-btn-wrap { text-align: center; }
.bs-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #2e3192; color: white;
  border: none; border-radius: 50px;
  padding: 12px 28px;
  font-size: 14px; font-family: 'Poppins', sans-serif; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
}
.bs-btn:hover { background: #6c3fc5; }
.bs-btn svg { transition: transform 0.3s; }

/* ── Notice ── */
.bs-notice-wrap { text-align: center; margin-top: 12px; }
.bs-notice {
  font-size: 12px; color: #9ca3af;
  background: #f3f0ff; border-radius: 8px;
  padding: 8px 16px; display: inline-block;
}

/* Tablet & Mobile Responsive Styles (768px বা তার নিচে) */
@media (max-width: 768px) {
    .bs-section {
        padding: 7px; /* ফোন এবং ট্যাবলেটে প্যাডিং ৭ পিক্সেল হয়ে যাবে */
        min-height: auto; /* ছোট স্ক্রিনে উচ্চতা অটো রাখলে ডিজাইন ভেঙে যাওয়ার রিস্ক থাকে না */
    }
}



.shs-icon-box {

    background: #b847a524;
}



/* ===================================== ALIF SHIELDED INFO BOARD STYLES ============================================ */

.alif-fixed-scope-wrapper {
  background: #ffffff !important;
  padding: 50px 0 !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  clear: both !important;
}

.alif-fixed-container {
  max-width: 1600px !important;
  margin: 0 auto !important;
  padding: 0 15px !important;
  box-sizing: border-box !important;
}

.alif-fixed-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.alif-fixed-full-panel {
  flex: 1 1 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ফিক্সড ৪ কলাম গ্রিড সিস্টেম (১ লাইনে ৪টি করে মোট ২ লাইন) */
.alif-fixed-grid-system.alif-four-columns {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  box-sizing: border-box !important;
}

/* কার্ডের ফিক্সড হাইট ও ডিজাইন (৪ কলামে টেক্সট র‍্যাপের জন্য পারফেক্ট) */
.alif-fixed-single-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 16px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02) !important;
  box-sizing: border-box !important;
  height: 200px !important; /* ৪ কলামে লিখা নিচে নামলেও কার্ড হাইট ঠিক থাকবে */
  overflow: hidden !important;
  transition: all 0.25s ease-in-out !important;
}

.alif-fixed-single-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.04) !important;
}

.alif-fixed-card-top {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 10px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding-bottom: 8px !important;
}

.alif-fixed-icon-img {
  width: 26px !important;
  height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  object-fit: contain !important;
}

.alif-fixed-card-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1e1b4b !important;
  white-space: nowrap !important; /* হেডিং যেন এক লাইনে থাকে */
}

.alif-fixed-card-list {
  margin: 0 !important;
  padding-left: 14px !important;
  list-style-type: disc !important;
}

.alif-fixed-card-list li {
  margin-bottom: 5px !important;
}

.alif-fixed-card-list li a {
  font-size: 16px !important;
  color: #475569 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

.alif-fixed-card-list li a:hover {
  color: #2e3192 !important;
}

/* ------------------ রেস্পন্সিভ লেআউট (Responsive) ------------------ */
@media (max-width: 1200px) {
  .alif-fixed-grid-system.alif-four-columns {
    grid-template-columns: repeat(3, 1fr) !important; /* মাঝারি স্ক্রিনে ৩ কলাম */
  }
}

@media (max-width: 900px) {
  .alif-fixed-grid-system.alif-four-columns {
    grid-template-columns: repeat(2, 1fr) !important; /* ট্যাবলেটে ২ কলাম */
  }
}

@media (max-width: 550px) {
  .alif-fixed-grid-system.alif-four-columns {
    grid-template-columns: 1fr !important; /* মোবাইলে ১ কলাম */
    gap: 12px !important;
  }
  .alif-fixed-single-card {
    height: auto !important; /* মোবাইলে সব কন্টেন্ট দেখানোর জন্য অটো হাইট */
  }
}




/* --- ট্যাবলেট ডিভাইসের জন্য (সর্বোচ্চ ১০২৪ পিক্সেল স্ক্রিন) --- */
@media (max-width: 1024px) {
    .alif-fixed-scope-wrapper {
        padding: 40px 0 26px 0 !important;
    }
}

/* --- মোবাইল ডিভাইসের জন্য (সর্বোচ্চ ৭৬৮ পিক্সেল স্ক্রিন) --- */
@media (max-width: 768px) {
    .alif-fixed-scope-wrapper {
         padding: 40px 0 26px 0 !important;
    }
}











/* ============================= আমাদের সম্মানিত শিক্ষকবৃন্দ======================== */



/* টিচার সেকশন স্টাইলিং */
.teacher-section {
    width: 100%;
    padding: 40px 0;
    background-color: #ffffff; /* ক্লিন ব্যাকগ্রাউন্ড */
}

/* আগের সেকশনের কমন কন্টেইনার (যদি আগে থেকেই সিএসএস-এ লেখা থাকে, তবে পুনরায় লেখার প্রয়োজন নেই) */
.info-container-1400 {
width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* সেকশন টাইটেল */
.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    position: relative;
    font-weight: bold;
}



/* সুইপার স্লাইডার কন্টেইনার */
.teacher-swiper {
    padding: 20px 10px 40px 10px; /* নিচের পেজিনেশনের জন্য একটু বাড়তি প্যাডিং */
}

/* শিক্ষক কার্ড ডিজাইন */
.teacher-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(142, 36, 170, 0.15); /* হোভারে হালকা বেগুনী শ্যাডো */
}

/* শিক্ষকের ছবি গোল (Round) এবং সুন্দর করার জন্য */
.teacher-img-wrapper {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid #8e24aa; /* ছবির বর্ডার */
}

.teacher-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* শিক্ষকের নাম */
.teacher-name {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin: 0;
    margin-top: 10px;
}

/* Swiper এরিয়া বাটন কালার কাস্টমাইজেশন */
.teacher-swiper .swiper-button-next,
.teacher-swiper .swiper-button-prev {
    color: #8e24aa;
}

.teacher-swiper .swiper-pagination-bullet-active {
    background: #8e24aa;
}



















































.video-gallery-section {
    max-width: 1650px;
    width: 100%;
    margin: 40px auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: sans-serif;
}

.video-gallery-section .main-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 40px;
}

/* Slider Style */
.video-gallery-section .slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 1600px;
    height: 500px;
    margin-bottom: 50px;
}

.video-gallery-section .carousel-view {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-gallery-section .gallery-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: all 0.5s ease-in-out;
    position: absolute;
    background: #000; /* ভিডিও লোডের আগে ব্যাকগ্রাউন্ড কালো থাকবে */
}

.video-gallery-section .gallery-card img,
.video-gallery-section .gallery-card iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-gallery-section .main-card {
    width: 55%;
    height: 100%;
    z-index: 5;
}

.video-gallery-section .side-card {
    width: 30%;
    height: 80%;
    opacity: 0.6;
    z-index: 2;
    cursor: pointer;
}

.video-gallery-section .side-card:hover {
    opacity: 0.9;
}

.video-gallery-section .left-card {
    left: 0;
    transform: translateX(10%) scale(0.9);
}

.video-gallery-section .right-card {
    right: 0;
    transform: translateX(-10%) scale(0.9);
}

/* Arrow buttons */
.video-gallery-section .arrow-btn {
    position: absolute;
    width: 55px;
    height: 55px;
    background: #2e3192;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-gallery-section .arrow-btn:hover {
    background: #1b1d59;
    transform: scale(1.1);
}

.video-gallery-section .left-arrow { left: 20px; }
.video-gallery-section .right-arrow { right: 20px; }

/* Grid view */
.video-gallery-section .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
}

.video-card {
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    border: 4px solid transparent;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.video-card.active {
    border-color: #2e3192;
    transform: translateY(-5px);
}

.thumb-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.video-card img {
    width: 100%;
    display: block;
    transition: transform 0.3s;
}

.video-card:hover img {
    transform: scale(1.05);
}

/* Play button effect on hover */
.play-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-icon {
    color: #fff;
    font-size: 2.5rem;
    background: #2e3192;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding-left: 5px;
}

.video-title {
    padding: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    background: #fff;
    text-align: left;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .video-gallery-section .slider-container { height: 350px; }
    .video-gallery-section .main-card { width: 70%; }
    .video-gallery-section .side-card { display: none; } /* ছোট স্ক্রিনে সাইড কার্ড হাইড রাখা ভালো */
}
@media (max-width: 576px) {
    .video-gallery-section .slider-container { height: 220px; }
    .video-gallery-section .main-card { width: 100%; }
    .video-gallery-section .main-title { font-size: 2.2rem; }
    .video-gallery-section .arrow-btn { width: 40px; height: 40px; font-size: 1rem; }
}











.chairman-section{
background: #f2f2f2;
    padding:100px 20px;
}

.container{
    max-width:1550px;
    margin:auto;
}

.section-title-chairman-card{
    text-align:center;
    font-size:2.5rem;
    color:#2e3192;
    margin-bottom:20px;
    font-weight:700;
}

.chairman-card{
    background:#fff;
    border-radius:25px;
    padding:50px;
    display:flex;
    align-items:center;
    gap:50px;
    box-shadow:0 15px 35px rgba(0,0,0,0.08);
    border-bottom:6px solid #2e3192;
    transition:.4s;
}

.chairman-card:hover{
    transform:translateY(-8px);
}

.chairman-image{
    flex:0 0 220px;
}

.chairman-image img{
    width:220px;
    height:220px;
    border-radius:50%;
    object-fit:cover;
    border:6px solid #22c7b8;
    padding:6px;
}

.chairman-content{
    flex:1;
}

.quote-icon{
    font-size:55px;
    color:#2e3192;
    line-height:1;
    margin-bottom:15px;
}

.message{
    font-size:34px;
    line-height:1.8;
    color:#273444;
    margin-bottom:30px;
}

.chairman-content h4{
    font-size:32px;
    color:#0f172a;
    margin-bottom:8px;
}

.chairman-content span{
    color:#2e3192;
    font-size:24px;
}

/* Responsive */

@media(max-width:992px){

    .chairman-card{
        flex-direction:column;
        text-align:center;
    }

    .section-title-chairman-card{
        font: size 1.8rem;
        margin: 0 0 40px 6px !important;
    }

    .message{
        font-size:24px;
    }
}

@media(max-width:576px){

    .chairman-image img{
        width:180px;
        height:180px;
    }

    .section-title-chairman-card{
        font-size:1.8rem;
            margin: 0 0 40px 6px !important;
    }

    .message{
        font-size:20px;
    }

    .chairman-content h4{
        font-size:24px;
    }

    .chairman-content span{
        font-size:18px;
    }
}





/* Tablet view (প্রস্থ ১০২৪ পিক্সেল বা তার কম স্ক্রিনের জন্য) */
@media (max-width: 1024px) {
    .chairman-section {
        padding: 0; /* সব গ্যাপ মুছে ফেলার জন্য */
        margin: 0;
    }
}

/* Mobile view (প্রস্থ ৭৬৭ পিক্সেল বা তার কম স্ক্রিনের জন্য) */
@media (max-width: 767px) {
    .chairman-section {
        padding: 7px; /* সব গ্যাপ মুছে ফেলার জন্য */
        margin: 0;
    }
}
@media (max-width: 768px) {
    .chairman-card {
        flex-direction: column; /* ছোট স্ক্রিনে কন্টেন্ট উপর-নিচে চলে আসবে */
        text-align: center;     /* লেখাগুলো মাঝে থাকবে */
        gap: 20px;              /* গ্যাপ ৫০ পিক্সেল থেকে কমিয়ে ২০ করা হয়েছে */
        padding: 30px 20px;     /* উপর-নিচে ও ডানে-বামে প্যাডিং অ্যাডজাস্ট করা হয়েছে */
    }
}
/* Tablet & Mobile Responsive Styles */
@media (max-width: 768px) {
    .chairman-image {
        flex: 0 0 160px; /* মোবাইল স্ক্রিনে ইমেজ সাইজ ২২০ থেকে কমিয়ে ১৬০ করা হলো */
        width: 160px;
        height: 160px;
        margin: 0 auto; /* ইমেজটিকে অনুভূমিকভাবে সেন্টারে রাখার জন্য */
    }
}
