/* ===== Modern beautification layer (loaded last, overrides theme) ===== */
:root {
  --brand: #1e3a8a;
  --brand-dark: #14275e;
  --accent: #feb600;
  --text: #374151;
  --muted: #6b7280;
  --bg-soft: #f6f8fc;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(20, 39, 94, .10);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', 'Arimo', Arial, sans-serif;
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', 'Oswald', sans-serif; color: var(--brand-dark); letter-spacing: .2px; }
a { transition: color .2s ease, background .2s ease, transform .2s ease; }
p { text-align: justify; }

/* ---- Top bar ---- */
.top-bar-section { background: linear-gradient(90deg, var(--brand-dark), var(--brand)) !important; font-size: 13px; }
.top-bar-section, .top-bar-section a, .top-bar-section i { color: #fff !important; }
.top-bar-section .top-social-icon a { margin-left: 12px; opacity: .9; }
.top-bar-section .top-social-icon a:hover { opacity: 1; color: var(--accent) !important; }

/* ---- Logo area ---- */
.new-version.tb-pad-20 { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.navbar-brand img { max-height: 110px; width: auto; transition: transform .3s ease; }
.navbar-brand img:hover { transform: scale(1.03); }

/* ---- Navigation ---- */
.menu_bg { background: var(--brand) !important; box-shadow: 0 4px 14px rgba(20,39,94,.25); }
.menu_bg .navbar { margin-bottom: 0; border: 0; background: transparent !important; }
.menu_bg .navbar-nav > li > a {
  color: #fff !important; font-weight: 500; text-transform: uppercase;
  font-size: 13px; letter-spacing: .6px; padding: 18px 14px;
  background: transparent !important; border-bottom: 3px solid transparent;
}
.menu_bg .navbar-nav > li > a:hover,
.menu_bg .navbar-nav > li > a.active,
.menu_bg .navbar-nav > li:hover > a { color: var(--accent) !important; border-bottom-color: var(--accent); }
.menu_bg .dropdown-menu {
  border: 0; border-top: 3px solid var(--accent); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow); padding: 8px 0; min-width: 240px;
}
.menu_bg .dropdown-menu > li > a { padding: 9px 20px; color: var(--text) !important; font-size: 14px; }
.menu_bg .dropdown-menu > li > a:hover { background: var(--bg-soft) !important; color: var(--brand) !important; padding-left: 26px; }

/* ---- Page header / breadcrumb ---- */
.page-header {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand)) !important;
  border: 0; margin: 0; padding: 48px 0;
}
.page-header .title { color: #fff !important; font-size: 30px; font-weight: 600; margin: 0 0 8px; text-transform: uppercase; }
.page-header .breadcrumb { background: transparent; padding: 0; margin: 0; }
.page-header .breadcrumb a { color: var(--accent); }
.page-header .breadcrumb li, .page-header .breadcrumb > li + li:before { color: #e5e7eb; }

/* ---- Content sections ---- */
.page-section { padding: 50px 0; background: #fff; }
.section-title .title, h3.title, h4.title {
  position: relative; padding-bottom: 12px; margin-bottom: 18px; font-weight: 600;
}
.section-title .title:after, .who-we-are h3.title:after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px;
  background: var(--accent); border-radius: 3px;
}
.section-title.text-center .title:after { left: 50%; margin-left: -30px; }
.page-header .title { padding-bottom: 0; }
.page-header .title:after { display: none; }

.description, h4.description { font-size: 16px; font-weight: 400; color: var(--muted); }
.who-we-are h4[style*="feb600"] {
  background: linear-gradient(90deg, var(--accent), #ffd45c) !important;
  color: #3a2a00; padding: 14px 20px; border-radius: var(--radius);
  font-size: 17px; box-shadow: var(--shadow);
}
hr { border-top: 1px solid #e5e7eb; }

/* ---- Images & cards ---- */
.who-we-are img, .item-box img, .img-responsive {
  border-radius: var(--radius); box-shadow: var(--shadow); max-width: 100%; height: auto;
  transition: transform .3s ease, box-shadow .3s ease;
}
.item-box:hover img, .grid-item:hover img { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(20,39,94,.18); }
.grid-item { border-radius: var(--radius); overflow: hidden; }

/* ---- Lists ---- */
ul.arrow-style { list-style: none; padding-left: 0; }
ul.arrow-style li {
  position: relative; padding: 8px 14px 8px 36px; margin-bottom: 6px;
  background: var(--bg-soft); border-radius: 8px; border-left: 3px solid var(--accent);
}
ul.arrow-style li:before {
  content: "\f105"; font-family: FontAwesome; position: absolute; left: 14px; color: var(--brand); font-weight: bold;
}
ul.arrow-style li:hover { background: #eef2fb; transform: translateX(3px); }

/* ---- Tables ---- */
table { border-collapse: separate !important; border-spacing: 0; width: 100%; }
.table, table.table-bordered, .page-section table {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.page-section table th { background: var(--brand); color: #fff; padding: 12px 14px !important; }
.page-section table td { padding: 10px 14px !important; border-bottom: 1px solid #eef0f5; }
.page-section table tr:nth-child(even) td { background: var(--bg-soft); }
.page-section table tr:hover td { background: #eaf0fb; }

/* ---- Forms ---- */
.form-control, input[type=text], input[type=password], input[type=email], select, textarea {
  border: 1px solid #d1d5db; border-radius: 8px; padding: 10px 14px; height: auto;
  box-shadow: none; transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, input:focus, select:focus, textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30,58,138,.15); outline: 0;
}
.btn, input[type=submit], input[type=button], button.btn {
  background: var(--brand); color: #fff; border: 0; border-radius: 30px;
  padding: 10px 28px; font-weight: 500; letter-spacing: .4px;
  box-shadow: 0 4px 14px rgba(30,58,138,.3); cursor: pointer;
}
.btn:hover, input[type=submit]:hover, input[type=button]:hover {
  background: var(--accent); color: #1f2937; transform: translateY(-2px);
}

/* ---- Quote / CTA strip ---- */
#get-quote { background: linear-gradient(90deg, var(--accent), #ffd45c) !important; padding: 22px 0; }
#get-quote, #get-quote a { color: #1f2937 !important; font-weight: 600; }
#get-quote a.black { text-decoration: underline; margin-left: 8px; }

/* ---- Footer ---- */
#footer { background: var(--brand-dark) !important; color: #cbd5e1; }
#footer .footer-widget { padding: 50px 0 20px; }
#footer h3.title, #footer h4 { color: #fff !important; }
#footer h3.title:after { background: var(--accent); }
#footer a { color: #cbd5e1; }
#footer a:hover, #footer a.text-color { color: var(--accent) !important; }
#footer ul.lft { list-style: none; padding: 0; }
#footer ul.lft li { padding: 5px 0; border-bottom: 1px dashed rgba(255,255,255,.08); }
#footer ul.lft li a:hover { padding-left: 6px; }
#footer .copyright { background: #0d1a40 !important; padding: 14px 0; color: #94a3b8; }
#footer .social-icon a { display: inline-block; width: 36px; height: 36px; line-height: 36px; text-align: center; border-radius: 50%; background: rgba(255,255,255,.1); margin-right: 6px; color: #fff; }
#footer .social-icon a:hover { background: var(--accent); color: #1f2937 !important; }

/* ---- Responsive ---- */
@media (max-width: 767px) {
  .page-header { padding: 30px 0; }
  .page-header .title { font-size: 22px; }
  .menu_bg .navbar-nav > li > a { padding: 12px 15px; }
  p { text-align: left; }
}

/* =====================================================
   PART 2 - Home page & special sections
   ===================================================== */

/* ---- Home: 4 feature boxes ---- */
#features { background: var(--bg-soft); padding: 60px 0; margin-top: 0; }
#features [class*="ind_box"] {
  background: #fff !important; border-radius: var(--radius); padding: 28px 22px;
  min-height: 300px; box-shadow: var(--shadow); border-top: 4px solid var(--accent);
  transition: transform .3s ease, box-shadow .3s ease; text-align: center;
}
#features a:hover [class*="ind_box"], #features [class*="ind_box"]:hover {
  transform: translateY(-8px); box-shadow: 0 18px 40px rgba(20,39,94,.2);
}
#features [class*="ind_box"] h3 { font-size: 19px; color: var(--brand) !important; font-weight: 600; margin-top: 0; }
#features [class*="ind_box"] p { color: var(--muted) !important; font-size: 14px; text-align: center; }
#features .opacity { opacity: 1 !important; }
#features .col-sm-3 { margin-bottom: 20px; }

/* News ticker */
.newsticker-jcarousellite { background: #fff; border-radius: 8px; padding: 6px 10px; }
.newsticker-jcarousellite li, .newsticker-jcarousellite a { color: var(--text); font-size: 13px; }
.newsticker-jcarousellite a:hover { color: var(--brand); }

/* ---- Home: about band ---- */
#about-us { background: #fff !important; padding: 70px 0; }
#about-us img { width: 100%; max-width: 480px; height: auto; }

/* Know-more buttons (button wrapping an anchor) */
button.button1, .btn.button1 {
  background: var(--accent) !important; border: 0 !important; border-radius: 30px !important;
  padding: 0 !important; box-shadow: 0 6px 18px rgba(254,182,0,.4); overflow: hidden;
}
button.button1 a, .btn.button1 a {
  display: block; padding: 11px 30px; color: #1f2937 !important; font-weight: 600;
  text-transform: uppercase; font-size: 13px; letter-spacing: .6px; text-decoration: none;
}
button.button1:hover { background: var(--brand) !important; transform: translateY(-2px); }
button.button1:hover a { color: #fff !important; }

/* ---- Home: director band ---- */
.who-we-are.bg1 {
  background: linear-gradient(135deg, #0b2a5b, var(--brand)) !important;
  border-radius: 18px; padding: 40px 30px; box-shadow: var(--shadow); color: #fff;
}
.who-we-are.bg1 h3.title, .who-we-are.bg1 h4, .who-we-are.bg1 p { color: #fff !important; }
.who-we-are.bg1 h3.title { color: var(--accent) !important; }
.who-we-are.bg1 img {
  border-radius: 50%; width: 240px; height: 240px; object-fit: cover; border: 5px solid var(--accent);
  display: block; margin: 0 auto 15px; box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.who-we-are.bg1 h4.description { font-size: 15px; line-height: 1.8; font-weight: 300; }

/* ---- Home: quick links circles ---- */
#testimonials { position: relative; padding: 70px 0 !important; }
#testimonials .overlay-dark { background: rgba(10, 25, 60, .78) !important; }
#testimonials .client-image { text-align: center; }
#testimonials .client-image img {
  border: 4px solid rgba(255,255,255,.85); background: #fff; padding: 10px;
  transition: transform .3s ease, border-color .3s ease; box-shadow: 0 8px 22px rgba(0,0,0,.3);
}
#testimonials a:hover .client-image img { transform: scale(1.12) rotate(4deg); border-color: var(--accent); }
#testimonials .client-details strong, #testimonials .text-color { color: #fff !important; font-size: 14px; display: block; margin-top: 12px; }
#testimonials a:hover strong { color: var(--accent) !important; }

/* ---- Home: gallery ---- */
#works { padding: 60px 0; background: var(--bg-soft); }
#works h2 { font-weight: 700; font-size: 30px; color: var(--brand); text-align: center !important; float: none !important; }
#works h4 { text-align: center !important; float: none !important; color: var(--muted); font-weight: 400; margin-bottom: 30px; }
#works .row .col-sm-2 { text-align: center; }
.mixed-grid .grid-item { position: relative; margin-bottom: 15px; }
.mixed-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* ---- Home: birthday ---- */
#birthdaySection { background: #fff !important; padding: 60px 0; }
#birthdaySection h3.title { color: var(--brand) !important; }
#happybirthday .birthday-card {
  text-align: center; background: var(--bg-soft); border-radius: var(--radius);
  padding: 15px; margin: 8px; box-shadow: var(--shadow);
}
#happybirthday img { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; border: 3px solid var(--accent); }

/* ---- Slider ---- */
.slider { box-shadow: 0 8px 30px rgba(0,0,0,.15); }

/* ---- Contact page ---- */
#contact-us .container > .row > div {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px; margin-bottom: 25px;
}
#contact-us h5.title { font-size: 20px; font-weight: 600; color: var(--brand); text-transform: uppercase; }
#contact-us h5.title:after { content: ""; display: block; width: 50px; height: 3px; background: var(--accent); margin-top: 8px; }
#contact-us address { color: var(--muted); }
#contact-us textarea { min-height: 110px; }
#contact-us .form-group { margin-bottom: 16px; }
#map { display: none; } /* placeholder map showed a wrong location (Australia) */

/* ---- Generic content blocks used across inner pages ---- */
.txtcss { line-height: 1.9; }
.page-section .container.who-we-are { background: #fff; }
.page-section .row + .row { margin-top: 20px; }
.page-section h4.c9, .page-section h4.title.c9 { color: var(--brand) !important; }
.page-section strong, .page-section b { color: var(--brand-dark); }
.page-section ol { padding-left: 22px; }
.page-section ol li, .page-section ul:not(.arrow-style):not(.breadcrumb) li { margin-bottom: 6px; }
.tb-pad-10 { padding-top: 10px; padding-bottom: 10px; }
.page-section { animation: fadeUpSoft .6s ease both; }
@keyframes fadeUpSoft { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- Back to top ---- */
.move-top a { background: var(--brand-dark); color: #fff; border-radius: 50%; }
.move-top a:hover { background: var(--accent); color: #1f2937; }

/* ---- Page loader ---- */
#pageloader { background: #fff; }
#pageloader .loader-item { color: var(--brand) !important; }

/* ---- Selection & scrollbar ---- */
::selection { background: var(--accent); color: #1f2937; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 10px; }
::-webkit-scrollbar-track { background: #eef1f8; }

@media (max-width: 767px) {
  #features [class*="ind_box"] { min-height: auto; }
  .who-we-are.bg1 { padding: 25px 15px; }
  #works .row .col-sm-2 { width: 100%; }
}

/* ---- Online registration form polish ---- */
fieldset { border: 0 !important; border-radius: var(--radius); box-shadow: var(--shadow) !important; padding: 20px !important; }
fieldset legend {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand)) !important; color: #fff !important;
  border: 0; border-radius: 8px; padding: 10px 18px; width: auto; font-family: 'Poppins', sans-serif !important;
}
fieldset table { box-shadow: none !important; }
fieldset table td, fieldset table th { background: transparent !important; border: 0 !important; }
fieldset input[type=text], fieldset select, fieldset textarea { width: 100%; max-width: 100%; }
fieldset td[style*="yellow"] { background: #fff7d6 !important; border-radius: 8px; }

/* =====================================================
   About Us page
   ===================================================== */
.about-modern { padding: 60px 0; }
.about-soft { background: var(--bg-soft) !important; }
.about-eyebrow {
  display: inline-block; background: var(--accent); color: #3a2a00; font-weight: 600; font-size: 12px;
  letter-spacing: 1.2px; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 12px;
}
.about-heading { font-size: 32px; font-weight: 700; margin: 0 0 8px; color: var(--brand-dark); }
.about-tagline { color: var(--brand); font-weight: 500; margin: 0 0 20px; font-style: italic; }
.about-photo { position: relative; }
.about-photo img { width: 100%; }
.about-badge {
  position: absolute; left: 20px; bottom: -18px; background: var(--brand); color: #fff;
  padding: 12px 22px; border-radius: 30px; font-weight: 600; box-shadow: var(--shadow);
}
.about-badge i { color: var(--accent); margin-right: 6px; }

.about-motto {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; padding: 55px 0;
}
.about-motto i { color: var(--accent); font-size: 30px; }
.about-motto h3 { color: #fff; font-size: 34px; font-weight: 700; margin: 10px 0 6px; letter-spacing: 1px; text-transform: uppercase; }
.about-motto p { color: #cbd5e1; text-align: center; margin: 0; }

.about-sub { font-size: 26px; font-weight: 600; margin: 0 0 16px; position: relative; padding-bottom: 12px; }
.about-sub:after { content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; background: var(--accent); border-radius: 3px; }
.about-center-head { max-width: 720px; margin: 0 auto 35px; }
.about-center-head .about-sub:after { left: 50%; margin-left: -30px; }
.about-center-head p { text-align: center; color: var(--muted); }

.about-card, .about-commit {
  background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 36px 40px 28px;
  border-left: 6px solid var(--accent); position: relative;
}
.about-icon {
  width: 60px; height: 60px; line-height: 60px; text-align: center; border-radius: 50%;
  background: var(--brand); color: var(--accent); font-size: 26px; margin-bottom: 16px;
}

.about-grid { display: flex; flex-wrap: wrap; }
.about-grid > div { display: flex; margin-bottom: 24px; }
.about-feature {
  background: #fff; border-radius: 16px; padding: 30px 26px; width: 100%; text-align: center;
  box-shadow: var(--shadow); border-bottom: 4px solid var(--accent); transition: transform .3s, box-shadow .3s;
}
.about-feature:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(20,39,94,.2); }
.about-feature i {
  width: 70px; height: 70px; line-height: 70px; border-radius: 50%; font-size: 28px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: var(--accent); margin-bottom: 16px;
}
.about-feature h4 { font-size: 18px; font-weight: 600; margin: 0 0 10px; }
.about-feature p { text-align: center; color: var(--muted); margin: 0; font-size: 14px; }

.about-sign { margin-top: 24px; padding-top: 18px; border-top: 1px dashed #d1d5db; }
.about-sign strong { display: block; color: var(--brand); font-size: 18px; }
.about-sign span { color: #b78400; font-style: italic; font-weight: 600; }

.about-trust {
  background: linear-gradient(135deg, #0b2a5b, var(--brand)); border-radius: 18px; padding: 40px 44px;
  box-shadow: var(--shadow);
}
.about-trust h3 { color: var(--accent); font-size: 22px; font-weight: 600; margin-top: 0; }
.about-trust p { color: #e2e8f0; margin-bottom: 0; }

@media (max-width: 767px) {
  .about-heading { font-size: 24px; }
  .about-motto h3 { font-size: 24px; }
  .about-card, .about-commit, .about-trust { padding: 24px 20px; }
  .about-photo { margin-top: 30px; }
}

/* ---- Trust mentions (home strip + footer line) ---- */
.trust-strip {
  background: linear-gradient(135deg, #fff8e1, #fff3c4); padding: 45px 0; margin-top: 60px;
  border-top: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
}
.trust-strip > .container > i.fa-university {
  width: 64px; height: 64px; line-height: 64px; border-radius: 50%; background: var(--brand);
  color: var(--accent); font-size: 28px; margin-bottom: 14px;
}
.trust-strip h3 { font-size: 24px; font-weight: 600; margin: 0 0 10px; }
.trust-strip p { text-align: center; max-width: 760px; margin: 0 auto 14px; color: var(--text); }
.trust-link { color: var(--brand); font-weight: 600; }
.trust-link:hover { color: #b78400; }
.footer-trust { color: var(--accent); font-weight: 500; font-style: italic; }

/* ---- Fix: dropdown items invisible until hovered ---- */
.menu_bg .navbar-nav .dropdown-menu,
.menu_bg .navbar-nav > li:hover > .dropdown-menu { background: #fff !important; }
.menu_bg .navbar-nav .dropdown-menu > li { background: #fff !important; }
.menu_bg .navbar-nav .dropdown-menu > li > a,
.menu_bg .navbar-nav .dropdown-menu > li > a:focus {
  color: #1f2937 !important; background: #fff !important; text-transform: none; border-bottom: 0;
  font-weight: 500; letter-spacing: 0; white-space: nowrap;
}
.menu_bg .navbar-nav .dropdown-menu > li > a:hover {
  color: var(--brand) !important; background: var(--bg-soft) !important;
}

.about-managed {
  display: inline-block; background: #fff8e1; border-left: 4px solid var(--accent); color: var(--brand-dark);
  font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 0 8px 8px 0; margin: 0 0 22px;
}
.about-managed i { color: var(--brand); margin-right: 6px; }

/* ---- Compact centered header with logo + school name ---- */
.new-version.tb-pad-20 { padding: 10px 0 !important; }
.new-version.tb-pad-20 .col-md-3 { display: none; }
.new-version.tb-pad-20 .col-md-6 { width: 100%; text-align: center; }
.new-version.tb-pad-20 .navbar-header { float: none !important; margin: 0 !important; width: 100%; text-align: center; }
.new-version.tb-pad-20 .navbar-brand {
  float: none !important; display: inline-flex !important; align-items: center; gap: 16px;
  height: auto !important; padding: 0 !important; margin: 0 !important;
}
.new-version.tb-pad-20 .navbar-brand img {
  height: 85px !important; width: auto !important; max-width: none; margin: 0 !important; float: none !important;
}
.brand-text { text-align: left; line-height: 1.25; }
.brand-text b { display: block; font-family: 'Poppins', sans-serif; font-size: 26px; color: var(--brand-dark); font-weight: 700; }
.brand-text small { display: block; font-size: 13px; color: var(--muted); }
.new-version.tb-pad-20 .navbar-toggle { display: none; }

/* ---- Trust line below slider ---- */
.slider-trust {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand)); color: #fff; text-align: center;
  padding: 14px 15px; font-weight: 600; font-size: 16px; letter-spacing: .4px; border-bottom: 3px solid var(--accent);
}
.slider-trust i { color: var(--accent); margin-right: 8px; }

@media (max-width: 767px) {
  .new-version.tb-pad-20 .navbar-brand img { height: 55px !important; }
  .brand-text b { font-size: 16px; }
  .brand-text small { font-size: 11px; }
  .slider-trust { font-size: 13px; }
}

/* ---- Fix: sticky (scrolled) menu was white with white text ---- */
.sticky-wrapper.is-sticky #sticker,
.sticky-wrapper.is-sticky #sticker .navbar,
.is-sticky .navbar {
  background: var(--brand) !important; background-color: var(--brand) !important;
}
.sticky-wrapper.is-sticky #sticker {
  left: 0; right: 0; width: 100% !important; max-width: 100%; box-shadow: 0 4px 16px rgba(20,39,94,.35); z-index: 999;
}
.sticky-wrapper.is-sticky #sticker .navbar-nav { float: none; text-align: center; }
.sticky-wrapper.is-sticky #sticker .navbar-nav > li { float: none; display: inline-block; }
.sticky-wrapper.is-sticky .menu_bg .navbar-nav > li > a,
.is-sticky .navbar .navbar-nav > li > a { color: #fff !important; background: transparent !important; }
.sticky-wrapper.is-sticky .menu_bg .navbar-nav > li > a:hover,
.sticky-wrapper.is-sticky .menu_bg .navbar-nav > li > a.active,
.sticky-wrapper.is-sticky .menu_bg .navbar-nav > li:hover > a { color: var(--accent) !important; }

/* ---- Fix: mobile menu white-on-white before scrolling ---- */
@media (max-width: 767px) {
  .menu_bg, .menu_bg .navbar, .menu_bg .navbar-header,
  .menu_bg .navbar-collapse, .menu_bg .navbar-collapse.in, .menu_bg .navbar-nav {
    background: var(--brand) !important; background-color: var(--brand) !important;
  }
  .menu_bg .navbar-collapse { border-top: 1px solid rgba(255,255,255,.15) !important; box-shadow: none; max-height: 70vh; overflow-y: auto; }
  .menu_bg .navbar-nav { margin: 0 !important; float: none; text-align: left; }
  .menu_bg .navbar-nav > li { float: none; display: block; border-bottom: 1px solid rgba(255,255,255,.1); }
  .menu_bg .navbar-nav > li > a { color: #fff !important; background: transparent !important; padding: 13px 18px; border-bottom: 0; }
  .menu_bg .navbar-toggle { display: block; margin: 8px 10px; float: right; }
  .menu_bg .navbar-toggle .icon-bar { background: var(--accent) !important; }
  /* dropdowns inside the mobile menu: darker navy so text is readable */
  .menu_bg .navbar-nav .dropdown-menu,
  .menu_bg .navbar-nav .dropdown-menu > li,
  .menu_bg .navbar-nav .dropdown-menu > li > a {
    background: #14275e !important; color: #fff !important; box-shadow: none; border-radius: 0; border-top: 0; min-width: 0;
  }
  .menu_bg .navbar-nav .dropdown-menu > li > a { white-space: normal; padding: 10px 18px 10px 32px; }
  .menu_bg .navbar-nav .dropdown-menu > li > a:hover { background: #0d1a40 !important; color: var(--accent) !important; padding-left: 36px; }
  /* sticky state keeps same navy and full width */
  .sticky-wrapper.is-sticky #sticker .navbar-nav { text-align: left; }
  .sticky-wrapper.is-sticky #sticker .navbar-nav > li { display: block; }
}

/* =====================================================
   Birthday cards (beautified, smaller photos)
   ===================================================== */
#birthdaySection { background: linear-gradient(180deg, #fff, #fff8e1) !important; }
#birthdaySection .section-title { text-align: center; }
#birthdaySection h3.title { text-align: center !important; float: none !important; font-size: 28px; }
#birthdaySection h3.title:before { content: "\1F382  "; }
#birthdaySection h3.title:after { left: 50%; margin-left: -30px; }

#happybirthday .item { padding: 10px 12px; }
#happybirthday .birthday-card {
  position: relative; max-width: 240px; margin: 0 auto !important; padding: 0 16px 20px !important;
  background: #fff !important; border-radius: 18px; text-align: center; overflow: hidden;
  box-shadow: 0 8px 26px rgba(20,39,94,.15); transition: transform .3s ease, box-shadow .3s ease;
}
#happybirthday .birthday-card:before {
  content: ""; display: block; height: 70px; margin: 0 -16px;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}
#happybirthday .birthday-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(20,39,94,.25); }
#happybirthday .birthday-card a { display: inline-block; margin-top: -55px; position: relative; }
#happybirthday .birthday-card img,
#happybirthday .birthday-card img.img-thumbnail {
  width: 110px !important; height: 110px !important; max-width: 110px; object-fit: cover; object-position: top;
  border-radius: 50% !important; border: 4px solid #fff !important; padding: 0 !important;
  box-shadow: 0 0 0 3px var(--accent), 0 6px 16px rgba(0,0,0,.25); background: #fff;
}
#happybirthday .birthday-card h5 {
  margin: 14px 0 4px; font-size: 16px; font-weight: 600; color: var(--brand-dark) !important; text-transform: capitalize;
}
#happybirthday .birthday-card h5:after {
  content: "\1F389  Happy Birthday!"; display: block; margin-top: 6px; font-size: 12px; font-weight: 500;
  color: #b78400; letter-spacing: .4px;
}
