: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: "Inter", sans-serif;
}

:root {
  --background-color: #ffffff;
  --default-color: #212529;
  --heading-color: #2d465e;
  --accent-color: #20b531;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

:root {
  --nav-color: #212529;
  --nav-hover-color: #20b531;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: #20b531;
}

.light-background {
  --background-color: #f9f7f3;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #20b531;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #2dce3f;
  --contrast-color: #ffffff;
}

:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling
--------------------------------------------------------------*/
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);
}

/*--------------------------------------------------------------
# WhatsApp Chat Widget - Enhanced
--------------------------------------------------------------*/
.whatsapp-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
}

.whatsapp-button {
  margin-right: -19px;
  margin-bottom: 39px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #20b531, #1a9c28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(32, 181, 49, 0.4);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 3px solid white;
}

.whatsapp-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.whatsapp-button:hover::before {
  transform: translateX(100%);
}

.whatsapp-button:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(32, 181, 49, 0.6);
}

.whatsapp-button i {
  font-size: 36px;
  color: white;
  transition: transform 0.3s ease;
}

.whatsapp-button:hover i {
  transform: scale(1.1);
}

.whatsapp-button .notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #FF4081;
  color: white;
  font-size: 12px;
  font-weight: bold;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  animation: ping 2s infinite;
}

