body {
  background: #fff;
  color: #444;
  font-family: "Open Sans", sans-serif;
}

a {
  color: #50d8af;
  transition: 0.5s;
}

a:hover, a:active, a:focus {
  color: #51d8af;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 30px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  display: none;
  background: #50d8af;
  color: #fff;
  padding: 6px 12px 9px 12px;
  font-size: 16px;
  border-radius: 2px;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }
}

.back-to-top:focus {
  background: #50d8af;
  color: #fff;
  outline: none;
}

.back-to-top:hover {
  background: #0c2e8a;
  color: #fff;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

#topbar .contact-info a {
  line-height: 1;
  color: #555;
}

#topbar .contact-info a:hover {
  color: #50d8af;
}

#topbar .contact-info i {
  color: #50d8af;
  padding: 4px;
}

#topbar .contact-info .fa-phone {
  padding-left: 20px;
  margin-left: 20px;
  border-left: 1px solid #e9e9e9;
}

#topbar .social-links a {
  color: #555;
  padding: 4px 12px;
  display: inline-block;
  line-height: 1px;
  border-left: 1px solid #e9e9e9;
}

#topbar .social-links a:hover {
  color: #50d8af;
}

#topbar .social-links a:first-child {
  border-left: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  padding: 20px 0;
  height: 84px;
  transition: all 0.5s;
  z-index: 997;
  background: #fff;
  box-shadow: 0px 6px 9px 0px rgba(0, 0, 0, 0.06);
  position: relative;
}

#header .container,
#header .container-fluid {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

/* Logo styles moved to navigation-menu component */

@media (max-width: 768px) {
  #header {
    padding: 20px 0;
    height: 74px;
  }
}

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/
#intro {
  width: 100%;
  height: 60vh;
  position: relative;
  background: url("../img/intro-carousel/1.jpg") no-repeat;
  background-size: cover;
}

#intro .intro-content {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

#intro .intro-content h2 {
  color: #0c2e8a;
  margin-bottom: 30px;
  font-size: 64px;
  font-weight: 700;
}

#intro .intro-content h2 span {
  color: #50d8af;
  text-decoration: underline;
}

@media (max-width: 767px) {
  #intro .intro-content h2 {
    font-size: 34px;
  }
}

#intro .intro-content .btn-get-started, #intro .intro-content .btn-projects {
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 32px;
  border-radius: 2px;
  transition: 0.5s;
  margin: 10px;
  color: #fff;
}

#intro .intro-content .btn-get-started {
  background: #0c2e8a;
  border: 2px solid #0c2e8a;
}

#intro .intro-content .btn-get-started:hover {
  background: none;
  color: #0c2e8a;
}

#intro .intro-content .btn-projects {
  background: #50d8af;
  border: 2px solid #50d8af;
}

#intro .intro-content .btn-projects:hover {
  background: none;
  color: #50d8af;
}

/* General .btn-get-started styles (outside of #intro) */
.btn-get-started {
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 32px;
  border-radius: 2px;
  transition: all 0.3s ease;
  color: #fff;
  background: #0c2e8a;
  border: 2px solid #0c2e8a;
  text-decoration: none;
  cursor: pointer;
}

.btn-get-started:hover {
  background: #1a4db8;
  border-color: #1a4db8;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12, 46, 138, 0.3);
}

.btn-get-started:active,
.btn-get-started:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(12, 46, 138, 0.25);
}

#intro #intro-carousel {
  z-index: 8;
}

#intro #intro-carousel::before {
  content: '';
  background-color: rgba(255, 255, 255, 0.7);
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 7;
}

#intro #intro-carousel .item {
  width: 100%;
  height: 60vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transition-property: opacity;
  transition-property: opacity;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Nav Menu Essentials */
.nav-menu, .nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu ul {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  z-index: 9999;
  margin: 4px 0 0 0;
  padding: 8px 0;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  background: #fff;
  border-radius: 4px;
  min-width: 200px;
  list-style: none;
}

.nav-menu li {
  position: relative;
  white-space: nowrap;
}

.nav-menu > li {
  float: left;
}

.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.nav-menu ul ul {
  top: 0;
  left: 100%;
}

.nav-menu ul li {
  min-width: 180px;
}

/* Nav Menu Arrows */
.sf-arrows .sf-with-ul {
  padding-right: 22px;
}

.sf-arrows .sf-with-ul:after {
  content: "\f107";
  position: absolute;
  right: 8px;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
}

.sf-arrows ul .sf-with-ul:after {
  content: "\f105";
}

/* Nav Menu Container */
#header #nav-menu-container {
  width: 100%;
  float: none;
  margin: 0;
  overflow: visible;
}

/* Desktop: logo with margin-left, rest of menu flows */
@media (min-width: 1201px) {
  .nav-menu > .logo-menu-item {
    margin-right: 0;
    margin-left: 0;
    padding-left: 10vw;
  }
  
  .nav-menu > .logo-menu-item ~ li {
    margin-left: 5px;
  }
  
  /* Add spacing after logo */
  .nav-menu > .logo-menu-item + li {
    margin-left: 14vw;
  }
  
  /* Ensure menu uses full width */
  .nav-menu {
    width: 100%;
  }
}

/* Tablet and iPad adjustments */
@media (max-width: 1200px) and (min-width: 769px) {
  #header #nav-menu-container {
    width: 100%;
    float: none;
    margin-left: 0;
  }
  
  .nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }
  
  .nav-menu > .logo-menu-item {
    flex: 0 0 auto;
    margin-right: 15px;
  }
  
  .nav-menu > .logo-menu-item ~ li {
    flex: 0 0 auto;
    margin-left: 3px;
  }
  
  /* Reduce font size and spacing for tablets */
  .nav-menu a {
    padding: 10px 8px;
    font-size: 12px;
  }
  
  /* Logo size adjusted in component */
}

@media (max-width: 910px) {
  /* Hide nav menu items but show logo */
  #nav-menu-container .nav-menu > li:not(.logo-menu-item) {
    display: none;
  }
  
  /* Ensure nav-menu-container and logo are visible */
  #nav-menu-container {
    display: block !important;
  }
  
  #nav-menu-container .nav-menu {
    display: block !important;
  }
}

/* Nav Meu Styling */
.nav-menu a {
  padding: 10px 12px;
  text-decoration: none;
  display: inline-block;
  color: #555;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 13px;
  outline: none;
  white-space: nowrap;
}

.nav-menu li:hover > a, .nav-menu > .menu-active > a {
  color: #50d8af;
}

.nav-menu > li {
  margin-left: 5px;
}

.nav-menu > .logo-menu-item {
  margin-left: 0;
  margin-right: 20px;
}

