@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Merriweather:wght@300;400;700&display=swap');

h1, h2, h3 {
  font-family: "Playfair Display", serif;
}

p {
  font-family: "Merriweather", serif;
}

h1{
    font-size: 60px;
}
h2{
    font-size: 35px;
}


@media (min-width: 1200px){
  #custom-home .container{ max-width: 1400px; }
  .custom-header .container{ max-width: 1400px; }
  .custom-footer .container{ max-width: 1400px; }
  #custom-about .container{ max-width: 1400px; }
}

.custom-header i.fa-solid.fa-user{
    margin-right: 10px;
}

/* Fixing the theme issue */


.header-container{
    display: block !important;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
}

.header-button{
    background-color: rgba(119, 74, 136, 1) !important;
}

#custom-home .hero-banner{
    background-image: url('/assets/default/img/hero.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 500px;
}

#custom-home .hero-overlay {
      border-radius: 20px;


  background: rgba(255, 255, 255, 0.20);

 
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);


  border: 1px solid rgba(255, 255, 255, 0.35);


  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    min-height: 500px;
    margin-top: 100px;
}
.hero-button{
     background-color: rgba(119, 74, 136, 1);
}

.logo{
    border-radius: 10px;

}
.program-content h2{
    background-image: url('/assets/default/img/heading-bg.png');
    background-size: cover;
    color: #774A88;
}
.training-program .content{
    border-radius: 10px;
    border: 2px solid black;
}
.navbar-nav a{
    font-size: 14px !important;
}

.training-program{
    margin-top: 50px;
}


.david-herbal-world h2{
    background-image: url('/assets/default/img/custom_layout/heading-bg-2.png');
    background-size: cover;
    color: #546D46;
}
.david-herbal-world p{
    color: #77498A;
}
.david-herbal-world button a{
    color: #77498A !important;
    border-color: #020202;
}

.upcoming-events{
        background-image: url('/assets/default/img/custom_layout/events.png');
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 20px 20px 0 0;
        min-height: 550px;
}

.our-philosophy h2{
    background-image: url('/assets/default/img/custom_layout/heading-bg-2.png');
    background-size: cover;
    color: #546D46;
}


.events-overlay{
    width: 1200px;
    position: relative;
    min-height: 350px;

  /* Fill: black @ 20% */
  background: rgba(0,0,0,0.20);

  /* Rounded corners (adjust if needed) */
  border-radius: 30px 30px 0 0;

  /* Background blur */
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);

  /* Fallback simple stroke */
  border: 0.84px solid rgba(0, 0, 0, 0.35);
}



/* event slider css */


.swiper {
      width: 100%;
      height: 100%;
    }

/* Style your custom buttons */
.events-next,
.events-prev {
    
    color: #fff;
    font-size: 22px;
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top:45%;
    z-index: 2;
}
.events-next{
  right: 2%;
}
.events-prev{
  left: 2% !important;
}



/* Philosophy Section */


.our-philosophy {
    width: 1000px !important;
}

/* Testimonial Section */


