/*
Theme Name: PencilPress
Text Domain: pencilpress
Author: the ConchWebAppTech team
Theme URI:https://pencilpress.conchwebapptech.com/
Author URI: https://pencilpress.conchwebapptech.com/
Description: A custom school theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Tested up to: 6.5
Requires PHP: 7.4
*/
/* General Text & Background */


body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: 'Segoe UI', sans-serif;
}

/* Navbar */
.navbar {
    height: 90px;
        padding-bottom: 0px;
  /*background-color: var(--primary-color);*/
  /* padding: 1rem 1.5rem;*/
  /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);*/
  /*transition: all 0.3s ease;*/
  /*z-index: 999;*/
}
.navbar .navbar-brand,
.navbar .nav-link {
  /*color: #ffffff;*/
  
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #ffc107;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}
.btn-primary:hover {
  background-color: #003f88;
  border-color: #003f88;
}
.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}
.btn-secondary:hover {
  background-color: #5a6268;
}

footer h5 {
    color: var(--primary-color);
}

/* Cards */
.card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
}
.card-title {
  color: var(--primary-color);
}

/* Footer */
.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 2rem 0;
}
.footer a {
  color: #ffffff;
}
.footer a:hover {
  color: #ffc107;
}

.dropdown-menu .nav-link:hover {
    color: #FFF !important;
}

    /*.dropdown:hover .dropdown-menu{*/
    /*    display: block;*/
    /*    background-color: var(--primary-color) !important;*/
    /*}*/
    /*.dropdown-menu{*/
    /*    margin-top: 0;*/
    /*}*/


@media (min-width: 600px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        background-color: var(--primary-color) !important;
    }
}




.banner-section {
    position: relative;
    min-height: 250px;
    background-size: cover;
    background-position: center;
}

.banner-section .banner-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* Dark overlay */
    z-index: 0;
}

.banner-section .container {
    position: relative;
    z-index: 1;
}



.offcanvas-body ul li a {
    padding: 10px;
    /*border-bottom: solid 1px var(--primary-color, #007bff);*/
}

