/**
* Template Name: Gp
* Template URL: https://bootstrapmade.com/gp-free-multipurpose-html-bootstrap-template/
* Updated: Aug 15 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: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --heading-font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --nav-font: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* 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: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #084571; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #40e0d0; /* #ffc451; Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --linkonwhite-color: #F57C00;
  --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: #312f2f; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: rgba(255, 255, 255, 0.905);  /* The default color of the main navmenu links */
  --nav-hover-color: #ffc451; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffc451; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* 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: #f9f9f9;
  --surface-color: #ffffff;
}

.middle-background {
  --background-color: #dddddd;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #084571;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #2a2727;
}

/* 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(--linkonwhite-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

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

.text-justify {
  text-align: justify;
  text-justify: inter-word;
}

p {
  text-align: justify;
  text-justify: inter-word;
}

li {
  text-align: left;
}

@media (max-width: 600px) {
	p {
	  text-align: left;
	}
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0.4);
  --heading-color: #ffffff;
  --contrast-color: #084571;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(0, 0, 0, 0);
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: rgba(0, 0, 0, 0.8);
}

.index-page.scrolled .dropdown ul a,
.index-page.scrolled .dropdown ul a:hover,
.index-page .dropdown a.active:hover,
.index-page.scrolled .dropdown a.active:hover {
  color: black;
}

.index-page .header a.active,
.index-page.scrolled .header a:hover,
.index-page.scrolled .header a.active {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Desktop Navmenu (Horizontal)
--------------------------------------------------------------*/
@media (min-width: 1200px) {

  .navmenu {
    display: flex;
    align-items: center;
  }

  .navmenu ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
  }

  .navmenu ul li {
    position: relative;
  }

  /* --- BEFORE SCROLLING: black links --- */
  .navmenu a,
  .navmenu a:focus {
    color: #000000;
    padding: 18px 15px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: 0.3s;
    text-decoration: none;
  }

  .navmenu a i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--accent-color);
  }

  /* --- AFTER SCROLLING: white links --- */
  .scrolled .header .navmenu a,
  .scrolled .header .navmenu a:focus {
    color: #ffffff;
  }

  .scrolled .header .navmenu a:hover,
  .scrolled .header .navmenu .active,
  .scrolled .header .navmenu .active:focus {
    color: var(--accent-color);
  }

  /* Desktop Dropdown */
  .navmenu .dropdown ul {
    display: block;
    position: absolute;
    left: 0;
    top: calc(100% + 5px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: opacity 0.3s, visibility 0.3s, top 0.3s;
    border-radius: 4px;
    list-style: none;
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  /* Dropdown items always dark regardless of scroll state */
  .navmenu .dropdown ul a,
  .scrolled .header .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    color: #000000 !important;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active {
    color: var(--accent-color) !important;
    background-color: rgba(0, 0, 0, 0.05);
  }

  .navmenu .dropdown ul a:hover,
  .scrolled .header .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active,
  .scrolled .header .navmenu .dropdown ul .active {
    color: var(--accent-color) !important;
    background-color: rgba(0, 0, 0, 0.05);
  }

  /* Show dropdown on hover */
  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
}

/*--------------------------------------------------------------
# Mobile Navmenu
--------------------------------------------------------------*/
@media (max-width: 1199px) {

  .mobile-nav-toggle {
    color: #084571;
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), white 90%);
    pointer-events: none;
  }

  /* Submenu hidden by default */
  .navmenu .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: #eee;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
    list-style: none;
  }

  /* Show submenu when dropdown-active is added */
  .navmenu .dropdown.dropdown-active > ul {
    display: block;
  }

  /* Mobile nav overlay */
  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: white;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }

  /* Link hover / active styles */
  .navmenu a:hover,
  .index-page.scrolled .navmenu a:hover,
  .navmenu .dropdown li:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--accent-color) !important;
  }

  .navmenu a,
  .navmenu a:focus,
  .index-page.scrolled .navmenu a,
  .index-page.scrolled .navmenu a:focus {
    color: var(--default-color) !important;
  }

  /* Active link stays accent */
  .navmenu .active,
  .navmenu .active:focus,
  .index-page.scrolled .navmenu .active,
  .index-page.scrolled .navmenu .active:focus {
    color: var(--accent-color) !important;
  }
}

/* 1. Prevent text from turning black when active/clicked */
.navmenu a:active, 
.navmenu a:hover, 
.navmenu ul li a:active, 
.navmenu ul li a:hover {
  color: var(--accent-color) !important;
}

/* 2. Specific fix for the active link (one generated by PHP) */
.navmenu a.active, 
.navmenu a.active:hover, 
.navmenu a.active:active {
  color: var(--accent-color) !important;
}

/* 3. Remove the browser's default tap/focus highlights */
.navmenu a, .navmenu a:focus {
  -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
  outline: none !important;
}