.whatsapp-chat {
  position: absolute;
  bottom: 85px;
  right: 0;
  width: 350px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  padding: 0;
  display: none;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.whatsapp-chat.active {
  margin-bottom: 37px !important;
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.whatsapp-header {
  background: linear-gradient(135deg, #20b531, #1a9c28);
  color: white;
  padding: 20px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.whatsapp-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.whatsapp-header i {
  font-size: 28px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.whatsapp-header .header-content {
  flex: 1;
}

.whatsapp-header h4 {
  color: white;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.whatsapp-header .status {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.whatsapp-header .status-dot {
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse-status 2s infinite;
}

.whatsapp-messages {
  max-height: 300px;
  overflow-y: auto;
  padding: 20px;
  background: #f0f0f0;
  scrollbar-width: thin;
  scrollbar-color: #20b531 transparent;
}

.whatsapp-messages::-webkit-scrollbar {
  width: 6px;
}

.whatsapp-messages::-webkit-scrollbar-track {
  background: transparent;
}

.whatsapp-messages::-webkit-scrollbar-thumb {
  background: #20b531;
  border-radius: 10px;
}

.message {
  padding: 12px 16px;
  border-radius: 18px;
  margin-bottom: 12px;
  max-width: 85%;
  word-wrap: break-word;
  position: relative;
  animation: messageSlide 0.3s ease-out;
  line-height: 1.4;
}

.message.received {
  background: white;
  border-bottom-left-radius: 5px;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e5e5;
}

.message.sent {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border-bottom-right-radius: 5px;
  align-self: flex-end;
  margin-left: auto;
  box-shadow: 0 2px 8px rgba(32, 181, 49, 0.2);
  border: 1px solid #a5d6a7;
}

.message .time {
  font-size: 10px;
  opacity: 0.6;
  text-align: right;
  margin-top: 4px;
  display: block;
}

.whatsapp-input {
  display: flex;
  gap: 10px;
  padding: 15px;
  background: white;
  border-top: 1px solid #e5e5e5;
  align-items: center;
}

.whatsapp-input input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 25px;
  outline: none;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.whatsapp-input input:focus {
  border-color: #20b531;
  background: white;
  box-shadow: 0 0 0 3px rgba(32, 181, 49, 0.1);
}

.whatsapp-input button {
  background: linear-gradient(135deg, #20b531, #1a9c28);
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(32, 181, 49, 0.3);
}

.whatsapp-input button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(32, 181, 49, 0.4);
}

.whatsapp-input button:active {
  transform: scale(0.95);
}

.whatsapp-input button i {
  font-size: 18px;
}

/* Animations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(32, 181, 49, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(32, 181, 49, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(32, 181, 49, 0);
  }
}

@keyframes ping {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes pulse-status {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Floating animation for button */
.whatsapp-button.floating {
  animation: float 3s ease-in-out infinite;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  background: white;
  border-radius: 18px;
  border-bottom-left-radius: 5px;
  max-width: 70px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.typing-dot {
  width: 8px;
  height: 8px;
  background: #999;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Mobile Responsive */
@media (max-width: 576px) {
  .whatsapp-widget {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-button {
    width: 60px;
    height: 60px;
  }

  .whatsapp-button i {
    font-size: 32px;
  }

  .whatsapp-chat {
    width: 320px;
    right: -10px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .whatsapp-chat {
    background: #1e1e1e;
    border-color: #333;
  }

  .whatsapp-messages {
    background: #2d2d2d;
  }

  .message.received {
    background: #333;
    border-color: #444;
    color: white;
  }

  .whatsapp-input {
    background: #1e1e1e;
    border-top-color: #333;
  }

  .whatsapp-input input {
    background: #2d2d2d;
    border-color: #444;
    color: white;
  }

  .whatsapp-input input:focus {
    background: #333;
  }
}

/* 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 {
  --background-color: rgba(255, 255, 255, 0);
  color: var(--default-color);
  background-color: var(--background-color);
  transition: all 0.5s;
  z-index: 997;
  width: 100%;
}

.header .header-container {
  background: var(--surface-color);
  border-radius: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 10px 5%;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scrolled .header .header-container {
  background: color-mix(in srgb, var(--surface-color), transparent 5%);
}

.header .logo {
  line-height: 1;
  padding-left: 0;
  display: flex;
  align-items: center;
}

.header .logo img {
  max-height: 60px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 500;
  color: var(--heading-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  margin: 0 0 0 30px;
  border-radius: 8px;
  border: 2px solid var(--accent-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(32, 181, 49, 0.3);
}

.header .btn-getstarted::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.7s ease;
  z-index: -1;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), black 15%);
  border-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(32, 181, 49, 0.4);
}

.header .btn-getstarted:hover::before {
  left: 100%;
}

.header .btn-getstarted:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(32, 181, 49, 0.3);
}

/* Mobile view adjustments */
@media (max-width: 1200px) {
  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 6px;
  }
}

/* Small mobile devices */
@media (max-width: 576px) {
  .header .btn-getstarted {
    padding: 8px 16px;
    font-size: 12px;
    margin: 0 10px 0 0;
  }
}

/* Navigation Menu Styles */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
    margin: 0;
    flex-grow: 1;
    display: flex;
    justify-content: center;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    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);
  }
}

@media (max-width: 1199px) {
  .header .header-container {
    padding: 10px 15px;
  }

  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
}

/* Ensure proper layout for header elements */
@media (max-width: 1200px) {
  .header {
    padding-top: 10px;
  }

  .header .header-container {
    margin-left: 0;
    margin-right: 0;
    padding: 10px 15px;
    flex-wrap: nowrap;
  }

  .header .logo {
    order: 1;
    flex-shrink: 0;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 10px 0 0;
    padding: 6px 15px;
    border-radius: 0;
    flex-shrink: 0;
  }

  .header .navmenu {
    order: 3;
    flex-grow: 1;
    text-align: right;
  }

  .mobile-nav-toggle {
    order: 4;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
@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 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    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;
  }
}

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }
  .navmenu {
    padding: 0;
    z-index: 9997;
  }
  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }
  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }
  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }
  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }
  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }
  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }
  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }
  .mobile-nav-active {
    overflow: hidden;
  }
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }
  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }
  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  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: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 170px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Client Logo Slider Section
--------------------------------------------------------------*/
.clients {
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: hidden;
}

.clients .section-title {
  padding-bottom: 40px;
}

.clients .section-title h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.clients .section-title p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 1rem;
}

.clients-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.clients-track {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50%));
  }
}

