/**
  This is global for all The BOOK HOMEPAGES
**/

/**
* Template Name: Logis and Impact
* Template URL: https://bootstrapmade.com/logis-bootstrap-logistics-website-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Lato", "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Lato", "Roboto",  sans-serif;
}

/* Colors */
:root {
  --ws-green: #009966;
  --ws-bright-green: #99ff00;
  --ws-dark-grey: #212529;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: var(--ws-dark-grey); /* Default color used for the majority of the text content across the entire website */
  --heading-color: var(--ws-green); /* Color for headings, subheadings and title throughout the website */
  --accent-color: var(--ws-green); /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Customised color */
:root {
  --btn-bg-color: var(--ws-dark-grey); /* Background color for buttons */
  --btn-hover-color: var(--ws-bright-green); /* Text/icon color when the mouse is hover the button*/
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */
.light-background {
  --background-color: #f7f9fc;
  --default-color: var(--ws-dark-grey);
  --heading-color: var(--ws-green);
  --accent-color: var(--ws-green);
  --surface-color: #f7f9fc;
  --contrast-color: var(--ws-green);
  --btn-bg-color: var(--ws-dark-grey);
  --btn-hover-color: var(--ws-bright-green);
}

.dark-background {
  --background-color: var(--ws-dark-grey);
  --default-color: #ffffff;
  --btn-color: var(--ws-dark-grey);
  --heading-color: #ffffff;
  --accent-color: #c2c3c5;
  --surface-color: #343a40;
  --contrast-color: var(--ws-bright-green);
  --btn-bg-color: var(--ws-dark-grey);
  --btn-hover-color: var(--ws-bright-green);
}

.black-background {
  --background-color: black;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #c2c3c5;
  --surface-color: #343a40;
  --contrast-color: #ffffff;
  --btn-hover-color: #ffffff;
}

.accent-background {
  --background-color: var(--ws-bright-green);
  --default-color: black;
  --heading-color: black;
  --accent-color: #ced4da;
  --surface-color: var(--ws-bright-green);
  --contrast-color: black;
  --btn-hover-color: black;
}

.accent-2-background {
  --background-color: var(--ws-green);
  --default-color: black;
  --heading-color: black;
  --accent-color: #ced4da;
  --surface-color: var(--ws-green);
  --contrast-color: black;
  --btn-hover-color: var(--ws-bright-green);
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
/* body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
} */

/* a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
} */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding: 30px 0;
  margin-bottom: 30px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.section-title span {
  font-weight: 500;
}

.section-title span.title-shadow {
  position: absolute;
  top: 4px;
  color: color-mix(in srgb, var(--heading-color), transparent 95%);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title span {
    font-size: 38px;
  }
}

.text-primary-color {
  color: var(--ws-bright-green);
}

.text-secondary-color {
  color: var(--ws-green);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  position: relative;
  padding-top: 120px;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--conrast-color);
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 400;
  margin-bottom: 30px;
}

.hero .btn-get-started, .btn-get-started {
  color: var(--default-color);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 14px 40px;
  border-radius: 50px;
  transition: 0.3s;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  background-color: color-mix(in srgb, var(--default-color), transparent 90%);
}

.hero .btn-get-started:hover, .btn-get-started {
  border-color: color-mix(in srgb, var(--default-color), transparent 40%);
  background-color: color-mix(in srgb, var(--default-color), transparent 70%);
  color: color-mix(in srgb, var(--ws-bright-green), transparent 0%);
}

.hero .btn-hero-secondary {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.hero .btn-hero-secondary:hover {
  color: color-mix(in srgb, var(--ws-bright-green), transparent 0%);
}


.hero .btn-get-started i,
.hero .btn-hero-secondary i {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-get-started i {
  color: color-mix(in srgb, var(--conrast-color), transparent 50%);
}

.hero .btn-hero-secondary:hover i {
  color: color-mix(in srgb, var(--ws-bright-green), transparent 0%);
}

/*--------------------------------------------------------------
# WELCOME PAGE - CUSTOM CLASSES
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Welcome Page - Hero Section Custom Classes
--------------------------------------------------------------*/

.hero.welcome p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 1.2rem;
}

/*--------------------------------------------------------------
# Welcome Page - Welcome End Section Custom
--------------------------------------------------------------*/

.hero.welcome .btn-get-started, .welcome-end .btn-get-started {
  background-color: color-mix(in srgb, var(--ws-bright-green), transparent 0%);
  color: color-mix(in srgb, var(--ws-dark-grey), transparent 0%);
  border: none;
}

.hero.welcome .btn-get-started:hover {
  /* border-color: color-mix(in srgb, var(--default-color), transparent 40%); */
  background-color: color-mix(in srgb, var(--ws-bright-green), transparent 70%);
  color: color-mix(in srgb, var(--ws-dark-grey), transparent 0%);
}

@media (max-width: 767px) {

  .hero .btn-get-started {
      background-color: color-mix(in srgb, var(--default-color), transparent 70%);
      min-height: 64px;
      font-size: 16px;
      text-transform: uppercase;
  }

  .hero .btn-hero-secondary {
      margin-left: 0;
      border-radius: 50px;
      transition: 0.3s;
      font-size: 16px;
      padding: 14px 40px;
      font-family: var(--heading-font);
      border: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
      background-color: color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .hero .btn-hero-secondary:hover {
      border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
      background-color: color-mix(in srgb, var(--default-color), transparent 85%);
      color: var(--default-color); 
  }

  .hero .btn-hero-secondary:hover i {
      color: color-mix(in srgb, var(--default-color), transparent 50%);
  }
}

@media (max-width: 640px) {
  .hero h2 {
    font-size: 36px;
  }

  .hero .btn-get-started,
  .hero .btn-hero-secondary {
    font-size: 14px;
  }

  .hero .btn-hero-secondary {
      background: var(--accent-color);
      font-family: var(--heading-font);
      font-weight: 500;
      letter-spacing: 1px;
      padding: 14px 40px;
      border-radius: 50px;
      transition: 0.3s;
      border: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
      background-color: color-mix(in srgb, var(--default-color), transparent 90%);
  }
}

/*--------------------------------------------------------------
# Masthead Section (This is an alternative Hero)
--------------------------------------------------------------*/
.hero-bg-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  /* height: auto; */
  padding: 15rem 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 75%, #000000 100%), url("../assets/img/home/student.jpg");
  /* background: linear-gradient(to bottom, rgba(0, 51, 102, 0.3) 0%, rgba(0, 51, 102, 0.7) 75%, var(--ws-green) 100%), url("../assets/img/home/student.jpg"); */
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}
.hero-bg-section h1 {
  background: white;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
          background-clip: text;
}
.hero-bg-section h2, .hero-bg-section .h2 {
  max-width: 20rem;
  font-size: 1rem;
}

/*--------------------------------------------------------------
# Global Card
--------------------------------------------------------------*/
.card {
  background: color-mix(in srgb, white, transparent 90%);
  color: var(--default-color);
  position: relative;
  height: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 0px;
  justify-content: space-between;
  text-align: center;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.card .card-img {
  overflow: hidden;
  border-radius: 8px 8px 0px 0px;
}

.card .card-img img {
  transition: 0.3s ease-in-out;
}

.card h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 5px;
  padding: 10px 30px;
  text-transform: uppercase;
}

.card p {
  padding: 0 30px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 15px;
}

.card .icon {
  padding-top: 10px;
  display: inline-block;
  transition: all 0.3s ease-in-out;
  font-size: 48px;
  line-height: 1;
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.card .btn-wrap {
  padding: 20px 15px;
  text-align: center;
  border-radius: 0px 0px 8px 8px;
}

.card .btn-wrap a {
  text-decoration: none;
}

.card .cta-btn {
  display: block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  cursor: pointer !important;
}

.card .cta-btn,
.card .btn {
  color: color-mix(in srgb, var(--default-color), transparent 0%);
  border: 1px solid color-mix(in srgb, var(--btn-bg-color), transparent 0%);
  transition: 0.3s;
}

.card:hover {
  background-color: color-mix(in srgb, white, transparent 80%);
}

.card .cta-btn:hover,
.card .btn:hover {
  background-color: color-mix(in srgb, var(--btn-bg-color), transparent 0%);
  color: var(--btn-hover-color);
}

.card:hover .card-img img {
  transform: scale(1.06);
}

/*--------------------------------------------------------------
# Go Home Section
--------------------------------------------------------------*/
.go-home-section {
  position: relative;
  width: 100%;
  height: auto;
  padding: 15rem 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 75%, #000000 100%), url(../assets/img/home/student.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}