/**
* Bab Contracting Website
* Custom styling for Bab Development Contracting Company
* Built with Bootstrap 5.3.3
* Customized: December 2024
*/

/*--------------------------------------------------------------
# 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: "Nunito",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Bootstrap Color Overrides - Override Bootstrap's default blue primary color to black */
:root {
  --bs-primary: #000000;
  --bs-primary-rgb: 0, 0, 0;
}

/* 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: #000000; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #546738; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --accent-color-dark: #3d4d29; /* Darker variation of the brand color */
  --accent-color-light: #6b7f47; /* Lighter variation of the brand color */
  --accent-color-rgb: 84, 103, 56; /* RGB values of the brand color for use with transparency */
  --secondary-color: #636564; /* Secondary theme color for subtle accents and supporting elements */
  --secondary-color-rgb: 99, 101, 100; /* RGB values of the secondary color for use with transparency */
  --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: #000000;  /* The default color of the main navmenu links */
  --nav-hover-color: #546738; /* 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: #546738; /* 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;
}

/*--------------------------------------------------------------
# Transition Variables
--------------------------------------------------------------*/
:root {
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

/*--------------------------------------------------------------
# Interactive Element Transitions
--------------------------------------------------------------*/
/* Button transitions */
button,
.btn,
.btn-primary,
.btn-getstarted,
.btn-get-started,
.btn-cta,
.btn-read-more,
.btn-buy,
input[type="submit"],
input[type="button"] {
  transition: all var(--transition-normal);
}

button:hover,
.btn:hover,
.btn-primary:hover,
.btn-getstarted:hover,
.btn-get-started:hover,
.btn-cta:hover,
.btn-read-more:hover,
.btn-buy:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.3);
}

/* Link transitions */
a {
  transition: all var(--transition-normal);
}

/* Card transitions */
.card,
.service-item,
.pricing-tem,
.feature-box,
.portfolio-item,
.team-member,
.testimonial-item {
  transition: all var(--transition-normal);
}

.card:hover,
.service-item:hover,
.pricing-tem:hover,
.feature-box:hover,
.portfolio-item:hover,
.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Icon transitions */
i,
.icon {
  transition: all var(--transition-fast);
}

/* Image transitions */
img {
  transition: all var(--transition-normal);
}

/* Form input transitions */
input,
textarea,
select {
  transition: all var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(var(--accent-color-rgb), 0.25);
}

/* Navigation link transitions */
.navmenu a {
  transition: all var(--transition-normal);
}

.navmenu a:hover {
  color: var(--nav-hover-color);
}

/* Portfolio item hover effects */
.portfolio-item .portfolio-info {
  transition: all var(--transition-normal);
}

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

/* Service card hover effects */
.service-item .icon {
  transition: all var(--transition-normal);
}

.service-item:hover .icon {
  transform: scale(1.1);
}

