/* === Global Font Definitions === */
@font-face {
  font-family: "Frutiger LT Arabic";
  src: url("../fonts/FrutigerLTArabic55Roman.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Baskerville Old Face";
  src: url("../fonts/baskerville-old-face.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body:lang(ar),
html[lang="ar"] body {
  font-family: "Frutiger LT Arabic" !important;
  direction: rtl;
  text-align: right;
}

body:lang(en),
html[lang="en"] body {
  font-family: "Baskerville Old Face" !important;
  direction: ltr;
  text-align: left;
}

:root {
  /* Font Family */

  /* Colors */
  --color-primary: #1A1A1A;
  --color-secondary: #2D4693;
  --color-secondary-2: #1F3A8C;
  --color-third: #FAFAFA;
  --color-gray: #667085;
  --color-second-gray: #EAECF0;
  --color-required-star: #F00;
  --color-success: #37B837;
  --very-small-font-size: 0.75rem;
  /* Font Sizes */
  --font-size-base: 1rem;
  /* 16px */
  --font-size-xsmall: 1.125rem;
  /* 20px */
  --font-size-small: 1.25rem;
  --font-size-medium: 1.375rem;
  /* 22px */
  --font-size-large: 1.5rem;
  --font-size-section: 2.1875rem;
  --font-size-sub-section-title: 1.3125rem;
  /* 24px */
  --font-size-xlarge: 3.125rem;
  /* 28px */

  --line-height-small: 1.25;
  --line-height-medium: 1.6;
  --line-height-large: 1.875rem;

  --font-weight-medium: 400;
  --font-weight-large: 600;
  --font-weight-xlarge: 700;
}

body {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  background-color: var(--color-third);
  color: var(--color-primary);
  font-size: var(--font-size-base);
}

section .section-title {
  color: var(--color-secondary);
  font-size: var(--font-size-section);
  font-weight: var(--font-weight-large);
}

@media(max-width: 991.98px) {
  section .section-title {
      font-size: 1.4rem !important;
  }
}

.section-padding {
  padding: 8.75rem 7.5rem;
}


/* Executive Research Page */

.visit-ema-link {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.visit-ema-link .arrow {
  margin-left: 5px;
  transition: transform 0.2s ease-in-out;
}

.visit-ema-link:hover {
  text-decoration: underline;
}

.visit-ema-link:hover .arrow {
  transform: translateX(3px);
}


.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee {
  display: flex;
  gap: 110px;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

.marquee img {
  max-height: 90px;
  flex-shrink: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.marquee:hover {
  animation-play-state: paused;
}

.our-expertise-section {
  background-color: #F8F8F8;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.our-expertise-details-container{
  margin-bottom: 40px;
}

.bg-decor-left {
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 200px;
  z-index: 0;
}

.bg-decor-right {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 250px;
  z-index: 0;
  opacity: 0.06;
}

@media (max-width: 768px) {
  .bg-decor-left,
  .bg-decor-right {
    display: none;
  }
}


.ema-logo{
  width: 60%;
}

@media (max-width: 768px) {
  .bg-decor-left,
  .bg-decor-right {
    display: none;
  }
}

/* Executive Research Page END */

.section-description{
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-large);
}

.sub-section-title{
  font-size: var(--font-size-sub-section-title);
  font-weight: var(--font-weight-large);
  color: var(--color-primary);
}

.btn{
  text-align: center;
  font-size: var(--font-size-base);
  color: var(--color-third);
  background-color: var(--color-secondary);
  border: none;
  border-radius: 0.25rem;
  padding: 0.75rem 2rem;
}

.form-select{
  background-color: var(--color-third);
}

.cta-btn {
  text-align: center;
  font-size: var(--font-size-base);
  color: var(--color-third);
  background-color: var(--color-secondary);
  border: none;
  border-radius: 0.25rem;
  padding: 0.75rem 2rem;
}

.btn-primary.no-hover:hover {
  background-color: var(--color-secondary) !important;
  color: var(--color-third) !important;
}

.tag-bg {
  font-size: var(--very-small-font-size);
  line-height: 100%;
  background-color: rgba(31, 58, 140, 0.80);
  justify-content: center;
  align-items: center;
  color: var(--color-third);
  padding: .25rem .5rem;
  font-weight: var(--font-weight-large);
}

@media(max-width: 991px) {
  .tag-bg {
      font-size: .6rem;
  }
}

/* Modal Styles Start */

/* Modal Styles End */
.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  width: 90%;
  max-width: 775px;
  margin: 2rem auto;
  padding: 2.5rem 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-50%);
  top: 50%;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 1rem 1.5rem; */
}

.modal-title {
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-medium);
  margin: 0;
}

.close-modal {
  background: none;
  border: none;

  cursor: pointer;
  color: var(--color-primary);
  border: 3px solid var(--color-primary);
  border-radius: 50%;
}

.modal-body {
  /* padding: 1.5rem; */
}

.modal-show {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Header Area Styles Start */
.header-container {
  box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.25);
  padding: 1.06rem 7.5rem 1.15rem 7.5rem;
}

header .logo-img {
  width: 5.625rem;
  height: 3.4375rem;
  margin-right: 4.5rem;
}

.navbar .dropdown-toggle .arrow {
  font-size: var(--very-small-font-size);
  margin-left: 0.3rem;
  color: var(--color-primary);
}

.dropdown-divider {
  border-color: #dcdcdc;
}

.nav-link.contact-link,
.header-btn .nav-link,
.header-container .submit-btn {
  white-space: nowrap;
}

.navbar .nav-link {
  font-size: var(--font-size-base);
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
  line-height: 1.25rem;
}

.header-btn .nav-link {
  font-size: var(--font-size-base);
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
  line-height: 1.25rem;
}

header .navbar-nav {
  gap: 1.38rem;
}

header .navbar .dropdown-menu {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease-in-out;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 1000;
  background-color: var(--color-third);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.25);
}

header .navbar .nav-item.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

header .navbar .dropdown-menu .dropdown-item {
  padding: 0.5rem 1rem;
  color: #000;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
}

.submit-btn {
  padding: 1rem 1.25rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-large);
  color: var(--color-primary);
  background: var(--color-third);
  border: 1px solid var(--color-second-gray);
  border-radius: 0.25rem;
}

