/**
* Template Name: Flexor - v4.9.1
* Template URL: https://bootstrapmade.com/flexor-free-multipurpose-bootstrap-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
  font-family: "Open Sans", sans-serif;
  color: #313030;
}

a {
  color: #ff5821;
  text-decoration: none;
}

a:hover {
  color: #ff7e54;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}



.modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  width: 95%;         /* Increased from 80% to 95% */
  max-width: 915px;  /* Increased from 700px to 1000px */
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  text-align: center;
}

.modal-content .image-wrapper {
  display: flex;
  gap: 30px;
  flex-wrap: nowrap;     /* Prevent wrapping to new line */
  justify-content: center;
}

.modal-content img {
  width: 38%;
  /*Eachimagetakesup45%ofthemodalwidth*/height: auto;
  border-radius: 10px;
  object-fit: fill;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}


.modal-content .close {
  position: absolute;
  top: -5px;
  right: 20px;
  font-size: 30px;
  color: #000;
  cursor: pointer;
}


/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #004770;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #015c91;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}


/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background:#004770;
  font-size: 14px;
  padding: 0;
  color: rgba(255, 255, 255, 1);
  height: 40px;
}

#topbar .contact-info i {
  font-style: normal;
  color:rgba(255, 255, 255, 1);
}

#topbar .contact-info i a,
#topbar .contact-info i span {
  padding-left: 5px;
  color: #fff;
}

#topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

#topbar .contact-info i a:hover {
  color:rgba(255, 255, 255, 1);
}
#topbar .cta{
	background: #ff5821;
}
#topbar .cta a {
  color: #fff;  
  padding: 8px 15px;
  display: inline-block;
  transition: 0.3s;
}
#topbar .cta a .bx {
   font-size: 20px;
}
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  max-height: 70px;
  margin-bottom: 5px;
}

.logo-text {
  margin: 0px -12px;
  font-size: 18px;
  color: #2d2f90;
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
}

.logo-text span {
  color: #eb7100;
  font-size: 16px;
}

@media (min-width: 768px) {
  .logo-link {
    flex-direction: row;
  }

  .logo-img {
    margin-bottom: 0;
    margin-right: 10px;
  }

  .logo-text {
     
    text-align: left;
    font-size: 20px;
  }

  .logo-text span {
      padding-left:5px;
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .email-link {
    display: none !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 100px;
  transition: all 0.5s;
  z-index: 997;
  background: #fff;
}

#header.header-fixed {
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
}

#header .logo h1 {
  font-size: 30px;
  margin: -9px;
  line-height: 0;
  font-weight: 500;
  font-family: fantasy;

}
#header .logo h1 span{
	color:#eb7100;
	font-size: 22px;
}
#header .logo h1 a,
#header .logo h1 a:hover {
  color: #2d2f90;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 82px;
}

.scrolled-offset {
  margin-top: 70px;
}

#main {
  z-index: 3;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  color: #635551;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: rgb(0, 128, 202);
}

.navbar .getstarted,
.navbar .getstarted:focus {
  background: #ff5821;
  padding: 8px 20px;
  margin-left: 30px;
  border-radius: 4px;
  color: #fff;
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
  color: #fff;
  background: #ff6b3b;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0 0 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 4px;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: rgb(0, 128, 202);
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #473d3a;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(43, 37, 35, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #473d3a;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #ff5821;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0 0 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #ff5821;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}
/* Mobile adjustments */
@media (max-width: 767px) {
  #header {
    height: 70px; /* reduce header height */
  }

  #header .logo h1 {
    font-size: 16px;        /* shrink text */
    line-height: 1.2;
  }

  #header .logo img {
    max-height: 63px;       /* smaller logo */
  }

  #header .logo h1 a {
    font-size: 23px;        /* smaller link text */
    display: flex;
    align-items: center;
    /* gap: 6px;                */

  #header .school-code {
    font-size: 8px;         /* smaller school code text */
    margin-left: 60px;      /* adjust alignment for mobile */
    margin-top: -20px;
  }
}
}
@media (max-width: 767px) {
  .school-code {
    display: none;
  }
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.gallery-img-div{
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}
.gallery-img-div img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#hero {
  width: 100%;
  height: 60vh;  
  background-size: cover;
  position: relative;
  z-index: 1;
  padding: 0;  
}