.nav-menu > .logo-menu-item + li {
  margin-left: 0;
}

/* Ensure nav-menu uses full width */
.nav-menu {
  width: 100%;
  display: block;
  overflow: visible;
}

/* Desktop: logo with margin-left, rest flows naturally */
@media (min-width: 1201px) {
  .nav-menu > .logo-menu-item {
    margin-right: 30px;
  }
  
  .nav-menu > .logo-menu-item + li {
    margin-left: 14vw;
  }
}

/* Consolidated with rule above */

.nav-menu ul li {
  transition: 0.3s;
}

.nav-menu ul li a {
  padding: 10px 20px;
  color: #333;
  transition: 0.3s;
  display: block;
  font-size: 13px;
  text-transform: none;
  white-space: nowrap;
}

.nav-menu ul li.menu-active > a {
  color: #50d8af;
  background-color: #f8f9fa;
}

.nav-menu ul li:hover > a {
  color: #50d8af;
}

.nav-menu ul ul {
  margin: 0;
}

/* Mobile Nav Toggle */
#mobile-nav-toggle {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
  margin: 20px 20px 0 0;
  border: 0;
  background: none;
  font-size: 24px;
  display: none;
  transition: all 0.4s;
  outline: none;
  cursor: pointer;
  padding: 0;
}

#mobile-nav-toggle i {
  color: #555;
}

@media (max-width: 910px) {
  #mobile-nav-toggle {
    display: inline;
  }
  
  /* Header stays white on mobile in light mode */
  #header {
    background: #fff !important;
  }
  
  #mobile-nav-toggle i {
    color: #555;
  }
}

/* Mobile Nav Styling */
#mobile-nav {
  position: fixed;
  top: 0;
  padding-top: 18px;
  bottom: 0;
  z-index: 998;
  background: #fff;
  left: -260px;
  width: 260px;
  overflow-y: auto;
  transition: 0.4s;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

#mobile-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#mobile-nav ul li {
  position: relative;
}

#mobile-nav ul li a {
  color: #333;
  font-size: 16px;
  overflow: hidden;
  padding: 10px 22px 10px 15px;
  position: relative;
  text-decoration: none;
  width: 100%;
  display: block;
  outline: none;
}

#mobile-nav ul li a:hover {
  color: #50d8af;
  background: rgba(80, 216, 175, 0.1);
}

#mobile-nav ul li li {
  padding-left: 30px;
}

#mobile-nav ul .menu-has-children i {
  position: absolute;
  right: 0;
  z-index: 99;
  padding: 15px;
  cursor: pointer;
  color: #333;
}

#mobile-nav ul .menu-has-children i.fa-chevron-up {
  color: #50d8af;
}

#mobile-nav ul .menu-item-active {
  color: #50d8af;
}

#mobile-body-overly {
  width: 100%;
  height: 100%;
  z-index: 997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(0, 0, 0, 0.5);
  display: none;
}

/* Mobile Nav body classes */
body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active #mobile-nav {
  left: 0;
}

body.mobile-nav-active #mobile-nav-toggle {
  color: #50d8af;
}

body.mobile-nav-active #mobile-nav-toggle i {
  color: #50d8af;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
/* Sections Header
--------------------------------*/
.section-header {
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 32px;
  color: #0c2e8a;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.section-header h2::before {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #50d8af;
  bottom: 0;
  left: 0;
}

.section-header p {
  padding: 0;
  margin: 0;
}

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

#about .about-features {
  padding: 20px 0;
}

#about .about-features .feature-item {
  margin-bottom: 30px;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

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

#about .about-features .feature-icon {
  font-size: 48px;
  color: #50d8af;
  margin-bottom: 15px;
}

#about .about-features .feature-item h4 {
  color: #0c2e8a;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

#about .about-features .feature-item p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  #about .about-features .feature-item {
    margin-bottom: 20px;
  }
}

#about .content h2 {
  color: #0c2e8a;
  font-weight: 700;
  font-size: 36px;
  font-family: "Raleway", sans-serif;
}

#about .content h3 {
  color: #555;
  font-weight: 300;
  font-size: 18px;
  line-height: 26px;
  font-style: italic;
}

#about .content p {
  line-height: 26px;
}

#about .content p:last-child {
  margin-bottom: 0;
}

#about .content i {
  font-size: 20px;
  padding-right: 4px;
  color: #50d8af;
}

#about .content ul {
  list-style: none;
  padding: 0;
}

#about .content ul li {
  padding-bottom: 10px;
}

/* Services Section
--------------------------------*/
#services {
  padding: 30px 0 0 0;
}

#services .box {
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 10px 10px 15px rgba(73, 78, 92, 0.1);
  background: #fff;
  transition: 0.4s;
}

#services .box:hover {
  box-shadow: 0px 0px 30px rgba(73, 78, 92, 0.15);
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
}

#services .box .icon {
  float: left;
}

#services .box .icon i {
  color: #444;
  font-size: 64px;
  transition: 0.5s;
  line-height: 0;
  margin-top: 34px;
}

#services .box .icon i:before {
  background: #0c2e8a;
  background: linear-gradient(45deg, #50d8af 0%, #a3ebd5 100%);
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#services .box h4 {
  margin-left: 100px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 22px;
}

#services .box h4 a {
  color: #444;
}

#services .box p {
  font-size: 14px;
  margin-left: 100px;
  margin-bottom: 0;
  line-height: 24px;
}

@media (max-width: 767px) {
  #services .box .box {
    margin-bottom: 20px;
  }
  #services .box .icon {
    float: none;
    text-align: center;
    padding-bottom: 15px;
  }
  #services .box h4, #services .box p {
    margin-left: 0;
    text-align: center;
  }
}

/* Clients Section
--------------------------------*/
#clients {
  padding: 30px 0;
}

#clients img {
  max-width: 100%;
  opacity: 0.5;
  transition: 0.3s;
  padding: 15px 0;
}

#clients img:hover {
  opacity: 1;
}

/* Global Owl Carousel Styles */
.owl-nav, .owl-dots {
  margin-top: 5px;
  text-align: center;
}

.owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  transition: all 0.3s ease;
  cursor: pointer;
}

.owl-dot:hover {
  background-color: #50d8af;
  transform: scale(1.2);
}

.owl-dot.active {
  background-color: #50d8af;
  width: 30px;
  border-radius: 6px;
}

.owl-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #50d8af;
  color: #fff;
  border: none;
  margin: 0 10px;
  font-size: 18px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.owl-nav button:hover {
  background: #0c2e8a;
  transform: scale(1.1);
}

/* Our Portfolio Section
--------------------------------*/
/* Old portfolio styles removed - using new styles below */