.offcanvas-header {
      background: var(--primary-color, #007bff);
      color: var(--text-color, #fff);
    }
    
/***************************************/

.single-hero {
    background: var(--primary-color, #007bff);
    color: var(--text-color, #fff);
    min-height: 150px;
    background-size: cover;
    background-position: center;
}

.single-hero h1 {
    font-size: 2rem;
}

.single-hero .meta {
    font-size: 0.9rem;
    opacity: 0.8;
}

.post-navigation a {
    text-decoration: none;
    font-weight: 600;
    color: var(--primary-color, #007bff);
}

.post-navigation a:hover {
    text-decoration: underline;
}

/************Page******************/

.page-hero {
    background: var(--primary-color, #007bff);
    color: var(--text-color, #fff);
    min-height: 120px;
    background-size: cover;
    background-position: center;
}

.page-hero h1 {
    font-size: 2rem;
}

.page-content {
    font-size: 1rem;
    line-height: 1.7;
}

.page-content img {
    max-width: 100%;
    height: auto;
}


/******************News****************/

.latest-news h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color, #007bff);
}

.news-list li {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--text-color, #212529);
  transition: color 0.3s ease;
}

.news-list a:hover {
  color: var(--primary-color, #007bff);
}

.news-date {
  font-size: 0.85rem;
  color: var(--secondary-color, #6c757d);
  margin-right: 10px;
}

.news-title {
  flex: 1;
  font-weight: 500;
}

.news-list li{
  border-bottom: 1px solid #FFF !important;
}


/********************************/
.heading_custom {
    font-family: cursive;
    font-size: 30px;
    font-weight: 600;
    color:  var(--primary-color);
    position: relative;
    margin-bottom: 30px;
    border-bottom:solid 3px #1e568f;
    
   
}

.section1_home h1 {
    color: var(--primary-color)!important;
}

.course-banner {
    color: #fff;
    position: relative;
}
.course-banner::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}
.course-banner h1 {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
}




.card .btn-primary {
    background: var(--primary-color, #007bff);
    border: none;
    padding: 8px 16px;
    font-size: 14px;
}
.card .btn-primary:hover {
    background: var(--secondary-color, #0056b3);
}



.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color, #007bff);
    color: #fff;
    padding: 0px 10px;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    display: none;
    z-index: 9999;
    transition: background 0.3s ease, opacity 0.3s ease;
}
.scroll-top:hover {
    background: var(--secondary-color, #0056b3);
}



.gallery-banner {
  background: linear-gradient(90deg, #3b5998 0%, #8b9dc3 100%);
  color: #fff;
}



/*.breadcrumb-wrap {*/
/*  background-color: #f8f9fa;*/
/*  padding: 10px 15px;*/
/*  border-radius: 0.25rem;*/
/*}*/

/*.breadcrumb {*/
/*  margin: 0;*/
/*  background: none;*/
/*}*/


/*22-07-2025*/


section#our-courses .text-center.mt-4 a.btn.btn-primary,section#our-programs .text-center.mt-4 a.btn.btn-primary {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
}
.gallery_img_main img {
    height: 210px;
    object-fit: cover;
	width:100%;
}
ul.dropdown-menu.show {
    background-color: var(--primary-color);
}
.menu-item-has-children ul.dropdown-menu li { 
    border-bottom: 1px solid  #fff !important
}
section#student-year-carousel .card.h-100.shadow-sm.text-center img.card-img-top.rounded-circle.mx-auto.mt-3 {
    border-radius: 50% !important;
    border: 2px solid var(--primary-color);
}
a.btn.btn-primary:hover {
    background: transparent !important;
    color: var(--primary-color);
    border: 2px solid var(--primary-color) !important;
}
a.btn.btn-primary { 
    border: 2px solid var(--primary-color) !important;
}

.about-page.container.my-5 {
    max-width: 100%;
    padding: 0;
}
section.mb-5.about_first_section {
  
    padding: 30px 15px;
}
section.mb-5.bg-light.p-4.rounded.about_second_section .row {
  
    padding: 40px 15px;
    color: #fff;
}
.rounded.about_second_section .row h3.mb-2 {
    color: var(--primary-color);
}
.about_second_section .col-md-6.mb-3.mb-md-0:first-child {
  
}
.aboutp_message img.pimg {
    height: 180px;
    width: 150px;
    object-fit: cover;
    border: 1px solid gainsboro;
}
span.about_principal_name.text-right {
    text-align: right;
    display: block;
    font-weight: 500;
    padding-right: 23px;
}
.aboutp_message {
    display: flex;
    gap: 15px;
    align-items: anchor-center;
    flex-direction: row-reverse;
}
section.mb-5.about_third_section {
   
    padding: 30px 15px;
    
}

.contact_info h3, .contact_form h3
{
    color: var(--primary-color);
    margin-bottom: 25px;
}
.contact_info i {
    color: var(--primary-color);
    font-size: 20px;
    border: 1px solid var(--primary-color);
    width: 45px;
    height: 45px;
    padding: 10px 0px;
    text-align: center;
    margin-bottom: 20px;
    margin-right: 10px;
}
.contact_info li {
    border-bottom: 1px solid gainsboro;
    margin-bottom: 20px;
}
.contact_info li:last-child {
    border-bottom: unset;
}
.contact_info li:hover i {
    background: var(--primary-color);
    color: #fff;
}
.contact_form button.btn.btn-primary:hover {
    border: 1px solid var(--primary-color);
    background: #fff !important;
    color: var(--primary-color);
}

section.mb-5.bg-light.p-4.rounded.about_second_section {
    background-image: url(/wp-content/uploads/2025/07/6.jpg);
    background-attachment: fixed;
    background-color: hsl(0deg 0% 0% / 80%) !important;
    background-blend-mode: overlay;
    border-radius: 0 !important;
}




section.mb-5.about_first_section h2 {
    color: var(--primary-color);
}
span.latest_first_news {
    position: absolute;
    background: #fff;
    font-size: 12px;
    padding: 3px 10px 4px 10px;
    border-radius: 50px;
    rotate: -30deg;
    display: inline-block;
    bottom: 15px;
    left: 0;
    z-index: -5;
    color: var(--primary-color);
}
.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.page-link { 
    color: var(--primary-color); 
}
.page-link:hover { 
    color: #838383; 
}
h3.Txt1 {
    position: relative;
    padding-left: 35px;
    z-index: 9;
}
section.bg-light.py-2.pencilpress_breadcrumbs {
    background-color: #efefef !important;
}
.pencilpress_breadcrumbs .row {
    align-items: anchor-center;
}
.pencilpress_breadcrumbs .row nav.breadcrumb-wrap.my-3 ol {
 
    justify-content: flex-end;
}
.pencilpress_breadcrumbs .row nav.breadcrumb-wrap.my-3 ol li.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}



button.c-button.c-button--gooey a {
    color: inherit;
    text-decoration: none;
    padding: 0 !important;
}


.c-button {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 8px 18px;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  z-index: 1;
}

.c-button--gooey {
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 4px solid var(--primary-color);
  border-radius: 0;
  position: relative;
  transition: all 700ms ease;
}

.c-button--gooey .c-button__blobs {
  height: 100%;
  filter: url(#goo);
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  bottom: -3px;
  right: -1px;
  z-index: -1;
}

.c-button--gooey .c-button__blobs div {
  background-color: var(--primary-color);
  width: 34%;
  height: 100%;
  border-radius: 100%;
  position: absolute;
  transform: scale(1.4) translateY(125%) translateZ(0);
  transition: all 700ms ease;
}

.c-button--gooey .c-button__blobs div:nth-child(1) {
  left: -5%;
}

.c-button--gooey .c-button__blobs div:nth-child(2) {
  left: 30%;
  transition-delay: 60ms;
}

.c-button--gooey .c-button__blobs div:nth-child(3) {
  left: 66%;
  transition-delay: 25ms;
}

.c-button--gooey:hover {
  color: #fff;
}

.c-button--gooey:hover .c-button__blobs div {
  transform: scale(1.4) translateY(0) translateZ(0);
}
















section#our-courses h5.card-title {
    text-align: left;
}
section.py-3.bg-primary.text-white {
    background-color: #356db1 !important;
    padding: 50px !important;
}




section#our-programs .text-center.mt-4 a.btn.btn-primary { 
    margin-top: 10px;
}
section#our-programs h3.text-center.mb-4 {
    margin-bottom: 50px !important;
}
section#our-programs {
    padding: 55px 0 70px 0 !important;
}
section#our-courses .text-center.mt-4 {
    margin-bottom: 25px;
    margin-top: 40px !important;
}
.container-fluid.BorderGrad {
    padding: 0 0;
    width: 100% !important;
    overflow: unset;
}
section#our-programs .card.h-100.shadow-sm {
    border-radius: 0;
    padding: 25px 25px 20px 25px;
}
section#our-courses .text-center.mb-4 {
    margin: 10px 0 40px 0 !important;
}
section#our-programs .card-body.text-center p.card-text {
    text-align: revert;
    padding: 12px 0 8px;
}
.menu-item-has-children ul.dropdown-menu li {
    padding: 3px 5px;
    border-bottom: 1px solid hsl(0deg 0% 0% / 50%);
}
section#our-courses .card.h-100.shadow-sm {
    border-radius: unset;
    overflow: hidden;
    border: 0;
}
section#our-courses p.card-text {
    min-height: 90px;
}
.menu-item-has-children ul.dropdown-menu li:last-child {
    border-bottom: unset !important;
}
.menu-item-has-children ul.dropdown-menu li:hover {
    background: #1e5690 !important;
    color: #ffff;
}
.menu-item-has-children .dropdown-menu {
    min-width: 250px;
    padding: 0 0;
    border: 0px solid rgba(0,0,0,.15);
    border-radius: 2px;
}
.top-bar.bg-light.py-2 {
    background-color: #000 !important;
    color: #fff;
}
.sticky-top .row {
    align-items: anchor-center;
    justify-content: space-between;
}
.sticky-top .row {
    align-items: anchor-center;
    justify-content: space-between;
}
.sticky-top .row .col-sm-3 {
    justify-content: end;
    display: flex;
}
.sticky-top .row .col-sm-7 {
    display: flex;
    justify-content: center;
}
.navbar  li>a {
    font-size: 16px !important;
    font-weight: 600;
    font-family: lato;
    color: #1e5690;
    padding: 32px 16px;
}
.sticky-top .row .col-sm-2 img {
    height: 90px !important;
    object-fit: contain;
}
.sticky-top.scrolled .navbar li>a {
    color: #fff;
}
.menu-item-has-children ul.dropdown-menu {
    z-index: 999999 !important;
}
/*.dropdown .nav-link {*/
/*    color: #ffffff;*/
/*}*/

