/* Import at the top of CSS */
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Raleway:wght@300;600&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Raleway:wght@500&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Raleway:wght@300&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&family=Playfair+Display:wght@600;700&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Mina:wght@400;700&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&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&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&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=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&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=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Kalam:wght@300;400;700&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&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=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Kalam:wght@300;400;700&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&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=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

html {
  margin: 0 !important;
  padding: 0 !important;
  height: 100%;
}

/* 🌍 Global Styles */
* {
    /* font-family: 'Inter', sans-serif; */
    font-family: 'Poppins', sans-serif;
    /* font-family: 'Source Sans 3', sans-serif; */
    /* font-family: 'Nunito Sans', sans-serif; */
    /* font-family: 'IBM Plex Sans', sans-serif;  */
    /* font-family: 'Open Sans', sans-serif; */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.position-relative.vh-100 {
    height: 100vh; /* already vh-100, but this ensures no rounding issues */
    min-height: 100vh;
}


/* Optional: adjust body text for readability */
body {
    font-size: 1.1rem; 
    line-height: 1.6;  
    color: #222; 
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    /* background-color: #F1F1F2; */
    /* background-color: #A1D6E2; */
    /* background-color: #1995AD; */
    background-color: #f8f9fa;
}

.bg-image {
  margin-bottom: 20px;
}

/* -------------------------------------- */
/* Navbar specific styles */
/* -------------------------------------- */

.navbar {
  /* transition: all 0.3s ease; */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0.25rem 2rem !important;
  z-index: 1000;
}

/* Mobile menu open state */
.navbar.open {
  background-color: rgba(0, 0, 0, 0.85); /* dark, semi-transparent */
  color: #fff; /* menu text white for contrast */
}

.navbar.scrolled {
  /* background: #C4DFE6 !important; */
  background: #A1D6E2 !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-brand, .navbar-item {
  font-family: "Kalam", cursive;
  color: #153847 !important;
  font-size: 2.0rem;
  font-weight: 500;
  transition: font-size 0.3s ease, color 0.3s ease;
}

/* kk new for d1-slot  */
/* .navbar-d1-slot {
  display: inline-block;
  align-items: center;
  justify-content: center;
  height: 100%;        
  position: relative;
  vertical-align: middle;
  text-align: center;
  font-family: "Kalam", cursive;
  font-weight: 400;
  font-size: clamp(1.2rem, 3vw, 1.8rem); 
  line-height: 1;        
  width: auto;          
} */

/* kk new for d1-slot  */
.navbar-d1-slot {
  display: inline-block;
  padding: 0 1rem;
  opacity: 0;              /* hidden initially */
  transition: opacity 1.4s ease;
  vertical-align: middle;
  text-align: center;
  font-family: "Kalam", cursive;
  color: #153847 !important;
  font-size: 2.0rem;
  font-weight: 500;
}
/* kk new for d1-slot  */
.navbar-d1-slot.visible {
  opacity: 1;
}

/* kk new for d1-slot  */
/* @media (max-width: 768px) {
  .navbar-d1-slot {
    font-size: clamp(1rem, 4vw, 1.4rem);
  }
} */

/* to fully remove the d1-slot on smaller screens */
@media (max-width: 768px) {
  .navbar-d1-slot {
    display: none;
  }
}

/* kk new for d1-navbar  */
/* .hero-d1-navbar {
  opacity: 0;
  font-family: "Kalam", cursive;
  font-weight: 400;
  font-size: clamp(1.2rem, 3vw, 1.8rem); 
  display: inline-block;
  transition: opacity 0.5s ease;
}
.hero-d1-navbar.visible {
  opacity: 1;
} */


.nav-link {
  /* font-family: "Kalam", cursive; */
  color: #153847 !important;
  font-size: 1.2rem;
  font-weight: 500;
  transition: font-size 0.3s ease, color 0.3s ease;
}

/* Shrink navbar on scroll (partial) */
.navbar.shrink {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.9); /* slightly transparent */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Navbar at bottom of hero: only show toggler */
.navbar.shrink-only-toggler .navbar-collapse {
  display: none !important;
}

.navbar-toggler {
  z-index: 1100;
}

/* -------------------------------------- */
/* Hero specific styles */
/* -------------------------------------- */

/* ✨ Hero + highlight text */
.hero-d1,
.hero-d2,
.hero-d3,
.about-title {
    font-family: 'Kalam', cursive; /* creative / arty touch */
    margin-top: 0;
}

.bg-hero-img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: cover;
    display: block;
}

.bg-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* this makes the image crop, not squash */
    display: block;
}

.bg-hero-img h1,
.bg-hero-img h2,
.bg-hero-img h3 {
    margin: 0;
    padding: 0;
}

