/* ==========================================================================
   VMS BRANCHES — Shared theme layer (sits on top of Bootstrap 5)
   Shared by every VMS branch page (Joka / Haldia / Baruipur / ...).
   Each branch keeps its own assets/css/style.css, loaded after this file,
   for the landing-page components unique to that branch.
   ========================================================================== */

:root {
  /* Brand palette — derived from the existing VMS crest (heritage maroon + gold) */
  --vms-maroon:        #6E2A36;
  --vms-maroon-dark:   #47161F;
  --vms-maroon-tint:   #F4E9EB;
  --vms-gold:          #C08A34;
  --vms-gold-light:    #E7C892;
  --vms-ink:           #241B18;
  --vms-ink-soft:      #5B4E4A;
  --vms-cream:         #FBF6EE;
  --vms-cream-deep:    #F3EADA;
  --vms-white:         #FFFFFF;
  --vms-line:          #E7DDD0;

  --vms-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --vms-font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;

  --vms-radius: 14px;
  --vms-shadow: 0 20px 45px -20px rgba(36, 27, 24, 0.35);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--vms-font-body);
  color: var(--vms-ink);
  background: var(--vms-white);
}

h1, h2, h3, h4, .vms-display {
  font-family: var(--vms-font-display);
  font-weight: 600;
  color: var(--vms-maroon-dark);
  letter-spacing: -0.01em;
}

a { color: var(--vms-maroon); }
a:hover { color: var(--vms-gold); }

.vms-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vms-gold);
}
.vms-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--vms-gold);
  display: inline-block;
}

.vms-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .2s ease;
  border: 1px solid transparent;
  text-decoration: none;
}
.vms-btn-primary {
  background: var(--vms-maroon);
  color: var(--vms-white);
}
.vms-btn-primary:hover { background: var(--vms-maroon-dark); color: var(--vms-white); transform: translateY(-2px); }
.vms-btn-gold {
  background: var(--vms-gold);
  color: var(--vms-white);
}
.vms-btn-gold:hover { background: #a5761f; color: var(--vms-white); transform: translateY(-2px); }
.vms-btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: var(--vms-white);
}
.vms-btn-outline:hover { background: rgba(255,255,255,.12); color: var(--vms-white); }
.vms-btn-outline-maroon {
  background: transparent;
  border-color: #6e2a36 !important;
  color: var(--vms-maroon);
}
.vms-btn-outline-maroon:hover { background: var(--vms-maroon); color: var(--vms-white); }

/* ---------- Utility bar ---------- */
.vms-utility-bar {
  background: var(--vms-maroon-dark);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
}
.vms-utility-bar a { color: rgba(255,255,255,.85); text-decoration: none; }
.vms-utility-bar a:hover { color: var(--vms-gold-light); }
.vms-utility-bar .divider { width: 1px; height: 14px; background: rgba(255,255,255,.25); }
.vms-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff; font-size: .8rem;
}
.vms-social a:hover { background: var(--vms-gold); }

/* ---------- Header / nav ---------- */
.vms-header {
  background: var(--vms-white);
  border-bottom: 1px solid var(--vms-line);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow .2s ease;
}
.vms-header.is-stuck { box-shadow: 0 8px 24px -16px rgba(36,27,24,.35); }
.vms-logo img { height: 46px; width: auto; }
.vms-nav .nav-link {
  font-weight: 600;
  font-size: .9rem;
  color: var(--vms-ink);
  padding: .5rem .65rem !important;
  border-radius: 8px;
  white-space: nowrap;
}
@media (min-width: 992px) and (max-width: 1300px) {
  .vms-nav .nav-link { padding: .5rem .45rem !important; font-size: .85rem; }
}
.vms-nav .nav-link:hover,
.vms-nav .nav-link:focus { color: var(--vms-maroon); }
.vms-nav .nav-item.active .nav-link { color: var(--vms-maroon); }
.vms-nav .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: var(--vms-shadow);
  padding: .5rem;
}
.vms-nav .dropdown-item {
  border-radius: 8px;
  padding: .55rem .9rem;
  font-weight: 500;
}
.vms-nav .dropdown-item:hover { background: var(--vms-maroon-tint); color: var(--vms-maroon-dark); }

/* ---------- Ticker ---------- */
.vms-ticker {
  background: var(--vms-gold);
  color: var(--vms-maroon-dark);
  overflow: hidden;
  white-space: nowrap;
  font-weight: 600;
  font-size: .88rem;
}
.vms-ticker__track {
  display: inline-block;
  padding-left: 100%;
  animation: vms-scroll 32s linear infinite;
}
.vms-ticker:hover .vms-ticker__track { animation-play-state: paused; }
@keyframes vms-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.vms-ticker__track span { margin-right: 3.5rem; }

/* ---------- Section shell ---------- */
.vms-section { padding: 5rem 0; }
.vms-section--tint { background: var(--vms-cream); }
.vms-section-title { max-width: 640px; }
.vms-section-title p { color: var(--vms-ink-soft); }

/* ---------- Image frame (about / gallery) ---------- */
.vms-about__frame { border-radius: var(--vms-radius); overflow: hidden; box-shadow: var(--vms-shadow); }
.vms-about__frame img { width: 100%; display: block; }

