@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; }
  #herbalist-training-page  .container{ max-width: 1400px; } 
  #resources-page .container{ max-width: 1400px; } 
  #herbalstore-page .container{ max-width: 1400px; }
  #david-event .container { max-width: 1400px; }
  #faculty-events-page .container { max-width: 1400px; }
  #contactus-page .container { max-width: 1400px; }
  #herbalstore-page .container { max-width: 1400px; }
  #alumni-page .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/custom_layout/aboutbanner.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;
}


/* ========================================
   HERBAL TRAINING PAGE
======================================== */

#herbalist-training-page .hero-banner{
    background-image: url('/assets/default/img/custom_layout/aboutbanner.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 500px;
}

#herbalist-training-page .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;
}



.herbal-training-section {
    background-image: url('/assets/default/img/library.png');
    background-size: cover;
    background-position: top;
    min-height: 920px;
}


/* Heading */

.herbal-training-section h2 {
    background-image: url('/assets/default/img/custom_layout/heading-bg.png');
    background-size: cover;
    color: #774A88;
}


/* ========================================
   NAVIGATION
======================================== */

.herbal-training-nav-wrap {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 15px;
    border: 3px solid #774a88;
    border-radius: 100px;
    padding:10px;
}


/* Library button stays on the left */

.herbal-library-button {
    background-color: #A476B5;
    color: #fff !important;
    border: 1px solid #A476B5;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 18px;
    white-space: nowrap;

    flex: 0 0 auto;

    position: sticky;
    left: 0;
    z-index: 3;
}

.herbal-library-button:hover {
    background-color: #774A88;
    border-color: #774A88;
    color: #fff !important;
}

/* tabs radius */


.herbal-training-nav-wrap a{
    border-radius:30px;
}

/* Existing tabs */

.herbal-training-section .nav-buttons {
    flex: 1;
}

.herbal-training-section .nav-buttons a {
    font-size: 11px;
    font-weight: bold;
    color: #774A88;
}


/* Active tab */

.herbal-training-section .accordian-nav .active {
    background-color: rgba(119, 74, 136, 1) !important;
    color: white !important;
}


/* ========================================
   TAB CONTENT
======================================== */

.herbal-training-section .accordian-content h3 {
    color: #774A88;
    margin-top: 30px !important;
}

.herbal-training-section .accordian-content p {
    border-bottom: solid 1px #BABABA;
    padding-bottom: 30px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #515151;
}


/* ========================================
   APPLY TODAY
======================================== */

.apply-today-wrap {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.apply-today-button {
    background-color: #A476B5;
    color: #fff !important;
    border-radius: 4px;
    padding: 18px 45px;
    font-family: Georgia, serif;
    font-size: 22px;
    text-transform: none;
    min-width: 330px;
}

.apply-today-button:hover {
    background-color: #774A88;
    color: #fff !important;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 991px) {

    .herbal-training-nav-wrap {
        flex-direction: column;
    }

    .herbal-library-button {
        position: relative;
        left: auto;
    }

    .herbal-training-section .nav-buttons {
        width: 100%;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

    .herbal-training-section {
        min-height: auto;
    }

    .herbal-training-section .nav-buttons {
        flex-direction: column;
    }

    .herbal-training-section .nav-buttons a {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .herbal-library-button {
        width: 100%;
        white-space: normal;
    }

    .apply-today-button {
        width: 100%;
        min-width: 0;
    }

}

    /* 
    Resources Page 
    */


#resources-page .hero-banner{
    background-image: url('/assets/default/img/custom_layout/resources.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 500px;
}

#resources-page  .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;
}


.resources-h {
    width: 100%;
    text-align: center;
}

.resources-h h2 {
    display: inline-flex !important;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;

    background-image: url("/assets/default/img/custom_layout/heading-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    color: #774A88;
    white-space: nowrap;
}




    /* 
    Herbal Store Page 
    */


#herbalstore-page .hero-banner{
    background-image: url('/assets/default/img/custom_layout/herbalstore.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 500px;
}

#herbalstore-page  .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;
}


/* David's Event */



#david-event .hero-banner{
    background-image: url('/assets/default/img/custom_layout/davidendbanner.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 500px;
}

#david-event .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;
}



.davidsevents-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);
}