/* Testimonials Section
--------------------------------*/
#testimonials {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

#testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(80, 216, 175, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(12, 46, 138, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

#testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 25px 25px 0 25px;
  margin: 30px 15px;
  text-align: center;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(80, 216, 175, 0.1);
  display: flex;
  flex-direction: column;
}

#testimonials .testimonial-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #50d8af 0%, #a3ebd5 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

#testimonials .testimonial-item:hover::before {
  transform: scaleX(1);
}

#testimonials .testimonial-item:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 12px 40px rgba(80, 216, 175, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: rgba(80, 216, 175, 0.3);
}

.testimonial-quote-icon-large {
  text-align: center;
  margin-bottom: 8px;
}

.testimonial-quote-icon-large i {
  font-size: 48px;
  color: #ffd700;
  opacity: 0.6;
  transition: all 0.3s ease;
}

#testimonials .testimonial-item:hover .testimonial-quote-icon-large i {
  opacity: 0.8;
  transform: scale(1.1);
}

.testimonial-text {
  display: block;
  font-style: italic !important;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: #555;
  text-align: center;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.testimonial-text * {
  font-style: italic !important;
}

.testimonial-text[data-read-more].truncated {
  max-height: 60px;
  position: relative;
}

.testimonial-text[data-read-more].truncated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.98));
  pointer-events: none;
}

.testimonial-rating {
  text-align: center;
  margin-bottom: 10px;
  color: #ffc107;
  font-size: 14px;
  letter-spacing: 2px;
}

.testimonial-rating .fa-star {
  transition: transform 0.2s ease;
}

#testimonials .testimonial-item:hover .testimonial-rating .fa-star {
  transform: scale(1.1);
}

.testimonial-rating .fa-star-o {
  color: #e0e0e0;
}

.testimonial-separator {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 10px auto;
  padding: 0;
  width: 80%;
  max-width: 200px;
}

.testimonial-text p {
  margin-bottom: 12px;
  display: inline;
}

.testimonial-text p:last-child {
  margin-bottom: 0;
}

.read-more-btn {
  display: block;
  margin: 15px auto 0;
  padding: 8px 18px;
  background: #50d8af;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(80, 216, 175, 0.3);
}

.read-more-btn:hover {
  background: #0c2e8a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(80, 216, 175, 0.4);
}

.testimonial-author-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: auto;
  padding-top: 0;
  padding-bottom: 30px;
  flex-shrink: 0;
}

#testimonials .testimonial-item .testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #50d8af;
  display: block;
  box-shadow: 
    0 4px 15px rgba(80, 216, 175, 0.25),
    0 0 0 2px rgba(80, 216, 175, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  object-fit: cover;
  flex-shrink: 0;
}

#testimonials .testimonial-item:hover .testimonial-img {
  transform: scale(1.05);
  box-shadow: 
    0 6px 20px rgba(80, 216, 175, 0.35),
    0 0 0 3px rgba(80, 216, 175, 0.15);
  border-color: #50d8af;
}

.testimonial-author-info {
  text-align: left;
  flex: 1;
}

#testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: #333;
  font-family: "Raleway", sans-serif;
  transition: color 0.3s ease;
}

#testimonials .testimonial-item:hover h3 {
  color: #0c2e8a;
}

#testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #888;
  margin: 0 0 3px 0;
  font-weight: 500;
  font-style: italic;
}

.testimonial-company {
  font-size: 13px;
  color: #50d8af;
  margin: 0;
  font-weight: 600;
  font-style: italic;
  font-family: "Raleway", sans-serif;
}


@media (max-width: 767px) {
  #testimonials {
    padding: 60px 0;
  }
  
  #testimonials .testimonial-item {
    margin: 30px 10px;
    padding: 35px 25px 30px 25px;
  }
  
  .testimonial-quote-icon-large i {
    font-size: 36px;
  }
  
  .testimonial-text-wrapper p {
    font-size: 15px;
  }
  
  .testimonial-author-section {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .testimonial-author-info {
    text-align: center;
  }
  
  #testimonials .testimonial-item .testimonial-img {
    width: 70px;
    height: 70px;
  }
  
  #testimonials .testimonial-item h3 {
    font-size: 16px;
  }
  
  #testimonials .testimonial-item h4 {
    font-size: 13px;
  }
}

/* Call To Action Section
--------------------------------*/
#call-to-action {
  background: #081e5b;
  background-size: cover;
  padding: 40px 0;
}

#call-to-action .cta-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

#call-to-action .cta-text {
  color: #fff;
}

@media (min-width: 769px) {
  #call-to-action .cta-btn-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

#call-to-action .cta-btn {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 26px;
  border-radius: 3px;
  transition: 0.5s;
  margin: 10px;
  border: 3px solid #fff;
  color: #fff;
}

#call-to-action .cta-btn:hover {
  background: #50d8af;
  border: 3px solid #50d8af;
}

/* Our Team Section
--------------------------------*/
#team {
  background: #fff;
  padding: 30px 0 0 0;
}

#team .member {
  text-align: center;
  margin-bottom: 20px;
}

#team .member .pic {
  overflow: hidden;
  text-align: center;
}

#team .member .pic img {
  max-width: 100%;
}

#team .member .details {
  background: #50d8af;
  color: #fff;
  padding: 15px;
  border-radius: 0 0 3px 3px;
}

#team .member h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
}

#team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

#team .member .social {
  margin-top: 5px;
}

#team .member .social a {
  color: #fff;
}

#team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

/* Contact Section
--------------------------------*/
#contact {
  padding: 30px 0;
}

#contact .contact-info {
  margin-bottom: 20px;
  text-align: center;
}

#contact .contact-info i {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 10px;
  color: #50d8af;
}

#contact .contact-info address, #contact .contact-info p {
  margin-bottom: 0;
  color: #000;
}

#contact .contact-info h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  color: #999;
}

#contact .contact-info a {
  color: #000;
}

#contact .contact-info a:hover {
  color: #50d8af;
}

#contact .contact-address, #contact .contact-phone, #contact .contact-email {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  #contact .contact-address, #contact .contact-phone, #contact .contact-email {
    padding: 20px 0;
  }
}

@media (min-width: 768px) {
  #contact .contact-phone {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }
}

#contact #google-map {
  height: 290px;
  margin-bottom: 20px;
}

@media (max-width: 576px) {
  #contact #google-map {
    margin-top: 20px;
  }
}

#contact .form #sendmessage {
  color: #50d8af;
  border: 1px solid #50d8af;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#contact .form #errormessage {
  color: red;
  display: none;
  border: 1px solid red;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#contact .form #sendmessage.show, #contact .form #errormessage.show, #contact .form .show {
  display: block;
}