/* kk edit check  */
.hero-d1 {
  font-family: "Kalam", cursive;
  font-weight: 400;
  text-align: center;
  font-style: normal;
  letter-spacing: 1.0px;
  color: #2c6780;
  font-size: clamp(3rem, 5vw, 9rem);
  opacity: 0; /* start invisible */ 
  transform: translateY(20px) scale(1); /* slight rise effect */
  transition: opacity 1.5s ease, transform 1.5s ease, font-size 0.5s ease;
  /* transition: opacity 2.0s ease, transform 2.0s ease, font-size 1.0s ease; */
}

.hero-d1.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-d1.shrink {
  /* font-size: clamp(2rem, 6vw, 4rem); 
  opacity: 0;
  transform: translateY(-35vh); */
  font-size: clamp(1.2rem, 3vw, 1.8rem); /* fits nicely with navbar */
  transform: translateY(0) scale(0.85);   /* slight shrink + settle */
  opacity: 1;                              /* stays visible */
  transition: 
    font-size 0.5s ease, 
    transform 0.5s ease, 
    opacity 0.3s ease;
}

/* kk new for d1 text in navbar */
/* 🔑 Override ONLY when inside navbar */
.navbar .hero-d1 {
  display: inline-block;
  margin: 0;
  padding: 0;
  line-height: 1;
  text-align: left; /* optional: makes it align with brand text instead of centered */
}

/* Optional: adjust for mobile screens */
@media (max-width: 768px) {
  .hero-d1.shrink {
    font-size: clamp(1rem, 4vw, 1.4rem);  /* smaller on small screens */
    transform: translateY(0) scale(0.8);  /* slightly more shrink */
  }
}
  
/* Base state */
  .hero-d2, .hero-d3 {
  font-family: "Kalam", cursive;
  font-weight: 400;
  text-align: center;
  letter-spacing: 1.0px;
  color: #2c6780;
  font-size: clamp(2.5rem, 4.5vw, 6rem);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10vh) scale(1.00);
  transition: opacity 3s ease-out 1s, transform 3s ease-out, visibility 0s linear 3s;
}

/* Show with staggered delay */
.hero-d2.show, .hero-d3.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(0.75);
  transition: opacity 3s ease-out 1s, transform 3s ease-out, visibility 0s linear 0s;
}


.hero-subtext {
  color: rgb(12, 29, 44);
  /* font-size: 0.9rem;    */
  font-size: clamp(12px, 1.5vw, 18px);
  opacity: 0.8;        /* softer look */
  font-style: italic;  /* optional */
}


/* -------------------------------------- */
/* About Intro specific styles */
/* -------------------------------------- */

/* Change to make the title and text animate seperately */
.about-intro {
  font-family: "Kalam", cursive;
  text-align: center;
  max-width: 100vw;   /* default width on desktop/laptop */
  margin: 0 auto;
  padding: 8vh 5vw;
  background-color: #1995AD;
  /* opacity: 0;
  transform: scale(0.85);
  transition: opacity 4s ease, transform 4s ease;  */
}

/* Keep but split into two ans add extra */
/* .about-intro.visible {
  opacity: 1;
  transform: scale(1);
} */

/* Added extra lines at end */
.about-intro .about-title,
.about-intro .about-text {
  font-family: "Kalam", cursive;
  color: white;
  /* opacity: 0;   
  transform: translateY(4vh); 
  transition: opacity 1s ease, transform 1s ease;  */
}

/* NEW Title animates in first */
.about-title.visible {
  opacity: 1;
  transform: scale(1);
  /* transform: translateY(0);
  transition-delay: 0.2s; */
}

/* keep as is */
.about-title {
  font-size: clamp(2rem, 4.5vw, 5rem); 
  margin-bottom: 1rem;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 5.0s ease, transform 5.0s ease;
}

/* keep as is */
.about-text {
  font-size: clamp(1.2rem, 3.0vw, 3rem);
  line-height: 1.6;
  font-weight: 250;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 10.0s ease, transform 10.0s ease;
  max-width: 1210px;
	text-align: center !important;
	margin-left: auto;
	margin-right: auto;
}

/* NEW Text animates in second */
.about-text.visible {
  opacity: 1;
  transform: scale(1);
  /* transform: translateY(0);
  transition-delay: 0.6s; */
}


/* keep as is */
@media (max-width: 768px) {
  .about-intro {
    max-width: 90vw; /* wider for small screens */
  }
}

/* -------------------------------------- */
/* Bootstrap Card specific styles */
/* -------------------------------------- */