/* 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);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

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

.header .logo img {
  max-height: 65px;
  margin-right: 0;
  transition: all 0.3s ease;
}

.header .logo-img {
  max-height: 65px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), #000 20%) 100%);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(var(--accent-color-rgb), 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.header .btn-getstarted::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), #fff 20%) 0%, var(--accent-color) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 50px;
}

.header .btn-getstarted span,
.header .btn-getstarted i {
  position: relative;
  z-index: 1;
}

.header .btn-getstarted i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--accent-color-rgb), 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

.header .btn-getstarted:hover::before {
  opacity: 1;
}

.header .btn-getstarted:hover i {
  transform: translateX(3px);
}

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

  .header .logo img {
    max-height: 55px;
  }

  .header .logo-img {
    max-height: 55px;
  }

  .header .logo h1 {
    font-size: 24px;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 10px 20px;
    font-size: 13px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .header .navmenu {
    order: 3;
  }
}

/* Additional mobile optimizations */
@media (max-width: 768px) {
  .header {
    padding: 15px 0;
  }

  .header .logo h1 {
    font-size: 20px;
  }

  .header .btn-getstarted {
    padding: 8px 18px;
    font-size: 12px;
    gap: 5px;
  }

  .header .btn-getstarted i {
    font-size: 14px;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f5 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Header scrolled state - additional styling for header-scrolled class */
.header.header-scrolled {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f5 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(255, 255, 255, 0);
  --nav-color: rgba(255, 255, 255, 0.9);
  --heading-color: #ffffff;
}

.index-page .header .logo h1 {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.index-page .header .btn-getstarted {
  background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.9) 0%, rgba(var(--accent-color-rgb), 0.95) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.index-page .header .btn-getstarted:hover {
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), #000 20%) 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: #ffffff;
  --nav-color: #000000;
  --heading-color: #000000;
  background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f5 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.index-page.scrolled .header .logo h1 {
  color: #000000;
  text-shadow: none;
}

.index-page.scrolled .header .btn-getstarted {
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), #000 20%) 100%);
  backdrop-filter: none;
}

/* Mobile nav toggle on index page */
.index-page .mobile-nav-toggle {
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.index-page.scrolled .mobile-nav-toggle {
  color: var(--nav-color);
  text-shadow: none;
}

/* Mobile menu text color fix for index page */
.index-page.mobile-nav-active .navmenu a,
.index-page.mobile-nav-active .navmenu a:focus {
  color: var(--heading-color) !important;
}

.index-page.mobile-nav-active .navmenu ul {
  background: #ffffff !important;
}

.index-page.mobile-nav-active .navmenu a,
.index-page.mobile-nav-active .navmenu a:focus {
  color: #000000 !important;
}

/* Service Details Page Header
------------------------------*/
.service-details-page .header {
  --background-color: rgba(255, 255, 255, 0);
  --nav-color: rgba(255, 255, 255, 0.9);
  --heading-color: #ffffff;
}

.service-details-page .header .logo img {
  filter: brightness(0) invert(1);
}

.service-details-page .header .btn-getstarted {
  background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.9) 0%, rgba(var(--accent-color-rgb), 0.95) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-details-page .header .btn-getstarted:hover {
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), #000 20%) 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Service Details Page Header on Scroll
------------------------------*/
.service-details-page.scrolled .header {
  --background-color: #ffffff;
  --nav-color: #000000;
  --heading-color: #000000;
  background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f5 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.service-details-page.scrolled .header .logo img {
  filter: none;
}

.service-details-page.scrolled .header .btn-getstarted {
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), #000 20%) 100%);
  backdrop-filter: none;
}

/* Mobile nav toggle on service details page */
.service-details-page .mobile-nav-toggle {
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.service-details-page.scrolled .mobile-nav-toggle {
  color: var(--nav-color);
  text-shadow: none;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@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 a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 12px;
    font-size: 15px;
    font-family: var(--nav-font);
    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;
    transition: 0.3s;
  }

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

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

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

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: transparent;
  }

  .mobile-nav-toggle:hover {
    background: rgba(var(--accent-color-rgb), 0.1);
  }

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

  .navmenu ul {
    display: none;
    list-style: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    padding: 80px 0 20px 0;
    margin: 0;
    background: #ffffff;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--heading-color);
    padding: 16px 24px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: all 0.3s ease;
    min-height: 52px;
    border-radius: 0;
    margin: 0;
    position: relative;
    border-left: 4px solid transparent;
  }

  .navmenu a::before {
    display: none;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--accent-color);
    background: rgba(var(--accent-color-rgb), 0.08);
    border-left-color: var(--accent-color);
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: rgba(var(--accent-color-rgb), 0.1);
  }

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

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

  .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: 8px 0;
    margin: 0;
    background-color: rgba(var(--accent-color-rgb), 0.05);
    border: none;
    border-left: 3px solid var(--accent-color);
    box-shadow: none;
    transition: all 0.3s ease-in-out;
  }

  .navmenu .dropdown ul a {
    padding-left: 40px;
    font-size: 15px;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(var(--accent-color-rgb), 0.03);
  }

  .navmenu .dropdown ul ul a {
    padding-left: 56px;
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    animation: slideDown 0.3s ease-out;
  }

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

  .mobile-nav-active .mobile-nav-toggle {
    color: #000 !important;
    position: fixed !important;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 99999 !important;
    min-width: 48px;
    min-height: 48px;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .mobile-nav-active .mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: rotate(90deg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
  }

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

/* Mobile menu animations */
@keyframes slideInFromRight {
  from {
    right: -100%;
  }
  to {
    right: 0;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    max-height: 500px;
    transform: translateY(0);
    transform: translateY(0);
  }
}

/* Listing Dropdown - Desktop */
@media (min-width: 1200px) {
  .navmenu .listing-dropdown {
    position: static;
  }

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

  .navmenu .listing-dropdown ul li {
    flex: 1;
  }

  .navmenu .listing-dropdown ul li a,
  .navmenu .listing-dropdown ul li:hover>a {
    padding: 10px 20px;
    font-size: 15px;
    color: var(--nav-dropdown-color);
    background-color: var(--nav-dropdown-background-color);
  }

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

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

/* Listing Dropdown - Mobile */
@media (max-width: 1199px) {
  .navmenu .listing-dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

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

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

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-newsletter {
  background-color: color-mix(in srgb, var(--accent-color), transparent 97%);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  padding: 50px 0;
}

.footer .footer-newsletter h4 {
  font-size: 24px;
}

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

.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: 100%;
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  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 .footer-top {
  padding-top: 50px;
}

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

.footer .social-links a:hover {
  color: var(--contrast-color);
  background-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 {
  margin-right: 3px;
  font-size: 12px;
  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 {
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1;
}

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

.footer .footer-about a {
  color: var(--heading-color);
  font-size: 24px;
  font-weight: 600;
  font-family: var(--heading-font);
}

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

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  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;
}

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

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

.scroll-top:hover {
  background-color: 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;
  }
}

/*--------------------------------------------------------------
# Mobile Touch Target Optimization
--------------------------------------------------------------*/
@media (max-width: 768px) {
  /* Ensure all buttons meet minimum touch target size */
  button,
  .btn,
  .btn-primary,
  .btn-getstarted,
  .btn-get-started,
  .btn-cta,
  .btn-read-more,
  .btn-buy,
  input[type="submit"],
  input[type="button"],
  a.btn {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Ensure all links have adequate touch targets */
  a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Navigation links already handled in mobile nav section */
  .navmenu a {
    min-height: 44px;
    padding: 12px 20px;
  }

  /* Social media links */
  .footer .social-links a {
    min-width: 44px;
    min-height: 44px;
    font-size: 18px;
  }

  /* Form inputs */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="password"],
  input[type="search"],
  input[type="number"],
  textarea,
  select {
    min-height: 44px;
    padding: 12px 15px;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Scroll to top button */
  .scroll-top {
    width: 44px;
    height: 44px;
    right: 20px;
    bottom: 20px;
  }

  .scroll-top i {
    font-size: 20px;
  }

  /* Portfolio filter buttons */
  .isotope-filters li {
    min-height: 44px;
    padding: 10px 20px;
    margin: 5px;
  }

  /* Service cards - increase padding for better touch */
  .service-item {
    padding: 30px 20px;
  }

  .service-item .read-more {
    min-height: 44px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
  }

  /* Pricing buttons */
  .pricing-tem .btn-buy {
    min-height: 44px;
    padding: 12px 30px;
  }

  /* FAQ toggle */
  .faq-item h3,
  .faq-item .faq-toggle {
    min-height: 44px;
    padding: 15px 20px;
  }

  /* Testimonial navigation */
  .testimonials .swiper-button-next,
  .testimonials .swiper-button-prev {
    width: 44px;
    height: 44px;
  }

  /* Portfolio items - increase spacing */
  .portfolio-item {
    margin-bottom: 20px;
  }

  /* Team member cards */
  .team-member .social a {
    min-width: 44px;
    min-height: 44px;
  }

  /* Increase spacing between interactive elements */
  .btn + .btn,
  a + a {
    margin-left: 10px;
  }
}

/*--------------------------------------------------------------
# Responsive Images
--------------------------------------------------------------*/
/* Ensure all images are responsive by default */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Specific responsive image optimizations */
@media (max-width: 768px) {
  /* Hero section images */
  .hero img {
    width: 100%;
    height: auto;
  }

  /* About section images */
  .about img {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
  }

  /* Portfolio images */
  .portfolio-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Service images */
  .services img {
    width: 100%;
    height: auto;
  }

  /* Team member photos */
  .team-member img {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Logo in header */
  .header .logo img {
    max-height: 45px;
    width: auto;
  }

  .header .logo-img {
    max-height: 45px;
  }

  /* Values section images */
  .values .card img {
    max-width: 200px;
    margin: 0 auto;
    padding: 20px 30px;
  }

  /* Features images */
  .features img,
  .alt-features img {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
  }

  /* Blog images */
  .blog img {
    width: 100%;
    height: auto;
  }

  /* Testimonial images */
  .testimonials img {
    max-width: 80px;
    height: auto;
    margin: 0 auto;
  }
}

/* Lazy loading optimization */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Image aspect ratio containers for better loading */
.img-container {
  position: relative;
  overflow: hidden;
}

.img-container::before {
  content: '';
  display: block;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}

.img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Portfolio specific aspect ratios */
.portfolio-item .img-container::before {
  padding-top: 75%; /* 4:3 aspect ratio */
}

/* Team member specific aspect ratios */
.team-member .img-container::before {
  padding-top: 100%; /* 1:1 aspect ratio */
}

/*--------------------------------------------------------------
# Mobile Performance Optimizations
--------------------------------------------------------------*/
@media (max-width: 768px) {
  /* Reduce motion for better performance on mobile */
  .mobile-device * {
    animation-duration: 0.5s !important;
    transition-duration: 0.2s !important;
  }

  /* Optimize hero section for mobile */
  .hero {
    min-height: 80vh;
    padding: 60px 0 40px 0;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 40px;
  }

  /* Optimize section padding for mobile */
  section,
  .section {
    padding: 40px 0;
  }

  .section-title {
    padding-bottom: 40px;
  }

  .section-title p {
    font-size: 28px;
  }

  /* Optimize grid layouts for mobile */
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .row > * {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Optimize cards for mobile */
  .card,
  .service-item,
  .feature-box {
    margin-bottom: 20px;
  }

  /* Optimize stats section for mobile */
  .stats .stats-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .stats .stats-item span {
    font-size: 28px;
  }

  /* Optimize footer for mobile */
  .footer {
    padding-bottom: 30px;
  }

  .footer .footer-top {
    padding-top: 30px;
  }

  .footer .footer-newsletter {
    padding: 30px 0;
  }

  /* Optimize forms for mobile */
  .php-email-form {
    padding: 20px;
  }

  .php-email-form .form-group {
    margin-bottom: 15px;
  }

  /* Optimize portfolio for mobile */
  .portfolio-item {
    margin-bottom: 15px;
  }

  /* Optimize pricing tables for mobile */
  .pricing-tem {
    margin-bottom: 20px;
  }

  /* Optimize testimonials for mobile */
  .testimonials .testimonial-item {
    padding: 20px;
  }

  /* Optimize blog for mobile */
  .blog .post-item {
    margin-bottom: 20px;
  }

  /* Reduce box shadows on mobile for better performance */
  .card,
  .service-item,
  .pricing-tem,
  .feature-box,
  .portfolio-item,
  .team-member {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .card:hover,
  .service-item:hover,
  .pricing-tem:hover,
  .feature-box:hover,
  .portfolio-item:hover,
  .team-member:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  width: 100%;
  min-height: 60vh;
  position: relative;
  padding: 160px 0 80px 0;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(var(--accent-color-rgb), 0.75), rgba(var(--accent-color-rgb), 0.85)), url('../img/hero-bg.jpg') center center;
  background-size: cover;
  background-attachment: fixed;
}

.page-title .heading {
  padding: 0;
  border: none;
  position: relative;
  z-index: 2;
}

.page-title .heading h1 {
  color: #ffffff;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-title .heading p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  line-height: 1.6;
}

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

.page-title nav {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
}

.page-title nav ol li {
  white-space: nowrap;
}

.page-title nav ol li a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s;
  white-space: nowrap;
}

.page-title nav ol li a:hover {
  color: #ffffff;
}

.page-title nav ol li.current {
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

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

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: rgba(255, 255, 255, 0.6);
}

/* Page Title Responsive */
@media (max-width: 992px) {
  .page-title {
    min-height: 50vh;
    padding: 120px 0 60px 0;
  }
  
  .page-title .heading h1 {
    font-size: 36px;
  }
  
  .page-title .heading p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-title {
    min-height: 40vh;
    padding: 100px 0 50px 0;
    background-attachment: scroll;
  }
  
  .page-title .heading h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .page-title .heading p {
    font-size: 15px;
  }
  
  .page-title nav {
    padding: 12px 0;
  }
  
  .page-title nav ol {
    font-size: 13px;
    justify-content: center;
  }
  
  .page-title nav ol li.current {
    max-width: 200px;
  }
}

@media (max-width: 576px) {
  .page-title {
    min-height: 35vh;
    padding: 80px 0 40px 0;
  }
  
  .page-title .heading h1 {
    font-size: 28px;
    margin-bottom: 12px;
  }
  
  .page-title .heading p {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .page-title nav {
    padding: 10px 0;
  }
  
  .page-title nav ol {
    font-size: 12px;
  }
  
  .page-title nav ol li+li {
    padding-left: 6px;
  }
  
  .page-title nav ol li+li::before {
    padding-right: 6px;
  }
  
  .page-title nav ol li.current {
    max-width: 150px;
  }
}

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

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 20px;
  letter-spacing: 4px;
  font-weight: 800;
  padding: 0;
  margin: 0 auto 25px;
  background: none;
  color: var(--heading-color);
  display: inline-block;
  text-transform: uppercase;
  font-family: var(--heading-font);
  position: relative;
  padding-bottom: 18px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-color) 20%, var(--accent-color) 80%, transparent 100%);
  border-radius: 2px;
}

.section-title p {
  color: var(--heading-color);
  margin: 10px 0 0 0;
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
}

.section-title p .description-title {
  color: var(--accent-color);
}

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

.hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
}

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

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  border-radius: 4px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started i {
  margin-left: 5px;
  font-size: 18px;
  transition: 0.3s;
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started:hover i {
  transform: translateX(5px);
}

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

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

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/* Hero Video Background */
.hero .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
}

.hero .hero-video.active {
  opacity: 1;
  pointer-events: auto;
}

.hero .hero-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  display: none;
}

/* Dark overlay for better text readability */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero h1 {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Services Carousel in Hero */
.hero .services-carousel-wrapper {
  margin: 30px 0;
  min-height: 60px;
}

.hero .services-carousel {
  max-width: 600px;
  margin: 0 auto;
}

.hero .service-highlight {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  padding: 10px 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero .services-carousel .swiper-pagination {
  position: relative;
  margin-top: 20px;
}

.hero .services-carousel .swiper-pagination-bullet {
  background: var(--accent-color);
  opacity: 0.5;
  width: 10px;
  height: 10px;
}

.hero .services-carousel .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--accent-color);
}

/* Service Highlight Links */
.hero .service-highlight-link {
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.hero .service-highlight-link:hover .service-highlight {
  color: var(--accent-color);
  transform: scale(1.05);
}

/* Stylized Navigation Buttons */
.hero .services-carousel .swiper-button-prev,
.hero .services-carousel .swiper-button-next {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.hero .services-carousel .swiper-button-prev:after,
.hero .services-carousel .swiper-button-next:after {
  font-size: 20px;
  color: #ffffff;
  font-weight: 700;
}

.hero .services-carousel .swiper-button-prev:hover,
.hero .services-carousel .swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero .services-carousel .swiper-button-prev {
  left: 10px;
}

.hero .services-carousel .swiper-button-next {
  right: 10px;
}

/* Mobile adjustments for navigation buttons */
@media (max-width: 768px) {
  .hero .services-carousel .swiper-button-prev,
  .hero .services-carousel .swiper-button-next {
    width: 36px;
    height: 36px;
  }

  .hero .services-carousel .swiper-button-prev:after,
  .hero .services-carousel .swiper-button-next:after {
    font-size: 16px;
  }

  .hero .services-carousel .swiper-button-prev {
    left: 5px;
  }

  .hero .services-carousel .swiper-button-next {
    right: 5px;
  }
}

/* CTA Button - Modern Gradient Style */
.hero .btn-cta {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), #000 20%) 100%);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 48px;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(var(--accent-color-rgb), 0.4);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.hero .btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), #fff 20%) 0%, var(--accent-color) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 50px;
}

.hero .btn-cta::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.hero .btn-cta:hover {
  color: #ffffff;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(var(--accent-color-rgb), 0.5);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn-cta:hover::before {
  opacity: 1;
}

.hero .btn-cta:hover::after {
  width: 300px;
  height: 300px;
}

.hero .btn-cta:active {
  transform: translateY(-2px) scale(0.98);
}

.hero .btn-cta span,
.hero .btn-cta i {
  position: relative;
  z-index: 1;
}

.hero .btn-cta i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.hero .btn-cta:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .hero .service-highlight {
    font-size: 20px;
  }
  
  .hero .btn-cta {
    font-size: 16px;
    padding: 12px 40px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  padding: 40px;
}

.about .content h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
}

.about .content h2 {
  font-size: 24px;
  font-weight: 700;
}

.about .content p {
  margin: 15px 0 30px 0;
  line-height: 24px;
}

.about .content .btn-read-more {
  color: var(--contrast-color);
  background: var(--accent-color);
  line-height: 0;
  padding: 15px 40px;
  border-radius: 4px;
  transition: 0.5s;
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.1);
}

.about .content .btn-read-more span {
  font-family: var(--default-font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
}

.about .content .btn-read-more i {
  margin-left: 5px;
  font-size: 18px;
  transition: 0.3s;
}

.about .content .btn-read-more:hover i {
  transform: translateX(5px);
}

/*--------------------------------------------------------------
# Values Section
--------------------------------------------------------------*/
.values .value-item {
  background-color: var(--surface-color);
  color: var(--default-color);
  padding: 30px;
  box-shadow: 0px 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: 0.3s;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

.values .value-item .icon {
  margin-bottom: 20px;
}

.values .value-item .icon i {
  font-size: 48px;
  color: var(--accent-color);
  transition: 0.3s;
}

.values .value-item h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.values .value-item p {
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 0;
}

.values .value-item:hover {
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.values .value-item:hover .icon i {
  transform: scale(1.1);
}

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

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .feature-box {
  padding: 24px 20px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  height: 100%;
}

.features .feature-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.features .feature-box i {
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  line-height: 0;
  padding: 4px;
  margin-right: 10px;
  font-size: 24px;
  border-radius: 3px;
  transition: 0.3s;
}

.features .feature-box:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Alt Features Section
--------------------------------------------------------------*/
.alt-features .icon-box {
  display: flex;
}

.alt-features .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.alt-features .icon-box i {
  font-size: 44px;
  line-height: 44px;
  color: var(--accent-color);
  margin-right: 15px;
}

.alt-features .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

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

.services .service-item .icon {
  font-size: 36px;
  padding: 20px 20px;
  border-radius: 4px;
  position: relative;
  margin-bottom: 25px;
  display: inline-block;
  line-height: 0;
  transition: 0.3s;
}

.services .service-item h3 {
  font-size: 24px;
  font-weight: 700;
}

.services .service-item .read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 20px;
}

.services .service-item .read-more i {
  line-height: 0;
  margin-left: 5px;
  font-size: 18px;
}

.services .service-item.item-cyan {
  border-bottom: 3px solid var(--accent-color);
}

.services .service-item.item-cyan .icon {
  color: var(--accent-color);
  background: rgba(var(--accent-color-rgb), 0.1);
}

.services .service-item.item-cyan .read-more {
  color: var(--accent-color);
}

.services .service-item.item-cyan:hover {
  background: var(--accent-color);
}

.services .service-item.item-orange {
  border-bottom: 3px solid var(--accent-color-light);
}

.services .service-item.item-orange .icon {
  color: var(--accent-color-light);
  background: rgba(var(--accent-color-rgb), 0.15);
}

.services .service-item.item-orange .read-more {
  color: var(--accent-color-light);
}

.services .service-item.item-orange:hover {
  background: var(--accent-color-light);
}

.services .service-item.item-teal {
  border-bottom: 3px solid var(--accent-color);
}

.services .service-item.item-teal .icon {
  color: var(--accent-color);
  background: rgba(var(--accent-color-rgb), 0.12);
}

.services .service-item.item-teal .read-more {
  color: var(--accent-color);
}

.services .service-item.item-teal:hover {
  background: var(--accent-color);
}

.services .service-item.item-red {
  border-bottom: 3px solid var(--accent-color-dark);
}

.services .service-item.item-red .icon {
  color: var(--accent-color-dark);
  background: rgba(var(--accent-color-rgb), 0.08);
}

.services .service-item.item-red .read-more {
  color: var(--accent-color-dark);
}

.services .service-item.item-red:hover {
  background: var(--accent-color-dark);
}

.services .service-item.item-indigo {
  border-bottom: 3px solid var(--accent-color);
}

.services .service-item.item-indigo .icon {
  color: var(--accent-color);
  background: rgba(var(--accent-color-rgb), 0.1);
}

.services .service-item.item-indigo .read-more {
  color: var(--accent-color);
}

.services .service-item.item-indigo:hover {
  background: var(--accent-color);
}

.services .service-item.item-pink {
  border-bottom: 3px solid var(--accent-color-light);
}

.services .service-item.item-pink .icon {
  color: var(--accent-color-light);
  background: rgba(var(--accent-color-rgb), 0.15);
}

.services .service-item.item-pink .read-more {
  color: var(--accent-color-light);
}

.services .service-item.item-pink:hover {
  background: var(--accent-color-light);
}

.services .service-item:hover h3,
.services .service-item:hover p,
.services .service-item:hover .read-more {
  color: #fff;
}

.services .service-item:hover .icon {
  background: #fff;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-tem {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 40px 20px;
  text-align: center;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  height: 100%;
}

@media (min-width: 1200px) {
  .pricing .pricing-tem:hover {
    transform: scale(1.1);
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  }
}

.pricing h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
}

.pricing .price {
  font-size: 36px;
  color: var(--heading-color);
  font-weight: 600;
  font-family: var(--heading-font);
}

.pricing .price sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .price span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .icon {
  padding: 20px 0;
}

.pricing .icon i {
  font-size: 48px;
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: var(--default-color);
  text-align: center;
  line-height: 26px;
  font-size: 16px;
  margin-bottom: 25px;
}

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

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
  text-decoration: line-through;
}

.pricing .btn-buy {
  display: inline-block;
  padding: 8px 40px 10px 40px;
  border-radius: 50px;
  color: var(--accent-color);
  transition: none;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
  border: 1px solid var(--accent-color);
}

.pricing .btn-buy:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .featured {
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  position: relative;
  padding: 20px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: 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: 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);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 20px rgba(0, 0, 0, 0.1);
  box-sizing: content-box;
  padding: 30px;
  margin: 40px 30px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: 0.3s;
}

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

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

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  border: 4px solid var(--background-color);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  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;
}