#contact .form .validation {
  color: red;
  display: none;
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 13px;
}

#contact .form input, #contact .form textarea {
  padding: 10px 14px;
  border-radius: 0;
  box-shadow: none;
  font-size: 15px;
}

#contact .form button[type="submit"] {
  background: #50d8af;
  border: 0;
  border-radius: 3px;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  cursor: pointer;
}

#contact .form button[type="submit"]:hover {
  background: #2dc899;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #f2f5f8;
  padding: 0 0 30px 0;
  font-size: 14px;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  text-align: center;
  font-size: 13px;
  color: #555;
}

#footer .credits a {
  color: #0c2e8a;
}

.card {
  transition: transform 0.3s ease;
  min-height: 350px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 5px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.mision, .vision, .valores {
    min-height: 350px;
}

.values-row {
    display: flex;
    flex-wrap: wrap;
}

.values-row .card {
    flex: 1 0 auto;
    min-height: 100%;
    margin: 10px;
}

@media (max-width: 768px) {
  .values-row .card {
    margin-bottom: 50px !important;
  }
}

@media (max-width: 768px) {
  .values-row > .col-lg-4 {
    margin-bottom: 50px;
  }
}

/*--------------------------------------------------------------
# Team Section Styles
--------------------------------------------------------------*/
#team {
  padding: 60px 0;
  background: #fff;
}

.team-member-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.team-member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(80, 216, 175, 0.2);
}

.team-member-image {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #f8f9fa;
  flex-shrink: 0;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member-card:hover .team-member-image img {
  transform: scale(1.1);
}

.team-member-banner {
  background: #ffffff;
  padding: 25px 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 200px;
  border-top: 4px solid #50d8af;
}

.team-member-banner h4 {
  font-size: 22px;
  font-weight: 700;
  color: #0c2e8a;
  margin: 0 0 8px 0;
  line-height: 1.2;
  font-family: "Raleway", sans-serif;
}

.team-member-position {
  display: block;
  font-size: 14px;
  color: #50d8af;
  font-weight: 600;
  margin-bottom: 15px;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-member-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 15px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 50%;
  color: #50d8af;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #e0e0e0;
}

.social-link:hover {
  background: #50d8af;
  transform: translateY(-3px) scale(1.1);
  border-color: #50d8af;
  color: #fff;
  box-shadow: 0 4px 12px rgba(80, 216, 175, 0.3);
}

.team-member-bio-wrapper {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  min-height: 80px;
}

.team-member-bio {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  text-align: left;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin: 0;
}

.team-member-bio[data-read-more].truncated {
  max-height: 50px;
  position: relative;
  display: block;
}

.team-member-bio[data-read-more].truncated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.98));
  pointer-events: none;
}

.team-member-bio-wrapper .read-more-btn {
  align-self: center;
  margin-top: 10px;
  padding: 6px 16px;
  background: #50d8af;
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(80, 216, 175, 0.3);
}

.team-member-bio-wrapper .read-more-btn:hover {
  background: #0c2e8a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(80, 216, 175, 0.4);
  color: #fff;
}

.team-member-bio p {
  margin: 0;
}

.team-member-bio ul,
.team-member-bio ol {
  margin-left: 20px;
  margin-bottom: 10px;
}

.team-member-bio li {
  margin-bottom: 5px;
}

@media (max-width: 991px) {
  .team-member-card {
    min-height: 500px;
  }
  
  .team-member-image {
    height: 280px;
  }
  
  .team-member-banner {
    padding: 20px 15px;
    min-height: 220px;
  }
}

@media (max-width: 767px) {
  .team-member-card {
    min-height: 480px;
  }
  
  .team-member-image {
    height: 250px;
  }
  
  .team-member-banner {
    padding: 20px 15px;
    min-height: 230px;
  }
  
  .team-member-banner h4 {
    font-size: 20px;
  }
  
  .team-member-position {
    font-size: 13px;
  }
  
  .social-link {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .team-member-bio-wrapper {
    min-height: 70px;
  }
}

/*--------------------------------------------------------------
# Services Section Styles
--------------------------------------------------------------*/
#services {
  padding: 60px 0;
  background: #fff;
}

.service-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-height: 350px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #50d8af 0%, #a3ebd5 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 40px rgba(80, 216, 175, 0.2);
  border-color: #50d8af;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-hover-effect {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(80, 216, 175, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover .service-hover-effect {
  opacity: 1;
}

.service-icon-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #50d8af 0%, #a3ebd5 100%);
  border-radius: 20px;
  transform: rotate(-5deg);
  transition: transform 0.4s ease;
  opacity: 0.1;
}

.service-card:hover .service-icon-bg {
  transform: rotate(5deg) scale(1.1);
  opacity: 0.15;
}

.service-icon {
  position: relative;
  font-size: 48px;
  color: #50d8af;
  z-index: 1;
  transition: all 0.4s ease;
  background: linear-gradient(135deg, #50d8af 0%, #a3ebd5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(5deg);
  background: linear-gradient(135deg, #0c2e8a 0%, #50d8af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-content {
  flex-grow: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  color: #444;
  margin-bottom: 15px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: #0c2e8a;
}

.service-description-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-description {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  text-align: left;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.service-description[data-read-more].truncated {
  max-height: 90px;
  position: relative;
}

.service-description[data-read-more].truncated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95));
  pointer-events: none;
  z-index: 1;
}

.service-description-wrapper .read-more-btn {
  align-self: flex-start;
  margin-top: 12px;
  padding: 6px 16px;
  background: #50d8af;
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(80, 216, 175, 0.3);
  position: relative;
  z-index: 2;
}

.service-description-wrapper .read-more-btn span {
  display: inline;
}

.service-description-wrapper .read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(80, 216, 175, 0.4);
  background: #0c2e8a;
}

.service-description p {
  margin-bottom: 12px;
}

.service-description p:last-child {
  margin-bottom: 0;
}

.service-description ul,
.service-description ol {
  margin-left: 20px;
  margin-bottom: 12px;
  padding-left: 0;
}

.service-description li {
  margin-bottom: 8px;
}

.service-description strong {
  font-weight: 700;
  color: #444;
}

.service-description a {
  color: #50d8af;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-description a:hover {
  color: #0c2e8a;
  text-decoration: underline;
}

.service-description h1,
.service-description h2,
.service-description h3,
.service-description h4,
.service-description h5,
.service-description h6 {
  margin-top: 15px;
  margin-bottom: 10px;
  color: #444;
  font-weight: 700;
}

