@import './constants.css';
@import './sticky.css';
@import './reset.css';
@import './departments.css';
@import './services.css';
@import './gallery.css';
@import './warning.css';
@import './page-template.css';
@import './article.css';

/* Header Nav */
a.donate-button {
  display: inline-block;
  padding: 8px 24px !important;
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  background-color: #0074d4;
  border: none;
  border-radius: 6px !important;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.donate-button:hover,
.donate-button:focus {
  background-color: #0074d4 !important;
  color: white !important;
  /* transform: translateY(-2px); */
  /* box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); */
}

a.donate-button:after {
  display: none !important;
}

/* Buttons */

button {
  /* margin: 20px; */
}

.custom-btn {
  /* width: 130px; */
  height: 40px;
  color: var(--button-color);
  border-radius: 5px;
  border-color: var(--button-color);
  padding: 0px 25px;
  font-family: var(--font-primary);
  /* font-weight: 500; */
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  /* box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5),
    7px 7px 20px 0px rgba(0, 0, 0, .1),
    4px 4px 5px 0px rgba(0, 0, 0, .1); */
  outline: none;
  background: white;
}

.custom-btn:hover {
  background: var(--button-color);
  color: var(--navigation-items-color-hover);
}

.btn-3 {
  background: var(--button-border-color);
  background: linear-gradient(0deg, var(--button-border-color) 0%, var(--button-border-secondary-color) 100%);
  width: 130px;
  height: 40px;
  line-height: 42px;
  padding: 0;
  border: none;
  transition: all 0.3s ease;
}

.btn-3 span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.btn-3:before,
.btn-3:after {
  position: absolute;
  content: "";
  right: 0;
  top: 0;
  background: var(--button-border-secondary-color);
  transition: all 0.3s ease;
}

.btn-3:before {
  height: 0%;
  width: 2px;
}

.btn-3:after {
  width: 0%;
  height: 2px;
}

.btn-3:hover {
  background: transparent;
  box-shadow: none;
}

.btn-3:hover:before {
  height: 100%;
}

.btn-3:hover:after {
  width: 100%;
}

.btn-3 span:hover {
  color: var(--button-border-secondary-color);
}

.btn-3 span:before,
.btn-3 span:after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  background: var(--button-border-secondary-color);
  transition: all 0.3s ease;
}

.btn-3 span:before {
  width: 2px;
  height: 0%;
}

.btn-3 span:after {
  width: 0%;
  height: 2px;
}

.btn-3 span:hover:before {
  height: 100%;
}

.btn-3 span:hover:after {
  width: 100%;
}

/* Navigation */
#menu {
  padding: 15px;
  transition: all 0.8s;
}

#menu h1,
#menu p {
  color: var(---heading-color)
}

#menu.navbar-default {
  background-color: var(--header-background);
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  /* position: fixed; */
  margin-bottom: 0;
  border-radius: 0;
}

#menu a.navbar-brand {
  font-family: var(--font-secondary);
  font-size: 24px;
  font-weight: 900;
  color: var(--navigation-items-color);
  text-transform: uppercase;
}

#menu a.navbar-brand span {
  font-weight: 100;
}

#menu.navbar-default .navbar-nav>li>a {
  font-family: var(--font-tertiary);
  text-transform: uppercase;
  color: var(--navigation-items-color);
  font-size: 15px;
  font-weight: 400;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 20px 0;
}

#menu.navbar-default .navbar-nav>li>a:hover,
#menu.navbar-default .navbar-nav>li>a.page-active {
  color: var(--navigation-items-color-hover);
}

#menu.navbar-default .navbar-nav>li>a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--navbar-items-underline-color);
  content: "";
  transition: width 0.2s;
}

#menu.navbar-default .navbar-nav>li>a:hover:after,
#menu.navbar-default .navbar-nav>li>a.page-active:after {
  width: 100% !important;
  background: var(--navbar-items-underline-color-hover) !important;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
  background-color: transparent;
}

.navbar-default .navbar-nav>.active>a:after,
.navbar-default .navbar-nav>.active>a:hover:after,
.navbar-default .navbar-nav>.active>a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: var(--secondary-gradient) !important;
  content: "" !important;
  transition: width 0.2s !important;
}

.navbar-toggle {
  border-radius: 0;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #608dfd;
}

.navbar-default .navbar-toggle:hover>.icon-bar {
  background-color: #608dfd;
}

.section-title {
  margin-bottom: 70px;
}

.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.section-title h2::after {
  position: absolute;
  content: "";
  background: var(--primary-gradient);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}

.section-title p {
  font-size: 18px;
}