/*.offcanvas .navbar li>a{*/
/*    padding:10px;*/
/*}*/

.pp_menu ul li a {
    color: #1e5690;
    font-weight: 600;
}

.dropdown .nav-link {
    color: #1e5690;
}

ul.dropdown-menu li a {
    color: #FFF !important;
    padding: 10px !important;
}

.sticky-top.scrolled nav ul li a {
    /*color: #FFF;*/
}


.btn-warning2 {
    color: #000;
    background-color: var(--primary-color) !important;
    border-color: #ffc107;
}

.sticky-top.scrolled a.btn.btn-warning {
    border: 1px solid #fff;
    background: #fff;
}

/*
.sticky-top {
    max-width: 1200px;
    margin: 0 auto;
    width: 100% !important;
    left: 0;
    right: 0;
}
.sticky-top .row {
    align-items: anchor-center;
    justify-content: space-between;
}
.sticky-top .row .col-sm-3 {
    justify-content: end;
    display: flex;
}
.sticky-top .row .col-sm-7 {
    display: flex;
    justify-content: center;
}
ul#menu-menu-1>li>a {
    font-size: 16px !important;
    font-weight: 600;
    font-family: lato;
    color: #1e5690;
    padding: 0 16px;
}
.sticky-top .row .col-sm-2 img {
    height: 90px !important;
    object-fit: contain;
}
.sticky-top.scrolled {
    background: #fff !important;
    box-shadow: 0px 0px 5px 3px #cbcbcb;
}*/
.container-fluid.services_home {
    margin: 70px 0 75px 0;
}
.services_home .card {
    border-radius: 0px !important;
    overflow: hidden;
    border-bottom: unset;
    box-shadow: 3px 3px 5px #888888;
}
.services_home .card-title {
    text-align: left;
    font-weight: 500 !important;
}
.card-text {
    /*text-align: left;*/
    color: #747474;
    line-height: 1.4;
}
.section1_home .container {
    padding: 30px 0 65px 0;
}
.section1_home .container .row {
    align-items: anchor-center !important;
}
/*
.sticky-top .row:after {
    background: #fff;
    content: "";
    position: absolute;
    right: -200px;
    width: 500px;
    height: 90px;
    z-index: -9;
    box-shadow: 9px 0px 5px 1px #cbcbcb;
}
.sticky-top .row:before {
    background: #fff;
    content: "";
    position: absolute;
    left: -200px;
    width: 2000px;
    height: 90px;
    z-index: -1;
    box-shadow: -9px 0px 5px 1px #cbcbcb;
}*/
.container-fluid.apply_now {
    padding-top: 40px;
    padding-bottom: 40px;
}
.Box1 {
    min-height: 350px;
    position: relative;
    overflow: hidden;
}