@media (max-width: 1024px) {
  .section-padding {
      padding: 4.4rem 3.75rem;
  }

  .header-container {
      padding: 1.06rem 2.5rem;
      /* Adjusted horizontal padding */
  }

  header .logo-img {
      width: 2.2rem;
      /* Slightly smaller logo size for better spacing */
      height: 1.4rem;
      margin-right: 2.5rem;
  }

  .navbar .nav-link {
      font-size: 0.6rem;
  }

  .header-btn .nav-link {
      font-size: 0.6rem;
  }

  .navbar-nav {
      gap: 0.69rem;
  }

  .submit-btn {
      padding: 0.85rem 1rem;
      font-size: 0.6rem;
  }

  .navbar .dropdown-menu {
      transform: translateY(5px);
  }
}

/* Hero Section Styles Start */

.hero-section {
  background-image: url(../images/backgrounds/bg_high_frame.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  column-gap: 4.69rem;
  padding-top: 7.44rem;
  /* padding-bottom: 23rem; */


  
}

.hero-section .section-title {
  font-size: 3.125rem !important;
  font-weight: var(--font-weight-xlarge) !important;
  line-height: normal !important;
}

.hero-section .sub-section-title {
  font-size: var(--font-size-section) !important;
  color: var(--color-secondary) !important;
}

@media(max-width: 991.98px) {
  .hero-section .section-title {
      font-size: 1.6rem !important;
  }

  .hero-section .sub-section-title {
      font-size: var(--font-size-base)!important;
  }


}

.hero-section .section-description {
  font-size: var(--font-size-xsmall);
  line-height: var(--line-height-large);
  font-weight: var(--font-weight-medium);
}

.hero-section .section-text {
  gap: 1.5rem;
}

.hero-section #clientsCarousel {
  margin-bottom: 11rem;
}

.client-logo-wrapper {
  padding: 15px;
  text-align: center;
}

#clientsCarousel .client-logo{
  max-width: 8.125rem !important;
  max-height: 3.75rem !important;
}

.client-logo {
  max-width: 100%;
  height: auto;
  margin: auto;
}

/* Tablet: Show 4 logos */
@media (min-width: 768px) and (max-width: 991px) {
  .client-logo-wrapper {
      display: none;
      flex: 0 0 25%;
      max-width: 25%;
  }

  .client-logo-wrapper:nth-child(-n+4) {
      display: block;
  }
}

/* Desktop: Show all 7 logos */
@media (min-width: 992px) {
  .client-logo-wrapper {
      display: block;
      flex: 0 0 calc(100% / 7);
      max-width: calc(100% / 7);
  }
}

/* Hero Section Styles End */

