
/*--------------------------------------------------------------
# Loading Screen Styles
--------------------------------------------------------------*/
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease;
}

.logo-container {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-logo {
  position: absolute;
  width: 120px;
  height: 120px;
  object-fit: contain;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.loading-logo.active {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive loading screen */
@media (max-width: 768px) {
  .logo-container {
    width: 120px;
    height: 120px;
  }
  
  .loading-logo {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .logo-container {
    width: 100px;
    height: 100px;
  }
  
  .loading-logo {
    width: 80px;
    height: 80px;
  }
}

: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: "Poppins",  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: #272829; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #45505b; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0563bb; /* 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: #45505b;  /* The default color of the main navmenu links */
  --nav-hover-color: #0563bb; /* 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: #0563bb; /* 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;
}

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

/* Top Left Logo */
.top-logo {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 9999;
  transition: 0.3s;
}

.top-logo a {
  display: block;
  text-decoration: none;
}

.sp-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px;
}

.sp-logo:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Top Right Company Logos */
.top-right-logos {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  gap: 15px;
}

.top-company-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.top-company-link:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.top-company-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Visit Our Websites Section */
.visit-websites {
  position: fixed;
  top: 95px; /* Much closer to the logos - minimal gap */
  right: 20px;
  z-index: 9998;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 10px 15px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 91, 187, 0.2);
  width: 135px; /* Match the width of the two logos combined */
}

.visit-websites-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
  text-align: center;
}

.visit-websites-header i {
  font-size: 14px;
}

/* Theme Switcher */
.theme-switcher {
  position: fixed;
  top: 85px; /* Further below SP logo to avoid overlap */
  left: 20px;
  z-index: 10000;
}

.theme-btn {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  width: 80px; /* Match approximate SP logo width */
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-color);
}

.theme-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.theme-btn span {
  font-size: 14px;
  color: var(--accent-color);
}

.theme-btn i {
  font-size: 14px;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.theme-menu.active + .theme-btn i {
  transform: rotate(180deg);
}

.theme-menu {
  position: absolute;
  top: 50px;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 91, 187, 0.2);
  width: 200px; /* Fixed width for consistency */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.theme-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 5px;
}

.theme-option:hover {
  background: rgba(0, 91, 187, 0.1);
  transform: translateX(5px);
}

.theme-option.active {
  background: var(--accent-color);
  color: white;
}