#hero:before {
  content: "";
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .container {
  z-index: 2;
}

#hero h1 {
  margin: 0 0 10px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}

#hero h2 {
  color: #eee;
  margin-bottom: 50px;
  font-size: 24px;
}

#hero .get-started-icon {
  font-size: 24px;
  background: #ff5821;
  padding: 14px;
  color: #fff;
  border-radius: 50px;
  position: relative;
  z-index: 5;
  box-shadow: 10px 2px 15px rgba(0, 0, 0, 0.1);
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  transition: 0.5s;
  margin-left: -10px;
  padding: 8px 26px 8px 26px;
  color: #fff;
  background: #584b48;
  border-radius: 0 50px 50px 0;
  position: relative;
  z-index: 4;
}

#hero .btn-get-started:hover {
  background: #ff5821;
}

#hero .bannar-Sec{
  width:100%;  
}	
#hero .bannar-Sec video{
	width:100%;height: 100vh;-o-object-fit: cover;object-fit: cover;display: block;
  }
@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 1024px),
(max-height: 768px) {
  #hero {    
    height: 80vh;
  }
}

@media (max-width: 768px) {
  #hero {
    height: 80vh;
  }

  #hero h1 {
    font-size: 17px;
    line-height: 15px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

@media (max-height: 640px) {
  #hero {
    height: 120vh;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f4eee5;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 0;
  font-family: "Poppins", sans-serif;
  color:#060981;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #f4f2f2;
  margin-bottom: 40px;
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 500;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #635551;
  content: "/";
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us:before{
background-color: 
 color-mix(in srgb, var(--background-color), transparent 30%);
    position: absolute;
    inset: 0;
    z-index: 2;
}
.why-us {
  padding: 60px 0 60px 0;
  position: relative;
  z-index: 3;
}

.why-us .content {
  padding: 30px;
  background: rgb(0, 71, 112);
  border-radius: 4px;
  color: #fff;
}

.why-us .content h3 {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.why-us .content p {
  margin-bottom: 30px;
}

.why-us .more-btn {
  display: inline-block;
  background: rgb(0, 71, 112);
  padding: 6px 30px 8px 30px;
  color: #fff;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
}

.why-us .more-btn i {
  font-size: 14px;
}

.why-us .more-btn:hover {
  color: #fff;
  background: rgb(0, 128, 202);
}
.why-us .more-btn1, .why-us .more-btn1:hover {
  background: #fff;
  color: rgb(0, 71, 112);
}
.why-us .icon-boxes .icon-box {
  text-align: center;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  width: 100%;
}

.why-us .icon-boxes .icon-box i {
  font-size: 40px;
  color: rgb(0, 71, 112);
  margin-bottom: 30px;
}

.why-us .icon-boxes .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 30px 0;
}

.why-us .icon-boxes .icon-box p {
  font-size: 15px;
  color: #716f6f;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
/* .about .icon-boxes h4 {
  font-size: 18px;
  color: #7f6d68;
  margin-bottom: 15px;
}

.about .icon-boxes h3 {
  font-size: 28px;
  font-weight: 700;
  color:#060981;
  margin-bottom: 15px;
}

.about .icon-box {
  margin-top: 40px;
}

.about .icon-box .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 2px solid rgb(180, 227, 255);
  border-radius: 50px;
  transition: 0.5s;
  background: #fff;
}

.about .icon-box .icon i {
  color: rgb(0, 71, 112);
  font-size: 32px;
}

.about .icon-box:hover .icon {
  background: rgb(0, 71, 112);
  border-color: rgb(0, 71, 112);
}

.about .icon-box:hover .icon i {
  color: #fff;
}

.about .icon-box .title {
  margin-left: 85px;
  font-weight: 700;
  margin-top: 17px;
  font-size: 18px;
}

.about .icon-box .title a {
  color: #343a40;
  transition: 0.3s;
}

.about .icon-box .title a:hover {
  color: #0d6efd;
}

.about .icon-box .description {
  margin-left: 85px;
  line-height: 24px;
  font-size: 14px;
}

.about .video-box {  
  min-height: 400px;
}

.about .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(#ff5821 50%, rgba(255, 88, 33, 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
}

.about .play-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.about .play-btn::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 2s;
  animation: pulsate-btn 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(255, 88, 33, 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.about .play-btn:hover::after {
  border-left: 15px solid #ff5821;
  transform: scale(20);
}

.about .play-btn:hover::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  -webkit-animation: none;
  animation: none;
  border-radius: 0;
}

@-webkit-keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
} */

/* ---------- Your existing styles (kept) ---------- */
.about .icon-boxes h4 {
  font-size: 18px; color: #7f6d68; margin-bottom: 15px;
}
.about .icon-boxes h3 {
  font-size: 28px; font-weight: 700; color:#060981; margin-bottom: 15px;
}
.about .icon-box { margin-top: 40px; }
.about .icon-box .icon { float:left; display:flex; align-items:center; justify-content:center; width:64px; height:64px; border:2px solid rgb(180,227,255); border-radius:50px; transition: .5s; background:#fff; }
.about .icon-box .icon i { color: rgb(0,71,112); font-size:32px; }
.about .icon-box:hover .icon { background: rgb(0,71,112); border-color: rgb(0,71,112); }
.about .icon-box:hover .icon i { color:#fff; }
.about .icon-box .title { margin-left:85px; font-weight:700; margin-top:17px; font-size:18px; }
.about .icon-box .title a { color:#343a40; transition:.3s; }
.about .icon-box .title a:hover { color:#0d6efd; }
.about .icon-box .description { margin-left:85px; line-height:24px; font-size:14px; }
.about .video-box { min-height:400px; }

/* ---------- New layout polish ---------- */
.about { position: relative; }
.about-grid { row-gap: clamp(18px, 3vw, 24px); }

/* ---------- Slider ---------- */
.about-slider{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0d11;
  aspect-ratio: 16/10;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  isolation: isolate;
}
.about-slider .as-frame{
  position:absolute; inset:0;
  background:
    radial-gradient(120% 80% at 50% 30%, rgba(255,255,255,.08), transparent 60%) ,
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.45));
  z-index:1; pointer-events:none;
}

.as-slides{ position:absolute; inset:0; }
.as-slide{
  position:absolute; inset:0; opacity:0; transition: opacity .9s ease;
}
.as-slide.is-active{ opacity:1; }

.as-slide img{
  width:100%; height:100%; object-fit:cover;
  transform: scale(1.08);
  will-change: transform, filter;
  animation: none;
}
.as-slide.is-active img{
  animation: kenburns 8s ease-in-out forwards;
}
@keyframes kenburns{
  0% { transform: scale(1.08) translateY(-2%); filter: saturate(.95) contrast(1.02); }
  100%{ transform: scale(1.15) translateY(1%);  filter: saturate(1.02) contrast(1.04); }
}

/* Hover tilt/parallax (desktop) */
@media (hover:hover){
  .about-slider:hover img{ transform: scale(1.12) translateY(-1%); }
}

/* Controls */
.as-nav{
  position:absolute; top:50%; transform: translateY(-50%);
  z-index:3; width:42px; height:42px; border-radius:10px;
  border:1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.25);
  color:#fff; display:grid; place-items:center;
  backdrop-filter: blur(4px) saturate(130%);
  cursor:pointer; transition: background .25s ease, transform .15s ease, border-color .25s;
}
.as-nav:hover{ background: rgba(255,255,255,.15); border-color:#fff; transform: translateY(-50%) scale(1.03); }
.as-prev{ left:10px; }
.as-next{ right:10px; }

/* Dots */
.as-dots{
  position:absolute; z-index:3; inset:auto 0 10px 0;
  display:flex; gap:8px; justify-content:center;
}
.as-dots button{
  width:9px; height:9px; border-radius:99px; border:none; cursor:pointer;
  background: rgba(255,255,255,.5); transition: width .25s, background .25s;
}
.as-dots button.is-active{ width:26px; background:#fff; }

/* ---------- Reveal Animations (AOS-like, no dependency) ---------- */
[data-reveal]{
  opacity:0;
  transform: translate3d(0, 14px, 0) scale(.98);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1);
}
[data-reveal="left"]{ transform: translate3d(-20px, 0, 0) scale(.98); }
[data-reveal="up"]{ transform: translate3d(0, 20px, 0) scale(.98); }
[data-reveal].in{ opacity:1; transform:none; }
[data-reveal].in[data-delay]{ transition-delay: var(--d, 0ms); }

/* ---------- Accessibility / Motion ---------- */
@media (prefers-reduced-motion: reduce){
  .as-slide.is-active img{ animation:none !important; }
  [data-reveal]{ transition:none !important; }
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid rgb(0, 71, 112);
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: rgb(0, 71, 112);
}

.clients .swiper-slide img {
  opacity: 0.5;
  filter: grayscale(100%);
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  padding: 50px 20px;
  margin-top: 35px;
  margin-bottom: 25px;
  text-align: center;
  height: 290px;
  position: relative;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.services .icon {
  position: absolute;
  top: -36px;
  left: calc(50% - 36px);
  transition: 0.2s;
  border-radius: 50%;
  border: 6px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  width: 72px;
  height: 72px;
  background:rgb(0, 71, 112);
}

.services .icon i {
  color: #fff;
  font-size: 24px;
  line-height: 0;
}

.services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
  text-transform: uppercase;
}

.services .title a {
  color: #343a40;
}

.services .icon-box:hover .icon {
  background: #fff;
  border: 2px solid rgb(0, 71, 112);
}

.services .icon-box:hover .icon i {
  color: rgb(0, 71, 112);
}

.services .icon-box:hover .title a {
  color: rgb(0, 71, 112);
}

.services .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Values
--------------------------------------------------------------*/
.values .card {
  border: 0;
  padding: 160px 20px 20px 20px;
  position: relative;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.values .card-body {
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  transition: ease-in-out 0.4s;
  border-radius: 5px;
}

.values .card-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
}

.values .card-title a {
  color: #473d3a;
}

.values .card-text {
  color: #4b4949;
}

.values .read-more a {
  color: #656262;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  transition: 0.4s;
}

.values .read-more a:hover {
  text-decoration: underline;
}

.values .card:hover .card-body {
  background: #ff5821;
}

.values .card:hover .read-more a,
.values .card:hover .card-title,
.values .card:hover .card-title a,
.values .card:hover .card-text {
  color: #fff;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0; 
  background-position: center center;
  background-size: cover;
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
  color: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 400px;
  border-radius: 12%;
  border: 6px solid rgba(255, 255, 255, 0.15);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #fff;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #ddd;
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: rgba(255, 255, 255, 0.4);
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
  color: #eee;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #ff5821;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio #portfolio-flters { 
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 20px 12px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #313030;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 50px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #ffffff;
  background: #5b7423;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;  
  font-weight: 600;
  color: #473d3a;
}

.portfolio .portfolio-item .portfolio-info p {
  color: #7f6d68;
  font-size: 14px;
  margin-bottom: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 40px;
  font-size: 24px;
  top: calc(50% - 18px);
  color: #635551;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: #ff5821;
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 10px;
}

.portfolio .portfolio-item .portfolio-links {
  opacity: 0;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
}

.portfolio .portfolio-item .portfolio-links a {
  color: #fff;
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-item .portfolio-links a:hover {
  color: #ffa587;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 20px;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 20px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #ff5821;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #ff5821;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0 0 30px rgba(71, 61, 58, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team .member {
  margin-bottom: 20px;
  overflow: hidden;
  text-align: center;
  border-radius: 5px;
  background:#5c5c5d;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.team .member .member-img {
  position: relative;
  overflow: hidden;
}

.team .member .social {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 40px;
  opacity: 0;
  transition: ease-in-out 0.3s;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .member .social a {
  transition: color 0.3s;
  color: #473d3a;
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.team .member .social a:hover {
  color: #ff5821;
}

.team .member .social i {
  font-size: 18px;
  line-height: 0;
}

.team .member .member-info {
  padding:42px 15px 10px 15px;height: 100px;
  background-color: #eb7100cf;
  clip-path: polygon(0% 0%, 142% 75%, 100% 100%, 0% 100%);	
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: #fff;
}

.team .member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
}

.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #656262;
}

.team .member:hover .social {
  opacity: 1;
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .box {
  padding: 20px;
  background: #fff;
  text-align: center;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.12);
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.pricing h3 {  
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  color: #656262;
  background: #f8f8f8;
}

.pricing h4 {
  font-size: 36px;
  color: #ff5821;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  margin-bottom: 20px;
}

.pricing h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing h4 span {
  color: #bababa;
  font-size: 16px;
  font-weight: 300;
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: #313030;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing ul li {
  padding-bottom: 16px;
}

.pricing ul i {
  color: #ff5821;
  font-size: 18px;
  padding-right: 4px;
}

.pricing ul .na {
  color: #ccc;
  text-decoration: line-through;
}

.pricing .btn-wrap {
  margin: 20px -20px -20px -20px;
  padding: 20px 15px;
  background: #f8f8f8;
  text-align: center;
}

.pricing .btn-buy, .btn-save {
  background: rgb(0, 71, 112);
  display: inline-block;
  padding: 6px 35px 8px 35px;
  border-radius: 4px;
  color: #fff;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  box-shadow: 0 3px 7px rgba(0, 71, 112, 0.4);
  transition: 0.3s;
}

.pricing .btn-buy:hover, .btn-save:hover {
  background: #5479ff;
}

.pricing .featured h3 {
  color: #fff;
  background: rgb(0, 71, 112);
  box-shadow: 0 3px 7px rgba(0, 71, 112, 0.4);
}

.pricing .advanced {
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
  background:#0693e3;
  color: #fff;
}


/*--------------------------------------------------------------
# F.A.Q
--------------------------------------------------------------*/
.faq .faq-list {
  padding: 0 100px;
}

.faq .faq-list ul {
  padding: 0;
  list-style: none;
}

.faq .faq-list li+li {
  margin-top: 15px;
}

.faq .faq-list li {
  padding: 20px;
  background: #fff;
  border-radius: 4px;
  position: relative;
}

.faq .faq-list a {
  display: block;
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding: 0 30px;
  outline: none;
  cursor: pointer;
}

.faq .faq-list .icon-help {
  font-size: 24px;
  position: absolute;
  right: 0;
  left: 20px;
  color: #ffb8a1;
}

.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 10px 0 0 0;
}

.faq .faq-list .icon-show {
  display: none;
}

.faq .faq-list a.collapsed {
  color: #343a40;
}

.faq .faq-list a.collapsed:hover {
  color: #ff5821;
}

.faq .faq-list a.collapsed .icon-show {
  display: inline-block;
}

.faq .faq-list a.collapsed .icon-close {
  display: none;
}

@media (max-width: 1200px) {
  .faq .faq-list {
    padding: 0;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #313030;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px;
}

.contact .info-box i {
  font-size: 32px;
  color: rgb(0, 71, 112);
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted rgb(0, 71, 112);
  float: left;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #656262;
  font-weight: 700;
  margin: 10px 0 10px 68px;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin: 0 0 0 68px;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #ff5821;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background:rgb(0, 71, 112);
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
}

.contact .php-email-form button[type=submit]:hover {
  background: #0d6efd;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* Knowledge Today, Success Tomorrow Start*/
  .hero-ribbon{
    position: relative; isolation:isolate; overflow:hidden;
    min-height: 320px;            /* close to your image’s height */
    display:grid; place-items:center;
    border-bottom: 3px solid #5b7423;
    background:#0b0d11;
  }

  /* Background image + dim overlay */
  .hr-bg{ position:absolute; inset:0; z-index:-2; overflow:hidden; }
  .hr-bg img{
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
    filter: saturate(.95) contrast(1.02) brightness(.95);
    transform: scale(1.02);      /* tiny zoom to avoid edges */
  }
  .hr-dim{ position:absolute; inset:0; background: rgba(0,0,0,.62); }

  /* Centered content */
  .hr-center{
    width:min(1200px, 94vw);
    text-align:center;
    padding: clamp(36px, 7vw, 84px) 12px;
    color: #ffffff;
  }

  .hr-title{
    margin:0 0 18px 0;
    font-family: "Playfair Display", ui-serif, Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    font-size: clamp(26px, 4.2vw, 48px);
    letter-spacing:.2px;
    text-shadow: 0 2px 12px rgba(0,0,0,.35);
  }
  .hr-title .accent{ color: #f08a20; }

  .hr-btn{
    display:inline-flex; align-items:center; justify-content:center;
    padding: 14px 28px;
    border-radius: 12px;           
    background: #f08a20;
    color:#1b1206;
    font-weight: 800;
    letter-spacing:.6px;
    text-decoration:none;
    text-transform: uppercase;
    box-shadow: 0 10px 26px rgba(240,138,32,.28);
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
  }
  /* .hr-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(240,138,32,.36);
    filter: brightness(1.03);
  } */
  .hr-btn:active{ transform: translateY(0); }

  /* Subtle appear animation (optional) */
  [data-reveal]{ opacity:0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; }
  [data-reveal].in{ opacity:1; transform:none; }

  /* Mobile: full-width button like many school sites */
  @media (max-width:640px){
    .hr-btn{ width:100%; }
  }
/* Knowledge Today, Success Tomorrow End*/
/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
.blog {
  padding: 20px 0;
}

.blog .entry {
  padding: 30px;
  margin-bottom: 60px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .entry .entry-img {
  max-height: 440px;
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog .entry .entry-title {
  font-size: 28px;
  font-weight: bold;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog .entry .entry-title a {
  color: #473d3a;
  transition: 0.3s;
}

.blog .entry .entry-title a:hover {
  color: #ff5821;
}

.blog .entry .entry-meta {
  margin-bottom: 15px;
  color: #afa29e;
}

.blog .entry .entry-meta ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog .entry .entry-meta ul li+li {
  padding-left: 20px;
}

.blog .entry .entry-meta i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
}

.blog .entry .entry-meta a {
  color: #656262;
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog .entry .entry-content p {
  line-height: 24px;
}

.blog .entry .entry-content .read-more {
  -moz-text-align-last: right;
  text-align-last: right;
}

.blog .entry .entry-content .read-more a {
  display: inline-block;
  background: #ff5821;
  color: #fff;
  padding: 6px 20px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 4px;
}

.blog .entry .entry-content .read-more a:hover {
  background: #ff6b3b;
}

.blog .entry .entry-content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog .entry .entry-content blockquote {
  overflow: hidden;
  background-color: #fafafa;
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog .entry .entry-content blockquote p {
  color: #313030;
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog .entry .entry-content blockquote::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #473d3a;
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog .entry .entry-footer {
  padding-top: 10px;
  border-top: 1px solid #e6e6e6;
}

.blog .entry .entry-footer i {
  color: #988782;
  display: inline;
}

.blog .entry .entry-footer a {
  color: #554945;
  transition: 0.3s;
}

.blog .entry .entry-footer a:hover {
  color: #ff5821;
}

.blog .entry .entry-footer .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog .entry .entry-footer .cats li {
  display: inline-block;
}

.blog .entry .entry-footer .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog .entry .entry-footer .tags li {
  display: inline-block;
}

.blog .entry .entry-footer .tags li+li::before {
  padding-right: 6px;
  color: #6c757d;
  content: ",";
}

.blog .entry .entry-footer .share {
  font-size: 16px;
}

.blog .entry .entry-footer .share i {
  padding-left: 5px;
}

.blog .entry-single {
  margin-bottom: 30px;
}

.blog .blog-author {
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .blog-author img {
  width: 120px;
  margin-right: 20px;
}

.blog .blog-author h4 {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 0;
  padding: 0;
  color: #473d3a;
}

.blog .blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog .blog-author .social-links a {
  color: rgba(71, 61, 58, 0.5);
  margin-right: 5px;
}

.blog .blog-author p {
  font-style: italic;
  color: #a4a2a2;
}

.blog .blog-comments {
  margin-bottom: 30px;
}

.blog .blog-comments .comments-count {
  font-weight: bold;
}

.blog .blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog .blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog .blog-comments .comment .comment-img img {
  width: 60px;
}

.blog .blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog .blog-comments .comment h5 a {
  font-weight: bold;
  color: #313030;
  transition: 0.3s;
}

.blog .blog-comments .comment h5 a:hover {
  color: #ff5821;
}

.blog .blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: #473d3a;
}

.blog .blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog .blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: #635551;
  margin-bottom: 5px;
}

.blog .blog-comments .comment.comment-reply {
  padding-left: 40px;
}

.blog .blog-comments .reply-form {
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .blog-comments .reply-form h4 {
  font-weight: bold;
  font-size: 22px;
}

.blog .blog-comments .reply-form p {
  font-size: 14px;
}

.blog .blog-comments .reply-form input {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .blog-comments .reply-form input:focus {
  box-shadow: none;
  border-color: #ffa587;
}

.blog .blog-comments .reply-form textarea {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .blog-comments .reply-form textarea:focus {
  box-shadow: none;
  border-color: #ffa587;
}

.blog .blog-comments .reply-form .form-group {
  margin-bottom: 25px;
}

.blog .blog-comments .reply-form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: #473d3a;
}

.blog .blog-comments .reply-form .btn-primary:hover {
  background-color: #554945;
}

.blog .blog-pagination {
  color: #7f6d68;
}

.blog .blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog .blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog .blog-pagination li a {
  color: #473d3a;
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog .blog-pagination li.active,
.blog .blog-pagination li:hover {
  background: #ff5821;
}

.blog .blog-pagination li.active a,
.blog .blog-pagination li:hover a {
  color: #fff;
}

.blog .sidebar {
  padding: 30px;
  margin: 0 0 60px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .sidebar .sidebar-title {
  font-size: 20px;
  font-weight: 700;
  padding: 0 0 0 0;
  margin: 0 0 15px 0;
  color: #473d3a;
  position: relative;
}

.blog .sidebar .sidebar-item {
  margin-bottom: 30px;
}

.blog .sidebar .search-form form {
  background: #fff;
  border: 1px solid #ddd;
  padding: 3px 10px;
  position: relative;
}

.blog .sidebar .search-form form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
}

.blog .sidebar .search-form form button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  background: #ff5821;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.blog .sidebar .search-form form button i {
  line-height: 0;
}

.blog .sidebar .search-form form button:hover {
  background: #ff6735;
}

.blog .sidebar .categories ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .categories ul li+li {
  padding-top: 10px;
}

.blog .sidebar .categories ul a {
  color: #473d3a;
  transition: 0.3s;
}

.blog .sidebar .categories ul a:hover {
  color: #ff5821;
}

.blog .sidebar .categories ul a span {
  padding-left: 5px;
  color: #989595;
  font-size: 14px;
}

.blog .sidebar .recent-posts .post-item+.post-item {
  margin-top: 15px;
}

.blog .sidebar .recent-posts img {
  width: 80px;
  float: left;
}

.blog .sidebar .recent-posts h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
}

.blog .sidebar .recent-posts h4 a {
  color: #473d3a;
  transition: 0.3s;
}

.blog .sidebar .recent-posts h4 a:hover {
  color: #ff5821;
}

.blog .sidebar .recent-posts time {
  display: block;
  margin-left: 95px;
  font-style: italic;
  font-size: 14px;
  color: #989595;
}

.blog .sidebar .tags {
  margin-bottom: -10px;
}

.blog .sidebar .tags ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .tags ul li {
  display: inline-block;
}

.blog .sidebar .tags ul a {
  color: #8d7973;
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid #f4f2f2;
  display: inline-block;
  transition: 0.3s;
}

.blog .sidebar .tags ul a:hover {
  color: #fff;
  border: 1px solid #ff5821;
  background: #ff5821;
}

.blog .sidebar .tags ul a span {
  padding-left: 5px;
  color: #ddd7d6;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
:root{
  --ink:#0f172a;
  --muted:#7c8aa0;
  --brand:#0ea5e9;     /* primary */
  --brand-2:#22d3ee;   /* secondary */
  --line:#223047;      /* soft border on dark bg */
  --card:rgba(255,255,255,.04);
  --bg1:#0b1220;       /* footer bg dark */
  --bg2:#0e1526;
}

#footer.footer{
  position: relative;
  color: #e6edf6;
  background:
    radial-gradient(1200px 600px at 120% -30%, rgba(34,211,238,.15), transparent 60%),
    radial-gradient(1100px 600px at -20% 130%, rgba(14,165,233,.12), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  padding-top: 56px;
  border-top: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}

/* gentle top sheen */
#footer.footer::before{
  content:"";
  position:absolute; inset:-40% -10% auto -10%;
  height: 120px;
  background: radial-gradient(60% 60% at 50% 50%, rgba(255,255,255,.08), transparent 70%);
  filter: blur(30px);
  opacity:.35;
  pointer-events:none;
}

/* section spacing */
#footer .footer-top{ padding-bottom: 24px; }

/* Column cards (very subtle) */
#footer .footer-about,
#footer .footer-links,
#footer .footer-newsletter{
  /* background: var(--card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px; */
  padding: 18px 18px;
  /* box-shadow: 0 10px 28px rgba(2,8,23,.25); */
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
#footer .footer-about:hover,
#footer .footer-links:hover,
#footer .footer-newsletter:hover{
  transform: translateY(-3px);
  border-color: rgba(34,211,238,.4);
  box-shadow: 0 18px 36px rgba(2,8,23,.38);
}

/* Brand / title */
#footer .logo .sitename{
  font-weight: 800;
  font-size: 20px;
  letter-spacing:.2px;
  background: linear-gradient(135deg, #fff, #c2e9fb 45%, #a1c4fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display:inline-block;
}
#footer .logo .sitename::after{
  content:"";
  position:absolute; left:0; bottom:-6px; height:2px; width:0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width .5s ease .05s;
}
#footer .logo:hover .sitename::after{ width:100%; }

/* Contact text */
#footer .footer-contact p{
  margin: 0 0 6px;
  color:#cfd7e6;
  font-size:14px;
}
#footer .footer-contact strong{ color:#eaf2ff; }

/* Headings */
#footer h4{
  font-size: 16px;
  margin: 4px 0 10px;
  font-weight: 800;
  color:#eaf2ff;
  letter-spacing:.4px;
}

/* Link list */
#footer .footer-links ul{
  list-style:none; padding:0; margin:0;
}
#footer .footer-links li{
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,.06);
}
#footer .footer-links li:last-child{ border-bottom: 0; }
#footer .footer-links a{
  position:relative;
  display:inline-block;
  color:#cfd7e6;
  text-decoration:none;
  transition: color .25s ease, transform .25s ease;
  padding-bottom:2px;
}
#footer .footer-links a::after{
  content:"";
  position:absolute; left:0; bottom:-2px; height:2px; width:0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width .25s ease;
}
#footer .footer-links a:hover{
  color:#ffffff;
  transform: translateX(2px);
}
#footer .footer-links a:hover::after{ width:100%; }

/* Social icons */
#footer .social-links a{
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px;
  margin-right:10px;
  border-radius:12px;
  color:#fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 22px rgba(14,165,233,.35);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
#footer .social-links a:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(14,165,233,.45);
  filter: saturate(1.2);
}
#footer .social-links i{ font-size:18px; }

/* Map iframe polish */
#footer .footer-newsletter iframe{
  width:100% !important; height:200px;
  border:0;
  border-radius:14px;
  filter: saturate(1.05) contrast(1.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 10px 24px rgba(2,8,23,.35);
}

/* Copyright strip */
#footer .copyright{
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 18px; padding-bottom: 22px;
}
#footer .copyright p{
  margin:0 0 6px; color:#b9c4d6; font-size:13px;
}
#footer .credits{
  font-size:12.5px; color:#9fb0c9;
}
#footer .credits a{
  color:#d5e8ff; text-decoration:none; position:relative;
}
#footer .credits a:hover{
  color:#ffffff;
}
#footer .credits a + a{ margin-left: 8px; }