.client-logo {
  flex-shrink: 0;
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-color);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 1;
  transition: all 0.4s ease;
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(32, 181, 49, 0.15);
  border-color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .clients {
    padding: 50px 0;
  }

  .clients-track {
    gap: 40px;
  }

  .client-logo {
    width: 150px;
    height: 80px;
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .clients {
    padding: 40px 0;
  }

  .clients .section-title h2 {
    font-size: 1.75rem;
  }

  .clients .section-title p {
    font-size: 0.9rem;
  }

  .clients-track {
    gap: 30px;
    animation-duration: 25s;
  }

  .client-logo {
    width: 120px;
    height: 70px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .clients-track {
    gap: 20px;
    animation-duration: 20s;
  }

  .client-logo {
    width: 100px;
    height: 60px;
    padding: 10px;
    border-radius: 8px;
  }
}

/* Pause animation when user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .clients-track {
    animation: none;
  }

  .clients-track:hover {
    animation-play-state: none;
  }
}

/*--------------------------------------------------------------
# Services Section - COLORFUL VERSION
--------------------------------------------------------------*/
.services {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f4f8 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(32, 181, 49, 0.03) 0%, transparent 70%);
  animation: rotate-bg 30s linear infinite;
}

@keyframes rotate-bg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.services .section-title {
  padding-bottom: 50px;
  position: relative;
  z-index: 1;
}

.services .section-title h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #2d465e, #20b531);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services .section-title p {
  color: #6c757d;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Base Service Card */
.service-card {
  background: var(--surface-color);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  transition: height 0.4s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 24px;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Service Icon Base */
.service-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.service-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.5); opacity: 0; }
}

.service-icon i {
  font-size: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(10deg);
}

.service-card:hover .service-icon i {
  color: inherit !important;
}

/* Service Title */
.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  transition: color 0.4s ease;
  position: relative;
  z-index: 2;
}

/* Service Description */
.service-description {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
  transition: color 0.4s ease;
}

/* Service Link */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
  padding: 12px 25px;
  border-radius: 50px;
  position: relative;
  z-index: 2;
}

.service-link i {
  font-size: 1.1rem;
  transition: transform 0.4s ease;
}

.service-link:hover i {
  transform: translateX(8px);
}

/* ========== COLORFUL SERVICE CARDS ========== */

/* Blue Card - Web Development */
.service-blue::before {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.service-blue::after {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(29, 78, 216, 0.08));
}

.service-blue .service-icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(29, 78, 216, 0.1));
}

.service-blue .service-icon::before {
  background: #3b82f6;
}

.service-blue .service-icon i {
  color: #3b82f6;
}

