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

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #1a1f24; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #485664; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0ea2bd; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #485664;  /* The default color of the main navmenu links */
  --nav-hover-color: #0ea2bd; /* 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: #485664; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0ea2bd; /* 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: #eef0f2;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #3a4753;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #4f6171;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

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

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

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

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

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

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

/* 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: 60px; /* Increase the height as needed */
  width: auto;      /* Maintain aspect ratio */
  margin-right: 10px; /* Adjust spacing */
}

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

.header .logo span {
  color: var(--accent-color);
  font-weight: 400;
  font-size: 34px;
  margin-left: 2px;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 4px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

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

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

  .header .navmenu {
    order: 3;
  }
}

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

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

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

  .navmenu li {
    position: relative;
  }

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

  .navmenu>ul>li:last-child {
    padding-right: 30px;
    margin-right: 30px;
  }

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

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

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

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

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: 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;
  }
}



/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/

.footer {
  background-color: #081220; /* Dark background */
  color: #fff;
  padding: 40px 0;
}

.footer-container {
  max-width: 1100px; /* Keeps content centered */
  margin: 0 auto;
  padding: 0 20px;
}

/* Footer Layout */
.footer-row {
  display: flex;
  justify-content: space-between; /* Ensures perfect left-right alignment */
  align-items: center;
  width: 100%;
  padding-bottom: 10px; /* Adds spacing before the white line */
}

/* Contact Info */
.contact-info {
  flex: 1;
  text-align: left;
}

/* Map Styling */
.footer-map {
  flex: 1;
  display: flex;
  justify-content: flex-end; /* Aligns map perfectly to the right */
}

.footer-map iframe {
  width: 320px;
  height: 200px;
  border-radius: 8px;
}

/* White Line */
.white-line {
  width: 100%; /* Adjust line width */
  margin: 0 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

/* Copyright Text */
.copyright-text {
  text-align: left;
  font-size: 12px; /* Smaller font */
  color: #ccc;
  margin-top: 10px;
  max-width: 900px;
  margin-left: 10px;
  margin-right: auto;
}

.copyright-text p:first-child {
  font-size: 14px; /* Larger font size for the copyright line */
  font-weight: bold;
}

.copyright-text p:last-child {
  font-size: 12px; /* Smaller font size for company registration details */
}

.contact-info h4 {
  color: #fff !important; /* Forces white */
}




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

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

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



/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  background-color: rgb(4, 27, 97); /* Set royal blue background */
  color: white; /* Set text to white */
  padding: 20px 0; /* Add some vertical padding for better spacing */
}

.page-title h1,
.page-title .breadcrumbs a,
.page-title .breadcrumbs .current {
  color: white; /* Ensure all text and links in the section are white */
  font-weight: bold;
}

.page-title .breadcrumbs a:hover {
  text-decoration: underline; /* Optional: underline the links on hover */
}

.page-title .breadcrumbs a:hover {
  text-decoration: underline; /* Optional: underline the links on hover */
}

.page-title .breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.page-title .breadcrumbs ol li {
  color: white; /* Breadcrumb text color */
  font-size: 14px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding: 0 10px; /* Space around the separator */
  color: white; /* Separator color */
}

.page-title .breadcrumbs ol li a {
  color: white; /* Breadcrumb links color */
  text-decoration: none; /* Remove underline for links */
}

.page-title .breadcrumbs ol li a:hover {
  text-decoration: underline; /* Optional hover effect for links */
}

.page-title .breadcrumbs ol li.current {
  color: rgb(0, 255, 64); /* Current breadcrumb color */
  font-weight: bold; /* Highlight the current page */
}




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



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

.section-title h2 {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 15px;
}

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




#navmenu ul {
  display: flex;
  gap: 20px; /* Adjust spacing between items */
  list-style: none;
  padding: 0;
  margin: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 50vh;
  position: relative;
  padding: 120px 0 50px 0;
  display: flex;
  align-items: center;
  justify-content: center; /* Center content horizontally */
  background: url("../img/hero-bg.png") center center;
  background-size: cover;
  overflow: hidden; /* Ensure no overflow from animations */
}

.hero h1 {
  margin: 20px 0 10px 0; /* Adjust margin for alignment */
  font-size: 48px;
  font-weight: 300;
  text-align: center;
}

.hero h1 span {
  color: var(--accent-color);
}

.hero .text-container p {
  color: #a5c8d8;
  font-size: 18px;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 5px;
}


.hero .text-container {
  text-align: center;
  margin-top: 50px; /* Adds spacing between text and images */
}