.theme-preview {
  width: 25px;
  height: 25px;
  border-radius: 6px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Theme Preview Colors */
.default-preview {
  background: linear-gradient(45deg, #0563bb 50%, #ffffff 50%);
}

.globalpeace-preview {
  background: linear-gradient(45deg, #8B0000 50%, #191970 50%);
}

.peshika-preview {
  background: linear-gradient(45deg, #4169E1 50%, #87CEEB 50%);
}

.dark-preview {
  background: linear-gradient(45deg, #2c2c2c 50%, #4a4a4a 50%);
}

/* Default Theme (Current) */
:root {
  --default-background: #ffffff;
  --default-surface: #ffffff;
  --default-accent: #0563bb;
  --default-text: #272829;
  --default-heading: #45505b;
}

/* Global Peace Theme */
[data-theme="globalpeace"] {
  --background-color: #fff8f8;
  --surface-color: #ffffff;
  --accent-color: #8B0000;
  --default-color: #2c1810;
  --heading-color: #191970;
  --nav-color: #191970;
  --nav-hover-color: #8B0000;
}

/* Peshika Theme */
[data-theme="peshika"] {
  --background-color: #f0f8ff;
  --surface-color: #ffffff;
  --accent-color: #4169E1;
  --default-color: #1e1e2e;
  --heading-color: #1e3a8a;
  --nav-color: #1e3a8a;
  --nav-hover-color: #4169E1;
}

/* Dark Mode Theme */
[data-theme="dark"] {
  --background-color: #1a1a1a;
  --surface-color: #2d2d2d;
  --accent-color: #64b5f6;
  --default-color: #e0e0e0;
  --heading-color: #ffffff;
  --contrast-color: #1a1a1a;
  --nav-color: #e0e0e0;
  --nav-hover-color: #64b5f6;
  --nav-mobile-background-color: #2d2d2d;
  --nav-dropdown-background-color: #2d2d2d;
  --nav-dropdown-color: #e0e0e0;
  --nav-dropdown-hover-color: #64b5f6;
}

/* Mobile theme switcher */
@media (max-width: 1199px) {
  .theme-switcher {
    top: 80px; /* Further below SP logo on mobile to avoid overlap */
    left: 15px;
  }
  
  .theme-btn {
    width: 70px; /* Maintain width on mobile */
    height: 35px;
    padding: 0 8px;
    font-size: 12px;
  }
  
  .theme-btn span {
    font-size: 12px;
  }
  
  .theme-btn i {
    font-size: 12px;
  }
  
  .theme-menu {
    top: 45px;
    width: 180px;
  }
}

.website-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.website-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(0, 91, 187, 0.05);
  border-radius: 8px;
  text-decoration: none;
  color: var(--default-color);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.website-link:hover {
  background: var(--accent-color);
  color: white;
  transform: translateX(5px);
  border-color: var(--accent-color);
}

.website-link i {
  font-size: 16px;
  width: 16px;
  text-align: center;
}

/* Tablet and mobile styles - when hamburger menu is visible */
@media (max-width: 1199px) {
  .top-right-logos {
    top: 70px; /* Position below hamburger menu (15px + 40px + 15px spacing) */
    right: 15px;
    gap: 10px;
    flex-direction: column; /* Stack logos vertically */
  }
  
  .top-company-link {
    width: 40px; /* Same size as hamburger menu */
    height: 40px; /* Same size as hamburger menu */
    padding: 4px;
  }
  
  .top-company-logo {
    width: 32px;
    height: 32px;
  }
  
  /* Visit websites section - hide completely on mobile */
  .visit-websites {
    display: none; /* Hide entire section on mobile */
  }
}

@media (max-width: 768px) {
  .top-logo {
    top: 15px;
    left: 15px;
  }
  
  .sp-logo {
    width: 50px;
    height: 50px;
  }
  
  .top-right-logos {
    gap: 8px; /* Smaller gap on mobile */
  }
}

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

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 15px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  min-width: 200px;
}

@media (max-width: 1199px) {
  .header {
    background-color: var(--background-color);
    border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    width: 300px;
    left: -100%;
  }
}

@media (min-width: 1200px) and (max-width: 1600px) {
  .header~main {
    margin-left: 160px;
  }

  .header~main .hero {
    margin-left: -160px;
    width: 100vw;
  }
}

.header.header-show {
  left: 0;
}

.header .header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  transition: background-color 0.3s;
}

.header .header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navmenu {
  padding: 0;
  z-index: 9997;
}

.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
  width: 140px;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  font-family: var(--nav-font);
  display: flex;
  align-items: center;
  padding: 10px 18px;
  margin-bottom: 8px;
  font-size: 15px;
  border-radius: 50px;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  height: 56px;
  width: 100%;
  overflow: hidden;
  transition: 0.3s;
}

.navmenu a i,
.navmenu a:focus i {
  font-size: 20px;
}

.navmenu a span,
.navmenu a:focus span {
  padding: 0 5px 0 7px;
}

@media (min-width: 992px) {

  .navmenu a,
  .navmenu a:focus {
    max-width: 56px;
  }

  .navmenu a span,
  .navmenu a:focus span {
    display: none;
  }
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus,
.navmenu li:hover>a {
  color: var(--contrast-color);
  background: var(--nav-hover-color);
}

.navmenu a:hover,
.navmenu li:hover>a {
  max-width: 100%;
  color: var(--contrast-color);
}

.navmenu a:hover span,
.navmenu li:hover>a span {
  display: block;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

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

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

/*--------------------------------------------------------------
# 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: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.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;
  bottom: 15px;
}

/*--------------------------------------------------------------
# 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 {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  position: relative;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
  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 70%);
}

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

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

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

.hero img {
  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 h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 26px;
}

.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}

.hero .social-links {
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.hero .social-links a {
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1;
  transition: 0.3s;
  text-decoration: none;
}

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

.hero .social-links a i {
  font-size: 20px;
}

/* Hero Section - Recreated Links Container */
.hero .hero-subtitle {
  font-size: 24px;
  margin-bottom: 30px;
}

.hero .hero-links-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Social Media Icons (Facebook & TikTok) */
.hero .hero-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #000000;
  font-size: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.hero .hero-social-link:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #000000;
  transform: translateY(-3px);
}

.hero .hero-social-link i {
  font-size: 24px;
  color: #000000;
}

/* Company Logo Links (Peshika & Global Peace) */
.hero .hero-company-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.hero .hero-company-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.hero .hero-company-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(1.3);
  transition: all 0.3s ease;
}

.hero .hero-company-link:hover .hero-company-logo {
  filter: brightness(1.5);
  transform: scale(1.1);
}

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

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

  .hero img {
    object-position: 85% center;
    transform: scale(1.5);
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

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

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  width: 54px;
  height: 54px;
  font-size: 24px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  margin-top: 10px;
  width: 100%;
  position: relative;
  text-align: center;
  z-index: 0;
}

.stats .stats-item span {
  font-size: 36px;
  display: block;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# 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: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-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 0 10px 0;
  }
}

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

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

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

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 60px 30px;
  text-align: center;
  transition: 0.3s;
  border-radius: 5px;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
}