/* David's Event One*/

.davids-events-one{
        background-image: url('/assets/default/img/custom_layout/davidevent.png');
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 20px 20px 0 0;
        min-height: 550px;
        margin:50px 0px;
}




/* David's Event Two*/

.davids-events-two{
        background-image: url('/assets/default/img/custom_layout/davidevent2.png');
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 20px 20px 0 0;
        min-height: 550px;
        margin:50px 0px;

}




/* David's Event Three*/

.davids-events-three{
        background-image: url('/assets/default/img/custom_layout/davidevent3.png');
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 20px 20px 0 0;
        min-height: 550px;
        margin:50px 0px;
}

/* =========================================
   DAVID EVENTS TESTIMONIAL SLIDER
========================================= */


.davids-event-h {
    width: 100%;
    text-align: center;
}

.davids-event-h h2 {
    display: inline-flex !important;
    width: fit-content;
    align-items: center;
    justify-content: center;

    margin: 50px auto 0 !important;
    padding: 6px 18px;

    background-image: url("/assets/default/img/custom_layout/heading-bg-2.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    color: #774A88;
    white-space: nowrap;
}


#david-event .swiper {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

#david-event .swiper-wrapper {
    display: flex;
    align-items: stretch;
    box-sizing: content-box;
}

#david-event .swiper-slide {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

#david-event .testimonials-slider .swiper-wrapper {
    align-items: stretch;
}

#david-event .testimonials-slider .swiper-slide {
    height: auto;
}

#david-event .testimonials-button-prev,
#david-event .testimonials-button-next {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #1d1d1d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    line-height: 1;
    user-select: none;
    z-index: 20;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

#david-event .testimonials-button-prev:hover,
#david-event .testimonials-button-next:hover {
    transform: scale(1.06);
}

#david-event .testimonials-button-prev i,
#david-event .testimonials-button-next i {
    color: #1d1d1d !important;
    font-size: 17px;
    line-height: 1;
}

#david-event .swiper-button-disabled {
    opacity: 0.4;
    pointer-events: none;
}


/* Faculty Event */



#faculty-events-page .hero-banner{
    background-image: url('/assets/default/img/custom_layout/facultyeventbanner.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 500px;
}

#faculty-events-page .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;
}




/* Faculty Events Heading */

#david-event .davids-event-h {
    width: 100%;
    text-align: center;
}

#david-event .davids-event-h h2 {
    display: inline-flex !important;
    width: fit-content;
    align-items: center;
    justify-content: center;

    margin-top: 50px !important;
    padding: 6px 18px;

    background-image: url("/assets/default/img/custom_layout/heading-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    color: #774A88;
    white-space: nowrap;
}




/* Medicinal Plants Event Section */

.medicinal-plants-event{
    margin-bottom:50px;
}


.medicinal-plants-event .content {
    border: 2px solid #81528f;
    border-radius: 3px;
    background: #ffffff;
}

.medicinal-plants-event .event-speaker {
    color: #222222;
    font-size: 18px;
    font-weight: 500;
}

.medicinal-plants-event h2 {
    color: #a06da7;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.2;
}

.medicinal-plants-event .event-date {
    color: #718658;
    font-size: 20px;
    font-weight: 500;
}

.medicinal-plants-event p {
    line-height: 1.7;
}

.medicinal-plants-event .program-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 3px;
}

@media (max-width: 767px) {

    .medicinal-plants-event .program-image img {
        height: auto;
    }
}

/* Contact Us */

#contactus-page .hero-banner{
    background-image: url('/assets/default/img/custom_layout/contactusbanner.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 500px;
}

#contactus-page .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;
}

/* =========================================
   CONTACT INFORMATION SECTION
========================================= */

.contact-info-section {
    padding: 50px 0;
}

.contact-info-wrapper {
    padding: 18px;
    border-radius: 14px;
    background: linear-gradient(
        100deg,
        #6f895f 0%,
        #747768 38%,
        #775186 100%
    );
}