.btn-custom {
  font-family: var(--font-secondary);
  text-transform: uppercase;
  color: var(--navigation-items-color);
  background-color: transparent;
  border: 1px solid var(--navigation-items-color);
  /* background-image: var(--primary-gradient); */
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  border-color: var(--intro-button-bg);
  background-color: var(--intro-button-bg-hover);
}

.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}

/* Arrow down */
.arrow {
  /* animation: jump 2s infinite; */
  /* float: left; */
  width: 100px;
  height: 100px;
  display: block;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  overflow: hidden;
}

.intro-text svg {
  display: block;
  position: relative;
  /* top: calc(50% + 160px); */
  background: none;
  width: 300px;
  height: 300px;
  stroke: var(--navigation-items-color-hover);
  /* background-color: white; */
  left: 50%;
  transform: scale(1) translate(-50%, -50%);
  transition: transform 0.5s ease;
}

.intro-text svg:hover {
  transform: scale(1) translate(-50%, -45%);
}

.intro-text #Right2nd {
  animation: dash 0.666s ease forwards 1;
  animation-delay: 0.36s;
  opacity: 0.05;
}

.intro-text #Left1st {
  animation: dash 1.0s ease forwards 1;
  animation-delay: 0.0s;
  opacity: 0.05;
}

.intro-text .path {
  stroke-dasharray: 300 840;
  stroke-dashoffset: 420;
  stroke-width: 1px;
  /* left1st= 840 length   right2nd= ? */

}


@keyframes dash {
  0% {
    opacity: 0.0;
    stroke-width: 0px;
    stroke-dasharray: 350 840;
    stroke-dashoffset: 300;
  }

  11% {
    stroke-width: 0.5px;
  }

  22% {
    stroke-width: 1px;
  }

  33% {
    stroke-width: 5px;
  }

  66% {
    opacity: 0.5;
    stroke-width: 9px;
  }

  100% {
    opacity: 1.0;
    stroke-width: 18px;
    stroke-dasharray: 120 840;
    stroke-dashoffset: 960;
  }
}

/* .arrow {
  position: relative;
  display: inline-block;
  width: 0;
  height: 0;
  margin: 50px auto;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 30px solid white; 

.arrow:before, .arrow:after {
  content: '';
  position: absolute;
  left: -20px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white; 
}

.arrow:before {
  top: -10px;
}

.arrow:after {
  top: 10px;
} */

/* Page Header */

#page-header .intro {
  height: 50%;
  min-height: 320px;
}

#page-header .container {
  top: 50%;
  position: relative;
}

/* Header Section */
.intro {
  display: table;
  width: 100%;
  padding: 0;
  background: url("../img/splash.webp") center center no-repeat;
  background-color: #e5e5e5;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  height: calc(100% - 81px);
  /* height: 100%; */
}

.intro .overlay {
  background: rgba(0, 0, 0, 0.7);
  height: 100%;
}

.intro h1 {
  font-family: var(--font-secondary);
  color: #fff;
  font-size: 82px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
}

.intro h1 span {
  font-weight: 800;
  color: var(--primary-bg-color);
}

.intro p {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
}

header {
  padding-top: 81px;
  position: relative;
}

header .container {
  top: 50%;
  position: relative;
}

header .intro-text {
  /* padding-top: 350px; */
  /* padding-bottom: 200px; */
  text-align: center;
  /* top: 50vh; */
  left: 50%;
  display: block;
  position: relative;
  transform: translate(-50%, -50%)
}

/* Features Section */
#features {
  background: #f6f6f6;
}

#features i.fa {
  font-size: 38px;
  margin-bottom: 20px;
  transition: all 0.5s;
  color: #fff;
  width: 100px;
  height: 100px;
  padding: 30px 0;
  border-radius: 50%;
  background: var(--secondary-gradient);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}

/* About Section */
#about {
  padding: 100px 0;
  background: white;
}

#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
}

#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

#about h2::after {
  position: absolute;
  content: "";
  background: var(--primary-gradient);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 0;
}

#about .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
}

#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: var(--primary-bg-color);
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}

#about img {
  width: 100%;
  margin-top: 10px;
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}

#about p {
  line-height: 24px;
  margin: 30px 0;
}

/* Portfolio Section */
#portfolio {
  padding: 100px 0;
  background: white;
}

.portfolio-item {
  margin: 1px -15px 0 -14px;
  padding: 0;
}

.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}

.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(to right,
      rgba(99, 114, 255, 0.8) 0%,
      rgba(92, 169, 251, 0.8) 100%);
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
}

.hover-bg .hover-text>h4 {
  opacity: 0;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}

.hover-bg:hover .hover-text>h4 {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.hover-bg:hover .hover-text {
  opacity: 1;
}

/* Testimonials Section */
#testimonials {
  padding: 100px 0;
  background: #f6f6f6;
}