.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 85%);
  opacity: 1;
}

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

.testimonials .swiper-slide {
  opacity: 0.3;
}

@media (max-width: 1199px) {
  .testimonials .swiper-slide-active {
    opacity: 1;
  }

  .testimonials .swiper-pagination {
    margin-top: 0;
  }

  .testimonials .testimonial-item {
    margin: 40px 20px;
  }
}

@media (min-width: 1200px) {
  .testimonials .swiper-slide-next {
    opacity: 1;
    transform: scale(1.12);
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  border-radius: 5px;
  transition: 0.3s;
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
}

.team .team-member .member-img:after {
  position: absolute;
  content: "";
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 100%;
  background-color: var(--surface-color);
  -webkit-mask: url("../img/team-shape.svg") no-repeat center bottom;
  mask: url("../img/team-shape.svg") no-repeat center bottom;
  -webkit-mask-size: contain;
  mask-size: contain;
  z-index: 1;
}

.team .team-member .social {
  position: absolute;
  right: -100%;
  top: 30px;
  opacity: 0;
  border-radius: 4px;
  transition: 0.5s;
  background: color-mix(in srgb, var(--background-color), transparent 60%);
  z-index: 2;
}

.team .team-member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin: 15px 12px;
  display: block;
  line-height: 0;
  text-align: center;
}

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