.hero .text-container h1 {
  color: #66d4f2;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

.hero .image-container {
  position: relative;
  width: 100%;
  height: 450px;
}

/* Images */
.hero .image {
  position: absolute;
  opacity: 0;
  width: 290px; /* Adjust size of images */
  transition: transform 2s ease, opacity 1.5s ease;
}

#image1 { top: 50%; left: 5%; transform: translate(-200%, -50%); }
#image2 { top: 50%; left: 26%; transform: translate(-200%, -50%); }
#image3 { top: 50%; left: 47%; transform: translate(200%, -50%); }
#image4 { top: 50%; left: 68%; transform: translate(200%, -50%); }

/* Keyframes for bounce animation */
@keyframes bounce {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -55%) scale(1.1);
  }
}

/* Final Image with Bounce Animation */
.hero .final-image {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  width: 380px;
  transition: opacity 1.5s ease, transform 1.5s ease;
}

/* Add bounce when visible */
.hero .final-image.bounce {
  animation: bounce 8s ease infinite;
}

/* Hide other images on small screens */
@media (max-width: 768px) {
  #image1, #image2, #image3, #image4 {
    display: none !important;
  }

  /* Ensure hero section is a flex container */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers everything horizontally */
    justify-content: center; /* Centers everything vertically */
    text-align: center;
    min-height: 90vh; /* Ensure enough vertical space */
    padding: 20px;
  }

  /* Ensure text is centered */
  .hero .text-container {
    width: 90%;
    text-align: center;
    margin-bottom: 20px;
  }

  /* Center the final image */
  .hero .final-image {
    position: relative;
    display: block;
    margin: 0 auto; /* Ensures it's centered */
    width: 60%; /* Responsive size */
    max-width: 250px; /* Limits size */
  }
}


/*--------------------------------------------------------------
# Mobile Adjustments (Fix Text & Logo Positioning)
--------------------------------------------------------------*/

@media (max-width: 768px) {
  /* Hide floating images */
  #image1, #image2, #image3, #image4, .final-image {
    display: none !important;
  }

  /* Center the hero section text */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers content horizontally */
    justify-content: center; /* Centers content vertically */
    text-align: center;
    min-height: 90vh; /* Ensures enough height to stay centered */
    padding: 20px;
  }

  .hero .text-container {
    width: 90%;
    max-width: 600px; /* Prevents text from stretching too wide */
    text-align: center;
    margin: 0 auto; /* Ensures centering */
  }

  .hero h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
  }
}


@media (max-width: 1199px) {
  /* Ensure the mobile menu is hidden initially */
  .navmenu {
    position: fixed;
    top: 0;
    left: -100%; /* Start off-screen */
    width: 80%;
    height: 100vh;
    background-color: var(--nav-mobile-background-color);
    transition: left 0.3s ease-in-out;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  }

  /* Show menu when the body has the active class */
  body.mobile-nav-active .navmenu {
    left: 0 !important;
  }

  /* Fix hamburger icon */
  .mobile-nav-toggle {
    display: block;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 100000; /* Ensure visibility */
    font-size: 28px;
    cursor: pointer;
    color: var(--nav-color);
  }

  /* Ensure list items inside the menu are visible */
  .navmenu ul {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0;
    list-style: none;
  }

  .navmenu li {
    padding: 15px 0;
  }

  .navmenu a {
    font-size: 18px;
    color: var(--nav-color);
    text-align: center;
    width: 100%;
    padding: 10px 0;
    display: block;
  }

  /* Ensure mobile menu is visible when toggled */
  body.mobile-nav-active .navmenu ul {
    display: flex !important;
  }
}










/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services .service-item {
  padding: 50px 30px;
  transition: all ease-in-out 0.4s;
  height: 100%;
}

.featured-services .service-item .icon {
  margin-bottom: 10px;
}

.featured-services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: 0.3s;
}

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

.featured-services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

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

.featured-services .service-item:hover {
  transform: translateY(-10px);
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
}

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

.service-content {
  display: none;
}

.active-content {
  display: block;
}


.service-content.active-content {
  display: block; /* Show active content */
}