.service-description h1 { font-size: 20px; }
.service-description h2 { font-size: 18px; }
.service-description h3 { font-size: 16px; }
.service-description h4 { font-size: 15px; }
.service-description h5 { font-size: 14px; }
.service-description h6 { font-size: 13px; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .service-card {
    padding: 35px 25px;
  }
  
  .service-icon-wrapper {
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
  }
  
  .service-icon {
    font-size: 42px;
  }
}

@media (max-width: 767px) {
  .service-card {
    padding: 30px 20px;
    margin-bottom: 30px;
  }
  
  .service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  
  .service-icon {
    font-size: 36px;
  }
  
  .service-title {
    font-size: 20px;
  }
  
  .service-description {
    font-size: 13px;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Events Section Styles
--------------------------------------------------------------*/
#events {
  padding: 60px 0;
  background: #f8f9fa;
}

#links {
  padding: 60px 0;
  background: #f8f9fa;
}

#exchange-rates {
  padding: 60px 0;
  background: #f8f9fa;
}

#exchange-rates .table {
  width: 100%;
  margin-bottom: 0;
  background: #fff;
  border-collapse: collapse;
}

#exchange-rates .table thead {
  background: linear-gradient(135deg, #0c2e8a 0%, #1a4db8 100%);
  color: #fff;
}

#exchange-rates .table thead th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  border-bottom: 3px solid #50d8af;
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
}

#exchange-rates .table tbody tr {
  background: #fff;
  border-bottom: 1px solid #e9e9e9;
  transition: all 0.3s ease;
}

#exchange-rates .table tbody tr:nth-child(even) {
  background: #f8f9fa;
}

#exchange-rates .table tbody tr:hover {
  background: linear-gradient(90deg, #e3f2fd 0%, #f0f8ff 100%);
  cursor: pointer;
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(12, 46, 138, 0.1);
}

#exchange-rates .table tbody td {
  padding: 15px;
  color: #333;
  vertical-align: middle;
  border-bottom: 1px solid #e9e9e9;
  font-weight: 500;
}

#exchange-rates .badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#exchange-rates .badge-primary {
  background: linear-gradient(135deg, #0c2e8a 0%, #1a4db8 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#exchange-rates .badge-success {
  background: linear-gradient(135deg, #50d8af 0%, #3bc99a 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#exchange-rates .badge-info {
  background: linear-gradient(135deg, #17a2b8 0%, #2bb8d0 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Calculadora de Tipo de Cambio */
#exchange-rates .input-group-addon {
  background: linear-gradient(135deg, #0c2e8a 0%, #1a4db8 100%);
  color: #fff;
  border: 1px solid #0c2e8a;
  padding: 10px 15px;
  font-weight: 700;
  font-size: 14px;
  min-width: 80px;
  text-align: center;
}

#exchange-rates .input-group .form-control {
  border-left: none;
  border-color: #ddd;
  padding: 10px 15px;
  font-size: 16px;
}

#exchange-rates .input-group .form-control:focus {
  border-color: #0c2e8a;
  box-shadow: 0 0 0 0.2rem rgba(12, 46, 138, 0.25);
  outline: none;
}

#exchange-rates .input-group .form-control[readonly] {
  background: #f8f9fa;
  cursor: not-allowed;
}

/* Calculadora mejorada */
#exchange-rates .exchange-rate-badge {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

#exchange-rates #swap-button {
  transition: transform 0.3s ease;
}

#exchange-rates #swap-button:hover {
  transform: rotate(180deg);
}

#exchange-rates .quick-amount {
  transition: all 0.3s ease;
  border-radius: 20px;
}

#exchange-rates .quick-amount:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(12, 46, 138, 0.2);
}

#exchange-rates #amount-input {
  font-size: 18px;
  font-weight: 600;
  text-align: right;
}

#exchange-rates #result-output {
  font-size: 18px;
  font-weight: 600;
  text-align: right;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#exchange-rates #from-currency {
  font-weight: 600;
  background: linear-gradient(135deg, #0c2e8a 0%, #1a4db8 100%);
  color: #fff;
  border: none;
  cursor: pointer;
}

#exchange-rates #from-currency option {
  background: #fff;
  color: #333;
}

/* Calculadora UDI */
#exchange-rates #udi-from-currency {
  font-weight: 600;
  background: linear-gradient(135deg, #50d8af 0%, #3bc99a 100%);
  color: #fff;
  border: none;
  cursor: pointer;
}

#exchange-rates #udi-from-currency option {
  background: #fff;
  color: #333;
}

#exchange-rates #udi-swap-button {
  transition: transform 0.3s ease;
}

#exchange-rates #udi-swap-button:hover {
  transform: rotate(180deg);
}

#exchange-rates .udi-quick-amount {
  transition: all 0.3s ease;
  border-radius: 20px;
}

#exchange-rates .udi-quick-amount:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(80, 216, 175, 0.2);
}

#exchange-rates #udi-amount-input {
  font-size: 18px;
  font-weight: 600;
  text-align: right;
}

#exchange-rates #udi-result-output {
  font-size: 18px;
  font-weight: 600;
  text-align: right;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Ocultar spinners de inputs number */
#exchange-rates input[type="number"]::-webkit-inner-spin-button,
#exchange-rates input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#exchange-rates input[type="number"] {
  -moz-appearance: textfield;
}

/* Alertas y validación */
#exchange-rates .alert {
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 20px;
}

#exchange-rates .alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

#exchange-rates .form-control.is-invalid {
  border-color: #dc3545;
}

#exchange-rates .invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 5px;
  font-size: 13px;
  color: #dc3545;
}

.event-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-height: 500px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

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

.event-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #50d8af 0%, #a3ebd5 100%);
}

.event-image-placeholder i {
  font-size: 64px;
  color: rgba(255, 255, 255, 0.3);
}

.event-date-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  min-width: 60px;
}

.event-day {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #0c2e8a;
  line-height: 1;
}

.event-month {
  display: block;
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.event-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.event-title {
  font-size: 22px;
  font-weight: 700;
  color: #444;
  margin-bottom: 15px;
  line-height: 1.3;
}

.event-description-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.event-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.event-description[data-read-more].truncated {
  max-height: 80px;
  position: relative;
}

.event-description[data-read-more].truncated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95));
  pointer-events: none;
}

.event-description-wrapper .read-more-btn {
  align-self: flex-start;
  margin-top: 10px;
  padding: 6px 16px;
  background: #50d8af;
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(80, 216, 175, 0.3);
}

.event-description-wrapper .read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(80, 216, 175, 0.4);
  background: #0c2e8a;
}

.event-description p {
  margin-bottom: 10px;
}

.event-description p:last-child {
  margin-bottom: 0;
}