/* Services Section Styles Start */
.services-container {
  background-image: url(../images/backgrounds/bg_lines_services.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  row-gap: 3rem;
  border-radius: 0rem 6.25rem;
  z-index: 1000;

}

.services-container .section-title {
  color: var(--color-third) !important;
  /*font-size: clamp(1.75rem, 4vw, var(--font-size-section));*/
  /* Responsive font size */
}

.services-container .section-description {
  color: var(--color-third);
  font-size: clamp(1rem, 2vw, var(--font-size-xsmall));
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

.services-container .section-text {
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Card styles */
.services-container .card {
  background-color: var(--color-third);
  padding: 1.19rem;
  color: var(--color-primary);
  row-gap: 1.25rem;
  position: relative;
  display: flex;
  height: 100%;
}

.services-container .card .card-title {
  font-size: clamp(1.125rem, 2vw, var(--font-size-small));
  font-weight: var(--font-weight-xlarge);
  margin-bottom: 0.5rem;
}

.services-container .card-description {
  font-size: clamp(0.875rem, 1.5vw, var(--font-size-base));
  font-weight: var(--font-weight-large);
  line-height: 1.5;
}

.services-container .card .card-text {
  row-gap: 1rem;
  flex-grow: 1;
}

.action-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
  width: 100%;
}

.action-wrapper .nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.vector-icon {
  width: auto;
  height: clamp(0.75rem, 1.5vw, 1rem);
}

/* Responsive breakpoints */
@media (max-width: 768px) {
  .services-container {
      border-radius: 0rem 3rem;
      /* Smaller border radius for mobile */
  }

  .services-container .row {
      row-gap: .5rem;
  }

  .row {
      margin-left: -0.75rem;
      margin-right: -0.75rem;
  }
}

@media (max-width: 576px) {
  .services-container {
      padding: 2rem 1rem;
  }

  .services-container .card {
      padding: 1rem;
  }

  .services-container .row {
      row-gap: .5rem;
  }
}

/* Services Section Styles End */

/* Team Section Styles Start */
.team-container {
  row-gap: 2.5rem;
}

.team-container .section-description {
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
}

.section-title+.section-description {
  margin-bottom: 1.5rem;
}

.team-container .card-title {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-xlarge);
  color: var(--color-primary);
}

.team-container .card-decription {
  color: var(--color-primary);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-large);
}

.team-container .carousel-item p {
  color: var(--color-primary);
  font-weight: var(--font-weight-large);
  font-size: var(--font-size-base);
  line-height: var(--line-height-large);
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-secondary);
  background-color: transparent;
  z-index: 0;
}

.team-img {
  max-height: 394px;
  width: 100%;
  object-fit: cover;
}

.carousel-indicators .active {
  background-color: var(--color-secondary);
}

.team-container .icon {
  height: 1.25rem;
  width: 1.25rem;
}

@media (max-width: 768px) {

  .team-container .carousel-item p {
      font-size: 0.875rem;
      line-height: 1.5rem;
  }

  .team-img {
      max-height: 100px;
      width: 100%;
      object-fit: contain;
  }

  .team-container .card-title {
      font-size: 1rem;
  }

  .team-container .card-decription {
      font-size: 0.875rem;
      line-height: 1.5rem;
  }

  .team-container .cta-btn {
      white-space: nowrap;
  }
}

@media (max-width: 576px) {
  .team-container {
      padding: 2rem 0;
  }

  .team-img {
      max-height: 250px;
  }

  .submit-btn {
      padding: 0.5rem;
      font-size: 0.875rem;
  }

  .team-container .icon {
      height: 1rem;
      width: 1rem;
  }
}

/* Numbers Section Styles Start */

.numbers-section {
  position: relative;
  margin-bottom: 6rem;
}

.behind-container {
  background: linear-gradient(265deg, #4B61A3 2.55%, #0B2679 97.45%);
  padding-bottom: 24.7rem;
  padding-top: 11rem;
  color: var(--color-third);
}

.behind-container .section-title {
  font-size: 2.5rem;
    font-weight: var(--font-weight-xlarge);
    color: var(--color-third);
}

.behind-container  .section-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

.numbers-cards-wrapper {
  background: var(--color-third);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  margin-top: -245px;
  z-index: 2;
}

.stat-card {
  padding: 2rem;
  border-radius: 8px;
  height: 100%;
}

.primary-card {
  background-color: var(--color-secondary);
  color: var(--color-third);
}

.secondary-card {
  border: 1px solid var(--color-secondary);
  background-color: var(--color-third);
}

.secondary-card .card-title {
  color: var(--color-secondary);
}

.card-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-large);
  margin-bottom: 1rem;
}

.card-body {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
  
  .numbers-cards-wrapper{
      margin-top: -122.5px;
      padding: 1.5rem;
  }
  
  .behind-container {
    padding-bottom: 12.35rem;
    padding-top: 5.5rem;
  }
}

