/*-----------------------------------*\
 * #CUSTOM PROPERTY
\*-----------------------------------*/
/* #f1f3f6 */
:root {
  --primary-color: #2a2e53;
  --accent-color: #ed3623cc;
  --text-dark: #333333;
  --text-light: #888888;
  --background-light: #F1F3F6;
  --background-white: #ffffff;
  --btn-primary: #F8F9FA;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
  --background-light-dark: rgb(245, 245, 245);
  --transition-speed: 250ms;
}

/*-----------------------------------*\
 * #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-white);
}


h1, h2, h3 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/*-----------------------------------*\
 * #REUSABLE COMPONENTS
\*-----------------------------------*/

.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  border-radius: 5px;
  font-weight: 700;
  text-align: center;
  transition: background-color var(--transition-speed) ease,
              transform var(--transition-speed) ease;
}

.btn--primary {
  background-color: var(--primary-color);
  color: var(--background-white);
  border-radius: 50px;
  padding: 0.75em 2em;
  box-shadow: 0 4px 12px rgba(13, 44, 84, 0.2);
}

.btn--primary:hover {
  background-color: #091e3a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 44, 84, 0.25);
}

.btn--accent {
  background-color: var(--accent-color);
  color: var(--btn-primary);
}

.btn--accent:hover {
  background-color: #c8935a;
  transform: translateY(-2px);
}

.btn--secondary {
    background-color: var(--background-light);
    color: var(--primary-color);
    border: 1px solid #e0e0e0;
}

.btn--secondary:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.btn--link {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 700;
    padding: 0;
    text-decoration: underline;
    cursor: pointer;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/*-----------------------------------*\
 * #TOP BAR
\*-----------------------------------*/
.top-bar {
    background-color: var(--primary-color);
    color: var(--background-white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.top-bar__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar__contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--background-white);
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease;
}

.top-bar__link:hover {
    opacity: 1;
}

.top-bar__actions {
    display: none; /* Hidden on mobile */
}


/*-----------------------------------*\
 * #HEADER
\*-----------------------------------*/

.header {
  background: var(--background-white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__item--dropdown {
  position: static; /* Allow dropdown to position relative to viewport */
}

.nav__link {
  font-weight: 700;
  color: var(--primary-color);
  transition: color var(--transition-speed) ease;
  position: relative;
  padding-bottom: 0.5rem;
}

.nav__link:hover {
  color: var(--accent-color);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform var(--transition-speed) ease-out;
}

.nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 63px; /* Matches header height */
  left: 0;
  width: 100%;
  background-color: var(--background-white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 1.2rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--transition-speed) ease,
              visibility var(--transition-speed) ease,
              transform var(--transition-speed) ease;
}


.dropdown-menu .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.dropdown-menu__list {
  flex: 4; /* Takes up 3/4 of the space */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem 1.5rem;
}

.dropdown-menu__item {
  break-inside: avoid-column;
}

.dropdown-menu__link {
  display: block;
  padding: 0.25rem 0.5rem; /* Reduced padding */
  color: var(--text-dark);
  font-weight: 400;
  border-radius: 4px;
  transition: background-color var(--transition-speed) ease,
              color var(--transition-speed) ease;
  font-size: 0.9rem;
}

.dropdown-arrow {
  font-size: 0.7em;
  margin-left: 0.25rem;
  display: inline-block;
  transition: transform var(--transition-speed) ease;
}

.nav__item--dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem; /* Reduced vertical padding */
  color: var(--text-dark);
  font-weight: 400;
  border-radius: 4px;
  transition: background-color var(--transition-speed) ease,
              color var(--transition-speed) ease,
              padding-left var(--transition-speed) ease;
  position: relative;
  font-size: 0.9rem;
}

.dropdown-menu__link::before {
  content: '';
  display: inline-block;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity var(--transition-speed) ease,
              transform var(--transition-speed) ease;
  color: var(--accent-color);
}

.dropdown-menu__link:hover {
  background-color: var(--background-light);
  color: var(--primary-color);
  padding-left: 1.5rem;
}

.dropdown-menu__link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.dropdown-menu__cta {
  flex: 1; /* Takes up 1/4 of the space */
  background-color: var(--background-light);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.dropdown-menu__education_item{
  background-color: var(--background-light);
  padding: 1.5rem;
  border-radius: 8px;
  display: inline-block;
  text-align: center;
}

.cta-text {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5em;
  z-index: 1000;
}

.hamburger {
  display: block;
  position: relative;
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: transform var(--transition-speed) ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  transition: transform var(--transition-speed) ease,
              top var(--transition-speed) ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.nav-open .hamburger {
  transform: rotate(45deg);
}

.nav-open .hamburger::before {
  top: 0;
  transform: rotate(90deg);
}

.nav-open .hamburger::after {
  top: 0;
  transform: rotate(90deg);
  opacity: 0;
}


/* Mobile Nav Menu */
.nav {
  display: none;
  position: fixed;
  top: 73px; /* Header height */
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--primary-color);
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 2rem;
}

.nav-open .nav {
  display: flex;
}

.nav-open .nav__list {
  flex-direction: column;
  text-align: center;
}

.nav-open .nav__link {
  color: var(--background-white);
  font-size: 1.5rem;
}

.nav-open .nav__item--dropdown .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background: rgba(0,0,0,0.2);
    box-shadow: none;
    padding: 0.5rem 0;
    border-radius: 8px;
    margin-top: 0.5rem;
    position: static;
}

.nav-open .nav__item--dropdown.open .dropdown-menu {
    max-height: 100vh; /* Animate open */
}

.nav-open .dropdown-menu .container {
    display: block;
    padding: 0;
}

.nav-open .dropdown-menu__list {
    display: block;
    grid-template-columns: 1fr;
    padding: 0 1rem;
}

.nav-open .dropdown-menu__link {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    color: var(--background-light);
}

.nav-open .dropdown-menu__cta {
    display: none; /* Hide CTA on mobile dropdown for simplicity */
}

/*-----------------------------------*\
 * #HERO
\*-----------------------------------*/

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 7rem; /* Header height */
  padding-bottom: 5rem;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
}