.card {
  /* background-color: #F2F2F2; */
  /* background-color: #1995AD; */
  /* background-color: #F1F1F2; */
  background-color: #e0f0f7;
  border-radius: 0.50rem; /* softer rounded corners */
  overflow: hidden;       /* ensures carousel images follow the rounded shape */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08); /* subtle shadow */
  border: none; /* optional: removes Bootstrap’s default border */
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
  border-top: 4px solid #1995AD;
  /* opacity: 0; 
  transform: translateY(40px); 
  transition: opacity 1.2s ease-out, transform 1.2s ease-out; */
  opacity: 1;
  transform: none;
  transition: none;
}

/* When scrolled into view */ 
.card.visible { 
  opacity: 1; 
  transform: translateY(0); 
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  /* font-family: "Kalam", cursive; */
  font-size: 1.4rem;
  font-weight: 600;
  color: #153847;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 0 !important;
}

.card img {
  border-radius: 0; /* keeps images flush with card edges */
  width: 100%;
  /* height: 60vh; */
  object-fit: cover;
}

/* -------------------------------------- */
/* Bootstrap Carousel specific styles */
/* -------------------------------------- */

.carousel-section {
  margin-top: 8vh !important;
  margin-bottom: 8vh !important;
}

.carousel-img {
  height: 600px;        /* pick a size that looks good */
  width: 100%;
  object-fit: contain;  /* keeps full image visible */
  background-color: #000; /* optional, gives black bars around if needed */
}


/* Softer carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 70% 70%; /* slightly smaller arrows */
}

/* Smaller, cleaner arrow icons */ 
.carousel-control-prev-icon, 
.carousel-control-next-icon { 
  background-size: 70% 70%; 
}

.carousel-control-prev,
.carousel-control-next {
  width: 3rem;
  height: 3rem;
  border-radius: 50%; /* round buttons */
  /* background: rgba(56, 127, 158, 0.2);  */
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(5px);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(56,127,158,0.4);
  transition: background-color 0.3s ease;
}
.carousel-indicators .active {
  background-color: #1995AD;
}

/* Overlay gradient for better caption readability */ 
.carousel-item::before { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(to bottom, rgba(0,0,0,0.10), rgba(0,0,0,0.20)); 
  z-index: 1; 
} 

.carousel-caption { 
  z-index: 2; 
}

/* Maintain consistent carousel image aspect ratio */
.carousel-inner {
  aspect-ratio: 16 / 9; /* Adjust to your preferred ratio (e.g. 4/3 or 1/1 for square) */
  overflow: hidden;     /* Ensures no overflow if cropping occurs */
}

/* Ensure images fill the frame without stretching */
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* Crops edges rather than squashing image */
  object-position: center; /* Keeps focal point centred */
  display: block;
}


/* -------------------------------------- */
/* About Intro specific styles */
/* -------------------------------------- */

/* Change to make the title and text animate seperately */

.profile-header {
  padding-top: 8vh !important;
  padding-bottom: 5vh !important;
}

.profile-intro {
  background-color: #1995AD;
  font-family: "Kalam", cursive;
  text-align: center !important;
  max-width: 100vw;   /* default width on desktop/laptop */
  margin: 0 auto;
  padding: 5vh 5vw !important;
}

.profile-container {
  text-align: center !important;
}

/* Keep but split into two ans add extra */
/* .about-intro.visible {
  opacity: 1;
  transform: scale(1);
} */

/* Added extra lines at end */
.profile-intro .profile-title,
.profile-intro .profile-text {
  font-family: "Kalam", cursive;
  color: white;
  /* opacity: 0;   
  transform: translateY(4vh); 
  transition: opacity 1s ease, transform 1s ease;  */
}

/* NEW Title animates in first */
.profile-title.visible {
  opacity: 1;
  transform: scale(1);
  /* transform: translateY(0);
  transition-delay: 0.2s; */
}

/* keep as is */
.profile-title {
  font-size: clamp(3rem, 4.5vw, 5rem); 
  /* margin-bottom: 1rem; */
  opacity: 1;
  transform: scale(0.85);
  transition: opacity 5.0s ease, transform 5.0s ease;
}