@media (max-width: 768px) {
  .section-title {
      font-size: 2rem;
  }
  
  .stat-card {
      padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .numbers-cards-wrapper {
      margin-top: -50px;
      padding: 1.5rem;
  }
  
  .behind-container {
      padding: 3rem 0;
  }
  
  .section-title {
      font-size: 1.75rem;
  }
  
  .card-title {
      font-size: 1.25rem;
  }
}

/* Numbers Section Styles End */

/* Contact us Styles Start */
.contactus-container {
  background-image: url(../images/backgrounds/bg_lines_contact.svg);
  background-repeat: no-repeat;
  background-size: cover;
}

form .required-star {
  color: var(--color-required-star);
  margin-left: 4px;
}

form label {
  color: var(--color-gray);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.5rem;
}

.form-control {
  padding: 0.75rem 1rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  background-color: var(--color-third);
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--color-primary-rgb), 0.25);
}

.country-flag {
  width: 20px;
  height: 15px;
  object-fit: contain;
  margin-right: 5px;
  border-radius: 2px;
}

.country-code-btn {
  border: 1px solid #ced4da;
  border-right: none;
  min-width: 100px;
  background-color: var(--color-third);
}

.country-code-btn:hover,
.country-code-btn:focus {
  background-color: white;
  border-color: #86b7fe;
}

.contact-image {
  margin-left: 10.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
  .contactus-container {
      padding: 2rem 1rem;
  }

  .contact-form {
      padding: 1rem;
  }

  .form-control {
      padding: 0.5rem 0.75rem;
  }

  .cta-btn {
      width: 100%;
      padding: 0.75rem;
  }
}

@media (max-width: 991.98px) {

  form label {
      font-size: .6rem;
  }

  .form-control,
  .country-code-btn {
      padding: .4rem .5rem;
      font-size: .6rem;
  }

  .cta-btn {
      font-size: .6rem;
  }
}

/* Email Domain Dropdown Styles */
.dropdown-menu {
  max-height: 200px;
  overflow-y: auto;
}

.dropdown-item {
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: rgba(var(--color-primary-rgb), 0.1);
}

/* Contact us Styles Start */

/* Insights Section Styles Start */
.insights-container {
  padding-right: 4.19rem;
}

.insights-container,
.latest-insights-container {
  row-gap: 1.25rem;
}

.insights-container .card-title ,
.insights-page-container .card-title{
  color: var(--color-primary);
  font-size: var(--font-size-large);
  font-weight: var(--font-weight-large);
}

.insights-container .card-description, 
.insights-page-container .card-description{
  color: var(--color-gray);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-large);
}

@media(max-width: 991px){

  .insights-container .card-title ,
  .insights-page-container .card-title{
      font-size: var(--font-size-base);
  }

  .insights-container .card-description, 
  .insights-page-container .card-description{
      font-size: .75rem !important;
  }
}

.insight-schedule {
  font-size: var(--very-small-font-size);
  font-weight: var(--font-weight-medium);
  color: var(--color-gray);
}

.insights-big-image {
  width: 500px;
  height: 210px;
  object-fit: cover;
  border-radius: 0.375rem;
  margin-right: 0.2rem;
  padding-right: 0.2rem;
}

.insghts-image{
  margin-top: 1rem;
}

@media(max-width:768px) {
  .insight-schedule {
      font-size: .5rem;
  }
}

.sm-vertical-line {
  height: 20px;
  width: 1px;
  background-color: #ccc;
}

.vertical-line {
  position: absolute;
  left: -30px;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #dee2e6;
}

.latest-insights-container .card-title {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-xlarge);
}

@media (max-width: 767px) {
  .client-logo-wrapper {
      display: none;
  }

  .client-logo-wrapper:first-child {
      display: block;
      flex: 0 0 100%;
      max-width: 100%;
  }

  .sm-vertical-line {
      display: none;
  }
}

/* Insights Section Styles End */

/* FAQ Section Styles Start */

.FAQ-container {
  row-gap: 2.5rem;
}

.FAQ-container .FAQ-card {
  position: relative;
  width: 100%;
  padding: 2.77rem 2.23rem;
  box-shadow: 0px 5px 16px 0px rgba(31, 58, 140, 0.10);
}

.FAQ-container .question-wrapper {
  flex: 1;
  padding-right: 1rem;
}

.FAQ-container .FAQ-card .question-text {
  color: var(--color-secondary);
  font-size: var(--font-size-small);
  font-weight: bold;
}

