:root {
  --primary-color: #005a9c;
  --secondary-color: #343a40;
  --accent-color: #ffc107;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --white-color: #ffffff;
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-secondary);
  color: var(--dark-color);
  background-color: var(--white-color);
  overflow-x: hidden;
  font-size: 0.875rem;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
}

.section-padding {
  padding: 100px 0;
  position: relative;
}

.section-bg {
  background-color: var(--light-color);
}

.section-title {
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 20px;
  text-transform: capitalize;
}

.section-title h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 5px;
}

.section-title p {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn {
  font-size: 0.875rem;
  font-family: var(--font-primary);
  padding: 14px 35px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

.btn-premium {
  background: linear-gradient(145deg, #0062a8, #00508c);
  color: var(--white-color);
  /* font-weight: 600; */
  transition: all 0.3s ease-in-out;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 90, 156, 0.2),
    inset 0 -2px 5px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
  z-index: -1;
}

.btn-premium:hover {
  color: var(--white-color);
  box-shadow: 0 8px 20px rgba(0, 90, 156, 0.3),
    inset 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.btn-premium:hover::before {
  left: 100%;
}

.btn-premium-outline {
  background-color: transparent;
  color: var(--white-color);
  transition: all 0.3s ease-in-out;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-premium-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white-color);
  color: var(--white-color);
}

.btn-secondary-premium {
  background-color: var(--white-color);
  color: var(--primary-color);
  transition: all 0.3s ease-in-out;
  border: 2px solid var(--white-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary-premium:hover {
  background-color: transparent;
  border-color: var(--white-color);
  color: var(--white-color);
  box-shadow: none;
}
/* Navbar */
nav div a img {
  width: 45px;
  height: 40px;
  margin-right: 10px;
  border-radius: 10px;
}
.navbar {
  transition: all 0.4s ease;
  padding: 1.2rem 0;
  
}

.navbar:not(.scrolled) {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  padding: 0.8rem 0;
}

.navbar-brand {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.8rem;
}

.navbar-brand .fa-shield-halved {
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-family: var(--font-primary);
  color: var(--dark-color);
  margin: 0 12px;
  position: relative;
  transition: color 0.3s ease;
  font-size: 0.875rem;
}
/* Restore navbar text color */
.navbar .nav-link {
  color: white !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: gold !important;
}

.navbar.scrolled {
  background: white !important;
}

.navbar.scrolled .nav-link {
  color: black !important;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  margin-right: 10px;
  border-radius: 50%;
}

.dropdown-item {
  font-size: 0.875rem;
}

.dropdown-toggle::after {
  border: none;
}

.navbar.scrolled .navbar-nav .nav-link {
  color: var(--dark-color);
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--white-color);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.4s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

@media (max-width: 991.98px) {
  .navbar .navbar-collapse {
    background-color: var(--white-color);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav .nav-link {
    color: var(--dark-color) !important;
    padding: 0.75rem 0;
  }
}

.navbar-toggler {
  border: none;
  padding: 0;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  background: transparent;
}

.navbar-toggler span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--white-color);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar.scrolled .navbar-toggler span {
  background: var(--dark-color);
}

.navbar-toggler span:nth-child(1) {
  top: 0px;
}

.navbar-toggler span:nth-child(2),
.navbar-toggler span:nth-child(3) {
  top: 9px;
}

.navbar-toggler span:nth-child(4) {
  top: 18px;
}

.navbar-toggler.open span:nth-child(1),
.navbar-toggler.open span:nth-child(4) {
  top: 9px;
  width: 0%;
  left: 50%;
}

.navbar-toggler.open span:nth-child(2) {
  transform: rotate(45deg);
}

.navbar-toggler.open span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Hero Section */


#hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white-color);
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translateX(-50%) translateY(-50%);
}

#hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(0, 90, 156, 0.5),
    rgba(52, 58, 64, 0.5)
  );
  z-index: -1;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.typed-cursor {
  color: var(--accent-color);
  font-size: 4rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
/* word of the day section */

/* --- Our Story Section --- */
.story-img {
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  max-height: 500px;
  border-radius: 12px;
  margin: 10px 0 10px 0;
}
.section-word{
  padding-top: 0;
 .content {
  max-height: 150px;  /* limit how much content is shown */
  overflow: hidden;   /* hide overflowing text */
  transition: max-height 0.4s ease;
}

.content.expanded {
  max-height: 2000px; /* expand when user clicks "Read more" */
}

 
}
.section-story{
  padding-top: 30px;
  padding-bottom: 0;
}
/* Statistics Section */
#stats {
  background: linear-gradient(rgba(0, 90, 156, 0.9), rgba(0, 90, 156, 0.9)),
    url('https://images.unsplash.com/photo-1488190211105-8b0e65b80b4e?q=80&w=2070&auto=format&fit=crop')
      center center/cover no-repeat fixed;
  color: var(--white-color);
  text-align: center;
}

.counter-box .icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.counter-box .counter {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--font-primary);
}

.counter-box p {
  font-size: 1.1rem;
  font-weight: 300;
}

/* Alerts Ticker Section */
.news-ticker-container {
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 0;
  overflow: hidden;
}

.ticker-wrap {
  display: flex;
  align-items: stretch;
}

.ticker-title {
  background-color: var(--accent-color);
  padding: 15px 25px;
  font-weight: 700;
  font-family: var(--font-primary);
  white-space: nowrap;
  color: var(--dark-color);
  display: flex;
  align-items: center;
}

.ticker-title i {
  margin-right: 10px;
}

.ticker-content {
  flex-grow: 1;
  overflow: hidden;
  align-self: center;
}

.ticker-move {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 50s linear infinite;
}

.ticker-move span {
  margin: 0 40px;
}

.ticker-move .fa-bolt {
  color: var(--accent-color);
}

@keyframes ticker {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Gallery Section */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  transition: transform 0.4s ease;
  width: 100%;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent, rgba(0, 90, 156, 0.8));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay .icon {
  color: var(--white-color);
  font-size: 2.5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}



/* Testimonials Section */
.testimonial-card {
  background: var(--white-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  height: 100%;
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.1;
}

.testimonial-card img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid var(--primary-color);
}

.testimonial-card .quote {
  font-size: 1.05rem;
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

.testimonial-card .name {
  font-weight: 600;
  font-family: var(--font-primary);
  color: var(--primary-color);
}

.testimonial-card .position {
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color) !important;
}

/* CTA Section */
#cta {
  background: linear-gradient(rgba(0, 90, 156, 0.9), rgba(52, 58, 64, 0.9)),
    url('https://images.unsplash.com/photo-1518495973542-4542c06a5843?q=80&w=1974&auto=format&fit=crop')
      center center/cover no-repeat fixed;
  color: var(--white-color);
  text-align: center;
}