.hero__content {
  position: relative;
}

.hero__text {
  max-width: 650px;
}

.hero__title {
  color: var(--background-white);
  margin-bottom: 1rem;
}

.hero__subtitle {
  max-width: 600px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__cta {
  margin-top: 2rem;
}

.hero__apps {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

.app-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 1.5rem;
  color: var(--background-white);
  transition: background-color var(--transition-speed) ease,
              transform var(--transition-speed) ease;
}

.app-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.app-card__arrow {
  font-size: 1.5rem;
  transition: transform var(--transition-speed) ease;
}

.app-card:hover .app-card__arrow {
  transform: translateX(5px);
}

.app-card__title {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  color: var(--background-white);
  margin-bottom: 0.5rem;
}

.app-card__text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/*-----------------------------------*\
 * #PROBIND
\*-----------------------------------*/

.probind {
  padding-block: 3rem; /* Reduced from 5rem */
  background-color: #eff8ff6b;
}

.probind__header {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-bottom: 3rem;
  gap: 1rem;
}

.probind__header .section-title {
  text-align: left;
  margin-bottom: 0;
}

.probind__subtitle {
  max-width: 450px;
  color: var(--text-light);
}

.probind__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.probind-card {
  padding: 2rem;
  padding-bottom: 6rem; /* Add padding to avoid text overlapping icon */
  text-align: left;
  background: var(--background-white);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.probind-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%);
  transform: rotate(30deg);
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  opacity: 0;
}

.probind-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  z-index: 10;
}

.probind-card:hover::before {
  opacity: 1;
  top: -30%;
  left: -30%;
}


.probind-card__icon {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  height: 80px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fde8e5;
  border-radius: 50%;
}

.probind-card__icon img {
  height: 40px;
  width: 40px;
}

.probind-card__title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.probind-card__text {
  color: var(--text-light);
  line-height: 1.7;
}

/*-----------------------------------*\
 * #SERVICES
\*-----------------------------------*/