.team .team-member .social i {
  font-size: 18px;
}

.team .team-member .member-info {
  padding: 10px 15px 20px 15px;
}

.team .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
}

.team .team-member .member-info span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--accent-color);
  font-weight: 600;
}

.team .team-member .member-info p {
  font-style: italic;
  font-size: 14px;
  padding-top: 15px;
  line-height: 26px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.team .team-member:hover {
  transform: scale(1.08);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.team .team-member:hover .social {
  right: 8px;
  opacity: 1;
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients .swiper-slide img {
  transition: 0.3s;
  opacity: 0.5;
}

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

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

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

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

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

/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.recent-posts .post-item {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.recent-posts .post-item .post-img img {
  transition: 0.5s;
}

.recent-posts .post-item .post-date {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 500;
}

.recent-posts .post-item .post-content {
  padding: 30px;
}

.recent-posts .post-item .post-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  transition: 0.3s;
  margin-bottom: 15px;
}

.recent-posts .post-item .meta i {
  font-size: 16px;
  color: var(--accent-color);
}

.recent-posts .post-item .meta span {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.recent-posts .post-item hr {
  color: color-mix(in srgb, var(--default-color), transparent 80%);
  margin: 20px 0;
}

.recent-posts .post-item .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.recent-posts .post-item .readmore i {
  line-height: 0;
  margin-left: 6px;
  font-size: 16px;
}

.recent-posts .post-item:hover .post-title,
.recent-posts .post-item:hover .readmore {
  color: var(--accent-color);
}

.recent-posts .post-item:hover .post-img img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 30px;
}

.contact .info-item i {
  font-size: 38px;
  line-height: 0;
  color: var(--accent-color);
}

.contact .info-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

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

.contact .php-email-form {
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 30px;
  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] {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}

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

/* Contact section with hidden form - make info items centered */
.contact .row.gy-4 > .col-lg-6:only-child {
  max-width: 100%;
  flex: 0 0 100%;
}

.contact .row.gy-4 > .col-lg-6:only-child .row {
  justify-content: center;
}

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

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

.portfolio-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 {
  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 .service-box {
  background-color: var(--surface-color);
  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 {
  background-color: var(--surface-color);
}

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

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  padding: 60px 0;
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
}

.blog-posts .post-img {
  max-height: 440px;
  margin: -30px -30px 0 -30px;
  overflow: hidden;
}

.blog-posts .title {
  font-size: 24px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.blog-posts .title a:hover {
  color: var(--accent-color);
}

.blog-posts .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-posts .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-posts .meta-top ul li+li {
  padding-left: 20px;
}

.blog-posts .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-posts .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-posts .content {
  margin-top: 20px;
}

.blog-posts .content .read-more {
  text-align: right;
}

.blog-posts .content .read-more a {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 30px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 4px;
}

.blog-posts .content .read-more a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  padding-bottom: 30px;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-details .content {
  margin-top: 20px;
}

.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: inline;
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--default-color);
  content: ",";
}

.blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog-details .meta-bottom .share i {
  padding-left: 5px;
}

/*--------------------------------------------------------------
# Blog Author Section
--------------------------------------------------------------*/
.blog-author {
  padding: 10px 0 40px 0;
}

.blog-author .author-container {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-author img {
  max-width: 120px;
  margin-right: 20px;
}

.blog-author h4 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 0px;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog-author .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-right: 5px;
}

.blog-author p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
  padding: 10px 0;
}

.blog-comments .comments-count {
  font-weight: bold;
}

.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog-comments .comment .comment-img img {
  width: 60px;
}

.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--default-color);
  transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
  padding-left: 40px;
}

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
  font-weight: bold;
  font-size: 22px;
}

.comment-form form p {
  font-size: 14px;
}

.comment-form form input {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 10px;
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: none;
  border-color: var(--accent-color);
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
  height: 120px;
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
  margin-bottom: 25px;
}

.comment-form form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  background-color: var(--surface-color);
  padding: 30px;
  margin: 60px 0 30px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.widget-item {
  margin-bottom: 40px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding: 3px 10px;
  position: relative;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: var(--accent-color);
  color: var(--contrast-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget {
  margin-bottom: -10px;
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 1px solid var(--accent-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}
/*------
--------------------------------------------------------
# Mission & Vision Section
--------------------------------------------------------------*/
.mission-vision {
  padding: 60px 0;
}

.mission-vision .mission-box,
.mission-vision .vision-box {
  background: var(--surface-color);
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: var(--transition-normal);
}

.mission-vision .mission-box:hover,
.mission-vision .vision-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.mission-vision .icon-box {
  width: 100%;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
  padding: 0 20px;
  box-shadow: 0 4px 15px rgba(84, 103, 56, 0.2);
  position: relative;
  overflow: hidden;
}

.mission-vision .icon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
  pointer-events: none;
}

.mission-vision .icon-box i {
  font-size: 32px;
  color: #ffffff;
  z-index: 1;
}

.mission-vision h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.mission-vision p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--default-color);
  margin: 0;
}

/*--------------------------------------------------------------
# Stats Section Icon Colors
--------------------------------------------------------------*/
.stats .stats-item i {
  color: var(--accent-color);
  font-size: 42px;
  margin-right: 20px;
}

/*--------------------------------------------------------------
# Achievements Section
--------------------------------------------------------------*/
.achievements {
  padding: 60px 0;
}

.achievements .achievement-content {
  background: var(--surface-color);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.achievements .achievement-content .lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 20px;
}

.achievements .achievement-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--default-color);
  margin-bottom: 15px;
}

.achievements .achievement-item {
  background: var(--surface-color);
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.achievements .achievement-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-color);
}

.achievements .achievement-item .icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(84, 103, 56, 0.25);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.achievements .achievement-item .icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.15) 100%);
  pointer-events: none;
}

.achievements .achievement-item .icon i {
  font-size: 32px;
  color: #ffffff;
  z-index: 1;
}

.achievements .achievement-item h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading-color);
}

.achievements .achievement-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--default-color);
  margin: 0;
  flex-grow: 1;
}

/*--------------------------------------------------------------
# Contact Form Validation Styles
--------------------------------------------------------------*/
.php-email-form .form-control.is-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.php-email-form .form-control.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.php-email-form .form-control.is-valid {
  border-color: #28a745;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.php-email-form .form-control.is-valid:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

.php-email-form .invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

.php-email-form .form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

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

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

.php-email-form .loading {
  display: none;
  background: var(--accent-color);
  color: #ffffff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  border-radius: 4px;
}

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

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Contact Map Styles
--------------------------------------------------------------*/
.contact .map-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.contact .map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 8px;
  transition: var(--transition-normal);
}

.contact .map-container:hover iframe {
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
}

/* Responsive map */
@media (max-width: 768px) {
  .contact .map-container iframe {
    height: 300px;
  }
}

/* Testimonials Section - Brand Color Styling */
.testimonials .testimonial-item .stars i {
  color: var(--accent-color);
}

.testimonials .section-title h2 {
  color: var(--heading-color);
}

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

.testimonials .testimonial-item {
  border-top: 3px solid var(--accent-color);
}


/*--------------------------------------------------------------
# Enhanced Contact Section Styles
--------------------------------------------------------------*/

/* Contact Cards */
.contact-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-top-color: var(--accent-color);
}

.contact-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 20%));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
  transform: rotate(360deg) scale(1.1);
}

.contact-card-icon i {
  font-size: 32px;
  color: #fff;
}

.contact-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.contact-card p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 5px;
  color: var(--default-color);
}

.contact-card a {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-card a:hover {
  color: color-mix(in srgb, var(--accent-color), #000 20%);
  text-decoration: underline;
}

/* CTA Banner */
.contact-cta-banner {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 20%));
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.contact-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.contact-cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  z-index: 0;
}