/* keep as is */
.profile-text {
  font-size: clamp(1.8rem, 3.0vw, 3rem);
  line-height: 1.6;
  font-weight: 250;
  max-width: 1250px;
  opacity: 1;
  transform: scale(0.85);
  transition: opacity 10.0s ease, transform 10.0s ease;
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

/* NEW Text animates in second */
.profile-text.visible {
  opacity: 1;
  transform: scale(1);
  /* transform: translateY(0);
  transition-delay: 0.6s; */
}


/* keep as is */
@media (max-width: 768px) {
  .profile-intro {
    max-width: 90vw; /* wider for small screens */
  }
}

/* -------------------------------------- */
/* Accordion specific styles */
/* -------------------------------------- */

.accordion-section {
  margin-top: 8vh !important;
  margin-bottom: 10vh !important;
}

/* keep */
/* Main text styling */
.accordion-section h2,
.accordion-section p {
  color: #222;
}
/* keep */
/* Accordion button (header) default style - closed */
.accordion-button {
  background-color: #1995AD;
  color: white !important;
  font-weight: bold;
  font-size: 1.3rem;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}
/* keep */
/* Accordion button when expanded (open) */
.accordion-button:not(.collapsed) {
  background-color: #1995AD; /* stays same when open */
  /* color: white !important; */
}
/* keep */
/* Closed: white chevron */
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}
/* keep */
/* Open: black chevron */
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

/* keep */
/* Accordion body styling (opened section) */
.accordion-body {
  background-color: #e0f0f7; /* light background in keeping with #1995AD */
  color: #222;
  font-size: 1.1rem; /* optional, slightly smaller than heading */
  line-height: 1.6;
  padding: 1rem 1.25rem;
  position: relative;
  overflow: hidden;
  /* border: 1px dashed red; */
}

/* keep */
/* Optional: border radius and spacing */
.accordion-item {
  border: none; /* remove default border */
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
  overflow: hidden;
}

/* Optional: shadow for the accordion for visual separation */
.accordion-item .accordion-button {
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}



/* remove */
.accordion-img img {
  width: clamp(200px, 35%, 400px);
  height: auto;
  float: right;
  display: block;
  /* margin: 0 0 0.5rem 1rem; */
}


/* added and keep */
/* Image inside accordion */
.accordion-body picture {
  flex-shrink: 0;
  /* margin-left: 1rem; */
  margin-bottom: 0.5rem;
  max-width: 400px;
}

/* keep */
.accordion-body picture img {
  max-width: 100%;
  height: auto;
  border-radius: 0.25rem;
}

/* ################ to remove below ########################## */
/* Responsive: On small screens, center the image above text */
/* @media (max-width: 768px) {
  .accordion-img {
    float: none !important;
    display: block;
    margin: 0 auto 1rem auto !important;
    max-width: 200px;
  }
} */

/* added and keep */
/* Responsive layout */
/* @media (max-width: 768px) {
  .accordion-body {
    flex-direction: column !important;
    text-align: center;
  }
  .accordion-body picture {
    margin: 0 auto 1rem auto;
    max-width: 70%;
    float: right; 
  }
} */
/* ################ to remove above ########################## */
/* ################ to remove below ########################## */
/* Responsive: On small screens, stack vertically and center image */
/* @media (max-width: 992px) {
  .accordion-body {
    flex-direction: column !important;
    text-align: center;
    align-items: center; 
  }

  .accordion-body picture.accordion-img {
    order: -1;
    float: none !important;
    margin: 0 auto 1rem auto !important;
    max-width: 70%;
  }

  .accordion-text {
    width: 100%;
  }
} */
/* ################ to remove above ########################## */

.accordion-body > picture img.img-fluid {
  margin-left: 3rem;
}

.accordion-body.d-flex.photo {
  padding-right: 0;
}

/* Accordion image responsive tweaks */
.accordion-img img {
  max-height: 200px;
  width: auto;
}

/* On smaller screens (<992px), ensure image and text stack neatly */
@media (max-width: 991.98px) {
  .accordion-img {
    text-align: center;
    margin-bottom: 1rem;
  }

  .accordion-body {
    flex-direction: column !important;
    align-items: center; /* centers child elements */
    text-align: center;
    padding-left: 1rem !important;  /* tighten side spacing */
    padding-right: 1rem !important;
  }

  .accordion-body picture {
    display: block;
    margin: 0 auto 1rem auto;
    max-width: 70%;
  }

  /* Keep accordion width visually balanced on small screens */
  .accordion-item {
    margin-left: auto;
    margin-right: auto;
    max-width: 95%;
  }

  .accordion-body > picture img.img-fluid {
  margin-left: 0;
  }
}

/* new keep */
.contact-info a {
  color: #1995AD;
  text-decoration: none;
  font-weight: 500;
  margin: 0 0.25rem;
}
/* new keep */
.contact-info a:hover {
  text-decoration: underline;
}
/* new keep */
.contact-info {
  font-size: 0.95rem;
  color: #222;
}

.accordion-body ul {
  margin-left: 1rem; /* keep a bit of indentation */
  padding-left: 1rem;
}

.accordion-body li {
  margin-bottom: 0.25rem; /* tighten spacing */
  color: #222; /* match your text colour */
  line-height: 1.5;
}

/* For accordion bullett icons */
.icon-accent {
  color: #1995AD;
}

