/**
* Template Name: Dewi
* Template URL: https://bootstrapmade.com/dewi-free-multi-purpose-html-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: "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: "Raleway", sans-serif;
  --nav-font: "Inter", 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: #273d4e;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #ff4a17;
  /* 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: #e5eaee;
  /* The default color of the main navmenu links */
  --nav-hover-color: #ff4a17;
  /* 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: #444444;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ff4a17;
  /* 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: #f1f4fa;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #000910;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #28323a;
  --contrast-color: #ffffff;
}

/* 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);
}

.quote {
  font-style: italic;
  border-left: 4px solid #ff4a17;
  padding-left: 10px;
}

.show-b {
  margin-top: 30px;
  position: relative;
  display: inline-block;
  padding: 10px 30px;
  border: 1px solid #273d4e;
  color: #273d4e;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  border-right: 0;



  /* Remove default button styles */
  border-radius: 0;
  outline: none;
}

.show-b::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  background-color: #273d4e;
  transition: all 0.3s ease;
  transform: translateY(-50%);
}

.show-b:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: white;
}

.show-b:hover::after,
.show-b:active::after {
  width: 1px;
  height: 100%;
  top: 50%;
  transform: rotate3d(-50%);
  background-color: var(--accent-color);
}

.show-b:active {

  background-color: var(--accent-color);
  color: white;
  border-color: var(--accent-color);

  outline: none;
  box-shadow: none;
}

/* White variant for dark backgrounds */
.show-b.white-variant {
  border-color: #ffffff;
  color: #ffffff;
}

.show-b.white-variant::after {
  background-color: #ffffff;
}

.show-b.white-variant:hover {
  color: var(--accent-color);
  border-color: #ffffff;
  background-color: #ffffff;
}

.show-b.white-variant:hover::after {
  background-color: var(--accent-color);
}

.show-b.white-variant:active {
  background-color: #ffffff;
  color: var(--accent-color);
  border-color: #ffffff;
}

.custom-b {
  color: #444444 !important;
}

.custom-b:hover {
  color: orangered !important;
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-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);
}

.pulsating-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;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

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

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

.header .logo img {
  max-height: 100px;
  /* increased from 36px */
  margin-right: 8px;
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  font-size: 13px;
  padding: 7px 25px;
  margin: 0 0 0 10px;
  border-radius: 4px;
  transition: 0.3s;
  text-transform: uppercase;
  border: 2px solid var(--contrast-color);
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
}



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

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

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

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(21, 34, 43, 0.85);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

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

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 10px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 13px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    text-transform: uppercase;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: color-mix(in srgb, var(--nav-color) 90%, white 15%);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

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

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

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

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    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);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    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), transparent 90%);
  }

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

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

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    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;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: #273d4e;

  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

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

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

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

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 3px;
  font-size: 13px;
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: var(--default-color);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 99.9%;
  background-color: var(--default-color);
  color: var(--default-color);

}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

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

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

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# 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 .8 s;
}

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

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-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;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-title .container {
  position: relative;
  z-index: 2;
}

/* Background image transition effect */
.page-title:after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