.contact-cta-banner > .row {
  position: relative;
  z-index: 1;
}

.contact-cta-banner h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-cta-banner p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  margin-bottom: 0;
}

.btn-cta-white {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: var(--accent-color);
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #fff;
  margin: 0 5px;
}

.btn-cta-white:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0 5px;
}

.btn-cta-outline:hover {
  background: #fff;
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Map Wrapper */
.map-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-overlay {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 10;
  pointer-events: none;
}

.map-info-box {
  background: var(--surface-color);
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--accent-color);
}

.map-info-box h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.map-info-box h4 i {
  color: var(--accent-color);
}

.map-info-box p {
  font-size: 15px;
  color: var(--default-color);
  margin-bottom: 0;
  line-height: 1.6;
}

.map-wrapper iframe {
  border-radius: 16px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .contact-cta-banner {
    padding: 40px 30px;
    text-align: center;
  }

  .contact-cta-banner h3 {
    font-size: 24px;
  }

  .contact-cta-banner p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .contact-cta-banner {
    padding: 30px 20px;
    text-align: center;
  }

  .contact-cta-banner h3 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .contact-cta-banner p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .contact-cta-banner .col-lg-4 {
    text-align: center !important;
  }

  .btn-cta-white,
  .btn-cta-outline {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 12px auto;
    padding: 12px 24px;
    font-size: 14px;
  }

  .btn-cta-white {
    margin-bottom: 15px;
  }

  .btn-cta-outline {
    margin-top: 0;
  }

  .map-overlay {
    position: static;
    padding: 20px;
    pointer-events: auto;
  }

  .map-info-box {
    max-width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .contact-card {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

  .contact-card-icon {
    width: 60px;
    height: 60px;
  }

  .contact-card-icon i {
    font-size: 28px;
  }

  .contact-card h3 {
    font-size: 18px;
  }

  .contact-cta-banner {
    padding: 30px 20px;
  }

  .contact-cta-banner h3 {
    font-size: 20px;
  }

  .map-wrapper iframe {
    height: 350px !important;
  }
}


/*--------------------------------------------------------------
# Modern About Section with 3D Overlapping Images & Gradient Background
--------------------------------------------------------------*/

/* About Section Gradient Background */
.about-gradient {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 20%));
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* Decorative Background Elements */
.about-bg-decoration {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  z-index: 0;
}

.about-bg-decoration-2 {
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  z-index: 0;
}

/* Content Wrapper with Text Wrapping */
.about-content-wrapper {
  position: relative;
  z-index: 1;
}

/* Floating Images on the Right */
.about-images-float {
  float: right;
  width: 45%;
  margin: 0 0 30px 40px;
  position: relative;
  min-height: 500px;
}

/* Text Content that Wraps */
.about-text-content {
  position: relative;
  z-index: 2;
}

/* Override text colors for gradient background */
.about-gradient .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.about-gradient .section-title {
  color: #ffffff;
}

.about-gradient .section-description {
  color: rgba(255, 255, 255, 0.95);
}

.about-gradient .feature-content h4 {
  color: #ffffff;
}

.about-gradient .feature-content p {
  color: rgba(255, 255, 255, 0.9);
}

/* Section Badge */
.section-badge {
  display: inline-block;
  margin-bottom: 15px;
}

.badge-text {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Section Titles */
.section-subtitle {
  color: var(--accent-color);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.section-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--default-color);
  margin-bottom: 20px;
}

/* About Features */
.about-features {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  flex: 1;
  min-width: 200px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-icon i {
  font-size: 24px;
  color: #fff;
}

.feature-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--heading-color);
}

.feature-content p {
  font-size: 14px;
  color: var(--default-color);
  margin: 0;
}

/* 3D Overlapping Images Grid */
.about-images-wrapper {
  position: relative;
  padding: 40px 20px;
}

.about-image-grid {
  position: relative;
  width: 100%;
  height: 500px;
}

/* Floating Images Layout */
.about-images-float {
  position: relative;
}

.image-box {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.image-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  z-index: 10 !important;
}

.image-box:hover img {
  transform: scale(1.1);
}

/* Image Overlay */
.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-box:hover .image-overlay {
  opacity: 1;
}

.overlay-text {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Individual Image Positions - 3D Overlapping Effect */
.image-box-1 {
  width: 280px;
  height: 200px;
  top: 0;
  left: 0;
  z-index: 4;
  transform: rotate(-2deg);
}

.image-box-2 {
  width: 260px;
  height: 180px;
  top: 40px;
  right: 20px;
  z-index: 3;
  transform: rotate(3deg);
}

.image-box-3 {
  width: 240px;
  height: 170px;
  bottom: 80px;
  left: 40px;
  z-index: 2;
  transform: rotate(-3deg);
}

.image-box-4 {
  width: 220px;
  height: 160px;
  bottom: 0;
  right: 60px;
  z-index: 1;
  transform: rotate(2deg);
}

/* Floating Badge */
.floating-badge {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.badge-content {
  background: #fff;
  padding: 25px 35px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  text-align: center;
  border: 3px solid var(--accent-color);
  animation: float 3s ease-in-out infinite;
}

.badge-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 5px;
}

.badge-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Float Animation */
@keyframes float {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* Responsive Design */
@media (max-width: 991px) {
  .about-images-float {
    float: none;
    width: 100%;
    margin: 0 0 40px 0;
    min-height: 400px;
  }

  .about-image-grid {
    height: 400px;
    margin-top: 40px;
  }

  .image-box-1 {
    width: 220px;
    height: 160px;
  }

  .image-box-2 {
    width: 200px;
    height: 140px;
  }

  .image-box-3 {
    width: 180px;
    height: 130px;
  }

  .image-box-4 {
    width: 160px;
    height: 120px;
  }

  .section-title {
    font-size: 28px;
  }

  .about-features {
    flex-direction: column;
  }

  .about-gradient {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .about-images-float {
    min-height: 350px;
    margin-bottom: 30px;
  }

  .about-images-wrapper {
    padding: 20px 10px;
  }

  .about-image-grid {
    height: 350px;
  }

  .image-box-1 {
    width: 180px;
    height: 130px;
    left: 10px;
  }

  .image-box-2 {
    width: 160px;
    height: 120px;
    right: 10px;
  }

  .image-box-3 {
    width: 150px;
    height: 110px;
    left: 20px;
  }

  .image-box-4 {
    width: 140px;
    height: 100px;
    right: 30px;
  }

  .floating-badge {
    bottom: -20px;
  }

  .badge-content {
    padding: 20px 25px;
  }

  .badge-number {
    font-size: 28px;
  }

  .badge-label {
    font-size: 12px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-description {
    font-size: 15px;
  }

  .about-gradient {
    padding: 50px 0;
  }
}

@media (max-width: 576px) {
  .about-images-float {
    min-height: 300px;
  }

  .about-image-grid {
    height: 300px;
  }

  .image-box-1 {
    width: 140px;
    height: 100px;
  }

  .image-box-2 {
    width: 130px;
    height: 95px;
  }

  .image-box-3 {
    width: 120px;
    height: 90px;
  }

  .image-box-4 {
    width: 110px;
    height: 85px;
  }

  .about-gradient {
    padding: 40px 0;
  }
}


/* Fix for AOS not initializing - ensure content is visible */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

/* Service details page specific fixes */
.service-details .col-lg-8 {
  opacity: 1 !important;
  visibility: visible !important;
}

.service-details .service-section {
  opacity: 1 !important;
  visibility: visible !important;
}

/*--------------------------------------------------------------
# Service Page Specific Backgrounds
--------------------------------------------------------------*/
/* Construction Service Page */
body.service-construction .page-title {
  background: linear-gradient(rgba(var(--accent-color-rgb), 0.75), rgba(var(--accent-color-rgb), 0.85)), url('../img/service-construction-bg.jpg') center center;
  background-size: cover;
  background-attachment: fixed;
}

/* Infrastructure Service Page */
body.service-infrastructure .page-title {
  background: linear-gradient(rgba(var(--accent-color-rgb), 0.75), rgba(var(--accent-color-rgb), 0.85)), url('../img/service-infrastructure-bg.jpg') center center;
  background-size: cover;
  background-attachment: fixed;
}

/* Renewable Energy Service Page */
body.service-renewable-energy .page-title {
  background: linear-gradient(rgba(var(--accent-color-rgb), 0.75), rgba(var(--accent-color-rgb), 0.85)), url('../img/service-renewable-energy-bg.jpg') center center;
  background-size: cover;
  background-attachment: fixed;
}

/* Project Management Service Page */
body.service-project-management .page-title {
  background: linear-gradient(rgba(var(--accent-color-rgb), 0.75), rgba(var(--accent-color-rgb), 0.85)), url('../img/service-project-management-bg.jpg') center center;
  background-size: cover;
  background-attachment: fixed;
}

/* Maintenance Service Page */
body.service-maintenance .page-title {
  background: linear-gradient(rgba(var(--accent-color-rgb), 0.75), rgba(var(--accent-color-rgb), 0.85)), url('../img/service-maintenance-bg.jpg') center center;
  background-size: cover;
  background-attachment: fixed;
}

/* Innovation Service Page */
body.service-innovation .page-title {
  background: linear-gradient(rgba(var(--accent-color-rgb), 0.75), rgba(var(--accent-color-rgb), 0.85)), url('../img/service-innovation-bg.jpg') center center;
  background-size: cover;
  background-attachment: fixed;
}

/*--------------------------------------------------------------
# Modern Footer with Popup Background
--------------------------------------------------------------*/
.footer-modern {
  position: relative;
  padding: 80px 0 0;
  margin-top: 100px;
  overflow: hidden;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  z-index: 0;
}

.footer-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(var(--accent-color-rgb), 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(var(--accent-color-rgb), 0.08) 0%, transparent 50%);
  z-index: 1;
}

.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.02) 35px, rgba(255,255,255,.02) 70px);
  z-index: 2;
}

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

