/*
Theme Name: Panhwar Institute
Theme URI: https://gmpanhwarinstitute.org/
Author: Usama Khalid
Author URI: https://gmpanhwarinstitute.org/
Description: A custom theme for the Panhwar Institute website.
Version: 1.0
Text Domain: Panhwar Institute
Tags: one-column, two-columns, custom-background, custom-logo, featured-images
*/

@font-face {
    font-family: 'Poppins Bold';
    src: url("assets/fonts/poppins/Poppins-Bold.ttf");
}

@font-face {
    font-family: 'Poppins Regular';
    src: url("assets/fonts/poppins/Poppins-Regular.ttf");
}

html {
    margin: 0px !important;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins Regular';
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
    font-family: 'Poppins Bold';
}

p,
dl,
ol,
ul {
    margin-bottom: 0px;
}

a:hover {
    opacity: 0.7;
}

header.site-header {
    margin: 15px 0px;
    position: relative;
    z-index: 2;
}

header.site-header .top-menu .site-logo {
    width: 15%;
}

header.site-header .top-menu .site-logo a {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
header.site-header .top-menu .site-logo a:hover {
    opacity: 1;
}
header.site-header .top-menu .site-logo a:hover img {
    transform: scale(1.03);
}

header.site-header .top-menu .site-logo a img {
    margin-bottom: -60px;
    width: 150px;
    max-width: 150px;
}

header.site-header .top-menu .mega-menu-wrap {
    margin: auto 0px !important;
    width: 85% !important;
}

.logged-in header.site-header .top-menu .mega-menu-wrap .mega-menu-item-1171,
.logged-in header.site-header .top-menu .mega-menu-wrap .mega-menu-item-1175 {
    display: none !important;
}

header.site-header .top-menu .mega-menu-wrap .mega-menu-item-1170,
header.site-header .top-menu .mega-menu-wrap .mega-menu-item-1209,
header.site-header .top-menu .mega-menu-wrap .mega-menu-item-1210,
header.site-header .top-menu .mega-menu-wrap .mega-menu-item-1207,
header.site-header .top-menu .mega-menu-wrap .mega-menu-item-1208,
header.site-header .top-menu .mega-menu-wrap .mega-menu-item-1172 {
    display: none !important;
}

.logged-in header.site-header .top-menu .mega-menu-wrap .mega-menu-item-1170,
.logged-in header.site-header .top-menu .mega-menu-wrap .mega-menu-item-1209,
.logged-in header.site-header .top-menu .mega-menu-wrap .mega-menu-item-1210,
.logged-in header.site-header .top-menu .mega-menu-wrap .mega-menu-item-1207,
.logged-in header.site-header .top-menu .mega-menu-wrap .mega-menu-item-1208,
.logged-in header.site-header .top-menu .mega-menu-wrap .mega-menu-item-1172 {
    display: block !important;
}


/* HomePage: Hero Section CSS Start */
section.hero {
    padding: 200px 0px 0px 0px;
    background-size: cover;
    background-repeat: no-repeat;
}

section.hero .hero-content-area .the-content {
    background-color: #414489;
    padding: 40px;
    color: white;
    text-transform: capitalize;
    margin-bottom: -30px;
}

section.hero .hero-content-area .the-content .close-hero-btn {
    position: absolute; 
    top: 10px; 
    right: 10px; 
    background: #fff; 
    border: none; 
    padding: 5px 10px; 
    cursor: pointer; 
    z-index: 1000; 
    border-radius: 50%;
}

section.hero .hero-content-area .the-content .hero-ctas a.donate-now {
    background-color: white;
    padding: 10px 30px;
    color: #333333;
    border-radius: 8px;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    text-transform: capitalize;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.hero .hero-content-area .the-content .hero-ctas a.donate-now:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

section.hero .hero-content-area .the-content .hero-ctas a.watch-video {
    padding: 10px 30px;
    color: white;
    border-radius: 8px;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    text-transform: capitalize;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-left: 15px;
    font-weight: 700;
    background-image: url('https://drgmpanhwarinstitute.org/wp-content/themes/panhwarinstitute/assets/images/watch-video-icon.png');
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 10px;
}

.watch-video-modal .modal-dialog video {
    width: 100%;
}




/* HomePage: About Our Institute Section CSS Start */
section.about-institute {
    margin: 100px 0px 80px 0px;
}

section.about-institute .the-content-area .the-image img {
    border-radius: 10px;
}

section.about-institute .the-content-area .the-details {
    margin: auto 0px;
}

section.about-institute .the-content-area .the-details h2 {
    font-size: 40px;
    text-transform: capitalize;
}

section.about-institute .the-content-area .the-details a {
    background-color: #346044;
    padding: 10px 40px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin-top: 20px;
    width: fit-content;
    text-transform: capitalize;
}
section.about-institute .the-content-area .the-details a:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

/* section overview srvices styling start */
section.overview-services {
    margin: 80px 0px;
    background-color: #F7F7F7;
    padding: 80px 0px;
}

section.overview-services .overview-detail {
    text-align: center;
    margin-bottom: 10px;
    padding: 0px 20px;
    text-transform: capitalize;
}

section.overview-services .overview-detail h2 {
    font-size: 40px;
}

section.overview-services .card-outer {
    padding-top: 20px;
}

section.overview-services .overview-card {
    background: #F1F1F1;
    padding: 30px 30px 80px;
    height: 100%;
    position: relative;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.overview-services .overview-card:hover {
    background: #F1F1F1;
    padding: 30px 30px 80px;
    height: 100%;
    position: relative;
    border-radius: 10px;
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

section.overview-services .overview-card .the-icon img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    position: relative;
}
    
section.overview-services .overview-card .card-content {
    text-transform: capitalize;
    margin: 10px 0px;
    position: relative;
}

section.overview-services .overview-card .card-content h3 {
    line-height: 1.5;
}

section.overview-services .overview-card .learn-more {
    position: absolute;
    bottom: 20px;
}

section.overview-services .overview-card .learn-more a {
    text-decoration: none;
    color:#346044;
    font-weight: 600;
}

section.overview-services .overview-card .learn-more a.arrow::after {
    content: ''; /* Required to display the pseudo-element */
    display: inline-block;
    background-image: url('https://drgmpanhwarinstitute.org/wp-content/themes/panhwarinstitute/assets/images/learn-more-icon.png');
    background-size: contain; /* Ensures the image fits properly */
    background-repeat: no-repeat;
    width: 19px; /* Set the width of the image */
    height: 19px; /* Set the height of the image */
    margin-left: 2px; /* Adds space between the text and the icon */
    vertical-align: middle; /* Aligns the image vertically with the text */
}

section.overview-services .the-cta {
    text-align: center;
    margin-top: 40px;
}
section.overview-services  .the-cta a {
    display: inline-block;
    padding: 10px 40px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid #346044;
    text-transform: capitalize;
    text-align: center;
    background: #346044;
    margin-top: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.overview-services  .the-cta a:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

/* section our journey styling start */
section.our-journey {
    margin: 80px 0px;
}

section.our-journey .content-part {
    margin-top: auto;
    margin-bottom: auto;
    padding-right: 60px;
}

section.our-journey .content-part h2 {
    font-size: 40px;
}

section.our-journey .content-part a {
    display: inline-block;
    padding: 10px 40px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid #346044;
    text-transform: capitalize;
    text-align: center;
    background: #346044;
    margin-top: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.our-journey .content-part a:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

section.our-journey .image-part {
    position:relative;
    border-radius: 10px;
}

section.our-journey .image-part img{
    width: 100%;
    height: auto;
    border-radius: 10px;
}

section.our-journey .image-part .profile-name {
    position: absolute;
    bottom: 43px;
    left: -50px;
    background: #FFFFFF;
    border: 1px solid #D5D5D5;
    padding: 10px 20px;
    border-radius: 10px;
}

section.our-journey .image-part .profile-name p:nth-child(1){
    font-weight: bold;
    color: #414489;
}

/* section-girls activity styling */
section.girls-activity {
    margin: 80px 0px;
    padding: 80px 0px;
    background: #434686;
}

section.girls-activity .girls-heading {
    text-align: center;
    color: white;
    margin-bottom: 25px;
    text-transform: capitalize;
}

section.girls-activity .girls-heading h2 {
    font-size: 40px;
}

section.girls-activity .activity-card {
    text-align: center;
    padding-top: 10px;
    color: white;
    text-transform: capitalize;
    position: relative;
    padding-bottom: 70px;
    height: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
}
section.girls-activity .activity-card:hover {
    transform: scale(1.03);
    opacity: 1;
}

section.girls-activity .activity-card img {
    border-radius: 10px;
    width: 100%;
    height: 300px;
    margin-bottom: 15px;
    object-fit: cover;
}

section.girls-activity .activity-card a.arrow {
    text-decoration: none;
    color: white;
    display: inline-block;
    position: absolute;
    bottom: 30px;
    left: 50px;
    right: 50px;
    font-weight: 800;
}

section.girls-activity .activity-card a.arrow::after {
    content: ''; /* Required to display the pseudo-element */
    display: inline-block;
    background-image: url('https://drgmpanhwarinstitute.org/wp-content/themes/panhwarinstitute/assets/images/activity-link-icon.png');
    background-size: contain; /* Ensures the image fits properly */
    background-repeat: no-repeat;
    width: 19px; /* Set the width of the image */
    height: 19px; /* Set the height of the image */
    margin-left: 2px; /* Adds space between the text and the icon */
    vertical-align: middle; /* Aligns the image vertically with the text */
}

section.girls-activity .buttons {
    display: flex;
    justify-content: center;
}

section.girls-activity .buttons a.learn-more {
    display: inline-block;
    padding: 10px 40px;
    text-decoration: none;
    color: black;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid white;
    text-transform: capitalize;
    text-align: center;
    background: white;
    margin-top: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.girls-activity .buttons a.learn-more:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

section.girls-activity .buttons a.donate {
    display: inline-block;
    padding: 10px 40px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid white;
    text-transform: capitalize;
    text-align: center;
    background: transparent;
    margin-top: 15px;
    margin-left: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.girls-activity .buttons a.donate:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

/* section boys activity */
section.boys-activity {
    margin: 80px 0px;
}

section.boys-activity .boys-heading {
    text-align: center;
    color: black;
    margin-bottom: 25px;
    text-transform: capitalize;
}

section.boys-activity .boys-heading h2 {
    font-size: 40px;
}

section.boys-activity .activity-card {
    text-align: center;
    color: black;
    text-transform: capitalize;
    position: relative;
    padding-top: 10px;
    padding-bottom: 70px;
    height: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
}
section.boys-activity .activity-card:hover {
    transform: scale(1.03);
    opacity: 1;
}

section.boys-activity .activity-card img {
    border-radius: 10px;
    width: 100%;
    height: 300px;
    margin-bottom: 15px;
    object-fit: cover;
}

section.boys-activity .activity-card a {
    text-decoration: none;
    color:#346044;
    display: inline-block;
    position: absolute;
    bottom: 30px;
    left: 50px;
    right: 50px;
    font-weight: 800;
}

section.boys-activity .activity-card a.arrow::after {
    content: ''; /* Required to display the pseudo-element */
    display: inline-block;
    background-image: url('https://drgmpanhwarinstitute.org/wp-content/themes/panhwarinstitute/assets/images/learn-more-icon.png');
    background-size: contain; /* Ensures the image fits properly */
    background-repeat: no-repeat;
    width: 19px; /* Set the width of the image */
    height: 19px; /* Set the height of the image */
    margin-left: 2px; /* Adds space between the text and the icon */
    vertical-align: middle; /* Aligns the image vertically with the text */
}

section.boys-activity .buttons {
    display: flex;
    justify-content: center;
}

section.boys-activity .buttons a.learn-more {
    display: inline-block;
    padding: 10px 40px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid #346044;
    text-transform: capitalize;
    text-align: center;
    background: #346044;
    margin-top: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.boys-activity .buttons a.learn-more:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

section.boys-activity .buttons a.donate {
    display: inline-block;
    padding: 10px 40px;
    text-decoration: none;
    color: black;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid black;
    text-transform: capitalize;
    text-align: center;
    background: white;
    margin-top: 15px;
    margin-left: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.boys-activity .buttons a.donate:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

/* section co-curricullar activities */
section.co-activities {
    margin: 80px 0px;
    padding: 80px 0px;
    background: #F7F7F7;
}

section.co-activities .curricular-heading {
    text-transform: capitalize;
    text-align: center;
    margin-bottom: 40px;
}

section.co-activities .image-part {
    position: relative;
    padding-right: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
section.co-activities .image-part:hover {
    transform: scale(1.03);
    opacity: 1;
}

section.co-activities .image-part img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

section.co-activities .image-part .profile-detail {
    position: absolute;
    bottom: 20px;
    left: 40px;
    right: 40px;
    padding-right: 100px;
    text-transform: capitalize;
    color: white;
}

section.co-activities .image-part .profile-detail a {
    text-decoration: none;
    color: white;
    display: inline-block;
    margin-top: 20px;
}

section.co-activities .image-part .profile-detail a.arrow::after {
    content: ''; /* Required to display the pseudo-element */
    display: inline-block;
    background-image: url('https://drgmpanhwarinstitute.org/wp-content/themes/panhwarinstitute/assets/images/activity-link-icon.png');
    background-size: contain; /* Ensures the image fits properly */
    background-repeat: no-repeat;
    width: 19px; /* Set the width of the image */
    height: 19px; /* Set the height of the image */
    margin-left: 2px; /* Adds space between the text and the icon */
    vertical-align: middle; /* Aligns the image vertically with the text */
}

section.co-activities .curricular-heading h3{
    font-size: 40px;
}

section.co-activities .content-part {
    margin: auto 0px;
    color: black;
    border-left: 1px solid #C2C2C2;
    text-transform: capitalize;
    padding-left: 50px;
}

section.co-activities .content-part .co-card {
    border-bottom: 1px solid #C2C2C2;
    padding-bottom: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
section.co-activities .content-part .co-card:hover {
    transform: scale(1.03);
    opacity: 1;
}

section.co-activities .content-part .co-card:last-child {
    border-bottom: unset;
    margin-bottom: 0px;
}

section.co-activities .content-part .co-card h3 {
    color: black;
}

section.co-activities .content-part .co-card a {
    text-decoration: none;
    color: #346044;
    display: inline-block;
    margin-top: 20px;
    font-weight: 800;
}
section.co-activities .content-part .co-card a.arrow::after {
    content: ''; /* Required to display the pseudo-element */
    display: inline-block;
    background-image: url('https://drgmpanhwarinstitute.org/wp-content/themes/panhwarinstitute/assets/images/learn-more-icon.png');
    background-size: contain; /* Ensures the image fits properly */
    background-repeat: no-repeat;
    width: 19px; /* Set the width of the image */
    height: 19px; /* Set the height of the image */
    margin-left: 2px; /* Adds space between the text and the icon */
    vertical-align: middle; /* Aligns the image vertically with the text */
}

section.co-activities .contact-button {
    margin-top: 50px;
    text-align: center;
}

section.co-activities .contact-button a.view-more {
    display: inline-block;
    padding: 10px 40px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid #346044;
    text-transform: capitalize;
    text-align: center;
    background: #346044;
    margin-top: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.co-activities .contact-button a.view-more:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

section.co-activities .contact-button a.contact-now {
    display: inline-block;
    padding: 10px 40px;
    text-decoration: none;
    color: black;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid black;
    text-transform: capitalize;
    text-align: center;
    background: white;
    margin-top: 15px;
    margin-left: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.co-activities .contact-button a.contact-now:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}




/* At A Glance Section CSS Start */
section.institute-at-glance {
    margin: 80px 0px;
}

section.institute-at-glance .the-content-area .main-row {
    justify-content: center;
}

section.institute-at-glance .the-content-area .main-row .the-details {
    text-align: center;
    margin-bottom: 30px;
    text-transform: capitalize;
}

section.institute-at-glance .the-content-area .main-row .the-details h2 {
    font-size: 40px;
}

section.institute-at-glance .the-content-area .main-row .the-core-values ul {
    column-count: 5;
    list-style: none;
    padding: 0px;
}

section.institute-at-glance .the-content-area .main-row .the-core-values ul li {
    text-align: center;
    position: relative;
}
section.institute-at-glance .the-content-area .main-row .the-core-values ul li:before {
    content: "";
    width: 1px;
    height: 70%;
    background-color: #C2C2C2;
    position: absolute;
    right: 0px;
    top: 15%;
}
section.institute-at-glance .the-content-area .main-row .the-core-values ul li:last-child:before {
    content: unset;
}

section.institute-at-glance .the-content-area .main-row .the-core-values ul li img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 50%;
}

section.institute-at-glance .the-content-area .main-row .the-core-values ul li h3 {
    margin-top: 15px;
    text-transform: capitalize;
    color: #414489;
    font-size: 30px;
}

section.institute-at-glance .the-content-area .main-row .the-core-values ul li p {
    margin-top: 5px;
    text-transform: capitalize;
    font-size: 14px;
}




/* section book styling */
section.book {
    margin: 80px 0px;
    padding: 80px 0px;
    background: #434686;
}

section.book .book-heading {
    text-align: center;
    margin-bottom: 25px;
    text-transform: capitalize;
    color: white;
}

section.book .book-heading h2 {
    font-size: 40px;
}

section.book .search-bar {
    margin-bottom: 50px;
}

section.book .search-bar form input {
    background: #00000024;
    width: 35%;
    color: white;
    border: none;
    padding: 15px;
}

section.book .search-bar form input::placeholder {
    color: white;
}
          

section.book .search-bar form {
    width: 100%;
    text-align: center;
    justify-content: center;
}

section.book .search-bar form button {
    color: white;
    background: #00000024;
    border: none;
    padding: 10px 30px;
}
section.book .search-bar form button:hover {
    background-color: #346044;
}

section.book .row.books-row {
    justify-content: center;
}

section.book .download-book {
    text-align: center;
    position: relative;
    padding-bottom: 60px;
    height: 100%;
    width: 20%;
}

section.book .download-book .book-detail {
    border-right: 1px solid #bdbcbc;
    text-align: center;
    color: white;
    text-transform: capitalize;
    padding-bottom: 10px;
}

section.book .download-book .book-detail img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

section.book .download-book .book-detail p {
    font-size: 12px;
}

section.book .download-book a {
    display: inline-block;
    color: white;
    text-decoration: none;
    text-align: center;
    text-transform: capitalize;
    border: 1px solid white;
    padding: 10px 30px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.book .download-book a:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

section.book .download-book .download-now {
    position: absolute;
    bottom: 0px;
    left: 10px;
    right: 10px;
}

section.inner-page-banner-text .available-books {
    text-align: center;
    margin-top: 20px;
}

section.inner-page-banner-text .available-books .available {
    display: inline-block;
    color: white;
    text-decoration: none;
    text-align: center;
    text-transform: capitalize;
    padding: 10px 20px;
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid #ffffff;
    cursor: pointer;
    position: relative;
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5);
    animation: blink-border 1.5s ease-in-out infinite alternate;
}

@keyframes blink-border {
    0% {
        box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 10px 2px rgba(255, 255, 255, 1);
    }
}

.no-matching-download-book .available-books .available {
	display: inline-block;
    color: black;
    text-decoration: none;
    text-align: center;
    text-transform: capitalize;
    padding: 10px 20px;
	margin-top: 30px;
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid #1b8855;
    cursor: pointer;
    position: relative;
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5);
    animation: blink-borders 1.5s ease-in-out infinite alternate;
}

@keyframes blink-borders {
    0% {
        box-shadow: 0 0 5px 1px rgb(25, 135, 84, 1);
    }
    100% {
        box-shadow: 0 0 10px 2px rgba(255, 255, 255, 1);
    }
}

section.book .download-book:last-child .book-detail {
    border-right: unset !important;
}

section.book .the-content-area .the-ctas {
    text-align: center;
}

section.book .the-content-area .the-ctas a {
    display: inline-block;
    padding: 10px 40px;
    text-decoration: none;
    color: black;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid white;
    text-transform: capitalize;
    text-align: center;
    background: white;
    margin-top: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.book .the-content-area .the-ctas a:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}




/* section donation */
section.contribute {
    margin: 80px 0px;
}

section.contribute .contribute-heading {
    text-align: center;
    margin-bottom: 25px;
    text-transform:capitalize;
}

section.contribute .contribute-heading h2 {
    font-size: 40px;
}

section.contribute .donation {
    text-align: center;
    margin-bottom: 30px;
}

section.contribute .donation a {
    display: inline-block;
    padding: 10px;
    color: black;
    width: 100%;
    text-decoration: none;
    border: 1px solid black;
    text-transform: capitalize;
    border-radius: 8px;
    cursor: pointer;
}
section.contribute .donation a:hover,
section.contribute .donation a.active {
    background-color: #346044;
    opacity: 1;
    color: white;
}

section.contribute .donate-now {
    text-align: center;
}

section.contribute .donate-now a {
    display: inline-block;
    padding: 10px 40px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid #346044;
    text-transform: capitalize;
    text-align: center;
    background: #346044;
    margin-top: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section.contribute .donate-now a:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

/* section our latest blogs */
section.our-blogs {
    margin: 80px 0px;
    padding: 80px 0px;
    background: #F7F7F7;
}

section.our-blogs .blog-heading {
    text-align: center;
    color: black;
    margin-bottom: 25px;
    text-transform: capitalize;
}

section.our-blogs .blog-heading h2 {
    font-size: 40px;
}

section.our-blogs .blog-card {
    text-align: center;
    padding: 10px 0px;
    color: black;
    text-transform: capitalize;
    position: relative;
    padding-bottom: 70px;
    height: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
}
section.our-blogs .blog-card:hover {
    transform: scale(1.03);
    opacity: 1;
}

section.our-blogs .blog-card img {
    border-radius: 10px;
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 15px;
}

section.our-blogs .blog-card a {
    text-decoration: none;
    color:#346044;
    display: inline-block;
    position: absolute;
    bottom: 30px;
    left: 50px;
    right: 50px;
    font-weight: 800;
}

section.our-blogs .blog-card a.arrow::after {
    content: ''; /* Required to display the pseudo-element */
    display: inline-block;
    background-image: url('https://drgmpanhwarinstitute.org/wp-content/themes/panhwarinstitute/assets/images/learn-more-icon.png');
    background-size: contain; /* Ensures the image fits properly */
    background-repeat: no-repeat;
    width: 19px; /* Set the width of the image */
    height: 19px; /* Set the height of the image */
    margin-left: 2px; /* Adds space between the text and the icon */
    vertical-align: middle; /* Aligns the image vertically with the text */
}

section.our-blogs .buttons {
    display: flex;
    justify-content: center;
}

section.our-blogs .buttons a.learn-more {
    display: inline-block;
    padding: 10px 40px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid #346044;
    text-transform: capitalize;
    text-align: center;
    background: #346044;
    margin-top: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.our-blogs .buttons a.learn-more:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

section.our-blogs .buttons a.donate {
    display: inline-block;
    padding: 13px 30px;
    text-decoration: none;
    color: black;
    font-weight: 500;
    border-radius: 10px;
    border: 1px solid black;
    text-transform: capitalize;
    text-align: center;
    margin: 0px 10px;
}
/* Footer CSS Start */
footer {
    margin-top: 80px;
    padding: 50px 0px 20px 0px;
    background-color: #F7F7F7;
}

footer .the-content-area .footer-logo img {
    width: 150px;
}

footer .the-content-area .footer-logo h4 {
    color: #414489;
    margin-top: 10px;
    font-size: 24px;
}

footer .the-content-area .footer-logo .social-medias {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #0000003D
}

footer .the-content-area .footer-logo .social-medias a {
    text-decoration: none;
}

footer .the-content-area .footer-logo .social-medias a img {
    width: 35px;
    margin-right: 5px;
}

footer .the-content-area .get-started {
    position: relative;
}
footer .the-content-area .get-started::after {
    content: "";
    position: absolute;
    top: 0;
    right: 20%;
    width: 1px;
    height: 85%;
    background-color: #0000003D;
}

footer .the-content-area .get-started h3 {
    text-transform: capitalize;
}

footer .the-content-area .get-started ul {
    margin-top: 20px;
    list-style: none;
    padding-left: 10px;
}

footer .the-content-area .get-started ul li {
    margin-top: 20px;
}

footer .the-content-area .get-started ul li a {
    text-decoration: none;
    color: black;
}

footer .the-content-area .quick-links {
    position: relative;
}
footer .the-content-area .quick-links::after {
    content: "";
    position: absolute;
    top: 0;
    right: 20%;
    width: 1px;
    height: 85%;
    background-color: #0000003D;
}

footer .the-content-area .quick-links h3 {
    text-transform: capitalize;
}

footer .the-content-area .quick-links ul {
    margin-top: 20px;
    list-style: none;
    padding-left: 10px;
}

footer .the-content-area .quick-links ul li {
    margin-top: 20px;
}

footer .the-content-area .quick-links ul li a {
    text-decoration: none;
    color: black;
}

footer .the-content-area .donation h3 {
    text-transform: capitalize;
}

footer .the-content-area .donation strong {
    color: #414489;
    font-family: 'Poppins Regular';
    margin-bottom: 10px;
    display: block;
}

footer .the-content-area .donation .spacer {
    margin-bottom: 10px;
}

footer .copyright-text {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #0000003D
}




/* About Us Page CSS Start */
/* Inner Pages Hero Section CSS Start */
section.inner-page-hero {
    padding-top: 500px;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}



/* Inner Pages Hero Headings Section CSS Start */
section.inner-page-banner-text {
    position: relative;      /* Ensure element is positioned relative to itself */
    transform: translateY(-50%); /* Moves the section up by 50% of its own height */
    margin-bottom: -50px;
}

section.inner-page-banner-text .main-row {
    justify-content: center;
}

section.inner-page-banner-text .the-content-area .the-headings {
    background-color: #414489;
    padding: 100px 150px;
    text-align: center;
    color: white;
    text-transform: capitalize;
}

section.inner-page-banner-text .hero-ctas {
    margin-top: 20px;
}

section.inner-page-banner-text .hero-ctas a.donate-now {
    background-color: white;
    padding: 10px 30px;
    color: #333333;
    border: 1px solid white;
    border-radius: 8px;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    text-transform: capitalize;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section.inner-page-banner-text .hero-ctas a.join-us {
    background-color: transparent;
    padding: 10px 30px;
    color: white;
    border: 1px solid white;
    border-radius: 8px;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    margin-left: 10px;
    text-transform: capitalize;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section.inner-page-banner-text .hero-ctas a:hover {
    transform: scale(1.03);
}

/* Institute Details Section Start */
section.institute-details {
    margin-bottom: 80px;
}

section.institute-details .the-content-area .the-details {
    margin: auto 0px;
}

section.institute-details .the-content-area .the-details h2 {
    font-size: 40px;
    text-transform: capitalize;
}

section.institute-details .the-content-area .the-details p {
    margin-top: 10px;
}

section.institute-details .the-content-area .the-details a {
    background-color: #346044;
    padding: 10px 40px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin-top: 20px;
    width: fit-content;
}
section.institute-details .the-content-area .the-details a:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

section.institute-details .the-content-area .the-video {
    margin: auto 0px;
}

section.institute-details .the-content-area .the-video .video-container {
    position: relative;
    width: 100%; /* Make the container full width */
    max-width: 100%; /* Ensure the video doesn't exceed the container width */
}

section.institute-details .the-content-area .the-video #video {
    width: 100%;  /* Make the video responsive to the container */
    height: auto; /* Maintain aspect ratio for the video */
    cursor: pointer;
    border-radius: 15px;
}

section.institute-details .the-content-area .the-video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

section.institute-details .the-content-area .the-video .play-button img {
    width: 80px; /* Adjust the size of the play icon */
    height: 80px;
    transition: transform 0.3s ease,;
}

section.institute-details .the-content-area .the-video .play-button img:hover {
    transform: scale(1.03);
}

section.institute-details .the-content-area .the-video .play-button.hidden {
    display: none; /* Hide play button when video starts playing */
}




/* Meet Founder Section CSS Start */
section.meet-founder {
    background-color: #F7F7F7;
    padding: 80px 0px;
}

section.meet-founder .the-content-area .the-image {
    margin: auto 0px;
}

section.meet-founder .the-content-area .the-image img {
    border-radius: 15px;
}

section.meet-founder .the-content-area .the-details {
    margin: auto 0px;
}

section.meet-founder .the-content-area .the-details h2 {
    font-size: 40px;
    text-transform: capitalize;
}

section.meet-founder .the-content-area .the-details h3 {
    font-size: 40px;
    text-transform: capitalize;
    color: #414489;
}

section.meet-founder .the-content-area .the-details a {
    background-color: #346044;
    padding: 10px 40px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin-top: 20px;
    width: fit-content;
}
section.meet-founder .the-content-area .the-details a:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}




/* Our Mission CSS Start */
section.our-mission {
    margin-top: 80px;
    padding: 80px 0px 0px 0px;
    margin-bottom: 280px;
    background-color: #434686;
    color: white;
    text-align: center;
}

section.our-mission .the-content-area .main-row {
    justify-content: center;
}

section.our-mission .the-content-area .the-details {
    margin-bottom: 40px;
}

section.our-mission .the-content-area .the-details h2 {
    font-size: 40px;
}

section.our-mission .the-content-area .the-video {
    margin: auto 0px;
    margin-bottom: -200px;
}

section.our-mission .the-content-area .the-video .video-container {
    position: relative;
    width: 100%; /* Make the container full width */
    max-width: 100%; /* Ensure the video doesn't exceed the container width */
}

section.our-mission .the-content-area .the-video #video {
    width: 100%;  /* Make the video responsive to the container */
    height: 700px; /* Maintain aspect ratio for the video */
    cursor: pointer;
    border-radius: 15px;
}

section.our-mission .the-content-area .the-video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

section.our-mission .the-content-area .the-video .play-button img {
    width: 80px; /* Adjust the size of the play icon */
    height: 80px;
    transition: transform 0.3s ease,;
}

section.our-mission .the-content-area .the-video .play-button img:hover {
    transform: scale(1.03);
}

section.our-mission .the-content-area .the-video .play-button.hidden {
    display: none; /* Hide play button when video starts playing */
}




/* Our Code Values Section CSS Start */
section.our-core-values {
    margin: 80px 0px;
}

section.our-core-values .the-content-area .main-row {
    justify-content: center;
}

section.our-core-values .the-content-area .main-row .the-details {
    text-align: center;
    margin-bottom: 30px;
}

section.our-core-values .the-content-area .main-row .the-details h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

section.our-core-values .the-content-area .main-row .the-core-values ul {
    column-count: 3;
    list-style: none;
    padding: 0px;
}

section.our-core-values .the-content-area .main-row .the-core-values ul li {
    text-align: center;
    position: relative;
}
section.our-core-values .the-content-area .main-row .the-core-values ul li:before {
    content: "";
    width: 1px;
    height: 70%;
    background-color: #C2C2C2;
    position: absolute;
    right: 0px;
    top: 15%;
}
section.our-core-values .the-content-area .main-row .the-core-values ul li:last-child:before {
    content: unset;
}

section.our-core-values .the-content-area .main-row .the-core-values ul li img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 50%;
}

section.our-core-values .the-content-area .main-row .the-core-values ul li h3 {
    margin-top: 15px;
    text-transform: capitalize;
    color: #414489;
    font-size: 30px;
}

section.our-core-values .the-content-area .main-row .the-core-values ul li p {
    margin-top: 5px;
    text-transform: capitalize;
    font-size: 14px;
}



/* Our Philosophy Section CSS Start */
section.our-philosophy .the-content-area .the-details {
    margin: auto 0px;
}

section.our-philosophy .the-content-area .the-details h2 {
    font-size: 40px;
    text-transform: capitalize;
}

section.our-philosophy .the-content-area .the-details a {
    background-color: #346044;
    padding: 10px 40px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin-top: 20px;
    width: fit-content;
}
section.our-philosophy .the-content-area .the-details a:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}




/* Contact Us Page CSS Start */
/* Get In Touch Section CSS Start */
section.get-in-touch {
    margin: 0px 0px 80px 0px;
}

section.get-in-touch .the-content-area .main-row {
    justify-content: center;
}

section.get-in-touch .the-content-area .main-row .the-details {
    text-align: center;
    margin-bottom: 30px;
}

section.get-in-touch .the-content-area .main-row .the-details h2 {
    font-size: 40px;
    text-transform: capitalize;
}

section.get-in-touch .the-content-area .main-row .the-contact-options ul {
    column-count: 3;
    list-style: none;
    padding: 0px;
}

section.get-in-touch .the-content-area .main-row .the-contact-options ul li {
    text-align: center;
    position: relative;
    padding: 0px 30px;
}
section.get-in-touch .the-content-area .main-row .the-contact-options ul li:before {
    content: "";
    width: 1px;
    height: 70%;
    background-color: #C2C2C2;
    position: absolute;
    right: 0px;
    top: 15%;
}
section.get-in-touch .the-content-area .main-row .the-contact-options ul li:last-child:before {
    content: unset;
}

section.get-in-touch .the-content-area .main-row .the-contact-options ul li img {
    background-color: #F7F7F7;
    max-width: 100px;
    max-height: 100px;
    border-radius: 50%;
}

section.get-in-touch .the-content-area .main-row .the-contact-options ul li h3 {
    margin-top: 15px;
    text-transform: capitalize;
    color: #414489;
    font-size: 30px;
}

section.get-in-touch .the-content-area .main-row .the-contact-options ul li p {
    margin-top: 5px;
    font-size: 14px;
    color: #555555;
}

section.get-in-touch .the-content-area .main-row .the-contact-options ul li p a {
    text-decoration: none;
    color: #555555;
}




/* Contact Us Form CSS Start */
section.contact-us-form {
    padding: 80px 0px 60px 0px;
    background-color: #F7F7F7;
}

section.contact-us-form .the-content-area .main-row {
    justify-content: center;
}

section.contact-us-form .the-content-area .the-headings {
    text-align: center;
    margin-bottom: 30px;
}

section.contact-us-form .the-content-area .the-headings h2 {
    font-size: 40px;
    text-transform: capitalize;
}

section.contact-us-form .the-content-area .the-form .field-parent input,
section.contact-us-form .the-content-area .the-form .field-parent textarea {
    border: 1px solid #D0D0D0;
    padding: 20px;
    background-color: white;
    width: 100%;
    margin-top: 20px;
    border-radius: 8px;
}

section.contact-us-form .the-content-area .the-form .submit-parent p {
    display: grid;
    justify-content: center;
}

section.contact-us-form .the-content-area .the-form .submit-parent .wpcf7-submit {
    background-color: #346044;
    padding: 10px 40px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin-top: 20px;
    width: fit-content;
    border: none;
}
section.contact-us-form .the-content-area .the-form .submit-parent .wpcf7-submit:hover{
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}




/* Our Location Section CSS Start */
section.our-location {
    margin: 80px 0px;
}




/* Activities & Events Page CSS Start */
section.activity-post.odd {
    margin: 80px 0px;
}

section.activity-post.even {
    background-color: #F7F7F7;
    padding: 80px 0px;
    margin: 80px 0px;
}

section.activity-post .the-content-area .the-image {
    margin: auto 0px;
}

section.activity-post .the-content-area .the-image img {
    border-radius: 15px;
    width: 100%;
}

section.activity-post .the-content-area .the-details {
    margin: auto 0px;
}

section.activity-post .the-content-area .the-details h2 {
    font-size: 40px;
    text-transform: capitalize;
}

section.activity-post .the-content-area .the-details p {
    margin-top: 10px;
}

section.activity-post .the-content-area .the-details a {
    background-color: #346044;
    padding: 10px 40px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    display: block;
    margin-top: 20px;
    width: fit-content;
    text-transform: capitalize;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.activity-post .the-content-area .the-details a:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

section.activity-post .the-content-area .the-details ul {
    list-style: none;
    padding-left: 0px;
    margin-top: 20px;
}

section.activity-post .the-content-area .the-details ul li {
    background-image: url('https://drgmpanhwarinstitute.org/wp-content/themes/panhwarinstitute/assets/images/checkmark.png');
    padding-left: 35px;
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: top 5px left;
}

section.activity-post .the-content-area .the-details ul li strong {
    display: block;
}

section.load-more-activities {
    margin: 80px 0px 80px 0px;
}

section.load-more-activities .the-cta {
    justify-content: center;
    display: grid;
}

section.load-more-activities .the-cta a {
    background-color: #346044;
    padding: 10px 40px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    display: block;
    width: fit-content;
    text-transform: capitalize;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.load-more-activities .the-cta a:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}




/* Our Sponsored Section CSS Start */
section.our-sponsored {
    margin-bottom: 80px;
}

section.our-sponsored .the-content-area .the-logos ul {
    column-count: 5;
    list-style: none;
    padding: 0px;
}

section.our-sponsored .the-content-area .the-logos ul li {
    text-align: center;
}

section.our-sponsored .the-content-area .the-logos ul li img {
    width: 60%;
}




/* Blog Page CSS Start */
/* Blog Listing Section CSS Start */
section.latest-blog-listing {
    padding: 0px;
    background-color: transparent;
    background: transparent;
    margin-top: 0px;
}




/* Our Success Stories Section CSS Start */
/* Head Master Video Section CSS Start */
section.head-master-video .the-content-area .main-row {
    justify-content: center;
}

section.head-master-video .the-content-area .the-details {
    text-align: center;
    margin-bottom: 30px;
}

section.head-master-video .the-content-area .the-details h2 {
    font-size: 40px;
}

section.head-master-video .the-content-area .the-video video {
    width: 100%;
}

section.head-master-video .the-content-area .the-video {
    margin: auto 0px;
}

section.head-master-video .the-content-area .the-video .video-container {
    position: relative;
    width: 100%; /* Make the container full width */
    max-width: 100%; /* Ensure the video doesn't exceed the container width */
}

section.head-master-video .the-content-area .the-video #video {
    width: 100%;  /* Make the video responsive to the container */
    height: auto; /* Maintain aspect ratio for the video */
    cursor: pointer;
    border-radius: 15px;
}

section.head-master-video .the-content-area .the-video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

section.head-master-video .the-content-area .the-video .play-button img {
    width: 80px; /* Adjust the size of the play icon */
    height: 80px;
    transition: transform 0.3s ease,;
}

section.head-master-video .the-content-area .the-video .play-button img:hover {
    transform: scale(1.03);
}

section.head-master-video .the-content-area .the-video .play-button.hidden {
    display: none; /* Hide play button when video starts playing */
}




/* Success Story Section CSS Sart */
section.success-story {
    margin: 80px 0px;
}

section.success-story.even {
    padding: 80px 0px;
    background-color: #F7F7F7;
}

section.success-story .the-content-area .the-details {
    margin: auto 0px;
}

section.success-story .the-content-area .the-image {
    margin: auto 0px;
}

section.success-story .the-content-area .the-image img {
    border-radius: 15px;
}

section.success-story .the-content-area .the-details h2 {
    font-size: 40px;
}

section.success-story .the-content-area .the-details a {
    background-color: #346044;
    padding: 10px 40px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin-top: 20px;
    width: fit-content;
    text-transform: capitalize;
}

section.success-story .the-content-area .the-details a:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}




/* Our Latest Blogs Section CSS Start */
section.our-blogs.success-stores-blog-listing {
    padding: 0px;
    background-color: transparent;
}




/* Our Books Page CSS Start */
section.book.books-listing-page {
    padding: 0px;
    margin: 0px;
    background-color: transparent;
}

section.book.books-listing-page .download-book .book-detail{
    color: black;
}

section.book.books-listing-page .download-book {
    margin-bottom: 50px;
}

section.book.books-listing-page .download-book a {
    display: inline-block;
    color: white;
    background-color: #346044;
    text-decoration: none;
    text-align: center;
    text-transform: capitalize;
    border: 1px solid #346044;
    padding: 10px 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section.book.books-listing-page .download-book:nth-child(5) .book-detail,
section.book.books-listing-page .download-book:nth-child(10) .book-detail,
section.book.books-listing-page .download-book:nth-child(15) .book-detail,
section.book.books-listing-page .download-book:nth-child(20) .book-detail,
section.book.books-listing-page .download-book:nth-child(25) .book-detail,
section.book.books-listing-page .download-book:nth-child(30) .book-detail,
section.book.books-listing-page .download-book:nth-child(35) .book-detail {
    border: none;
}




/* Single Page Content CSS Start */
.single .the-content-area .the-details ul {
    list-style: none;
    padding-left: 0px;
    margin-top: 20px;
}

.single .the-content-area .the-details ul li {
    background-image: url('https://drgmpanhwarinstitute.org/wp-content/themes/panhwarinstitute/assets/images/checkmark.png');
    padding-left: 35px;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: top 5px left;
    margin-top: 10px;
}

.single .the-content-area .the-details ul li strong {
    display: block;
}

section.full-width-content .the-content-area .the-details h2 {
    font-size: 40px;
}

.gallery-item img {
    width: 100%;
    height: auto;
}


/* Announcemnet modal styling */
.announcement-modal .modal-content {
    background-color: #f3eaff;
    border-radius: 10px; 
    height: 500px;
    overflow: hidden;
}

.announcement-modal .modal-content .modal-header .modal-title{
    color: #4a4a89;
}

.announcement-modal .modal-content .modal-body {
    overflow-y: auto;
    max-height: 400px;
}

.announcement-modal .modal-body ul {
    padding-left: 20px;
}

.announcement-modal .modal-body ul li {
    margin-bottom: 15px;
}

.announcement-modal .modal-body ul a {
    color: #346044;
    font-weight: 800;
}

.announcement-modal .modal-dialog {
    max-width: 50%;
}




/* BuddyPress pages styling Start */
.buddypress section.inner-page-hero {
    display: none;
}

.buddypress section.inner-page-banner-text {
    position: unset;
    transition: unset;
    margin-bottom: 0px;
}

.buddypress section.inner-page-banner-text .the-content-area {
    display: none;
}

.buddypress section.main-content {
    margin-top: 120px;
}

.buddypress section.main-content #buddypress * a {
    color: #346044;
    font-weight: 800;
    border-radius: 8px;
}

.buddypress section.main-content .activity-list .activity-item .activity-content .activity-inner,
.buddypress section.main-content .activity-list .activity-item .activity-content .activity-inner {
    background: #f1f1f1;
    border-radius: 8px !important;
}

.buddypress section.main-content .activity-list .activity-item .activity-meta.action {
    background: #f1f1f1;
    padding: 10px;
    width: fit-content;
    border-radius: 8px !important;
}

.buddypress section.main-content #buddypress .bp-profile-button a {
    background-color: #346044;
    color: white;
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 400;
}

.buddypress section.main-content .activity-update-form #whats-new-textarea textarea {
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #c5c1c1;
}

.buddypress section.main-content .activity-list.bp-list .activity-item {
    border-radius: 8px !important;
    padding: 20px;
}

.buddypress section.main-content .activity-update-form #whats-new-submit input {
    background-color: #346044;
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    width: fit-content;
    text-decoration: none;
}

.buddypress section.main-content .activity-update-form #whats-new-content {
    padding-bottom: 0px;
}

.buddypress section.main-content .activity-update-form {
    border-radius: 8px !important;
    padding: 20px 20px 10px 20px;
}

.buddypress section.main-content .activity-list.bp-list {
    border-radius: 8px;
    background: #f1f1f1;
}

.buddypress section.main-content .activity-update-form #whats-new-avatar img,
.buddypress section.main-content .bp-member-avatar-content img.profile-photo,
.buddypress section.main-content .activity-list .activity-item div.item-avatar img {
    border-radius: 50%;
}

.buddypress section.main-content #buddypress #activity-all a,
.buddypress section.main-content #buddypress #activity-mentions a {
    color: white;
    font-size: 16px;
    font-weight: 400;
    background-color: #346044;
    padding: 8px 20px;
    margin-right: 10px;
    border-radius: 8px;
}

.buddypress section.main-content .buddypress-wrap form#group-members-search,
.buddypress section.main-content .buddypress-wrap form.bp-dir-search-form,
.buddypress section.main-content .buddypress-wrap form.bp-messages-search-form,
.buddypress section.main-content .buddypress-wrap form[data-bp-search].bp-invites-search-form {
    border-radius: 8px;
}

.buddypress section.main-content .buddypress-wrap.bp-dir-hori-nav:not(.bp-vertical-navs) nav:not(.tabbed-links) {
    padding: 10px 0px;
}

.buddypress section.main-content #buddypress #item-header-cover-image #item-header-avatar img.avatar {
    border-radius: 50%;
}

body.buddypress.bp-user .buddypress-wrap .member-header-actions *>* {
    display: block;
    background-color: #346044;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
}

.buddypress section.main-content .buddypress-wrap .member-header-actions *>* {
    font-weight: 400 !important;
}

.buddypress section.main-content nav ul li a {
    color: white !important;
    font-size: 16px;
    font-weight: 400;
    background-color: #346044 !important;
    padding: 8px 20px;
    margin-right: 10px;
    border-radius: 8px;
    font-weight: 400 !important;
}

.buddypress .main-content input {
    border-radius: 8px !important;
}

.buddypress .main-content input#submit {
    background-color: #346044;
    padding: 10px 30px;
    border-radius: 8px;
    color: white;
    font-size: 16px;
}

.buddypress .main-content .buddypress-wrap .bp-feedback.help .bp-icon,
.buddypress .main-content .buddypress-wrap .bp-feedback.info .bp-icon {
    background-color: #346044;
}

.buddypress .main-content .submit input {
    background-color: #346044;
    padding: 10px 30px;
    border-radius: 8px;
    color: white;
    font-size: 16px;
}

.buddypress .main-content span.count {
    line-height: 1;
}

.buddypress .main-content .buddypress-wrap .accept,
.buddypress .main-content .buddypress-wrap .reject {
    border-radius: 8px !important;
}

.buddypress .main-content .bp-list li .item-avatar img.avatar {
    border-radius: 50%;
}

.buddypress .main-content #message-threads li.selected .thread-subject .subject {
    color: #346044;
}
/* BuddyPress pages styling Finish */