.page-title.fading-next:after {
  opacity: 1;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

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

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

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

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

@media (max-width: 1199px) {

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

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

@media (max-width: 768px) {
  .section-title p {
    font-size: 24px;
  }
}

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

.hero video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

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

.hero .textLogo {

  position: relative;
  top: 0;
  margin: 0 0 0 30px;

  max-width: 200px;
  /* limits image width */
  height: auto;
  /* keeps original aspect ratio */
  display: block;
  /* removes inline gap below */
  margin: 0 auto;

}

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

.hero .btn-get-started {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 4px;
  transition: 0.3s;
  text-transform: uppercase;
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  font-weight: 400;
  color: var(--default-color);
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

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

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

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about h3 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 20px;
}

.about .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: 0 0 10px 30px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: var(--accent-color);
}

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

/* About Section Responsive Styles */
.about-text-content {
  padding: 1rem 0;
}

.about-logo {
  max-width: 350px;
  width: 100%;
  height: auto;
}

/* Center logo on mobile, align left on large screens */
@media (max-width: 991.98px) {
  .about-text-content {
    text-align: center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-text-content p {
    text-align: center;
    margin: 1.5rem auto;
    max-width: 100%;
  }

  .about-text-content .text-center {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .about-text-content .show-b {
    margin: 0;
    display: inline-block;
  }

  .typpe {
    margin-left: 0 !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .typpe h1 {
    text-align: center !important;
  }

  .about .content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex;
    justify-content: center;
  }

  .about-logo {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* Adjust typography for smaller screens */
@media (max-width: 768px) {
  .typpe h1:nth-child(2) {
    font-size: 60px !important;
  }

  .typpe h1:nth-child(3) {
    font-size: 45px !important;
    margin-top: -20px !important;
  }

  .about-logo {
    max-width: 250px;
  }
}

@media (max-width: 576px) {
  .typpe h1:nth-child(2) {
    font-size: 45px !important;
  }

  .typpe h1:nth-child(3) {
    font-size: 35px !important;
    margin-top: -15px !important;
  }

  .about-logo {
    max-width: 200px;
  }

  .about-text-content {
    padding: 0.5rem;
  }

  .about-text-content p {
    font-size: 0.95rem;
    text-align: center;
    margin: 1rem auto;
  }

  .about-text-content .text-center {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .about-text-content .show-b {
    margin: 0;
    width: auto;
  }
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.stats .stats-item i {
  color: var(--accent-color);
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 36px;
  display: block;
  font-weight: 600;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .img {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
}

.services .img img {
  transition: 0.6s;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services .details {
  background: color-mix(in srgb, var(--surface-color), transparent 5%);
  padding: 50px 30px;
  margin: -100px 30px 0 30px;
  transition: all ease-in-out 0.3s;
  position: relative;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
}

.services .details .icon {
  margin: 0;
  width: 72px;
  height: 72px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 6px solid var(--contrast-color);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: ease-in-out 0.3s;
  position: absolute;
  top: -36px;
  left: calc(50% - 36px);
}

.services .details h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
}

.services .details p {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover .details h3 {
  color: var(--accent-color);
}

.services .service-item:hover .details .icon {
  background: var(--surface-color);
  border: 2px solid var(--accent-color);
}

.services .service-item:hover .details .icon i {
  color: var(--accent-color);
}

.services .service-item:hover .img img {
  transform: scale(1.2);
}

/* Responsive breakpoints for service cards */
@media (max-width: 1199px) {
  .services .img {
    min-height: 240px;
  }
}

@media (max-width: 767px) {
  .services .img {
    aspect-ratio: 5 / 4;
    min-height: 200px;
  }
}

/*--------------------------------------------------------------
# Fixed Image Containers - Global Classes
--------------------------------------------------------------*/
/* Base container class - all fixed containers inherit this */
.fixed-img-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
}

.fixed-img-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Card image containers - for service/project cards */
.card-img-container {
  aspect-ratio: 4 / 3;
  min-height: 280px;
}

/* Hero/cover image containers - for page headers */
.hero-img-container {
  aspect-ratio: 16 / 9;
  min-height: 400px;
}

/* Gallery image containers - for detail page sliders */
.gallery-img-container {
  aspect-ratio: 16 / 9;
  min-height: 450px;
}

/* Square image containers */
.square-img-container {
  aspect-ratio: 1 / 1;
  min-height: 300px;
}

/* Responsive adjustments for tablets */
@media (max-width: 1199px) {
  .card-img-container {
    min-height: 240px;
  }

  .hero-img-container {
    min-height: 350px;
  }

  .gallery-img-container {
    min-height: 380px;
  }

  .square-img-container {
    min-height: 260px;
  }
}

/* Responsive adjustments for mobile */
@media (max-width: 767px) {
  .card-img-container {
    min-height: 200px;
  }

  .hero-img-container {
    min-height: 250px;
  }

  .gallery-img-container {
    min-height: 280px;
  }

  .square-img-container {
    min-height: 220px;
  }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 0;
}

.clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.clients .client-logo img {
  padding: 10px;
  max-width: 90%;
  transition: 0.3s;
  opacity: 0.5;
  filter: grayscale(100);
}

.clients .client-logo img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 640px) {
  .clients .client-logo img {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
}

.features .nav-link {
  background-color: var(--surface-color);
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 10px 5px;
  transition: 0.3s;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
}

.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

div div ul a .nav-link {
  cursor: pointer;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.features .nav-link:hover,
div div ul .nav-tabs {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.features .nav-link.active {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.features .nav-link.active h4 {
  color: var(--contrast-color);
}

.services-list .nav-tabs .nav-link:hover {
  cursor: pointer;
}

.portfolio-details-slider .swiper-wrapper img,
.swiper-wrapper .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .features .nav-link i {
    padding: 0;
    line-height: 1;
    font-size: 36px;
  }
}

@media (max-width: 575px) {
  .features .nav-link {
    padding: 15px;
  }

  .features .nav-link i {
    font-size: 24px;
  }
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 26px;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-bottom: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services 2 Section
--------------------------------------------------------------*/
.services-2 .service-item {
  background-color: var(--surface-color);
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  transition: 0.3s;
}

.services-2 .service-item .icon {
  font-size: 36px;
  line-height: 0;
  margin-right: 30px;
  color: var(--accent-color);
}

.services-2 .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services-2 .service-item .title a {
  color: var(--heading-color);
}

.services-2 .service-item .description {
  line-height: 24px;
  font-size: 14px;
  margin: 0;
}

.services-2 .service-item:hover {
  border-color: var(--accent-color);
}

.services-2 .service-item:hover .title a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  position: relative;
}

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

.testimonials .testimonials-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin: 0 0 15px 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.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;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

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

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

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

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  opacity: 1;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.team .member:hover {
  transform: scale(1.05);
  /* Zoom slightly */
}

.team .member .pic {
  overflow: hidden;
  margin-bottom: 50px;
}

.team .member .member-info {
  background-color: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: -50px;
  left: 20px;
  right: 20px;
  padding: 20px 15px;
  overflow: hidden;
  transition: 0.5s;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  position: relative;
  padding-bottom: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease, background 0.3s ease;
}

.team .member h4:hover::after {
  width: 100%;
  height: 3px;
  background: color-mix(in srgb, var(--heading-color), transparent 30%);
}

.team .member h4:hover {
  color: var(--accent-color);
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.team .member .social a:hover {
  color: var(--accent-color);
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 24px 0 30px 0;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
  font-size: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

/* Horizontal line under card title */
.contact .info-item h3 {
  position: relative;
  padding-bottom: 10px;
}

.contact .info-item h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: color-mix(in srgb, var(--default-color), transparent 70%);
  transition: width 0.4s ease, background-color 0.4s ease;
}

/* Expand line to full width and turn orange when hovering over icon */
.contact .info-item:has(.location-icon-link:hover) h3::after {
  width: 100%;
  background-color: var(--accent-color);
}

/* Add shadow on card when hovering over icon */
.contact .info-item:has(.location-icon-link:hover) {
  box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}

.contact .php-email-form {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/* Apply same styling to d-email-form class forms */
.contact .d-email-form {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .d-email-form {
    padding: 20px;
  }
}

.contact .d-email-form input[type=text],
.contact .d-email-form input[type=email],
.contact .d-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .d-email-form input[type=text]:focus,
.contact .d-email-form input[type=email]:focus,
.contact .d-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .d-email-form input[type=text]::placeholder,
.contact .d-email-form input[type=email]::placeholder,
.contact .d-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .d-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .d-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider .swiper-slide {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
}

.portfolio-details .portfolio-details-slider img,
.service-details .portfolio-details-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1199px) {

  .portfolio-details .portfolio-details-slider .swiper-slide,
  .service-details .portfolio-details-slider .swiper-slide {
    min-height: 380px;
  }
}

@media (max-width: 767px) {

  .portfolio-details .portfolio-details-slider .swiper-slide,
  .service-details .portfolio-details-slider .swiper-slide {
    min-height: 280px;
  }
}

.service-details .portfolio-details-slider .swiper-slide {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
}

.portfolio-details .portfolio-details-slider .swiper-pagination,
.service-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet,
.service-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active,
.service-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.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;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
/* .starter-section {
  /* Add your styles here } */


/* Optional: smooth transition */
#header {
  transition: top 0.8s ease-in-out;
}

/* This will hide the navbar */
#header.hide {
  /* push it out of view */
  top: -120px;
}

li a .si {
  font-size: 25px !important;
}




.swiper-wrapper {
  transition-timing-function: linear !important;
  padding: 0;
}

.swiper-slide.client-logo {
  width: 200px;
  /* Adjust as needed */
  height: auto;
  max-height: 100px;
  /* you can lower this to control size */
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide.client-logo img {
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}


.swiper-slide.client-logo img:hover {

  transform: scale(1.05);
}





#services-wrapper {
  height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition:
    background-image 0.6s ease-in-out,
    background-position 1s ease-in-out;

}

#services-wrapper:hover {
  background-position: center right;
}



.bg-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.service-btn {
  flex: 1;
  height: 100%;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  margin: 0;
  padding: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-btn .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* ✅ Fix multi-line centering */
  padding: 0 5px;
  /* ✅ Prevent edge clipping on mobile */
}


.service-btn:hover .overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.service-btn h5 {
  color: white;
  font-size: 1rem;
  margin: 0;
  z-index: 3;
}

/* 🎯 Responsive: stack vertically on small screens */
@media (max-width: 768px) {
  #services-wrapper {
    flex-direction: column;
  }

  .service-btn {
    width: 100%;
    height: 20%;
  }
}

@media (max-width: 768px) {
  .service-btn h5 {
    font-size: 0.9rem;
  }
}






/* NOTE: I only tested this on Google Chrome.*/


.typpe {
  width: 100%;
  padding-left: 15%;
  margin-right: auto;
  text-align: center;
  overflow: visible;

}

/* ── Base visual styles: always present, h1s start hidden ── */
.typpe h1:nth-child(1) {
  color: #355c7d;
  font-weight: 800;
  font-size: 20px;
  margin: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  width: 0ch; /* hidden until .playing is added */
}

.typpe h1:nth-child(2) {
  opacity: 0; /* hidden until .playing is added */
  font-family: "Work Sans", sans-serif;
  margin: 0 0;
  background: linear-gradient(to right, #86c341, #ecc400);
  font-weight: 800;
  font-size: 100px;
  width: 0ch;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  overflow: hidden;
}

.typpe h1:nth-child(3) {
  opacity: 0; /* hidden until .playing is added */
  font-family: "Work Sans", sans-serif;
  margin: 0 0;
  margin-top: -30px;
  background: linear-gradient(to right, #86c341, #6ead25, #129583);
  font-weight: 800;
  font-size: 75px;
  width: 0ch;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  overflow: hidden;
  margin-left: 2ch;
}

/* ── Animation: only fires when JS adds .playing class ── */
.typpe.playing h1:nth-child(1) {
  animation: type 2s steps(40, end) forwards;
}

.typpe.playing h1:nth-child(2) {
  animation: shring-animation 2.2s steps(40, end) 2s forwards,
             blink .5s step-end infinite alternate;
}

.typpe.playing h1:nth-child(3) {
  animation: shring-animation-group 2.5s steps(40, end) 3.1s forwards,
             blink .5s step-end infinite alternate;
}

/* ── Erase phase: reverse order — GROUP → OMSI → Welcome To ── */
/* Base: hold h1s at their fully-visible state before erase animations fire */
.typpe.erasing h1:nth-child(1) {
  width: 10ch;
  animation: type-erase 0.5s steps(40, end) 1.5s forwards;
}

.typpe.erasing h1:nth-child(2) {
  opacity: 1;
  width: 4ch;
  animation: omsi-erase 0.6s steps(40, end) 0.8s forwards,
             blink .5s step-end infinite alternate;
}

.typpe.erasing h1:nth-child(3) {
  opacity: 1;
  width: 7ch;
  animation: group-erase 0.7s steps(40, end) 0s forwards,
             blink .5s step-end infinite alternate;
}

@keyframes shring-animation-group {
  0% {
    opacity: 0;
    width: 0ch;
  }

  1% {
    opacity: 1;
    width: 1ch;
    border-right: 1px solid orangered;
  }

  50% {
    background-position: 150px 0;
    opacity: 1;
    width: 7ch;
    /* "GROUP" = 5 wide characters, 7ch gives enough room */
    border-right: 1px solid orangered;
  }

  100% {
    background-position: 0 0;
    opacity: 1;
    width: 7ch;
    border-right: 1px solid orangered;
  }
}



@keyframes type {
  0% {

    width: 0ch;
  }

  1%,
  99% {
    border-right: 1px solid orangered;
  }

  100% {
    width: 10ch;
    /* "Welcome To" = 10 characters */
    border-right: none;
  }
}

@keyframes shring-animation {
  0% {
    opacity: 0;
    width: 0ch;
  }

  1% {
    opacity: 1;
    width: 1ch;
    border-right: 1px solid orangered;
  }

  50% {
    background-position: 150px 0;
    opacity: 1;
    width: 4ch;
    /* "OMSI" = 4 characters */
    border-right: 1px solid orangered;
  }

  100% {
    background-position: 0 0;

    opacity: 1;
    width: 4ch;
    /* "OMSI" = 4 characters */
    border-right: none;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* Erase keyframes — reverse of the type-in keyframes */
@keyframes group-erase {
  0%   { opacity: 1; width: 7ch; border-right: 1px solid orangered; }
  99%  { opacity: 1; width: 1ch; border-right: 1px solid orangered; }
  100% { opacity: 0; width: 0ch; border-right: none; }
}

@keyframes omsi-erase {
  0%   { opacity: 1; width: 4ch; border-right: 1px solid orangered; }
  99%  { opacity: 1; width: 1ch; border-right: 1px solid orangered; }
  100% { opacity: 0; width: 0ch; border-right: none; }
}

@keyframes type-erase {
  0%   { width: 10ch; border-right: 1px solid orangered; }
  99%  { width: 1ch;  border-right: 1px solid orangered; }
  100% { width: 0ch;  border-right: none; }
}




/* Custom file input to match form style */
.custom-file-wrapper {
  background-color: var(--surface-color);
  padding: 12px 15px;
  border: 1px solid color-mix(in srgb, #444444, transparent 70%);
  transition: all 0.3s ease-in-out;
}

.custom-file-input {
  background-color: transparent;
  border: none;
  padding: 0;
  color: var(--default-color);
  font-size: 14px;
}

.custom-file-input:focus {
  outline: none;
  box-shadow: none;
}

.custom-file-input::file-selector-button {

  background-color: #ff4a17;
  color: #ffffff;
  border: none;
  padding: 6px 12px;
  margin: 5px;
  margin-right: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.custom-file-input::file-selector-button:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
}

.chat:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);

}

.chat {
  width: 50px;
  height: 50px;
  background-color: #ff4a17;
  transition: transform 0.5s ease;
  color: var(--contrast-color);
}


.sociald {
  width: 40px;
  height: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}














.cont {

  max-width: 500px;
  height: 670px;
  background: #f5f5f5;
  box-shadow: 0 30px 50px #dbdbdb;
  margin: 50px auto;
  /* توسيط بالطريقة الطبيعية */
  position: relative;
  /* مهم علشان .slide .item يستخدمه */
  border-radius: 20px;
}

.cont .slide .item {
  width: 200px;
  height: 300px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  border-radius: 20px;
  box-shadow: 0 30px 50px #505050;
  background-position: center;
  background-size: cover;
  display: inline-block;
  transition: 0.5s;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2) {
  top: 0;
  left: 0;
  transform: translate(0, 0);
  border-radius: 0;
  width: 100%;
  height: 100%;
}


.slide .item:nth-child(3) {
  left: calc(100% + 20px);
}

.slide .item:nth-child(4) {
  left: calc(100% + 240px);
}

.slide .item:nth-child(5) {
  left: calc(100% + 460px);
}

/* here n = 0, 1, 2, 3,... */
.slide .item:nth-child(n + 6) {
  left: calc(50% + 660px);
  opacity: 0;
}



.item .content {
  position: absolute;
  top: 50%;
  left: 100px;
  width: 300px;
  text-align: left;
  color: var(--heading-color);
  transform: translate(0, -50%);

  display: none;
}


.slide .item:nth-child(2) .content {
  display: block;
}


.content .name {
  font-size: 40px;
  text-transform: uppercase;
  font-weight: bold;
  opacity: 0;
  animation: animate 1s ease-in-out 1 forwards;
}

.content .des {
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 20px;
  opacity: 0;
  animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content .B_maga {

  border: 1px solid var(--contrast-color);
  color: var(--background-color);
  opacity: 0;
  animation: animate 1s ease-in-out 0.3s 1 forwards;
}


.B_maga::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  transform: translateY(-50%);
}

.B_maga:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: white;
}

.B_maga:hover::after,
.B_maga:active::after {
  width: 1px;
  height: 100%;
  top: 50%;
  transform: rotate3d(-50%);
  background-color: var(--accent-color);
}

.B_maga:active {

  background-color: var(--accent-color);
  color: white;
  border-color: var(--accent-color);

  outline: none;
  box-shadow: none;
}


@keyframes animate {
  from {
    opacity: 0;
    transform: translate(0, 100px);
    filter: blur(33px);
  }

  to {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}



.button {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 100px;
  left: 480px;

}

.button button {
  width: 40px;
  height: 35px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin: 0 5px;
  border: 1px solid var(--heading-color);
  transition: 0.3s;
}

.button button:hover {
  background: var(--background-color);
  color: var(--accent-color);
  border: 1px solid var(--accent-color);

}



/* نضيف بلور للخلفية لو العنصر فيه محتوى */
.item:has(.content)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  /* البلور نفسه */
  background-color: rgba(0, 0, 0, 0.3);
  /* ظل خفيف مع البلور */
  z-index: 0;
}

/* نخلي المحتوى فوق البلور */
.item .content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 20px;
}





/* Highlight styling for Product Care card - thin orange left border */
.contact .info-item.product-care-highlight {
  border-left: 3px solid var(--accent-color);
}

/* Product Care card should not have hover effects like other cards */
.contact .info-item.product-care-highlight:hover h3::after {
  width: 0;
}

.contact .info-item.product-care-highlight:hover {
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

/* Larger text for Product Care card */
.contact .info-item.product-care-highlight h3 {
  font-size: 22px;
}

.contact .info-item.product-care-highlight p {
  font-size: 16px;
  line-height: 1.6;
}

/* Compact Info Card Styling */
.contact .info-item.compact-info-item {
  padding: 15px 0 20px 0;
  /* Reduced padding from standard 24px/30px */
}

/* Auto-height form to prevent stretching */
.contact .php-email-form.form-auto-height {
  height: auto !important;
}

/* Smooth transition for project page title background */
/* Smooth cross-fade transition for project page title background */
#project-page-title {
  position: relative;
  z-index: 1;
  /* Ensure content stays on top */
  background-size: cover;
  background-position: center;
  overflow: hidden;
  /* Ensure pseudo-element doesn't overflow */
}

/* Pseudo-element for the next image */
#project-page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
  background-image: var(--bg-next);
  opacity: 0;
  transition: opacity 1.5s ease;
}

/* Class to trigger the fade-in of the next image */
#project-page-title.fading-next::before {
  opacity: 1;
}

/* Clickable location icon links - circular with dotted border like Product Care icon */
.location-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.location-icon-link i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
  transition: all 0.3s ease-in-out;
}

/* Hover state for location icons */
.location-icon-link:hover i {
  background-color: rgba(255, 74, 23, 0.1);
  border-color: var(--accent-color);
  transform: scale(1.05);
}

/* Active/click state */
.location-icon-link:active i {
  background-color: rgba(255, 74, 23, 0.2);
  transform: scale(0.98);
}

/* Pulse animation keyframes */
@keyframes icon-pulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 74, 23, 0.4),
      0 0 40px rgba(255, 74, 23, 0.2),
      0 5px 15px rgba(0, 0, 0, 0.2);
  }

  50% {
    box-shadow: 0 0 30px rgba(255, 74, 23, 0.6),
      0 0 60px rgba(255, 74, 23, 0.3),
      0 8px 20px rgba(0, 0, 0, 0.3);
  }
}

/* Change the border-start to orange when hovering the location icon */
.info-item:has(.location-icon-link:hover) .border-start {
  border-left-color: #ff4a17 !important;
  transition: border-left-color 0.3s ease;
}

/*--------------------------------------------------------------
# Custom Accordion Styling for Services Page
--------------------------------------------------------------*/
/* Style the active (non-collapsed) accordion button with orange - using higher specificity */
.accordion .accordion-item .accordion-button:not(.collapsed) {
  background-color: #ff4a17 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Orange hover effect for accordion buttons */
.accordion .accordion-item .accordion-button:hover {
  background-color: rgba(255, 74, 23, 0.1) !important;
  color: #273d4e !important;
}

/* Active button should remain orange on hover */
.accordion .accordion-item .accordion-button:not(.collapsed):hover {
  background-color: rgba(255, 74, 23, 0.85) !important;
  color: #ffffff !important;
}

/* Smooth transition for accordion button states */
.accordion .accordion-item .accordion-button {
  transition: background-color 0.3s ease, color 0.3s ease !important;
}

/* Override Bootstrap's focus state */
.accordion .accordion-item .accordion-button:not(.collapsed):focus {
  background-color: #ff4a17 !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 74, 23, 0.25) !important;
}

/*--------------------------------------------------------------
# Projects Slideshow Section - Second Project Section Only
--------------------------------------------------------------*/
.projects-slideshow-section {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background slideshow container - Second Project Section Only */
.slideshow-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Individual slideshow images - Second Project Section Only */
.slideshow-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

/* Active slide - Second Project Section Only */
.slideshow-image.active {
  opacity: 1;
}

/* Dark overlay for better text readability - Second Project Section Only */
.slideshow-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Content container - Second Project Section Only */
.slideshow-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Ensure text is white and visible - Second Project Section Only */
.projects-slideshow-section .section-title h2,
.projects-slideshow-section .section-title p {
  color: #ffffff;
}

/*--------------------------------------------------------------
# Swiper Navigation Arrows for Image Carousels
--------------------------------------------------------------*/
/* Modern, minimal styling for navigation arrows */
.portfolio-details-slider .swiper-button-next,
.portfolio-details-slider .swiper-button-prev {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 74, 23, 0.3);
  border-radius: 6px;
  color: var(--accent-color);
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Center pagination dots below carousel */
.portfolio-details-slider .swiper-pagination {
  text-align: center;
}

/* Position arrows on sides of carousel */
.portfolio-details-slider .swiper-button-next {
  right: 15px;
}

.portfolio-details-slider .swiper-button-prev {
  left: 15px;
}



/* Arrow icon sizing - smaller and cleaner */
.portfolio-details-slider .swiper-button-next:after,
.portfolio-details-slider .swiper-button-prev:after {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
}

/* Hover effects - subtle and modern */
.portfolio-details-slider .swiper-button-next:hover,
.portfolio-details-slider .swiper-button-prev:hover {
  background-color: rgba(255, 74, 23, 0.15);
  border-color: var(--accent-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 74, 23, 0.2);
}

/* Active/click state */
.portfolio-details-slider .swiper-button-next:active,
.portfolio-details-slider .swiper-button-prev:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(255, 74, 23, 0.15);
}

/* Disabled state */
.portfolio-details-slider .swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Enhance pagination dots styling */
.portfolio-details-slider .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: rgba(39, 61, 78, 0.3);
  opacity: 1;
  transition: all 0.25s ease;
}

.portfolio-details-slider .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
  width: 24px;
  border-radius: 4px;
}

/* Mobile responsiveness - appropriately sized arrows */
@media (max-width: 768px) {

  .portfolio-details-slider .swiper-button-next,
  .portfolio-details-slider .swiper-button-prev {
    width: 28px;
    height: 28px;
  }

  .portfolio-details-slider .swiper-button-next:after,
  .portfolio-details-slider .swiper-button-prev:after {
    font-size: 12px;
  }

  .portfolio-details-slider .swiper-pagination {
    margin: 15px 10px 0 10px;
  }

  .portfolio-details-slider .swiper-button-prev {
    margin: 15px 6px 0 0;
  }

  .portfolio-details-slider .swiper-button-next {
    margin: 15px 0 0 6px;
  }

  .portfolio-details-slider .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
  }

  .portfolio-details-slider .swiper-pagination-bullet-active {
    width: 20px;
  }
}/*--------------------------------------------------------------
# Career Header Section (Animated Geometric Header for Career/Apply Pages)
--------------------------------------------------------------*/
/* Career Header Container */
.career-geo {
    position: relative;
    background-color: var(--heading-color);
    min-height: 300px;
    padding: 160px 0 80px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 4px solid var(--accent-color);
    perspective: 1000px;
}