.services .service-item .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
}

.services .service-item .icon svg {
  position: absolute;
  top: 0;
  left: 0;
}

.services .service-item .icon svg path {
  transition: 0.5s;
  fill: color-mix(in srgb, var(--default-color), transparent 95%);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

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

.services .service-item:hover {
  box-shadow: 0px 5px 35px 0px rgba(0, 0, 0, 0.1);
}

.services .service-item.item-cyan i {
  color: #0dcaf0;
}

.services .service-item.item-cyan:hover .icon i {
  color: #fff;
}

.services .service-item.item-cyan:hover .icon path {
  fill: #0dcaf0;
}

.services .service-item.item-orange i {
  color: #fd7e14;
}

.services .service-item.item-orange:hover .icon i {
  color: #fff;
}

.services .service-item.item-orange:hover .icon path {
  fill: #fd7e14;
}

.services .service-item.item-teal i {
  color: #20c997;
}

.services .service-item.item-teal:hover .icon i {
  color: #fff;
}

.services .service-item.item-teal:hover .icon path {
  fill: #20c997;
}

.services .service-item.item-red i {
  color: #df1529;
}

.services .service-item.item-red:hover .icon i {
  color: #fff;
}

.services .service-item.item-red:hover .icon path {
  fill: #df1529;
}

.services .service-item.item-indigo i {
  color: #6610f2;
}

.services .service-item.item-indigo:hover .icon i {
  color: #fff;
}

.services .service-item.item-indigo:hover .icon path {
  fill: #6610f2;
}

.services .service-item.item-pink i {
  color: #f3268c;
}

.services .service-item.item-pink:hover .icon i {
  color: #fff;
}

.services .service-item.item-pink:hover .icon path {
  fill: #f3268c;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item .testimonial-content {
  border-left: 3px solid var(--accent-color);
  padding-left: 30px;
}

.testimonials .testimonial-item .testimonial-img {
  border-radius: 50%;
  border: 4px solid var(--background-color);
  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;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0 0 10px 0;
}

.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(--accent-color), transparent 50%);
  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;
}

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

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

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

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

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

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

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  height: 100%;
}

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

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .swiper-wrapper {
  height: auto;
}

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

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

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

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

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

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

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

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

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

.service-details h3 {
  font-size: 26px;
  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);
}

/*--------------------------------------------------------------
# Milestones Timeline Section
--------------------------------------------------------------*/
.milestones {
  padding: 60px 0;
}

.timeline {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background: linear-gradient(to bottom, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 50%));
  top: 0;
  bottom: 0;
  left: 50px;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  background-color: inherit;
  width: 100%;
  margin-bottom: 40px;
}

.timeline-year {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), #0d6efd);
  color: var(--contrast-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 8px 25px rgba(5, 99, 187, 0.3);
  z-index: 2;
}

.timeline-year::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border: 4px solid var(--surface-color);
  border-radius: 50%;
  right: -35px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 4px 15px rgba(5, 99, 187, 0.2);
}

.timeline-content {
  margin-left: 130px;
  background: var(--surface-color);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(5, 99, 187, 0.1);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}

.timeline-image {
  margin-bottom: 20px;
}

.timeline-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-details h4 {
  color: var(--heading-color);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: var(--heading-font);
}