.service-blue:hover .service-icon {
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.service-blue:hover .service-title {
  color: inherit;
}

.service-blue .service-link {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

.service-blue .service-link:hover {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Purple Card - E-Commerce */
.service-purple::before {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.service-purple::after {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(109, 40, 217, 0.08));
}

.service-purple .service-icon {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(109, 40, 217, 0.1));
}

.service-purple .service-icon::before {
  background: #8b5cf6;
}

.service-purple .service-icon i {
  color: #8b5cf6;
}

.service-purple:hover .service-icon {
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.service-purple:hover .service-title {
  color: inherit;
}

.service-purple .service-link {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
}

.service-purple .service-link:hover {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: white;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Orange Card - SEO */
.service-orange::before {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.service-orange::after {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(234, 88, 12, 0.08));
}

.service-orange .service-icon {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(234, 88, 12, 0.1));
}

.service-orange .service-icon::before {
  background: #f97316;
}

.service-orange .service-icon i {
  color: #f97316;
}

.service-orange:hover .service-icon {
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
}

.service-orange:hover .service-title {
  color: inherit;
}

.service-orange .service-link {
  color: #f97316;
  background: rgba(249, 115, 22, 0.1);
}

.service-orange .service-link:hover {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

/* Pink Card - Digital Marketing */
.service-pink::before {
  background: linear-gradient(135deg, #ec4899, #db2777);
}

.service-pink::after {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.05), rgba(219, 39, 119, 0.08));
}

.service-pink .service-icon {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(219, 39, 119, 0.1));
}

.service-pink .service-icon::before {
  background: #ec4899;
}

.service-pink .service-icon i {
  color: #ec4899;
}

.service-pink:hover .service-icon {
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4);
}

.service-pink:hover .service-title {
  color: inherit;
}

.service-pink .service-link {
  color: #ec4899;
  background: rgba(236, 72, 153, 0.1);
}

.service-pink .service-link:hover {
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: white;
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

/* Cyan Card - Mobile Apps */
.service-cyan::before {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.service-cyan::after {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(8, 145, 178, 0.08));
}

.service-cyan .service-icon {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(8, 145, 178, 0.1));
}

.service-cyan .service-icon::before {
  background: #06b6d4;
}

.service-cyan .service-icon i {
  color: #06b6d4;
}

.service-cyan:hover .service-icon {
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

.service-cyan:hover .service-title {
  color: inherit;
}

.service-cyan .service-link {
  color: #06b6d4;
  background: rgba(6, 182, 212, 0.1);
}

.service-cyan .service-link:hover {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: white;
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

/* Red Card - Branding */
.service-red::before {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.service-red::after {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(220, 38, 38, 0.08));
}

.service-red .service-icon {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1));
}

.service-red .service-icon::before {
  background: #ef4444;
}

.service-red .service-icon i {
  color: #ef4444;
}

.service-red:hover .service-icon {
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

.service-red:hover .service-title {
  color: inherit;
}

.service-red .service-link {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.service-red .service-link:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

/* Hover text color change */
.service-card:hover .service-description {
  color: #4b5563;
}

/* Responsive Design */
@media (max-width: 992px) {
  .services {
    padding: 80px 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .services .section-title h2 {
    font-size: 2.2rem;
  }

  .service-card {
    padding: 35px 25px;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 60px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services .section-title h2 {
    font-size: 1.9rem;
  }

  .services .section-title p {
    font-size: 1rem;
  }

  .service-card {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .service-icon {
    width: 80px;
    height: 80px;
  }

  .service-icon i {
    font-size: 2rem;
  }

  .service-title {
    font-size: 1.3rem;
  }
}

/*--------------------------------------------------------------
# Popup Form Modal
--------------------------------------------------------------*/
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  background: white;
  border-radius: 24px;
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  position: relative;
}

.popup-overlay.active .popup-container {
  transform: scale(1) translateY(0);
}

.popup-header {
  background: linear-gradient(135deg, var(--accent-color), #1a9b2a);
  padding: 30px 30px 20px;
  text-align: center;
  position: relative;
  border-radius: 24px 24px 0 0;
}

.popup-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  animation: pulse-popup 2s ease-in-out infinite;
}

@keyframes pulse-popup {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.popup-icon i {
  font-size: 2rem;
  color: white;
}

.popup-header h3 {
  color: white;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.popup-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin: 0;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.popup-close i {
  color: white;
  font-size: 1.2rem;
}

.popup-form {
  padding: 30px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.form-group label i {
  color: var(--accent-color);
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background: white;
  box-shadow: 0 0 0 4px rgba(32, 181, 49, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #ef4444;
  background: #fef2f2;
}

.error-message {
  position: absolute;
  bottom: -22px;
  left: 0;
  font-size: 0.8rem;
  color: #ef4444;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-submit {
  width: 100%;
  padding: 16px 30px;
  background: linear-gradient(135deg, var(--accent-color), #1a9b2a);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(32, 181, 49, 0.3);
  margin-top: 10px;
}

.popup-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(32, 181, 49, 0.4);
}

.popup-submit:active {
  transform: translateY(-1px);
}

.popup-submit i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.popup-submit:hover i {
  transform: translateX(5px);
}

.popup-success {
  display: none;
  padding: 50px 30px;
  text-align: center;
}

.success-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #20b531, #1a9b2a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  animation: success-pop 0.5s ease-out;
}

@keyframes success-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-icon i {
  font-size: 3rem;
  color: white;
}

.popup-success h3 {
  font-size: 1.8rem;
  color: var(--heading-color);
  margin: 0 0 15px;
}

.popup-success p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 576px) {
  .popup-container {
    width: 95%;
    border-radius: 20px;
  }

  .popup-header {
    padding: 25px 20px 15px;
    border-radius: 20px 20px 0 0;
  }

  .popup-icon {
    width: 60px;
    height: 60px;
  }

  .popup-icon i {
    font-size: 1.5rem;
  }

  .popup-header h3 {
    font-size: 1.4rem;
  }

  .popup-header p {
    font-size: 0.9rem;
  }

  .popup-close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
  }

  .popup-form {
    padding: 25px 20px;
  }

  .form-group {
    margin-bottom: 18px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  .popup-submit {
    padding: 14px 25px;
    font-size: 1rem;
  }

  .popup-success {
    padding: 40px 20px;
  }

  .success-icon {
    width: 80px;
    height: 80px;
  }

  .success-icon i {
    font-size: 2.5rem;
  }

  .popup-success h3 {
    font-size: 1.5rem;
  }
}

/* Prevent scroll when popup is open */
body.popup-open {
  overflow: hidden;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  padding-top: 160px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 50%, color-mix(in srgb, var(--accent-color), transparent 98%) 25%, transparent 50%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--accent-color), transparent 92%), transparent 40%);
  pointer-events: none;
}

.hero .hero-content {
  position: relative;
  z-index: 1;
}

.hero .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero .hero-content h1 .accent-text {
  color: var(--accent-color);
}

@media (max-width: 992px) {
  .hero .hero-content {
    text-align: center;
    margin-bottom: 3rem;
  }
  .hero .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero .hero-content .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .hero .hero-content h1 {
    font-size: 2rem;
  }
}

.hero .company-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 50px;
  color: var(--accent-color);
  font-weight: 500;
}

.hero .company-badge i {
  font-size: 1.25rem;
}

.hero .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 0.75rem 2.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 20%);
  border-color: color-mix(in srgb, var(--accent-color), black 20%);
}

.hero .btn-link {
  color: var(--heading-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero .btn-link:hover {
  color: var(--accent-color);
}

.hero .btn-link i {
  font-size: 1.5rem;
  vertical-align: middle;
}

.hero .hero-image {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero .hero-image img {
  max-width: 100%;
  height: auto;
}

.hero .customers-badge {
  position: absolute;
  bottom: 10px;
  right: 30px;
  background-color: var(--surface-color);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  animation: float-badge 3s ease-in-out infinite;
  will-change: transform;
}

.hero .customers-badge .customer-avatars {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.hero .customers-badge .avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid var(--surface-color);
  margin-left: -8px;
}

.hero .customers-badge .avatar:first-child {
  margin-left: 0;
}

.hero .customers-badge .avatar.more {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.hero .customers-badge p {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

@media (max-width: 992px) {
  .hero .customers-badge {
    position: static;
    margin: 1rem auto;
    max-width: 250px;
  }
}

.hero .stats-row {
  position: relative;
  z-index: 1;
  margin-top: 5rem;
  background-color: var(--surface-color);
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding-bottom: 2rem;
}

.hero .stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
}

.hero .stat-item .stat-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 50px;
  transition: 0.3s;
}

.hero .stat-item .stat-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.hero .stat-item:hover .stat-icon {
  background-color: var(--accent-color);
}

.hero .stat-item:hover .stat-icon i {
  color: var(--contrast-color);
}

.hero .stat-item .stat-content {
  flex-grow: 1;
}

.hero .stat-item .stat-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.hero .stat-item .stat-content p {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}

@media (max-width: 575px) {
  .hero .stat-item {
    padding: 1.5rem;
  }
}

@keyframes float-badge {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .about-meta {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

.about .about-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}

@media (max-width: 992px) {
  .about .about-title {
    font-size: 2rem;
  }
}

.about .about-description {
  margin-bottom: 2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.about .feature-list-wrapper {
  margin-bottom: 2rem;
}

.about .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about .feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about .feature-list li i {
  color: var(--accent-color);
  font-size: 1.25rem;
}

.about .profile .profile-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.about .profile .profile-name {
  font-size: 1.125rem;
  margin: 0;
}

.about .profile .profile-position {
  color: var(--accent-color);
  margin: 0;
  font-size: 0.875rem;
}

.about .contact-info {
  padding: 1rem 1.5rem;
  background-color: var(--surface-color);
  border-radius: 0.5rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.06);
}

.about .contact-info i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.about .contact-info .contact-label {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.875rem;
  margin: 0;
}

.about .contact-info .contact-number {
  font-weight: 600;
  margin: 0;
}

.about .image-wrapper {
  position: relative;
}

@media (max-width: 992px) {
  .about .image-wrapper {
    padding-left: 0;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .about .image-wrapper .images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .about .image-wrapper .main-image {
    margin-left: 0;
  }
}

.about .image-wrapper .small-image {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 45%;
  border: 8px solid var(--surface-color);
}

@media (max-width: 992px) {
  .about .image-wrapper .small-image {
    position: static;
    width: 100%;
    margin: 0 auto;
    border: 0;
  }
}

.about .image-wrapper .experience-badge {
  position: absolute;
  bottom: 5%;
  right: 5%;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  min-width: 200px;
  animation: experience-float 3s ease-in-out infinite;
}

@media (max-width: 992px) {
  .about .image-wrapper .experience-badge {
    position: static;
    width: fit-content;
    margin: 0 auto;
  }
}

.about .image-wrapper .experience-badge h3 {
  color: var(--contrast-color);
  font-size: 2.5rem;
  margin: 0;
  line-height: 0.5;
}

.about .image-wrapper .experience-badge h3 span {
  font-size: 1rem;
  display: inline-block;
  margin-left: 0.25rem;
}

.about .image-wrapper .experience-badge p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}

@keyframes experience-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* ===================================
   Features Section
   =================================== */

.features {
    padding: 80px 20px;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Features Header */
.features-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.features-title {
    font-family: var(--heading-font);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.features-subtitle {
    font-family: var(--default-font);
    font-size: 1.125rem;
    color: #6c757d;
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.7;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Feature Card */
.feature-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 35px 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Green accent top border - always visible for instant visual interest */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(32, 181, 49, 0.15);
    border-color: var(--accent-color);
}

/* Feature Icon */
.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(32, 181, 49, 0.12), rgba(32, 181, 49, 0.08));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    background: var(--accent-color);
    transform: scale(1.1) rotate(5deg);
}

.feature-card:hover .feature-icon svg {
    stroke: #ffffff;
}

/* Feature Title */
.feature-title {
    font-family: var(--heading-font);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: var(--accent-color);
}

/* Feature Description */
.feature-description {
    font-family: var(--default-font);
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Feature Link */
.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--nav-font);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.feature-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.feature-link:hover {
    color: #1a8f26;
}

.feature-link:hover::after {
    width: 100%;
}

.feature-link .arrow {
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.feature-link:hover .arrow {
    transform: translateX(5px);
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .features {
        padding: 60px 30px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .features-title {
        font-size: 2.25rem;
    }

    .feature-card {
        padding: 30px 25px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
    .features {
        padding: 50px 20px;
    }

    .features-header {
        margin-bottom: 40px;
    }

    .features-title {
        font-size: 1.875rem;
    }

    .features-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }

    .feature-title {
        font-size: 1.25rem;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
    .features {
        padding: 40px 15px;
    }

    .features-title {
        font-size: 1.625rem;
    }

    .features-subtitle {
        font-size: 0.9375rem;
    }

    .feature-card {
        padding: 20px 18px;
    }
}

/* ===================================
   Animation Classes
   =================================== */

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Staggered Animation Delays */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Pulse Animation for Icons */
@keyframes feature-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.feature-card:hover .feature-icon {
    animation: feature-pulse 0.6s ease infinite;
}

/* ===================================
   Hover Overlay Effect
   =================================== */

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(32, 181, 49, 0.03), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}