/* BBPress Pages Styling Start */
.bbpress .main-content #bbpress-forums a {
    color: #346044;
}

.bbpress .main-content #bbpress-forums [type=submit] {
    background-color: #346044 !important;
    padding: 12px 30px !important;
    color: white !important;
    line-height: 10px !important;
    border-radius: 8px !important;
    font-size: 16px;
    margin-bottom: 5px;
    border: unset;
}

.bbpress .main-content #bbpress-forums #bbp-search-form #bbp_search {
    padding: 7px;
    border-radius: 8px !important;
    border: 1px solid #9b9b9b;
}

.bbpress #bbpress-forums fieldset.bbp-form input[type=text],
.bbpress #bbpress-forums fieldset.bbp-form input[type=password] {
    border-radius: 8px;
    border: 1px solid #9b9b9b;
}

.bbpress section.inner-page-banner-text {
    position: unset;
    transition: unset;
    margin-bottom: 0px;
}

.bbpress section.inner-page-hero {
    display: none;
}

.bbpress section.inner-page-banner-text .the-content-area {
    display: none;
}

.bbpress section.main-content {
    margin-top: 120px;
}

.bbpress section.main-content #buddypress #item-header-cover-image {
    z-index: 1;
}

.buddypress section.main-content a.group-button.join-group,
.buddypress section.main-content button.group-button.leave-group.button,
.buddypress section.main-content a.group-button.leave-group,
.buddypress section.main-content button.group-button.join-group.button {
    color: white !important;
    font-size: 16px;
    background-color: #346044 !important;
    padding: 8px 20px;
    margin-right: 10px;
    border-radius: 8px;
    font-weight: 400 !important;
}
/* BBPress Pages Styling Finish */