.FAQ-container .question-description {
  display: none;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.FAQ-container .question-description.active {
  display: block;
}

.FAQ-container .FAQ-card,
footer .question-description {
  color: var(--color-neutral);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-large);
  line-height: var(--line-height-large);
}

.toggle-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.FAQ-card .minus-sign {
  background-color: var(--color-secondary);
  padding: 1.23rem 0.81rem;
  width: 2.85475rem;
  height: 2.59375rem;
  border-radius: 0.5rem;
}

.row-cols-md-2>* {
  gap: 1.25rem;
}

/* Added styles for toggle functionality */
.question-description {
  display: none;
  margin-top: 1rem;
}

.question-description.active {
  display: block;
}

/* FAQ Section Styles End */

/* Footer Styles Start */
.footer-container {
  padding: 4.38rem 7.5rem 7.88rem 4.44rem;
  box-shadow: 0px -4px 12px 5px rgba(31, 58, 140, 0.05);
}

footer .logo-img {
  width: 5.11875rem;
  height: 2.75rem;
}

footer .section-description {
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-medium);

}

footer .sub-section-title {
  color: var(--color-secondary) !important;
  font-size: var(--font-size-base) !important;
}

footer .navbar-nav {
  gap: .75rem;
}

footer .nav-link {
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-medium);
}

footer .sub-title {
  font-size: var(--font-size-medium);
  font-weight: var(--font-weight-medium);
}

.footer-social-media {
  gap: 0.75rem;
}

footer .form-control {
  border-left: none;
  border-top: none;
  border-bottom-color: var(--color-secondary) !important;
}

@media (max-width: 991.98px) {

  .footer-container {
      padding: 2.19rem 3.75rem 3.94rem 2.22rem;
  }

  footer .logo-img {
      width: 2.6rem !important;
      height: 1.4rem !important;
  }

  footer .section-description {
      font-size: .6rem;
  }

  footer .sub-section-title {
      font-size: 1.15rem !important;
  }

  footer .navbar-nav {
      gap: .4rem;
  }

  footer .nav-link {
      font-size: .6rem;
  }

  footer .sub-title {
      font-size: .7rem;
  }

  .footer-social-media {
      gap: .4rem;
  }

  footer img {
      width: .75rem;
      height: auto;
  }

  footer .form-control {
      padding: .2rem .5rem !important;
      font-size: .3rem !important;
  }
}

/* Footer Styles End */

/* Contact Us Page Styles Start */

.contactus-container .page-padding {
  padding: 7rem 6.44rem;
}

@media (max-width: 767.98px) {
  .contactus-container .page-padding {
      padding: 1rem;
  }
}

@media (max-width: 468px) {
  .contactus-container .page-padding {
      padding: 0;
  }
}

/* Contact Us Page Styles End */

/* View Insight Page Styles Start */

.view-insight-page {
  padding: 2.5rem 8.66rem 6.25rem 8.66rem;
}

.view-insight-page .section-title {
  color: var(--color-primary);
}

.view-insight-page .tag-bg {
  font-weight: var(--font-weight-medium) !important;
}

.view-insight-page .insight-schedule {
  font-size: 0.875rem !important;
  line-height: var(--line-height-large);
}

.view-insight-page .card-description {
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-large);
}

.view-insight-page .card-title {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-xlarge);
  color: var(--color-primary);
}

.view-insight-page .quote {
  background: rgba(31, 58, 140, 0.40);
  color: var(--color-third);
  padding: 2rem 2rem 1.69rem;
  position: relative;
  font-size: 1.25rem;
  text-align: start;
  border-radius: 8px;
  z-index: 1;
}

.view-insight-page .quote::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 80px;
  height: 80px;
  background-image: url(../img/website_images/quote.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
 
}


.view-insight-page .sub-section-title span.related {
  color: var(--color-third) !important;
  background-color: var(--color-secondary-2);
  padding: 2px 2px;
}

.view-insight-page .view-insight-img , .insights-page-container .view-insight-img{
  width: 100%;
  height: auto;
  object-fit: contain;
}

.vertical-line.horizontal {
  position: relative;
  height: .1px;
  width: 100%;
  left: 0;
}

.related-insights-container {
  margin-top: 13rem;
  row-gap: 2.6rem;
}

.related-insights {
  row-gap: 1.25rem;
}

.related-insights .insight-card {
  column-gap: 1.25rem;
}

.related-insights-container .related-insights .card-title {
  font-size: var(--font-size-small) !important;
  font-weight: var(--font-weight-large) !important;
}

.related-insights-container .related-insights .insight-img {
  width: 124px;
  height: 115px;
  object-fit: fill;
}

.link-container {
  display: flex;
  margin-top: 0.5rem;
}

