/* 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: #000;
  /* 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: #000;
  /* 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: #000;
  /* 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: #ffffff;
  --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);
  overflow-x: hidden;
}

/* Top Navbar Styles */
.top-navbar {
  background-color: #f5f7f8;
  padding: 15px 0;
}

.top-navbar .navbar-logo {
  display: inline-block;
}

.top-navbar .navbar-logo img {
  max-height: 50px;
  width: auto;
}

@media (max-width: 768px) {
  .top-navbar {
    padding: 10px 0;
  }

  .top-navbar .navbar-logo img {
    max-height: 40px;
  }
}

@media (max-width: 768px) {
  .top-navbar {
    padding: 10px 0;
  }

  .top-navbar .navbar-logo img {
    max-height: 40px;
  }
}

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: 999999;
  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;
}

@media (max-width: 1199px) {
  .navmenu ul {
    width: 100%;
  }

  .navmenu a,
  .navmenu a:focus {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 10px;
    border-radius: 10px;
  }

  .navmenu a span,
  .navmenu a:focus span {
    display: block !important;
  }
}

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# 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: blue;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px 0;
}

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

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  margin-bottom: 1.5rem;
}

.hero-badge .badge {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.1);
  color: var(--heading-color);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(45deg, var(--accent-color), #0563bb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--default-color);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  margin-bottom: 3rem;
}

.hero-cta .btn {
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.hero-cta .btn-primary {
  background: var(--accent-color);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-cta .btn-outline-primary {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.hero-cta .btn-outline-primary:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
}

.hero-stats {
  margin-top: 4rem;
}

.stat-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--default-color);
  margin: 0;
}

.hero-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-shape svg {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-cta .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .stat-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding: 60px 0;
}

.about .section-title {
  margin-bottom: 40px;
}

.about-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: 0.3s;
  display: block;
  margin: 0 auto;
}

.about-video:hover {
  transform: scale(1.02);
}