/* Media Queries Start */
/* Min Width Media Queries */
@media (min-width: 991.98px){
    .watch-video-modal .modal-dialog {
        max-width: 60%;
        width: 60%;
    }

    section.activity-post.odd .the-content-area .the-image {
        order: 1;
    }
    
    section.activity-post.odd .the-content-area .the-details {
        order: 2;
    }
    
    section.activity-post.even .the-content-area .the-image {
        order: 2;
    }
    
    section.activity-post.even .the-content-area .the-details {
        order: 1;
    }

    section.success-story.even .the-content-area .the-details {
        order: 1;
    }

    section.success-story.even .the-content-area .the-image {
        order: 2;
    }
}

@media (min-width: 1155.98px){
    header.site-header .top-menu .mega-menu-wrap .mega-menu-item-1138 {
        float: right !important;
    }

    header.site-header .top-menu .mega-menu-wrap .mega-menu-item-1138 > a.mega-menu-link {
        background-color: #346044 !important;
        padding: 15px 32px !important;
        color: white !important;
        line-height: 10px !important;
        border-radius: 8px !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    }

    header.site-header .top-menu .mega-menu-wrap .mega-menu-item-1138 > a.mega-menu-link:hover {
        transform: scale(1.03) !important;
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2) !important;
        opacity: 1 !important;
    }
}