.accordion-button .date {
    /* font-size: 0.9rem; */
    font-weight: inherit; /* inherit bold from parent button */
    color: white !important; /* make it white like the rest of the button */
    padding-right: 2rem; /* push it away from the arrow */
      /* font-weight: bold; */
    font-size: 1.1rem;
}

.accordion-item.UEA .accordion-body li {
  margin-bottom: 1rem;
}

.accord-h6 {
  padding-bottom: 0.5rem;
}

.card-showcase{
  background-color: #F1F1F2;
}

.link-card h5 {
  font-size: 1.2rem;
}

.link-card p {
  font-size: 1rem;
}


/* -------------------------------------- */
/* Profile file js specific styles */
/* -------------------------------------- */
/* Base state */
/* .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 3.6s ease, transform 3.6s ease;
} */

/* When revealed */
/* .reveal.visible {
  opacity: 1;
  transform: translateY(0);
} */


/* ===== Text fade & slide ===== */
.reveal-text {
  opacity: 0;
  transform: translateY(30px) scale(0.85);
  transition: opacity 3.0s ease, transform 3.0s ease;
}

.profile-text.reveal-text {
  /* delay profile-text after title */
  transform: translateY(30px) scale(0.85);
  transition: opacity 3.0s ease 1.0s, transform 3.0s ease 1.0s;
}

.reveal-text.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===== Button jiggle ===== */
/* .reveal-button {
  transform: translateY(0);
  transition: transform 0.3s ease;
} */

/* .reveal-button.visible {
  animation: jiggle 0.6s ease;
} */

/* Jiggle keyframes */
/* @keyframes jiggle {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(-3px); }
  50%  { transform: translateX(3px); }
  75%  { transform: translateX(-3px); }
  100% { transform: translateX(0); }
} */
/* ===== Button jiggle ===== */

/* ===== Button Fade & scale on scroll ===== */
/* .reveal-button {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
} */

/* .reveal-button.visible {
  opacity: 1;
  transform: scale(1);
} */
/* ===== Button Fade & scale on scroll ===== */

/* ===== Button Slide from bottom ===== */
.reveal-button {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 3.6s ease, transform 3.6s ease;
}

.reveal-button.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Button Slide from bottom ===== */

/* ############################################################################# */

/* -------------------------------------- */
/* Footer specific styles */
/* -------------------------------------- */

/* ############################################################################# */


/* Footer base */
/* KK remove this has no effect - .footer-wrapper now works instead */
/* .footer { */
  /* position: relative; */
  /* position: absolute;
  margin-top: 0 !important; */
  /* width: 100vw; */
  /* aspect-ratio: 4 / 1; */
  /* aspect-ratio: 2.62 / 1; */
  /* min-height: 300px; */
  /* min-height: auto; */
  /* background-color: #f8f9fa !important; */
  /* color: #fff; */
  /* font-family: "Open Sans", sans-serif; */
  /* overflow: hidden;
} */


/* kk last change  */
/* ############################################################################# */
/* .footer-wrapper {
  background-size: cover;
  width: 100%;
  min-height: 917px;
  margin: 0;
} */

/* .footer-container { */
  /* position: relative; */
  /* position: absolute !important;
  width: 100%; */
  /* min-height: 917px;  */
  /* height: 100%; */
/* } */
/* ############################################################################# */


/* kk removed as already in code below  */
/* 2. Apply Background to the Inner Container (.footer-container) */
/* .footer-container {
    background-image: url('/images/responsive/footer-image2-2400.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    width: 100%; 
    min-height: 917px; 
    position: relative;
    background-color: transparent; 
} */

/* Global reset for clean edge-to-edge layout */
/* body, html {
    margin: 0;
    padding: 0;
} */
/* ############################################################################# */
/* ------------------------------------------------ */
/* A. CORE STYLES AND JPG FALLBACK (STANDARD CSS) */
/* ------------------------------------------------ */

/* kk working code keep  */
/* Category A - Overall footer class */
.footer-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* kk working code keep  */
/* Category B - Holds all footer content including overlay */
.footer-container {
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding-bottom: 93.75%;
    width: 100%; 
    position: relative;
    background-color: transparent; 
    overflow: hidden;
}

/* kk working code keep  */
/* Category C - Holds all written footer content */
.footer-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center; 
    padding-bottom: 20px;
    padding-top: 20px;
}