.contact-info-card {
    min-height: 165px;
    padding: 20px 18px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 7px;
    color: #ffffff;
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.contact-info-icon {
    height: 42px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-info-icon i {
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
}

.contact-info-card h4 {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-info-card p,
.contact-info-card a {
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
}

.contact-info-card a:hover {
    color: #ffffff;
}

@media (max-width: 767px) {
    .contact-info-section {
        padding: 35px 0;
    }

    .contact-info-wrapper {
        padding: 15px;
    }

    .contact-info-card {
        min-height: auto;
    }
}



/* Alumni Page */


#alumni-page .hero-banner{
    background-image: url('/assets/default/img/custom_layout/alumnibanner.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 500px;
}

#alumni-page .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;
}

/* =========================================
   ALUMNI UPDATES TABS
========================================= */

.alumni-updates-section {
    position: relative;
    overflow: hidden;
    background: #f1f1f1;
}

.alumni-updates-heading {
    width: fit-content;
    margin: 0 auto;
    background-image: url("/assets/default/img/custom_layout/heading-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    color: #774A88;
    font-size: 34px;
    line-height: 1.2;
}


/* Tabs */

/* Alumni Updates Section */

.alumni-updates-section {
    background-image: url('/assets/default/img/custom_layout/alumni-bg.png');
    background-size: cover;
    background-position: top;
    min-height: 650px;
}

.alumni-updates-section h2 {
    background-image: url('/assets/default/img/custom_layout/heading-bg.png');
    background-size: cover;
    color: #774A88;
}

.alumni-updates-section .alumni-nav-buttons a {
    font-size: 12px;
    font-weight: bold;
    color: #774A88;
}

/* SAME ACTIVE COLOR AS EXISTING ACCORDION */
.alumni-accordian-nav .active {
    background-color: rgba(119, 74, 136, 1) !important;
    color: white !important;
}

.alumni-accordian-content h3 {
    color: #774A88;
    margin-top: 30px !important;
}

.alumni-accordian-content p {
    border-bottom: solid 1px #BABABA;
    padding-bottom: 30px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #515151;
}

.alumni-view-more {
    background-color: rgba(119, 74, 136, 1);
    color: white !important;
    font-size: 12px;
    font-weight: bold;
    border-radius: 0;
}

.alumni-view-more:hover {
    background-color: #5f3a70;
    color: white !important;
}




/* Second Header Styling */


/* ==================================================
   SECOND HEADER — SOLID INNER-PAGE HEADER
================================================== */

nav.second-header {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    width: 100%;
    z-index: 1000;

    background-color: #ffffff !important;
    background-image: none !important;

    border-bottom: none;
    box-shadow: none;

    opacity: 0;
    transform: translateY(-18px);
    animation: secondHeaderEntrance 0.5s ease forwards;
}

/* Smooth header entrance */
@keyframes secondHeaderEntrance {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keep exactly the same header sizing */
nav.second-header .header-container {
    position: relative;
}

/* Ensure navigation text remains dark */
nav.second-header .nav-link {
    color: #242424 !important;
}

/* Navigation hover */
nav.second-header .nav-link:hover,
nav.second-header .nav-link:focus {
    color: #6f8155 !important;
}

/* Active inner-page menu link */
nav.second-header .nav-link.active {
    color: #6f8155 !important;
    font-weight: 600;
}

/* Keep logo and menu cards white */
nav.second-header .logo,
nav.second-header .header-right-wrapper,
nav.second-header .mobile-menu-wrapper {
    background-color: #ffffff !important;
}

/* Prevent transparent styles from affecting this header */
nav.second-header::before,
nav.second-header::after {
    background: transparent;
}

/* Dropdown should appear above page sections */
nav.second-header .dropdown-menu {
    z-index: 1050;
}

/* Mobile */
@media (max-width: 991px) {
    nav.second-header {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    nav.second-header .mobile-menu-wrapper {
        position: relative;
        z-index: 1050;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    nav.second-header {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