.timeline-details p {
  color: var(--default-color);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-year {
    width: 60px;
    height: 60px;
    font-size: 14px;
    left: 0;
  }
  
  .timeline-year::after {
    right: -17px;
    width: 14px;
    height: 14px;
  }
  
  .timeline-content {
    margin-left: 80px;
    padding: 20px;
  }
  
  .timeline-details h4 {
    font-size: 20px;
  }
  
  .timeline-details p {
    font-size: 14px;
  }
  
  .timeline-image img {
    height: 200px; /* Increased from 150px to 200px */
  }
}

@media (max-width: 576px) {
  .timeline::before {
    left: 20px;
  }
  
  .timeline-year {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }
  
  .timeline-year::after {
    right: -12px;
    width: 10px;
    height: 10px;
  }
  
  .timeline-content {
    margin-left: 60px;
    padding: 15px;
  }
  
  .timeline-details h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .timeline-details p {
    font-size: 13px;
  }
  
  .timeline-image {
    margin-bottom: 15px;
  }
  
  .timeline-image img {
    height: 160px; /* Increased from 120px to 160px */
  }
}

/*--------------------------------------------------------------
# Branches Section (Testimonials)
--------------------------------------------------------------*/
/* Swiper slide styling with background images and gradient */
.testimonials .swiper-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 400px;
}

.testimonials .swiper-button-next,
.testimonials .swiper-button-prev {
  top: 80% !important;
}

.testimonials .swiper-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(255, 255, 255, 0.9) 40%, 
    rgba(255, 255, 255, 0.7) 60%, 
    rgba(255, 255, 255, 0.3) 80%, 
    rgba(255, 255, 255, 0.1) 100%);
  z-index: 1;
}