.footer-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 60px 50px 40px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(-50px);
  transition: all 0.3s ease;
}

.footer-card:hover {
  transform: translateY(-55px);
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Footer Widget Styles */
.footer-widget {
  color: rgba(255, 255, 255, 0.9);
}

.footer-logo img {
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.footer-logo:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(var(--accent-color-rgb), 0.5));
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-size: 15px;
}

.footer-widget-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
  border-radius: 2px;
}

/* Contact Info Items */
.footer-contact-info .contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.footer-contact-info .contact-item i {
  font-size: 20px;
  color: var(--accent-color);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-info .contact-item strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 5px;
}

.footer-contact-info .contact-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact-info .contact-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-contact-info .contact-item a:hover {
  color: var(--accent-color);
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.footer-links li a i {
  font-size: 18px;
  margin-right: 5px;
  transition: all 0.3s ease;
}

.footer-links li a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

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

/* Social Links */
.footer-social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social-links .social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-links .social-link:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--accent-color-rgb), 0.4);
}

/* Footer Badge */
.footer-badge {
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin: 5px 0;
}

.footer-bottom strong {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer-modern {
    margin-top: 30px;
    padding: 30px 0 0;
  }

  .footer-card {
    padding: 20px 15px 15px;
    border-radius: 15px;
    transform: translateY(-15px);
  }

  .footer-card:hover {
    transform: translateY(-17px);
  }

  .footer-widget {
    margin-bottom: 20px;
  }

  .footer-widget:last-child {
    margin-bottom: 0;
  }

  /* Compact logo */
  .footer-logo {
    margin-bottom: 10px !important;
  }

  .footer-logo img {
    max-height: 40px !important;
  }

  /* Compact description */
  .footer-description {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  /* Compact contact info */
  .footer-contact-info {
    margin-top: 15px !important;
  }

  .footer-contact-info .contact-item {
    margin-bottom: 8px;
    gap: 10px;
  }

  .footer-contact-info .contact-item:last-child {
    margin-bottom: 0;
  }

  .footer-contact-info .contact-item i {
    font-size: 18px;
    margin-top: 2px;
  }

  .footer-contact-info .contact-item strong {
    font-size: 14px;
    margin-bottom: 2px;
  }

  .footer-contact-info .contact-item p {
    font-size: 14px;
    line-height: 1.4;
  }

  /* Compact widget titles */
  .footer-widget-title {
    font-size: 17px;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }

  .footer-widget-title::after {
    width: 30px;
    height: 2px;
  }

  /* Compact links - minimal spacing */
  .footer-links li {
    margin-bottom: 4px;
  }

  .footer-links li:last-child {
    margin-bottom: 0;
  }

  .footer-links li a {
    font-size: 15px;
    padding: 2px 0;
  }

  .footer-links li a i {
    font-size: 16px;
    margin-right: 3px;
  }

  /* Compact social section */
  .footer-widget p {
    font-size: 14px;
    margin-bottom: 10px !important;
  }

  /* Compact social links */
  .footer-social-links {
    gap: 8px;
  }

  .footer-social-links .social-link {
    width: 42px;
    height: 42px;
    font-size: 17px;
    border-radius: 10px;
  }

  /* Compact badge */
  .footer-badge {
    padding: 10px;
    margin-top: 15px !important;
  }

  .footer-badge img {
    max-height: 45px !important;
  }

  /* Compact footer bottom */
  .footer-bottom {
    margin-top: 15px;
    padding-top: 15px;
  }

  .footer-bottom p {
    font-size: 13px;
    margin: 2px 0;
    line-height: 1.4;
  }

  .footer-bottom .col-md-6 {
    margin-bottom: 5px;
  }

  .footer-bottom .col-md-6:last-child {
    margin-bottom: 0;
  }
}

/*--------------------------------------------------------------
# Modern Mission & Vision Section
--------------------------------------------------------------*/
.mission-vision-modern {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.mission-vision-modern::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.05) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.section-title-modern h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
}

.section-title-modern p {
  font-size: 18px;
  color: #666;
  font-style: italic;
}

.mission-vision-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 35px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.mission-vision-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-icon-wrapper {
  position: relative;
  margin-bottom: 25px;
  display: inline-block;
}

.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.mission-vision-card:hover .card-icon {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 10px 30px rgba(var(--accent-color-rgb), 0.4);
}

.card-icon i {
  font-size: 36px;
  color: #ffffff;
  transition: all 0.3s ease;
}

.mission-vision-card:hover .card-icon i {
  transform: scale(1.1);
}

.icon-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  transition: all 0.4s ease;
}

.mission-vision-card:hover .icon-bg {
  width: 120px;
  height: 120px;
}

.card-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.card-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin: 0;
}

.card-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-color-light) 100%);
  transition: width 0.4s ease;
  border-radius: 0 4px 0 0;
}

.mission-vision-card:hover .card-accent {
  width: 100%;
}

/* Mission Card Specific */
.mission-card {
  border-top: 3px solid var(--accent-color);
}

/* Vision Card Specific */
.vision-card {
  border-top: 3px solid var(--accent-color-light);
}

.vision-card .card-icon {
  background: linear-gradient(135deg, var(--accent-color-light) 0%, var(--accent-color) 100%);
}

/* Responsive */
@media (max-width: 768px) {
  .section-title-modern h2 {
    font-size: 28px;
  }

  .section-title-modern p {
    font-size: 16px;
  }

  .mission-vision-card {
    padding: 30px 25px;
    border-radius: 15px;
  }

  .card-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
  }

  .card-icon i {
    font-size: 32px;
  }

  .card-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .card-content p {
    font-size: 15px;
    line-height: 1.7;
  }
}




/*--------------------------------------------------------------
# Artistic Contact Us Button - Global Style
--------------------------------------------------------------*/
.btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 40px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), #000 20%) 100%);
  border: 2px solid transparent;
  border-radius: 50px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(var(--accent-color-rgb), 0.35);
  z-index: 1;
}

/* Animated gradient overlay */
.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

/* Ripple effect background */
.btn-cta::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

/* Hover state */
.btn-cta:hover {
  color: #ffffff;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 35px rgba(var(--accent-color-rgb), 0.45);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-cta:hover::after {
  width: 300px;
  height: 300px;
}

/* Active/pressed state */
.btn-cta:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 6px 20px rgba(var(--accent-color-rgb), 0.4);
}

/* Icon animation */
.btn-cta span,
.btn-cta i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.btn-cta i {
  font-size: 18px;
}

.btn-cta:hover i {
  transform: translateX(5px);
}

/* Pulse animation on load */
@keyframes btn-pulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(var(--accent-color-rgb), 0.35);
  }
  50% {
    box-shadow: 0 8px 25px rgba(var(--accent-color-rgb), 0.55);
  }
}

.btn-cta.pulse {
  animation: btn-pulse 2s ease-in-out infinite;
}

/* Shimmer effect variant */
.btn-cta.shimmer::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 100%;
  }
}

/* Size variants */
.btn-cta.btn-lg {
  padding: 18px 50px;
  font-size: 18px;
  gap: 14px;
}

.btn-cta.btn-sm {
  padding: 12px 30px;
  font-size: 14px;
  gap: 8px;
}

/* Color variants */
.btn-cta.btn-light {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: var(--accent-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-cta.btn-light:hover {
  color: var(--accent-color);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.btn-cta.btn-outline {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  box-shadow: none;
}

.btn-cta.btn-outline:hover {
  background: var(--accent-color);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(var(--accent-color-rgb), 0.35);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .btn-cta {
    padding: 14px 32px;
    font-size: 15px;
    gap: 10px;
  }
  
  .btn-cta.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
  }
  
  .btn-cta.btn-sm {
    padding: 10px 24px;
    font-size: 13px;
  }
}

/* Focus state for accessibility */
.btn-cta:focus {
  outline: none;
  box-shadow: 0 8px 25px rgba(var(--accent-color-rgb), 0.35), 0 0 0 4px rgba(var(--accent-color-rgb), 0.2);
}

/* Disabled state */
.btn-cta:disabled,
.btn-cta.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-cta:disabled:hover,
.btn-cta.disabled:hover {
  transform: none;
  box-shadow: none;
}


/*--------------------------------------------------------------
# Map Button Below Map
--------------------------------------------------------------*/
.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--accent-color);
  color: #ffffff;
  padding: 16px 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
}