.event-additional-info {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.event-additional-info p {
  margin-bottom: 8px;
}

.event-additional-info p:last-child {
  margin-bottom: 0;
}

.event-details {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.event-detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 13px;
  color: #666;
}

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

.event-detail-item i {
  color: #50d8af;
  margin-right: 10px;
  margin-top: 3px;
  min-width: 16px;
  font-size: 14px;
}

.event-detail-item.event-address {
  font-size: 12px;
  color: #888;
}

.event-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.event-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.event-btn i {
  margin-right: 6px;
}

.event-btn-email {
  background: linear-gradient(135deg, #50d8af 0%, #a3ebd5 100%);
  color: #fff;
}

.event-btn-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(80, 216, 175, 0.4);
  color: #fff;
}

.event-btn-phone {
  background: #fff;
  color: #50d8af;
  border-color: #50d8af;
}

.event-btn-phone:hover {
  background: #50d8af;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(80, 216, 175, 0.3);
}

.event-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.event-empty-state i {
  color: #ddd;
  margin-bottom: 20px;
}

.event-empty-state h3 {
  font-size: 24px;
  color: #444;
  margin-bottom: 10px;
}

.event-empty-state p {
  color: #666;
  font-size: 14px;
}

@media (max-width: 767px) {
  .event-card {
    margin-bottom: 30px;
  }
  
  .event-actions {
    flex-direction: column;
  }
  
  .event-btn {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Mission Vision Values Section Styles
--------------------------------------------------------------*/
#mission-vision-values {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.mvv-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  text-align: center;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.mvv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.mvv-mission::before {
  background: linear-gradient(90deg, #50d8af 0%, #a3ebd5 100%);
}

.mvv-vision::before {
  background: linear-gradient(90deg, #0c2e8a 0%, #50d8af 100%);
}

.mvv-values::before {
  background: linear-gradient(90deg, #ff6b6b 0%, #ffa8a8 100%);
}

.mvv-card:hover::before {
  transform: scaleX(1);
}

.mvv-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mvv-mission:hover {
  border-color: #50d8af;
}

.mvv-vision:hover {
  border-color: #0c2e8a;
}

.mvv-values:hover {
  border-color: #ff6b6b;
}

.mvv-hover-effect {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.mvv-mission .mvv-hover-effect {
  background: radial-gradient(circle, rgba(80, 216, 175, 0.1) 0%, transparent 70%);
}

.mvv-vision .mvv-hover-effect {
  background: radial-gradient(circle, rgba(12, 46, 138, 0.1) 0%, transparent 70%);
}

.mvv-values .mvv-hover-effect {
  background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
}

.mvv-card:hover .mvv-hover-effect {
  opacity: 1;
}

.mvv-icon-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mvv-icon-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  transform: rotate(-5deg);
  transition: transform 0.4s ease;
  opacity: 0.1;
}

.mvv-mission .mvv-icon-bg {
  background: linear-gradient(135deg, #50d8af 0%, #a3ebd5 100%);
}

.mvv-vision .mvv-icon-bg {
  background: linear-gradient(135deg, #0c2e8a 0%, #50d8af 100%);
}

.mvv-values .mvv-icon-bg {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa8a8 100%);
}

.mvv-card:hover .mvv-icon-bg {
  transform: rotate(5deg) scale(1.1);
  opacity: 0.15;
}

.mvv-icon {
  position: relative;
  font-size: 48px;
  z-index: 1;
  transition: all 0.4s ease;
}

.mvv-mission .mvv-icon {
  color: #50d8af;
  background: linear-gradient(135deg, #50d8af 0%, #a3ebd5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mvv-vision .mvv-icon {
  color: #0c2e8a;
  background: linear-gradient(135deg, #0c2e8a 0%, #50d8af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mvv-values .mvv-icon {
  color: #ff6b6b;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa8a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mvv-card:hover .mvv-icon {
  transform: scale(1.15) rotate(5deg);
}

.mvv-content {
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.mvv-title {
  font-size: 24px;
  font-weight: 700;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.mvv-mission:hover .mvv-title {
  color: #50d8af;
}

.mvv-vision:hover .mvv-title {
  color: #0c2e8a;
}

.mvv-values:hover .mvv-title {
  color: #ff6b6b;
}

.mvv-description {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  margin: 0;
}

.mvv-card:nth-child(1) { animation-delay: 0.1s; }
.mvv-card:nth-child(2) { animation-delay: 0.2s; }
.mvv-card:nth-child(3) { animation-delay: 0.3s; }

@media (max-width: 991px) {
  .mvv-card {
    padding: 35px 25px;
  }
  
  .mvv-icon-wrapper {
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
  }
  
  .mvv-icon {
    font-size: 42px;
  }
}

@media (max-width: 767px) {
  .mvv-card {
    padding: 30px 20px;
    margin-bottom: 30px;
  }
  
  .mvv-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  
  .mvv-icon {
    font-size: 36px;
  }
  
  .mvv-title {
    font-size: 22px;
  }
  
  .mvv-description {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Clients Section Styles
--------------------------------------------------------------*/
#clients {
  padding: 30px 0;
  background: #fff;
}

#clients img {
  max-width: 100%;
  opacity: 0.5;
  transition: 0.3s;
  padding: 15px 0;
  filter: grayscale(100%);
}

#clients img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.client-item {
  text-align: center;
  padding: 10px;
}


@media (max-width: 767px) {
  #clients img {
    padding: 10px 0;
  }
}

/*--------------------------------------------------------------
# Portfolio Section Styles
--------------------------------------------------------------*/
#portfolio {
  padding: 60px 0;
  background: #fff;
}

.portfolio-grid {
  margin: 0 -15px;
}

.portfolio-item-wrapper {
  padding: 15px;
  margin-bottom: 30px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: #fff;
  height: 100%;
  min-height: 350px;
}

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

.portfolio-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #f5f5f5;
}

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

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(12, 46, 138, 0.95) 0%, rgba(80, 216, 175, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  padding: 30px;
}

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

.portfolio-content {
  text-align: center;
  color: #fff;
  transform: translateY(15px);
  transition: transform 0.4s ease 0.1s;
}

.portfolio-item:hover .portfolio-content {
  transform: translateY(0);
}

.portfolio-icon {
  font-size: 42px;
  margin-bottom: 15px;
  color: #fff;
  opacity: 0.95;
}

.portfolio-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.portfolio-content p {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.9;
  margin: 0;
  font-weight: 500;
}

.portfolio-popup {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

@media (max-width: 991px) {
  .portfolio-item {
    min-height: 320px;
  }
  
  .portfolio-image {
    height: 220px;
  }
}

@media (max-width: 767px) {
  .portfolio-item-wrapper {
    margin-bottom: 20px;
  }
  
  .portfolio-item {
    min-height: 280px;
  }
  
  .portfolio-image {
    height: 180px;
  }
  
  .portfolio-content h3 {
    font-size: 20px;
  }
  
  .portfolio-icon {
    font-size: 36px;
    margin-bottom: 12px;
  }
}

/*--------------------------------------------------------------
# Magnific Popup Custom Styles
--------------------------------------------------------------*/
/* Background overlay */
.mfp-bg {
  background: rgba(0, 0, 0, 0.9) !important;
  opacity: 1 !important;
}

/* Container */
.mfp-container {
  padding: 20px;
}

/* Content wrapper */
.mfp-wrap {
  z-index: 1043;
}

/* Image container */
.mfp-figure {
  background: transparent;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  overflow: visible;
  max-width: 90vw;
  max-height: calc(90vh - 80px);
  margin-bottom: 60px;
  position: relative;
}

.mfp-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(90vh - 80px);
  margin: 0 auto;
  border-radius: 12px;
}

/* Close button */
.mfp-close,
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  position: absolute !important;
  right: 20px !important;
  top: 20px !important;
  text-decoration: none;
  text-align: center;
  opacity: 0.9;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  border-radius: 50% !important;
  color: #fff !important;
  font-size: 28px !important;
  font-weight: 300;
  transition: opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease !important;
  z-index: 1047 !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  pointer-events: auto !important;
  -webkit-tap-highlight-color: transparent;
}

.mfp-close:hover,
.mfp-close:focus {
  opacity: 1 !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.mfp-close:active {
  top: 20px !important;
  position: absolute !important;
}

/* Title */
.mfp-title {
  text-align: center;
  padding: 15px 20px;
  margin: 20px auto 0;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(12, 46, 138, 0.95) 0%, rgba(80, 216, 175, 0.95) 100%);
  position: relative;
  max-width: 90vw;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Navigation arrows - hidden */
.mfp-arrow,
.mfp-container .mfp-arrow {
  display: none !important;
}

/* Loading spinner */
.mfp-preloader {
  color: #50d8af;
  font-size: 24px;
}

/* Counter */
.mfp-counter {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1044;
}

/* Fade animation */
.mfp-fade.mfp-bg {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.9;
}

.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

/* Dark mode styles */
body.dark-mode .mfp-bg {
  background: rgba(0, 0, 0, 0.95) !important;
}

body.dark-mode .mfp-figure {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

body.dark-mode .mfp-close {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .mfp-close:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .mfp-arrow {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .mfp-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .mfp-counter {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 767px) {
  .mfp-container {
    padding: 10px;
  }
  
  .mfp-figure {
    max-width: 95vw;
    max-height: calc(85vh - 80px);
    margin-bottom: 50px;
  }
  
  .mfp-figure img {
    max-height: calc(85vh - 80px);
  }
  
  .mfp-close,
  .mfp-image-holder .mfp-close {
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 24px !important;
    right: 10px !important;
    top: 10px !important;
  }
  
  .mfp-close:active {
    top: 10px !important;
  }
  
  /* Arrows are hidden */
  
  .mfp-counter {
    top: 10px;
    left: 10px;
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .mfp-title {
    font-size: 16px;
    padding: 12px 15px;
    margin-top: 15px;
    max-width: 95vw;
  }
}

/*--------------------------------------------------------------
# Navigation Menu Component Styles
--------------------------------------------------------------*/
.language-switcher-menu-item {
  margin-left: 5px;
}

.language-switcher-menu-item .language-switcher-btn-public {
  padding: 10px 22px 10px 12px;
  color: #555;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: 0.3s;
  display: inline-block;
  text-decoration: none;
  position: relative;
  line-height: 1;
}

.language-switcher-menu-item .language-switcher-btn-public .language-flag {
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

.language-switcher-menu-item .language-switcher-btn-public.sf-with-ul:after {
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
}

.language-switcher-menu-item.sfHover .language-switcher-btn-public.sf-with-ul:after {
  transform: translateY(-50%) rotate(180deg);
}

.language-switcher-menu-item:hover .language-switcher-btn-public,
.language-switcher-menu-item.menu-active .language-switcher-btn-public {
  color: #50d8af;
}

.language-switcher-menu-item .language-menu-public {
  right: 0;
  left: auto;
  z-index: 9999;
}

.language-switcher-menu-item .language-option-public {
  padding: 10px 20px;
  color: #333;
  transition: 0.3s;
  display: block;
  font-size: 13px;
  text-transform: none;
  text-decoration: none;
}

.language-switcher-menu-item .language-option-public:hover {
  color: #50d8af;
  background-color: #f8f9fa;
  transform: none;
}

.language-switcher-menu-item .language-option-public.active {
  color: #50d8af;
  background-color: #f8f9fa;
}

@media (max-width: 910px) {
  /* Hide language switcher in desktop nav, but show in mobile nav */
  #nav-menu-container .language-switcher-menu-item {
    display: none;
  }
  
  /* Show language switcher in mobile nav */
  #mobile-nav .language-switcher-menu-item {
    display: block !important;
  }
}

.logo-menu-item {
  margin-right: 20px;
  margin-left: 0 !important;
  float: left;
}

.logo-menu-item .logo-link {
  padding: 0 !important;
  line-height: 1;
  display: block;
}

.logo-menu-item .logo-link h1 {
  font-size: 42px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #0c2e8a;
}

.logo-menu-item .logo-link h1 span {
  color: #50d8af;
}

.logo-menu-item .logo-link:hover {
  text-decoration: none;
}

.logo-menu-item .logo-link:hover h1 {
  color: #0c2e8a;
}

@media (max-width: 1200px) and (min-width: 769px) {
  .logo-menu-item {
    margin-right: 15px;
    float: left;
  }
  
  .logo-menu-item .logo-link h1 {
    font-size: 36px;
  }
}

@media (max-width: 910px) {
  /* Logo visible in header on mobile - override any hiding rules */
  #header #nav-menu-container .nav-menu > .logo-menu-item {
    display: block !important;
    visibility: visible !important;
    margin: 0 !important;
    float: left !important;
    opacity: 1 !important;
  }
  
  #header #nav-menu-container .nav-menu > .logo-menu-item .logo-link {
    display: block !important;
  }
  
  #header #nav-menu-container .nav-menu > .logo-menu-item .logo-link h1 {
    font-size: 28px !important;
    color: #0c2e8a !important;
    display: block !important;
    visibility: visible !important;
  }
  
  #header #nav-menu-container .nav-menu > .logo-menu-item .logo-link h1 span {
    color: #50d8af !important;
  }
  
  /* Logo hidden in mobile nav menu */
  #mobile-nav .logo-menu-item {
    display: none !important;
  }
  
  /* Language switcher in mobile nav - convert to menu item */
  #mobile-nav .language-switcher-menu-item {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  #mobile-nav .language-switcher-menu-item .language-switcher-btn-public {
    display: block !important;
    width: 100% !important;
    padding: 12px 22px 12px 15px !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    border: none !important;
    background: transparent !important;
    text-align: left !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  #mobile-nav .language-switcher-menu-item .language-switcher-btn-public .language-flag {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 20px !important;
    margin-right: 10px !important;
  }
  
  #mobile-nav .language-switcher-menu-item .language-switcher-btn-public:hover {
    color: #50d8af;
    background: rgba(80, 216, 175, 0.1);
  }
  
  #mobile-nav .language-switcher-menu-item .language-flag {
    font-size: 20px;
    margin-right: 10px;
  }
  
  #mobile-nav .language-switcher-menu-item .language-menu-public {
    position: static;
    display: none;
    background: #f8f9fa;
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
  }
  
  #mobile-nav .language-switcher-menu-item .language-menu-public li {
    padding: 0;
  }
  
  #mobile-nav .language-switcher-menu-item .language-option-public {
    display: block;
    padding: 10px 22px 10px 40px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
  }
  
  #mobile-nav .language-switcher-menu-item .language-option-public:hover {
    color: #50d8af;
    background: rgba(80, 216, 175, 0.1);
  }
  
  #mobile-nav .language-switcher-menu-item .language-option-public.active {
    color: #50d8af;
    background: rgba(80, 216, 175, 0.15);
  }
  
  /* Dark mode toggle in mobile nav - convert to menu item */
  #mobile-nav .dark-mode-toggle-menu-item {
    margin: 0;
    padding: 0;
    display: block;
  }
  
  #mobile-nav .dark-mode-toggle-menu-item .dark-mode-toggle {
    display: block;
    width: 100%;
    padding: 12px 22px 12px 15px;
    color: #333;
    text-align: left;
    border: none;
    background: transparent;
    border-radius: 0;
    font-size: 16px;
    justify-content: flex-start;
  }
  
  #mobile-nav .dark-mode-toggle-menu-item .dark-mode-toggle:hover {
    color: #50d8af;
    background: rgba(80, 216, 175, 0.1);
    transform: none;
  }
  
  #mobile-nav .dark-mode-toggle-menu-item .dark-mode-toggle i {
    margin-right: 10px;
    font-size: 18px;
  }
  
  #mobile-nav .dark-mode-toggle-menu-item .dark-mode-toggle .dark-mode-text {
    display: inline;
    font-size: 16px;
  }
  
}

