@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display+SC:ital,wght@0,400..900;1,300..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f5f7fa;
  line-height: 1.6;
  overflow-x: hidden;
}

.navbar-brand {
  font-family: "Playfair Display SC", serif;
  font-size: 17px;
  font-weight: bold;
  padding-right: 20px;
}

.navbar-toggler {
  background: white;
  transform: translateY(-2px);
}

.img-d {
  padding-right: 1.2rem;
}

.logo1 {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: contain;
}

.navbar {
  background: linear-gradient(45deg, #1E6FB8, rgb(224, 34, 34));
}

.offcanvas-body .navbar-nav .nav-link {
  font-size: 14px;
}

.offcanvas-body {
  gap: 0.5rem;
}

.fa-brands {
  color: white;
}

.navbar .nav-link {
  font-size: 18px;
  font-weight: bold;
  color: white;
}

.offcanvas-body .navbar-nav .nav-link.active {
  color: #0cf0be;
  font-weight: bold;
}

.offcanvas-body .navbar-nav .nav-link:hover {
  color: #0cf0be;
  transform: scale(1.3);
  transition: 0.3s ease;
}

.Socials {
  display: flex;
  gap: 0.5rem;
  font-size: 14px;
  transform: translateY(10px);
}

.Socials:hover {
  transform: scale(1.3);
  transition: 0.3s ease;
}

/* Final navbar alignment override */
@media (min-width: 992px) {
  .navbar {
    padding: 8px 0;
  }

  .navbar > .container {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    max-width: 1320px;
  }

  .navbar-top-row {
    justify-content: flex-start;
    width: auto;
    flex: 0 0 auto;
  }

  .navbar .offcanvas {
    flex: 1 1 auto;
    width: auto;
  }

  .navbar .offcanvas > .offcanvas-body {
    justify-content: flex-end;
    padding: 0;
    width: 100%;
  }

  .navbar .main-navbar-links {
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: auto;
    margin-left: 0;
    padding-top: 0;
  }

  .navbar .main-navbar-links .nav-link {
    padding: 8px 9px;
    white-space: nowrap;
  }
}

.navbar .offcanvas > .offcanvas-body {
  display: flex;
  align-items: center;
  width: 100%;
}

.navbar .offcanvas > .offcanvas-body > .offcanvas-body {
  flex: 0 0 auto;
  padding: 0;
}

.navbar .Socials {
  align-items: center;
  margin-left: auto;
  order: 3;
  transform: none;
}

@media (max-width: 991px) {
  .navbar .offcanvas > .offcanvas-body {
    align-items: flex-start;
    flex-direction: column;
  }

  .navbar .offcanvas > .offcanvas-body > .offcanvas-body {
    width: 100%;
  }

  .navbar .Socials {
    margin-left: 0;
    order: 2;
  }
}

.social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social a {
  color: #ffffff;
  font-size: 18px;
}

.about-hero {
  margin-top: 116px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(7, 22, 42, 0.95), rgba(224, 34, 34, 0.3)),
    url("images/WhatsApp Image 2026-05-05 at 11.44.20 AM.jpeg") center/cover;
  position: relative;
}

.about-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.head1 { 
  font-family: "Archivo Black", sans-serif;
  font-weight: bold;
  font-size: 4rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  animation: glow 2s ease-in-out infinite alternate;
  margin-bottom: 20px;
}