/* ---------- Testimonials ---------- */
.vms-testimonial {
  background: var(--vms-white);
  border: 1px solid var(--vms-line);
  border-radius: var(--vms-radius);
  padding: 1.75rem;
  height: 100%;
}
.vms-testimonial .stars { color: var(--vms-gold); font-size: .85rem; margin-bottom: .75rem; }
.vms-testimonial p { font-size: .95rem; color: var(--vms-ink-soft); }
.vms-testimonial .who { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.vms-testimonial .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--vms-maroon-tint);
  color: var(--vms-maroon);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--vms-font-display);
}
.vms-testimonial .who strong { display: block; font-size: .9rem; }
.vms-testimonial .who span { font-size: .78rem; color: var(--vms-ink-soft); }

/* ---------- CTA band ---------- */
.vms-cta {
  background: linear-gradient(120deg, var(--vms-maroon) 0%, var(--vms-maroon-dark) 100%);
  border-radius: 24px;
  padding: 3.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.vms-cta::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(224,178,110,.18);
}
.vms-cta h2 { color: #fff; }

/* ---------- Footer ---------- */
.vms-footer { background: var(--vms-ink); color: rgba(255,255,255,.72); }
.vms-footer h5 { color: #fff; font-family: var(--vms-font-display); font-size: 1.05rem; margin-bottom: 1.1rem; }
.vms-footer a { color: rgba(255,255,255,.68); text-decoration: none; font-size: .92rem; }
.vms-footer a:hover { color: var(--vms-gold-light); }
.vms-footer ul { list-style: none; padding: 0; margin: 0; }
.vms-footer ul li { margin-bottom: .6rem; }
.vms-footer .contact-item { display: flex; gap: .6rem; margin-bottom: .9rem; font-size: .88rem; }
.vms-footer .contact-item i { color: var(--vms-gold); margin-top: .2rem; }
.vms-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; color: rgba(255,255,255,.55); }
.vms-footer .vms-social a { background: rgba(255,255,255,.08); }

/* ---------- Back to top ---------- */
.vms-back-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--vms-maroon); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s ease;
  z-index: 1040;
}
.vms-back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.vms-back-top:hover { background: var(--vms-maroon-dark); color: #fff; }

@media (max-width: 991.98px) {
  .vms-cta { padding: 2.25rem; text-align: center; }
}
/*12-08-2026*/
.table-responsive{    display: block;
    width: 100%;}
.single-class-img img{height: 400px; overflow: hidden; object-fit: cover;border: none;
    box-shadow: none !important;}
#gform_fields_2 input, #gform_fields_2 textarea{
    width: 100%;
    border: 1px solid var(--vms-line);
    border-radius: 10px;
    padding: .7rem .9rem;
    font-family: var(--vms-font-body);  
    font-size: .92rem;
    color: var(--vms-ink);
    background: var(--vms-cream);
    transition: border-color .2s ease, background .2s ease;
    height: 46px;
}
#gform_fields_2 select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
     width: 100%;
    border: 1px solid var(--vms-line);
    border-radius: 10px;
    padding: .25rem .9rem!important;
    font-family: var(--vms-font-body);  
    font-size: .92rem;
    color: var(--vms-ink);
    background: var(--vms-cream);
    transition: border-color .2s ease, background .2s ease;
    height: 46px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 18px;

    padding-right: 50px;
}

.vms-form-control:focus, #gform_fields_2 input:focus, #gform_fields_2 textarea:focus , #gform_fields_2 select:focus{
    outline: none;
    border-color: var(--vms-maroon);
    background: var(--vms-white);
}
#gform_fields_2 textarea{
    resize: vertical;
    min-height: 120px;
}
.vms-btn-primary, #gform_submit_button_2 {
    background: var(--vms-maroon);
    color: var(--vms-white);
}
.vms-btn, #gform_submit_button_2{
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    transition: all .2s ease;
    border: 1px solid transparent;
    text-decoration: none;
}
.contact-fot-btn a{
    padding: .75rem 0.9rem!important;
    font-size: 1rem!important;
}
#gform_fields_2{row-gap: 15px;}





/*18-08-2026*/

.page-template-blog .vms-btn-outline-maroon,
.single-post .vms-btn-outline-maroon,
.archive .vms-btn-outline-maroon{
    border-color: #6e2a36 !important;
}
.page-template-blog .vms-facility-card .cat,
.single-post .vms-facility-card .cat,
.archive .vms-facility-card .cat{
    padding: 3px 10px !important;
    background: #6e2a36 !important;
    border-radius: 20px !important;
}
.page-template-blog .vms-facility-card .cat a,
.single-post .vms-facility-card .cat a,
.archive .vms-facility-card .cat a{
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px !important;
}
.page-template-blog .vms-facility-card h5,
.single-post .vms-facility-card h5,
.archive .vms-facility-card h5 {
    font-size: 21px !important;
}

nav[aria-label="Events pagination"] {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

nav[aria-label="Events pagination"] .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: var(--vms-maroon);
  text-decoration: none;
  transition: all 0.2s ease;
}

nav[aria-label="Events pagination"] .page-numbers.current {
  background-color: var(--vms-maroon);
  color: #fff;
  border-color: var(--vms-maroon);
}

nav[aria-label="Events pagination"] .page-numbers:hover {
  background-color: var(--vms-maroon);
  color: #fff;
  border-color: var(--vms-maroon);
}

.single-post .vms-inner-layout .col-lg-8 img{
  width: 100% !important;
}
.single-post .vms-rule-block{
  height: unset !important;
  position: sticky;
  top: 90px !important;
}










/*Responsive*/
/*18-08-2026*/

.@media (max-width: 767.5px) {
  .single-post #beyond-classroom{
    padding: 50px 0px !important;
  }
}



