@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cinzel:wght@400..900&family=Kalnia:wght@100..700&family=Playfair+Display+SC:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sigmar+One&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Parkinsans:wght@300..800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

.navbar-brand{
    font-family: "Playfair Display SC", serif;
    font-size: 17px;
    font-weight: bold;
    padding-right:20px;
}

.navbar-toggler{
  background: white;
  transform:translateY(-2px);
}

.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;
}

@media (max-width: 991px) {
  .navbar .navbar-toggler-icon::before {
    background: #1E6FB8;
    box-shadow: 0 6px 0 #1E6FB8, 0 12px 0 #1E6FB8;
  }
}


.description, .ment, .cont{
 font-family: "Kaushan Script", cursive;
 font-size: 35px;
}

.sub-nav {
    margin-top: 120px;
}

.img-d{
    padding-right: 1.2rem;
}

.logo1{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: contain;
    
}

.dropdown-item{
    color: rgb(255, 255, 255);

}

.carousel-item{
    height: 100%;
}

.navbar{
    background: linear-gradient(45deg, #1E6FB8 ,  rgb(224, 34, 34));
}
                                                                                    
.navbar-brand{
    font-family: "Playfair Display SC", serif;
    font-weight: bold;
    font-size: 17px;
    padding-right:20px;
}                                                                                                                          

.offcanvas-body{
    gap: 0.5rem;
    
}

.fa-brands{
    color: white;
}

.Socials:hover{
 transform: scale(1.3);
transition: 0.3s ease;
}

.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;
    }

 .offcanvas-body .navbar-nav .nav-link{
font-family: "Parkinsans", sans-serif;
font-size: 12px;
color: white;
font-weight:bold;
 }


.Socials:hover{
 transform: scale(1.3);
transition: 0.3s ease;
}

.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: 12px;
    transform:translateY(10px);
}

.Socials:hover{
 transform: scale(1.3);
transition: 0.3s ease;
}

.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;
    }