.holy {
  font-family: "Cinzel Decorative", serif;
  font-size: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.secondary-section {
  padding: 80px 20px 120px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.secondary-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #1E6FB8, #E02222, transparent);
  z-index: 10;
}

.secondary-section h1 {
  font-size: 42px;
  margin-bottom: 25px;
  background: linear-gradient(45deg, #1E6FB8, #E02222);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  position: relative;
}

.intro {
  font-size: 18px;
  color: #555;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}

.activities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(30, 111, 184, 0.2);
  position: relative;
  opacity: 0;
  transform: translateY(50px);
}

.card.animate {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease forwards;
}

.card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 50px rgba(30, 111, 184, 0.3);
  border-color: #1E6FB8;
}

.card h3 {
  margin-bottom: 15px;
  color: #1E6FB8;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.card .card-icon {
  font-size: 2.8rem;
  background: linear-gradient(45deg, #1E6FB8, #0cf0be, #E02222);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  flex-shrink: 0;
}

.card p {
  color: #444;
  font-size: 16px;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  margin: 40px auto 20px;
  padding: 18px 45px;
  background: linear-gradient(45deg, #1E6FB8, #E02222);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 12px 25px rgba(30, 111, 184, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(30, 111, 184, 0.5);
  color: white;
}

/* FOOTER BACKGROUND (Augustine optimized) */
.fort {
  background: linear-gradient(45deg, rgb(140, 0, 255), #0da6ff);
  background-attachment: fixed;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* PREVENT COLUMN STRETCHING */
.fort .row {
  align-items: flex-start;
}

/* COLUMN TEXT */
.fort .col {
  font-weight: 500;
  font-size: 15px;
  color: white;
}

/* HEADINGS */
.fort h3 {
  color: white;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

/* PARAGRAPH */
.parAbout {
  font-size: 20px;
  line-height: 1.6;
  max-width: 250px;
  margin-bottom: 8px;
  color: white;
}

/* LIST STYLE (SCOPED TO FOOTER ONLY) */
.fort ul {
  margin: 0;
  padding: 0;
}

.fort ul li {
  list-style: none;
  color: white;
  margin-bottom: 6px;
  transition: 0.3s;
}

/* LINK STYLE */
.opts a {
  color: white;
  text-decoration: none;
}

/* LINK HOVER */
.opts ul li:hover {
  text-decoration: underline;
  transform: translateX(5px);
}

/* SMALL ICONS */
.fa-arrow-right {
  font-size: 14px;
  margin-right: 5px;
}

/* SOCIAL CONTAINER */
.social {
  display: flex;
  gap: 12px;
  padding-left: 10px;
}

/* SOCIAL ICONS */
.social i {
  font-size: 22px;
  transition: 0.3s ease;
  display: inline-block;
}

/* HOVER EFFECT */
.social i:hover {
  transform: scale(1.2);
}

/* INDIVIDUAL COLORS */
.fa-x-twitter:hover {
  color: #000;
}

.fa-facebook:hover {
  color: #1877f2;
}

.fa-instagram:hover {
  background: linear-gradient(
    45deg,
    #f58529,
    #dd2a7b,
    #8134af,
    #515bd4
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fa-youtube:hover {
  color: #ff0000;
}

.fa-tiktok:hover {
  color: #25f4ee;
}

/* ACTIVE CLICK EFFECT */
.social i:active {
  color: rgb(53, 245, 28);
}

.fa-square-phone{
  font-size: 28px;
}

/* DIVIDER LINE */
.footerhr {
  border: none;
  height: 1px;
  background: white;
  margin: 20px 0;
}

/* COPYRIGHT */
.copyright {
  text-align: center;
  color: white;
  font-size: 14px;
  font-weight: 500;
}

/* COPYRIGHT ICONS */
.fa-heart {
  color: red;
  font-size: 14px;
}

.fa-circle {
  font-size: 10px;
}

.fa-circle-dot{
  font-size: 7px;
}

.icon-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: orange;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.fa-link {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgb(0, 140, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.fa-briefcase {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgb(223, 37, 213);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.fa-globe {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgb(37, 223, 121);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.phone {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: rgb(140, 0, 255);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.style-phone {
  display: flex;
  gap: 0.5rem;
}

.fort .row {
  align-items: flex-start;
}

.fort .col {
  font-weight: 500;
  font-size: 15px;
  color: white;
}

.fort h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

.parAbout {
  font-size: 16px;
  line-height: 1.6;
  color: white;
}

.fort ul {
  margin: 0;
  padding: 0;
}

.fort ul li {
  list-style: none;
  color: white;
  margin-bottom: 8px;
  transition: 0.3s;
}

.opts a {
  color: white;
  text-decoration: none;
}

.opts ul li:hover {
  text-decoration: underline;
  transform: translateX(5px);
}

.fa-arrow-right {
  font-size: 14px;
  margin-right: 5px;
}

.social {
  display: flex;
  gap: 12px;
  padding-left: 10px;
}

.social i {
  font-size: 22px;
  transition: 0.3s ease;
  display: inline-block;
}

.social i:hover {
  transform: scale(1.2);
}

.fa-x-twitter:hover { color: #000; }
.fa-facebook:hover { color: #1877f2; }
.fa-instagram:hover { 
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fa-youtube:hover { color: #ff0000; }
.fa-tiktok:hover { color: #25f4ee; }

.footerhr {
  border: none;
  height: 1px;
  background: white;
  margin: 30px 0;
}

.copyright {
  text-align: center;
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.copyright .fa-heart { color: red; font-size: 14px; }
.copyright .fa-circle { font-size: 10px; }

.icon-circle, .fa-link, .fa-briefcase, .fa-globe, .phone {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  flex-shrink: 0;
}

.fa-link { background-color: rgb(0, 140, 255); }
.fa-briefcase { background-color: rgb(223, 37, 213); }
.fa-globe { background-color: rgb(37, 223, 121); }
.phone { background-color: rgb(255, 255, 255); color: rgb(140, 0, 255); }

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0% { 
    text-shadow: 0 0 20px #1E6FB8, 0 0 30px #1E6FB8, 0 0 40px #1E6FB8;
  }
  100% { 
    text-shadow: 0 0 20px #E02222, 0 0 30px #E02222, 0 0 40px #E02222;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .activities {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .head1 { 
    font-size: 2.8rem !important;
  }
  .holy { 
    font-size: 1.3rem !important;
  }
  .secondary-section h1 {
    font-size: 32px;
  }
  .secondary-section { 
    padding: 60px 15px; 
  }
  .activities { 
    gap: 20px;
  }
  .card { 
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .head1 { 
    font-size: 2.2rem !important;
  }
  .activities {
    grid-template-columns: 1fr;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #1E6FB8, #E02222);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #E02222, #1E6FB8);
}

/* Staggered animations */
.card:nth-child(1) { transition-delay: 0.1s; }
.card:nth-child(2) { transition-delay: 0.2s; }
.card:nth-child(3) { transition-delay: 0.3s; }

/* Footer copied from index.html styling */
.fort {
  background: linear-gradient(45deg, rgb(140, 0, 255), #0da6ff);
  background-attachment: fixed;
  padding-top: 20px;
  padding-bottom: 20px;
}

.fort .container {
  text-align: left;
}

.fort .row {
  align-items: flex-start;
}

.fort .col {
  font-weight: 500;
  font-size: 15px;
  color: white;
}

.fort h3 {
  color: white;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.parAbout {
  font-size: 20px;
  line-height: 1.6;
  max-width: 250px;
  margin-bottom: 8px;
  color: white;
}

.fort ul {
  margin: 0;
  padding: 0;
}

.fort ul li {
  list-style: none;
  color: white;
  margin-bottom: 6px;
  transition: 0.3s;
}

.opts a {
  color: white;
  text-decoration: none;
}

.opts ul li:hover {
  text-decoration: underline;
  transform: translateX(5px);
}

.fa-arrow-right {
  font-size: 14px;
  margin-right: 5px;
}

.social {
  display: flex;
  gap: 12px;
  padding-left: 10px;
}

.social i {
  font-size: 22px;
  transition: 0.3s ease;
  display: inline-block;
}

.social i:hover {
  transform: scale(1.2);
}

.social i:active {
  color: rgb(53, 245, 28);
}

.fa-x-twitter:hover { color: #000; }
.fa-facebook:hover { color: #1877f2; }
.fa-instagram:hover {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fa-youtube:hover { color: #ff0000; }
.fa-tiktok:hover { color: #25f4ee; }

.footerhr {
  border: none;
  height: 1px;
  background: white;
  margin: 20px 0;
}

.copyright {
  text-align: center;
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.fa-heart {
  color: red;
  font-size: 14px;
}

.fa-circle {
  font-size: 10px;
}

.icon-circle,
.fa-link,
.fa-briefcase,
.fa-globe,
.phone {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.icon-circle { background-color: orange; }
.fa-link { background-color: rgb(0, 140, 255); }
.fa-briefcase { background-color: rgb(223, 37, 213); }
.fa-globe { background-color: rgb(37, 223, 121); }
.phone { background-color: rgb(255, 255, 255); }
/* Shared two-row navbar */
.navbar {
    padding: 6px 0 10px;
    background: linear-gradient(45deg, #1E6FB8, rgb(224, 34, 34));
}

.navbar > .container {
    flex-direction: column;
    align-items: stretch;
}

.navbar-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
}

.navbar .offcanvas > .offcanvas-body {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 6px 0 0;
}

.navbar .main-navbar-links {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    width: 100%;
    padding-top: 7px;
}

.navbar .main-navbar-links .nav-link {
    padding: 7px 10px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.navbar .Socials {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-left: auto;
    font-size: 20px;
    transform: none;
    white-space: nowrap;
}

.navbar .Socials:hover {
    transform: none;
}

.navbar .Socials a {
    color: #ffffff;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.navbar .Socials a:hover {
    transform: translateY(-2px) scale(1.12);
}

@media (min-width: 992px) {
    .navbar .offcanvas {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .navbar {
        padding: 6px 0;
    }

    .navbar > .container {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .navbar-top-row {
        gap: 10px;
        flex-wrap: nowrap;
    }

    .navbar-top-row .navbar-toggler {
        margin-left: 8px !important;
        order: 4;
        flex: 0 0 auto;
    }

    .navbar .Socials {
        gap: 9px;
        font-size: 18px;
        margin-left: auto;
        order: 3;
    }

    .navbar .offcanvas > .offcanvas-body {
        align-items: flex-start;
        justify-content: flex-start;
        padding: 16px;
    }

    .navbar .main-navbar-links {
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
        padding-top: 0;
    }

    .navbar .main-navbar-links .nav-link {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        font-size: 13px;
    }

    .navbar .logo1 {
        width: 64px;
        height: 64px;
    }

    .navbar .Socials {
        width: auto;
        justify-content: flex-end;
        font-size: 16px;
    }

    .navbar .main-navbar-links .nav-link {
        font-size: 14px;
    }
}
/* White mobile navbar toggler */
.navbar .navbar-toggler {
    border-color: rgba(255,255,255,0.65);`r`n    background: #ffffff;
}

.navbar .navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 1.5em;
    height: 1.5em;
}

.navbar .navbar-toggler-icon::before {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    top: 4px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 6px 0 #ffffff, 0 12px 0 #ffffff;
}

/* Mobile navbar toggler layout fix */
@media (max-width: 991px) {
    .navbar-top-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 10px;
    }

    .navbar-top-row > .d-flex {
        min-width: 0;
    }

    .navbar-top-row .navbar-toggler {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        margin-left: 0 !important;
        order: 2;
        flex: 0 0 auto;
    }

    .navbar .Socials {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-end;
        gap: 12px;
        width: 100%;
        margin-left: 0;
        font-size: 18px;
        order: 3;
    }
}

@media (max-width: 480px) {
    .navbar .Socials {
        width: 100%;
        justify-content: flex-end;
        font-size: 16px;
    }
}
/* Social icons inside mobile toggler menu */
.navbar .mobile-menu-socials {
    display: none;
}

@media (max-width: 991px) {
    .navbar-top-row > .Socials {
        display: none;
    }

    .navbar .mobile-menu-socials {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-top: 18px;
        padding-top: 16px;
        border-top: 1px solid rgba(255,255,255,0.18);
    }

    .navbar .mobile-menu-socials a {
        color: #ffffff;
        font-size: 20px;
        line-height: 1;
        text-decoration: none;
    }
}

@media (max-width: 480px) {
    .navbar .mobile-menu-socials a {
        font-size: 19px;
    }
}
/* Visible hamburger lines on white toggler */
@media (max-width: 991px) {
    .navbar .navbar-toggler-icon::before {
        background: #1E6FB8;
        box-shadow: 0 6px 0 #1E6FB8, 0 12px 0 #1E6FB8;
    }
}
/* Transparent blurred mobile offcanvas */
@media (max-width: 991px) {
    .navbar .offcanvas {
        background: rgba(9, 18, 36, 0.62) !important;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-right: 1px solid rgba(255,255,255,0.18);
        box-shadow: 18px 0 45px rgba(0,0,0,0.28);
    }

    .offcanvas-backdrop.show {
        opacity: 0.25;
    }
}
/* Final sync with index.html navbar */
.navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.65);
  background: #ffffff;
}

.navbar .navbar-toggler-icon {
  background-image: none;
  position: relative;
  width: 1.5em;
  height: 1.5em;
}

.navbar .navbar-toggler-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 4px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 6px 0 #ffffff, 0 12px 0 #ffffff;
}

.navbar {
  padding: 6px 0 10px;
  background: linear-gradient(45deg, #1E6FB8, rgb(224, 34, 34));
}

.navbar > .container {
  flex-direction: column;
  align-items: stretch;
}

.navbar-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
}

.navbar .offcanvas > .offcanvas-body {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 6px 0 0;
}

.navbar .main-navbar-links {
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  width: 100%;
  padding-top: 7px;
}

.navbar .main-navbar-links .nav-link {
  padding: 7px 10px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.navbar .Socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
  font-size: 20px;
  transform: none;
  white-space: nowrap;
}

.navbar .Socials:hover {
  transform: none;
}

.navbar .Socials a {
  color: #ffffff;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.navbar .Socials a:hover {
  transform: translateY(-2px) scale(1.12);
}

.navbar .mobile-menu-socials {
  display: none;
}

@media (min-width: 992px) {
  .navbar .offcanvas {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .navbar .offcanvas {
    background: rgba(9, 18, 36, 0.62) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: 1px solid rgba(255,255,255,0.18);
    box-shadow: 18px 0 45px rgba(0,0,0,0.28);
  }

  .offcanvas-backdrop.show {
    opacity: 0.25;
  }

  .navbar {
    padding: 6px 0;
  }

  .navbar > .container {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .navbar-top-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
  }

  .navbar-top-row > .d-flex {
    min-width: 0;
  }

  .navbar-top-row .navbar-toggler {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-left: 0 !important;
    order: 2;
    flex: 0 0 auto;
  }

  .navbar-top-row > .Socials {
    display: none;
  }

  .navbar .mobile-menu-socials {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.18);
  }

  .navbar .mobile-menu-socials a {
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
  }

  .navbar .offcanvas > .offcanvas-body {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 16px;
  }

  .navbar .main-navbar-links {
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding-top: 0;
    border-top: 0;
  }

  .navbar .main-navbar-links .nav-link {
    font-size: 15px;
  }

  .navbar .navbar-toggler-icon::before {
    background: #1E6FB8;
    box-shadow: 0 6px 0 #1E6FB8, 0 12px 0 #1E6FB8;
  }
}

@media (max-width: 480px) {
  .navbar-brand {
    font-size: 13px;
  }

  .navbar .logo1 {
    width: 64px;
    height: 64px;
  }

  .navbar .mobile-menu-socials a {
    font-size: 19px;
  }

  .navbar .main-navbar-links .nav-link {
    font-size: 14px;
  }
}

/* Fix desktop dropdown behavior to match index.html */
.program-item,
.group-item {
  position: relative;
}

.program-dropdown,
.group-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  min-width: 210px;
  padding: 10px 0;
  margin: 0;
  list-style: none;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.16);
}

.program-dropdown li,
.group-dropdown li {
  list-style: none;
}

.program-dropdown li a,
.group-dropdown li a {
  display: block;
  padding: 10px 15px;
  color: #111827;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.program-dropdown li a:hover,
.group-dropdown li a:hover {
  background: #f2f6fb;
}

@media (min-width: 992px) {
  .program-item:hover .program-dropdown,
  .group-item:hover .group-dropdown {
    display: block;
  }
}

@media (max-width: 991px) {
  .program-dropdown,
  .group-dropdown {
    display: block;
    position: static;
    min-width: 0;
    padding: 4px 0 4px 16px;
    background: transparent;
    box-shadow: none;
  }

  .program-dropdown li a,
  .group-dropdown li a {
    color: #ffffff;
    padding: 8px 0;
  }
}

/* Final social icon sync with index.html */
.navbar-top-row > .Socials {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  margin-left: auto !important;
  font-size: 20px !important;
  transform: none !important;
  white-space: nowrap !important;
}

.navbar-top-row > .Socials:hover {
  transform: none !important;
}

.navbar-top-row > .Socials a {
  color: #ffffff !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.navbar-top-row > .Socials a:hover {
  transform: translateY(-2px) scale(1.12) !important;
}

.navbar .mobile-menu-socials {
  display: none !important;
}

@media (max-width: 991px) {
  .navbar-top-row > .Socials {
    display: none !important;
  }

  .navbar .mobile-menu-socials {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-top: 18px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255,255,255,0.18) !important;
  }

  .navbar .mobile-menu-socials a {
    color: #ffffff !important;
    font-size: 20px !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }
}

@media (max-width: 480px) {
  .navbar .mobile-menu-socials a {
    font-size: 19px !important;
  }
}

/* Final navbar alignment override */
@media (min-width: 992px) {
  .navbar {
    padding: 8px 0;
  }

  .navbar > .container {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 22px;
  }

  .navbar-top-row {
    justify-content: flex-start;
    width: auto;
    flex: 0 0 auto;
  }

  .navbar .offcanvas {
    flex: 1 1 auto;
    width: auto;
  }

  .navbar .offcanvas > .offcanvas-body {
    justify-content: flex-end;
    padding: 0;
    width: 100%;
  }

  .navbar .main-navbar-links {
    justify-content: flex-end;
    flex-wrap: nowrap;
    width: auto;
    margin-left: auto;
    padding-top: 0;
  }

  .navbar .main-navbar-links .nav-link {
    padding: 8px 9px;
    white-space: nowrap;
  }
}