.link-container input {
  flex: 1;
  padding: 1rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.25rem;
  color: var(--color-gray);
  font-size: var(--font-size-base);
}

.link-container .tag-bg{
  font-size: var(--font-size-base);
  padding:  .75rem 2.69rem;
  border: none;
}

@media (max-width: 768px) {
  .related-insights .d-flex {
      column-gap: 1rem;
      /* Slightly reduce gap on smaller screens */
  }

  .related-insights {
      gap: 1rem;
      /* Slightly reduce row gap on smaller screens */
  }

  .view-insight-page {
      padding: 1.5rem 1rem;
      /* Adjust padding for better mobile view */
  }

  .view-insight-page .card-description,
  .view-insight-page .sub-section-title span.insights,
  .view-insight-page .sub-section-title span.related,
  .view-insight-page .quote {
      font-size: .6rem;
  }

  .view-insight-page .card-title {
      font-size: .75rem;
  }

  .related-insights-container .related-insights .card-title,
  .view-insight-page .insight-schedule span.time {
      font-size: .5rem !important;
  }
}

@media (max-width: 576px) {
  .related-insights .d-flex {
      flex-direction: column;
      gap: 0.75rem;
  }

  .related-insights-container .related-insights .insight-img {
      width: 100%;
      height: 200px;
      object-fit: cover;
  }
}

#facebook, #twitter, #instagram, #pinterest {
  display: block;
}

.related-insights-container.hidden {
  display: none !important;
}


/* View Insight Page Styles End */

/* Recruitment Page Styles Start */

.hero-recruitment-section {
  position: relative;
  background-image: url(../img/website_images/insight-image-2.png);
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}

.hero-recruitment-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);
  opacity: 0.6;
  z-index: -1;
}

.hero-recruitment-section .section-title {
  margin-top: 2.44rem;
  color: var(--color-third);
  font-weight: var(--font-weight-xlarge);
}

.recruitment-container .section-description {
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-xsmall);
  color: var(--color-third);
  line-height: var(--line-height-large);
}

.recruitment-slider {
  margin-top: 6.19rem;
  margin-bottom: 6.19rem;
}

.recruitment-container .recruitment-img {
  width: 100%;
}

.recruitment-container .section-text {
  padding-left: 10.25rem;
  padding-top: 6.25rem;
  padding-right: 6.25rem;
  gap: 2.5rem;
  background-color: var(--color-secondary);
  color: var(--color-third) !important;
}

.recruitment-container .section-text .section-title {
  font-size: var(--font-size-section);
  font-weight: var(--font-weight-large);
  color: var(--color-third) !important;
}

.recruitment-container .card-description {
  font-size: var(--font-size-base);
  line-height: var(--line-height-large);
}

.recruitment-container .card-description li::marker {
  font-size: 1.4rem;
}

/* Tablet (iPad) */
@media (max-width: 991px) {
  .recruitment-container .section-text {
      padding-left: 3rem;
      padding-top: 2.5rem;
      padding-right: 2.5rem;
  }

  .recruitment-container .section-description {
      font-size: 0.7rem;
  }

  .recruitment-container .card-description {
      font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .recruitment-container .section-text {
      padding-left: 1.5rem;
      padding-top: 1.5rem;
      padding-right: 1.5rem;
      text-align: center;
  }

  .recruitment-container .section-description {
      font-size: 0.8rem;
      text-align: center;
  }

  .recruitment-container .card-description {
      font-size: 0.7rem;
      padding: 0 1rem;
  }

  .recruitment-container .card-description li {
      font-size: 0.75rem;
      line-height: 1.4;
  }
}

/* Recruitment Page Styles End */

/* Insights Page Styles Start */

.insights-page-container{
  padding-top: 4.75rem;
  padding-bottom: 4.75rem;
}

.insights-page-container .section-title{
  color: var(--color-primary);
}

.pagination .page-link {
  color: var(--color-primary);
  border: none;
  background: transparent;
  font-size: 18px;
}

.pagination .page-item.active .page-link {
  font-weight: bold;
  border: none;
  background: transparent;
  color: var(--color-primary);
}

.pagination .page-item.disabled .page-link {
  color: var(--color-gray);
  pointer-events: none;
}

.sticky-filter {
  position: sticky;
  top: 20px;
  padding: 20px;
  z-index: 10;
}

.filter-section {
  margin-bottom: 1rem;
}

.sticky-filter .sub-section-title{
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-xlarge);
}

.sticky-filter .card-title{
  color: var(--color-gray);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-xlarge);
}

/* .form-select-like {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  appearance: none;
} */