.services {
    padding-block: 3rem; /* Reduced from 5rem */
    background-color: #f0f8ff;
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.carousel-navigation {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.services-header__text .section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.services-header__text p {
    max-width: 600px;
    padding-top: 0.5rem;
    color: var(--text-light);
}

.carousel-container {
    position: relative;
    overflow: hidden; /* Prevent horizontal scroll */
    background-color: #f0f8ff;
}

.services-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.service-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 0.75rem;
    box-sizing: border-box;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.service-card__image {
    width: 100%;
    height: 350px; /* Increased height */
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 0.8rem;
}

.service-card__content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--background-white);
    transition: background-color var(--transition-speed) ease;
}

.service-card:hover .service-card__content {
    background: rgba(255, 255, 255, 0.2);
}

.service-card__title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--background-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-card__text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arrow-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .arrow-icon {
    transform: translateX(5px);
}

.carousel-button {
    background-color: #fde8e5;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
}

.carousel-button:hover {
    background-color: #ed3623cc;
    color: white;
    transform: scale(1.1);
}

.carousel-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/*-----------------------------------*\
 * #AWARD WINNING
\*-----------------------------------*/

.award-winning {
  padding-block: 3rem; /* Reduced from 5rem */
  background-color: var(--background-white);
  position: relative;
  overflow: hidden;
  margin-inline: 1rem;
  border-radius: 1rem;
}

.award-winning::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    right: -100px;
    height: 300px;
    background-color: rgba(42, 46, 83, 0.9);
    border-radius: 1rem;
    /* border-radius: 50%; */
    z-index: 0;
}

.award-winning__content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.award-winning__description {
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 3rem;
  color: var(--text-light);
}

.award-winning__image-container {
  max-width: 800px;
  margin-inline: auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.award-winning__image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid white;
    border-radius: 15px;
    transform: scale(0.95);
    opacity: 0.5;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.award-winning__image-container:hover::before {
    transform: scale(1);
    opacity: 1;
}

.award-winning__image-container img {
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.award-winning__image-container:hover img {
    transform: scale(1.05);
}

/*-----------------------------------*\
 * #ASSOCIATED COMPANIES
\*-----------------------------------*/

.associated-companies {
  padding-block: 3rem; /* Reduced from 5rem */
  background-color: #f0f8ff;
}

.associated-companies__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.company-card {
  background-color: var(--background-white);
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.company-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.company-card__logo {
  flex-shrink: 0;
  width: 200px;
  margin-bottom: 1rem;
}

.company-card__logo img {
  width: 100%;
}

.company-card__text-wrapper {
    max-height: 100px; /* Adjust as needed */
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease-in-out;
}

.company-card__text-wrapper.expanded {
    max-height: 1000px; /* Adjust to fit all content */
}

.company-card__text-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to top, white, transparent);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.company-card__text-wrapper.expanded::after {
    opacity: 0;
}

.company-card__text {
  color: var(--text-dark);
  line-height: 1.7;
  text-align: left;
}


/*-----------------------------------*\
 * #ANIMATIONS
\*-----------------------------------*/

@keyframes slide-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-animation="slide-in-up"] {
  opacity: 0;
}

[data-animation="slide-in-up"].visible {
  animation: slide-in-up 0.8s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Staggered delay for hero elements */
.hero__subtitle.visible {
  animation-delay: 0.2s;
}

.hero__cta.visible {
  animation-delay: 0.4s;
}

.hero__apps.visible {
  animation-delay: 0.6s;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/*-----------------------------------*\
 * #BROKER REVIEWS
\*-----------------------------------*/

.broker-reviews {
  padding-block: 5rem;
  background-color: var(--background-light);
}

.reviews-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.review-card {
  background-color: #fffacd; /* Light yellow for sticky note */
  padding: 2.5rem;
  text-align: center;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border-bottom-right-radius: 60px 5px;
}

.review-card:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background-color: #f0e68c; /* Darker yellow for folded corner */
  border-radius: 0 0 0 100%;
  box-shadow: -5px -5px 10px rgba(0,0,0,0.1);
}

.review-card:nth-child(even) {
  transform: rotate(2deg);
  background-color: #f0f8ff; /* Light blue for variation */
}

.review-card:nth-child(odd) {
  transform: rotate(-2deg);
}

.review-card:hover {
  transform: scale(1.05) rotate(0deg);
  box-shadow: 10px 10px 25px rgba(0,0,0,0.3);
  z-index: 10;
}

.review-card__text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-dark);
  font-style: italic;
}