@media (min-width: 1199.98px){
    section.hero .hero-content-area .the-content {
        padding: 50px 150px 50px 50px;
    }

    section.about-institute .the-content-area .the-details {
        padding-left: 60px;
    }
    
    footer .the-content-area .footer-logo h4 {
        width: 80%;
    }

    section.contribute .contribute-heading {
        padding: 0px 150px;
    }

    section.our-journey .content-part h2 {
        width: 70%;
    }

    section.institute-details .the-content-area .the-video {
        padding-left: 60px;
    }
    
    section.meet-founder .the-content-area .the-image  {
        padding-right: 60px;
    }

    section.our-philosophy .the-content-area .the-image {
        padding-left: 60px;
    }

    section.contact-us-form .the-content-area .the-headings {
        padding: 0px 80px;
    }
    
    header.site-header .top-menu .mega-menu-wrap ul.mega-sub-menu li {
        border: 1px solid #ededed !important;
    }
}

@media (min-width: 1359.98px){
    .container {
        max-width: 1240px;
    }
}

@media (min-width: 1439.98px){
    .container {
        max-width: 1300px;
    }
}

@media (min-width: 1559.98px){
    .container {
        max-width: 1400px;
    }
}

@media (min-width: 1659.98px){
    .container {
        max-width: 1500px;
    }
}

