/*--------------------------------------------------------------
# Font & Color Variables
# Prakash Ukhalkar
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

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

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #45505b;  /* The default color of the main navmenu links */
  --nav-hover-color: #0563bb; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0563bb; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@media (min-width: 992px) {

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

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

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

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

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

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

.footer h3 {
  font-size: 24px; /* Reduced font size */
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 10px 0; /* Reduced margin */
}

.footer p {
  font-size: 14px; /* Reduced font size */
  font-style: italic;
  padding: 0;
  margin: 0 0 20px 0; /* Reduced margin */
}

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

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

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

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

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

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

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

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

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

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

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

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

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  position: relative;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
}

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

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

.hero .social-links {
  margin-top: 25px;
}

.hero .social-links a {
  font-size: 20px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

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

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

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

/*--------------------------------------------------------------
# Index Page - Modern Hero & Highlights
--------------------------------------------------------------*/
.hero-section {
  background: linear-gradient(45deg, #f9faff, #eef2f7);
  padding: 100px 0;
}

.hero-section h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  color: var(--heading-color);
  text-align: inherit;
}

/* Responsive heading sizes */
@media (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 42px;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .hero-section h1 {
    font-size: 36px;
    text-align: center;
  }
}

.hero-section p {
  margin: 15px 0 25px 0;
  font-size: 22px;
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
}

.btn-view-profile {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 35px;
  border-radius: 50px;
  transition: 0.5s;
  color: var(--contrast-color);
  background: var(--accent-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-view-profile:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-tile {
  background: transparent;
  padding: 0;
  box-shadow: none;
  text-align: center;
}

.hero-image-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  padding: 7px;
  background: linear-gradient(45deg, var(--accent-color), #90c6fe);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.color-divider {
  height: 2px;
  width: 85%;
  max-width: 216px;
  margin: 1.5rem auto 1rem auto;
  border-radius: 2px;
  background: linear-gradient(to right, #90c6fe, var(--accent-color));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
}

.hero-tile .social-links a {
  color: var(--heading-color);
  background: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-size: 18px;
  transition: all 0.3s ease;
}

.hero-tile .social-links a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.index-page #highlights .highlight-card {
  background-color: var(--surface-color);
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  padding: 1.5rem;
}

.index-page #highlights .highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.index-page #highlights .highlight-card .card-title {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.index-page #highlights .highlight-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.index-page #highlights .highlight-card ul li {
  padding-left: 1.8rem;
  position: relative;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.index-page #highlights .highlight-card ul li::before {
  content: "\f26a"; /* Bootstrap Icons: check-circle */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.1rem;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.highlight-card ul {
  padding-left: 1rem;
  list-style: none;
}

.highlight-card ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.highlight-card ul li::before {
  content: "\f28a"; /* Bootstrap Icon check-circle-fill */
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.testimonials .testimonial-item p {
  font-style: italic;
}

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

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

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

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

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
  border-radius: 8px;
}

.contact .info-item {
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

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

.contact .info-item i {
  font-size: 24px;
  color: #149ddd;
  float: left;
  width: 44px;
  height: 44px;
  background: #eef7ff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

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

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

.contact .php-email-form {
  width: 100%;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
  border-radius: 8px;
}

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

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #df1529;
  text-align: left;
  padding: 15px;
  font-weight: 600;
  border-radius: 8px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #059652;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  border-radius: 8px;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
}

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

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #149ddd;
}

.contact .php-email-form input {
  height: 44px;
}

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

.contact .php-email-form button[type=submit] {
  background: #149ddd;
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #37b3ed;
}

.contact .info-wrap .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: #149ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-size: 18px;
  margin: 0 4px;
}

.contact .info-wrap .social-links a:hover {
  color: #149ddd;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: #fff;
}

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

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

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

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

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

@media (max-width: 575px) {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Tile Gradients for Profile Page */
.profile-page .work-exposure-section {
  perspective: 1500px;
}

.profile-page .card {
  border-radius: 15px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  overflow: hidden;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform-style: preserve-3d;
  position: relative;
}

.profile-page .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.profile-page .card:hover {
  transform: translateY(-10px) rotateY(8deg) scale(1.05);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.profile-page .card:hover::before {
  opacity: 1;
}

.profile-page .card .card-body {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.profile-page .card-title {
  font-weight: 700;
  font-size: 1.5rem;
}

.profile-page .card ul {
  padding-left: 0;
}

.profile-page .card ul li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  list-style-position: inside;
}

.profile-page .card .badge {
  font-size: 0.8rem;
  padding: 0.4em 0.6em;
}

.tile-bright-blue {
  background: linear-gradient(135deg, #64b5f6, #2196f3);
}
.tile-bright-cyan {
  background: linear-gradient(135deg, #4dd0e1, #00bcd4);
}
.tile-bright-green {
  background: linear-gradient(135deg, #81c784, #4caf50);
}
.tile-bright-purple {
  background: linear-gradient(135deg, #ba68c8, #9c27b0);
}
.tile-bright-purple-light {
  background: linear-gradient(135deg, #ce93d8, #ab47bc);
}

.tile-bright-orange {
  background: linear-gradient(135deg, #ffb74d, #ff9800);
}
.tile-bright-red {
  background: linear-gradient(135deg, #e57373, #f44336);
}
.tile-bright-yellow {
  background: linear-gradient(135deg, #fff176, #ffee58);
}
.tile-bright-pink {
  background: linear-gradient(135deg, #f06292, #e91e63);
}
.tile-dark-blue {
  background: linear-gradient(135deg, #7986cb, #3f51b5);
}

.tile-vibrant-purple {
  background: linear-gradient(135deg, #8e44ad, #c0392b);
}
.tile-vibrant-blue {
  background: linear-gradient(135deg, #2980b9, #2c3e50);
}
.tile-vibrant-green {
  background: linear-gradient(135deg, #27ae60, #16a085);
}

.profile-page .card .bi {
  transition: transform 0.3s ease;
}

.profile-page .card:hover .bi {
  transform: scale(1.15) rotate(-10deg);
}

/*--------------------------------------------------------------
# Course Page Tiles
--------------------------------------------------------------*/
.courses-container {
  perspective: 1000px;
}

.course-tile {
  background-color: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  overflow: hidden;
  position: relative;
  border-top: 5px solid transparent;
  transform-style: preserve-3d;
}

.course-tile:hover {
  transform: translateY(-10px) rotateY(5deg) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.course-tile .card-body {
  padding: 2rem 1.5rem;
  color: #495057;
  transform: translateZ(20px);
}

.course-tile .course-icon {
  font-size: 3.5rem !important;
  margin-bottom: 1.5rem;
  display: block;
  transition: transform 0.4s ease;
  transform: translateZ(40px);
}

.course-tile:hover .course-icon {
  transform: scale(1.1) rotate(-5deg) translateZ(50px);
}

.course-tile .card-title {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Course Tile Colors - Theme Aligned */
.course-tile.tile-theme-1 { background-color: #eef7ff; border-top-color: #0563bb; }
.course-tile.tile-theme-1 .course-icon { color: #0563bb; }
.course-tile.tile-theme-1:hover { box-shadow: 0 15px 35px rgba(5, 99, 187, 0.15); }

.course-tile.tile-theme-2 { background-color: #f8f9fa; border-top-color: #45505b; }
.course-tile.tile-theme-2 .course-icon { color: #45505b; }
.course-tile.tile-theme-2:hover { box-shadow: 0 15px 35px rgba(69, 80, 91, 0.15); }

.course-tile.tile-theme-3 { background-color: #eef7ff; border-top-color: #3b8ed8; }
.course-tile.tile-theme-3 .course-icon { color: #3b8ed8; }
.course-tile.tile-theme-3:hover { box-shadow: 0 15px 35px rgba(59, 142, 216, 0.15); }

.course-tile.tile-theme-4 { background-color: #f8f9fa; border-top-color: #6c757d; }
.course-tile.tile-theme-4 .course-icon { color: #6c757d; }
.course-tile.tile-theme-4:hover { box-shadow: 0 15px 35px rgba(108, 117, 125, 0.15); }

.course-tile.tile-theme-5 { background-color: #eef7ff; border-top-color: #6caee0; }
.course-tile.tile-theme-5 .course-icon { color: #6caee0; }
.course-tile.tile-theme-5:hover { box-shadow: 0 15px 35px rgba(108, 174, 224, 0.15); }

.course-tile.tile-theme-6 { background-color: #f8f9fa; border-top-color: #868e96; }
.course-tile.tile-theme-6 .course-icon { color: #868e96; }
.course-tile.tile-theme-6:hover { box-shadow: 0 15px 35px rgba(134, 142, 150, 0.15); }

.course-tile.tile-theme-7 { background-color: #eef7ff; border-top-color: #9ac8e8; }
.course-tile.tile-theme-7 .course-icon { color: #9ac8e8; }
.course-tile.tile-theme-7:hover { box-shadow: 0 15px 35px rgba(154, 200, 232, 0.15); }

.course-tile.tile-theme-8 { background-color: #f8f9fa; border-top-color: #a2a9b0; }
.course-tile.tile-theme-8 .course-icon { color: #a2a9b0; }
.course-tile.tile-theme-8:hover { box-shadow: 0 15px 35px rgba(162, 169, 176, 0.15); }

.course-tile.tile-theme-9 { background-color: #eef7ff; border-top-color: #c8e1f3; }
.course-tile.tile-theme-9 .course-icon { color: #c8e1f3; }
.course-tile.tile-theme-9:hover { box-shadow: 0 15px 35px rgba(200, 225, 243, 0.15); }


/*--------------------------------------------------------------
# Work Exposure Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Work Exposure Section
--------------------------------------------------------------*/
.work-exposure-container {
  margin: 0 auto;
}

.work-exposure-container .col-lg-6 {
  padding: 0 15px;
}

.work-exposure-container .card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-exposure-container .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.work-exposure-container .card .card-body {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.work-exposure-container .card h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.work-exposure-container .card p {
  margin-bottom: 0;
}

.work-exposure-container .card .btn {
  margin-top: 10px;
}

@media (min-width: 992px) {
  .work-exposure-container .col-lg-6:first-child {
    padding-right: 0;
  }
  .work-exposure-container .col-lg-6:last-child {
    padding-left: 0;
    margin-left: -30px;
    margin-top: 20px;
  }
  .work-exposure-container .card {
    border-radius: 15px;
  }
}

@media (max-width: 991.98px) {
  .work-exposure-container .col-lg-6:last-child {
    margin-top: 1.5rem;
  }
}

.custom-btn-style {
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.custom-btn-style:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card.active-tile {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 3px var(--accent-color);
}

@media (min-width: 992px) {
  .hero-tile-container {
    margin-top: -50px; /* Lifts the tile up on larger screens */
  }
}

@media (max-width: 991.98px) {
  .hero-section .container .row {
    flex-direction: column-reverse;
  }
  .hero-section .text-center.text-lg-start {
    text-align: center !important;
  }
  .hero-section .d-flex.justify-content-center.justify-content-lg-start {
    justify-content: center !important;
  }
  .hero-section .col-lg-5 {
    margin-bottom: 30px;
  }
}

/*--------------------------------------------------------------
# Work Exposure Section
--------------------------------------------------------------*/
@media (max-width: 767.98px) {
  .modal.fade.show {
    z-index: 99999 !important;
    display: block !important;
    opacity: 1 !important;
  }
}

.modal-body iframe {
  width: 100%;
  height: 80vh;
  border: 0;
}

/*--------------------------------------------------------------
# Gallery Page
--------------------------------------------------------------*/
.gallery .gallery-item {
  margin-bottom: 30px;
}

.gallery #gallery-flters {
  padding: 0;
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  background: var(--color-secondary);
  border-radius: 4px;
  padding: 10px 15px;
}

.gallery #gallery-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  margin: 0 4px 8px 4px;
  transition: 0.3s;
  border-radius: 4px;
  background: #455056;
}

.gallery #gallery-flters li:hover,
.gallery #gallery-flters li.filter-active {
  background: #149ddd;
}

.gallery .gallery-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
}

.gallery .gallery-wrap::before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}

.gallery .gallery-wrap .gallery-links {
  opacity: 0;
  left: 0;
  right: 0;
  top: calc(50% - 38px);
  text-align: center;
  z-index: 3;
  position: absolute;
  transition: all 0.3s ease-in-out;
}

.gallery .gallery-wrap .gallery-links a {
  color: #fff;
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.gallery .gallery-wrap .gallery-links a:hover {
  color: var(--accent-color);
}

.gallery .gallery-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.gallery .gallery-wrap:hover .gallery-links {
  opacity: 1;
}

.main {
  position: relative;
}

.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-title-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-title-photo {
    margin-top: 15px;
    width: 70px;
    height: 70px;
  }
}

/* Profile Page Title Section with Title on Left, Photo+Name on Right */
.title-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 0 10px;
  min-height: 80px;
  width: 100%;
  position: relative;
  padding-bottom: 30px;
}

.title-container .section-title {
  text-align: center;
  margin: 0;
  flex: 1;
  padding-bottom: 0;
  position: relative;
}

.title-container .section-title p {
  text-align: center;
  margin: 0;
  color: var(--default-color);
}

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

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

.title-container .section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 9%;
  transform: translateX(-50%);
  bottom: 0;
}

.profile-info-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-shrink: 0;
  min-height: 110px;
  width: auto;
  position: relative;
}

.profile-hero-image-wrapper {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, var(--accent-color), #90c6fe);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.profile-hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
}

.profile-name {
  margin: 0;
  padding: 0;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(15, 23, 31, 0.8);
  text-align: center;
  white-space: nowrap;
  display: block;
  line-height: 1.1;
  width: 100%;
  max-width: 120px;
  position: relative;
  z-index: 2;
  margin-top: 4px;
}

.profile-hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
}

/* Responsive design for tablets */
@media (max-width: 992px) {
  .title-container {
    gap: 20px;
    padding: 0 5px;
    padding-bottom: 50px;
  }
  
  .title-container .section-title h2 {
    font-size: 28px;
  }
  
  .profile-info-wrapper {
    min-height: 90px;
  }
  
  .profile-hero-image-wrapper {
    width: 65px;
    height: 65px;
  }
  
  .profile-name {
    font-size: 0.8rem;
    max-width: 100px;
  }
}

/* Responsive design for mobile devices */
@media (max-width: 768px) {
  .title-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 15px 10px;
    padding-bottom: 40px;
    align-items: center;
  }
  
  .title-container .section-title {
    text-align: center;
    order: 1;
  }
  
  .title-container .section-title h2 {
    font-size: 24px;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
  
  .title-container .section-title h2:before {
    width: 120px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .title-container .section-title h2::after {
    width: 45px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .profile-info-wrapper {
    order: 2;
    min-height: 85px;
    gap: 5px;
  }
  
  .profile-hero-image-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 1px;
  }
  
  .profile-name {
    font-size: 0.85rem;
    max-width: 90px;
  }
}

@media (max-width: 576px) {
  .title-container {
    gap: 15px;
    padding: 12px 5px;
    padding-bottom: 35px;
  }
  
  .title-container .section-title h2 {
    font-size: 20px;
  }
  
  .profile-info-wrapper {
    min-height: 75px;
    gap: 4px;
  }
  
  .profile-hero-image-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 1px;
  }
  
  .profile-name {
    font-size: 0.75rem;
    max-width: 80px;
  }
}

/* General Card & Tile Styles */
.card[class*="tile-"] {
  border: none;
  border-radius: 15px;
  color: #fff;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card[class*="tile-"]:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card[class*="tile-"] .card-body {
  padding: 1rem;
}

.card[class*="tile-"] .card-title {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.card[class*="tile-"] .card-title i {
  font-size: 1.8rem;
  margin-right: 0.75rem;
  opacity: 0.8;
}

.card[class*="tile-"] ul {
  list-style: none;
  padding-left: 0;
}

.card[class*="tile-"] ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.card[class*="tile-"] ul li .bi {
  margin-top: 0.1em;
  flex-shrink: 0;
}

/* Gradient Tile Backgrounds */
.tile-bright-cyan { background-image: linear-gradient(135deg, #00A7B5, #007C86); }
.tile-bright-green { background-image: linear-gradient(135deg, #4CAF50, #388E3C); }
.tile-bright-purple { background-image: linear-gradient(135deg, #8E44AD, #6C3483); }
.tile-vibrant-blue { background-image: linear-gradient(135deg, #3498DB, #2980B9); }
.tile-vibrant-green { background-image: linear-gradient(135deg, #2ECC71, #27AE60); }
.tile-bright-pink { background-image: linear-gradient(135deg, #E91E63, #C2185B); }

/* Profile Page Specifics */
.roles-responsibilities-section {
  padding: 40px 0;
}

.profile-info-section .section-title h2,
.roles-responsibilities-section .section-title h2 {
  text-align: center;
  margin-bottom: 30px;
}

/* Ensure card body stretches */
.d-flex.align-items-stretch .card {
    display: flex;
    flex-direction: column;
}

.d-flex.align-items-stretch .card .card-body {
    flex-grow: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .card.tile .card-title {
    font-size: 1.3rem;
  }
  .card.tile .card-title i {
    font-size: 1.6rem;
  }
}

/* Fallback for older browsers */
.tile-bright-cyan { background-color: #008C97; }
.tile-bright-green { background-color: #43A047; }
.tile-bright-purple { background-color: #7B3C95; }
.tile-vibrant-blue { background-color: #2E8BC0; }
.tile-vibrant-green { background-color: #29B864; }
.tile-bright-pink { background-color: #D81B60; }

/*--------------------------------------------------------------
# Animated Text Effects
--------------------------------------------------------------*/

/* Animated Tagline Container */
.animated-tagline {
  line-height: 1.3;
  min-height: 50px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  font-family: 'Raleway', 'Inter', 'Segoe UI', sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin: 0.5rem 0;
}

.text-lg-start .animated-tagline {
  justify-content: flex-start;
}

/* Animated Words */
.animated-word {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  animation: professionalFadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  margin-right: 0.3em;
  display: inline-block;
  color: #334155;
  font-weight: 500;
  position: relative;
  font-style: italic;
  vertical-align: baseline;
}

.animated-word[data-delay="0"] { animation-delay: 0.4s; }
.animated-word[data-delay="1"] { animation-delay: 0.7s; }
.animated-word[data-delay="2"] { animation-delay: 1.0s; }
.animated-word[data-delay="3"] { animation-delay: 1.3s; }

/* Typed Container Styling */
.typed-container {
  margin-top: 0;
  margin-left: 0;
  animation: professionalFadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 1.6s;
  opacity: 0;
  font-weight: 600;
  position: relative;
  display: inline-block;
  vertical-align: baseline;
}

/* Enhanced Typed Text Styling */
.typed {
  color: #0563bb;
  position: relative;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-style: italic;
  vertical-align: baseline;
  text-decoration: underline;
  text-decoration-color: rgba(5, 99, 187, 0.3);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.typed-cursor {
  color: #0563bb;
  font-weight: 600;
  animation: professionalBlink 1.2s infinite;
  vertical-align: baseline;
}

/* Simplified Professional Animation Keyframes */
@keyframes professionalFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes professionalBlink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

/* Subtle hover effects for animated words */
.animated-word:hover {
  transform: translateY(-1px);
  transition: all 0.2s ease;
  color: #1e293b;
}

/* Responsive adjustments for animated text */
@media (max-width: 991.98px) {
  .animated-tagline {
    font-size: 18px;
    line-height: 1.4;
    min-height: 45px;
    margin: 0.3rem 0;
    text-align: center;
    justify-content: center;
  }
  
  .text-lg-start .animated-tagline {
    text-align: center;
    justify-content: center;
  }
  
  .animated-word {
    margin-right: 0.25em;
    font-size: 18px;
    font-weight: 500;
  }
  
  .typed-container {
    text-align: center;
    width: 100%;
    margin-top: 0;
  }
  
  .typed {
    font-size: 18px;
    font-weight: 600;
  }
}

@media (max-width: 575.98px) {
  .animated-tagline {
    font-size: 16px;
    min-height: 40px;
    margin: 0.2rem 0;
    text-align: center;
    justify-content: center;
  }
  
  .text-lg-start .animated-tagline {
    text-align: center;
    justify-content: center;
  }
  
  .animated-word {
    font-size: 16px;
    margin-right: 0.2em;
    font-weight: 500;
  }
  
  .typed {
    font-size: 16px;
    font-weight: 600;
  }
}
  
  .typed {
    font-size: 18px;
    font-weight: 600;
  }


/*--------------------------------------------------------------
# Professional Highlights Compact (Hero Section)
--------------------------------------------------------------*/

/* Consistent text alignment across devices */
.hero-section .text-center.text-lg-start h1,
.hero-section .text-center.text-lg-start .animated-tagline,
.hero-section .text-center.text-lg-start .d-flex {
  text-align: center;
}

@media (min-width: 992px) {
  .hero-section .text-center.text-lg-start h1,
  .hero-section .text-center.text-lg-start .animated-tagline {
    text-align: left;
  }
}

.professional-highlights-compact {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  padding: 8px;
}

.professional-highlights-compact::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  background: linear-gradient(-45deg, 
    rgba(5, 99, 187, 0.02), 
    rgba(99, 179, 237, 0.03), 
    rgba(5, 99, 187, 0.02), 
    rgba(147, 197, 253, 0.04)
  );
  background-size: 400% 400%;
  animation: enhancedGradientShift 20s ease infinite;
  border-radius: 24px;
  pointer-events: none;
  z-index: -1;
  filter: blur(0.5px);
}

@keyframes enhancedGradientShift {
  0% { 
    background-position: 0% 50%;
    transform: scale(1) rotate(0deg);
  }
  25% { 
    background-position: 100% 50%;
    transform: scale(1.01) rotate(0.5deg);
  }
  50% { 
    background-position: 100% 100%;
    transform: scale(1) rotate(0deg);
  }
  75% { 
    background-position: 0% 100%;
    transform: scale(1.01) rotate(-0.5deg);
  }
  100% { 
    background-position: 0% 50%;
    transform: scale(1) rotate(0deg);
  }
}

.text-lg-start .professional-highlights-compact {
  margin: 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
  padding: 4px;
}

/* Enhanced icon styling within highlight items */
.highlight-item i {
  margin-right: 10px;
  font-size: 14px;
  color: #3b82f6;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(59, 130, 246, 0.3));
  transition: all 0.3s ease;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}

.highlight-item:hover i {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.4));
}

/* Enhanced text styling with better readability and overflow handling */
.highlight-item span {
  font-weight: 700;
  background: linear-gradient(135deg, #1e293b, #334155);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.highlight-item:hover span {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced mobile responsiveness */
@media (max-width: 991.98px) {
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }
  
  .highlight-item {
    font-size: 13px;
    padding: 14px 18px;
  }
  
  .highlight-item i {
    font-size: 13px;
    margin-right: 8px;
    width: 13px;
  }
  
  .professional-highlights-compact {
    max-width: 100%;
    padding: 4px;
  }
}

.highlight-item {
  display: flex;
  align-items: center;
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.95) 0%,
      rgba(248, 250, 252, 0.9) 50%,
      rgba(241, 245, 249, 0.85) 100%
    );
  border: 1px solid rgba(5, 99, 187, 0.15);
  border-radius: 16px;
  padding: 14px 18px;
  min-height: 52px;
  height: 52px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.2;
  color: #334155;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px) scale(0.9) rotateX(15deg);
  animation: enhancedHighlightEntrance 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  box-shadow: 
    0 4px 20px rgba(5, 99, 187, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(5, 99, 187, 0.05);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Ensure consistent grid item heights */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
  padding: 4px;
  align-items: stretch;
}

/* Handle very long text gracefully */
.highlight-item {
  max-width: 100%;
  box-sizing: border-box;
}

.highlight-item span {
  max-width: calc(100% - 30px); /* Account for icon space */
}

/* Staggered entrance animations for each item */
.highlight-item:nth-child(1) { animation-delay: 0.3s; }
.highlight-item:nth-child(2) { animation-delay: 0.45s; }
.highlight-item:nth-child(3) { animation-delay: 0.6s; }
.highlight-item:nth-child(4) { animation-delay: 0.75s; }
.highlight-item:nth-child(5) { animation-delay: 0.9s; }
.highlight-item:nth-child(6) { animation-delay: 1.05s; }
.highlight-item:nth-child(7) { animation-delay: 1.2s; }
.highlight-item:nth-child(8) { animation-delay: 1.35s; }

.highlight-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, 
    transparent, 
    rgba(255, 255, 255, 0.1), 
    rgba(5, 99, 187, 0.2), 
    rgba(255, 255, 255, 0.1), 
    transparent
  );
  transform: rotate(45deg) translateX(-200%);
  animation: 
    synchronizedShine 8s ease-in-out infinite,
    highlightShineSequence 24s linear infinite;
  pointer-events: none;
  border-radius: inherit;
}

.highlight-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(5, 99, 187, 0.08) 0%, transparent 70%);
  animation: synchronizedPulse 4s ease-in-out infinite alternate;
  pointer-events: none;
  border-radius: inherit;
}

/* Corner Shine Effects - Elegant Glow Animation */
.highlight-item .corner-spark-tl,
.highlight-item .corner-spark-tr,
.highlight-item .corner-spark-bl,
.highlight-item .corner-spark-br {
  position: absolute;
  pointer-events: none;
}

.highlight-item .corner-spark-tl {
  top: -6px;
  left: -6px;
  width: 12px;
  height: 12px;
  background: 
    radial-gradient(circle at center, 
      rgba(255, 255, 255, 0.9) 0%, 
      rgba(5, 99, 187, 0.6) 40%, 
      transparent 70%);
  border-radius: 50%;
  animation: cornerShine-tl 8s ease-in-out infinite;
  transform: scale(0);
  filter: blur(1px);
}

.highlight-item .corner-spark-br {
  bottom: -6px;
  right: -6px;
  width: 14px;
  height: 14px;
  background: 
    radial-gradient(circle at center, 
      rgba(255, 255, 255, 0.8) 0%, 
      rgba(5, 99, 187, 0.7) 35%, 
      transparent 65%);
  border-radius: 50%;
  animation: cornerShine-br 8s ease-in-out infinite;
  transform: scale(0);
  filter: blur(1px);
}

/* Corner Shine Animation Keyframes */
@keyframes cornerShine-tl {
  0%, 15% { 
    transform: scale(0);
    opacity: 0;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  20% { 
    transform: scale(0.8);
    opacity: 0.7;
    box-shadow: 
      0 0 8px rgba(255, 255, 255, 0.8),
      0 0 16px rgba(5, 99, 187, 0.4),
      0 0 24px rgba(255, 255, 255, 0.2);
  }
  25% { 
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 
      0 0 12px rgba(255, 255, 255, 1),
      0 0 24px rgba(5, 99, 187, 0.6),
      0 0 36px rgba(255, 255, 255, 0.3);
  }
  30%, 100% { 
    transform: scale(0);
    opacity: 0;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes cornerShine-br {
  0%, 20% { 
    transform: scale(0);
    opacity: 0;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  25% { 
    transform: scale(0.8);
    opacity: 0.7;
    box-shadow: 
      0 0 10px rgba(255, 255, 255, 0.9),
      0 0 20px rgba(5, 99, 187, 0.5),
      0 0 30px rgba(255, 255, 255, 0.25);
  }
  30% { 
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 
      0 0 15px rgba(255, 255, 255, 1),
      0 0 30px rgba(5, 99, 187, 0.7),
      0 0 45px rgba(255, 255, 255, 0.35);
  }
  35%, 100% { 
    transform: scale(0);
    opacity: 0;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Removed sparkle trails to focus on corner shine effects only */

/* Individual shine delays for sequential effect */
.highlight-item:nth-child(1)::before { animation-delay: 0s, 0s; }
.highlight-item:nth-child(2)::before { animation-delay: 0.5s, 3s; }
.highlight-item:nth-child(3)::before { animation-delay: 1s, 6s; }
.highlight-item:nth-child(4)::before { animation-delay: 1.5s, 9s; }
.highlight-item:nth-child(5)::before { animation-delay: 2s, 12s; }
.highlight-item:nth-child(6)::before { animation-delay: 2.5s, 15s; }
.highlight-item:nth-child(7)::before { animation-delay: 3s, 18s; }
.highlight-item:nth-child(8)::before { animation-delay: 3.5s, 21s; }

/* Individual pulse delays for wave effect */
.highlight-item:nth-child(1)::after { animation-delay: 0s; }
.highlight-item:nth-child(2)::after { animation-delay: 0.2s; }
.highlight-item:nth-child(3)::after { animation-delay: 0.4s; }
.highlight-item:nth-child(4)::after { animation-delay: 0.6s; }
.highlight-item:nth-child(5)::after { animation-delay: 0.8s; }
.highlight-item:nth-child(6)::after { animation-delay: 1s; }
.highlight-item:nth-child(7)::after { animation-delay: 1.2s; }
.highlight-item:nth-child(8)::after { animation-delay: 1.4s; }

/* Individual spark delays for elegant corner effects - Only TL and BR corners */
.highlight-item:nth-child(1) .corner-spark-tl { animation-delay: 0s; }
.highlight-item:nth-child(1) .corner-spark-br { animation-delay: 0.4s; }

.highlight-item:nth-child(2) .corner-spark-tl { animation-delay: 2s; }
.highlight-item:nth-child(2) .corner-spark-br { animation-delay: 2.4s; }

.highlight-item:nth-child(3) .corner-spark-tl { animation-delay: 4s; }
.highlight-item:nth-child(3) .corner-spark-br { animation-delay: 4.4s; }

.highlight-item:nth-child(4) .corner-spark-tl { animation-delay: 6s; }
.highlight-item:nth-child(4) .corner-spark-br { animation-delay: 6.4s; }

.highlight-item:nth-child(5) .corner-spark-tl { animation-delay: 1s; }
.highlight-item:nth-child(5) .corner-spark-br { animation-delay: 1.4s; }

.highlight-item:nth-child(6) .corner-spark-tl { animation-delay: 3s; }
.highlight-item:nth-child(6) .corner-spark-br { animation-delay: 3.4s; }

.highlight-item:nth-child(7) .corner-spark-tl { animation-delay: 5s; }
.highlight-item:nth-child(7) .corner-spark-br { animation-delay: 5.4s; }

.highlight-item:nth-child(8) .corner-spark-tl { animation-delay: 7s; }
.highlight-item:nth-child(8) .corner-spark-br { animation-delay: 7.4s; }

/* Enhanced entrance animation with 3D effects */
@keyframes enhancedHighlightEntrance {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.85) rotateX(20deg);
    filter: blur(4px);
  }
  60% {
    opacity: 0.8;
    transform: translateY(-5px) scale(1.02) rotateX(-2deg);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    filter: blur(0);
  }
}

/* Enhanced hover and interaction effects */
.highlight-item:hover {
  transform: translateY(-8px) scale(1.05);
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 1) 0%,
      rgba(248, 250, 252, 0.95) 50%,
      rgba(241, 245, 249, 0.9) 100%
    );
  border-color: rgba(5, 99, 187, 0.3);
  box-shadow: 
    0 12px 40px rgba(5, 99, 187, 0.15),
    0 8px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(5, 99, 187, 0.1);
  color: #1e293b;
  letter-spacing: 0.5px;
}

.highlight-item:active {
  transform: translateY(-4px) scale(1.02);
  transition: all 0.15s ease;
}

@keyframes synchronizedShine {
  0%, 10% {
    transform: rotate(45deg) translateX(-200%);
    opacity: 0;
  }
  15% {
    opacity: 0.3;
  }
  25% {
    transform: rotate(45deg) translateX(0%);
    opacity: 0.8;
  }
  35% {
    opacity: 0.3;
  }
  45%, 100% {
    transform: rotate(45deg) translateX(200%);
    opacity: 0;
  }
}

@keyframes highlightShineSequence {
  0%, 8.33% {
    transform: rotate(45deg) translateX(-200%);
    opacity: 0;
  }
  12.5% {
    opacity: 0.6;
    transform: rotate(45deg) translateX(0%);
  }
  16.66% {
    transform: rotate(45deg) translateX(200%);
    opacity: 0;
  }
  100% {
    transform: rotate(45deg) translateX(-200%);
    opacity: 0;
  }
}

@keyframes synchronizedPulse {
  0% {
    opacity: 0.1;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.25;
    transform: scale(1);
  }
  100% {
    opacity: 0.15;
    transform: scale(0.99);
  }
}

.highlight-item:hover {
  background: rgba(5, 99, 187, 0.12);
  border-color: rgba(5, 99, 187, 0.3);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(5, 99, 187, 0.15),
    0 4px 10px rgba(0, 0, 0, 0.1),
    0 0 20px rgba(255, 255, 255, 0.2);
}

.highlight-item:hover::before {
  animation-play-state: paused;
}

.highlight-item:hover::after {
  background: radial-gradient(circle at 50% 50%, rgba(5, 99, 187, 0.15) 0%, transparent 70%);
  animation-play-state: paused;
}

/* Hover Spark Effects */
.highlight-item:hover .corner-spark-tl,
.highlight-item:hover .corner-spark-tr,
.highlight-item:hover .corner-spark-bl,
.highlight-item:hover .corner-spark-br {
  animation-play-state: paused;
  transform: scale(1.2);
  opacity: 0.8;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* Instant Spark on Hover */
.highlight-item:hover::after {
  background: 
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.8) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.6) 0%, transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.5) 0%, transparent 35%),
    radial-gradient(circle at 90% 90%, rgba(255, 255, 255, 0.9) 0%, transparent 25%),
    radial-gradient(circle at 50% 50%, rgba(5, 99, 187, 0.15) 0%, transparent 70%);
}

.highlight-item i {
  color: var(--accent-color);
  font-size: 16px;
  margin-right: 8px;
  min-width: 20px;
  transition: all 0.3s ease;
}

.highlight-item:hover i {
  color: #0563bb;
  transform: scale(1.1);
}

.highlight-item span {
  font-weight: 500;
  transition: all 0.3s ease;
}

.highlight-item:hover span {
  color: #0563bb;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 575.98px) {
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 15px;
  }

  .highlight-item {
    padding: 12px 16px;
    font-size: 12px;
    min-height: 48px;
    height: 48px;
  }

  .highlight-item i {
    font-size: 12px;
    margin-right: 8px;
    width: 12px;
  }
  
  /* Reduce animation intensity on mobile */
  .highlight-item::before {
    animation-duration: 10s, 30s;
  }

  .highlight-item::after {
    animation-duration: 5s;
  }
}

@media (max-width: 480px) {
  .highlight-item {
    padding: 8px 10px;
    font-size: 11px;
  }

  .highlight-item span {
    line-height: 1.2;
  }
}

/*--------------------------------------------------------------
# Highlight Item Popup Modals
--------------------------------------------------------------*/

.highlight-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface-color);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  max-width: 400px;
  width: 90%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
}

.highlight-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.highlight-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.highlight-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
}

.popup-close:hover {
  background: #d32f2f;
  transform: scale(1.1);
}

.popup-logo {
  text-align: center;
  margin-bottom: 20px;
}

.popup-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
  padding: 10px;
  background: rgba(5, 99, 187, 0.1);
}

.popup-logo i {
  font-size: 60px;
  color: var(--accent-color);
  padding: 20px;
  background: rgba(5, 99, 187, 0.1);
  border-radius: 12px;
}

.popup-title {
  text-align: center;
  color: var(--heading-color);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: var(--heading-font);
}

.popup-description {
  color: var(--default-color);
  line-height: 1.6;
  font-size: 15px;
  text-align: center;
}

.popup-details {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(5, 99, 187, 0.2);
}

.popup-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.popup-details li {
  padding: 5px 0;
  color: var(--default-color);
  font-size: 14px;
  position: relative;
  padding-left: 20px;
}

.popup-details li::before {
  content: "▸";
  color: var(--accent-color);
  position: absolute;
  left: 0;
  top: 5px;
}

.popup-more-info {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(5, 99, 187, 0.2);
}

.popup-more-info a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.popup-more-info a:hover {
  background: #2980b9;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(5, 99, 187, 0.3);
}

/* Responsive Design for Popups */
@media (max-width: 768px) {
  .highlight-popup {
    max-width: 350px;
    padding: 25px;
  }
  
  .popup-title {
    font-size: 20px;
  }
  
  .popup-description {
    font-size: 14px;
  }
  
  .popup-logo img,
  .popup-logo i {
    width: 60px;
    height: 60px;
    font-size: 40px;
  }
}

@media (max-width: 576px) {
  .highlight-popup {
    max-width: 320px;
    padding: 20px;
  }
  
  .popup-title {
    font-size: 18px;
  }
  
  .popup-description {
    font-size: 13px;
  }
}