.testimonials{
    background-image: url('/assets/default/img/custom_layout/testimonials.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 600px;
    overflow: hidden;
}

.stars{
    color: #E9C25D;
}
.testimonials .content{
    padding:80px;
}
.testimonials-button-next , .testimonials-button-prev{
    color: black;
    font-size: 22px;
    width: 40px;
    height: 40px;
    background: #F0F0F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Our Faculty Section */

.faculty{
    background-image: url('/assets/default/img/custom_layout/faculty-bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding:50px 0;
}



.faculty h2{
    background-image: url('/assets/default/img/custom_layout/heading-bg.png');
    background-size: cover;
    color: #774A88;
}


.faculty-next,
.faculty-prev {
    color: #fff;
    font-size: 22px;
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top:50%;
    z-index: 2;
}

.faculty-next{
  right: 2%;
}

.faculty-prev{
  left: 2%;
}

.faculty span{
    color: #774A88;
    font-weight: bold;
    height: 40px;
}


.faculty p{
    color:rgba(0, 0, 0, 0.6);
}
.faculty-icon{
    color:#774A88;
    font-size: 20px;
}

.our-faculty-slider .content{
    background-color: white;
}


/* Herbal Marketplace section */

.herbal-marketplace h2{

    background-image: url('/assets/default/img/custom_layout/heading-bg-2.png');
    background-size: cover;
    color: #546D46;

}

.herbal-marketplace .column{
    border: 4px solid #774A88;
    border-radius:5px;
    position: relative;
    overflow: hidden;
}

.herbal-marketplace h3{
    font-weight: 500;
    color: #774A88;
}

.add-btn {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    width: 300px;
}

 .column:hover .add-btn {
    opacity: 1;
}


    /* Contact Us Section */

.contact-us{

    background-image: url('/assets/default/img/custom_layout/contact-us.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 800px;
}

.contact-us h2{

    font-size:45px;
}

.contact-input{
      background: rgba(255,255,255,.95);
      border: 0;
      border-radius: 0;
      padding: 18px 16px;
      height: 56px;
      box-shadow: none;
    }

.btn-send{
      border: 2px solid #fff;
      background: transparent;
      border-radius: 0;
      padding: 12px 34px;
      letter-spacing: .5px;
    }


/* Library Section */

.library-section{
    background-image: url('/assets/default/img/library.png');
    background-size: cover;
    background-position: top;
    min-height: 920px;

}

.library-section h2{
    background-image: url('/assets/default/img/custom_layout/heading-bg.png');
    background-size: cover;
    color: #774A88;
}

.library-section .nav-buttons a{
    font-size:12px;
    font-weight: bold;
    color:#774A88;
}

.accordian-nav .active {
    background-color: rgba(119, 74, 136, 1) !important;
    color:white !important;
}

.accordian-content h3{
    color:#774A88;
    margin-top: 30px !important;
}
.accordian-content p{
    border-bottom:solid 1px #BABABA;
    padding-bottom: 30px;
    margin-bottom:20px;
    font-size: 16px;
    color: #515151;
}
/* 
Bottom Section */

.bottom-section{
    background-image: url("/assets/default/img/bottom.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 600px;
}


.bottom-overlay{
    width: 1200px;
    position: relative;
    min-height: 350px;

    /* Fill: black @ 20% */
    background: rgba(0,0,0,0.20);

    /* Rounded corners (adjust if needed) */
    border-radius: 30px 30px 0 0;

    /* Background blur */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    /* Fallback simple stroke */
    border: 0.84px solid rgba(0, 0, 0, 0.35);
}

.bottom-section h2{
    font-size:45px;
}

.bottom-section p{
    font-weight: 500;
}


/* Footer styling */

.custom-footer{
    min-height:350px;
}

.custom-footer h3{
    font-size:16px;
    margin-bottom:20px;
}

.custom-footer p , .custom-footer ul{
    font-size:14px;
    margin-bottom:10px;
}

.custom-footer li{
    margin:10px 0;
}

.newsletter-form {
    background-color: #7b4a8e;
    border-radius: 6px;
    overflow: hidden;
}

.newsletter-input {
    font-size: 12px;
    flex: 1;
    border: none;
    padding: 14px 10px;
    background-color: #7b4a8e;
    color: #fff;
    outline: none;
}

.newsletter-input::placeholder {
    color: #e6d7ec;
}

.newsletter-btn {
    font-size: 11px;
    background-color: transparent;
    border: 2px solid #7b4a8e;
    padding: 0 20px;
    font-weight: 600;
    color: #7b4a8e;
    background-color: #fff;
    transition: 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #f3e9f7;
}

.custom-footer .container{
    border-bottom: 1px solid #774A88;
 }

 /* Button Animation */

.btn-grow{
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-grow:hover {
  transform: scale(1.08);
}


/* Dropdown login styling */

/* dropdown arrow */
.dropdown-menu:after {
    content: "";
    position: absolute;
    top: -10px;
    left: 290px !important;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
}

/* remove bootstrap hover */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus{
    background: transparent !important;
    color: inherit !important;
}

.dropdown-menu{
    border-radius: 20px;
    padding: 12px 0;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.dropdown-item{
    padding: 10px 20px;
}

/* Footer Responsive */

.custom-footer .footer-logo {
    max-width: 220px;
}

.custom-footer h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.custom-footer ul {
    padding: 0;
    margin: 0;
}

.custom-footer ul li {
    list-style: none;
    margin-bottom: 10px;
}

.custom-footer ul li a,
.custom-footer p,
.custom-footer li {
    word-break: break-word;
}

.custom-footer .newsletter-form {
    gap: 12px;
}

.custom-footer .newsletter-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid #ccc;
    outline: none;
}

.custom-footer .newsletter-btn {
    min-height: 48px;
    padding: 12px 20px;
    white-space: nowrap;
    border: none;
}

.custom-footer .footer-icons i {
    font-size: 18px;
}

.custom-footer .copyright p {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 12px;
}

@media (max-width: 991.98px) {
    .custom-footer {
        text-align: left;
    }

    .custom-footer .footer-logo {
        max-width: 180px;
    }
}

@media (max-width: 767.98px) {
    .custom-footer {
        padding-top: 40px;
    }

    .custom-footer .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .custom-footer .row > div {
        margin-bottom: 10px;
    }

    .custom-footer h3 {
        font-size: 16px;
    }

    .custom-footer .newsletter-form {
        flex-direction: column !important;
    }

    .custom-footer .newsletter-btn {
        width: 100%;
    }

    .custom-footer .footer-logo {
        display: block;
        margin: 0 auto;
    }

    .custom-footer .footer-icons {
        justify-content: center !important;
    }

    .custom-footer .copyright {
        margin-top: 10px;
    }
}

/* Herbal Section */

@media (max-width: 767.98px) {
    .herbal-marketplace h2 {
        font-size: 28px;
    }

    .herbal-marketplace .column {
        margin: 0 !important;
    }

    .herbal-marketplace .add-btn {
        width: 100%;
        text-align: center;
    }
}

/* Contact Section */

@media (max-width: 991.98px) {
    .contact-us {
        padding: 50px 0;
    }
}

@media (max-width: 767.98px) {
    .contact-us h2 {
        font-size: 30px;
    }

    .contact-us .btn-send {
        width: 100%;
    }

    .contact-us .row {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Banner Section */

@media (max-width: 991.98px) {
    .hero-banner {
        min-height: auto !important;
        padding: 80px 0 60px;
    }

    .hero-banner .hero-overlay {
        padding: 30px 20px;
    }

    .hero-banner h1 {
        font-size: 42px;
        line-height: 1.2;
    }
}

@media (max-width: 767.98px) {
    .hero-banner {
        padding: 70px 0 50px;
    }

    .hero-banner .hero-overlay {
        padding: 20px 15px;
    }

    .hero-banner h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-banner p {
        font-size: 15px;
    }

    .hero-banner .hero-button {
        width: 100%;
        text-align: center;
        white-space: normal;
    }
}

/* Training Program */


@media (max-width: 991.98px) {
    .training-program {
        padding: 50px 20;
    }

    .training-program .program-content h2 {
        font-size: 32px;
        line-height: 1.3;
    }
}

@media (max-width: 767.98px) {
    .training-program .program-content {
        padding: 20px 25px !important;
    }

    .training-program .program-content h2 {
        font-size: 26px;
        line-height: 1.3;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .training-program .program-content p {
        font-size: 15px;
    }
}

/* David Herbal World Section */

@media (max-width: 991.98px) {
    .david-herbal-world h2 {
        font-size: 32px;
        line-height: 1.3;
    }
}

@media (max-width: 767.98px) {
    .david-herbal-world {
        padding: 40px 0;
    }

    .david-herbal-world h2 {
        font-size: 26px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .david-herbal-world p {
        font-size: 15px;
    }

    .david-herbal-world .buttons a {
        width: 100%;
        text-align: center;
    }
}

/* Swiper Section */

@media (max-width: 991.98px) {
    .upcoming-events {
        padding: 60px 0;
    }

    .upcoming-events .events-overlay {
        padding: 30px 20px !important;
    }

    .upcoming-events h2 {
        font-size: 36px;
        line-height: 1.2;
    }
}

@media (max-width: 767.98px) {
    .upcoming-events {
        padding: 50px 0;
    }

    .upcoming-events .events-overlay {
        padding: 20px 15px !important;
    }

    .upcoming-events h2 {
        font-size: 28px;
        line-height: 1.25;
    }

    .upcoming-events p {
        font-size: 15px;
    }

    .upcoming-events .buttons a {
        width: 100%;
        text-align: center;
        margin: 8px 0 !important;
    }

    .upcoming-events .events-prev,
    .upcoming-events .events-next {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Our Philosophy Section */

@media (max-width: 991.98px) {
    .our-philosophy h2 {
        font-size: 32px;
        line-height: 1.3;
    }
}

@media (max-width: 767.98px) {
    .our-philosophy h2 {
        font-size: 26px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .our-philosophy p {
        font-size: 15px;
    }

    .our-philosophy .btn {
        width: 100%;
        text-align: center;
    }
}

/* Testimonials Section */

@media (max-width: 991.98px) {
    .testimonials {
        padding: 50px 0;
    }

    .testimonials h2 {
        font-size: 32px;
    }
}

@media (max-width: 767.98px) {
    .testimonials {
        padding: 40px 0;
    }

    .testimonials .content{
        padding: 10px;
    }

    .testimonials h2 {
        font-size: 26px;
    }

    .testimonials p {
        font-size: 15px;
    }

    .testimonials .btn {
        width: 100%;
        text-align: center;
    }

    .testimonials .slide {
        padding: 20px !important;
    }

    .testimonials .slide img {
        max-width: 70px;
        height: auto;
    }

    .testimonials .testimonials-button-prev,
    .testimonials .testimonials-button-next {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Our Faculty Section */


@media (max-width: 991.98px) {
    .faculty {
        padding: 50px 0;
    }

    .faculty h2 {
        font-size: 32px;
    }
}

@media (max-width: 767.98px) {
    .faculty {
        padding: 40px 0;
    }

    .faculty h2 {
        font-size: 26px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .faculty p {
        font-size: 15px;
    }

    .faculty .slide .content {
        padding: 20px !important;
    }

    .faculty .faculty-icon {
        gap: 10px;
    }

    .faculty .faculty-prev,
    .faculty .faculty-next {
        width: 36px;
        height: 36px;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Bottom Section */

@media (max-width: 991.98px) {
    .bottom-section {
        padding: 50px 0;
    }

    .bottom-section h2 {
        font-size: 32px;
    }
}

@media (max-width: 767.98px) {
    .bottom-section {
        padding: 40px 0;
    }

    .bottom-section .bottom-overlay {
        padding: 20px 15px;
    }

    .bottom-section h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    .bottom-section p {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* Library Section */

@media (max-width: 767.98px) {
    .library-section h2 {
        font-size: 26px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .library-section .nav-buttons a {
        width: 100%;
        text-align: center;
    }

    .library-section .tab-pane h3 {
        font-size: 18px;
    }

    .library-section .tab-pane p {
        font-size: 14px;
    }
}


    /* 
    About Page 
    */


#custom-about .hero-banner{
    background-image: url('/assets/default/img/Rectangle 23 (1).png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 500px;
}

#custom-about .hero-overlay {
      border-radius: 20px;


  background: rgba(255, 255, 255, 0.20);

 
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);


  border: 1px solid rgba(255, 255, 255, 0.35);


  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    min-height: 300px;
    margin-top: 100px;
}

.about-our-program{
    margin-top: 50px;
}

.about-our-program .content{
    border-radius: 10px;
    border: 2px solid black;
}