/* Max Width Media Queries */
@media (max-width: 1399.98px) {
}

@media (max-width: 1299.98px) {
    /*section glance styling */
    section.glance .glance-card p {
        font-size: 15px;
    }
    
    footer .the-content-area .get-started::after,
    footer .the-content-area .quick-links::after {
        right: 15%;
    }
}

@media (max-width: 1199.98px) {
    /* section glance styling */
    section.glance .glance-card p {
        font-size: 14px;
    }

    /* section book styling */
    section.book .download-book a {
        padding: 10px 20px
    }

    section.book .search-bar form input {
        width: 50%;
    }

    section.inner-page-hero {
        padding-top: 400px;
        background-position: top center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    
    section.inner-page-banner-text .the-content-area .the-headings {
        padding: 50px;
    }

    section.our-mission .the-content-area .the-video #video {
        height: 600px;
    }
}

@media (max-width: 1155.98px) {
    header.site-header .top-menu .site-logo {
        display: none;
    }
    header.site-header .top-menu .mega-menu-wrap {
        width: 100% !important;
    }

    header.site-header .top-menu a.site-mobile-logo {
        width: 25%;
    }

    header.site-header .top-menu a.site-mobile-logo img {
        margin-left: 10px;
    }

    header.site-header .top-menu #mega-menu-wrap-primary #mega-menu-primary {
        margin-top: 80px;
    }

    header.site-header .top-menu #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
        padding-left: 20px;
    }

    /* section glance styling */
    section.glance .glance-card p {
        font-size: 14px;
    }
}