/* Float-in on scroll (safe even w/out AOS) */
@keyframes riseIn{
  from{ transform: translateY(16px); opacity: 0; }
  to{ transform: translateY(0); opacity: 1; }
}
#footer .footer-top .col-lg-4,
#footer .footer-top .col-md-6,
#footer .footer-top .col-md-3,
#footer .footer-top .col-md-12{
  animation: riseIn .6s ease both;
}
#footer .footer-top .col-lg-4:nth-child(1){ animation-delay:.05s; }
#footer .footer-top .col-lg-2:nth-child(2){ animation-delay:.12s; }
#footer .footer-top .col-lg-2:nth-child(3){ animation-delay:.18s; }
#footer .footer-top .col-lg-4:nth-child(4){ animation-delay:.24s; }

/* Responsive tweaks */
@media (max-width: 991.98px){
  #footer .footer-about,
  #footer .footer-links,
  #footer .footer-newsletter{ padding:16px; }
  #footer .footer-newsletter iframe{ height:180px; }
}
@media (max-width: 575.98px){
  #footer .social-links a{ width:38px; height:38px; border-radius:10px; }
  #footer .logo .sitename{ font-size:18px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  #footer .footer-top .col-lg-4,
  #footer .footer-top .col-md-6,
  #footer .footer-top .col-md-3,
  #footer .footer-top .col-md-12{
    animation: none !important;
  }
  #footer .footer-about,
  #footer .footer-links,
  #footer .footer-newsletter{
    transition: none;
  }
}


/*--Inside Pages--*/
.inside-pg h4{
  font-weight: bold;
}