/* kk working code keep  */
/* Category D - Container for all written footer content */
/* You may need to adjust the padding on .footer-content .container to control inner spacing */
.footer-content.container {
    display: grid;
    /* DEFINES THREE ROWS: Top (auto), Empty Middle (1fr), Bottom (auto) */
    grid-template-rows: auto 1fr auto; 
    /* Columns remain the same for horizontal alignment */
    grid-template-columns: 1fr 1fr 1fr; 
    height: 100%; 
    width: 100%;
    max-width: 90vw;
    padding-top: 0.5vh;
    padding-bottom: 0vh;
    padding-left: 2.0vw;
    padding-right: 2.0vw;

}

/* kk working code keep  */
/* --- Placement of Top Element --- */
.footer-brand-area {
    grid-row: 1 / 2; /* Place in the first row */
    grid-column: 1 / -1; /* Span all columns */
    /* Add any top/bottom margin here for spacing from the top edge */
}

/* kk working code keep  */
/* --- Placement of Bottom Element --- */
.footer-content-bottom-area {
    grid-row: 3 / 4; /* Place in the third row */
    grid-column: 1 / -1; /* Span all columns */
    /* Padding is already handled by the container padding */
}

/* kk working code keep  */
/* keep details */
/* Brand styling (matches navbar aesthetic) */
.footer-brand {
  font-family: "Kalam", cursive;
  text-align: center;
  display: block;
  /* font-size: 4vw; */
  /* font-size: 10.5vw; */
  font-size: clamp(48px, 8vw, 70px);
  font-weight: 500;
  color: #ffffff !important;
  /* transition: color 0.3s ease; */
  transition: opacity 1.6s ease, text-decoration 1.6s ease;
}
.footer-brand:hover {
  color: #e0e0e0 !important;
  opacity: 0.75;
}

.footer-brand .footer-tagline {
  text-align: inherit;
  /* margin: 0; */
}

/* keep details */
.footer-tagline {
  /* font-size: 0.9rem; */
  /* font-size: 1.6vw; */
  /* font-size: 3.3vw; */
  font-size: clamp(15px, 2.5vw, 22px);
  font-weight: 400;
  line-height: 0.0;
  /* margin-top: -0.6rem; */
  /* margin-right: 2.0vw; */
  /* color: #cccccc; */
  color: #ffffff !important;
  opacity: 0.75;
}

.footer-tagline:hover {
  color: #e0e0e0 !important;
  opacity: 1.00;
}

/* kk keep this works */
/* Overlay for readability */
.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;  
  background: 
    linear-gradient(
    rgb(10 10 10 / 50%) 0%,
    rgb(10 10 10 / 30%) 30%,
    rgb(10 10 10 / 0%) 50%,  
    rgb(10 10 10 / 15%) 70%, 
    rgb(10 10 10 / 100%) 100%   
  );
  pointer-events: none;
  z-index: 0;  
}

/* ------------------------------------------------ */
/* Working code */
/* ------------------------------------------------ */

/* kk does work */
/* Footer contact links */
.footer-contact-links a {
  color: rgba(255, 255, 255, 0.95) !important; /* soft white */
  text-decoration: none;
  opacity: 0.80;
  font-weight: 400;
  /* font-size: 3.3vw; */
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.6;
  transition: opacity 0.6s ease, text-decoration 0.6s ease;
}

/* kk this works */
/* Footer navigation links and copyright detail */
.footer-nav .nav-link {
  color: rgba(255, 255, 255, 0.95) !important; /* soft white */
  text-decoration: none;
  opacity: 0.80;
  font-weight: 400;
  /* font-size: 3.3vw; */
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.6;
  transition: opacity 0.6s ease, text-decoration 0.6s ease;
}

/* .footer-copy {
  color: #f8faf8 !important;
  font-size: clamp(12px, 1.5vw, 18px);
  opacity: 0.55;
} */

/* kk this works */
/* Hpver over footer navigation links  */
.footer-nav .nav-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* kk this works */
/* footer divider line */
.footer-divider {
  border: none;                     
  height: 2px !important;                      
  background: whitesmoke !important; 
  margin: 0.5rem 0 1.0rem 0;                   
  opacity: 0.45;                     
}

/* Ensure the .footer-copy text is centered by default */
.footer-copy, 
.footer-photo-credit{
  text-align: center; 
  color: #f8faf8 !important;
  font-size: clamp(12px, 1.5vw, 18px);
  opacity: 0.45;
  font-style: italic; 
}

.footer-contact-links a:hover {
  opacity: 1;
  text-decoration: underline;
  color: #ffffff; 
}

/* Optional: automatic, softly tinted divider between links */
.footer-contact-links p a + a::before {
  content: "|";
  margin: 0 0.6em;
  color: rgba(255, 255, 255, 0.6);
}


/* ------------------------------------------------ */
/* Footer brand, links and tagline responsiveness */
/* ------------------------------------------------ */