.review-card__text::before {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 0 auto 1.5rem;
}


/*-----------------------------------*\
 * #PROBIND CTA
\*-----------------------------------*/

.probind-cta {
    background-color: rgba(42, 46, 83, 0.9);
    color: var(--background-white);
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 1rem;
    max-width: 1100px;
    backdrop-filter: blur(5px); /* Adds a frosted glass effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.probind-cta__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.probind-cta__text {
    flex: 3;
}

.probind-cta__title {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--background-white);
    margin-bottom: 1rem;
}

.probind-cta__description {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.probind-cta__btn .btn {
    background-color: var(--background-white);
    color: var(--primary-color);
    font-size: 1rem;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.probind-cta__btn .btn:hover {
    background-color: var(--background-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.probind-cta__icon {
    flex: 1;
    text-align: center;
}

.probind-cta__icon img {
    width: 120px;
    height: 120px;
    filter: brightness(0) invert(1);
}


/*-----------------------------------*\
 * #FOOTER
\*-----------------------------------*/

.footer {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 2rem; /* Reduced from 5rem */
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-heading {
  font-size: 0.9rem; /* Reduced from 1.1rem */
  color: var(--background-white);
  margin-bottom: 1rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

.location {
  margin-bottom: 0.8rem; /* Reduced from 1.5rem */
}

.location__title {
  font-size: 0.95rem; /* Reduced from 1rem */
  color: var(--background-white);
}

.location__address {
  font-size: 0.85rem; /* Reduced from 0.9rem */
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem; /* Added font-size */
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
  color: var(--background-white);
  padding-left: 5px;
}

.footer-column--subscribe p {
  margin-bottom: 1rem;
  font-size: 0.8rem; /* Added font-size */
}

.footer-achievements {
  margin-top: 2rem;
}

.footer-achievements img {
  max-width: 135px;
  border-radius: 8px;
}

.footer-bottom {
  padding-block: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.copyright {
  font-size: 0.85rem; /* Reduced from 0.9rem */
  text-align: center;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: block;
}

.social-links img {
  width: 24px;
  height: 24px;
  filter: invert(1);
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-links a:hover img {
  opacity: 1;
  transform: scale(1.1);
}

/*-----------------------------------*\
 * #ABOUT PAGE
\*-----------------------------------*/

.about-hero {
    position: relative;
    padding: 4rem 0;
    background-size: cover !important;
    background-position: center !important;
    color: var(--background-white);
}

.about-hero__content {
    text-align: left;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--background-white);
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-current {
    color: var(--background-white);
    font-weight: 700;
}

.about-hero__page-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.about-hero__title {
    color: var(--background-white);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.about-hero__description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.history {
    padding-block: 5rem;
    background-color: #f0f2f5;
}

.history .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.history-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 2rem 0;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--accent-color);
    transform: translateY(-50%);
}

.history-item {
    position: relative;
    flex: 1;
    text-align: center;
    padding: 0 2rem;
}

.history-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -12.5px;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: 4px solid var(--background-light);
    z-index: 1;
}

.history-item__content {
    position: relative;
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.history-item__content--top {
    bottom: 40px;
}

.history-item__content--bottom {
    top: 40px;
}

.company-details {
    padding-block: 5rem;
    background: var(--background-white);
}

.history-item__title {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.history-item__text {
    color: var(--text-light);
}

.history-item__content .history-item__text.visible,
.detail-item h3.visible {
    animation-delay: 0.2s;
}

.detail-item p.visible {
    animation-delay: 0.4s;
}

.detail-item ul.visible {
    animation-delay: 0.6s;
}


.company-details {
    padding-block: 5rem;
    background: linear-gradient(135deg, #eaf2f8, #ffffff);
}

.company-details .section-title {
    margin-bottom: 4rem;
}

.details-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 900px;
    margin-inline: auto;
}

.detail-feature {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.detail-feature:nth-child(even) {
    flex-direction: row-reverse;
}

.detail-feature__icon-container {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--background-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 5px solid var(--accent-color);
}

.detail-feature__icon {
    width: 60px;
    height: 60px;
}

.detail-feature__content {
    flex-grow: 1;
}

.detail-feature__content h3 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.detail-feature__content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 3px;
    background-color: var(--accent-color);
}

.detail-feature__content p,
.detail-feature__content ul {
    color: var(--text-light);
}

.detail-feature__content ul {
    list-style: none;
    padding-left: 0;
}

.detail-feature__content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.detail-feature__content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.download-link {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.download-link:hover {
    color: var(--primary-color);
}

/*-----------------------------------*\
 * #TEAM PAGE
\*-----------------------------------*/

.team-section {
    padding-block: 3rem;
}

.team-section .section-title {
    font-size: 28px;
    text-align: left;
    position: relative;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.team-section .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 5px;
}

.section-subtitle {
    text-align: left;
    color: var(--text-light);
    margin-bottom: 3rem;
    padding-left: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.team-card {
    background-color: var(--background-white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    text-align: left;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.team-card__image-container {
    height: 100px;
    width: 100px;
    overflow: hidden;
    position: relative;
    border: 3px solid transparent;
    border-radius: 50%;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
}

.team-card:hover .team-card__image-container {
    border-color: var(--accent-color);
}

.team-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card:hover .team-card__image {
    transform: scale(1.05);
}

.team-card__content {
    padding: 0;
}

.team-card__name {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.team-card__role {
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.team-card__contact p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.1rem;
}

.team-card__contact a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-card__contact a:hover {
    color: var(--accent-color);
}

.team-card__social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: var(--background-white);
    transform: scale(1.1);
}

/* Modern Team Card Styles */
.team-grid--modern {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card--modern {
    background: var(--background-white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    overflow: hidden;
    text-align: left;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.team-card--modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.team-card--modern .team-card__image-container {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    flex-shrink: 0;
}

.team-card--modern .team-card__image {
    transition: transform 0.5s ease;
}

.team-card--modern:hover .team-card__image {
    transform: scale(1.05);
}

.team-card--modern .team-card__content {
    padding: 0;
}

.team-card--modern .team-card__name {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.team-card--modern .team-card__role {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-card--modern .team-card__contact {
    font-size: 0.85rem;
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
    margin-top: 1rem;
}

.team-card--modern .team-card__social {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.team-card--modern:hover .team-card__social {
    opacity: 1;
    transform: translateX(0);
}


/*-----------------------------------*\
 * #MEDIA QUERIES
\*-----------------------------------*/

@media (min-width: 576px) {
  .hero__apps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 576px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-main {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

@media (min-width: 768px) {
  .award-winning {
    margin-inline: 7rem;
  }
}

@media (min-width: 768px) {
  .probind-card {
    border-radius: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
  }

  .probind__grid {
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    gap: 0;
  }

  .probind-card {
    border-radius: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
  }
}

@media (min-width: 768px) {
  .probind-cta {
    padding: 4rem;
    margin: 4rem auto;
  }

  .probind-cta__content {
    flex-direction: row;
    text-align: left;
    gap: 3rem;
  }
}
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    background: none;
    flex-direction: row;
    padding-top: 0;
  }

  .nav__list {
    flex-direction: row;
  }

  .nav__item--dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .top-bar__actions {
    display: flex;
    gap: 0.5rem;
  }

  .hero {
    text-align: left;
  }

  .hero__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 4rem;
  }

  .hero__apps {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .probind-card {
    border-right: 1px solid #e0e0e0;
    border-bottom: none;
  }
  
  .probind-card:last-child {
    border-right: none;
  }

  .probind-cta__content {
    flex-direction: row;
    text-align: left;
    gap: 3rem;
  }

  .probind-cta__title {
    font-size: 2.2rem;
  }

  .probind-cta__icon img {
    width: 120px;
    height: 120px;
  }

  .services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }

  .services-header__text .section-title {
    text-align: left;
    margin-bottom: 0;
  }

  .service-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .reviews-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .associated-companies__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }


  .carousel-button.prev {
    left: 10px;
  }

  .carousel-button.next {
    right: 10px;
  }
}

@media (min-width: 768px) {
  .service-card {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .service-card {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }

  .reviews-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(4, 1fr);
  }

  .details-content {
    grid-template-columns: repeat(3, 1fr);
  }
  .history-layout {
        grid-template-columns: 300px 1fr;
    }
}
