/*

TemplateMo 581 Kind Heart Charity

https://templatemo.com/tm-581-kind-heart-charity

*/



@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Regular.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Light.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-SemiBold.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Bold.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #900000;
  --secondary-color:              #900000;
  --section-bg-color:             #f0f8ff;
  --site-footer-bg-color:         #44525d;
  --custom-btn-bg-color:          #09118b;
  --custom-btn-bg-hover-color:    #5bc1ac;
  --dark-color:                   #000000;
  --p-color:                      #717275;
  --border-color:                 #e9eaeb;

  --body-font-family:             'Metropolis', sans-serif;

  --h1-font-size:                 52px;
  --h2-font-size:                 46px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  16px;
  --btn-font-size:                18px;
  --copyright-font-size:          14px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family); 
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-semibold);
  letter-spacing: -1px;
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
  letter-spacing: -2px;
}

h2 {
  color: var(--secondary-color);
  font-size: var(--h2-font-size);
  letter-spacing: -2px;
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  color: var(--primary-color);
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background: rgba(0, 0, 0, 0.35);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.section-overlay + .container {
  position: relative;
}


/*---------------------------------------
  CUSTOM BLOCK               
-----------------------------------------*/
.custom-block-wrap {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  transition: all 0.5s;
}

.custom-block-wrap:hover {
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
}

.custom-block-body {
  padding: 30px;
}

.custom-block-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-block .custom-btn {
  border-radius: 0;
  display: block;
}


/*---------------------------------------
  PROGRESS BAR               
-----------------------------------------*/
.progress {
  background: var(--border-color);
  height: 5px;
}

.progress-bar {
  background: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.custom-icon {
  color: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM LIST               
-----------------------------------------*/
.custom-list {
  margin-bottom: 0;
  padding-left: 0;
}

.custom-list-item {
  list-style: none;
  margin-top: 10px;
  margin-bottom: 10px;
}


/*---------------------------------------
  CUSTOM TEXT BOX               
-----------------------------------------*/
.custom-text-box {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  margin-bottom: 24px;
  padding: 40px;
}

.custom-text-box-image {
  border-radius: var(--border-radius-medium);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-text-box-icon {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-large);
  color: var(--secondary-color);
  font-size: var(--h6-font-size);
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  width: 25px;
  height: 25px;
  line-height: 30px;
}


/*---------------------------------------
  AVATAR IMAGE - TESTIMONIAL, AUTHOR               
-----------------------------------------*/
.avatar-image {
  border-radius: var(--border-radius-large);
  width: 65px;
  height: 65px;
  object-fit: cover;
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--secondary-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-normal);
  line-height: normal;
  padding: 15px 25px;
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn {
  color: var(--custom-btn-bg-color);
  margin-top: 8px;
  padding: 12px 25px;
}

.custom-btn:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--primary-color);
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
.custom-border-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
  color: var(--white-color);
}


/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.navbar {
  background: var(--white-color);
  z-index: 9;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand {
  color: var(--primary-color);
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-bold);
}

.navbar-brand span {
  display: inline-block;
  vertical-align: middle;
}

.navbar-brand small {
  color: var(--secondary-color);
  display: block;
  font-size: 10px;
  line-height: normal;
  text-transform: uppercase;
}

.logo {
  width: 80px;
  height: auto;
}

.navbar-expand-lg .navbar-nav .nav-link {
  margin-right: 0;
  margin-left: 0;
  padding: 20px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  background: transparent;
  color: var(--primary-color);
}

.dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  border: 0;
  max-width: 50px;
  padding: 0;
  margin-top: 20px;
}

.dropdown-item {
  display: inline-block;
  color: var(--p-bg-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}

.dropdown-menu li:last-child .dropdown-item {
  padding-top: 0;
}

.dropdown-item.active, 
.dropdown-item:active,
.dropdown-item:focus, 
.dropdown-item:hover {
  background: transparent;
  color: var(--primary-color);
}

.dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background: var(--primary-color);
  padding-top: 15px;
  padding-bottom: 10px;
}

.site-header p,
.site-header p a,
.site-header .social-icon-link {
  color: var(--white-color);
  font-size: var(--copyright-font-size);
}

.site-header .social-icon {
  text-align: right;
}

.site-header .social-icon-link {
  background: transparent;
  width: inherit;
  height: inherit;
  line-height: inherit;
  margin-right: 15px;
}


/* Sticky Social Bar Styles - Red Theme */
.sticky-social-bar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.2);
}

.sticky-social-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 2px;
    position: relative;
    overflow: hidden;
}

/* Gradient Background Animation */
.sticky-social-bar a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.sticky-social-bar a:hover::before {
    left: 100%;
}

/* Red Theme - All icons same red color */
.sticky-social-bar a {
    background: linear-gradient(145deg, #b22234, #8b1a1a);
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.sticky-social-bar a:hover {
    background: linear-gradient(145deg, #8b1a1a, #b22234);
    width: 60px;
    border-left: 3px solid white;
    box-shadow: 0 5px 15px rgba(178, 34, 52, 0.5);
}

/* Pulse Animation on Hover */
.sticky-social-bar a:hover i {
    animation: pulse 0.8s ease infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Tooltip with Fade Animation */
.sticky-social-bar a {
    position: relative;
}

.sticky-social-bar a::after {
    content: attr(title);
    position: absolute;
    right: 60px;
    background: #b22234;
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 1000;
}

.sticky-social-bar a:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    right: 65px;
}

/* Mobile Layout - Amazon Prime Style Bar */
@media (max-width: 991px) {
    .sticky-social-bar {
        position: fixed;
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        transform: translateY(0);
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        background: linear-gradient(145deg, #b22234, #8b1a1a);
        padding: 8px 5px;
        box-shadow: 0 -4px 20px rgba(178, 34, 52, 0.4);
        z-index: 999;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
        border-top: 2px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(5px);
    }
    
    .sticky-social-bar.hide-on-scroll {
        transform: translateY(100%) !important;
    }
    
    .sticky-social-bar a {
        width: auto;
        height: auto;
        padding: 8px 12px;
        background: transparent !important;
        margin-bottom: 0;
        font-size: 1.4rem;
        border-left: none;
        position: relative;
    }
    
    .sticky-social-bar a:hover {
        width: auto;
        background: transparent !important;
        transform: translateY(-5px);
        border-left: none;
        box-shadow: none;
    }
    
    .sticky-social-bar a:hover i {
        animation: bounce 0.5s ease;
    }
    
    @keyframes bounce {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-5px); }
    }
    
    .sticky-social-bar a::before {
        display: none;
    }
    
    .sticky-social-bar a::after {
        display: none;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .sticky-social-bar a {
        font-size: 1.2rem;
        padding: 6px 8px;
    }
}

/* Very Small Devices */
@media (max-width: 360px) {
    .sticky-social-bar a {
        font-size: 1.1rem;
        padding: 5px 6px;
    }
}

/* Hide on print */
@media print {
    .sticky-social-bar {
        display: none !important;
    }
}




/*---------------------------------------
  HERO & HERO SLIDE         
-----------------------------------------*/
.hero-section-full-height {
  height: 680px;
  min-height: 680px;
  position: relative;
}

.carousel:hover .carousel-control-next-icon, 
.carousel:hover .carousel-control-prev-icon {
  opacity: 1;
}

#hero-slide .carousel-item {
  height: 680px;
  min-height: 680px;
}

#hero-slide .carousel-caption {
  background: var(--white-color);
  clip-path: polygon(100% 100%, 100% 150px, 0 100%);
  color: var(--secondary-color);
  top: 1px;
  bottom: -1px;
  right: 0;
  left: auto;
  text-align: right;
  min-width: 680px;
  min-height: 680px;
  padding: 100px 100px 50px 100px;
}

.carousel-image {
  display: block;
  width: 100%;
  min-height: 680px;
}

#hero-slide .carousel-indicators-wrap {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}

#hero-slide .carousel-indicators {
  margin-right: 0;
  margin-left: 22px;
  justify-content: inherit;
}