.small-text{
  background: linear-gradient(45deg, rgb(43, 15, 202), #f82a8a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
   font-size: 20px;
   font-weight: 550;
}

.carousel{
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.content{
    max-width: 500px;
    text-align: left;
    margin: auto;
  }
  
  .col-md-6.bg-light{
    display: flex;
    align-items: center;   
  }                                                                                     

.carousel .carousel-item img {
    height: 100%;
    object-fit: cover;
  }


.bishop-message-section {
  padding: 34px 0;
  background: #ffffff;
}

.structure {
  margin: 0 auto;
  max-width: 1320px;
  min-height: 520px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e7edf5;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

.structure-image {
  position: relative;
  height: 100%;
  min-height: 520px;
}

.structure img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
}

.archbishop-name {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  padding: 28px;
  background: linear-gradient(90deg, rgba(15, 25, 110, 0.96), rgba(7, 167, 74, 0.78));
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.structure-content {
  max-width: 560px;
  margin: auto;
  color: #020c1f;
}

.structure-content p {
  margin: 0 0 28px;
  font-size: 24px;
  line-height: 1.65;
  font-weight: 700;
}

.about-us-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 8px;
  background: linear-gradient(45deg, #b81e97, rgb(34, 211, 224));
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.about-us-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  transition: 0.2s ease;
}

@media (max-width: 768px) {
  .structure {
    min-height: auto;
  }

  .structure-image,
  .structure img {
    min-height: 360px;
    height: 360px;
  }

  .archbishop-name {
    width: 100%;
    top: auto;
    font-size: 18px;
    padding: 14px 18px;
  }

  .structure-content {
    padding: 24px !important;
  }

  .structure-content p {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .structure-image,
  .structure img {
    height: 260px;
    min-height: 260px;
  }

  .archbishop-name {
    font-size: 15px;
  }

  .structure-content p {
    font-size: 18px;
  }
}

.paraserif{
   font-family: "Source Serif 4", serif
   
}

.structure-content{
  color:#07165a;
}

.head3{
    background: linear-gradient(45deg, #e71453, lab(54.1% 7.49 -56.92));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.fa-book{
  color:#007bff;

}

.fa-book-reader{
  color:orange;
}

.fa-gamepad{
  color:red;
}

.fa-hands-helping{
  color:green;
}

.fa-comments{
  color:rgb(140, 0, 255);

}

.fa-clock{
    color: #ffffff;
}

.head3 {
  text-align: center;
  font-weight: bold;
  margin-top: 40px;
}

.event-card {
  transition: 0.3s ease;
}

.event-card:hover {
  transform: translateY(-8px);
  
}
/*code for the updates*/
.custom-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* HEADERS */
.header-blue {
  background: linear-gradient(45deg, #2c7be5, #00c6ff);
  color: white;
}

.header-purple {
  background: linear-gradient(45deg, #d63384, #6f42c1);
  color: white;
}

.header-green {
  background: linear-gradient(45deg, #28a745, #20c997);
  color: white;
}

/* ICON STYLE */
.icon-circle {
  background: rgba(255,255,255,0.2);
  padding: 10px;
  border-radius: 50%;
}

/* EMPTY STATE */
.empty-box {
  padding: 50px 0;
}

.big-icon {
  font-size: 50px;
  color: #ccc;
}

/* PUBLICATIONS */
.pub-item {
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.pub-item.active {
  border: 2px solid #28a745;
}

.pub-item a {
  float: right;
  font-size: 12px;
}

.view-all {
  color: #6f42c1;
  text-decoration: none;
  font-weight: bold;
}

.custom-card:hover {
    transform: translateY(-8px);
}

.custom-card{
    transition: 0.3s ease;
}

.gradient-text{
  background: linear-gradient(45deg, #3c1bcf, #ff0d0d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 35px;
  font-weight: bold;
  text-align: center;
  margin-top: 40px;
}

.Events{
  text-align: center;
  background: linear-gradient(45deg, #3c1bcf, #ff0d0d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 35px;
  font-weight: bold;
}

.ment{
  background: linear-gradient(45deg, blue, #ff0d0d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 25px;
  font-weight: bold;
}

  .cont{
   background: linear-gradient(45deg, rgb(140, 0, 255), #0da6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 25px;
  font-weight: bold;
}
          

.main-title{
 background: linear-gradient(45deg, rgb(140, 0, 255), #0da6ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

/* footer section code by the programmer Augustine (final optimized) */

/* FOOTER BACKGROUND */
.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;              /* circle size */
  height: 30px;
  border-radius: 50%;       /* makes it a circle */
  background-color: orange; /* your background color */
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
  font-size: 20px;          /* emoji size */
  color: white;             /* optional */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* optional glow */
}

.fa-link{
  width: 30px;              /* circle size */
  height: 30px;
  border-radius: 50%;       /* makes it a circle */
  background-color: rgb(0, 140, 255); /* your background color */
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
  font-size: 20px;          /* emoji size */
  color: white;             /* optional */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* optional glow */
}

.fa-briefcase{
  width: 30px;              /* circle size */
  height: 30px;
  border-radius: 50%;       /* makes it a circle */
  background-color: rgb(223, 37, 213); /* your background color */
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
  font-size: 20px;          /* emoji size */
  color: white;             /* optional */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* optional glow */
}

.fa-globe{
  width: 30px;              /* circle size */
  height: 30px;
  border-radius: 50%;       /* makes it a circle */
  background-color: rgb(37, 223, 121); /* your background color */
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
  font-size: 20px;          /* emoji size */
  color: white;             /* optional */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* optional glow */
}

.phone{
  width: 30px;              /* circle size */
  height: 30px;
  border-radius: 50%;       /* makes it a circle */
  background-color: rgb(255, 255, 255); /* your background color */
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
  font-size: 20px;          /* emoji size */
  color: white;             /* optional */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* optional glow */
}

.style-phone{
    display: flex;
    gap: 0.5rem;
}

.Bookshop-head1{
   font-family: "Kaushan Script", cursive;
  background: linear-gradient(90deg, rgb(32, 75, 202),  hsl(318, 89%, 50%), rgb(133, 12, 163));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 60px;
  font-weight: bold;
  text-align: center;
  margin-top: 35px;
}

body.bookshop-page {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
}

.bookshop-page-title {
  padding-top: 155px;
}

/* Bookshop Gallery Flex Section */
.bookshop-gallery-section {
  padding: 40px 0 55px;
  background: linear-gradient(180deg, #f8f9fa, #eef4fb);
}

.bookshop-flex-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  justify-content: center;
  align-items: stretch;
  padding: 20px 0;
}

.bookshop-image-item {
  width: 100%;
  min-height: 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(30, 111, 184, 0.08);
  contain: layout paint;
}

.bookshop-image-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.16);
}

.bookshop-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.Bookshop-logo{
    width: 100px;
    height: 100px;
    border-radius: 20%;
    object-fit: contain;
}


.bookshop-image-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
  backface-visibility: hidden;
}

.bookshop-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 24px);
  margin: 12px;
  padding: 11px 14px;
  border-radius: 8px;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bookshop-buy-btn:hover {
  background: #1ebe5d;
  color: #ffffff;
  transform: translateY(-1px);
}

.bookshop-image-item:hover img {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .bookshop-page-title {
    padding-top: 128px;
  }

  .Bookshop-head1 {
    font-size: 44px;
    margin-top: 20px;
  }

  .bookshop-gallery-section {
    padding: 22px 0 42px;
  }

  .bookshop-flex-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
    padding: 10px 0;
  }

  .bookshop-image-item {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.08);
    content-visibility: auto;
    contain-intrinsic-size: 180px 240px;
    transition: none;
  }

  .bookshop-image-item img {
    transition: none;
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 480px) {
  .bookshop-page-title {
    padding-top: 132px;
  }

  .Bookshop-head1 {
    font-size: 36px;
  }

  .bookshop-image-item {
    width: 100%;
  }

  .bookshop-buy-btn {
    width: calc(100% - 18px);
    margin: 9px;
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .bookshop-flex-container {
    gap: 12px;
  }
}

@media (hover: none) {
  .bookshop-image-item,
  .bookshop-image-item:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.08);
  }

  .bookshop-image-item img,
  .bookshop-image-item:hover img {
    transform: none;
  }
}


.head2{
    font-weight: 900;
    background: linear-gradient(45deg, rgb(37, 34, 224), #f82a8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
     text-align: center;
     margin-top: 20px;
}



/*style for the section part*/
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* HERO SECTION */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, #3a7bd5, #1e3c72);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* GRID OVERLAY */
.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* CONTAINER */
.hero-container {
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

/* LEFT SIDE */
.hero-left {
  width: 50%;
}

.badge {
  display: inline-block;
  background: orange;
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 15px;
  
}

.badge:hover {
  transform: scale(1.05);
  transition: 0.3s;
}

.hero-left h1 {
  font-size: 60px;
  line-height: 1.2;
}

.hero-left h1 span {
  color: orange;
}

.hero-left p {
  margin: 20px 0;
  font-size: 18px;
  line-height: 1.6;
}

/* BUTTONS */
.buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 14px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.primary {
  background: orange;
  color: white;

}

.primary:hover {
  transform: scale(1.05);
  transition: transform 0.3s;
}

.outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: white;
}

.outline:hover {
  background: rgba(255,255,255,0.1);
}

/* RIGHT SIDE */
.hero-right {
  width: 40%;
  height: 400px;
  position: relative;
}

/* ORBIT */
.orbit {
  width: 280px;
  height: 280px;
  border: 2px dashed rgba(255,255,255,0.3);
  border-radius: 50%;
  position: relative;
  animation: rotate 20s linear infinite;
  margin: auto;
}

/* CENTER STAR */
.center-star {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 60px;
  transform: translate(-50%, -50%);
}

/* FLOATING ICONS */
.float {
  position: absolute;
  font-size: 26px;
  animation: float 4s ease-in-out infinite;
}

.icon1 { top: 0; left: 40%; }
.icon2 { top: 40%; left: -20px; }
.icon3 { bottom: 20%; right: -20px; }
.icon4 { top: -10px; right: 20%; }

/* SCROLL TEXT */
.scroll {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.8;
  animation: bounce 1.5s infinite;
}

/* ANIMATIONS */
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
/*ends here*/
/* ================================
   ISOLATED SUB NAV (NO BOOTSTRAP CONFLICT)
   ONLY affects .sub-nav area
================================ */
/* ================================
   SUB NAV (MATCH MODERN STYLE LIKE REFERENCE)
   ONLY affects .sub-nav
   DOES NOT touch main navbar
================================ */

.sub-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  /* horizontal scroll like modern sites */
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}

.sub-nav::-webkit-scrollbar {
  display: none; /* Chrome */
}

/* NAV ITEM (pill style like reference site) */
.sub-nav .nav-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  background: #f5f5f5;
  transition: all 0.25s ease;
  min-height: 42px;
}

.sub-nav .nav-item:not([href="index.html"]) {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.65;
  color:#090330;
}

/* HOVER EFFECT (clean modern style) */
.sub-nav .nav-item:hover {
  background: #e9e9e9;
  transform: translateY(-1px);
}

/* ACTIVE STATE (like your reference site highlight) */
.sub-nav .nav-item.active {
  background: #10b361;
  color: #fff;
  box-shadow: 0 4px 10px rgba(16, 179, 97, 0.25);
  font-weight:bold;
}

.sub-nav .nav-item.active i {
  color: #fff;
}

/* ICON spacing consistency */
.sub-nav .nav-item i {
  font-size: 14px;
}

/* MOBILE OPTIMIZATION (ONLY sub-nav) */
@media (max-width: 768px) {
  .sub-nav {
    padding: 10px 12px;
    gap: 10px;
  }

  .sub-nav .nav-item {
    font-size: 14px;
    padding: 9px 14px;
  }
}

@media (max-width: 480px) {
  .sub-nav {
    gap: 8px;
    padding: 8px 10px;
  }

  .sub-nav .nav-item {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/*Publication page styles*/
.pub-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

/* CARD STYLE LIKE MODERN PORTAL */
.pub-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: 0.25s ease;
}

.pub-card:hover {
  transform: translateY(-3px);
}

/* TITLE */
.pub-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

/* DESCRIPTION */
.pub-desc {
  font-size: 14px;
  color: #555;
}

/* META */
.pub-meta {
  margin-top: 8px;
  font-size: 12px;
  color: #888;
}

/* SEARCH */
#searchInput {
  max-width: 500px;
}
.pub-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* EACH PUBLICATION ROW (IMPORTANT STYLE) */
.pub-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 16px 18px;
  border-radius: 10px;
  border-left: 4px solid #10b361;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: 0.2s ease;
}

.pub-row:hover {
  transform: translateY(-2px);
}

.pub-main h5 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.pub-main p {
  margin: 3px 0;
  font-size: 14px;
  color: #555;
}

.pub-main small {
  color: #888;
  font-size: 12px;
}

/* ACTION BUTTON AREA */
.pub-action {
  margin-left: 15px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .pub-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .pub-action {
    margin-left: 0;
  }
}


.head1 {
  text-align: center;
  background: linear-gradient(45deg, red, #2c7be5, hsl(125, 89%, 52%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 150px;
  font-size: 40px;
  font-weight: bold;
}

.par1, .par2 {
  text-align: center;
  background: linear-gradient(45deg, red, #2c7be5, hsl(125, 89%, 52%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 30px;
  margin-top: 15px;
  font-weight: bold;
}

.card-img-top {
  width: 100%;
  height: auto;
  max-width: 1200px;
}

.card-title {
  font-weight: bold;
}

.anchorx {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.anchorx:hover {
  text-decoration: underline;
}

html {
  scroll-behavior: smooth;
}

/* ================= HERO FIX ================= */

.hero-section {
    margin-top: 100px;
    height: 100vh;
}

/* LEFT SIDE (IMAGE) */
.carousel,
.carousel-inner,
.carousel-item {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RIGHT SIDE (TEXT) */
.hero-text {
    background: #f8f9fb;
    display: flex;
    align-items: center;
}

/* TEXT BOX */
.content-box {
    max-width: 500px;
}

/* TITLE */
.main-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
}

/* SMALL TEXT */
.small-text {
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 600;
}

.hero-section .small-text {
    display: inline-block;
    transform-origin: left center;
    animation: homeTextStretchIn 0.9s ease-out 0.15s both;
}

.hero-section .main-title {
    transform-origin: left center;
    animation: homeTextStretchIn 1.05s cubic-bezier(0.18, 0.9, 0.22, 1) 0.35s both;
}

.hero-section .small-text:hover,
.hero-section .main-title:hover {
    animation: homeTextHoverStretch 0.55s ease-out both;
}

@keyframes homeTextStretchIn {
    0% {
        opacity: 0;
        transform: translateX(-18px) scaleX(0.72);
        filter: blur(3px);
    }
    55% {
        opacity: 1;
        transform: translateX(0) scaleX(1.08);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scaleX(1);
        filter: blur(0);
    }
}

@keyframes homeTextHoverStretch {
    0% {
        transform: scaleX(1);
    }
    50% {
        transform: scaleX(1.08);
    }
    100% {
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section .small-text,
    .hero-section .main-title {
        animation: none;
    }
}

/* DESCRIPTION */
.description {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: rgb(16, 5, 82);
    font-weight: bold;
}

@media (max-width: 768px) {
    .hero-section {
        margin-top: 175px !important;
        height: auto;
    }

    #carouselExampleDark {
        height: 430px;
    }

    .description {
        width: 100%;
        max-width: 100%;
        font-size: 20px;
        line-height: 1.7;
    }

    .content {
        padding: 20px !important;
    }
}

@media (max-width: 480px) {
    .hero-section {
        margin-top: 195px !important;
    }

    #carouselExampleDark {
        height: 360px;
    }
}

/* FIXED HERO CAROUSEL HEIGHT */
#carouselExampleDark {
    height: 620px; /* same as your hero image before */
    overflow: hidden;
}

/* Ensure inner wrapper fills height */
#carouselExampleDark .carousel-inner {
    height: 100%;
}

/* Each slide */
#carouselExampleDark .carousel-item {
    height: 100%;
}

/* Images inside carousel */
#carouselExampleDark .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover; /* keeps image nicely cropped */
}


/* Make nav item relative */
.program-item {
    position: relative;
}

/* Hide dropdown initially */
.program-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 200px;
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 9999;
}

/* Show on hover (DESKTOP ONLY) */
@media (min-width: 992px) {
    .program-item:hover .program-dropdown {
        display: block;
    }
}

/* Dropdown links */
.program-dropdown li a {
    font-family: "Parkinsans", sans-serif;
    display: block;
    padding: 10px 15px;
    color: #000;
    text-decoration: none;
    font-size: 12px;
    padding-right: 3rem;
}

.program-dropdown li a:hover {
    background: #f2f2f2;
}

/* Mobile: always show dropdown as normal list */
@media (max-width: 991px) {
    .program-dropdown {
        display: block;
        position: static;
        background: transparent;
        box-shadow: none;
        padding-left: 15px;
    }

    .program-dropdown li a {
        color: #fff;
    }
}

/* GROUP DROPDOWN */
.group-item {
    position: relative;
}

.group-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 200px;
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 9999;
}

/* Desktop hover */
@media (min-width: 992px) {
    .group-item:hover .group-dropdown {
        display: block;
    }
}

/* Links */
.group-dropdown li a {
    font-family: "Parkinsans", sans-serif;
    display: block;
    padding: 10px 15px;
    color: #000;
    text-decoration: none;
    font-size: 12px;
    
}

.group-dropdown li a:hover {
    background: #f2f2f2;
}


@media (max-width: 991px) {
    .group-dropdown {
        display: block;
        position: static;
        background: transparent;
        box-shadow: none;
        padding-left: 15px;
    }

    .group-dropdown li a {
        color: #fff;
    }
}

/* Shared navbar layout */
.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 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: auto;
    flex: 0 0 auto;
}

.navbar .offcanvas > .offcanvas-body {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 0;
}

.navbar .main-navbar-links {
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 4px;
    width: auto;
    margin-left: 0;
    padding-top: 0;
}

.navbar .main-navbar-links .nav-link {
    padding: 8px 9px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.navbar .Socials {
    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 {
        flex: 1 1 auto;
        width: auto;
    }
}

@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;
    }
}

@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;
    }
}