@media (max-width: 1023.98px) {
    section.our-mission .the-content-area .the-video #video {
        height: 550px;
    }
}

@media (max-width: 991.98px) {
    header.site-header .top-menu a.site-mobile-logo {
        width: 45%;
    }

    /*section our journey */
    section.our-journey .image-part .profile-name {
        bottom: 20px;
        left: 25px;
    }

    section.our-journey .content-part {
        padding: 10px;
    }

    /*section co-curricular activities  */
    section.co-activities .image-part {
        padding-right: 20px;
    }

    section.co-activities .image-part .profile-detail {
        padding-right: 0px;
    }

    /* section glance styling */
    section.glance .glance-card .the-icon img {
        max-width: 80px;
        max-height: 80px;
    }

    footer .the-content-area .get-started::after,
    footer .the-content-area .quick-links::after {
        content: unset;
    }

    footer .the-content-area .footer-logo,
    footer .the-content-area .get-started,
    footer .the-content-area .quick-links,
    footer .the-content-area .donation {
        margin-bottom: 30px;
    }

    /* section book styling */
    section.book {
        margin: 50px 0px;
    }

    section.book .download-book {
        width: 33.3%;
        margin-top: 50px;
    }

    section.book .download-book .book-detail {
        border: none;
    }

    /* section donation styling */
    section.contribute {
        margin: 50px 0px;
    }
    section.contribute .donation a {
        width: 100%;
    }

    section.book .search-bar {
        margin-bottom: 0px;
    }

    section.co-activities .image-part img {
        height: 100%;
        object-fit: cover;
    }

    section.inner-page-hero {
        padding-top: 300px;
        background-position: top center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    section.institute-details .the-content-area .the-details {
        margin-bottom: 30px;
    }

    section.meet-founder .the-content-area .the-details {
        margin-top: 30px;
    }

    section.our-philosophy {
        margin: 50px 0px;
    }

    section.our-philosophy .the-content-area .the-details {
        margin-bottom: 30px;
    }

    footer {
        margin-top: 50px;
    }

    section.our-core-values .the-content-area .main-row .the-core-values ul {
        column-count: 2;
    }

    section.our-core-values .the-content-area .main-row .the-core-values ul li {
        padding: 20px 0px;
    }

    section.our-core-values .the-content-area .main-row .the-core-values ul li:nth-child(3)::before {
        content: unset;
    }

    section.get-in-touch .the-content-area .main-row .the-contact-options ul {
        column-count: 1;
    }

    section.get-in-touch .the-content-area .main-row .the-contact-options ul li {
        padding: 20px 0px;
    }

    section.get-in-touch .the-content-area .main-row .the-contact-options ul li:before {
        content: unset;
    }

    section.activity-post .the-content-area .the-details {
        margin-top: 30px;
    }
    
    /* blog page video style  */
    section.our-mission .the-content-area .the-video #video {
        height: 500px;
    }

    /* popup styling */
    .announcement-modal .modal-dialog {
        max-width: 70%;
    }
}