/* Small Tablets (600px and wider) */
@media (min-width: 576px) {
  .footer-brand {
    /* font-size: 8.64vw; */
    opacity: 1.00;
    }
  .footer-brand:hover {
  opacity: 0.75;
}
  .footer-tagline {
    /* font-size: 2.7vw; */
    font-weight: 400;
    opacity: 0.75;
  }
  .footer-tagline:hover {
    opacity: 1.00;
  }
}

/* Standard Tablets/Small Laptops (768px and wider)*/
@media (min-width: 768px) {
  .footer-brand {
    /* font-size: 6.40vw; */
    opacity: 1.00;
    }
  .footer-brand:hover {
  opacity: 0.75;
  }
  .footer-tagline {
    /* font-size: 2.0vw; */
    font-weight: 400;
    opacity: 0.85;
  }
  .footer-tagline:hover {
    opacity: 1.00;
  }

  /* .footer-contact-links a {
    font-size: 2.5vw;
  
  }
  .footer-nav .nav-link {
    font-size: 2.5vw;
  } */
}

/* Next size up (992px and wider) */
@media (min-width: 992px) {
   .footer-brand {
    /* font-size: 5.12vw; */
    opacity: 1.00;
    }
  .footer-brand:hover {
  opacity: 0.75;
  }
  .footer-tagline {
    /* font-size: 1.6vw; */
    opacity: 0.80;
  }
  .footer-tagline:hover {
    opacity: 1.00;
  }
 
  /* .footer-contact-links a {
    font-size: 2.0vw;
  
  }
  .footer-nav .nav-link {
    font-size: 2.0vw;
  }  */
}

/* Medium Desktops (1200px and wider) */
@media (min-width: 1200px) {
   .footer-brand {
    /* font-size: 4.48vw; */
    opacity: 1.00;
    }
  .footer-brand:hover {
  opacity: 0.75;
  }
  .footer-tagline {
    /* font-size: 1.4vw; */
    opacity: 0.75;
  }
  .footer-tagline:hover {
    opacity: 1.00;
  }
  /* .footer-contact-links a {
    font-size: 1.6vw;
  
  }
  .footer-nav .nav-link {
    font-size: 1.6vw;
  }  */
}

/* Hi-Res/Large Desktops (1600px and wider)*/
@media (min-width: 1600px) {
    .footer-brand {
    /* font-size: 3.84vw; */
    opacity: 1.00;
    }
  .footer-brand:hover {
  opacity: 0.75;
  }
  .footer-tagline {
    /* font-size: 1.2vw; */
    opacity: 0.75;
  }
  .footer-tagline:hover {
    opacity: 1.00;
  }
  /* .footer-contact-links a {
    font-size: 1.4vw;
  
  }
  .footer-nav .nav-link {
    font-size: 1.4vw;
  }  */
}

/* ULTRA HD (1920px and wider) */
@media (min-width: 1920px) {
    .footer-brand {
    /* font-size: 3.2vw; */
    opacity: 1.00;
    }
  .footer-brand:hover {
  opacity: 0.75;
  }
  .footer-tagline {
    /* font-size: 1.0vw; */
    opacity: 0.75;
  }
  .footer-tagline:hover {
    opacity: 1.00;
  }
  /* .footer-contact-links a {
    font-size: 1.2vw;
  }
  .footer-nav .nav-link {
    font-size: 1.2vw;
  }  */
}



/* ------------------------------------------------ */
/* B. JPG RESPONSIVENESS (Changing only the source) */
/* ------------------------------------------------ */

/* Small Tablets (600px and wider) - Load 800.jpg */
@media (min-width: 576px) {
    .footer-container {
        /* padding-bottom: 60.0%; */
        background-image: url('/images/footer/footer-1200-mobile.jpg');
    }
}

/* Standard Tablets/Small Laptops (768px and wider) - Load 1200.jpg */
@media (min-width: 768px) {
    .footer-container {
        padding-bottom: 38.16%;
        background-image: url('/images/footer/footer-1200.jpg');
    }
}

/* Medium Desktops (1200px and wider) - Load 1600.jpg */
@media (min-width: 1200px) {
    .footer-container {
        background-image: url('/images/footer/footer-1600.jpg');
    }
}

/* Hi-Res/Large Desktops (1600px and wider) - Load 2400.jpg */
@media (min-width: 1600px) {
    .footer-container {
        background-image: url('/images/footer/footer-2400.jpg');
    }
}

/* ULTRA HD (1920px and wider) - Load 3842x1468 */
@media (min-width: 1920px) {
    .footer-container {
        background-image: url('/images/footer/footer-3840.jpg');
    }
}

