@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//denning.edu.pk/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.2.7") format("woff2");
}

:root {
	--wd-text-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 16px;
	--wd-title-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 15px;
	--wd-primary-color: rgb(26,21,60);
	--wd-alternative-color: rgb(254,184,3);
	--wd-link-color: rgb(0,0,0);
	--wd-link-color-hover: rgb(0,0,0);
	--btn-default-font-family: "Montserrat", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 700;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #83b735;
	--btn-accented-bgcolor-hover: #74a32f;
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 980px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: #0a0a0a;
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-popup{
	display: none;
    margin: calc(var(--wd-admin-bar-h) + 25px) auto 25px auto;
   width: 100%;
	padding: 0px;
}
/* @media screen and (min-width: 800px) {
    .gallery_css{
    height: 230px !important;
    overflow:hidden;
    }
}
.gallery_css {
  transition: all 0.3s ease;
}

.gallery_css:hover {
  transform: scale(1.05);
  filter: brightness(80%);
} */

@media screen and (min-width: 800px) {
  .gallery_css {
    height: 230px !important;
    overflow: hidden;
    position: relative; /* Needed for positioning the icon */
  }

  .gallery_css::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px; /* adjust size as needed */
    height: 32px;
    background-image: url('https://denning.edu.pk/wp-content/uploads/2025/05/img-gallery-layers.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
    pointer-events: none; /* Allows clicks to pass through */
  }
}

.gallery_css {
  transition: all 0.3s ease;
}

.gallery_css:hover {
  transform: scale(1.05);
  filter: brightness(80%);
}
/* IT Park */
/* Zoom background on hover */
.hover-card {
  position: relative;
  overflow: hidden;
  transition: background-size 0.8s ease;
  background-size: 100%;
}

.hover-card:hover {
  background-size: 110%;
}

/* Text transition setup */
.hover-card .card-heading,
.hover-card .card-text {
  position: absolute;
  width: 100%;
  left: 0;
  padding: 0 20px;
  text-align: center;
  transition: transform 0.8s ease, opacity 0.8s ease;
  z-index: 2;
  color: white;
}

/* Heading centered initially */
.hover-card .card-heading {
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

/* Paragraph hidden initially */
.hover-card .card-text {
  bottom: -100%;
  opacity: 0;
}

/* Hover animations */
.hover-card:hover .card-heading {
  transform: translateY(-150%);
  opacity: 0;
}

.hover-card:hover .card-text {
  bottom: 50%;
  transform: translateY(50%);
  opacity: 1;
}

/* Graduation page CSS */
.grad-nav .elementor-item {
  position: relative;
  display: inline-block;
  color: #333;
  transition: color 0.4s ease; 
}

.grad-nav .elementor-item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: #C9A646;
  transition: width 0.6s ease; 
}

.grad-nav .elementor-item:hover {
  color: #C9A646;
}

.grad-nav .elementor-item:hover::after {
  width: 100%;
}

.grad-nav .elementor-item.elementor-item-active {
  color: #C9A646;
}

.grad-nav .elementor-item.elementor-item-active::after {
  width: 100%;
}