.about-image {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mute-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.mute-button:hover {
  background: var(--accent-color);
  color: white;
}

.about-content {
  height: 100%;
}

.about-description {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.description-block {
  background: var(--surface-color);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

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

.block-header i {
  font-size: 32px;
  color: var(--accent-color);
  margin-right: 20px;
  transition: all 0.3s ease;
}

.description-block:hover .block-header i {
  transform: scale(1.1);
  color: var(--accent-color-dark);
}

.block-header h4 {
  font-size: 24px;
  color: var(--heading-color);
  margin: 0;
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.block-header h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: blue;
  left: 0;
  bottom: -8px;
  transition: all 0.3s ease;
}

.description-block:hover .block-header h4::after {
  width: 100%;
}

.block-content p {
  margin: 0;
  color: var(--default-color);
  line-height: 1.8;
  font-size: 16px;
  margin-top: 15px;
}

/* Feature Items */
.feature-group {
  padding: 20px 0;
}

.feature-group h3 {
  margin-bottom: 30px;
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: var(--heading-color);
}

.feature-item {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 200px;
  /* Added minimum height */
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.feature-item i {
  font-size: 36px;
  color: var(--accent-color);
  margin-bottom: 20px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  /* Prevent icon from shrinking */
}

.feature-text {
  flex-grow: 1;
  /* Allow text to grow and fill space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Center content vertically */
  width: 100%;
  /* Ensure text takes full width */
}

.feature-text h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--heading-color);
}

.feature-text p {
  font-size: 14px;
  color: var(--default-color);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Responsive adjustments for feature items */
@media (max-width: 991px) {
  .feature-item {
    min-height: 180px;
    /* Slightly smaller on tablets */
  }
}

@media (max-width: 767px) {
  .feature-item {
    min-height: 160px;
    /* Even smaller on mobile */
  }
}

.educator-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 40px;
  padding: 20px;
}

.educator-profile {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 4px solid var(--accent-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.educator-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.educator-profile:hover .educator-image {
  transform: scale(1.1);
}

.educator-header {
  margin-top: 0;
  margin-bottom: 20px;
  position: relative;
}

.educator-header::after {
  display: none;
}

.educator-content:hover .educator-header::after {
  display: none;
}

.educator-header h4 {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.educator-header .experience {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.educator-header .experience .years {
  font-size: 18px;
  font-weight: 700;
  background: var(--accent-color);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

.educator-description {
  max-width: 800px;
  margin: 0;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
}

.educator-description p {
  color: var(--default-color);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 0;
  text-align: justify;
}

@media (max-width: 768px) {
  .educator-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 15px;
  }

  .educator-profile {
    width: 150px;
    height: 150px;
    border-radius: 8px;
  }

  .educator-header {
    margin-top: 20px;
  }

  .educator-header::after {
    display: none;
  }

  .educator-header h4 {
    font-size: 22px;
  }

  .educator-header .experience {
    font-size: 13px;
    justify-content: center;
  }

  .educator-header .experience .years {
    font-size: 16px;
    padding: 2px 6px;
  }

  .educator-description {
    padding: 15px;
    border-left: none;
    border-top: 4px solid var(--accent-color);
  }

  .educator-description p {
    font-size: 14px;
    text-align: center;
  }
}

.feature-group h3 {
  font-size: 24px;
  color: var(--heading-color);
  margin-bottom: 30px;
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.feature-group h3::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: blue;
  left: 0;
  bottom: -10px;
  transition: all 0.3s ease;
}

.feature-group:hover h3::after {
  width: 100%;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature-item {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent-color), var(--accent-color-light));
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 0;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item:hover::before {
  opacity: 0.05;
}

.feature-item i {
  font-size: 32px;
  color: var(--accent-color);
  margin-right: 20px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.feature-item:hover i {
  color: var(--accent-color-dark);
}

.feature-text {
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.feature-text h4 {
  font-size: 18px;
  color: var(--heading-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-item:hover .feature-text h4 {
  color: var(--accent-color);
}

.feature-text p {
  font-size: 14px;
  color: var(--default-color);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .about-image {
    max-width: 100%;
    height: 350px;
    margin-bottom: 30px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .social-links-container {
    height: auto;
    min-height: 200px;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 40px 0;
  }

  .about-image {
    height: 300px;
    margin-bottom: 20px;
  }

  .description-block {
    padding: 25px;
    margin-bottom: 20px;
  }

  .block-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .block-header i {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .block-header h4 {
    font-size: 20px;
  }

  .block-content p {
    font-size: 15px;
    text-align: center;
  }

  .feature-group {
    padding: 20px;
  }

  .feature-item {
    padding: 20px;
    min-height: auto;
  }

  .feature-item i {
    font-size: 24px;
    margin-right: 15px;
  }

  .feature-text h4 {
    font-size: 16px;
  }

  .feature-text p {
    font-size: 14px;
  }

  .social-links-container {
    padding: 20px;
    min-height: 180px;
  }

  .social-links-container h4 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .social-links-container .social-links {
    flex-direction: column;
    gap: 15px;
  }

  .social-links-container .social-links a {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
}

@media (max-width: 576px) {
  .about-image {
    height: 250px;
  }

  .description-block {
    padding: 20px;
  }

  .block-header h4 {
    font-size: 18px;
  }

  .block-content p {
    font-size: 14px;
  }

  .feature-item {
    padding: 15px;
  }

  .feature-item i {
    font-size: 20px;
    margin-right: 10px;
  }

  .feature-text h4 {
    font-size: 15px;
  }

  .feature-text p {
    font-size: 13px;
  }
}

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

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

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

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

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .skill-item {
  background: var(--surface-color);
  border-radius: 8px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.skills .skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}

.skills .skill-icon {
  width: 60px;
  height: 60px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-color);
  font-size: 24px;
  transition: all 0.3s ease-in-out;
}

.skills .skill-item:hover .skill-icon {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.skills .skill-content h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.skills .skill-content p {
  color: var(--default-color);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .skills .skill-item {
    padding: 20px;
  }

  .skills .skill-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .skills .skill-content h4 {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
  color: #000;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 30px 0 20px;
  padding-bottom: 10px;
  position: relative;
}

.resume .resume-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: #000;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #000;
  position: relative;
  transition: all 0.3s ease;
}

.resume .resume-item:hover {
  transform: translateX(5px);
}

.resume .resume-item::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #fff;
  border: 2px solid #000;
  transition: all 0.3s ease;
}

.resume .resume-item:hover::before {
  background: #000;
}

.resume .resume-item h4 {
  line-height: 1.2;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: none;
  color: #000;
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 0.9rem;
  background: #f8f9fa;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000;
  border-radius: 4px;
}

.resume .resume-item p {
  margin-bottom: 0;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

.resume .resume-item p em {
  color: #6c757d;
  font-style: normal;
}

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

.resume .resume-item ul li {
  padding-bottom: 10px;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .resume .resume-title {
    font-size: 1.3rem;
  }

  .resume .resume-item h4 {
    font-size: 1rem;
  }

  .resume .resume-item h5 {
    font-size: 0.85rem;
  }

  .resume .resume-item p,
  .resume .resume-item ul li {
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/



/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  position: relative;
  background-color: var(--background-color);
  padding: 100px 0;
  overflow: hidden;
}

.contact .section-title h2 {
  color: var(--heading-color);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 25px;
  position: relative;
  text-align: center;
}

.contact .section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  /* background: var(--accent-color); */
  background: blue;
  bottom: 0;
  /* transform: translateX(-50%); */
}

.contact .section-title p {
  color: var(--text-color);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact .info-item {
  background: var(--card-background);
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 25px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
}

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

.contact .info-item i {
  font-size: 28px;
  color: var(--accent-color);
  margin-right: 20px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-color-rgb), 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: #fff;
  transform: rotateY(180deg);
}

.contact .info-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.contact .info-item p {
  font-size: 16px;
  color: var(--text-color);
  margin: 0;
  line-height: 1.6;
}

.contact .info-item p+p {
  margin-top: 8px;
  color: color-mix(in srgb, var(--text-color), transparent 20%);
}

.contact .php-email-form {
  background: var(--card-background);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.contact .php-email-form:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: var(--background-color);
  color: var(--text-color);
  font-size: 16px;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.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);
  box-shadow: 0 0 0 4px rgba(var(--accent-color-rgb), 0.1);
  outline: none;
}

.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 15px;
}

.contact .php-email-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact .php-email-form button[type="submit"] {
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact .php-email-form button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-color-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.contact .php-email-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--accent-color-rgb), 0.3);
}

.contact .php-email-form button[type="submit"]:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.contact .php-email-form button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(var(--accent-color-rgb), 0.2);
}

.contact .php-email-form .loading,
.contact .php-email-form .error-message,
.contact .php-email-form .sent-message {
  display: none;
  text-align: center;
  padding: 15px;
  margin: 15px 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
}

.contact .php-email-form .loading {
  background: rgba(var(--accent-color-rgb), 0.1);
  color: var(--accent-color);
}

.contact .php-email-form .error-message {
  background: rgba(var(--danger-color-rgb), 0.1);
  color: var(--danger-color);
}

.contact .php-email-form .sent-message {
  background: rgba(var(--success-color-rgb), 0.1);
  color: var(--success-color);
}

@media (max-width: 768px) {
  .contact {
    padding: 60px 0;
  }

  .contact .section-title h2 {
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .contact .section-title p {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .contact .info-item {
    padding: 20px;
  }

  .contact .info-item i {
    font-size: 24px;
    width: 40px;
    height: 40px;
  }

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

  .contact .php-email-form {
    padding: 30px;
  }

  .contact .php-email-form input[type="text"],
  .contact .php-email-form input[type="email"],
  .contact .php-email-form textarea {
    padding: 12px 15px;
    font-size: 15px;
  }

  .contact .php-email-form button[type="submit"] {
    padding: 12px 25px;
    font-size: 15px;
  }
}

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

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/

/* Research Section */
.research-timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.research-timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: #e9ecef;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.research-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.research-item:nth-child(odd) {
  left: 0;
}

.research-item:nth-child(even) {
  left: 50%;
}

.research-year {
  position: absolute;
  width: 100px;
  height: 100px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  z-index: 1;
}

.research-item:nth-child(odd) .research-year {
  right: -50px;
}

.research-item:nth-child(even) .research-year {
  left: -50px;
}

.research-content {
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.research-content:hover {
  border: 1px solid #0563bb;
  box-shadow: 0 4px 15px rgba(5, 99, 187, 0.1);
}

.research-content:hover h4 {
  color: #0563bb;
}

.research-content:hover .research-description {
  color: #333;
}

.research-content:hover .research-org {
  color: #0563bb;
}

.research-content::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #000;
  top: 20px;
  z-index: 1;
}

.research-item:nth-child(odd) .research-content::after {
  right: -10px;
}

.research-item:nth-child(even) .research-content::after {
  left: -10px;
}

.research-content h4 {
  color: #000;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.research-description {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.research-org {
  color: #000;
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 0;
}

/* Professional Memberships Section */
.memberships .membership-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
}

.memberships .membership-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.memberships .membership-icon {
  width: 80px;
  height: 80px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.memberships .membership-item:hover .membership-icon {
  background: #000;
  color: #fff;
}

.memberships .membership-icon i {
  font-size: 32px;
  color: #000;
  transition: all 0.3s ease;
}

.memberships .membership-item:hover .membership-icon i {
  color: #fff;
}

.memberships .membership-content h4 {
  color: #000;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.memberships .membership-location {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 15px;
  font-style: italic;
}

.memberships .membership-description {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .research-timeline::after {
    left: 31px;
  }

  .research-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 30px;
  }

  .research-item:nth-child(even) {
    left: 0;
  }

  .research-year {
    width: 60px;
    height: 60px;
    left: 0;
    right: auto;
  }

  .research-content::after {
    left: 20px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .memberships .membership-item {
    padding: 20px;
  }

  .memberships .membership-content h4 {
    font-size: 1.1rem;
  }

  .memberships .membership-description {
    font-size: 0.95rem;
  }
}

/* Research Section - Mobile */
.research-timeline-mobile {
  position: relative;
  padding: 20px 0;
}

.research-item-mobile {
  position: relative;
  padding: 20px 0;
  border-left: 2px solid #0563bb;
  padding-left: 20px;
  margin-bottom: 20px;
}

.research-year-mobile {
  position: absolute;
  left: -10px;
  top: -20px;
  background: #0563bb;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.research-content-mobile {
  margin-left: 20px;
  transition: all 0.3s ease;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.research-content-mobile:hover {
  border: 1px solid #0563bb;
  box-shadow: 0 4px 15px rgba(5, 99, 187, 0.1);
}

.research-content-mobile:hover h4 {
  color: #0563bb;
}

.research-content-mobile:hover .research-description-mobile {
  color: #333;
}

.research-content-mobile:hover .research-org-mobile {
  color: #0563bb;
}

.research-description-mobile {
  font-size: 14px;
  margin-bottom: 10px;
  color: #666;
}

.research-org-mobile {
  font-size: 12px;
  color: #888;
  font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .research-timeline-mobile {
    padding: 15px 0;
  }

  .research-item-mobile {
    padding: 15px 0;
    margin-bottom: 15px;
  }

  .research-content-mobile h4 {
    font-size: 16px;
  }

  .research-description-mobile {
    font-size: 13px;
  }
}

/* Publications Section - New Style */
.publications {
  padding: 60px 0;
  background: #f8f9fa;
}

.publications .section-title {
  text-align: center;
  padding-bottom: 30px;
}

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

.publications .section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: #1977cc;
  bottom: 0;
  /* left: calc(50% - 20px); */
}

.publications .section-title p {
  color: #666;
  font-size: 16px;
  margin-bottom: 0;
}

/* Publications Tabs */
.publications-tabs {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.publications-tabs .nav-pills {
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.publications-tabs .nav-pills .nav-link {
  color: #666;
  background: none;
  border: none;
  padding: 10px 25px;
  font-weight: 500;
  font-size: 16px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.publications-tabs .nav-pills .nav-link i {
  margin-right: 8px;
  font-size: 18px;
}

.publications-tabs .nav-pills .nav-link:hover {
  color: #1977cc;
}

.publications-tabs .nav-pills .nav-link.active {
  color: #fff;
  background: #1977cc;
}

/* Publications Grid */
.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.publication-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.publication-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-color: #1977cc;
}

.publication-icon {
  width: 50px;
  height: 50px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.publication-icon i {
  font-size: 24px;
  color: #1977cc;
}

.publication-content {
  flex: 1;
}

.publication-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000;
}

.publication-details {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.publication-org {
  font-size: 14px;
  color: #1977cc;
  font-weight: 500;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.publication-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.publication-list li {
  padding: 8px 0;
  font-size: 14px;
  color: #666;
  border-bottom: 1px solid #eee;
}

.publication-list li:last-child {
  border-bottom: none;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .publications-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .publications {
    padding: 40px 0;
  }

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

  .publications-tabs {
    padding: 20px;
  }

  .publications-tabs .nav-pills .nav-link {
    padding: 8px 15px;
    font-size: 14px;
  }

  .publication-card {
    padding: 15px;
  }

  .publication-content h4 {
    font-size: 16px;
  }
}

/* Research & Books Tab Items */
.publication-item {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  height: 100%;
  transition: all 0.3s ease;
}

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

.publication-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000;
}

.publication-item p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

.publication-item .organization {
  display: block;
  color: #1977cc;
  font-weight: 500;
  font-size: 14px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.publication-item ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.publication-item ul li {
  padding: 5px 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .publication-item {
    padding: 20px;
    margin-bottom: 20px;
  }

  .publication-item h4 {
    font-size: 16px;
  }

  .publication-item p,
  .publication-item ul li {
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Top Social Links
--------------------------------------------------------------*/
.top-socials {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.top-socials .social-links {
  display: flex;
  gap: 1.5rem;
  background: var(--surface-color);
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.top-socials .social-links a {
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.top-socials .social-links a:hover {
  transform: translateY(-3px);
  color: var(--contrast-color);
  background: var(--accent-color);
}

@media (max-width: 768px) {
  .top-socials {
    top: 10px;
  }

  .top-socials .social-links {
    gap: 1rem;
    padding: 8px 15px;
  }

  .top-socials .social-links a {
    font-size: 1.2rem;
    width: 35px;
    height: 35px;
  }
}

/* Values List */
.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.values-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--default-color);
  font-size: 16px;
}

.values-list li i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 18px;
}

/* Mentor Traits */
.mentor-traits {
  list-style: none;
  padding: 0;
  margin: 15px 0 0 0;
}

.mentor-traits li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--default-color);
  font-size: 16px;
}

.mentor-traits li i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 18px;
}

/* Why Choose Us Section */
.why-choose-us .feature-item {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.why-choose-us .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.why-choose-us .feature-item i {
  font-size: 32px;
  color: var(--accent-color);
  margin-right: 20px;
  transition: all 0.3s ease;
}

.why-choose-us .feature-item:hover i {
  transform: scale(1.1);
}

.why-choose-us .feature-text h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--heading-color);
}

.why-choose-us .feature-text p {
  font-size: 16px;
  color: var(--default-color);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {

  .values-list li,
  .mentor-traits li {
    font-size: 14px;
  }

  .why-choose-us .feature-item {
    padding: 20px;
  }

  .why-choose-us .feature-item i {
    font-size: 24px;
  }

  .why-choose-us .feature-text h4 {
    font-size: 18px;
  }

  .why-choose-us .feature-text p {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Math Programs Section
--------------------------------------------------------------*/
.math-programs {
  padding: 80px 0;
  background: var(--background-color);
}

.program-intro {
  max-width: 800px;
  margin: 0 auto 50px;
}

.program-subtitle {
  font-size: 28px;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.program-description {
  font-size: 18px;
  color: var(--default-color);
  line-height: 1.8;
}

.program-card {
  background: var(--surface-color);
  border-radius: 15px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid transparent;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.program-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

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

.program-icon {
  width: 50px;
  height: 50px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.program-icon i {
  font-size: 24px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.program-card:hover .program-icon {
  background: var(--accent-color);
}

.program-card:hover .program-icon i {
  color: var(--contrast-color);
}

.program-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.program-features li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: var(--default-color);
  font-size: 16px;
}

.program-features li:last-child {
  margin-bottom: 0;
}

.program-features li i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 18px;
}

.program-benefits {
  margin-top: 60px;
}

.program-benefits h3 {
  font-size: 28px;
  color: var(--heading-color);
  margin-bottom: 40px;
  font-weight: 600;
}

.benefit-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--surface-color);
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 200px;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.benefit-item i {
  font-size: 36px;
  color: var(--accent-color);
  margin-bottom: 20px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.benefit-item:hover i {
  transform: scale(1.1);
}

.benefit-item h5 {
  font-size: 20px;
  color: var(--heading-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.benefit-item p {
  color: var(--default-color);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .benefit-item {
    min-height: 180px;
  }
}

@media (max-width: 768px) {
  .benefit-item {
    min-height: 160px;
    padding: 20px 15px;
  }

  .benefit-item i {
    font-size: 30px;
  }

  .benefit-item h5 {
    font-size: 18px;
  }

  .benefit-item p {
    font-size: 14px;
  }
}

/* Testimonials Section */
.testimonials {
  padding: 60px 0;
}

.testimonial-item {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.testimonial-item:hover {
  transform: translateY(-5px);
}

.testimonial-img {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.testimonial-content {
  text-align: center;
  transition: all 0.3s ease;
}

.testimonial-content h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.testimonial-content .designation {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.testimonial-content .testimonial-text {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  font-style: italic;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.testimonial-item:hover .testimonial-text {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-item:hover .testimonial-img {
  transform: scale(0.9);
}

.testimonial-item:hover .testimonial-content h4,
.testimonial-item:hover .testimonial-content .designation {
  opacity: 0.7;
}

/* Video Testimonials Section */
.video-testimonials {
  padding: 60px 0;
}

.video-testimonial-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.video-testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 35px rgba(0, 0, 0, 0.15);
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
  background: #000;
  cursor: pointer;
}

.testimonial-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.35);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  pointer-events: none;
}

.video-container:hover .video-overlay {
  opacity: 1;
}

.video-info {
  color: #fff;
  text-align: left;
  margin: 24px;
  margin-bottom: 32px;
  padding: 18px 24px;
  background: rgba(30, 30, 30, 0.85);
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.18);
  pointer-events: auto;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 90%;
}

.video-container:hover .video-info {
  transform: translateY(0);
  opacity: 1;
}

.video-info h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
  letter-spacing: 0.01em;
}

.video-info .designation {
  font-size: 15px;
  color: #e0e0e0;
  margin-bottom: 0;
  font-weight: 400;
}

@media (max-width: 768px) {
  .video-info {
    margin: 12px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    max-width: 98%;
  }

  .video-info h4 {
    font-size: 16px;
  }

  .video-info .designation {
    font-size: 13px;
  }
}

/* Cursor-following mute button */
.mute-btn {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(2px);
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, visibility 0.2s ease, background-color 0.2s ease;
  left: 0;
  top: 0;
  will-change: transform;
}

.video-container:hover .mute-btn {
  opacity: 1;
  visibility: visible;
}

.mute-btn i {
  font-size: 18px;
  color: var(--accent-color);
  transition: color 0.2s ease;
}

.mute-btn:hover {
  background: rgba(255, 255, 255, 0.8);
}

.mute-btn:hover i {
  color: var(--accent-color);
}

/* Add smooth transition for icon changes */
.mute-btn i.bi-volume-mute-fill,
.mute-btn i.bi-volume-up-fill {
  transition: color 0.2s ease;
}

@media (max-width: 768px) {
  .video-testimonial-item {
    margin-bottom: 30px;
  }

  .mute-btn {
    width: 35px;
    height: 35px;
  }

  .mute-btn i {
    font-size: 16px;
  }

  .video-info h4 {
    font-size: 16px;
  }

  .video-info .designation {
    font-size: 13px;
  }
}

/* Contact Details Section */
.contact-details {
  background: var(--surface-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.contact-details:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.contact-details h3 {
  font-size: 24px;
  color: var(--heading-color);
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
  padding-bottom: 15px;
}

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

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  color: var(--default-color);
  font-size: 16px;
  line-height: 1.6;
}

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

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

.contact-info li strong {
  display: block;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.contact-info li a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info li a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

@media (max-width: 768px) {
  .contact-details {
    padding: 25px;
  }

  .contact-details h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .contact-info li {
    font-size: 15px;
  }

  .contact-info li i {
    font-size: 18px;
  }
}

.about-image {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links-container {
  margin-top: 20px;
  text-align: center;
  padding: 20px;
  background: var(--surface-color);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: calc(100% - 450px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.social-links-container h4 {
  color: var(--heading-color);
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.social-links-container h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.social-links-container:hover h4::after {
  width: 100px;
}

.social-links-container .social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: auto;
  margin-bottom: auto;
}

.social-links-container .social-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  background: var(--primary-color);
}

.social-links-container .social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.social-links-container .social-links a span {
  font-size: 16px;
  font-weight: 500;
}

.social-links-container .social-links a.facebook {
  background: #1877f2;
}

.social-links-container .social-links a.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

@media (max-width: 768px) {
  .social-links-container {
    height: auto;
    min-height: 150px;
    padding: 15px;
  }

  .social-links-container h4 {
    font-size: 18px;
  }

  .social-links-container .social-links {
    flex-direction: column;
    gap: 10px;
  }

  .social-links-container .social-links a {
    width: 100%;
    justify-content: center;
  }

  .social-links-container .social-links a i {
    font-size: 18px;
  }

  .social-links-container .social-links a span {
    font-size: 14px;
  }
}

/* Free Resources Section */
.free-resources {
  padding: 60px 0;
  background: var(--background-color);
}

.resource-card {
  background: var(--surface-color);
  border-radius: 15px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.resource-icon {
  width: 70px;
  height: 70px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.resource-icon i {
  font-size: 32px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.resource-card:hover .resource-icon {
  background: var(--accent-color);
}

.resource-card:hover .resource-icon i {
  color: var(--contrast-color);
}

.resource-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resource-content h4 {
  font-size: 20px;
  color: var(--heading-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.resource-content p {
  color: var(--default-color);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.resource-content .btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  background: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.resource-content .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-color-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}

.resource-content .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.resource-content .btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Resource List Styles */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.resource-item {
  display: flex;
  align-items: center;
  padding: 15px;
  background: var(--surface-color);
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.resource-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.resource-item i {
  font-size: 24px;
  color: var(--accent-color);
  margin-right: 15px;
}

.resource-item span {
  flex-grow: 1;
  color: var(--heading-color);
  font-size: 16px;
}

.resource-item .btn {
  padding: 6px 15px;
  font-size: 14px;
  border-radius: 50px;
  transition: all 0.3s ease;
  background: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.resource-item .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-color-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}

.resource-item .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.resource-item .btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Modal Styles */
.modal-content {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: var(--surface-color);
}

.modal-header {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 20px 25px;
}

.modal-title {
  color: var(--heading-color);
  font-weight: 600;
  font-size: 20px;
}

.modal-body {
  padding: 25px;
}

.btn-close {
  padding: 0.5rem;
  margin: -0.5rem -0.5rem -0.5rem auto;
  background: transparent;
  border: 0;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.btn-close:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .free-resources {
    padding: 40px 0;
  }

  .resource-card {
    padding: 25px;
  }

  .resource-icon {
    width: 60px;
    height: 60px;
  }

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

  .resource-content h4 {
    font-size: 18px;
  }

  .resource-content p {
    font-size: 14px;
  }

  .resource-item {
    padding: 12px;
  }

  .resource-item i {
    font-size: 20px;
    margin-right: 12px;
  }

  .resource-item span {
    font-size: 14px;
  }

  .resource-item .btn {
    padding: 5px 12px;
    font-size: 13px;
  }

  .modal-header {
    padding: 15px 20px;
  }

  .modal-body {
    padding: 20px;
  }
}

/* Video Testimonials */
.video-testimonial-item {
  margin-bottom: 30px;
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.testimonial-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-container.show-controls .testimonial-video {
  cursor: pointer;
}