.services-list a.active {
  font-weight: bold;
  color: var(--accent-color); /* Highlight active link */
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .about-img {
  position: relative;
  margin: 60px 0 0 60px;
}

.about .about-img:before {
  position: absolute;
  inset: -60px 0 0 -60px;
  content: "";
  background: url("../img/about-bg.png") top left;
  background-repeat: no-repeat;
  z-index: 1;
}



.about .nav-pills {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.about .nav-pills li+li {
  margin-left: 40px;
}

.about .nav-link {
  background: none;
  font-size: 16px;
  font-weight: 400;
  color: var(--default-color);
  padding: 12px 0;
  margin-bottom: -2px;
  border-radius: 0;
}

.about .nav-link.active {
  color: var(--accent-color);
  background: none;
  border-bottom: 3px solid var(--accent-color);
}

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

.about h3 { font-size: 24px; text-align: left; display: flex; justify-content: center; align-items: center;
  padding: 0px;
}




/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .img {
  border-radius: 8px;
  overflow: hidden;
}

.services .img img {
  transition: 0.6s;
}

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

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

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

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

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

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

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

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



/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info {
  background-color: var(--surface-color); /* Background color */
  padding: 40px; /* Padding inside the box */
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  border-radius: 10px; /* Rounded corners */
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%); /* Subtle border */
  overflow: hidden; /* Prevent content overflow */
}

.contact .info h3 {
  font-weight: 600;
  font-size: 24px;
}

.contact .info p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 30px;
  font-size: 15px;
}

.contact .info-item+.info-item {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.contact .info-item i {
  font-size: 24px;
  color: var(--accent-color);
  transition: all 0.3s ease-in-out;
  margin-right: 20px;
}

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

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

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

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  border-radius: 0px;
  box-shadow: none;
  font-size: 14px;
  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],
.contact .php-email-form input[type=email] {
  height: 48px;
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 6px 12px;
}

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

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


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

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

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

.Prototype-to-Production .services-list a:hover {
  border-color: var(--accent-color);
}

.Prototype-to-Production .services-img {
  margin-bottom: 20px;
}

.Prototype-to-Production h3 {
  font-size: 26px;
  font-weight: 700;
}

.Prototype-to-Production h4 {
  font-size: 20px;
  font-weight: 700;
}

.Prototype-to-Production p {
  font-size: 15px;
}

.Prototype-to-Production ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.Prototype-to-Production ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

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

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

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

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

.Advanced-Mechanical-Design .services-list a:hover {
  border-color: var(--accent-color);
}

.Advanced-Mechanical-Design .services-img {
  margin-bottom: 20px;
}

.Advanced-Mechanical-Design h3 {
  font-size: 26px;
  font-weight: 700;
}

.Advanced-Mechanical-Design h4 {
  font-size: 20px;
  font-weight: 700;
}

.Advanced-Mechanical-Design p {
  font-size: 15px;
}

.Advanced-Mechanical-Design ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.Advanced-Mechanical-Design ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

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

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

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

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

.AI-Integration-Services .services-list a:hover {
  border-color: var(--accent-color);
}

.AI-Integration-Services .services-img {
  margin-bottom: 20px;
}

.AI-Integration-Services h3 {
  font-size: 26px;
  font-weight: 700;
}

.AI-Integration-Services h4 {
  font-size: 20px;
  font-weight: 700;
}

.AI-Integration-Services p {
  font-size: 15px;
}

.AI-Integration-Services ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.AI-Integration-Services ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

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

/*--------------------------------------------------------------
#Designing-Advanced-Control-Systems
--------------------------------------------------------------*/
.Designing-Advanced-Control-Systems .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

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

.Designing-Advanced-Control-Systems .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.Designing-Advanced-Control-Systems .services-list a:hover {
  border-color: var(--accent-color);
}

.Designing-Advanced-Control-Systems .services-img {
  margin-bottom: 20px;
}

.Designing-Advanced-Control-Systems h3 {
  font-size: 26px;
  font-weight: 700;
}

.Designing-Advanced-Control-Systems h4 {
  font-size: 20px;
  font-weight: 700;
}

.Designing-Advanced-Control-Systems p {
  font-size: 15px;
}

.Designing-Advanced-Control-Systems ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.Designing-Advanced-Control-Systems ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.Designing-Advanced-Control-Systems ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

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

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

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

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

.System-Simulation .services-img {
  margin-bottom: 20px;
}

.System-Simulation h3 {
  font-size: 26px;
  font-weight: 700;
}

.System-Simulation h4 {
  font-size: 20px;
  font-weight: 700;
}

.System-Simulation p {
  font-size: 15px;
}

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

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

.System-Simulation ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}
/*--------------------------------------------------------------
# Training-Consultancy Section
--------------------------------------------------------------*/
.Training-Consultancy .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

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

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

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

.Training-Consultancy .services-img {
  margin-bottom: 20px;
}

.Training-Consultancy h3 {
  font-size: 26px;
  font-weight: 700;
}

.Training-Consultancy h4 {
  font-size: 20px;
  font-weight: 700;
}

.Training-Consultancy p {
  font-size: 15px;
}

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

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