.map-button:hover {
  background: var(--accent-color-dark);
  color: #ffffff;
}

.map-button i {
  font-size: 20px;
}

.map-button i:last-child {
  font-size: 16px;
  margin-left: auto;
}

@media (max-width: 768px) {
  .map-button {
    padding: 14px 20px;
    font-size: 15px;
  }
}

/*--------------------------------------------------------------
# Mission & Vision Hero Section
--------------------------------------------------------------*/
.mission-vision-hero {
  padding: 0;
  overflow: hidden;
  position: relative;
  background: #f5f5f5;
}

.mission-vision-container {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 700px;
  max-width: 100%;
}

/* Background Pattern */
.background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(84, 103, 56, 0.3) 35px, rgba(84, 103, 56, 0.3) 70px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(84, 103, 56, 0.3) 35px, rgba(84, 103, 56, 0.3) 70px);
  pointer-events: none;
}

/* Content Wrapper */
.content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 120px;
  position: relative;
  z-index: 5;
  max-width: 60%;
  min-width: 60%;
}

/* Vision Block */
.vision-block {
  position: relative;
  background: var(--accent-color);
  color: white;
  padding: 50px 60px;
  margin-bottom: 20px;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  z-index: 2;
}

.vision-block h2 {
  color: white;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: var(--heading-font);
}

.vision-block p {
  color: white;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  text-align: justify;
}

/* Mission Block */
.mission-block {
  position: relative;
  background: rgba(84, 103, 56, 0.85);
  color: white;
  padding: 50px 60px;
  clip-path: none;
  z-index: 1;
}

.mission-block h2 {
  color: white;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
  font-family: var(--heading-font);
}

.mission-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mission-block ul li {
  color: white;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
}

.mission-block ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  font-size: 24px;
  color: white;
  font-weight: bold;
}

/* Geometric Overlays */
.geometric-overlay {
  position: absolute;
  pointer-events: none;
}

.vision-overlay {
  top: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.mission-overlay {
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
}

/* Person Image */
.person-image {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  max-width: 40%;
  min-width: 40%;
}

.person-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .content-wrapper {
    padding: 60px 40px 60px 100px;
  }
  
  .vision-block h2,
  .mission-block h2 {
    font-size: 36px;
  }
  
  .vision-block,
  .mission-block {
    padding: 40px 50px;
  }
}

@media (max-width: 992px) {
  .mission-vision-container {
    flex-direction: row;
    min-height: auto;
  }
  
  .content-wrapper {
    max-width: 65%;
    min-width: 65%;
    padding: 50px 30px 50px 60px;
  }
  
  .person-image {
    max-width: 35%;
    min-width: 35%;
    min-height: auto;
  }
  
  .vision-block {
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
    margin-bottom: 15px;
    padding: 35px 40px;
  }
  
  .mission-block {
    clip-path: none;
    padding: 35px 40px;
  }
  
  .vision-block h2,
  .mission-block h2 {
    font-size: 32px;
  }
  
}

@media (max-width: 768px) {
  .mission-vision-hero {
    padding: 0;
  }
  
  .mission-vision-container {
    min-height: auto;
    flex-direction: row;
  }
  
  .content-wrapper {
    padding: 40px 15px 40px 30px;
    max-width: 70%;
    min-width: 70%;
  }
  
  .person-image {
    max-width: 30%;
    min-width: 30%;
    min-height: auto;
  }
  
  .vision-block {
    padding: 30px 25px;
    margin-bottom: 12px;
    clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
  }
  
  .mission-block {
    padding: 30px 25px;
    clip-path: none;
  }
  
  .vision-block h2,
  .mission-block h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }
  
  .vision-block p {
    font-size: 13px;
    line-height: 1.6;
  }
  
  .mission-block ul li {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 10px;
    padding-left: 18px;
  }
  
  .mission-block ul li::before {
    font-size: 16px;
  }
  
  .person-image img {
    object-position: top center;
  }
  

  .geometric-overlay {
    display: none;
  }
}

@media (max-width: 576px) {
  .mission-vision-container {
    flex-direction: row;
  }
  
  .content-wrapper {
    padding: 30px 15px;
    max-width: 60%;
    min-width: 60%;
    order: 1;
  }
  
  .person-image {
    max-width: 40%;
    min-width: 40%;
    min-height: auto;
    order: 2;
  }
  
  .person-image img {
    object-fit: cover;
    object-position: center center;
    height: 100%;
  }
  
  .vision-block {
    padding: 25px 18px;
    margin-bottom: 10px;
    clip-path: none;
  }
  
  .mission-block {
    padding: 25px 18px;
    clip-path: none;
  }
  
  .vision-block h2,
  .mission-block h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }
  
  .vision-block p {
    font-size: 13px;
    line-height: 1.6;
  }
  
  .mission-block ul li {
    font-size: 13px;
    line-height: 1.6;
    padding-left: 22px;
    margin-bottom: 10px;
  }
  
  .mission-block ul li::before {
    font-size: 16px;
  }
}

/*--------------------------------------------------------------
# Services Modern Section - Split Screen Layout
# Updated: Alternating image layout with flex-direction
--------------------------------------------------------------*/
.services-modern {
  padding: 80px 0;
  background: var(--background-color);
}

.services-container {
  max-width: 100%;
  padding: 0;
}

.service-row {
  display: flex;
  align-items: center;
  min-height: 500px;
  margin-bottom: 0;
  position: relative;
}

.service-row:nth-child(odd) {
  background: #f9f9f9;
}

.service-content-side {
  flex: 1;
  padding: 80px 100px;
  position: relative;
  z-index: 2;
  min-width: 50%;
  order: 1;
}

.service-image-side {
  flex: 1;
  height: 500px;
  overflow: hidden;
  position: relative;
  min-width: 50%;
  order: 2;
}

/* Reverse order for alternating layout */
.service-row.reverse .service-content-side {
  order: 2;
}

.service-row.reverse .service-image-side {
  order: 1;
}

.service-number {
  font-size: 80px;
  font-weight: 700;
  color: rgba(84, 103, 56, 0.1);
  line-height: 1;
  margin-bottom: 20px;
  font-family: var(--heading-font);
}

.service-content-side h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-family: var(--heading-font);
}

.service-content-side p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--default-color);
  margin-bottom: 30px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 12px 30px;
  border: 2px solid var(--accent-color);
  border-radius: 4px;
}

.service-link:hover {
  background: var(--accent-color);
  color: white;
  gap: 15px;
}

.service-link i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(5px);
}

.service-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-row:hover .service-image-side img {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .service-content-side {
    padding: 60px 50px;
  }
  
  .service-content-side h3 {
    font-size: 32px;
  }
  
  .service-number {
    font-size: 70px;
  }
}

@media (max-width: 992px) {
  .service-row {
    flex-direction: column !important;
    min-height: auto;
  }
  
  /* Reset order for mobile - always show image first */
  .service-content-side,
  .service-row.reverse .service-content-side {
    order: 2;
    padding: 40px 40px;
    width: 100%;
    min-width: 100%;
  }
  
  .service-image-side,
  .service-row.reverse .service-image-side {
    order: 1;
    width: 100%;
    min-width: 100%;
    height: 350px;
  }
  
  .service-content-side h3 {
    font-size: 28px;
    margin-bottom: 18px;
  }
  
  .service-content-side p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
  }
  
  .service-number {
    font-size: 60px;
    margin-bottom: 15px;
  }
  
  .service-link {
    padding: 12px 28px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .services-modern {
    padding: 50px 0;
  }
  
  .service-row {
    margin-bottom: 0;
  }
  
  .service-content-side,
  .service-row.reverse .service-content-side {
    padding: 35px 30px;
  }
  
  .service-image-side,
  .service-row.reverse .service-image-side {
    height: 280px;
  }
  
  .service-content-side h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .service-content-side p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .service-number {
    font-size: 50px;
    margin-bottom: 12px;
  }
  
  .service-link {
    padding: 10px 24px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .services-modern {
    padding: 40px 0;
  }
  
  .service-content-side,
  .service-row.reverse .service-content-side {
    padding: 30px 20px;
  }
  
  .service-image-side,
  .service-row.reverse .service-image-side {
    height: 220px;
  }
  
  .service-content-side h3 {
    font-size: 22px;
    margin-bottom: 12px;
  }
  
  .service-content-side p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
  }
  
  .service-number {
    font-size: 45px;
    margin-bottom: 10px;
  }
  
  .service-link {
    padding: 10px 20px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }
}


/*--------------------------------------------------------------
# Projects Modern Section - Same as Services
--------------------------------------------------------------*/
.projects-modern {
  padding: 80px 0;
  background: var(--background-color);
}

.projects-container {
  max-width: 100%;
  padding: 0;
}

.project-row {
  display: flex;
  align-items: center;
  min-height: 500px;
  margin-bottom: 0;
  position: relative;
}