.testimonials .testimonial-item {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.branch-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.branch-icon {
  font-size: 24px;
  color: var(--accent-color);
  margin-right: 10px;
}

.branch-header h3 {
  margin: 0;
  color: var(--heading-color);
  font-size: 22px;
  font-weight: 600;
}

.branch-details {
  text-align: left;
}

.branch-details p {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
}

/* Override flex behavior that causes text spreading */
.branch-details p {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Prevent text content from being stretched by flex */
.branch-details p {
  text-align: left;
}

/* Ensure icons stay fixed width and text flows normally */
.branch-details p i {
  flex-shrink: 0;
  width: 20px;
}

/* New branch info container styling - completely inline approach */
.branch-info-container {
  text-align: left;
}

.branch-address-item,
.branch-contact-item {
  margin-bottom: 10px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  display: block !important;
  width: 100% !important;
  text-align: left !important;
}

.branch-address-item i,
.branch-contact-item i {
  display: inline !important;
  margin-right: 5px !important;
  color: var(--accent-color) !important;
  font-size: 14px !important;
  vertical-align: baseline !important;
}

.branch-address-item span,
.branch-contact-item span {
  display: inline !important;
  vertical-align: baseline !important;
}

/* Specific styling for different content types */
.branch-address-item span {
  white-space: pre-line !important;
  line-height: 1.5 !important;
}

.branch-contact-item span {
  white-space: nowrap !important;
  line-height: 1.6 !important;
}

/* Phone number specific styling */
.branch-contact-item i.bi-telephone + span {
  font-family: 'Courier New', monospace !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}

/* Override any inherited flex or grid styles */
.testimonials .branch-info-container * {
  display: revert !important;
}

.testimonials .branch-address-item,
.testimonials .branch-contact-item {
  display: block !important;
}

.testimonials .branch-address-item i,
.testimonials .branch-contact-item i {
  display: inline !important;
}

.testimonials .branch-address-item span,
.testimonials .branch-contact-item span {
  display: inline !important;
}

/* Force line breaks in addresses */
.branch-details br {
  display: block !important;
}

/* New simplified branch info styling - forcing single line display */
.branch-simple-info {
  text-align: left;
  font-family: inherit;
}

.info-line {
  font-size: 13px;
  margin-bottom: 10px;
  line-height: 1.4;
  display: block;
  clear: both;
  white-space: nowrap;
  overflow: visible;
  width: 100%;
}

.info-line i {
  display: inline;
  font-size: 13px;
  margin-right: 5px;
  color: var(--accent-color);
  vertical-align: baseline;
  float: none;
}

.info-line br {
  display: none;
}

/* Force all text to stay on one line */
.info-line * {
  white-space: nowrap;
  display: inline;
}

/* Language switch button styling */
.language-switch {
  background: var(--accent-color) !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  margin-top: 5px !important;
  transition: all 0.3s ease !important;
}

.language-switch:hover {
  background: var(--nav-hover-color) !important;
  transform: translateX(5px) !important;
}

.language-switch i {
  color: white !important;
}

.language-switch span {
  color: white !important;
  font-weight: 600 !important;
}

/* Enhanced branch address styling */
.branch-details p:has(i.bi-geo-alt) {
  white-space: normal;
  word-wrap: break-word;
}

.branch-details p:has(i.bi-telephone) {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Ensure consistent spacing between address elements */
.branch-details p + p {
  margin-top: 8px;
}

.branch-details p i {
  margin-right: 8px;
  color: var(--accent-color);
  font-size: 16px;
  width: 20px;
}

.branch-social {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.branch-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  transition: 0.3s;
  text-decoration: none;
}

.branch-social a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-2px);
}

.branch-social a i {
  font-size: 16px;
}

/* Coming Soon Branch Styling */
.coming-soon-branch {
  opacity: 0.7;
}

.coming-soon-text {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-top: 10px;
}

.coming-soon-logo {
  opacity: 0.5;
  filter: grayscale(50%);
}

/* Clock Container for Damak */
.clock-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #ffc107, #fd7e14);
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.clock-icon {
  font-size: 40px;
  color: #fff;
  animation: clockTick 2s infinite ease-in-out;
}

@keyframes clockTick {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Japan Flag Styling */
.japan-flag {
  font-size: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #fff, #f8f9fa);
  border-radius: 15px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #e9ecef;
  transition: 0.3s;
}

.japan-flag:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Swiper Navigation Buttons */
.testimonials .swiper {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}

.testimonials .swiper-wrapper {
  position: relative;
  z-index: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--accent-color) !important;
  background: var(--surface-color) !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  z-index: 9999 !important;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  border: 2px solid var(--accent-color) !important;
  margin-top: 0 !important;
  outline: none !important;
  user-select: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.swiper-button-next {
  right: 15px !important;
}

.swiper-button-prev {
  left: 15px !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--accent-color) !important;
  color: var(--contrast-color) !important;
  transform: translateY(-50%) scale(1.1) !important;
  border: 2px solid var(--accent-color) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px !important;
  font-weight: bold !important;
  color: inherit !important;
}

.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Mobile-specific Swiper Navigation */
@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    width: 55px !important;
    height: 55px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    border: 3px solid var(--accent-color) !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
  }
  
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold !important;
    color: inherit !important;
  }
  
  .swiper-button-next {
    right: 10px !important;
  }
  
  /* Mobile branch info container styling */
  .branch-address-item,
  .branch-contact-item {
    font-size: 13px !important;
    margin-bottom: 12px !important;
    line-height: 1.5 !important;
  }
  
  .branch-address-item i,
  .branch-contact-item i {
    font-size: 13px !important;
    margin-right: 6px !important;
  }
  
  /* Mobile styling for new simplified branch info */
  .info-line {
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: visible;
  }
  
  .info-line i {
    font-size: 13px;
    margin-right: 5px;
  }
  
  .info-line * {
    white-space: nowrap;
    display: inline;
  }
  
  .swiper-button-prev {
    left: 10px !important;
  }
  
  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    transform: translateY(-50%) scale(1.1) !important;
    background: var(--accent-color) !important;
    color: var(--contrast-color) !important;
  }
}

/* Additional Swiper Fixes */
.testimonials .swiper {
  overflow: hidden !important;
  position: relative !important;
}

.testimonials .swiper-wrapper {
  display: flex !important;
  transition-timing-function: ease !important;
}

.testimonials .swiper-slide {
  flex-shrink: 0 !important;
  width: 100% !important;
  position: relative !important;
}

/* Ensure pagination is visible */
.testimonials .swiper-pagination {
  position: absolute !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 10 !important;
}

.testimonials .swiper-pagination-bullet {
  background: var(--accent-color) !important;
  opacity: 0.5 !important;
  cursor: pointer !important;
}

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

/* Improve pagination dots on mobile */
  .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background: var(--accent-color);
    opacity: 0.7;
  }
  
  .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
  }


@media (max-width: 480px) {
  .swiper-button-next,
  .swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    border: 2px solid var(--accent-color) !important;
    z-index: 9999 !important;
  }
  
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 16px !important;
    font-weight: bold !important;
  }
}

/*--------------------------------------------------------------
# Organization Tree Section (Portfolio)
--------------------------------------------------------------*/
.org-tree {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  position: relative;
}