.scrolled .mobile-nav-toggle {
  color: #ffffff;
  transition: color 0.3s ease;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/

.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer p {
  text-align: center;
}

.footer .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  background-color: color-mix(in srgb, var(--default-color) 5%, white 10%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 16px;
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  transform: rotateY(360deg);
  animation: spinOnce 1.2s ease forwards;
}

@keyframes spinOnce {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(359deg);
  }
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .copyright {
  padding: 30px 0;
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Sitemap
--------------------------------------------------------------*/

.sitemap li {
  text-align: center;
}

.sitemap a {
  color: var(--heading-color);
  border-bottom: 1px dotted var(--heading-color);
}

.sitemap a:hover {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: white;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*//*
.page-title {
  color: var(--heading-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 80px;
  overflow: clip;
}

@media (max-width: 1199px) {

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 120px 0 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 40%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

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

.hero p {
  margin: 10px 0 0 0;
  font-size: 24px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.hero .icon-box {
  padding: 30px 20px;
  transition: ease-in-out 0.3s;
  zborder: 1px dotted white;
  background-color: rgba(255, 255, 255, 0.3);
  zbox-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .icon-box i {
  font-size: 32px;
  line-height: 1;
  color: var(--accent-color);
}

.hero .icon-box:hover {
  background: var(--heading-color);
}

.hero .icon-box:hover h3 {
  color: var(--accent-color);
}

.hero .icon-box:hover i {
  transform: rotateY(359deg);
  animation: spinOnce 1.2s ease forwards;
  color: white;
}

.hero .icon-box h3 {
  font-weight: 700;
  margin: 10px 0 0 0;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  line-height: 26px;
}

.hero .icon-box:hover a {
  transform: rotateY(359deg);
  animation: spinOnce 1.2s ease forwards;
  color: white;
}

.hero .icon-box h3 a {
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
  transition: ease-in-out 0.3s;
}

.hero .icon-box:hover h3 a {
  color: var(--accent-color);
}

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

  .hero p {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# My Hero Section
--------------------------------------------------------------*/

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  zz-index: -1;
  transform: translate(-50%, -50%);
}

/*--------------------------------------------------------------
# My Half-Hero Section
--------------------------------------------------------------*/

#half-hero {
  position: relative;
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--heading-color);
  background: #eee;
  overflow: hidden;
}

.half-hero:before {
  background: transparent;
}

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

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.about .content .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
}

.about .content ul i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Clients Aside
--------------------------------------------------------------*/
.clients {
   background: #eee;
}

.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--heading-color);
}

/*--------------------------------------------------------------
# Buttons, Asides, Articles
--------------------------------------------------------------*/

.article-heading-section {
  text-align: center;
}

.article-heading-section p {
  text-align: left;
}

.article-heading-section .content-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.article-heading-section img {
  padding: 20px;
  width: 100%;
  height: auto;
  border-radius: 45px;
}

.article-heading-section h1 {
  text-transform: uppercase;
  padding-bottom: 10px;
}

.article-heading-section i {
  font-size: 300%;
}

.article-heading-section {
  background: var(--heading-color);
}

.article-heading-section i,
.article-heading-section h1,
.article-heading-section h2,
.article-heading-section hr {
  color: white;
}

.features {
  padding: 80px 0;
  position: relative;
}

.fade-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* don’t block clicks */
  z-index: 1;
}

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

#index-dot-php .features {
  background-image: url("/assets/img/features-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

#index-dot-php .features .fade-overlay {
  background: linear-gradient(to right, white 10%, transparent 100%);
}

#counselling-dot-php .features {
  background-image: url("/assets/img/features-bg-blue.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

#counselling-dot-php .features .fade-overlay  {
  background: linear-gradient(to right, #084571 10%, transparent 100%);
}

.positive-thinking-aside img {
  width: 40%;
}
 
@media (max-width: 768px) {
  .positive-thinking-aside img {
    width: 80%;
  }
}

.index-page .call-to-action,
.index-page .resources-aside p {
  text-align: center;
}

.cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 5px;
  transition: 0.5s;
  margin: 10px;
}

.values-based-aside ul {
  list-style-type: none; 
  padding-left: 0; 
  display: inline-block; 
  text-align: left;
  text-transform: uppercase;
}

#counselling-dot-php .features .cta-btn:hover,
.index-page .cta-btn {
  color: var(--heading-color);
  background: var(--accent-color);
}

.index-page .cta-btn:hover {
  color: white;
  background: var(--heading-color);
}

#counselling-dot-php .features .cta-btn,
#index-dot-php .values-based-aside .cta-btn,
#index-dot-php .positive-thinking-aside .cta-btn {
  color: #084571;
  background: white;
}

#index-dot-php .values-based-aside .cta-btn:hover,
#index-dot-php .positive-thinking-aside .cta-btn:hover {
  background: var(--accent-color);
}

#index-dot-php .resources-aside,
#counselling-dot-php .resources-aside,
#ways-to-manage-anxiety-dot-php .resources-aside {
  background-color: #dddddd;
}

#index-dot-php .values-based-aside {
  color: white;
  background: var(--heading-color);
}

#counselling-dot-php .features,
#counselling-dot-php .features h1,
#counselling-dot-php .features h2,
#index-dot-php .values-based-aside h1 {
  color: white;
}

/*--------------------------------------------------------------
# Read More
--------------------------------------------------------------*/

  .paragraph-with-button {
	position: relative;
	margin-bottom: 0;
  }
  
  .inline-paragraph {
	display: inline;
	margin-bottom: 0;
  }
  
  .read-more-inline {
	background: none;
	border: none;
	color: var(--linkonwhite-color);
	cursor: pointer;
	font-size: 1em;
	padding: 0 0 0 5px;
	margin: 0;
	text-decoration: underline;
	display: inline;
	white-space: nowrap;
  }
  
  .read-more-inline:hover {
	color: var(--accent-color);
  }

/*--------------------------------------------------------------
# Translate
--------------------------------------------------------------*/
  /* Default: show Russian */
.text-section .en {
  display: none;
}

/* When toggled: show English */
#translate-toggle:checked ~ .text-section .ru {
  display: none;
}

#translate-toggle:checked ~ .text-section .en {
  display: block;
}

/* Optional button styling */
.translate-btn {
  color: var(--linkonwhite-color);
}

.translate-btn:hover {
  color: var(--accent-color);
  cursor: pointer;
}

.to-ru { display: none; }

#translate-toggle:checked ~ .translate-btn .to-en {
  display: none;
}

#translate-toggle:checked ~ .translate-btn .to-ru {
  display: inline;
}