#testimonials i {
  color: #e6e6e6;
  font-size: 32px;
  margin-bottom: 20px;
}

.testimonial {
  position: relative;
  padding: 20px;
}

.testimonial-image {
  float: left;
  margin-right: 15px;
}

.testimonial-image,
.testimonial-image img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.testimonial-content {
  position: relative;
  overflow: hidden;
}

.testimonial-content p {
  margin-bottom: 0;
  font-size: 14px;
  font-style: italic;
}

.testimonial-meta {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #666;
}

/* Team Section */
#team {
  padding: 100px 0;
}

#team h4 {
  margin: 5px 0;
}

#team .team-img {
  width: 240px;
}

#team .thumbnail {
  background: transparent;
  border: 0;
}

#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #888;
}

/* Contact Section */
#contact {
  /* margin-top: 200px; */
  padding: 100px 0 60px;
  background: var(--footer-gradient);
  color: rgba(255, 255, 255, 0.75);
}

#contact .section-title {
  margin-bottom: 40px;
}

#contact .section-title p {
  font-size: 16px;
}

#contact h2 {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

#contact .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 30px;
}

#contact h3 {
  color: #fff;
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 400;
}

#contact form {
  padding-top: 20px;
}

#contact .text-danger {
  color: #cc0033;
  text-align: left;
}

#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid #fff;
}

#contact .btn-custom:hover {
  color: #1f386e;
  background: #fff;
}

label {
  font-size: 12px;
  font-weight: 400;
  font-family: var(--font-primary);
  float: left;
}

#contact .form-control {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  color: #444;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ddd;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

#contact .form-control:focus {
  border-color: #999;
  outline: 0;
  -webkit-box-shadow: transparent;
  box-shadow: transparent;
}

.form-control::-webkit-input-placeholder {
  color: var(--heading-color);
}

.form-control:-moz-placeholder {
  color: var(--heading-color);
}

.form-control::-moz-placeholder {
  color: var(--heading-color);
}

.form-control:-ms-input-placeholder {
  color: var(--heading-color);
}

#contact .contact-item {
  margin: 20px 0;
}

#contact .contact-item span {
  color: rgba(255, 255, 255, 1);
  margin-bottom: 10px;
  display: block;
}

#contact .contact-item i.fa {
  margin-right: 10px;
}

#contact .social {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 50px;
  margin-top: 50px;
  text-align: center;
}

#contact .social ul li {
  display: inline-block;
  margin: 0 20px;
}

#contact .social i.fa {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
}

#contact .social i.fa:hover {
  color: var(--link-color);
  background: #fff;
}

/* Footer Section*/
#footer {
  background: var(--footer-background);
  padding: 30px 0;
}

#footer p {
  color: #888;
  font-size: 14px;
}

#footer a {
  color: var(--link-color);
}

#footer a:hover {
  border-bottom: 2px solid #608dfd;
}

@media (max-width: 768px) {
  #about img {
    margin: 50px 0;
  }
}

/* Maps */
#maps {
  padding: 100px 15px;
  background: white;
}

.map-section {
  height: 100%;
}

.map-section iframe {
  width: 100%;
  height: 100%;
}

#maps .container {
  /* width: 100%; */
  display: flex;
  background-color: black;
  /* Black background */
  color: white;
  /* White text for contrast */
  height: 500px;
  /* Adjust height as needed */
  align-items: center;
  /* Center vertically */
  border-radius: 13px;
  padding-left: 0px;
  padding-right: 0px;
  overflow: hidden;
}

@media (max-width: 768px) {
  #maps .container {
    flex-direction: column;
  }

  .map-section {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    overflow: hidden;
  }

  .map-section iframe {
    border-radius: 0px 0px 13px 13px;
    overflow: hidden;
  }
}

.text-section {
  flex: 0 0 40%;
  /* 40% width for text section */
  /* padding: 20px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Center text vertically */
  padding: 20px;
}

.map-section {
  flex: 0 0 60%;
  /* 60% width for map section */
  /* padding: 20px; */
  display: flex;
  justify-content: center;
  /* Center the map */
  align-items: center;
  /* Center the map */
}

h2 {
  margin-bottom: 20px;
  /* Space below heading */
}

p {
  margin-bottom: 10px;
  /* Space below paragraph */
}

@media (max-width: 768px) {
  .intro h1 {
    font-size: 62px;
  }

  .intro p {
    font-size: 15px;
  }

  #about {
    padding: 50px 0px;
  }

  .department-name {
    font-size: 3rem !important;
  }
}

@media (max-width: 576px) {
  .intro h1 {
    font-size: 42px;
  }

  .intro p {
    font-size: 15px;
  }

  .departments-container {
    margin: 0;
  }
}