@media (max-width: 767.98px) {
    section.hero {
        padding: 150px 0px 0px 0px;
        background-size: 100%;
        background-repeat: no-repeat;
    }

    section.hero .hero-content-area .the-content {
        padding: 20px;
        margin-bottom: 0px;
    }

    section.hero .hero-content-area .the-content .close-hero-btn {
        top: -14px;
        right: -10px;
    }

    section.hero .hero-content-area .the-content .hero-ctas a.donate-now {
        padding: 8px 25px;
    }

    section.hero .hero-content-area .the-content .hero-ctas a.watch-video {
        padding: 8px 25px;
        margin-left: 5px;
    }

    section.about-institute {
        margin: 50px 0px;
    }

    section.about-institute .the-content-area .the-details {
        margin-top: 20px;
    }

    section.about-institute .the-content-area .the-details h2 {
        font-size: 32px;
    }

    /*section our services  */
    section.overview-services {
        margin: 50px 0px;
        padding: 50px 0px;
    }
    
    /* our journey */
    section.our-journey {
        margin: 50px 0px;
    }

    section.our-journey .content-part {
        margin-bottom: 30px;
    }
    
    section.our-journey .image-part .profile-name {
        right: 30px;
        left: 30px;
    }

    /* section girls activity styling */
    section.girls-activity {
        margin: 50px 0px;
        padding: 50px 0px;
    }

    /* section boys activity */
    section.boys-activity {
        margin: 50px 0px;
    }

    /* section co-curricular activities */
    section.co-activities {
        margin: 50px 0px;
        padding: 50px 0px;
    }
    section.co-activities .curricular-heading h3 {
        font-size: 27px;
    } 
    section.co-activities .image-part {
        padding-right: px;
        margin-bottom: 50px;
    }

    section.co-activities .content-part {
        padding-left: 15px;
        border-left: unset;
    }

    section.co-activities .contact-button {
        margin-top: 10px;
        text-align: center;
    }

    /* section glance styling */
    section.glance {
        margin: 50px 0px 0px;
    }

    section.glance .glance-card {
        width: 33.3%;
        margin-bottom: 60px;
        padding: 0px !important;
        border: none;
    }

    /* section book styling */
    section.book {
        margin: 50px 0px;

    }
    section.book .download-book {
        width: 50%;
    }

    /* section our latest blogs */
    section.our-blogs {
        margin: 50px 0px;
        padding: 50px 0px;
    }

    section.our-mission .the-content-area .the-video #video {
        height: 450px;
    }

    footer .the-content-area .get-started ul,
    footer .the-content-area .quick-links ul {
        padding-left: 0px;
    }

    footer .the-content-area .get-started ul li,
    footer .the-content-area .quick-links ul li {
        margin-top: 10px;
    }

    section.our-blogs .blog-heading h2 {
        font-size: 32px;
    }

    section.contribute .donation {
        margin-bottom: 20px;
    }

    section.book .book-heading h2,
    section.contribute .contribute-heading h2 {
        font-size: 32px;
    }

    section.book .search-bar form input {
        width: 65%;
    }

    section.book .search-bar form button {
        padding: 10px 20px;
    }

    section.our-journey .content-part h2,
    section.girls-activity .girls-heading h2,
    section.boys-activity .boys-heading h2,
    section.glance .glance-heading h2 {
        font-size: 32px;
    }

    section.girls-activity .buttons,
    section.boys-activity .buttons {
        display: block;
    }

    section.girls-activity .buttons a.learn-more,
    section.girls-activity .buttons a.donate,
    section.boys-activity .buttons a.donate,
    section.boys-activity .buttons a.learn-more {
        width: 100%;
        margin-left: 0px;
    }

    section.overview-services .overview-detail h2 {
        font-size: 32px;
    }

    section.overview-services .the-cta {
        margin-top: 30px;
    }

    section.inner-page-banner-text .the-content-area .the-headings {
        padding: 20px;
    }

    section.institute-details {
        margin: 50px 0px;
    }
    
    section.institute-details .the-content-area .the-details h2 {
        font-size: 32px;
    }
    
    section.meet-founder {
        padding: 50px 0px;
    }
    
    section.our-mission .the-content-area .the-details h2,
    section.meet-founder .the-content-area .the-details h2,
    section.meet-founder .the-content-area .the-details h3 {
        font-size: 32px;
    }

    section.our-mission {
        padding: 50px 0px;
        margin-bottom: 50px;
    }

    section.our-mission .the-content-area .the-video {
        margin-bottom: 0px;
    }

    section.our-core-values {
        margin: 50px 0px;
    }

    section.our-core-values .the-content-area .main-row .the-details h2 {
        font-size: 32px;
    }

    section.our-core-values .the-content-area .main-row .the-core-values ul {
        column-count: 1;
    }

    section.our-core-values .the-content-area .main-row .the-core-values ul li:before {
    content: unset;
    }

    section.our-core-values .the-content-area .main-row .the-core-values ul li h3 {
        font-size: 24px;
        margin-top: 10px;
    }

    section.our-philosophy .the-content-area .the-details h2 {
        font-size: 32px;
    }

    section.contact-us-form .the-content-area .the-headings h2,
    section.get-in-touch .the-content-area .main-row .the-details h2 {
        font-size: 32px;
    }

    section.get-in-touch {
        margin-bottom: 50px;
    }

    section.get-in-touch .the-content-area .main-row .the-contact-options ul li h3 {
        font-size: 28px;
    }

    section.contact-us-form {
        padding: 50px 0px;
    }

    section.contact-us-form .the-content-area .the-form .field-parent input, 
    section.contact-us-form .the-content-area .the-form .field-parent textarea {
        padding: 10px;
    }

    section.contact-us-form .the-content-area .the-form .field-parent textarea {
        height: 150px;
    }

    section.our-location {
        margin: 50px 0px;
    }

    section.activity-post.odd {
        margin: 50px 0px;
    }

    section.activity-post.even {
        margin: 50px 0px;
        padding: 50px 0px;
    }

    section.activity-post .the-content-area .the-details h2 {
        font-size: 32px;
    }

    section.load-more-activities {
        margin: 50px 0px;
    }

    section.our-sponsored {
        margin-bottom: 50px;
    }

    section.our-sponsored .the-content-area .the-logos ul {
        column-count: 1;
    }

    section.our-sponsored .the-content-area .the-logos ul li {
        margin-top: 20px;
    }

    section.our-sponsored .the-content-area .the-logos ul li img {
        max-width: 60%;
        width: auto;
    }

    section.institute-at-glance .the-content-area .main-row .the-details h2,
    section.success-story .the-content-area .the-details h2,
    section.head-master-video .the-content-area .the-details h2 {
        font-size: 32px;
    }

    section.success-story {
        margin: 50px 0px;
    }

    section.success-story.even {
        padding: 50px 0px;
    }

    section.success-story .the-content-area .the-details {
        margin-top: 20px;
    }

    section.institute-at-glance {
        margin: 50px 0px;
    }

    section.institute-at-glance .the-content-area .main-row .the-core-values ul li h3 {
        font-size: 24px;
    }

    section.institute-at-glance .the-content-area .main-row .the-core-values ul {
        column-count: 1;
    }

    section.institute-at-glance .the-content-area .main-row .the-core-values ul li {
        margin-top: 20px;
    }

    section.institute-at-glance .the-content-area .main-row .the-core-values ul li h3 {
        margin-top: 5px;
    }

    section.institute-at-glance .the-content-area .main-row .the-core-values ul li:before {
        content: unset;
    }

    section.institute-at-glance .the-content-area .main-row .the-details {
        margin-bottom: 15px;
    }

    section.co-activities .contact-button a.view-more,
    section.co-activities .contact-button a.contact-now {
        width: 100%;
        margin-left: 0px;
    }

    section.book.books-listing-page .download-book {
        margin-bottom: 0px;
    }

    section.our-mission {
        margin-top: 50px;
    }

    section.full-width-content .the-content-area .the-details h2 {
        font-size: 32px;
    }

    .gallery-item {
        width: 100% !important;
    }
    
    .announcement-modal .modal-dialog {
        max-width: 100%;
    }
    
    .buddypress section.main-content #buddypress li#activity-all,
    .buddypress section.main-content #buddypress li#activity-mentions {
        background-color: unset !important;
    }
    
    .buddypress section.main-content #buddypress #activity-all a,
    .buddypress section.main-content #buddypress #activity-mentions a {
        margin-right: 0px;
        margin-top: 10px;
    }
    
    .buddypress section.main-content nav ul li {
        background-color: unset !important;
    }
    
    .buddypress section.main-content nav ul li a {
        color: white !important;
        background-color: #346044 !important;
        margin-top: 10px;
    }
}

@media (max-width: 575.98px) {
    header.site-header .top-menu a.site-mobile-logo {
        width: 60%;
    }

    section.hero {
        background-size: cover;
        height: 250px;
    }

    /* section co-curricular activities */
    section.co-activities .image-part .profile-detail {
        right: 40px;
        left: 30px
    }

    /* section glance styling */
    section.glance .glance-card {
        width: 50%;
        padding: unset;
    }
    /* section books styling */
    section.book .download-book a {
        padding: 10px 15px;
    }
}