#cta h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

#cta p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Blog Section */
.blog-card {
  background: var(--white-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.blog-card .blog-img-container {
  height: 220px;
  overflow: hidden;
}

.blog-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover img {
  transform: scale(1.1);
}

.blog-card .blog-content {
  padding: 30px;
}

.blog-card .blog-meta {
  font-size: 0.85rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.blog-card .blog-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card .blog-title:hover {
  color: var(--primary-color);
}

.blog-card .read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
/* Shape Dividers */
.shape-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  margin-bottom: 5px;
}

.shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.shape-divider .shape-fill {
  fill: var(--accent-color);
}

.shape-divider-top {
  top: -1px;
  bottom: auto;
  transform: rotate(0deg);
}

.shape-divider-top .shape-fill {
  fill: var(--accent-color);
}


/* Footer */
footer div h5 img {
  width: 45px;
  height: 40px;
  margin-right: 10px;
  border-radius: 10px;
}
footer {
  background-color: var(--dark-color);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
}

footer h5 {
  color: var(--white-color);
  font-family: var(--font-primary);
  margin-bottom: 20px;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--white-color);
}

footer .list-unstyled li {
  margin-bottom: 10px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white-color);
  font-size: 1.2rem;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-top: 60px;
}

/* Scroll to top button */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: var(--primary-color);
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}