/* 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: #5f687b; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #94476b; /* 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. */
}

/* 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: #5f687b;  /* The default color of the main navmenu links */
  --nav-hover-color: #94476b; /* 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: #5f687b; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #94476b; /* 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;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #94476b;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #14eb83;
  --contrast-color: #ffffff;
}

/* Global Sections */

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 auto;
        width: 33%;
    }
}

/*--------------------------------------------------------------
#	Header
--------------------------------------------------------------*/
.header .logo img {
    max-height: 60px;
    margin-right: 8px;
}

@media (max-width: 575px) {
	.header .logo img {
		max-width: 100%;
	}
}

.header .logo h1 {
  font-size: 14px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

@media (max-width: 575px) {
	.header .logo h1 {
		font-size: 14px;
	}
	.header .logo {
        width: 50%;
    }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
	background-image: url(/assets/img/hero-background.jpg);
    background-size: cover;
    background-clip: content-box;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.5);
    background-blend-mode: lighten;
	padding: 25px 0 25px 0;
}

.hero .btn-get-started {
	padding: 8px 25px;
}

.hero h1 {
	color: #000000;
}

.logo-grey  {
	color: #a1a9b0;
}

.logo-maroon {
	color: #94476b;
}

.hero h2 {
	color: #000000;
	font-style: italic;
	font-size: 2rem;
}

.hero p {
    color: color-mix(in srgb, #000000, transparent 30%);
}

/*--------------------------------------------------------------
# Secure Section
--------------------------------------------------------------*/
.secure .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  transition: border ease-in-out 0.3s;
  height: 100%;
}

.secure .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.secure .service-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.secure .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: 0.3s;
}

.secure .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.secure .service-item:hover {
  border-color: var(--accent-color);
}

.secure .service-item:hover h3 {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Safe Section
--------------------------------------------------------------*/
.safe .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  transition: border ease-in-out 0.3s;
  height: 100%;
}

.safe .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.safe .service-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.safe .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: 0.3s;
}

.safe .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.safe .service-item:hover {
  border-color: var(--accent-color);
}

.safe .service-item:hover h3 {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
/* Services Section
--------------------------------------------------------------*/
.portfolio .portfolio-item .portfolio-info {
	opacity: 1;
}

/*--------------------------------------------------------------
/* Footer Section
--------------------------------------------------------------*/
/*@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 auto;
        width: 25%;
    }
}*/

.cassoa-footer {
	width: 100%;
	height: auto;
}

.sitename {
	color: var(--heading-color);
    font-size: 24px;
    font-weight: 600;
    font-family: var(--heading-font);
}

.copyright .sitename {
	color: var(--heading-color);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--heading-font);
}

.footer .footer-about a {
    color: var(--heading-color);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--heading-font);
}

/*--------------------------------------------------------------
/* Terms Popup
--------------------------------------------------------------*/
.box {
  width: 40%;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  padding: 35px;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}

.button {
  font-size: 1em;
  padding: 10px;
  color: #fff;
  border: 2px solid #06D85F;
  border-radius: 20px/50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.button:hover {
  background: #06D85F;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
  z-index: 10;
}

.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 50%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: var(--accent-color);
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}