/*--------------------------------------------------------------
# Dark Mode Toggle Component Styles
--------------------------------------------------------------*/
.dark-mode-toggle-menu-item {
  margin-left: 5px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hide dark mode text in desktop nav by default */
.dark-mode-toggle .dark-mode-text {
  display: none;
}

.dark-mode-toggle {
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #555;
  font-size: 16px;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.dark-mode-toggle i {
  position: relative;
  z-index: 3;
}

.dark-mode-toggle:hover {
  background: #f5f5f5;
  border-color: #50d8af;
  color: #50d8af;
  transform: scale(1.1);
}

body.dark-mode .dark-mode-toggle {
  border-color: #555;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .dark-mode-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #50d8af;
  color: #50d8af;
}

body.dark-mode .dark-mode-toggle-menu-item:hover .dark-mode-toggle {
  border-color: #50d8af;
  color: #50d8af;
}

@media (max-width: 910px) {
  /* Hide dark mode toggle in desktop nav on mobile */
  #nav-menu-container .dark-mode-toggle-menu-item {
    display: none;
  }
  
  /* Show dark mode toggle in mobile nav */
  #mobile-nav .dark-mode-toggle-menu-item {
    display: block !important;
  }
}

/*--------------------------------------------------------------
# Language Switcher Component Styles
--------------------------------------------------------------*/
.language-switcher {
  position: relative !important;
}