/* Organization Levels */
.org-level {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.branches-level {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Organization Items */
.org-item {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.org-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}

.org-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.org-item:hover::before {
  left: 100%;
}

/* Parent Company Styling */
.parent-company {
  background: linear-gradient(135deg, var(--accent-color), #0d6efd);
  color: var(--contrast-color);
  min-width: 350px;
  border: none;
}

.parent-company .org-logo {
  border-radius: 50%;
}

.parent-company h3 {
  color: var(--contrast-color);
  font-size: 28px;
  margin-bottom: 10px;
}

.parent-company p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

/* Chain Company Styling */
.chain-company {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: var(--contrast-color);
  min-width: 320px;
  border: none;
}

.chain-company .org-logo {
  width: 60px;
  height: 60px;
}

.chain-company h3 {
  color: var(--contrast-color);
  font-size: 24px;
  margin-bottom: 10px;
}

.chain-company p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

/* Branch Styling */
.branch {
  min-height: 280px;
}

.branch .org-logo {
  width: 60px;
  height: 60px;
}

.branch.coming-soon {
  opacity: 0.5;
  position: relative;
}

.branch.coming-soon::after {
  content: 'Coming Soon';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  color: #000;
  border-radius: 20px;
  z-index: 2;
}

.coming-soon-overlay {
  display: none;
}

/* Logo Styling */
.org-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.org-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Organization Details */
.org-details h3, .org-details h4 {
  margin-bottom: 10px;
  font-weight: 600;
}

.org-details p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  opacity: 0.9;
}

/* Status Labels */
.org-type, .org-status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.org-type {
  background: rgba(255, 255, 255, 0.2);
  color: var(--contrast-color);
}

.org-status.active {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.org-status.upcoming {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
  color: #333;
}

/* Connectors */
.main-connector {
  position: relative;
  height: 60px;
  display: flex;
  justify-content: center;
  margin: -30px 0;
}

.connector-line {
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-color), #28a745);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.branch-connectors {
  position: relative;
  height: 80px;
  margin: -40px 0;
}

.branch-line {
  position: absolute;
  height: 4px;
  background: linear-gradient(to right, #28a745, var(--accent-color));
  border-radius: 2px;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
}

.branch-line-1 { left: 12.5%; width: 25%; }
.branch-line-2 { left: 25%; width: 25%; }
.branch-line-3 { left: 50%; width: 25%; }
.branch-line-4 { left: 62.5%; width: 25%; }

/* Animated Line Effects */
.animated-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  animation: lineFlow 2s infinite;
}

@keyframes lineFlow {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Sparkle Effects */
.connector-spark, .branch-spark {
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #fff, var(--accent-color));
  border-radius: 50%;
  animation: sparkle 2s infinite ease-in-out;
  box-shadow: 0 0 20px var(--accent-color);
}

.connector-spark {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.branch-spark-1 { top: 50%; left: 25%; transform: translate(-50%, -50%); animation-delay: 0s; }
.branch-spark-2 { top: 50%; left: 37.5%; transform: translate(-50%, -50%); animation-delay: 0.5s; }
.branch-spark-3 { top: 50%; left: 62.5%; transform: translate(-50%, -50%); animation-delay: 1s; }
.branch-spark-4 { top: 50%; left: 75%; transform: translate(-50%, -50%); animation-delay: 1.5s; }

@keyframes sparkle {
  0%, 100% { 
    opacity: 0.3; 
    transform: translate(-50%, -50%) scale(0.8); 
  }
  50% { 
    opacity: 1; 
    transform: translate(-50%, -50%) scale(1.2); 
  }
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .branches-level {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .branch-line-1, .branch-line-2 { top: 25%; }
  .branch-line-3, .branch-line-4 { top: 75%; }
  
  .branch-spark-1, .branch-spark-2 { top: 25%; }
  .branch-spark-3, .branch-spark-4 { top: 75%; }
}

@media (max-width: 768px) {
  .branches-level {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .parent-company, .chain-company {
    min-width: auto;
    margin: 0 20px;
  }
  
  .org-item {
    padding: 20px;
  }
  
  .org-logo {
    width: 60px;
    height: 60px;
  }
  
  .branch-connectors {
    display: none;
  }
}

/*--------------------------------------------------------------
/* Starter Section
--------------------------------------------------------------*/
/* Styles can be added here as needed */