.tag-btn, .year-btn {
  padding: 0.25rem 0.5rem;
  background: #f8f9fa;
  border-radius: 0.1875rem;
  border: 1px solid var(--Border, var(--color-second-gray));
  border-radius: 4px;
  color:var(--color-gray);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  margin: 0.125rem; 
}

.tag-btn:hover, .year-btn:hover {
  background: #e9ecef;
}

.tag-btn.active, .year-btn.active {
  background: #777085;
  color: var(--color-third);
  border-color: #777085;
}

.d-flex.flex-wrap {
  gap: 0.5rem !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sticky-filter {
      position: static;
  }
  
  .tag-btn, .year-btn {
      padding: 0.375rem 0.625rem;
      font-size: 0.875rem;
      min-height: 36px; 
  }

  .d-flex.flex-wrap {
      gap: 0.375rem !important;
  }
  
  .filter-section {
      margin-bottom: 0.75rem;
  }
}

@media (max-width: 480px) {
  .d-flex.flex-column {
      gap: 0.75rem !important;
  }
  
  .tag-btn, .year-btn {
      padding: 0.25rem 0.5rem;
      margin: 0.125rem;
  }
}

.tag-btn:hover, .year-btn:hover {
  background: #e9ecef;
}

@media (hover: none) {
  .tag-btn:hover, .year-btn:hover {
      background: #f8f9fa;
  }
}

.tag-btn.active, .year-btn.active {
  background: #777085;
  color: var(--color-third);
  border-color: #777085;
}

.filter-section {
  margin-bottom: 1rem;
}

.tags-container, .year-container {
  max-height: 150px;
  overflow-y: auto;
  padding-right: 5px;
}

.tags-container::-webkit-scrollbar,
.year-container::-webkit-scrollbar {
  width: 5px;
}

.tags-container::-webkit-scrollbar-track,
.year-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.tags-container::-webkit-scrollbar-thumb,
.year-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

/* Optional: Add media query for responsiveness */
@media (max-width: 768px) {
  .sticky-filter {
      position: relative;
      top: 0;
      margin-bottom: 1rem;
  }
}
/* Insights Page Styles End */

/* Sign-up Page Styles Start */
.signup-container {
  max-width: 800px;
  margin: auto;
  padding: 3rem 2rem 13rem 2rem;
}

.signup-container .section-title {
  color: var(--color-primary);
}

.signup-container .signin-link {
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-medium);
  color: var(--color-secondary);
  text-decoration: none;
  border-bottom: 3px solid var(--color-secondary);
}

.signup-container .form-label {
  color: var(--color-primary);
  font-size: var(--font-size-large);
  font-weight: var(--font-weight-large);
  margin-bottom: .25rem !important;
}

.input-group.date .form-control:disabled {
  background-color: #e9ecef;
  cursor: not-allowed;
}

.input-group.date {
  position: relative;
}

.input-group.date .form-control {
  padding-right: 40px;  /* Make room for the calendar icon */
  color: #6c757d;  /* Soft gray for placeholder */
  background-color: #fff;
}

.input-group.date .form-control::placeholder {
  color: #adb5bd;  /* Lighter gray for placeholder */
  opacity: 0.7;
}

.signup-container .text-primary {
  color: var(--color-secondary) !important;
}

.signup-container .text-gray{
  color: var(--color-gray);
}

.signup-container button.btn-primary {
  background-color: var(--color-second-gray);
  color: var(--color-gray);
  font-weight: bold;
  border: none;
  padding: .78rem;
}

.signup-container button.btn-secondary {
  background-color: var(--color-second-gray);
  color: var(--color-gray);
  border: none;
}