.project-row:nth-child(odd) {
  background: #f9f9f9;
}

.project-content-side {
  flex: 1;
  padding: 80px 100px;
  position: relative;
  z-index: 2;
  min-width: 50%;
  order: 1;
}

.project-image-side {
  flex: 1;
  height: 500px;
  overflow: hidden;
  position: relative;
  min-width: 50%;
  order: 2;
}

.project-row.reverse .project-content-side {
  order: 2;
}

.project-row.reverse .project-image-side {
  order: 1;
}

.project-number {
  font-size: 80px;
  font-weight: 700;
  color: rgba(84, 103, 56, 0.1);
  line-height: 1;
  margin-bottom: 20px;
  font-family: var(--heading-font);
}

.project-content-side h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-family: var(--heading-font);
}

.project-content-side p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--default-color);
  margin-bottom: 20px;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-size: 15px;
  margin-bottom: 30px;
}

.project-meta i {
  font-size: 18px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 12px 30px;
  border: 2px solid var(--accent-color);
  border-radius: 4px;
}

.project-link:hover {
  background: var(--accent-color);
  color: white;
  gap: 15px;
}

.project-link i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.project-link:hover i {
  transform: translateX(5px);
}

.project-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-row:hover .project-image-side img {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .project-content-side {
    padding: 60px 50px;
  }
  
  .project-content-side h3 {
    font-size: 32px;
  }
  
  .project-number {
    font-size: 70px;
  }
}

@media (max-width: 992px) {
  .project-row {
    flex-direction: column !important;
    min-height: auto;
  }
  
  .project-content-side,
  .project-row.reverse .project-content-side {
    order: 2;
    padding: 40px 40px;
    width: 100%;
    min-width: 100%;
  }
  
  .project-image-side,
  .project-row.reverse .project-image-side {
    order: 1;
    width: 100%;
    min-width: 100%;
    height: 350px;
  }
  
  .project-content-side h3 {
    font-size: 28px;
    margin-bottom: 18px;
  }
  
  .project-content-side p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
  }
  
  .project-number {
    font-size: 60px;
    margin-bottom: 15px;
  }
  
  .project-meta {
    margin-bottom: 25px;
  }
  
  .project-link {
    padding: 12px 28px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .projects-modern {
    padding: 50px 0;
  }
  
  .project-row {
    margin-bottom: 0;
  }
  
  .project-content-side,
  .project-row.reverse .project-content-side {
    padding: 35px 30px;
  }
  
  .project-image-side,
  .project-row.reverse .project-image-side {
    height: 280px;
  }
  
  .project-content-side h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .project-content-side p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .project-number {
    font-size: 50px;
    margin-bottom: 12px;
  }
  
  .project-meta {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .project-link {
    padding: 10px 24px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .projects-modern {
    padding: 40px 0;
  }
  
  .project-content-side,
  .project-row.reverse .project-content-side {
    padding: 30px 20px;
  }
  
  .project-image-side,
  .project-row.reverse .project-image-side {
    height: 220px;
  }
  
  .project-content-side h3 {
    font-size: 22px;
    margin-bottom: 12px;
  }
  
  .project-content-side p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
  }
  
  .project-number {
    font-size: 45px;
    margin-bottom: 10px;
  }
  
  .project-meta {
    font-size: 13px;
    margin-bottom: 18px;
  }
  
  .project-link {
    padding: 10px 20px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Modern Page Header - Clean Breadcrumb Only
--------------------------------------------------------------*/
.modern-page-header {
  padding: 130px 0 25px 0;
  background: linear-gradient(135deg, #546738 0%, #6b7f47 100%);
  border-bottom: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modern-breadcrumb {
  margin-bottom: 0;
}

.modern-breadcrumb ol {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  align-items: center;
  gap: 8px;
}

.modern-breadcrumb ol li {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.modern-breadcrumb ol li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.modern-breadcrumb ol li a:hover {
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.modern-breadcrumb ol li.current {
  color: #ffffff;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

.modern-breadcrumb ol li + li::before {
  content: "/";
  display: inline-block;
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.6);
}

.modern-page-title h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
  font-family: var(--heading-font);
  line-height: 1.2;
}

.modern-page-title p {
  font-size: 18px;
  color: var(--default-color);
  margin: 0;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 992px) {
  .modern-page-header {
    padding: 110px 0 22px 0;
  }
  
  .modern-breadcrumb ol li.current {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .modern-page-header {
    padding: 100px 0 20px 0;
  }
  
  .modern-breadcrumb ol {
    font-size: 13px;
  }
  
  .modern-breadcrumb ol li.current {
    max-width: 200px;
  }
}

@media (max-width: 576px) {
  .modern-page-header {
    padding: 90px 0 18px 0;
  }
  
  .modern-breadcrumb ol {
    font-size: 12px;
    gap: 6px;
  }
  
  .modern-breadcrumb ol li + li::before {
    margin: 0 6px;
  }
  
  .modern-breadcrumb ol li.current {
    max-width: 150px;
  }
}

/*--------------------------------------------------------------
# Secondary Color Utilities
--------------------------------------------------------------*/
.secondary-color {
  color: var(--secondary-color) !important;
}

.secondary-bg {
  background-color: var(--secondary-color) !important;
}

.secondary-border {
  border-color: var(--secondary-color) !important;
}

/* Secondary color accents for icons */
.icon-box i.secondary-accent {
  color: var(--secondary-color);
}

/* Secondary color for subtle borders */
.secondary-divider {
  border-top: 2px solid var(--secondary-color);
  opacity: 0.3;
}

/* Secondary color hover effects */
.secondary-hover:hover {
  color: var(--secondary-color) !important;
  transition: color 0.3s ease;
}

/* Stats counter with secondary color */
.stats .stats-item .purecounter.secondary-number {
  color: var(--secondary-color);
}

.purecounter::after {
  content: "+";
  display: inline-block;
}

/* Achievement cards with secondary accents */
.achievements .achievement-card .achievement-icon.secondary-icon {
  background: rgba(var(--secondary-color-rgb), 0.1);
  color: var(--secondary-color);
}

/* Section titles with secondary subtitle */
.section-title .subtitle-secondary {
  color: var(--secondary-color);
  font-weight: 600;
}

/*--------------------------------------------------------------
# Group Companies Section
--------------------------------------------------------------*/
.group-companies {
  padding: 80px 0;
}

.group-companies .section-title {
  margin-bottom: 60px;
}

.companies-horizontal {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 60px 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(84, 103, 56, 0.1);
}

.company-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 0 20px;
}

.company-logo-box {
  width: 280px;
  height: 280px;
  background: #ffffff;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  padding: 40px;
  border: 2px solid rgba(84, 103, 56, 0.08);
}

.company-item:hover .company-logo-box {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-color);
}

.company-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.company-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 120px;
}

.company-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  font-family: var(--heading-font);
  line-height: 1.3;
  min-height: 50px;
  display: flex;
  align-items: center;
}

.company-content .company-tagline {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.company-content .company-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(84, 103, 56, 0.1) 0%, rgba(84, 103, 56, 0.15) 100%);
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
  border: 1px solid rgba(84, 103, 56, 0.2);
  margin-top: 5px;
}

.company-content .company-badge i {
  font-size: 14px;
}

.company-content .company-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 25px;
  background: transparent;
  border: 1px solid transparent;
  margin-top: 5px;
}

.company-content .company-link:hover {
  gap: 10px;
  background: rgba(84, 103, 56, 0.05);
  border-color: rgba(84, 103, 56, 0.2);
}

.company-content .company-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.company-content .company-link:hover i {
  transform: translateX(4px);
}

.company-divider {
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(84, 103, 56, 0.15) 20%, rgba(84, 103, 56, 0.15) 80%, transparent);
  align-self: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .companies-horizontal {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 40px 30px;
  }
  
  .company-item {
    padding: 30px 20px;
  }
  
  .company-divider {
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(84, 103, 56, 0.15) 20%, rgba(84, 103, 56, 0.15) 80%, transparent);
    justify-self: center;
    margin: 10px 0;
  }
  
  .company-content {
    min-height: auto;
  }
  
  .company-content h3 {
    min-height: auto;
  }
  
  .company-logo-box {
    width: 200px;
    height: 200px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .group-companies {
    padding: 60px 0;
  }
  
  .companies-horizontal {
    padding: 30px 15px;
  }
  
  .company-item {
    padding: 25px 10px;
  }
  
  .company-logo-box {
    width: 160px;
    height: 160px;
    padding: 20px;
  }
  
  .company-content h3 {
    font-size: 17px;
  }
  
  .company-content .company-tagline {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .companies-horizontal {
    padding: 25px 10px;
  }
  
  .company-item {
    padding: 20px 5px;
  }
  
  .company-logo-box {
    width: 140px;
    height: 140px;
    padding: 15px;
  }
  
  .company-content h3 {
    font-size: 16px;
  }
  
  .company-content .company-badge,
  .company-content .company-link {
    font-size: 11px;
    padding: 6px 12px;
  }
}

/* RTL Support */
[dir="rtl"] .company-content .company-link:hover i {
  transform: translateX(-4px);
}