.Training-Consultancy ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}
/*--------------------------------------------------------------
# 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%;
  border-radius: 10px;
  overflow: hidden;
}

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

.blog-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

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

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

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

.blog-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.blog-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.blog-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}


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


/* Contact Form Box */
.contact-form-container {
  background-color: #f8f9fa; /* Light background */
  padding: 25px; /* Internal spacing */
  border-radius: 20px; /* Rounded edges */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  display: flex; /* Arrange elements horizontally */
  justify-content: space-between; /* Spread elements */
  align-items: flex-start; /* Align to the top */
  flex-wrap: wrap;
  max-width: 1200px; /* Adjust width */
  margin: 20px auto; /* Center the form */
  gap: 20px; /* Space between sections */
}

/* Left and Right Sections */
.contact-form-left {
  width: 30%; /* Adjust width */
  display: flex;
  flex-direction: column;
  gap: 12px; /* Space between fields */
}

.contact-form-right {
  width: 65%; /* Increase width for textarea */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Input Fields */
.contact-form-container input,
.contact-form-container textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
}

/* Textarea */
.contact-form-container textarea {
  height: 180px;
  resize: none;
}

/* Send Button */
.send-btn {
  width: 100%;
  padding: 12px;
  border: none;
  background-color: #0ea2bd; /* Accent color */
  color: white;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
  align-self: flex-end; /* Align button properly */
}

.send-btn:hover {
  background-color: #0c849a; /* Darker shade on hover */
}

#statusMessage {
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
}

/*--------------------------------------------------------------
# Enhanced Responsive Rules
--------------------------------------------------------------*/

/* Ensure general responsive images */
img {
  max-width: 100%;
  height: auto;
}

/* Typography adjustments for smaller screens */
@media (max-width: 992px) {
  .section-title h2 {
    font-size: 32px;
  }

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

@media (max-width: 768px) {
  h1, h2, h3, h4, h5, h6 {
    font-size: 80%;
  }
}

/* Header adjustments for small devices */
@media (max-width: 992px) {
  .header .logo img {
    max-height: 50px;
  }

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

  .header .btn-getstarted {
    padding: 5px 15px;
  }
}

/* Responsive Hero Section */
@media (max-width: 992px) {
  .hero {
    padding: 80px 0 30px 0;
  }

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

  .hero .text-container p {
    font-size: 16px;
  }

  .hero .image-container {
    height: auto;
  }

  .hero .image {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    transform: translate(0,0) !important;
    opacity: 1 !important;
  }

  .hero .final-image {
    position: relative;
    transform: scale(1) translate(-50%, 0);
    opacity: 1;
    top: 0;
    left: 50%;
    margin-bottom: 30px;
  }
}

/* Responsive Particle Animation (About Section) */
@media (max-width: 992px) {
  #particle-animation-container iframe {
    transform: scale(0.6);
    width: 100%;
    height: 400px;
  }
}

@media (max-width: 576px) {
  #particle-animation-container iframe {
    transform: scale(0.6);
    width: 400px;
    height: 300px;
    margin-left: -50px;
  }
}

/* Responsive Services Section */
@media (max-width: 992px) {
  .services .details {
    padding: 30px 15px;
    margin: -80px 15px 0 15px;
  }
}

/* Contact Form Responsiveness */
.contact-form-container {
  flex-direction: column;
  gap: 15px;
}

.contact-form-left, .contact-form-right {
  width: 100%;
}

.contact-form-right textarea {
  height: 150px;
}

.send-btn {
  width: 100%;
}

/* Footer Responsiveness */
@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    text-align: center;
  }

  .footer-map iframe {
    width: 100%;
    height: 180px;
  }

  .copyright-text {
    text-align: center;
    margin-left: 0;
  }
}

/* General image responsiveness improvement */
img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* Hide overflowing horizontal content on mobile */
body {
  overflow-x: hidden;
}

/* Responsive CAPTCHA Styling */
@media (max-width: 768px) {
  .g-recaptcha {
    transform: scale(0.8); /* Adjust scale to fit mobile screens */
    transform-origin: 0 0;
    -webkit-transform: scale(0.8);
    -webkit-transform-origin: 0 0;
  }

  .contact-form-container {
    display: flex;
    flex-direction: column;
  }

  .contact-form-left, .contact-form-container .contact-form-left input,
  .contact-form-container .contact-form-left,
  .contact-form-container .contact-form-left,
  .contact-form-container .contact-form-left input,
  .contact-form-container .contact-form-left input,
  .contact-form-container .contact-form-left,
  .contact-form-container .contact-form-right {
    width: 100%; /* Ensures full width for mobile screens */
    box-sizing: border-box;
  }

  .contact-form-left,
  .contact-form-right {
    padding: 5px 0;
  }

  .send-btn {
    width: 100%; /* Make button full width for better user experience */
  }
}