.carousel-control-next, 
.carousel-control-prev {
  opacity: 1;
}

.carousel-control-next-icon, 
.carousel-control-prev-icon {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-large);
  background-size: 60% 60%;
  width: 80px;
  height: 80px;
  opacity: 0;
  transition: all 0.5s;
}

.carousel-control-next-icon:hover, 
.carousel-control-prev-icon:hover {
  background-color: var(--primary-color);
}

.hero-section{
width:100%;
overflow:hidden;
}

/* Desktop */

.carousel-item{
height:25vh;
position:relative;
}

.carousel-image{
width:100%;
height:100%;
object-fit:cover;
}

/* Controls */

.carousel-control-prev,
.carousel-control-next{
top:50%;
transform:translateY(-50%);
width:50px;
height:50px;
}




  .section-padding {
    padding: 70px 0;
    background: linear-gradient(145deg, #fff2f0 0%, #eef3ff 100%);
    position: relative;
    overflow: hidden;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  }

  /* floating animated blobs (red & blue) – pure css */
  .section-padding::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 250px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 75, 75, 0.15), transparent 70%);
    top: -150px;
    left: -100px;
    border-radius: 50%;
    animation: floatBlob 18s infinite alternate ease-in-out;
    z-index: 0;
    pointer-events: none;
  }

  .section-padding::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at 70% 80%, rgba(30, 100, 255, 0.12), transparent 70%);
    bottom: -200px;
    right: -120px;
    border-radius: 50%;
    animation: floatBlob2 22s infinite alternate ease-in-out;
    z-index: 0;
    pointer-events: none;
  }

  @keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.1); }
  }
  @keyframes floatBlob2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, -20px) scale(1.2); }
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 3;
  }

  .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
  }

  .col-6, .col-md-6, .col-lg-3 {
    padding: 0 12px;
    box-sizing: border-box;
  }

  .col-6 { width: 50%; }
  @media (min-width: 768px) { .col-md-6 { width: 50%; } }
  @media (min-width: 992px) { .col-lg-3 { width: 25%; } }

  .text-center { text-align: center; }
  .mx-auto { margin-left: auto; margin-right: auto; }
  .mb-4 { margin-bottom: 1.5rem; }
  .mb-5 { margin-bottom: 2.5rem; }

  /* section title: bold red-blue gradient + pulse */
  .section-padding h2 {
    font-weight: 800;
    font-size: 2.8rem;
    background: linear-gradient(135deg, #b22222 0%, #1e3a8a 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0, 40, 120, 0.15);
    letter-spacing: -0.02em;
    animation: titlePulse 2.8s infinite alternate;
  }

  @keyframes titlePulse {
    0% { transform: scale(1); opacity: 0.95; }
    100% { transform: scale(1.02); opacity: 1; }
  }

  /* ===== REFINED INTRO TEXT – no card, minimal red, no clash ===== */
  .intro-text-compact {
    font-size: 1.18rem;
    line-height: 1.6;
    color: #1e293b;
    max-width: 950px;
    margin: 0 auto 45px auto;
    padding: 0 10px;
    font-weight: 420;
    letter-spacing: 0.2px;
    border-left: 4px solid #b22222;  /* subtle red accent */
    padding-left: 25px;
    text-align: left;
    background: transparent;  /* no card, no background */
    backdrop-filter: none;
    box-shadow: none;
  }

  .intro-text-compact strong {
    font-weight: 650;
    color: #b22222;  /* red only for minimal emphasis – blue would be too much here */
  }

  /* optional: very subtle gradient on text (barely there) */
  .intro-text-compact em {
    font-style: italic;
    color: #1e3a8a;
  }

  /* featured block card – red & blue accents, glass effect */
  .featured-block {
    padding: 30px 15px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(220, 230, 255, 0.7);
    box-shadow: 0 15px 30px -10px rgba(0, 35, 90, 0.25);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
  }

  /* glowing border animation on hover (red/blue gradient) */
  .featured-block::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(145deg, #ff4d4d, #2a4fd0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .featured-block:hover::before {
    opacity: 1;
  }

  .featured-block:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 45px -8px #1e3a8a4d, 0 10px 20px -5px #b2222240;
    background: white;
  }

  /* icon circle – red/blue gradients + pulse animation */
  .featured-icon {
    font-size: 42px;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 22px auto;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 30, 100, 0.3);
    transition: all 0.4s ease;
    animation: iconGlow 3s infinite alternate;
  }

  .featured-block:hover .featured-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 15px 30px #b2222250, 0 0 0 4px rgba(255, 255, 255, 0.6);
  }

  @keyframes iconGlow {
    0% { filter: drop-shadow(0 4px 6px #b2222280); }
    100% { filter: drop-shadow(0 8px 16px #1e3a8ab3); }
  }

  /* gradient icon colors – red/blue family (no hindi text) */
  .icon-foundation {
    background: linear-gradient(145deg, #dc2626, #991b1b);
  }
  .icon-toppers {
    background: linear-gradient(145deg, #ef4444, #b91c1c);
  }
  .icon-ias {
    background: linear-gradient(145deg, #2563eb, #1e3a8a);
  }
  .icon-csat {
    background: linear-gradient(145deg, #3b82f6, #1e40af);
  }

  /* title text – red/blue gradient, then solid on hover */
  .featured-block-text {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0;
    background: linear-gradient(135deg, #a51616, #14348b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
    transition: all 0.2s;
  }

  .featured-block:hover .featured-block-text {
    -webkit-text-fill-color: #0a1c4a;
    background: none;
    color: #0a1c4a;
  }

  /* modal styling – pure css */
  .modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    z-index: 1050;
  }
  .modal.show {
    display: flex;
  }
  .modal-dialog {
    max-width: 500px;
    width: 90%;
    margin: 1.75rem auto;
  }
  .modal-content {
    border-radius: 28px;
    border: none;
    background: linear-gradient(white, #fafbff);
    box-shadow: 0 35px 60px -15px #1e3a8a, 0 0 0 1px #dc262680;
    overflow: hidden;
  }
  .modal-header {
    border-bottom: 2px solid rgba(220, 38, 38, 0.2);
    background: rgba(220, 38, 38, 0.02);
    padding: 1.5rem 1.5rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .modal-title {
    font-weight: 800;
    font-size: 1.9rem;
    background: linear-gradient(145deg, #b22222, #1e3a8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .btn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b22222'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    width: 1.5rem;
    height: 1.5rem;
    border: 0;
    cursor: pointer;
  }
  .modal-body {
    font-size: 1.2rem;
    line-height: 1.6;
    padding: 1.2rem 1.8rem 2rem;
    color: #1f2937;
    border-top: 1px dashed #3b82f6;
    background: #fcfcff;
  }

  /* responsive tweaks for mobile */
  @media (max-width: 576px) {
    .section-padding h2 {
      font-size: 2.2rem;
    }
    .intro-text-compact {
      font-size: 1rem;
      padding-left: 15px;
      border-left-width: 3px;
    }
    .featured-icon {
      width: 95px;
      height: 95px;
      font-size: 36px;
    }
  }



/* Books Gallery Section Styles */
.books-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Book Card Styles */
.book-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(178,34,52,0.1);
    position: relative;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(178,34,52,0.2);
}

/* Book Image Wrapper */
.book-image-wrapper {
    position: relative;
    padding-top: 140%;
    overflow: hidden;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.book-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.book-card:hover .book-image {
    transform: scale(1.08);
}

/* Book Badges */
.book-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.book-badge span {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 25px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.book-badge.in-stock span {
    background: #28a745;
    color: white;
}

.book-badge.out-of-stock span {
    background: #dc3545;
    color: white;
}

/* Discount Badge */
.discount-badge-float {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.discount-badge-float span {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 25px;
    font-size: 0.7rem;
    font-weight: 600;
    background: #b22234;
    color: white;
    box-shadow: 0 4px 8px rgba(178,34,52,0.3);
}

/* Book Content */
.book-content {
    padding: 18px 15px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    color: #1a1a1a;
}

/* Price Section */
.book-price-section {
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.85rem;
}

.discount-price {
    color: #b22234;
    font-size: 1.25rem;
    font-weight: 700;
}

/* View Book Button */
.btn-view-book {
    background: #b22234;
    color: white;
    border: none;
    padding: 10px 0;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
    letter-spacing: 0.3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-view-book:hover {
    background: #8b1a1a;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(178,34,52,0.3);
}

/* Explore Buttons */
.explore-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.explore-btn {
    min-width: 250px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.explore-more-btn {
    background: linear-gradient(135deg, #b22234 0%, #8b1a1a 100%);
    color: white;
}

.explore-less-btn {
    background: linear-gradient(135deg, #1e3c72 0%, #0a1a2e 100%);
    color: white;
}

.explore-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
    color: white;
}

/* Empty State */
.empty-icon {
    font-size: 5rem;
    color: #ccc;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.more-book {
    animation: fadeInUp 0.5s ease forwards;
}

/* Responsive Breakpoints */

/* Laptop/Desktop (992px and above) - 4 books per row */
@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    .book-title {
        font-size: 1.1rem;
    }
    
    .discount-price {
        font-size: 1.3rem;
    }
}

/* Tablet (768px to 991px) - 3 books per row */
@media (min-width: 768px) and (max-width: 991px) {
    .col-md-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

/* Mobile (767px and below) - 2 books per row */
@media (max-width: 767px) {
    .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .books-section {
        padding: 50px 0;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .book-content {
        padding: 12px;
    }
    
    .book-title {
        font-size: 0.9rem;
        min-height: 2.5em;
        margin-bottom: 8px;
    }
    
    .discount-price {
        font-size: 1rem;
    }
    
    .btn-view-book {
        font-size: 0.8rem;
        padding: 8px 0;
    }
    
    .book-badge span,
    .discount-badge-float span {
        font-size: 0.6rem;
        padding: 4px 8px;
    }
    
    .explore-btn {
        min-width: 200px;
        font-size: 0.9rem !important;
        padding: 12px 20px !important;
    }
}

/* Very Small Devices (below 360px) */
@media (max-width: 359px) {
    .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Grid spacing */
.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}



/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #1e3c72 0%, #0a1a2e 100%);
    color: #fff;
    padding: 60px 0 0;
    position: relative;
}

.site-footer-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.site-footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #b22234;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 15px;
}

.footer-menu-item {
    margin-bottom: 5px;
}

.footer-menu-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu-link:hover {
    color: #b22234;
    transform: translateX(5px);
}

/* Open Hours */
.open-hours p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.open-hours strong {
    color: #b22234;
    font-weight: 600;
}

/* Contact Info */
.site-footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

.site-footer-link:hover {
    color: #b22234;
}

/* Footer Bottom */
.site-footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 40px;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

.copyright-text a {
    color: #b22234;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.copyright-text a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive Breakpoints */

/* Laptop/Desktop (992px and above) */
@media (min-width: 992px) {
    .site-footer {
        padding: 70px 0 0;
    }
    
    .footer-menu {
        gap: 10px 20px;
    }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .site-footer {
        padding: 50px 0 0;
    }
    
    .col-md-6 {
        margin-bottom: 30px;
    }
    
    .footer-menu {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (767px and below) */
@media (max-width: 767px) {
    .site-footer {
        padding: 40px 0 0;
    }
    
    .col-12 {
        margin-bottom: 30px;
    }
    
    .site-footer-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-logo img {
        max-height: 50px;
    }
    
    .footer-menu {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 10px;
    }
    
    .footer-menu-link {
        font-size: 0.9rem;
    }
    
    .open-hours p {
        font-size: 0.95rem;
    }
    
    .copyright-text {
        font-size: 0.9rem;
    }
}

/* Very Small Devices (below 360px) */
@media (max-width: 359px) {
    .footer-menu {
        grid-template-columns: 1fr;
    }
}

/* Grid spacing */
.gy-4 {
    --bs-gutter-y: 1.5rem;
}









   
    .custom-text-box-image {
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 2rem;
      box-shadow: 0 20px 25px -10px rgba(0, 35, 70, 0.2);
      transition: 0.3s ease;
    }
    .custom-text-box-image:hover {
      box-shadow: 0 28px 35px -12px #0b2b4f33;
    }
    .custom-text-box {
      transition: all 0.2s;
    }

    /* red & blue card theme */
    .red-blue-card {
      transition: transform 0.2s, box-shadow 0.2s;
      border: 1px solid rgba(255, 255, 255, 0.6);
      background: #ffffffdd;
      backdrop-filter: blur(2px);
    }
    .red-blue-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 25px -8px rgba(0, 0, 0, 0.15) !important;
    }

    .card-blue {
      background: linear-gradient(145deg, #f0f6ff, #e4edfd);
      border-left: 6px solid #1e3c72;
      border-right: 1px solid #bbd2f0;
    }
    .card-blue .card-title {
      color: #1e3c72;
    }

    .card-red {
      background: linear-gradient(145deg, #fff3f0, #ffeae5);
      border-left: 6px solid #b22234;
      border-right: 1px solid #fbc0b0;
    }
    .card-red .card-title {
      color: #b22234;
    }

    /* icons consistent */
    .display-6 {
      font-size: 2.8rem;
      line-height: 1;
    }

    /* responsive fine-tuning */
    @media (max-width: 768px) {
      .section-padding {
        padding: 50px 0;
      }
      .display-6 {
        font-size: 5.0rem;
      }
    }
    @media (max-width: 576px) {
      .custom-text-box h2 {
        font-size: 1.9rem;
      }
      .card .card-body {
        padding: 1.2rem 0.8rem;
      }
    }

    /* style for kannada line (optional warm touch) */
    .bg-warning-subtle {
      background-color: #fff2db !important;
      border-left: 4px solid #b85c1a;
    }
 
 

/* Year Cards */
.year-card {
    cursor: pointer;
    border: none;
    border-radius: 20px;
    padding: 30px 20px;
    background: linear-gradient(145deg, #b22234, #8b1a1a);
    text-align: center;
    color: white;
    box-shadow: 0 15px 30px rgba(178, 34, 52, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.year-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.year-card:hover::before {
    opacity: 1;
}

.year-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 40px rgba(178, 34, 52, 0.4);
    background: linear-gradient(145deg, #c41e1e, #9e1f1f);
}

.year-card-content {
    position: relative;
    z-index: 2;
}

.year-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.calendar-icon {
    color: #ffd700;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
}

.year-title {
    font-size: 2.2rem;
    margin: 10px 0 5px;
    color: white;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.year-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
    opacity: 0.9;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
}

.year-btn {
    background: white;
    color: #b22234;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.year-btn:hover {
    background: #1e3c72;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.4);
}

.year-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.year-btn:hover i {
    transform: translateX(5px);
}

/* Downloads Grid */
.downloads-grid {
    display: none;
    padding-top: 30px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.downloads-card {
    padding: 40px 30px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(178, 34, 52, 0.1);
}

.downloads-header {
    text-align: center;
    margin-bottom: 40px;
}

.downloads-year-title {
    color: #1e3c72;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.downloads-year-title i {
    color: #b22234;
    margin-right: 10px;
}

.downloads-subtitle {
    color: #666;
    font-size: 1.1rem;
}

/* Download Items */
.download-item {
    padding: 25px 20px;
    text-align: center;
    border: none;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.download-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #b22234, #1e3c72);
}

.download-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(178, 34, 52, 0.15);
}

.download-item-icon {
    font-size: 3rem;
    color: #b22234;
    margin-bottom: 15px;
}

.download-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    min-height: 50px;
}

.download-item-type {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    padding: 5px 10px;
    background: #f0f0f0;
    display: inline-block;
    border-radius: 20px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    background: linear-gradient(145deg, #b22234, #8b1a1a);
    color: white;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(178, 34, 52, 0.3);
    width: 100%;
    border: none;
}

.download-btn:hover {
    background: linear-gradient(145deg, #1e3c72, #152b4d);
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.4);
    color: white;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid #1e3c72;
    background: white;
    color: #1e3c72;
    transition: all 0.3s;
    cursor: pointer;
}

.back-btn:hover {
    background: #1e3c72;
    color: white;
    transform: translateX(-5px);
}

.explore-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 45px;
    background: linear-gradient(145deg, #1e3c72, #152b4d);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(30, 60, 114, 0.3);
}

.explore-toggle-btn:hover {
    background: linear-gradient(145deg, #b22234, #8b1a1a);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(178, 34, 52, 0.4);
}

/* Form Modal Styles */
.modal-content {
    border-radius: 30px;
    border: none;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 2px solid #f0f0f0;
    padding: 20px 30px;
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border-radius: 30px 30px 0 0;
}

.modal-header .modal-title {
    color: #1e3c72;
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    color: #666;
    font-size: 1.1rem;
}

.form-control {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #b22234;
    outline: none;
    box-shadow: 0 0 0 3px rgba(178, 34, 52, 0.1);
}

.form-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(145deg, #b22234, #8b1a1a);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
}

.form-button:hover:not(:disabled) {
    background: linear-gradient(145deg, #1e3c72, #152b4d);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.form-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Alert styles */
.alert {
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Modal fixes */
.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1050 !important;
}

.modal input, 
.modal button,
.modal .form-control,
.modal .btn {
    pointer-events: auto !important;
    position: relative;
    z-index: 1060;
}

.modal-open {
    overflow: hidden !important;
}

#pyqDownloadFormModal.show {
    display: flex !important;
}

/* Explore button container */
#explore-btn-container {
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .year-title { font-size: 1.6rem; }
    .year-icon { font-size: 2.5rem; }
    .downloads-year-title { font-size: 1.8rem; }
}

@media (max-width: 576px) {
    .year-title { font-size: 1.4rem; }
    .year-btn { padding: 8px 15px; font-size: 0.9rem; }
}

           
           
          
/* Main Video Card */
.main-video-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(196, 48, 43, 0.1);
}

.main-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(196, 48, 43, 0.15);
}

/* Video Player Container */
.video-player-container {
    position: relative;
    width: 100%;
    background: linear-gradient(45deg, #1a1a1a, #2d2d2d);
    overflow: hidden;
}

.video-player-container iframe {
    width: 100%;
    height: 450px;
    display: block;
    transition: opacity 0.3s ease;
    border: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, rgba(0,0,0,0.5));
    pointer-events: none;
    z-index: 1;
}

/* Featured Badge */
.video-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.live-indicator {
    background: rgba(196, 48, 43, 0.95);
    color: white;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(196, 48, 43, 0.3);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Video Content */
.video-content-wrapper {
    background: white;
    position: relative;
}

.video-meta-item {
    color: #666;
    font-size: 0.9rem;
}

.video-title {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.4;
}

.video-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.video-title a:hover {
    color: #c4302b;
}

.video-description {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* Buttons */
.btn-watch {
    background: #c4302b;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(196, 48, 43, 0.2);
}

.btn-watch:hover {
    background: #a00e0a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(196, 48, 43, 0.3);
}

.btn-share {
    background: #f8f9fa;
    color: #666;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.btn-share:hover {
    background: #e9ecef;
    color: #333;
    transform: translateY(-2px);
}

/* Playlist Styles */
.playlist-header {
    background: white;
    padding: 15px 20px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(196, 48, 43, 0.1);
}

.playlist-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
}

.playlist-count {
    font-size: 0.9rem;
    color: #999;
    font-weight: normal;
}

.playlist-controls .btn-outline-danger {
    border-color: #c4302b;
    color: #c4302b;
    padding: 5px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.playlist-controls .btn-outline-danger:hover {
    background: #c4302b;
    color: white;
}

.playlist-controls .btn-outline-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Video Playlist Container */
.video-playlist-container {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
    scroll-behavior: smooth;
}

.video-playlist-container::-webkit-scrollbar {
    width: 4px;
}

.video-playlist-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.video-playlist-container::-webkit-scrollbar-thumb {
    background: #c4302b;
    border-radius: 4px;
}

.video-playlist-container::-webkit-scrollbar-thumb:hover {
    background: #a00e0a;
}

/* Playlist Items */
.playlist-item {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.playlist-item:hover {
    transform: translateX(5px);
    border-color: #c4302b;
    box-shadow: 0 8px 20px rgba(196, 48, 43, 0.1);
}

.playlist-item.active {
    border-color: #c4302b;
    background: linear-gradient(to right, rgba(196, 48, 43, 0.02), transparent);
}

.playlist-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #c4302b;
}

.playlist-item-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ccc;
    margin-right: 15px;
    min-width: 35px;
}

.playlist-item-thumbnail {
    position: relative;
    width: 100px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.playlist-item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.playlist-item:hover .playlist-item-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(196, 48, 43, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.playlist-item:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.playlist-item-info {
    flex: 1;
    min-width: 0;
}

.playlist-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-item-meta {
    display: flex;
    gap: 10px;
    font-size: 0.75rem;
    color: #999;
}

.playlist-item-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.playlist-item-meta i {
    font-size: 0.7rem;
}

/* Subscribe Card */
.subscribe-card {
    background: linear-gradient(135deg, #c4302b, #a00e0a);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 30px rgba(196, 48, 43, 0.2);
}

.channel-logo {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.btn-subscribe {
    background: white;
    color: #c4302b;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn-subscribe:hover {
    background: #f8f9fa;
    color: #a00e0a;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* Mobile Responsive Styles */
@media (max-width: 1199px) {
    .video-player-container iframe {
        height: 400px;
    }
    
    .video-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 991px) {
    .main-video-card {
        margin-bottom: 30px;
    }
    
    .video-player-container iframe {
        height: 380px;
    }
    
    .playlist-item {
        padding: 10px;
    }
    
    .playlist-item-number {
        font-size: 1rem;
        min-width: 30px;
    }
    
    .playlist-item-thumbnail {
        width: 90px;
        height: 54px;
    }
}

@media (max-width: 767px) {
    .video-player-container iframe {
        height: 280px;
    }
    
    .video-title {
        font-size: 1.2rem;
    }
    
    .video-description {
        font-size: 0.95rem;
    }
    
    .btn-watch, .btn-share {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .playlist-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start !important;
    }
    
    .playlist-controls {
        align-self: flex-end;
    }
    
    .video-playlist-container {
        max-height: 400px;
    }
    
    .playlist-item {
        padding: 8px;
    }
    
    .playlist-item-number {
        display: none;
    }
    
    .playlist-item-thumbnail {
        width: 80px;
        height: 48px;
    }
    
    .playlist-item-title {
        font-size: 0.85rem;
    }
    
    .playlist-item-meta {
        flex-direction: column;
        gap: 3px;
    }
    
    .subscribe-card {
        padding: 15px;
    }
    
    .channel-logo {
        width: 40px;
        height: 40px;
    }
    
    .btn-subscribe {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .video-player-container iframe {
        height: 220px;
    }
    
    .video-content-wrapper {
        padding: 20px !important;
    }
    
    .video-meta-item {
        font-size: 0.8rem;
    }
    
    .video-rating {
        display: none;
    }
    
    .btn-watch, .btn-share {
        width: 100%;
        text-align: center;
    }
    
    .playlist-item-meta {
        font-size: 0.7rem;
    }
    
    .subscribe-card .d-flex {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .btn-subscribe {
        width: 100%;
    }
}

/* Animation Classes */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

[data-aos="fade-right"] {
    animation: fadeInRight 0.6s ease forwards;
}

[data-aos="fade-left"] {
    animation: fadeInLeft 0.6s ease forwards;
}

           
           
           
           
:root {
    --royal-blue: #1e3c72;
    --royal-dark: #0a1a2e;
    --royal-light: #2a4a7a;
    --royal-accent: #b22234;
    --royal-white: #ffffff;
    --royal-gray: #f5f7fa;
    --royal-border: #e2e8f0;
    --royal-shadow: 0 10px 30px -10px rgba(0,0,0,0.2);
}

/* Header Styles */
.royal-header {
    background: linear-gradient(135deg, var(--royal-dark), var(--royal-blue));
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.header-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--royal-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header-title span {
    color: var(--royal-accent);
    position: relative;
    display: inline-block;
}

.header-title span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--royal-accent);
    transform: scaleX(0);
    animation: slideIn 1s ease forwards;
    animation-delay: 0.5s;
}

@keyframes slideIn {
    to { transform: scaleX(1); }
}

.header-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 15px;
    font-weight: 400;
}

.header-description {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(178,34,52,0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Container */
.royal-container {
    background: #f8fafc;
    min-height: 100vh;
    padding: 40px 0;
}

/* Search Section */
.search-section {
    margin-bottom: 40px;
    text-align: center;
}

.search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto 15px;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--royal-blue);
    font-size: 1.2rem;
    z-index: 2;
}

.royal-search {
    width: 100%;
    padding: 15px 20px 15px 50px;
    background: var(--royal-white);
    border: 2px solid var(--royal-border);
    border-radius: 50px;
    color: var(--royal-dark);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.royal-search:focus {
    outline: none;
    border-color: var(--royal-blue);
    box-shadow: 0 0 20px rgba(30,60,114,0.2);
}

.royal-search::placeholder {
    color: #a0aec0;
}

.search-results-count {
    color: var(--royal-dark);
    font-size: 0.95rem;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
    padding-left: 15px;
    font-weight: 500;
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--royal-border);
    border-top-color: var(--royal-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Product Card Grid */
.royal-row {
    margin: -12px;
}

.royal-col {
    padding: 12px;
}

/* Product Card */
.product-card {
    background: var(--royal-white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--royal-shadow);
    border: 1px solid var(--royal-border);
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(30,60,114,0.3);
    border-color: var(--royal-blue);
}

/* Product Image */
.product-image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: linear-gradient(45deg, #f8fafc, #e2e8f0);
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--royal-blue);
    color: var(--royal-white);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Product Details */
.product-details {
    padding: 20px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--royal-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6rem;
    line-height: 1.4;
}

.product-meta {
    margin-bottom: 12px;
}

.meta-item {
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item i {
    color: var(--royal-blue);
}

/* Product Price */
.product-price {
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.original-price {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.discount-price {
    color: var(--royal-accent);
    font-size: 1.3rem;
    font-weight: 700;
}

/* Buy Button */
.btn-buy-now {
    background: linear-gradient(145deg, var(--royal-blue), var(--royal-dark));
    color: var(--royal-white);
    border: none;
    padding: 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-buy-now:hover {
    background: linear-gradient(145deg, var(--royal-dark), var(--royal-blue));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30,60,114,0.3);
}

.btn-buy-now i {
    font-size: 1rem;
}

/* Pagination */
.royal-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
}

.page-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--royal-border);
    background: var(--royal-white);
    color: var(--royal-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-btn:hover:not(:disabled) {
    background: var(--royal-blue);
    color: var(--royal-white);
    border-color: var(--royal-blue);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(30,60,114,0.3);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f1f5f9;
}

.page-numbers {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-number {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--royal-border);
    background: var(--royal-white);
    color: var(--royal-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-number:hover,
.page-number.active {
    background: var(--royal-blue);
    color: var(--royal-white);
    border-color: var(--royal-blue);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(30,60,114,0.3);
}

.page-number.active {
    cursor: default;
    font-weight: 600;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--royal-dark);
}

.no-results i {
    font-size: 5rem;
    margin-bottom: 20px;
    color: var(--royal-blue);
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--royal-dark);
}

.no-results p {
    font-size: 1rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 992px) {
    .header-title {
        font-size: 2.8rem;
    }
    
    .header-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .header-title {
        font-size: 2.2rem;
    }
    
    .header-subtitle {
        font-size: 1.1rem;
    }
    
    .royal-header {
        padding: 60px 0 80px;
    }
    
    .page-numbers {
        gap: 5px;
    }
    
    .page-number {
        min-width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }
    
    .page-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .header-title {
        font-size: 1.8rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .header-description {
        font-size: 0.9rem;
    }
    
    .royal-col {
        padding: 8px;
    }
    
    .product-title {
        font-size: 1rem;
        min-height: 2.4rem;
    }
    
    .discount-price {
        font-size: 1.1rem;
    }
    
    .btn-buy-now {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .product-badge {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .pagination {
        gap: 10px;
    }
    
    .page-number {
        min-width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .page-btn {
        width: 35px;
        height: 35px;
    }
}
  
           
           
           
           
           
        /* Card container */
        .custom-block-wrap {
            background: linear-gradient(145deg, #b22234, #8b1a1a);
            border-radius: 1.2rem;
            box-shadow: 0 0.3rem 0.8rem rgba(0,0,0,0.1);
            transition: transform 0.2s, box-shadow 0.2s;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            height: 100%;
            border: 1px solid rgba(255,255,255,0.2);
        }
        .custom-block-wrap:hover {
            transform: translateY(-5px);
            box-shadow: 0 0.8rem 1.5rem rgba(178, 34, 52, 0.3);
        }

        /* Card header (red theme) */
        .card-header-red {
            background-color: #b22234; 
            padding: 1.5rem 1rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
        }

        .category-title {
            color: white;
            font-size: 1.3rem;
            font-weight: bold;
            margin-bottom: 0.75rem;
            min-height: 3rem;
        }

        .chapters-count {
            color: rgba(255,255,255,0.9);
            font-size: 1rem;
            margin-bottom: 1rem;
        }

        /* Subscribe button style */
        .btn-subscribe {
            display: inline-block;
            padding: 8px 25px;
            background-color: white;
            color: #b22234 !important;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .btn-subscribe:hover {
            background-color: #f0f0f0;
            transform: scale(1.05);
            border-color: #1e3c72;
            color: #1e3c72 !important;
        }

        /* Explore button - blue */
        .explore-btn {
            background-color: #1e3c72 !important;
            border-color: #1e3c72 !important;
            color: white !important;
            font-weight: 600;
            transition: all 0.3s;
        }
        .explore-btn:hover {
            background-color: #b22234 !important;
            border-color: #b22234 !important;
            transform: scale(1.02);
        }

        /* Mobile optimisations */
        @media (max-width: 768px) {
            .card-header-red {
                padding: 1rem 0.5rem;
            }
            .category-title {
                font-size: 1rem;
                min-height: 2.5rem;
            }
            .chapters-count {
                font-size: 0.85rem;
            }
            .btn-subscribe {
                padding: 6px 15px;
                font-size: 0.85rem;
            }
        }

        @media (max-width: 480px) {
            .category-title {
                font-size: 0.9rem;
            }
            .chapters-count {
                font-size: 0.75rem;
            }
            .btn-subscribe {
                padding: 5px 12px;
                font-size: 0.75rem;
            }
        }

        /* Grid column overrides */
        .col-6 {
            flex: 0 0 auto;
            width: 50%;
        }
        @media (min-width: 992px) {
            .col-lg-4 {
                flex: 0 0 auto;
                width: 33.33333333%;
            }
        }


/*---------------------------------------
  VOLUNTEER              
-----------------------------------------*/
.volunteer-section {
  background: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.volunteer-section::after {
  content: "";
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  bottom: -110px;
  right: -80px;
  width: 350px;
  height: 350px;
}

.volunteer-form {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 50px;
}

.volunteer-image {
  border-radius: 100%;
  display: block;
  margin: auto;
  width: 300px;
  height: 300px;
  object-fit: cover;
}

.volunteer-section .custom-block-body {
  max-width: 440px;
  margin: 0 auto;
}

.volunteer-section .custom-block-body p {
  line-height: 1.7;
}


/*---------------------------------------
  DONATE              
-----------------------------------------*/
.donate-section {
  background-image: url('../images/different-people-doing-volunteer-work.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding-top: 150px;
  padding-bottom: 150px;
}

.donate-form {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 50px;
}


/*---------------------------------------
  NEWS         
-----------------------------------------*/
.news-detail-header-section {
  background-image: url('../images/news/close-up-volunteer-oganizing-stuff-donation.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding-top: 150px;
  padding-bottom: 150px;
}

.news-block-top {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.news-block-two-col-image-wrap {
  border-radius: var(--border-radius-small);
  position: relative;
  overflow: hidden;
  width: 150px;
  margin-right: 20px;
}

.news-category-block {
  background: var(--secondary-color);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 10px 20px;
}

.news-category-block .category-block-link {
  color: var(--white-color);
  margin-right: 10px;
}

.news-block-info {
  padding-top: 10px;
  padding-bottom: 10px;
}

.news-block-title-link {
  color: var(--dark-color);
}

.news-detail-image {
  display: block;
  border-radius: var(--border-radius-medium);
}

blockquote {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-semibold);
  color: var(--site-footer-bg-color);
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 90px 50px 50px 50px;
  text-align: center;
}

blockquote::before {
  content: "“";
  color: var(--custom-btn-bg-color);
  font-size: 100px;
  line-height: 1rem;
  display: block;
}

.author-comment-link {
  font-size: var(--copyright-font-size);
  font-weight: var(--font-weight-semibold);
}

.search-form {
  margin-top: 20px;
}

.category-block,
.subscribe-form {
  margin-top: 40px;
  margin-bottom: 40px;
}

.category-block-link {
  font-size: var(--copyright-font-size);
  margin-top: 5px;
  margin-bottom: 5px;
}

.category-block-link:hover {
  color: var(--primary-color);
}

.badge {
  background: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  font-weight: var(--font-weight-normal);
  line-height: normal;
  padding-bottom: 2px;
}

.tags-block-link {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-medium);
  display: inline-block;
  font-size: var(--copyright-font-size);
  line-height: normal;
  margin-right: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 8px 15px;
}

.tags-block-link:hover {
  border-color: var(--dark-color);
  color: var(--dark-color);
}

.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: -100px;
  left: -30px;
  margin: auto;
  width: 200px;
  height: 200px;
}

.cta-section::after {
  content: "";
  border: 20px solid var(--custom-btn-bg-color);
  border-radius: 50%;
  position: absolute;
  bottom: -100px;
  right: 0;
  left: 0;
  margin: auto;
  width: 150px;
  height: 150px;
}


/*---------------------------------------
  TESTIMONIAL CAROUSEL              
-----------------------------------------*/
.testimonial-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.testimonial-section::before {
  content: "";
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: -100px;
  left: -30px;
  margin: auto;
  width: 250px;

}

.testimonial-section::after {
  content: "";
  background: var(--custom-btn-bg-color);
  border-radius: 50%;
  position: absolute;
  bottom: -110px;
  right: -80px;
  width: 350px;
  height: 350px;
}

#testimonial-carousel .carousel-caption {
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
}

#testimonial-carousel .carousel-title {
  background: var(--section-bg-color);
  line-height: normal;
  margin-bottom: 30px;
}

#testimonial-carousel .carousel-title::before {
  content: open-quote;
  color: var(--p-color);
  font-size: var(--h1-font-size);
  position: relative;
  top: 10px;
  right: 10px;
}

#testimonial-carousel .carousel-title::after {
  content: close-quote;
  color: var(--p-color);
  font-size: var(--h1-font-size);
  position: relative;
  top: 10px;
  left: 10px;
}

#testimonial-carousel .carousel-title {
  quotes: "“" "”" "‘" "’";
}

#testimonial-carousel .carousel-name {
  background: var(--primary-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 10px 20px;
}

#testimonial-carousel .carousel-name::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 0;
  left: 0;
  width: 0;
  height: 0;
  margin: auto;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--primary-color);
}

.carousel-name-title {
  font-weight: var(--font-weight-semibold);
}

#testimonial-carousel .carousel-indicators {
  position: relative;
  top: 150px;
  bottom: auto;
  margin-top: 50px;
  margin-bottom: 150px;
}

#testimonial-carousel .carousel-indicators li {
  text-indent: inherit;
  background: transparent;
  margin: 0 10px; 
}

#testimonial-carousel .carousel-indicators li,
#testimonial-carousel .carousel-indicators li::before {
  width: 45px;
  height: 45px; 
}

#testimonial-carousel .carousel-indicators .avatar-image {
  width: 45px;
  height: 45px; 
}

#testimonial-carousel .carousel-indicators .active,
#testimonial-carousel .carousel-indicators .active .avatar-image {
  background: transparent;
  width: 50px; 
  height: 50px;
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-section {
  background: var(--white-color);
}

.contact-form {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  padding: 40px;
}

.contact-info-wrap {
  padding-top: 40px;
}

.contact-image-wrap {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  width: 100%;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control,
.input-group-file {
  background-color: var(--section-bg-color);
  box-shadow: none;
  border: 0;
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  outline: none;
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
  border-color: var(--secondary-color);
}

.custom-form label {
  margin-bottom: 10px;
}

.custom-form .form-check-group {
  margin-bottom: 20px;
}

.donate-form .form-check-group-donation-frequency {
  padding-right: 0;
}

.form-check-group-donation-frequency + .form-check-group-donation-frequency {
  padding-right: 12px;
  padding-left: 0;
}

.form-check-group-donation-frequency .form-check-label {
  font-weight: var(--font-weight-semibold);
}

#DonationFrequencyOne {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#DonationFrequencyMonthly {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.custom-form .form-check-radio {
  position: relative;
  height: 100%;
  padding-left: 0;
}

.custom-form .input-group-text {
  background: var(--secondary-color);
  border: 0;
  color: var(--white-color);
}

.custom-form .form-check-radio .form-check-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.form-check-radio .form-check-input[type=radio] {
  background-color: var(--section-bg-color);
  border-radius: .25rem;
  border: 0;
  box-shadow: none;
  outline: none;
  width: 100%;
  margin-top: 0;
  margin-left: 0;
  padding: 25px 50px;
  transition: all 0.5s;
}

.form-check-radio .form-check-input:checked[type=radio] {
  background-image: none;
}

.form-check-radio .form-check-input:checked[type=radio] + .form-check-label,
.form-check-radio .form-check-input:hover + .form-check-label,
.form-check-radio .form-check-input:checked + .form-check-label {
  color: var(--white-color);
}

.form-check-radio .form-check-input:hover,
.form-check-radio .form-check-input:checked {
  background-color: var(--secondary-color);
  border-color: var(--white-color);
}

.input-group-file {
  border-radius: .25rem;
  padding: 13px .75rem;
}

.input-group-file input[type=file] {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
  padding: 0;
}

.input-group-file .input-group-text {
  background: transparent;
  color: inherit;
  margin-bottom: 0;
  padding: 0;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}


/*---------------------------------------
  CONTACT SEARCH & DONATE & SUBCRIBE FORM              
-----------------------------------------*/
.contact-form .form-control {
  background: var(--white-color);
}

.search-form {
  position: relative;
}

.search-form .form-control {
  padding-right: 50px;
}

.search-form button[type="submit"] {
  background: transparent;
  position: absolute;
  top: 0;
  right: 0;
  color: var(--p-color);
  width: 50px;
  padding: 12px;
}

.search-form button[type="submit"]:hover {
  background: transparent;
  color: var(--dark-color);
}

.subscribe-form {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  padding: 30px;
}

.subscribe-form .form-control {
  background: var(--white-color);
}

.donate-form .form-control {
  margin-bottom: 0;
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background-color: var(--site-footer-bg-color);
  padding-top: 70px;
}

.site-footer-bottom {
  background-color: var(--secondary-color);
  position: relative;
  z-index: 2;
  margin-top: 70px;
  padding-top: 25px;
  padding-bottom: 25px;
}

.site-footer-bottom a {
	color: var(--white-color);
}

.site-footer-bottom a:hover {
	color: #FF6;
}

.site-footer-link {
  color: var(--white-color);
}

.copyright-text {
  color: var(--section-bg-color);
  font-size: var(--copyright-font-size);
  margin-right: 30px;
}

.site-footer .custom-btn {
  font-size: var(--copyright-font-size);
}

.site-footer .custom-btn:hover {
  background: var(--primary-color);
}


/*---------------------------------------
  FOOTER MENU               
-----------------------------------------*/
.footer-menu {
  column-count: 2;
  margin: 0;
  padding: 0;
}

.footer-menu-item {
  list-style: none;
  display: block;
}

.footer-menu-link {
  font-size: var(--p-font-size);
  color: var(--white-color);
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 5px;
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--site-footer-bg-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  display: block;
  margin-right: 5px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 38px;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}






@media (max-width:768px){

#hero-slide .carousel-item{
height:auto !important;
min-height:auto !important;
}

#hero-slide .carousel-inner{
height:auto !important;
}

#hero-slide .carousel-image{
width:100% !important;
height:auto !important;
min-height:auto !important;
object-fit:contain !important;
}

.hero-section{
padding:0;
margin:0;
}

}






/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .featured-block {
    min-height: inherit;
  }

  .volunteer-section::after {
    width: 450px;
    height: 450px;
  }
  
  .volunteer-image {
    width: 350px;
    height: 350px;
  }
}

@media screen and (max-width: 1170px) {
  #hero-slide .carousel-image {
    height: 100%;
    object-fit: cover;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 10px;
  }

  .hero-form {
    padding-bottom: 40px;
  }

  .donate-form {
    padding: 35px;
  }

  .navbar {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 30px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 8px 20px;
  }
  
  .dropdown:hover .dropdown-menu {
    display: block;
    position: relative;
    margin-top: 5px;
    margin-bottom: 20px;
    left: 20px;
  }

  .site-header .social-icon {
    text-align: left;
    margin-top: 5px;
  }

  .hero-section-full-height {
    height: inherit;
  }

  .carousel:hover .carousel-control-next-icon, 
  .carousel:hover .carousel-control-prev-icon {
    opacity: 1;
  }

  #hero-slide .carousel-item {
    height: inherit;
  }

  .carousel-control-prev {
    left: 12px;
  }

  .carousel-control-next {
    right: 12px;
  }

  .carousel-control-next-icon, 
  .carousel-control-prev-icon {
    opacity: 1;
    width: 60px;
    height: 60px;
  }

  .news-detail-header-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .cta-section::before {
    width: 150px;
    height: 150px;
  }

  .cta-section::after {
    bottom: -60px;
    width: 100px;
    height: 100px;
  }

  .cta-section .row {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .volunteer-section::after {
    width: 300px;
    height: 300px;
  }

  .testimonial-section::before {
    width: 150px;
    height: 150px;
  }

  .testimonial-section::after {
    width: 200px;
    height: 200px;
  }

  #testimonial-carousel .carousel-caption {
    padding-top: 0;
  }

  blockquote {
    padding: 70px 30px 30px 30px;
  }

  .about-image {
    width: inherit;
    height: 450px;
  }

  .volunteer-image {
    width: 250px;
    height: 250px;
    margin: 0;
  }

  .custom-text-block {
    padding: 20px 0 0 0;
  }

  .custom-text-box,
  .volunteer-form {
    padding: 30px;
  }

  .counter-number, 
  .counter-number-text {
    font-size: var(--h2-font-size);
  }

  .contact-info-wrap {
    padding-top: 0;
  }

  .site-footer {
    padding-top: 50px;
  }

  .copyright-text-wrap {
    justify-content: center;
  }

  .site-footer-bottom {
    text-align: center;
    margin-top: 50px;
  }

  .site-footer-bottom .footer-menu {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 580px) {
  .hero-section-full-height,
  #hero-slide .carousel-item,
  .carousel-image {
    min-height: 520px;
  }

  #hero-slide .carousel-caption {
    clip-path: polygon(100% 100%, 100% 100px, 0 100%);
    padding-right: 50px;
    min-width: inherit;
    min-height: inherit;
  }
}



@media screen and (max-width: 480px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }

  #hero-slide .carousel-caption {
    min-width: inherit;
    padding-bottom: 30px;
  }

  .carousel-control-next-icon, 
  .carousel-control-prev-icon {
    width: 45px;
    height: 45px;
  }

  .volunteer-image {
    width: 150px;
    height: 150px;
  }

  .volunteer-section::after {
    width: 200px;
    height: 200px;
  }

  .testimonial-section::before {
    top: -50px;
    width: 100px;
    height: 100px;
  }

  .testimonial-section::after {
    bottom: -150px;
    width: 200px;
    height: 200px;
  }

  .social-share .tags-block {
    margin-bottom: 10px;
  }

  .donate-form {
    padding: 25px;
  }
  

}

