:root {
    line-height: 1.5;
    font-weight: 400;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color-scheme: light dark;
    --primary-color:  #3b82f6;
    --secondary-color: #fff;
    --third-color:#97989F;
    --accent-color: #ffe0e4;
    --accent-color-2: #d2e1ffe6;
    --transparent-color: rgba(0, 0, 0, 0.8);
    --background-color: #242424;
    --text-color: #ffffffde;
    --text-muted-color: #ebe8e8;
    --color-dark-text: #111827;
    --about-gradient: linear-gradient(346deg, #d2e1ffe6, #eaf1ffe6);
    --gradient-primary: linear-gradient(135deg,#1e3a8a, #3b82f6);
    --gradient-secondary: linear-gradient(74deg, #0040c1, #679aff);
    --brand-button: #f18720;

}
html{
    font-family: "Poppins", sans-serif;
}
.gradient-text{
    font-family: "outfit", sans-serif;
    font-weight: 600;
    margin: 0;
    padding: 0;
    color: var(--black);
    text-transform: capitalize;
    word-break: normal;
    overflow-wrap: normal;
    -webkit-text-fill-color: transparent;
    mix-blend-mode: normal;
    background-image: linear-gradient(74deg, #0040c1, #679aff);
      -webkit-background-clip: text;
    background-clip: text;
    margin-top: 0;
    margin-bottom: 0;
}
.white {
    color: #ffffff!important;
}
p{
    font-size: 1rem!important;
    font-family: "Poppins", sans-serif;
}
.linear-text-2{
    color: var(--black);
    text-transform: capitalize;
    word-break: normal;
    overflow-wrap: normal;
    -webkit-text-fill-color: transparent;
    mix-blend-mode: normal;
    background-image: linear-gradient(74deg, #0040c1, #679aff);
    -webkit-background-clip: text;
    background-clip: text;
    margin-top: 0;
    margin-bottom: 0;
    font-family: Outfit, sans-serif;
    font-size: 48px;
}
.content p {
    font-size: 1rem;
    font-weight: 400;
}

.text-primary {
    color: var(--primary-color) !important;
}
.text-secondary{
    color:var(--third-color);
}
.text-light {
    color: var(--secondary-color) !important;
}

.text-muted {
    color: var(--text-muted-color) !important;
}

.upper-case {
    text-transform: uppercase !important;
}

.capitalize {
    text-transform: capitalize !important;
}

.blue-gradient {
    background: var(--about-gradient) !important;
}

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 50px;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

/* Background & shadow added on scroll */
.site-header.scrolled {
    background-color: var(--transparent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-right .logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

/* Toggle button styles */
.menu-toggle {
    position: relative;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle .bar {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.4s ease-in-out;
}

/* Hamburger animation when active */
.menu-toggle.active .top {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .middle {
    opacity: 0;
}

.menu-toggle.active .bottom {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Fullscreen menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: #111;
    color: white;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
}

.fullscreen-menu.show {
    transform: translateY(0);
}

.menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.menu-links li {
    margin: 20px 0;
}

.menu-links a {
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s;
    border-bottom: 2px solid transparent;
}

.menu-links a:hover {
    /* color: #f0c0400; */
    border-bottom: 2px solid #fff;
}

body.menu-open {
    overflow: hidden;
}
/* Sections */
section {
    padding: 20px 60px 60px 60px;
    position: relative;
}
.title-section{
    margin: 20px;
}
.title-section h1 {
   margin: 10px;
}
.content-area{
    text-align: left;
}
.about-content{
    padding: 20px;
}
/* Footer Styles */
.footer {
    background-color: #333;
    font-family: sans-serif;
    color: #fff;
    width: 100%;
    padding: 50px;
    background: url(../images/backgrounds/footer-bg.png) no-repeat center/cover fixed;

}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
    margin: 0 auto;
    margin-top: 30px;
}

footer hr {
    border: none;
    border-top: 1px dotted rgba(255, 255, 255, 0.8);
    margin: 20px 0;
}

.footer-col {
    flex: 1 1 220px;
    max-width: 23%;
}

.footer-logo {
    display: block;
    max-width: 180px;
    margin-bottom: 20px;

}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: left;
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    text-align: left;
    margin-bottom: 8px;
    transition: transform 0.2s ease;
}

.footer-links li i {
    margin: 0 0.8rem 0 0;
}

.footer-links a {
    text-decoration: none;
    font-size: 14px;
    color: #fff;
}

.footer-links li:hover {
    transform: translate(5px)
}

.social-heading {
    margin-top: 1rem;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 8px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-btn:hover {
    transform: scale(1.07) translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
  
.social-btn i {
    font-size: 14px;
}

/* Newsletter Section */
.news-letter {

    padding: 40px 24px;
    border-radius: 16px;
    margin-bottom: 48px;
    text-align: center;
    color: white;
}

.news-letter .footer-heading {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-align: center;
}

#newsletter-form {
    display: flex;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
    gap: 12px;
    justify-content: center;
}

#newsletter-form input[type="email"] {
    flex: 1 1 60%;
    min-width: 220px;
    padding: 12px 16px;
    border: none;
    border-radius: 999px;
    outline: none;
    font-size: 16px;
    background-color: white;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#newsletter-form button {
    padding: 12px 24px;
    background: var(--gradient-secondary);
    color: #333;
    border: none;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#newsletter-form button:hover {
    transform: scale(1.05);
    background: var(--gradient-primary);
    color: white;
}



/* Brand Backgrounds */
.facebook:hover {
    background-color: #1877f2;
}

.instagram:hover {
    background: radial-gradient(circle at 100% 134%,
            #fdf497 0%,
            #fdf497 1%,
            #fd5949 45%,
            #d6249f 60%,
            #285AEB 90%)
}

.reddit:hover {
    background-color: #ff4500;
}

.linkedin:hover {
    background-color: #0077b5;
}

.whatsapp:hover {
    background-color: #25d366;
}

@media (max-width: 992px) {
    .footer-col {
        max-width: 48%;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 10px 20px;

    }

    .footer {
        padding: 40px 20px;
    }

    .footer-row {
        gap: 24px;
    }

    .footer-col {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .footer-logo {
        margin: 0 auto 16px auto;
    }

    .footer-heading,
    .footer-text,
    .footer-links,
    .social-buttons {
        text-align: left;
    }

    .social-buttons {
        justify-content: left;
    }

    #newsletter-form {
        flex-direction: column;
    }

    #newsletter-form input[type="email"],
    #newsletter-form button {
        width: 100%;
        border-radius: 8px;
    }
}


@media (max-width: 480px) {
    .social-btn {
        font-size: 13px;
        padding: 6px 10px;
        gap: 4px;
    }

    .social-btn i {
        font-size: 12px;
    }
}

/* Footer Bottom */
.footer-bottom {
    color: #ccc;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    width: 100%;
    display: flex;
    margin-top: 0!important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}


/* Custom */
.sub-heading {
    font-size: 1.65rem!important;
    font-family: 'poppins', sans-serif;
    text-align: left;
    font-weight: 600;
}

/* Global Button Theme Override */
/* Applies across index, book, seminars, seminar-single, gallery, aboutus, soulful-umrah */
.button-primary,
.w-button,
.get-book-btn,
.modal-submit {
  background: var(--brand-button) !important;
  border-color: var(--brand-button) !important;
  color: #ffffff !important;
}

.button-primary:hover,
.w-button:hover,
.get-book-btn:hover,
.modal-submit:hover {
  background: var(--brand-button) !important;
  filter: brightness(0.95);
  color: #ffffff !important;
}

/* Outline variants */
.button-outline,
.button-outline-light {
  background: transparent !important;
  border: 1px solid var(--brand-button) !important;
  color: var(--brand-button) !important;
}

.button-outline:hover,
.button-outline-light:hover {
  background: var(--brand-button) !important;
  color: #ffffff !important;
}


.heading {
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 600;
    text-align: left;
}

/* About Section */
.about-us-area{
    border: 1px solid #dedede;
    border-radius: 20px;
}
.about-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    position: relative;
}

.content-left, .content-right {
    flex: 1;
    padding: 20px;
    position: relative;

}

.button-section {
    margin-top: 20px;
}
/* Intiative */

/* Intiatives */

  .intitatives-img img{
        /* width: 100%; */
        height: 400px;
  }

.initiative-card{
    background: #fff;
    border-radius: 15px;
    padding: 20px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 20px;

}
.image-section {

    border-radius: 100%;
    padding: 5px;
}
.card-image{
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 100%;
     background: 
    var(--gradient-primary) padding-box, 
    var(--gradient-primary) border-box;
  background-clip: padding-box, border-box;
}
.separator{
    height: 150px;
    border: 2px dotted #6d6b6b;
    margin: 0 20px;
}
.full-blog-link i{
    rotate: 320deg;
}
.full-blog-link i:hover{
   scale: 1.2;
   transition: all 0.3s ease-in-out;
}

/* Responsive Tweaks */
@media (max-width: 900px) {
   
    .content-area {
        display: flex;
        flex-direction: column;
        align-items: center;
    }   

}
@media (max-width: 768px) {
       .h-svh{
        height: 30svh;
       }
    section{
        padding: 0!important;
    }
    .about-us-area{
        border: none;
    }
    .about-us-container {
        flex-direction: column;
        gap: 20px;
    }
    .button-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .title-section p{
        text-align: center;
    }
    p{
        text-align: justify;
    }
}


/* Metrics Grid Styles */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    color: white;
}

.metric-item {
    text-align: center;
    padding: 1rem;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1rem;
    opacity: 0.9;
}
/* Features Section */
.features-section{
    padding: 60px 20px;
    background: url(../images/backgrounds/blue.png) no-repeat center/cover;
    position: relative;

}

.join-us{
      background:  url(../images/backgrounds/features.png) no-repeat center/cover fixed;
   
}
.counter-section{
    gap: 20px;
    border-radius: 50px;
    margin-top: 1rem;
    padding: 50px;
    background: url(../images/backgrounds/features.png) no-repeat center/cover fixed;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.counter{
    flex: 1;
    margin: 1rem;
}

.counter-item {
    /* font-size: 1rem; */
    flex: 1;
    margin: 1rem;  
}
.counter-value {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #fff;
    
    padding: 10px 20px;
   
}
.counter-label {
    font-size: 1rem;
    opacity: 0.9;
    color: #fff;
    font-weight: 700;
}


/* Accordion */
.accordion-item{
    border: 2px solid var(--primary-color);
    padding: 20px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;

}
.accordion-item .plus-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}
.accordion-item.active .plus-icon {
    transform: rotate(45deg);
}
.accordion-item p{
    text-align: left;
}
.open{
    transition: all 0.3s ease;
}



/* structure */
/* .testimonial-wrapper { overflow: hidden; position: relative; padding: 1rem 0; }
.testimonial-track {
  display: flex;
  gap: 24px;
  align-items: stretch;
 
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: auto; 
}
.testimonial-track::-webkit-scrollbar { display: none; } */

/* card */
/* .testimonial-card {
    display: flex;
    flex-direction: column;
  flex: 0 0 33.3333%;
  background: #ffffff;
  color: #111827;
  border-radius: 25px;

  box-shadow: 0 6px 18px rgba(255,255,255,0.08);
  position: relative;
  min-height: 210px;
  box-sizing: border-box;
  text-align: center;
  cursor: grab;
} */
/* .client-image img{
    height: 50px;
    border-radius: 5px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.quotes-bg i{
    padding: 15px 20px;
    font-size: 60px;
   background: #F4F8F7;
   border-radius: 100%;
   color: #C3CDDD ;

} */

/* text */
/* .testimonial-text { 
    font-size: 1rem;
    line-height: 1.6;
    color: #111827;
 }
.testimonial-name {
     font-size:0.95rem;
      color:#111827;
      font-weight: bold;
     }
.testimonial-meta { color:#6b7280; }
.accordion-item {
    border: 1px solid var(--primary-color) !important;
    border-radius: 20px !important;
    margin: 10px;
} */

/* Change h2 heading color */
.accordion-header {
    color: var(--primary-color);
}

/* Change button text and icon color */
.accordion-button {
    color: var(--primary-color);
    background-color: transparent; /* keep background clean */
    font-weight: 600;
}

/* Change icon (caret) color */
.accordion-button::after {
    filter: invert(42%) sepia(82%) saturate(2975%) hue-rotate(190deg) brightness(92%) contrast(92%);
}

/* Keep color consistent when button is expanded */
.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.03); /* subtle highlight */
    box-shadow: none;
}

/* Blogs */
.author-details .author-image{
    height: 50px;
    width: 50px;
    border-radius: 100%;
    overflow: hidden;
}
.author-details .author-image img{
    height: 100%;
    width: 100%;
} 
/* responsive */
/* @media (max-width: 992px) {
  .testimonial-card { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 576px) {
  .testimonial-card { flex: 0 0 90%; max-width: 90%; }
  .testimonial-track { gap: 16px; padding-left: 5%; }
} */

/* cursor */
/* .testimonial-track.is-grabbing { cursor: grabbing; cursor: -webkit-grabbing; } */

/* Responsive styles for about section */

@media (max-width: 991px) {
  .about-content {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
  }
  .about-text {
    margin-left: 0;
    margin-top: 1.5rem;
    max-width: 100%;
  }
  .about-image {
    justify-content: center;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {

    .sub-heading{
        font-size: 1.2rem!important;
    }
  .about-responsive {
    padding: 2rem 0.5rem;
  }
  .about-content-responsive {
    gap: 1rem;
  }
  .about-image-responsive img {
    max-width: 100%;
    border-radius: 10px;
  }
  .title-section h1 {
    font-size: 1.5rem;
  }
  .about-text-responsive h2 {
    font-size: 1.1rem;
  }
  .about-text-responsive h4 {
    font-size: 0.95rem;
  }

  
   .intiative-section .row.mb-4 > .col-12 > .bg-light {
    flex-direction: column !important;
    align-items: center !important;
  }
  .intiative-section .col-md-7,
  .intiative-section .col-md-4 {
    width: 100% !important;
    max-width: 100%;
  }
  .intiative-section .p-5 {
    padding: 1.5rem !important;
  }


  .intiative-section .separator {
    display: none !important;
  }

  .intiative-section .image-section {
    text-align: center;
    border: none;
    background: none;
    order: 1!important;
    margin: 0;

  }
.intiative-section .image-section .card-image{
    width: 100%;
    border-radius: 0;
    margin: 0;
}
    .intitative-card .text-section h2, p{
        order: 2!important;
        margin-top: 1rem;
    }
     .intitative-card .button-section {
        justify-content: center;
    }
       .counter-area{
    border:none;
}
 .testimonial-card {
    flex: 0 0 80%;
    max-width: 80%;
  }
}

/* Fix image scaling in all screen sizes */
.card-image {
  max-width: 100%;
  height: auto;
}

/* Between 768px and 990px: stack image & text vertically */
@media (max-width: 990px) and (min-width: 768px) {
    
  .intiative-section .row.mb-4 > .col-12 > .bg-light {
    flex-direction: column !important;
    align-items: center !important;
  }
  .intiative-section .col-md-7,
  .intiative-section .col-md-4 {
    width: 100% !important;
    max-width: 100%;
  }
  .intiative-section .p-5 {
    padding: 1.5rem !important;
  }


  .intiative-section .separator {
    display: none !important;
  }

  .intiative-section .image-section {
    text-align: center;
    border: none;
    background: none;
    order: 1!important;
    margin: 0;

  }
.intiative-section .image-section .card-image{
    width: 100%;
    border-radius: 0;
    margin: 0;
}
    .intitative-card .text-section h2, p{
        order: 2!important;
        text-align: center!important;
        margin-top: 1rem;
    }
     .intitative-card .button-section {
        justify-content: center;
    }
    .counter-area{
    border:none;
}
 .testimonial-card {
    flex: 0 0 80%;
    max-width: 80%;
  }
}


/* Inner Pages */
.inner-hero{
height: 540px;
    background: linear-gradient(180deg,#1e3a8a, #3b82f6);
    align-items: center;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    display: flex;
    align-items: center;
}


.author{
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}
.author img{
    height: 50px;
    border-radius: 100%;
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.03);
}
.author p{
    margin-bottom: 0;
    margin-left: 10px;
      font-weight:600 ;
}
.date p{
    margin-bottom: 0;
    font-weight:600 ;
}
.card .text-section{
    align-items: flex-start!important;
}
.blog-image img{
    height: 300px;
    width: 100%;
}
.badge{
   display: flex!important;
   justify-content: flex-start;
   align-items: flex-start;
}

.badge p{
     padding: 5px 10px;
    background: rgba(75, 107, 251, .3);
    color: rgba(75, 107, 251, 1)!important;
    border: 1px solid rgba(75, 107, 251, 1);
    font-weight: 600;
    border-radius: 5px;
}
.breadcrumb-item i{
    font-size: 0.5rem;
    background: #fff;
    color:#fff;
    border-radius: 100%;
    margin-right: 10px;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";  
  color: #fff;   
  margin: 0 8px;
}

.hashtags .hashtag{
    padding: 5px 10px;
    background: #fff;
    color: rgba(75, 107, 251, 1)!important;
    border: 1px solid #fff;
    font-weight: 600;
    border-radius: 20px;

}
.category-filter {
    background: linear-gradient(135deg, #1e3a8a, #9333ea, #f472b6);
    background-size: 200% 200%;
    color: #fff;
    padding: 10px 25px;
    border: 1px solid #fff;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    appearance: none; /* hide default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: background-position 0.4s ease, box-shadow 0.3s ease, border 0.3s ease;
}

/* Hover effect */
.category-filter:hover {
    background-position: right center;
    box-shadow: 0 0 12px rgba(147, 51, 234, 0.6);
}

/* Remove border on focus */
.category-filter:focus {
    outline: none;
    border: none; /* removes border */
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6); /* optional glow */
}

/* Custom dropdown arrow */
.category-filter-wrapper {
    position: relative;
    display: inline-block;
}

.category-filter-wrapper::after {
    content: "▼";
    font-size: 14px;
    color: #fff;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.filter-selection {
    color: var(--primary-color);
}


.blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.blog-card img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 600;
}
.hashtag {
  font-size: 0.85rem;
}

/* Testimonial cards (already styled by you) */
/* .testimonial-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  margin: 0 15px;
  max-width: 500px;
  flex: 0 0 auto;
} */

/* Logos slider */
.logos-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.logos-track {
  display: flex;
  animation: scroll-logos 20s linear infinite;
}
.logo-card {
  flex: 0 0 auto;
}
.school-logo {
  max-height: 60px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s;
}
.school-logo:hover {
  filter: grayscale(0%);
}

/* Auto-scroll animation */
@keyframes scroll-logos {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================= Homepage Title & Initiatives tweaks ================= */
/* Force sentence case for the main title inside the title-section on index page */
.title-section h1,
.title-section .gradient-text {
  text-transform: none !important;
}

/* Ensure h1 stays larger than h2 on small screens */
@media (max-width: 768px) {
  .title-section h1 {
    font-size: 2.5rem !important;
  }
  .title-section h2 {
    font-size: 1.2rem !important;
  }
}

/* Global heading hierarchy: keep h1 > h2 on larger screens as well */
.title-section h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.25rem) !important;
  line-height: 1.15 !important;
}
.title-section h2,
.title-section .sub-heading {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem) !important;
  line-height: 1.3 !important;
}

/* Detailed Blog: responsive layout and readability */
.blog-body img { max-width: 100%; height: auto; display: block; }
.blog-body .link { color: #0b4e99; font-weight: 600; }
.detailed-text { line-height: 1.8; }
.detailed-text p { margin-bottom: 1rem; }

@media (max-width: 992px) {
  .blog-body .row-stack { display: flex; gap: 1rem; align-items: flex-start; }
  .blog-body .row-stack { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .hero-section.inner-hero .page-title h1 { font-size: 1.6rem !important; line-height: 1.3 !important; }
  .blog-title h2 { font-size: 1.4rem !important; }
  .blog-title p { font-size: 0.95rem !important; }
  .detailed-text { padding-left: .25rem; padding-right: .25rem; }
}

/* Improve readability in Initiatives section */
#initiatives .initiative-text,
#initiatives p {
  line-height: 1.6;
}