/* Background Dot Grid  */
.bg-dots {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    z-index: 0;
    opacity: 0.7;
    transition: transform 0.1s ease-out;
}

/* Right-Side Geometric Graphic */
.geo-cluster {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    z-index: 1;
    transition: transform 0.1s ease-out;

    /* Entrance Animation */
    opacity: 0;
    animation: slideInRight 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.2s;
}

/* Entrance Keyframes */
@keyframes slideInRight {
    from {
        transform: translate(150px, -50%);
        opacity: 0;
    }

    to {
        transform: translate(0, -50%);
        opacity: 1;
    }
}

/* Float Animation for SVG */
.geo-cluster svg {
    width: 100%;
    height: 100%;
    animation: float 6s ease-in-out infinite;
}

/* Pulse Animation */
.candidate-pulse {
    transform-origin: 150px 300px;
    animation: pulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Content Wrapper */
.career-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    transition: transform 0.1s ease-out;
}

.text-block {
    max-width: 700px;
}

/* Label */
.career-label {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid rgba(255, 74, 23, 0.3);
    background: rgba(255, 74, 23, 0.05);
    border-radius: 4px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards 0.2s;
}

/* Main Heading */
.main-heading {
    color: var(--contrast-color);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 25px 0;
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards 0.4s;
}

/* Subheading */
.sub-heading {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards 0.6s;
}

/* Button */
.career-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 35px;
    color: var(--contrast-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
    transition: all 0.3s;
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards 0.8s;
}

.career-btn:hover {
    color: var(--accent-color);
    padding-right: 10px;
}

/* Animation Keyframes */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .career-geo {
        min-height: auto;
        padding: 80px 0;
    }

    .main-heading {
        font-size: 2.8rem;
    }

    .geo-cluster {
        width: 400px;
        height: 400px;
        right: -20%;
        opacity: 0.4;
    }
}