.form-check-input {
  height: 24px;
  width: 24px;
  border: 2px solid var(--color-secondary);
  margin-top: 0;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

form-check-label {
  padding-left: 8px;
  line-height: 24px;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(var(--color-secondary-rgb), 0.25);
  border-color: var(--color-secondary);
}

.form-check-input:hover {
  border-color: var(--color-secondary);
}

.input-group.date {
  position: relative;
}

.input-group.date:after {
  content: "\f073";
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: var(--color-gray);
  pointer-events: none;
}

.input-group-append {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 4;
}

.input-group-text {
  border: none;
  background: transparent;
  padding: 0.375rem 0.75rem;
  height: 100%;
  display: flex;
  align-items: center;
}

.input-group-text img {
  width: 20px;
  height: 20px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.input-group-append .input-group-text:hover {
  background-color: var(--color-gray);
  border-color: var(--color-gray);
}

.input-group-text:hover img {
  opacity: 1;
}

.datepicker {
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  border: 1px solid #dee2e6;
}

.datepicker table tr td,
.datepicker table tr th {
  border-radius: 4px;
  padding: 5px 10px;
}

.datepicker table tr td.active {
  background-color: var(--bs-primary) !important;
  background-image: none;
}

.datepicker table tr td:hover {
  background-color: #e9ecef;
}

.datepicker-dropdown:after {
  border-bottom-color: #fff;
}

.bg-gray{
  background-color: var(--color-second-gray);
  padding: .5rem 2.25rem ;
}
.upload-box {
  transition: all 0.3s ease;
  border: 2px dashed #dee2e6 !important;
}

.upload-box:hover {
  border-color: var(--bs-primary) !important;
  background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.upload-box.border-primary {
  border-color: var(--bs-primary) !important;
  background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.upload-box a {
  cursor: pointer;
  color: var(--bs-primary);
  text-decoration: none;
}

.upload-box a:hover {
  text-decoration: underline;
}
/* Sign-up Page Styles End */

/* Success Registeration Page Styles Start */

.success-section {
  min-height: 100vh;
}

.success-registration-container {
  width: 100%;
  padding: 2rem 1rem;
}

.success-registration-container .section-title {
  color: var(--color-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-large);
}

.success-circle {
  width: 21.5rem;
  height: 21.5rem;
  background-color: var(--color-success);
  margin: 0 auto;
}

.success-check {
  width: 12rem;
  height: 12rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .success-circle {
      width: 16rem;
      height: 16rem;
  }

  .success-check {
      width: 8rem;
      height: 8rem;
  }

  .success-registration-container .section-title {
      font-size: var(--font-size-base);
  }

  .section-description {
      font-size: var(--font-size-base);
      line-height: var(--line-height-medium);
  }
}

@media (max-width: 576px) {
  .success-circle {
      width: 12rem;
      height: 12rem;
  }

  .success-check {
      width: 6rem;
      height: 6rem;
  }

  .success-registration-container {
      padding: 1.5rem 1rem;
  }

  .cta-btn {
      width: 100%;
      padding: 0.625rem 1.5rem;
  }
}

/* For tablets in landscape mode */
@media (min-width: 769px) and (max-width: 1024px) {
  .success-circle {
      width: 20rem;
      height: 20rem;
  }

  .success-check {
      width: 10rem;
      height: 10rem;
  }
}

/* For larger screens */
@media (min-width: 1200px) {
  .success-registration-container {
      max-width: 1140px;
  }
}
/* Success Registration Page Styles End */





/* User Message Box Styles Start */
#user-message-box {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  color: var(--secondary-color);
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: var(--body-font-size);
  min-width: 300px;
  max-width: 80vw;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
}

/* Position variants */
#user-message-box.top {
  top: calc(-1 * var(--spacing-xl) * 3);
}

#user-message-box.bottom {
  bottom: calc(-1 * var(--spacing-xl) * 3);
}

#user-message-box.visible.top {
  top: var(--spacing-lg);
  opacity: 1;
}

#user-message-box.visible.bottom {
  bottom: var(--spacing-lg);
  opacity: 1;
}

#user-message-box.success {
  background: linear-gradient(135deg, var(--success-color), #20c997);
  border-left: 4px solid var(--success-color);
}

#user-message-box.error {
  background: linear-gradient(135deg, var(--error-color), #ff4d4d);
  border-left: 4px solid var(--error-color);
}

#user-message-box.warning {
  background: linear-gradient(135deg, var(--light-yellow), #ffb700);
  border-left: 4px solid var(--light-yellow);
  color: var(--text-color);
}

#user-message-box.info {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover-color));
  border-left: 4px solid var(--primary-color);
}

.message-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-right: var(--spacing-lg);
}

.message-text {
  font-size: var(--body-font-size);
  font-weight: 500;
  line-height: 1.4;
}

/* Icon styles */
.material-symbols-rounded {
  font-size: var(--h4-size);
}

/* Close button */
.close-btn {
  /* position: absolute; */
  right: var(--spacing-xs);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: var(--spacing-xs);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.close-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.close-btn .material-symbols-rounded {
  font-size: var(--body-font-size);
}

/* Progress bar */
.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.3);
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7);
}

/* Hover effect */
#user-message-box:hover .progress-bar::after {
  opacity: 0.8;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  #user-message-box {
      box-shadow: var(--shadow-lg);
  }
}

/* Responsive adjustments */
@media screen and (max-width: 576px) {
  #user-message-box {
      min-width: 90vw;
      padding: var(--spacing-sm) var(--spacing-md);
  }
  
  .message-text {
      font-size: var(--small-text);
  }
}