.Box1 h3 {
    background: #356db1;
    height: 200px;
    border-radius: 50%;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    top: -102px;
    padding: 130px 0 0 0;
    color: #fff;
}
.container-fluid.section1_home {
    background: #fbfbfb !important;
}
.container-fluid.footer, footer.container-fluid.pt-5.pb-4 {
    padding-bottom: 6px !important;
}
footer.container-fluid.pt-5.pb-4 {
    padding-top: 30px !important;
}
.card img {
    border-radius: 0 !important;
    -webkit-box-shadow: unset !important;
    -moz-box-shadow: unset;
    box-shadow: unset !important;
}
.Box1 { 
    padding: 0;
}
.Box1 ul.news-list  li a {
    padding: 0 15px ;
    color: #fff !important;
}
.section2_home .row {
    align-items: anchor-center;
}
.container-fluid.student_years.bg-light  section#student-year-carousel {
    padding: 55px 0 80px !important;
}
section#student-year-carousel h2.text-center.mb-4 {
    padding-bottom: 25px;
}
section#student-year-carousel .card.h-100.shadow-sm.text-center {
    border-radius: 4px;
    border-bottom: 1px solid #ededed !important;
    background: #fbfbfb;
    border: 1px solid #ededed !important;
}
.container-fluid.student_years.bg-light {
    background: #fff !important;
}
.Box1 ul {
    margin-top: 125px;
}
.Box2 {
    padding: 45px 0;
}
 .footer-widget.mb-3 h5 {
    border-bottom: 2px solid #7c7c7c;
    padding-bottom: 10px;
    font-weight: 700;
    font-family: cursive;
}
.container-fluid.section1_home h1 {
    font-family: cursive;
    font-size: 30px;
    font-weight: 600;
    color: #fc940c;
    position: relative;
    margin-bottom: 30px;
}
.container-fluid.section1_home p {
    color: #747474;
    text-align: justify;
}
a.btn.btn-primary {
    border: unset;
    outline: unset !important;
    box-shadow: unset !important;
    padding: 10px 25px;
    border-radius: 3px;
    font-size: 18px;
    font-weight: 500;
}
.container-fluid.section1_home h1:after {
    content: "";
    width: 150px;
    height: 3px;
    background: #1e568f;
    position: absolute;
    bottom: -15px;
    left: 0;
}
section#courses {
    background-color: #ffffff !important;
}