/* ------------------------------------------------ */
/* C. WEBP OPTIMIZATION (Overrides the JPG paths above) */
/* ------------------------------------------------ */
@supports (background-image: url('data:image/webp;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQIEuhoP0lSgoEAA') ) {
    
    /* Default WebP (Mobile First - 0px and up) */
    .footer-container {
        padding-bottom: 93.75%;
        background-image: url('/images/footer/footer-800-mobile.webp');
    }

       /* Small Tablets (600px and wider) - Loads 800px image */
    @media (min-width: 576px) {
        .footer-container {
            /* padding-bottom: 70.0%; */
            background-image: url('/images/footer/footer-1200-mobile.webp');
        }
    }

    /* Standard Tablets/Small Laptops (768px and wider) - Loads 1200px image */
    @media (min-width: 768px) {
        .footer-container {
            padding-bottom: 38.16%;
            background-image: url('/images/footer/footer-1200.webp');
        }
    }

     /* Medium Desktops (1200px and wider) - Loads 1600px image */
    /* @media (min-width: 992px) {
        .footer-container {
            padding-bottom: 50.0%;
            background-image: url('/images/responsive/footer-image2-1600.webp');
        }
    } */

    /* Medium Desktops (1200px and wider) - Loads 1600px image */
    @media (min-width: 1200px) {
        .footer-container {
            /* padding-bottom: 38.2%; */
            background-image: url('/images/footer/footer-1600.webp');
        }
    }

    /* Hi-Res Screens (WebP for screens 2200px and wider) */
    @media (min-width: 1600px) {
        .footer-container {
            background-image: url('/images/footer/footer-2400.webp');
        }
    }

    /* ULTRA HD (1920px and wider) */
    @media (min-width: 1920px) {
        .footer-container {
            background-image: url('/images/footer/footer-3840.webp');
        }
    }
}
/* ############################################################################# */






/* ############################################################################# */

/* ------------------------------------------------ */
/* NOT WORKING CODE TO BE REMOVED */
/* ------------------------------------------------ */

/* kk does not exist anymore or work  */
/* .footer-bg img.footer-img {
  display: block;
  width: 100vw;  
  height: auto;  
  max-width: none; 
  object-fit: none; 
  position: relative; 
  z-index: -1;
} */

/* kk does not exist anymore or work  */
/* checked added */
/* .footer-bg { */
  /* remove absolute positioning */
  /* display: block;
  width: 100%;
} */

/* kk does not exist anymore or work  */
/* Responsive background image */
/* .footer-bg img {
  width: 100%;
  height: auto; 
  display: block;   */
  /* position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  max-height: 100%;
  object-fit: contain;
  z-index: -1; */
/* } */

/* kk does not exist anymore or work  */
/* Footer image */
/* .footer-bg img.footer-img {
  display: block;
  width: 100vw;    
  height: auto;    
  object-fit: cover; 
  max-width: none;
} */

/* kk does not exist anymore or work  */
/* .footer-bg {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100%;
  overflow: hidden;
  z-index: -1;
} */

/* kk does not exist anymore or work  */
/* .footer-bg picture,
.footer-bg img.footer-img {
  position: absolute;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  object-position: center;
} */

/* .footer .container {
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
} */

/* checked keep */
/* kk this does not seem to be doing much but should keep for now  */
/* .footer-content {
  top: 0;
  left: 0;
  width: 100%;
  padding: 0rem 1rem;
  z-index: 2;
} */

/* does not work anymore */
/* Keep text readable over the gradient */
/* .footer .row {
  align-items: flex-start;
  justify-content: center;
} */

/* does not work anymore */
/* Optional: Slight fade-in effect for footer content */
/* .footer .footer-brand,
.footer .nav-link,
.footer .footer-tagline,
.footer .small {
  transition: opacity 0.6s ease, transform 0.6s ease;
} */
/* does not work anymore */
/* .footer .footer-brand:hover,
.footer .nav-link:hover {
  opacity: 0.85;
} */

/* does not work anymore */
/* Footer nav links */
/* .footer .nav-link {
  font-size: 0.9rem;
  color: #f8f9fa;
  opacity: 0.85;
  transition: opacity 0.2s;
} */
/* does not work anymore */
/* .footer .nav-link:hover {
  opacity: 1;
  text-decoration: underline;
} */

/* Responsive scaling */
/* @media (max-width: 767.98px) {
  .footer-brand {
    font-size: 1.6rem;
  }
  .footer-tagline {
    font-size: 0.85rem;
  }
  .footer {
    text-align: center;
  }
} */

/* does not work anymore */
/* .footer a.nav-link {
  color: rgba(255, 255, 255, 0.95) !important;  
} */



/* kk this does not works - have more specific css */
/* Contact links */
/* .footer-contact-links a {
  color: #fff;
} */