.language-switcher-btn {
  transition: all 0.2s ease;
  cursor: pointer;
  min-width: 120px;
}

.language-switcher-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-menu {
  position: absolute !important;
  z-index: 99999 !important;
  animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.language-option {
  transition: all 0.15s ease;
  cursor: pointer;
  border-left: 3px solid transparent;
  margin: 0 4px;
  border-radius: 6px;
}

.language-option:hover {
  border-left-color: #6366f1;
  background-color: #eef2ff !important;
}

.dark .language-option:hover {
  background-color: #374151 !important;
  border-left-color: #818cf8;
}

.language-option.active {
  background-color: #f3f4f6;
  font-weight: 600;
  border-left-color: #6366f1;
  color: #6366f1;
}

.dark .language-option.active {
  background-color: #374151;
  color: #818cf8;
  border-left-color: #818cf8;
}

.language-option.active:hover {
  background-color: #eef2ff !important;
}

.dark .language-option.active:hover {
  background-color: #4b5563 !important;
}

/*--------------------------------------------------------------
# Language Switcher Auth Component Styles
--------------------------------------------------------------*/
.language-switcher-auth {
  position: relative !important;
}

.language-menu-auth {
  position: absolute !important;
  z-index: 99999 !important;
  animation-duration: 0.2s;
  animation-fill-mode: forwards;
  transform-origin: top right;
}

.animate-fade-in-down {
  animation-name: fadeInDown;
}

.language-option-auth {
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.language-option-auth:hover {
  transform: translateX(4px);
}

.language-option-auth.active {
  background-color: #f3f4f6;
  font-weight: 600;
}

.dark .language-option-auth.active {
  background-color: #374151;
}

/*--------------------------------------------------------------
# Link Card Component Styles
--------------------------------------------------------------*/
.link-card,
#links .link-card {
  position: relative !important;
  display: block !important;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100% !important;
  min-height: 300px !important;
  text-decoration: none;
  background: #f8f9fa;
}

.link-card:hover,
#links .link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  text-decoration: none;
}

.link-image,
#links .link-image {
  width: 100% !important;
  height: 100% !important;
  min-height: 300px !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.3s ease;
}

.link-card:hover .link-image,
#links .link-card:hover .link-image {
  transform: scale(1.05);
}

.link-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.link-image-placeholder i {
  font-size: 4rem;
  color: rgba(255,255,255,0.5);
}

.link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
}

.link-card:hover .link-overlay {
  opacity: 1;
}

.link-overlay-content {
  text-align: center;
  color: #fff;
  width: 100%;
}

.link-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
}

.link-description {
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.5;
}

.link-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #667eea;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.link-btn:hover {
  background: #764ba2;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.5);
}

.link-btn i {
  margin-right: 5px;
}