.sticky-top.scrolled .offcanvas-body ul li a {
    /*color: var(--text-color);*/
    color: #1e5690;
}


@media only screen and (max-width: 767px) and (min-width: 320px)  {
    
    
    div#navbarCollapse ul li a {
    background-color: var(--primary-color) !important;
    padding: 7px 15px;
    border-bottom: 1px solid #fff;
    color: var(--text-color);
}


	span.latest_first_news { 
    bottom: 38px; 
}
	.aboutp_message {
    display: flex;
    gap: 15px;
    align-items: anchor-center;
    flex-direction: column-reverse;
}
	
	.pencilpress_breadcrumbs .row .col-md-6 {
    max-width: 50%;
}
	span.about_principal_name.text-right {
    text-align: center;
    padding-right: 0;
}
	.dropdown-toggle::after {
    position: absolute;
    right: 20px;
    font-size: 25px;
    top: 15px;
}
.menu-item-has-children ul.dropdown-menu {
    position: relative !important;
    top: 0px !important;
    z-index: 0 !important;
    transform: unset !important;
}
	.menu-item-has-children .dropdown-menu { 
    background-color: var(--primary-color) !important;
    
}
	.menu-item-has-children ul.dropdown-menu li {
    padding: 0px;
    border-bottom: 0px solid hsl(0deg 0% 100% / 50%);
}
 .menu-item-has-children ul.dropdown-menu li a {
    padding: 7px 30px !important;
    border-bottom: 0px solid #fff !important;
}
	.menu-item-has-children ul.dropdown-menu li:last-child a {
    border-bottom: 1px solid #fff !important;
}
	
	
	
	
	
	
	
	
	.top-bar.bg-light.py-2 .col-md-6.col-12.text-md-start.text-center.mb-2.mb-md-0 {
    display: none;
}
	.top-bar .col-md-6.col-12.text-md-end.text-center {
    display: flex;
    padding: 0 10px;
    justify-content: space-evenly;
}
	.sticky-top .container  .col-sm-2 {
    flex: 0 0 40%;
}
.sticky-top .container .col-sm-7 {
    flex: 0 0 50%;
    justify-content: end;
    position: absolute;
    top: 28px;
}
	.sticky-top .container .col-sm-3 {
    display: none;
}
	.navbar-toggler:focus,.navbar-toggler { 
   box-shadow: unset !important;
    position: absolute;
    right: 0;
}
 div#navbarCollapse {
    margin-top: 62px;
}
/*	div#navbarCollapse ul#menu-menu-1 li a {*/
/*    padding: 7px 15px;*/
/*    border-bottom: 1px solid #fff;*/
/*}*/
/*	ul#menu-menu-1>li>a {*/
/*    font-size: 16px !important;*/
/*    font-weight: 500;*/
/*    font-family: lato;*/
/*    color: var(--bs-light);*/
/*    padding: 0 0;*/
/*    background: var(--primary-color);*/
/*}*/
	nav.navbar-expand-sm {
    width: 100%;
}

.sticky-top.scrolled .navbar li>a{
    
}
	
	.services_home .col-sm-3 {
    margin-bottom: 20px;
}
	.container-fluid.section1_home h1 { 
    font-size: 25px; 
}
	.section1_home .container .row {
    align-items: anchor-center !important;
    flex-direction: column-reverse;
    gap: 25px;
}
	.heading_custom { 
    font-size: 25px; 
}
	
}

@media only screen and (max-width: 767px) and (min-width: 451px)  {
	section#our-programs .col-md-4.mb-4 {
    width: 50%;
}
	.container-fluid.section2_home .col-sm-8 {
    width: 50%;
}
	.container-fluid.section2_home .col-sm-4 {
    width: 50%;
}
	.container-fluid.services_home .col-sm-3 {
    width: 50% !important;
}
	.container-fluid.section1_home .col-sm-6 {
    width: 100% !important;
}
	section#our-courses .col-md-4.mb-4 {
    width: 50% !important;
}
		span.latest_first_news { 
    bottom: 38px; 
}
}

