/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 2.5rem;
  /*========== Premium Colors ==========*/
  --hue: 220;
  --primary-color: #3B82F6;
  --primary-dark: #1E40AF;
  --primary-light: #60A5FA;
  --secondary-color: #F8FAFC;
  --accent-color: #0F172A;
  --success-color: #10B981;
  --warning-color: #F59E0B;
  --first-color: var(--primary-color);
  --first-color-light: var(--primary-light);
  --first-color-alt: var(--primary-dark);
  --title-color: #0F172A;
  --text-color: #475569;
  --text-color-light: #64748B;
  --body-color: #FFFFFF;
  --container-color: #FFFFFF;
  --section-bg: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  --card-bg: rgba(255, 255, 255, 0.95);
  --border-color: #E2E8F0;
  
  /*========== Premium Gradients ==========*/
  --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
  --gradient-secondary: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
  --gradient-accent: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  --gradient-hero: linear-gradient(135deg, #3B82F6 0%, #1E40AF 50%, #0F172A 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
  
  /*========== Premium Shadows ==========*/
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Inter", sans-serif;
  --heading-font: "Poppins", sans-serif;
  --biggest-font-size: 3.5rem;
  --big-font-size: 2rem;
  --h1-font-size: 2rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 5.5rem;
    --big-font-size: 2.75rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1.125rem;
    --small-font-size: .875rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  scroll-padding-top: calc(var(--header-height) + 0.5rem);
}

body,
input,
textarea,
button {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background: var(--section-bg);
  color: var(--text-color);
  overflow-x: hidden;
  width: 100%;
  line-height: 1.7;
  font-weight: 400;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


input,
button,
textarea {
  border: none;
  outline: none;
}

h1, h2, h3 {
  color: var(--title-color);
  font-family: var(--heading-font);
  font-weight: var(--font-bold);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.7;
  color: var(--text-color);
  font-weight: 400;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1400px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 3rem;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-card);
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
}

.section__title {
  text-align: center;
  font-family: var(--heading-font);
  font-size: var(--h1-font-size);
  font-weight: 800;
  margin-bottom: 3rem;
  color: var(--title-color);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}


/*=============== HEADER & NAV ===============*/
.header{
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(200%) blur(14px);
  -webkit-backdrop-filter: saturate(200%) blur(14px);
  border-bottom: 1px solid hsla(213, 27%, 84%, 0.5);
  box-shadow: 0 10px 28px rgba(2, 21, 64, 0.07);
  z-index: 9999; /* Higher than slider */
}

/* Premium subtle bottom gradient line */
.header::before{
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(59,130,246,0) 0%, rgba(59,130,246,0.35) 35%, rgba(59,130,246,0.5) 50%, rgba(59,130,246,0.35) 65%, rgba(59,130,246,0) 100%);
  pointer-events: none;
}

.nav{
  position: relative;
  height: var(--header-height);
  display:flex;
  justify-content: space-between;
  align-items: center;
  overflow: visible;
}

.nav__logo{
  color: var(--title-color);
  font-weight: var(--font-bold);
  display: flex;
  align-items: center;
  height: 100%;
}

.nav__logo-img {
  height: 60px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
}

.nav__iso-container {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-left: 1.5rem;
  position: relative;
  z-index: 1000;
}

.nav__iso-link {
  display: inline-block;
  text-decoration: none;
}

.nav__iso-img {
  height: 85px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  position: relative;
  top: 5px;
  margin-top: 8px;
  transform: translateX(15px);
}

.nav__toggle,
.nav__close{
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

.nav__toggle {
  display: block;
}

/* Right logo styling */
.nav__logo-right {
  margin-left: 1.5rem;
  display: flex;
  align-items: center;
}

.nav__logo-right img {
  height: 40px;  /* adjust size */
  width: auto;
}


/* Navigation for mobile devices */
@media screen and (max-width: 1150px){
  .nav__menu{
    position: fixed;
    top: 0;
    right: -100%;
    background-color: #ffffff; /* solid panel so links never mix with page */
    backdrop-filter: none;
    --webkit-backdrop-filter: none;
    border-left: 1px solid hsl(210, 20%, 90%);
    width: 85%;
    height: 100vh; /* fill viewport */
    padding: 7rem 3rem 3rem;
    transition: right .4s;
    z-index: 9999;
    overflow: hidden; /* no inner scrolling */
    box-shadow: -16px 0 32px rgba(2, 21, 64, 0.08);
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  /* Fix hamburger menu overlap - mobile and tablet */
  .nav__menu .nav__iso-container {
    margin-left: 0;
    padding-left: 0;
    margin-top: 1rem;
    align-self: flex-start;
  }
  
  .nav__menu .nav__iso-img {
    height: 60px;
    width: auto;
    transform: none;
  }
}

.nav__list{
  display: flex;
  flex-direction: column;
  row-gap: 2.25rem;
  position: relative;
  z-index: 10000;
  background: transparent; /* list sits above solid panel */
}

.nav__link{
  position: relative;
  color: var(--title-color);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 10px;
}

.nav__link::after{
  content:'';
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #60a5fa, #3b82f6, #60a5fa);
  background-size: 200% 100%;
  position: absolute;
  left: 0;
  bottom: -.55rem;
  transition: width .28s ease;
}

.nav__link:hover{
  color: var(--first-color);
  background-color: rgba(59, 130, 246, 0.10);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(59, 130, 246, 0.14), 0 2px 8px rgba(2, 21, 64, 0.06);
}

.nav__link:hover::after{
  width: 100%;
  animation: nav-underline-shimmer 1.5s linear infinite;
}

.nav__link.active {
  color: var(--first-color);
  background-color: rgba(59, 130, 246, 0.12);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.16);
}

/* Keep active underline fully visible */
.nav__link.active::after{
  width: 100%;
  animation: nav-underline-shimmer 2.2s linear infinite;
}

/* Ensure HOME gets underline when on the banner (top of page) */
body[data-section="home"] .nav__link[href="#home"],
body[data-section="home"] .nav__link[href="index.html"],
body[data-section="home"] .nav__link[href="./index.html"],
body[data-section="home"] .nav__link.active-link {
  color: var(--first-color);
}
body[data-section="home"] .nav__link[href="#home"]::after,
body[data-section="home"] .nav__link[href="index.html"]::after,
body[data-section="home"] .nav__link[href="./index.html"]::after {
  width: 100%;
}

/* Unify legacy active-link class with premium underline */
.nav__link.active-link{
  color: var(--first-color) !important;
  background-color: rgba(59, 130, 246, 0.12) !important;
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.16) !important;
  position: relative !important;
  z-index: 10001 !important;
}

.nav__link.active-link::after{
  width: 100% !important;
  animation: nav-underline-shimmer 2.2s linear infinite !important;
  z-index: 10002 !important;
}


.nav__close{
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  display: none;
  z-index: 1001;
  background: transparent;
  border: none;
  color: #333;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Close button inside menu - show when menu is open */
.nav__menu.show-menu .nav__close {
  display: block !important;
}

.nav__menu.show-menu ~ .nav__toggle {
  display: none;
}

/* Ensure close button is visible and properly styled */
.nav__menu .nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  z-index: 1001;
  background: transparent;
  border: none;
  color: #333;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

.nav__menu .nav__close:hover {
  color: #007bff;
}
/* Show menu */
.show-menu{
  right:0;
}

/* Add blur header */
.blur-header::after{
  content: '';
  position: absolute;
  width: 1000%;
  height: 100%;
  background-color: hsla(0, 0%, 100%, .95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid hsl(210, 20%, 90%);
  top: 0;
  left: 0;
  z-index: -1;
}

/* Active link */
/* Keyframes for animated premium underline */
@keyframes nav-underline-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Subtle icon button refinement */
.nav__toggle:hover,
.nav__close:hover{
  color: var(--first-color);
}

/* Desktop-only slightly elevated pill effect */
@media screen and (min-width: 1151px){
  .nav__link{
    padding: 0.6rem 1rem;
  }
  .nav__link:hover{
    background-color: rgba(59,130,246,0.08);
  }
}

/*=============== HOME ===============*/
.home__container{
  row-gap: 2rem;
  padding-top: 1rem;
}

.home__img{
  width: 220px;
  justify-self: center;
  mask-image: linear-gradient(to bottom,
              hsla(var(--hue),40%,16%) 60%,
             transparent 100%)
}

.home__name{
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  word-break: break-word;
  margin-bottom: 1rem;
}

.home__profession{
  position: relative;
  font-size: var(--big-font-size);
  color: var(--first-color);
  margin-bottom: 1rem;
}

.home__profession::after{
  content:'';
  position: absolute;
  left: 0;
  bottom: -.5rem;
  width: 25%;
  height: 3px;
  background-color: var(--first-color);
}

.home__description{
  color: var(--text-color);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.home__scroll{
  color: var(--title-color);
  display: inline-flex;
  column-gap: .5rem;
  align-items: center;
  justify-self: center;
  margin-top: 3rem;
}

.home__scroll-box{
  background-color: var(--first-color);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  overflow: hidden;
}

.home__scroll-text{
  font-weight: var(--font-semi-bold);
}

.home__scroll-box i{
  animation: scroll-down 3s infinite;
}

/* Animate scroll icon */
@keyframes scroll-down{
  0%{
    transform: translateY(-1rem);
    opacity: 0;
  }
  50%{
    transform: translateY(0);
    opacity: 1;
  }
  100%{
    transform: translateY(.6rem);
    opacity: 0;
  }
}

/*=============== BANNER ===============*/
/* Old banner styles removed - using new fixed positioning below */

/* Remove default section padding for banner to avoid white gaps */
.banner.section{
  padding-block: 0;
}
/* Remove default section padding for slider so it touches navbar */
.horizontal-slider.section{
  padding-block: 0;
}

.banner__container{
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.banner__background{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Old banner image styles removed - using new styles below */

.banner__overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.85) 0%, 
    rgba(30, 64, 175, 0.75) 50%, 
    rgba(96, 165, 250, 0.8) 100%);
  z-index: 2;
}

.banner__content{
  position: relative;
  z-index: 3; /* Lower than header but higher than background */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
}

.banner__text-container{
  max-width: 1000px;
  margin: 0 auto;
}

.banner__title{
  font-family: var(--heading-font);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Bold only the phrase "and stay" and the dynamic word */
.banner__bold{ font-weight: 900; }
.banner__dynamic-text{ font-weight: 900; }

.banner__dynamic-text{
  position: relative;
  display: inline-block;
  color: #fbbf24;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
  }
  to {
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.8), 0 0 40px rgba(251, 191, 36, 0.3);
  }
}

.banner__subtitle{
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  line-height: 1.6;
  font-weight: 400;
}

.banner__cta{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.banner__button{
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.banner__button::before{
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.banner__button:hover::before{
  left: 100%;
}

.banner__button:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  color: var(--primary-dark);
}

.banner__button i{
  transition: transform 0.3s ease;
}

.banner__button:hover i{
  transform: translateX(5px);
}

.banner__play-button{
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.banner__play-button:hover{
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.banner__play-button i{
  color: #ffffff;
  font-size: 1.5rem;
  margin-left: 3px;
}

.banner__floating-elements{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.banner__floating-icon{
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}

.banner__floating-icon i{
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
}

.banner__floating-icon--1{
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.banner__floating-icon--2{
  top: 30%;
  right: 15%;
  animation-delay: 1.5s;
}

.banner__floating-icon--3{
  bottom: 25%;
  left: 20%;
  animation-delay: 3s;
}

.banner__floating-icon--4{
  bottom: 35%;
  right: 10%;
  animation-delay: 4.5s;
}

/* Text Animation Classes */
.banner__dynamic-text.fade-in{
  animation: fadeInUp 0.8s ease-out forwards;
}

.banner__dynamic-text.fade-out{
  animation: fadeOutDown 0.8s ease-out forwards;
}

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

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

@keyframes float{
  0%, 100%{
    transform: translateY(0px);
  }
  50%{
    transform: translateY(-15px);
  }
}

/* Responsive banner */
@media screen and (max-width: 768px) {
  .banner {
    height: 100vh;
    min-height: 100vh;
  }
  
  .banner__content {
    padding: 1rem;
  }
  
  .banner__title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 1rem;
  }
  
  .banner__subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem);
    margin-bottom: 2rem;
  }
  
  .banner__cta {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .banner__button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .banner__play-button {
    width: 50px;
    height: 50px;
  }
  
  .banner__play-button i {
    font-size: 1.25rem;
  }
  
  .banner__floating-icon {
    width: 45px;
    height: 45px;
  }
  
  .banner__floating-icon i {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 480px) {
  .banner {
    height: 70vh;
    min-height: 450px;
  }
  
  .banner__title {
    font-size: clamp(1.75rem, 10vw, 2.5rem);
    line-height: 1.2;
  }
  
  .banner__subtitle {
    font-size: clamp(0.9rem, 5vw, 1.1rem);
    margin-bottom: 1.5rem;
  }
  
  .banner__button {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .banner__floating-icon {
    width: 35px;
    height: 35px;
  }
  
  .banner__floating-icon i {
    font-size: 1rem;
  }
  
  .banner__floating-icon--1,
  .banner__floating-icon--2,
  .banner__floating-icon--3,
  .banner__floating-icon--4 {
    display: none; /* Hide floating icons on very small screens */
  }
}

/* Mouse Scroll Indicator */
.banner__scroll-indicator {
  position: absolute;
  bottom: 3rem; /* Move up slightly from 2rem to 3rem */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 40;
  animation: bounce 2s infinite;
}

.banner__mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  position: relative;
  background: transparent;
}

.banner__mouse-wheel {
  width: 3px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}

.banner__scroll-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.5;
    transform: translateX(-50%) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Old conflicting banner styles removed - using new fixed positioning below */

/* Old horizontal slider styles removed - using new fixed position styles below */

/* Responsive styles removed - using fixed styles below */

/*=============== COMPANY OVERVIEW ===============*/
.company{
  background-color: hsl(210, 40%, 98%);
  padding: 2rem 0;
}

.company__title{
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.company__description{
  font-size: var(--normal-font-size);
  color: var(--text-color);
  text-align: center;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.company__highlight{
  color: hsl(230, 70%, 55%);
  font-weight: var(--font-semi-bold);
}

/*=============== SERVICE CARDS ===============*/
.service-cards{
  padding: 2rem 0;
}

.service-cards__container{
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card{
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid hsl(210, 20%, 90%);
}

.service-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 10px 30px hsla(210, 70%, 50%, 0.1);
}

.service-card__icon{
  background: linear-gradient(135deg, var(--first-color), var(--first-color-light));
  color: var(--container-color);
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.service-card__title{
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  color: var(--first-color);
  margin-bottom: 1rem;
}

.service-card__description{
  color: var(--text-color);
  line-height: 1.6;
}

/*=============== DESCRIPTION ===============*/
.description{
  background-color: hsl(210, 40%, 98%);
  padding: 2rem 0;
}

.description__text{
  font-size: var(--normal-font-size);
  color: var(--text-color);
  text-align: center;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

.description__highlight{
  color: hsl(230, 70%, 55%);
  font-weight: var(--font-semi-bold);
}

/*=============== SOLUTIONS SLIDER ===============*/
.solutions-slider{
  padding: 3rem 0;
  min-height: 400px; /* Ensure minimum height for visibility */
}

.solutions-slider__title{
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  text-align: center;
  margin-bottom: 1rem;
}

.solutions-slider__subtitle{
  color: var(--text-color);
  text-align: center;
  margin-bottom: 3rem;
}

.solutions-slider__wrapper{
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 300px; /* Ensure minimum height */
}

.solutions-slider__track{
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
  width: max-content;
  will-change: transform;
  transform: translateX(0);
}

.solution-category{
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid hsl(210, 20%, 90%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 320px;
  max-width: 320px;
  flex-shrink: 0;
}

.solution-category:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 25px hsla(210, 70%, 50%, 0.1);
}

.solution-category__header{
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.solution-category__icon{
  background-color: var(--container-color);
  width: 60px;
  height: 60px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--first-color-light);
  overflow: hidden;
}

.solution-category__image{
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.solution-category__title{
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  color: var(--first-color);
}

.solution-category__list{
  list-style: none;
}

.solution-category__list li{
  color: var(--text-color);
  padding: 0.5rem 0;
  border-bottom: 1px solid hsl(210, 20%, 95%);
  position: relative;
  padding-left: 1rem;
}

.solution-category__list li:last-child{
  border-bottom: none;
}

.solution-category__list li::before{
  content: '•';
  color: var(--first-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/*=============== CLIENTS ===============*/
.clients{
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.clients::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.clients__container {
  position: relative;
  z-index: 1;
}

.clients__title{
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  letter-spacing: -0.02em;
}

.clients__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--first-color), var(--first-color-light));
  border-radius: 2px;
}

.clients__subtitle{
  color: var(--text-color);
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.clients__slider{
  overflow: hidden;
  position: relative;
  margin: 0 -2rem;
  padding: 2rem 0;
}

.clients__track{
  display: flex;
  gap: 2rem;
  animation: clientSlide 40s linear infinite;
  width: max-content;
}

.clients__track:hover{
  animation-play-state: paused;
}

@keyframes clientSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.client__logo{
  background: transparent;
  padding: 0;
  border-radius: 15px;
  box-shadow: none;
  transition: all 0.3s ease;
  min-width: 220px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.client__logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.client__logo:hover::before {
  left: 100%;
}

.client__logo:hover{
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.client__image{
  max-width: 200px;
  max-height: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0%) opacity(1);
  transition: all 0.3s ease;
  border-radius: 10px;
}

.client__logo:hover .client__image{
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/*=============== PARTNERS ===============*/
.partners{
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.partners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.partners__container {
  position: relative;
  z-index: 1;
}

.partners__title{
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  letter-spacing: -0.02em;
}

.partners__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--first-color), var(--first-color-light));
  border-radius: 2px;
}

.partners__subtitle{
  color: var(--text-color);
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.partners__slider{
  overflow: hidden;
  position: relative;
  margin: 0 -2rem;
  padding: 2rem 0;
}

.partners__track{
  display: flex;
  gap: 2rem;
  animation: partnerSlide 40s linear infinite;
  width: max-content;
}

.partners__track:hover{
  animation-play-state: paused;
}

@keyframes partnerSlide {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.partner__logo{
  background: transparent;
  padding: 0;
  border-radius: 15px;
  box-shadow: none;
  transition: all 0.3s ease;
  min-width: 220px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.partner__logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.partner__logo:hover::before {
  left: 100%;
}

.partner__logo:hover{
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.partner__image{
  max-width: 200px;
  max-height: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0%) opacity(1);
  transition: all 0.3s ease;
  border-radius: 10px;
}

.partner__logo:hover .partner__image{
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/*=============== CTA SECTION ===============*/
.cta{
  background: var(--gradient-hero);
  padding: 2rem 0;
  color: var(--container-color);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

/* Tighten CTA overall vertical spacing (overrides generic .section spacing) */
.cta.section{
  padding-block: 2.25rem; /* more height */
}

.cta__content{
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta__label{
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.cta__title{
  font-family: var(--heading-font);
  font-size: calc(var(--big-font-size) + 0.5rem);
  font-weight: 800;
  color: var(--container-color);
  margin-bottom: 1rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.cta__highlight{
  color: hsl(45, 100%, 70%);
}

.cta__description{
  color: hsla(0, 0%, 100%, 0.85);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.cta__button{
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--primary-color) !important;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: var(--normal-font-size);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.cta__button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s;
}

.cta__button:hover::before {
  left: 100%;
}

.cta__button:hover{
  background: rgba(255, 255, 255, 1) !important;
  color: var(--primary-dark) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-premium);
}

/*=============== FOOTER ===============*/
.footer{
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: #ffffff;
  padding: 3rem 0 1rem;
  position: relative;
  z-index: 1000;
  width: 100%;
  overflow: visible;
  margin-top: 0;
  clear: both;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grain)"/></svg>');
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}

.footer__content{
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1001;
}

.footer__section:nth-child(4) {
  grid-column: 4 / 5;
}

.footer__section:nth-child(5) {
  grid-column: 5 / 6;
}
.footer__section:nth-child(6) {
  grid-column: 8 / 9;
}
/* Removed unused footer section styles - only 6 sections exist */

.footer__section h3{
  color: var(--container-color);
}

.footer__title{
  font-size: 1.1rem;
  font-weight: var(--font-bold);
  color: var(--container-color);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__description{
  color: hsla(0, 0%, 100%, 0.8);
  line-height: 1.6;
}

.footer__address p{
  color: hsla(0, 0%, 100%, 0.8);
  margin-bottom: 0.25rem;
  font-size: 1rem;
  white-space: nowrap;
}

.footer__contact-item{
  margin-bottom: 0.25rem;
}

.footer__contact-section{
  margin-bottom: 1rem;
}

.footer__label{
  color: var(--container-color);
  font-weight: var(--font-semi-bold);
  display: block;
  font-size: var(--small-font-size);
}

.footer__list{
  list-style: none;
}

.footer__list li{
  margin-bottom: 0.5rem;
}

.footer__link{
  color: hsla(0, 0%, 100%, 0.8);
  transition: color 0.3s ease;
  text-decoration: none;
  font-size: 1rem;
}

.footer__link:hover{
  color: hsl(45, 100%, 70%);
}

.footer__email{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsla(0, 0%, 100%, 0.8);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer__email:hover{
  color: hsl(45, 100%, 70%);
}

.footer__social{
  display: flex;
  gap: 0.75rem;
}

.footer__social-link{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: hsla(0, 0%, 100%, 0.1);
  color: var(--container-color);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.footer__social-link:hover{
  background-color: hsl(45, 100%, 70%);
  color: var(--title-color);
  transform: translateY(-2px);
}

.footer__bottom{
  border-top: 1px solid hsla(0, 0%, 100%, 0.2);
  padding-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

.footer__logo-text{
  font-size: 1.1rem;
  font-weight: var(--font-bold);
  color: var(--container-color);
}

.footer__logo-tagline{
  color: hsla(0, 0%, 100%, 0.8);
  font-size: var(--small-font-size);
  margin-top: 0.25rem;
}

.footer__copyright{
  text-align: right;
}

.footer__copyright p{
  color: hsla(0, 0%, 100%, 0.6);
  font-size: var(--small-font-size);
}

/* Responsive Footer */
@media screen and (max-width: 1200px) {
  .footer__content {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

@media screen and (max-width: 1024px) {
  /* FOOTER FIX - 4x2 grid for tablet view */
  .footer__content {
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: repeat(2, auto) !important;
    gap: 1.25rem !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 1.5rem !important;
    margin: 0 !important;
  }
  
  /* Row 1: OUR ADDRESS, SALES CONTACT, SUPPORT CONTACT, Resources */
  .footer__section:nth-child(1) { /* OUR ADDRESS */
    grid-column: 1;
    grid-row: 1;
  }
  .footer__section:nth-child(2) { /* SALES CONTACT */
    grid-column: 2;
    grid-row: 1;
  }
  .footer__section:nth-child(3) { /* SUPPORT CONTACT */
    grid-column: 3;
    grid-row: 1;
  }
  .footer__section:nth-child(4) { /* Resources */
    grid-column: 4;
    grid-row: 1;
  }
  
  /* Row 2: ABOUT, AN ISO 9001-2015 COMPANY (below SALES CONTACT) */
  .footer__section:nth-child(5) { /* ABOUT */
    grid-column: 1;
    grid-row: 2;
  }
  .footer__section:nth-child(6) { /* AN ISO 9001-2015 COMPANY */
    grid-column: 2;
    grid-row: 2;
  }
  
  /* Removed conflicting footer section styles for 4x2 grid */
  
  .footer__container {
    padding: 0 !important;
    max-width: 100% !important;
    position: relative !important;
    z-index: 1 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  
  .footer {
    position: relative !important;
    z-index: 1000 !important;
    width: 100% !important;
    overflow: visible !important;
    padding: 2rem 0 1rem !important;
  }
  
  /* SECTION GAP FIX - Further reduce spacing between Core Services and World-Class Solutions */
  .core-services.section {
    margin-bottom: -30rem !important;
    padding-bottom: 0 !important;
  }
  
  .world-solutions.section {
    margin-top: -25rem !important;
    padding-top: 0 !important;
  }
  
  /* Override any conflicting styles */
  .core-services {
    margin-bottom: -25rem !important;
    padding-bottom: 0 !important;
  }
  
  .world-solutions {
    margin-top: -25rem !important;
    padding-top: 0 !important;
  }
  
  /* Increase gap between Partners and Core Services */
  .partners.section {
    margin-bottom: 4rem !important;
    padding-bottom: 2rem !important;
  }
  
  .core-services.section {
    margin-top: 4rem !important;
    padding-top: 2rem !important;
  }
  
  /* Increase gap between Slider and Clients section */
  .horizontal-slider.section {
    margin-bottom: 6rem !important;
    padding-bottom: 3rem !important;
  }
  
  .clients.section {
    margin-top: 6rem !important;
    padding-top: 3rem !important;
    margin-top: 6rem !important;
  }
  
  /* Override any conflicting styles */
  .horizontal-slider {
    margin-bottom: 6rem !important;
    padding-bottom: 3rem !important;
  }
  
  .clients {
    margin-top: 6rem !important;
    padding-top: 3rem !important;
  }
}

@media screen and (max-width: 768px) {
  /* Mobile view - vertical layout for core service cards */
  .core-service {
    min-height: 100px !important;
    padding: 1rem 0.75rem !important;
    min-width: 200px !important;
    width: 200px !important;
    flex: 0 0 auto !important;
  }
  
  .core-service__icon {
    font-size: 1.2rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .core-service__title {
    font-size: 0.7rem !important;
    line-height: 1.2 !important;
  }
  
  /* Reduce gap between core services and world solutions in mobile */
  .world-solutions {
    padding: 0.5rem 0 1rem 0 !important;
  }
  
  .world-solutions__container {
    margin-top: 0 !important;
  }
  
  .world-solutions.section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0.5rem !important;
    padding-bottom: 1rem !important;
  }
  
  /* Fix core services container height for mobile - MINIMUM GAPS */
  .core-services {
    min-height: auto !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
  }
  
  .core-services.section {
    min-height: auto !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .core-services__container {
    min-height: auto !important;
    padding: 0.25rem 0 !important;
  }
  
  .core-services__grid {
    min-height: auto !important;
    gap: 0.5rem !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    overflow-x: hidden !important;
    padding: 0 0.5rem !important;
    justify-content: center !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .core-services__header {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }
  
  .core-services__badge {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }
  
  .core-services .section__title {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }
  
  .footer__content {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    padding: 0 1rem !important;
  }
  
  /* Stack all sections vertically with proper spacing */
  .footer__section {
    width: 100% !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    display: block !important;
    position: static !important;
    text-align: left !important;
  }
  
  /* Fix social media section alignment */
  .footer__section:nth-child(7) {
    text-align: left !important;
  }
  
  .footer__container {
    padding: 0 !important;
    max-width: 100% !important;
    position: relative !important;
    z-index: 1 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  
  .footer {
    position: relative !important;
    z-index: 1000 !important;
    width: 100% !important;
    overflow: visible !important;
    padding: 2rem 0 0 !important;
    margin-bottom: 0 !important;
  }
  
  .footer__bottom {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
    padding: 1rem 0 !important;
  }
  
  .footer__copyright {
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .footer__content {
    grid-template-columns: 1fr;
  }
  
  .solution-category {
    min-width: 280px;
  }
  
  .service-cards__container {
    grid-template-columns: 1fr;
  }
  
  .partner__logo,
  .client__logo {
    min-width: 180px;
    height: 120px;
  }
  
  .partner__image,
  .client__image {
    max-width: 120px;
    max-height: 80px;
  }
}

/*=============== BUTTON ===============*/
.button{
  display: inline-flex;
  justify-content: center;
  background: var(--gradient-primary);
  color: white;
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 2rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.button:hover::before {
  left: 100%;
}

.button:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  background: var(--gradient-primary);
}

/*=============== WORKS ===============*/
.work{
  background-color: var(--container-color);
}

.work__card{
  background-color: var(--first-color);
}

.work__link{
  display: block;
  position: relative;
  background-color: var(--body-color);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  color: var(--text-color);
  transition: transform .4s;
}

.work__title{
  font-size: var(--h3-font-size);
  margin-bottom: .75rem;
}

.work__description{
  margin-bottom: 1rem;
}

.work__tech{
  color: var(--first-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1.5rem;
}

.work__link i{
  position: absolute;
  top: 1.8rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--first-color-light);
  transition: transform .4s;
}

.work__link:hover{
  transform: translateY(-.35rem);
}

.work__link:hover i{
  transform: translateX(.5rem);
}

/*=============== INFO ===============*/
.info__container{
  row-gap: 3rem;
}

.info__title{
  position: relative;
  font-size: var(--small-font-size);
  color: var(--text-color);
  margin-bottom: 2rem;
}

.info__title::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -.5rem;
  width: 20px;
  height: 2px;
  background-color: var(--text-color);
}

/* ABOUT */
.about{
  row-gap: 3rem;
}

.about__description{
  margin-bottom: 2rem;
}

.about__description b{
  color: var(--first-color-light);

}

.about__img{
  width: 250px;
  justify-self: center;
  mask-image: linear-gradient(to bottom,
              hsla(var(--hue),40%, 16%) 60%,
              transparent 100%);
}

.about__button{
  width: 100%;
}

/* EXPERIENCE */
.education__content{
  row-gap: 2rem;
}

.education__data{
  row-gap: 1rem;
}

.education__institute{
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
}

.education__profession{
  font-size: var(--h3-font-size);
  margin-bottom: .25rem;
}

.education__date{
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: .75rem;
}

/* SKILLS */

.skills__img{
  width: 35px;
  margin-bottom: .5rem;
}

.skills__name{
  font-size: var(--small-font-size);
}

.skills__content{
  grid-template-columns: repeat(3, max-content);
  justify-content: space-around;
  align-items: flex-end;
}

.skills__box{
  display: grid;
  place-items: center;
  transition: transform .4s;
}

.skills__box:hover{
  transform: translateY(-.25rem);
}

/*=============== SERVICES ===============*/
.services{
  background-color: var(--container-color);
}

.services__container{
  row-gap: 2rem;
}

.services__icon{
  display: block;
  color: var(--first-color-light);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.services__title{
  font-size: var(--h3-font-size);
  margin-bottom: .75rem;
}

/*=============== CONTACT ===============*/
.contact__container{
  row-gap: 4rem;
}

.contact__info{
  margin-bottom: 3rem;
}

.contact__info-title{
  font-size: var(--h2-font-size);
  color: var(--title-color);
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
}

.contact__info-description{
  color: var(--text-color);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact__info-details{
  display: grid;
  gap: 1.5rem;
}

/* Removed conflicting contact__info-item styles - using the newer ones below */

.contact__info-item h4{
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: 0.25rem;
}

.contact__info-item span{
  color: var(--text-color);
  font-size: var(--small-font-size);
}

.contact__group,
.contact__form{
  gap: 1rem;
}

.contact__form{
  position: relative;
}

.contact__input{
  padding: 1.25rem;
  background-color: var(--container-color);
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

.contact__input::placeholder{
  color: var(--text-color-light);
}

.contact__area{
  height: 10rem;
  resize: none;
}

.contact__button{
  margin-top: 1rem;
  cursor: pointer;
}

.contact__social{
  grid-template-columns: repeat(2,max-content);
  justify-content: center;
  column-gap: 3rem;
}

.contact__social-link{
  color: var(--title-color);
  display: inline-flex;
  column-gap: .25rem;
  align-items: center;
  transition: color .4s;
}

.contact__social-link i{
  font-size: 1.5rem;
}

.contact__social-link span{
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
}

.contact__social-link:hover{
  color: var(--first-color-light);
}

.contact__message{
  position: absolute;
  left: 0;
  bottom: -2rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

/*=============== FOOTER ===============*/

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
  width: .6rem;
  background-color: hsl(210, 20%, 95%);
}

::-webkit-scrollbar-thumb{
  background-color: hsl(210, 30%, 70%);
}

::-webkit-scrollbar-thumb:hover{
  background-color: hsl(210, 40%, 60%);
}



/*=============== SCROLL UP ===============*/
.scrollup{
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--container-color);
  display: inline-flex;
  padding: 6px;
  color: var(--title-color);
  font-size: 1.25rem;
  box-shadow: 0 4px 12px hsla(var(--hue), 30%, 8%, .3);
  z-index: var(--z-tooltip);
  transition: bottom .4s, transform .4s;
}

.scrollup:hover{
  transform: translateY(-.5rem);
}

/* Show Scroll Up */
.show-scroll{
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/

/* Desktop view - reduce core service card height */
@media screen and (min-width: 1200px) {
  .core-service {
    min-height: 100px !important;
    padding: 1.25rem 1rem !important;
  }
}

/* For small devices */
@media screen and (max-width: 300px){
  .container{
    margin-inline: 1rem;
  }

  .skills__content{
    grid-template-columns: repeat(2, max-content);
  }
}

/* For medium devices */
@media screen and (min-width: 540px){
  .home__container,
  .work__container,
  .info__container,
  .services__container,
  .contact__container{
    grid-template-columns: 350px;
    justify-content: center;
  }
}

@media screen and (min-width: 768px){
  .nav__menu{
    width: 50%;
  }

  .home__container{
    grid-template-columns: repeat(2, 350px);
  }

  .home__data{
    align-self: flex-end;
    padding-bottom: 3rem;
    order: -1;
  }
  
  .home__scroll{
    grid-column: 1 / 3;
  }
 
  /* .work__container{
    grid-template-columns: repeat(2, 350px);
  } */

  .info__container{
    grid-template-columns: initial;
  }

  .about{
    grid-template-columns: repeat(2, 350px);
    align-items: center;
  }

  .about__content{
    order: 1;
  }

  .education__data{
    grid-template-columns: repeat(2, 1fr);
  }

  .skills__content{
    grid-template-columns: repeat(5, max-content);
    justify-content: initial;
    column-gap: 4rem;
  }

  .services__container{
    grid-template-columns: repeat(2, 320px);
  }
}

/* For large devices */
@media screen and (min-width: 1150px){
  .container{
    margin-inline: auto;
  }

  .section{
    padding-block: 7rem 5rem; 
  }

  .section__title{
    margin-bottom: 4rem;
  }

  .nav{
    height: calc(var(--header-height) + 2rem);
  }

  .nav__toggle,
  .nav__close{
    display: none;
  }

  .nav__menu{
    width: initial;
    display: flex;
    align-items: center;
  }

  .nav__list{
    flex-direction: row;
    column-gap: 2.0rem;
  }

  .home__container{
    grid-template-columns: 490px 335px;
    gap: 3rem 16rem;
  }

  .home__img{
    width: 350px;
  }
  .home__name{
    margin-bottom: 1.5rem;
  }
  .home__profession::after{
    bottom: -1rem;
    width: 35%;
  }

  .work__container{
    grid-template-columns: repeat(2, 540px);
    gap: 3.5rem;
  }
  .work__link{
    padding: 3rem 3rem 2rem;
  }
  .work__title{
    font-size: var(--h2-font-size);
    margin-bottom: 1rem;
  }
  .work__link i{
    font-size: 2rem;
  }

  .info__container{
    row-gap: 4rem;
  }
  .info__title{
    font-size: var(--normal-font-size);
    margin-bottom: 3.5rem;
  }

  .about{
    grid-template-columns: 320px 420px;
    column-gap: 11.5rem;
  }
  .about__img{
    width: 320px;
  }
  .about__description{
    margin-bottom: 3rem;
  }
  .about__button{
    width: initial;
  }

  .education__content{
    row-gap: 4rem;
  }
  .education__data{
    grid-template-columns: 320px 380px;
    column-gap: 11.5rem;
  }
  .education__institute{
    font-size: var(--h1-font-size);
  }
  .education__profession{
    margin-bottom: .5rem;
  }
  .education__date{
    font-size: var(--normal-font-size);
    margin-bottom: 1.5rem;
  }

  .skills__content{
    grid-template-columns: repeat(6, max-content);
  }

  .services__container{
    grid-template-columns: repeat(2, 350px);
    gap: 6rem 13rem;
  }

  .services__icon{
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .contact__container{
    grid-template-columns: 580px;
  }
  .contact__group{
    height: 15rem;
  }
  .contact__button{
    width: max-content;
    justify-self: center;
    margin-top: 1.5rem;
  }
  .contact__message{
    bottom: 4.5rem;
  }

  .contact__social{
    grid-template-columns: repeat(3, max-content);
    column-gap: 5rem;
  }



    .scrollup{
      right: 3rem;
    }
}

/*=============== NEW BRANDING STYLES ===============*/

/* Branding Hero Section */
.branding__hero {
  min-height: 100vh;
  width: 100vw;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.branding__content {
  text-align: center;
  color: #FFFFFF;
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.branding__elements {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.branding__elements--bottom {
  margin-top: 2rem;
  margin-bottom: 0;
}

.branding__element {
  text-align: center;
  position: relative;
}

.branding__element::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #2C3E50;
  border-radius: 50%;
  z-index: -1;
}

.branding__element::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 2px;
  background: #2C3E50;
  z-index: -2;
}

.branding__label {
  display: block;
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 0.25rem;
  color: #2C3E50;
}

.branding__sublabel {
  display: block;
  font-size: var(--small-font-size);
  color: #2C3E50;
}

.branding__main {
  margin: 3rem 0;
}

.branding__title {
  font-family: var(--heading-font);
  font-size: 6rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 0.9;
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* About Intro Section */
.about-intro {
  background: #f8f9fa;
  padding: 4.5rem 0 2.5rem; /* reduce bottom whitespace */
  scroll-margin-top: calc(var(--header-height) + 2rem);
  min-height: 75vh; /* reduce height to close gap */
  margin-top: 4rem; /* Increase top margin to shift section down */
}

.about-intro__content {
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start; /* align to same top line */
  padding-left: 2rem; /* shift content to the right while keeping background full-width */
}

.about-intro__tabs {
  display: flex;
  gap: 2rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
}

.about-intro__tab {
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  color: #6c757d;
  padding-bottom: 1rem;
  cursor: pointer !important;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  position: relative;
  z-index: 10;
  pointer-events: auto !important;
}

.about-intro__tab:hover {
  color: var(--first-color-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-intro__tab--active {
  color: var(--first-color);
  border-bottom-color: var(--first-color);
}

.about-intro__tab--active:hover {
  color: var(--first-color);
}

.about-intro__content-wrapper {
  position: relative;
  min-height: 0;
  margin-top: 0; /* align content block to tabs */
}

.about-intro__description {
  line-height: 1.8;
  margin-bottom: 0.75rem;
  margin-top: 0; /* remove extra gap at top */
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(0);
}

.about-intro__description--active {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Ensure the first tab content is visible by default */
#about-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
  margin-top: 2rem;
}

#voice-content {
  display: none;
  margin-top: 2rem; /* Match the margin-top of about-content for proper alignment */
}

#voice-content .voice-section:first-child {
  margin-top: 0; /* Remove any top margin from first voice section */
}

.about-intro__description p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.voice-section {
  margin-bottom: 0.5rem;
}

.voice-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-bottom: 0;
}

/* Specific styling for voice content to reduce spacing */
#voice-content { margin-top: 2rem !important; }

/* Tablet-only adjustment */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  #voice-content { margin-top: 2rem !important; }
  /* Tablet-only: tighten spacing above/below Core Services (About tab has short content) */
  .about-intro { min-height: auto !important; }
  .about-intro.section { padding-bottom: 0.5rem !important; margin-bottom: 0 !important; }
  #about-content.about-intro__description--active { margin-bottom: 0 !important; }
  #voice-content.about-intro__description--active { margin-bottom: 1.5rem !important; }
  .core-services { padding-top: 0.5rem !important; margin: 0 !important; }
  .core-services.section { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
  .core-services__header { margin: 0 0 0.5rem 0 !important; }
  .core-services .section__title { margin-bottom: 0.25rem !important; margin-top: 0 !important; }
  .clients.section { padding-top: 3rem !important; margin-top: 6rem !important; }

  /* Tablet-only: main page core services - keep all 8 cards on one row with proper spacing */
  .core-services.section .core-services__container.container { margin-inline: 1rem !important; }
  .core-services.section .core-services__grid {
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
    justify-content: center !important;
    margin-top: 0.25rem !important;
    overflow-x: auto !important;
    padding: 0 0.5rem !important;
  }

  /* Tablet-only: smaller cards to fit 8 in one row */
  .core-services.section .core-services__grid .core-service {
    min-width: 100px !important;
    width: 100px !important;
    min-height: 90px !important;
    padding: 0.75rem 0.5rem !important;
    border-radius: 0px !important;
    flex: 0 0 auto !important;
  }

  .core-services.section .core-services__grid .core-service__icon {
    font-size: 1.2rem !important;
    margin-bottom: 0.25rem !important;
  }

  .core-services.section .core-services__grid .core-service__title {
    font-size: 0.55rem !important;
    line-height: 1.1 !important;
  }
}

/* Laptop-only adjustment (1025px–1366px) */
@media screen and (min-width: 1025px) and (max-width: 1366px) {
  #voice-content { margin-top: 2rem !important; }
}

/* Mobile adjustment */
@media screen and (max-width: 768px) {
  #voice-content { margin-top: 2rem !important; }
}

#voice-content .voice-section:first-child {
  margin-top: 0;
}

#voice-content .voice-section {
  margin-bottom: 0.45rem;
}

.about-intro__link {
  color: var(--first-color);
  text-decoration: none;
  font-weight: var(--font-semi-bold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.about-intro__link:hover {
  color: var(--first-color-alt);
}

.about-intro__image {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* align top horizontally with text */
  margin-top: -6rem; /* shift up more to improve alignment */
}

.about-intro__graphic {
  width: 600px;
  height: 600px;
  background: transparent;
  border-radius: 20px;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.infographic-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.infographic-img:hover {
  transform: scale(1.02);
}

.about-intro__skyline-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

.about-intro__skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, #2c3e50 0%, #34495e 100%);
  clip-path: polygon(0 100%, 15% 80%, 25% 85%, 35% 70%, 50% 75%, 65% 60%, 80% 65%, 100% 50%, 100% 100%);
}

/* World Solutions Section */
.world-solutions {
  padding: 6rem 0 4rem 0; /* Increased top padding from 4rem to 6rem */
  background: #ffffff;
}

.world-solutions__container {
  margin-top: 3rem; /* Add extra top margin to shift content down */
}

.world-solutions__header {
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.world-solutions__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.world-solutions__description {
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 2rem;
  text-align: justify;
  max-width: 100%;
  font-size: var(--normal-font-size);
}

.world-solutions__link {
  color: var(--first-color);
  text-decoration: none;
  font-weight: var(--font-semi-bold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.world-solutions__link:hover {
  color: var(--first-color-alt);
}

/* Core Services Section */
.core-services {
  background: var(--section-bg);
  padding: 4rem 0 5rem; /* Increased top padding to prevent hover cutoff */
  scroll-margin-top: calc(var(--header-height) + 1rem);
  min-height: 70vh;
  position: relative;
  z-index: 20;
  margin-top: 2rem; /* Add space between Partners and Core Services */
  pointer-events: auto;
  overflow: visible; /* Ensure hover effects are not clipped */
}

.core-services__header {
  text-align: center;
  margin-bottom: 3rem;
}

.core-services__badge {
  display: inline-block;
  background: transparent;
  color: var(--title-color);
  padding: 0;
  border-radius: 0;
  font-family: var(--heading-font);
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  letter-spacing: -0.02em;
  text-transform: none;
  position: relative;
  padding-left: 2rem;
}

/* Blue dot removed */

.core-services__grid {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  justify-content: center;
  flex-wrap: nowrap;
  overflow: visible; /* Changed from hidden to visible to prevent hover cutoff */
  padding: 1rem; /* Added top/bottom padding to prevent hover cutoff */
}

.core-service {
  background: var(--gradient-card);
  border-radius: 0px;
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--title-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(226, 232, 240, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  flex: 0 0 auto;
  min-width: 140px;
  min-height: 120px;
  width: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.core-service:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-premium);
  border-color: rgba(59, 130, 246, 0.4);
}

.core-service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: 16px;
}

.core-service:hover::before {
  opacity: 0.05;
}

 .core-service--main {
   background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
   min-height: 300px; /* keep card size reasonable */
   width: 420px;      /* align with earlier size */
   box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
   font-family: 'Arial', 'Helvetica', sans-serif;
   font-size: 2rem; /* base not used for title */
   font-weight: 800;  /* bold headline feel */
   letter-spacing: 0.02em;
   border: none;
   color: #000000;
   text-transform: none;
   position: relative;
   line-height: 1.3;
   display: flex;              
   align-items: center;        /* vertical center */
   justify-content: center;    /* horizontal center first, then override with left */
   padding: 2.25rem;           /* equal padding all around */
 }

.core-service__icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  opacity: 1;
  filter: none;
  transition: all 0.3s ease;
}

.core-service__title {
  font-family: var(--heading-font);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--title-color);
  text-align: center;
  text-shadow: none;
}

/* Specific typography treatment only for the main WHAT WE DO card */
.core-service--main .core-service__title{
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-weight: 800;        /* bold first line style */
  font-size: clamp(3.25rem, 6vw, 4.75rem); /* larger text without resizing card */
  letter-spacing: -0.01em;
  line-height: 0.95;        /* tight to fill height */
  text-transform: none;
  color: #ffffff;          /* white text */
  text-align: left;        /* left aligned title */
  width: 100%;
  margin: 0;               /* remove any margins */
  position: absolute;      /* absolute positioning for precise control */
  left: 2.25rem;           /* align to left with padding */
  top: 50%;                /* move to vertical center */
  transform: translateY(-50%); /* adjust for perfect center */
}

/* Keep gradient and black text on hover for the main card */
.core-service--main:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #000000;
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.35);
}

.core-service--main:hover .core-service__title {
  color: #ffffff; /* ensure title stays white on hover */
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .branding__title {
    font-size: 3rem;
  }
  
  .branding__elements {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .branding__element::after {
    display: none;
  }
  
  .about-intro__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-intro__tabs {
    justify-content: center;
  }
  
  .core-services__grid {
    flex-wrap: wrap;
    gap: 1rem;
    overflow: visible; /* Prevent hover cutoff on tablet */
    padding: 1rem; /* Add padding for hover space */
  }
  
  .core-service {
    width: 180px;
    min-height: 100px;
  }
  
  .about-intro__graphic {
    width: 450px;
    height: 450px;
  }
  
  .about-intro {
    padding: 3rem 0 2rem;
    min-height: auto;
  }
  
  .about-intro__content {
    padding-left: 1rem;
  }
  
  .about-intro__content-wrapper {
    margin-top: 0;
  }
  
  .about-intro__description {
    margin-top: 0;
    margin-bottom: 0.5rem;
  }
  
  .voice-section {
    margin-bottom: 0.25rem;
  }
}

@media screen and (max-width: 480px) {
  .branding__title {
    font-size: 2rem;
  }
  
  .world-solutions__title {
    text-align: center;
    border-left: none;
    padding-left: 0;
    border-bottom: 4px solid var(--first-color);
    padding-bottom: 1rem;
  }
  
  .world-solutions__header {
    padding: 0 1rem;
  }
  
  .core-services__grid {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    overflow: visible; /* Prevent hover cutoff on mobile */
    padding: 1rem; /* Add padding for hover space */
  }
  
  .core-service {
    width: 250px;
    min-height: 120px;
  }
}

/*=============== SERVICES PAGE STYLES ===============*/

/* Services Hero Section */
.services-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 8rem 0 4rem;
  text-align: center;
}

.services-hero__container {
  max-width: 1400px;
  margin-inline: 4rem;
}

.services-hero__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 2.5rem;
}

.services-hero__left{ text-align: left; }
.services-hero__right{ text-align: left; }

.services-hero__badge {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.services-hero__title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--title-color);
  margin-bottom: 2rem;
  line-height: 1.15;
}

.services-hero__description {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
}

/* Technology Section */
.technology {
  background: #ffffff;
  padding: 6rem 0;
}

.technology__container {
  max-width: 1400px;
  margin-inline: 4rem;
}

.technology__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.technology__left {
  position: relative;
}

.technology__visual {
  width: 400px;
  height: 400px;
  margin: 0 auto;
  position: relative;
}

.technology__network {
  width: 100%;
  height: 100%;
  position: relative;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.2);
}

.technology__node {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
  animation: pulse 2s infinite;
}

.technology__node--center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1e40af 0%, var(--primary-color) 100%);
  animation: pulse-center 2s infinite;
}

.technology__node--top {
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.technology__node--right {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.technology__node--bottom {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.technology__node--left {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.technology__node-icon {
  font-size: 1.5rem;
  color: white;
}

.technology__node-label {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--heading-font);
}

.technology__connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.technology__connection {
  position: absolute;
  background: linear-gradient(45deg, var(--primary-color), transparent);
  height: 2px;
  animation: connection-flow 3s infinite;
}

.technology__connection--1 {
  top: 50%;
  left: 50%;
  width: 80px;
  transform: translate(-50%, -50%) rotate(-45deg);
  animation-delay: 0s;
}

.technology__connection--2 {
  top: 50%;
  left: 50%;
  width: 80px;
  transform: translate(-50%, -50%) rotate(45deg);
  animation-delay: 0.5s;
}

.technology__connection--3 {
  top: 50%;
  left: 50%;
  width: 80px;
  transform: translate(-50%, -50%) rotate(135deg);
  animation-delay: 1s;
}

.technology__connection--4 {
  top: 50%;
  left: 50%;
  width: 80px;
  transform: translate(-50%, -50%) rotate(225deg);
  animation-delay: 1.5s;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes pulse-center {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes connection-flow {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

.technology__badge {
  position: absolute;
  right: -4rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  padding: 2rem 2.5rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-width: 140px;
}

.technology__badge-text {
  color: white;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-align: center;
  white-space: nowrap;
}

.technology__badge-text--bold {
  font-weight: 800;
  font-size: 1.1rem;
}

.technology__right {
  padding-left: 4rem;
}

.technology__features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.technology__feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.technology__feature:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.5rem;
  bottom: -1rem;
  width: 2px;
  height: 2rem;
  background: var(--primary-color);
}

.technology__feature-icon {
  width: 3rem;
  height: 3rem;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.technology__feature-text {
  font-size: var(--normal-font-size);
  color: var(--title-color);
  font-weight: 600;
}

/* Components Section */
.components {
  background: #ffffff;
  padding: 6rem 0;
}

.components__container {
  max-width: 1400px;
  margin-inline: 4rem;
}

.components__title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--title-color);
  margin-bottom: 3rem;
  position: relative;
  padding-left: 3rem;
}

.components__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 100%;
  background: var(--primary-color);
  border-radius: 4px;
}

.components__list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.component__item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.component__icon {
  width: 3rem;
  height: 3rem;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.component__text {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  line-height: 1.6;
}

.components__conclusion {
  text-align: center;
}

.components__conclusion-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--heading-font);
}

/* Horizontal card layout for services page only */
.services-page__grid{
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

/* Row-style service cards for the Services page */
.services-page__grid .core-service{
  width: 100%;
  min-height: auto;
  display: grid;
  /* icon | title | description */
  grid-template-columns: 56px 300px 1fr;
  align-items: center;
  padding: 2rem;
  border-radius: 12px;
  gap: 2rem;
}

.services-page__grid .core-service__icon{
  margin: 0;
  justify-self: start;
}

.services-page__grid .core-service__title{
  text-align: left;
  margin: 0;
  white-space: normal;
}

.services-page__grid .core-service__description{
  text-align: left;
  margin: 0;
}

/* Core Services Highlighted Card - removed special styling to match other cards */

/* Responsive Design for Services Page */
@media screen and (max-width: 768px) {
  .services-hero__title {
    font-size: 2.5rem;
  }
  .services-hero__grid{ grid-template-columns: 1fr; }
  
  /* Make row cards stack neatly and avoid overflow on mobile */
  .services-page__grid .core-service{
    grid-template-columns: 48px 1fr; /* icon | rest */
    grid-template-rows: auto auto;   /* title, description */
    gap: 0.75rem 1rem;
  }
  .services-page__grid .core-service__title{ grid-column: 2 / -1; font-size: 1rem; }
  .services-page__grid .core-service__description{ grid-column: 1 / -1; font-size: 0.95rem; }
  .services-page__grid .core-service__icon{ width: 48px; height: 48px; font-size: 1.25rem; }
  
  .technology__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Scale down visualization to fit viewport width */
  .technology__visual { width: 260px; height: 260px; }
  .technology__node { width: 44px; height: 44px; }
  .technology__node--center { width: 64px; height: 64px; }
  .technology__node-icon { font-size: 1.1rem; }
  .technology__node-label { bottom: -20px; font-size: 0.8rem; }
  .technology__badge { position: static; transform: none; margin-top: 1rem; text-align: center; }
  .technology__right { padding-left: 0; }
  
  .technology__badge {
    position: static;
    transform: none;
    writing-mode: horizontal-tb;
    text-orientation: initial;
    margin-top: 2rem;
    text-align: center;
  }
  
  .technology__right {
    padding-left: 0;
  }
  
  .components__title {
    font-size: 2rem;
    padding-left: 2rem;
  }
  
  .components__title::before {
    width: 6px;
  }
}

@media screen and (max-width: 480px) {
  .services-hero {
    padding: 6rem 0 3rem;
  }
  
  .services-hero__title {
    font-size: 2rem;
  }
  
  /* Tighter scaling for very small phones */
  .technology__visual { width: 220px; height: 220px; }
  .technology__node { width: 40px; height: 40px; }
  .technology__node--center { width: 56px; height: 56px; }
  .technology__node-icon { font-size: 1rem; }
  .technology__node-label { bottom: -18px; font-size: 0.75rem; }
  
  .technology__logo {
    font-size: 1.5rem;
  }
  
  .components__title {
    font-size: 1.75rem;
  }

  .services-page__grid{ grid-template-columns: 1fr; }
}

/*=============== SOLUTIONS PAGE STYLES ===============*/

/* Solutions Hero Section */
.solutions-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 8rem 0 4.5rem; /* increased top padding to bring text down more */
  text-align: center;
}

.solutions-hero__container {
  max-width: 1200px; /* align with grid width */
  margin: 0 auto;
  padding: 0 1rem;
}

.solutions-hero__badge {
  display: inline-block;
  background: var(--first-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.solutions-hero__title {
  font-size: 3.5rem; /* larger */
  font-weight: 900; /* heavier */
  color: var(--title-color);
  margin-bottom: 2.25rem;
  line-height: 1.15;
  text-align: left;          /* align left with grid */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.solutions-hero__description {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  line-height: 1.8;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;          /* align left with grid */
  padding: 0 1rem 0 1rem;
}

/* Solutions Grid Section */
.solutions-grid {
  background: #ffffff;
  padding: 4rem 0;
}

.solutions-grid__container {
  max-width: 1200px;
  margin: 0 auto;
}

.solutions-grid__content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.solution-card {
  background: var(--card-bg);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.solution-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
  border-color: var(--primary-light);
}

.solution-card__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--first-color) 0%, var(--first-color-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2rem;
  color: white;
}

.solution-card__title {
  font-family: var(--heading-font);
  font-size: var(--h3-font-size);
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.solution-card__description {
  color: var(--text-color);
  line-height: 1.7;
  font-size: var(--normal-font-size);
}

/* Detailed Solutions Section */
.detailed-solutions {
  background: #f8f9fa;
  padding: 6rem 0;
}

.detailed-solutions__container {
  max-width: 1400px;
  margin: 0 auto;
}

.detailed-solutions__header {
  text-align: center;
  margin-bottom: 4rem;
}

.detailed-solutions__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-bottom: 1rem;
}

.detailed-solutions__subtitle {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.detailed-solutions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.detailed-solution {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

.detailed-solution:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.detailed-solution__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.detailed-solution__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--first-color) 0%, var(--first-color-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.detailed-solution__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin: 0;
}

.detailed-solution__description {
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: var(--normal-font-size);
}

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

.detailed-solution__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-color);
  font-size: var(--small-font-size);
}

.detailed-solution__features li i {
  color: var(--first-color);
  font-size: 1rem;
  font-weight: bold;
}

/* ENPL Values Section - Non-card layout */
.enpl-values {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  min-height: 60vh;
}

.enpl-values::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(59,130,246,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(59,130,246,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(59,130,246,0.03)"/><circle cx="10" cy="60" r="0.5" fill="rgba(59,130,246,0.03)"/><circle cx="90" cy="40" r="0.5" fill="rgba(59,130,246,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

.enpl-values__container {
  position: relative;
  z-index: 2;
}

.enpl-values__header {
  text-align: center;
  margin-bottom: 5rem;
}

.enpl-values__title {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 1rem;
  position: relative;
}

.enpl-values__title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
  border-radius: 2px;
}

.enpl-values__subtitle {
  font-size: 1.1rem;
  color: var(--text-color);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 500;
}

.enpl-values__content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 100%;
  margin: 0 auto;
}

.enpl-values__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  transition: all 0.3s ease;
}

.enpl-values__item:hover {
  transform: translateY(-3px);
}

.enpl-values__item-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.enpl-values__item-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.enpl-values__item-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 50%;
}

.enpl-values__item-icon i {
  font-size: 2rem;
  color: white;
  position: relative;
  z-index: 2;
}

.enpl-values__item-title {
  font-family: var(--heading-font);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--title-color);
  letter-spacing: 0.5px;
  margin: 0;
}

.enpl-values__item-description {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.7;
  margin: 0;
}

/* Responsive Design for ENPL Values */
@media screen and (max-width: 768px) {
  .enpl-values {
    padding: 3rem 0;
  }
  
  .enpl-values__title {
    font-size: 2rem;
  }
  
  .enpl-values__subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .enpl-values__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .enpl-values__item-icon {
    width: 60px;
    height: 60px;
  }
  
  .enpl-values__item-icon i {
    font-size: 1.5rem;
  }
  
  .enpl-values__item-title {
    font-size: 1.1rem;
  }
  
  .enpl-values__item-description {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  .enpl-values__title {
    font-size: 1.8rem;
  }
  
  .enpl-values__item-icon {
    width: 50px;
    height: 50px;
  }
  
  .enpl-values__item-icon i {
    font-size: 1.3rem;
  }
  
  .enpl-values__item-title {
    font-size: 1rem;
  }
  
  .enpl-values__item-description {
    font-size: 0.85rem;
  }
  
  .about-intro__graphic {
    width: 400px;
    height: 400px;
  }
}

/* Responsive Design for Solutions */
@media screen and (max-width: 1024px) {
  .solutions-grid__content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media screen and (max-width: 768px) {
  .solutions-hero__title {
    font-size: var(--h1-font-size);
  }
  
  .solutions-grid__content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .detailed-solutions__grid {
    grid-template-columns: 1fr;
  }
  
  .detailed-solution__header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .solution-card {
    padding: 1.5rem 1rem;
  }
  
  .detailed-solution {
    padding: 2rem 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .solutions-hero {
    padding: 4rem 0 3rem;
  }
  
  .solutions-hero__title {
    font-size: var(--h2-font-size);
  }
  
  .solution-card__icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .detailed-solution__icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

/*=============== NEW CONTACT PAGE STYLES ===============*/

.contact__header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-bottom: 1rem;
}

.contact__subtitle {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact__content {
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact__info {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact__info-title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-bottom: 2rem;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  gap: 1rem;
}

.contact__info-item .contact__info-icon {
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  flex-basis: 50px !important;
}

.contact__info-icon {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem;
  color: white;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  flex-basis: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
  box-sizing: border-box !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  position: relative !important;
}

/* Force circular shape with pseudo-element */
.contact__info-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  z-index: -1;
}

.contact__info-icon--address {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact__info-icon--phone {
  background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
}

.contact__info-icon--email {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact__info-icon--hours {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.contact__info-details {
  flex: 1;
}

.contact__info-label {
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.contact__info-text {
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
}

.contact__info-link {
  color: var(--first-color);
  text-decoration: none;
  font-weight: var(--font-semi-bold);
}

.contact__info-link:hover {
  color: var(--first-color-alt);
}

.contact__form-section {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact__form-title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-bottom: 2rem;
}

.contact__form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact__input-group {
  display: flex;
  flex-direction: column;
}

.contact__input-group--full {
  grid-column: 1 / -1;
}

.contact__label {
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.contact__required {
  color: #e74c3c;
}

.contact__input,
.contact__textarea {
  padding: 0.75rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: var(--normal-font-size);
  color: var(--text-color);
  background: #ffffff;
  transition: border-color 0.3s ease;
}

.contact__input:focus,
.contact__textarea:focus {
  outline: none;
  border-color: var(--first-color);
}

.contact__textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.contact__submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--first-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 1rem;
}

.contact__submit-btn:hover {
  background: var(--first-color-alt);
  transform: translateY(-2px);
}

/* Responsive Design for Contact */
@media screen and (max-width: 768px) {
  .contact__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact__form-group {
    grid-template-columns: 1fr;
  }
  
  .contact__info,
  .contact__form-section {
    padding: 1.5rem;
  }
  
  /* Ensure contact icons remain circular on mobile */
  .contact__info-icon {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: 50px !important;
    aspect-ratio: 1 / 1 !important;
  }
}

/* Tablet-only: ensure contact form fits viewport width */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  /* Scope to contact page only so global containers remain unchanged */
  .contact.section .container { margin-inline: 1rem; padding-left: 1rem; padding-right: 1rem; max-width: 100%; }
  .contact__content { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1.25rem; }
  
  /* Ensure contact icons remain circular on tablet */
  .contact__info-icon {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: 50px !important;
    aspect-ratio: 1 / 1 !important;
  }
  .contact__info, .contact__form-section { max-width: 100%; padding: 1rem; }
  /* Reduce form complexity on tablet: single column fields */
  .contact__form-group { grid-template-columns: 1fr; gap: 0.75rem; }
  .contact__input, .contact__textarea { width: 100%; }
}

/* Desktop: ensure contact icons remain circular */
@media screen and (min-width: 1025px) {
  .contact__info-icon {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: 50px !important;
    aspect-ratio: 1 / 1 !important;
  }
}

/* Laptop-only: align ABOUT and VOICE starts exactly */
@media screen and (min-width: 1025px) and (max-width: 1366px) {
  #about-content { margin-top: 0 !important; }
  #voice-content { margin-top: 2rem !important; }
}

/* Laptop-wide (1367px–1600px): ensure VOICE aligns to top */
@media screen and (min-width: 1367px) and (max-width: 1600px) {
  #about-content { margin-top: 0 !important; }
  #voice-content { margin-top: 2rem !important; }
}

/* Banner and Slider with Perfect Alignment */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.1s linear;
  opacity: 1;
  visibility: visible;
  will-change: transform;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
  opacity: 0.1;
  z-index: 1;
  pointer-events: none;
}

.banner__container {
  height: 100vh; /* Full viewport height */
  width: 100%;
  position: relative;
}

.banner__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Full viewport height */
}

.banner__image {
  width: 100%;
  height: 100vh; /* Full viewport height */
  object-fit: cover;
  object-position: center;
  display: block;
}

.horizontal-slider {
  position: absolute;
  top: 100vh; /* Start below banner */
  left: 0;
  width: 100%;
  height: auto; /* Allow height to expand with content */
  min-height: 100vh;
  z-index: 5; /* Higher than banner content but lower than header */
  transform: translateY(100vh); /* Start below viewport */
  transition: transform 0.1s linear;
  display: block;
  will-change: transform;
  opacity: 1;
  visibility: visible;
  overflow: visible; /* Allow horizontal sliding animation */
}

.horizontal-slider__container {
  width: 100%;
  height: auto; /* Allow height to expand with content */
  min-height: 100vh;
  position: relative;
  overflow: hidden; /* Clip the sliding animation */
}

.horizontal-slider__track {
  width: 800%; /* 8 images * 100% each */
  height: 92vh; /* Reduced height to match slide */
  display: flex;
  position: relative;
  transition: transform 0.5s ease-in-out;
}

.horizontal-slider__slide {
  width: 100%;
  height: 92vh; /* Reduced height for slider images only */
  flex: 0 0 12.5%; /* 100% / 8 images = 12.5% each */
  position: relative;
}

.horizontal-slider__image {
  width: 100%;
  height: 92vh; /* Reduced height to match slide */
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

/* Text overlay positioned above dots */
.slider-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 30; /* Higher than slider images */
  color: white;
  pointer-events: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 4rem; /* Position text above dots */
  padding-top: 0;
}

/* Ensure slider overlay text is interactive but doesn't block other elements */
.slider-overlay__headline {
  pointer-events: auto;
  z-index: 16;
}

.slider-overlay__headline {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  position: relative;
  pointer-events: auto;
}

.slider-overlay__headline span:nth-child(1) {
  position: absolute;
  top: 2rem;
  left: 2rem;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.slider-overlay__headline span:nth-child(1):hover {
  transform: scale(1.1);
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
  color: #3b82f6;
}

.slider-overlay__headline span:nth-child(2) {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.slider-overlay__headline span:nth-child(2):hover {
  transform: translateX(-50%) scale(1.1);
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
  color: #3b82f6;
}

.slider-overlay__headline span:nth-child(3) {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.slider-overlay__headline span:nth-child(3):hover {
  transform: scale(1.1);
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
  color: #3b82f6;
}

.slider-overlay__sub {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  display: block;
  text-align: left;
  max-width: none;
  width: 100%;
  line-height: 1.3;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem 2rem;
  border-radius: 0;
  backdrop-filter: blur(5px);
  z-index: 35;
  pointer-events: auto;
}

.slider-overlay__sub div:first-child {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.slider-overlay__sub div:last-child {
  font-weight: 400;
  font-size: 1.1rem;
  white-space: nowrap;
}


/* Slider dots navigation - positioned at bottom independently */
.horizontal-slider__dots {  
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 35;
  display: flex;
  gap: 0.5rem;
  z-index: 35;
  justify-content: center;
  margin-top: 0.5rem; /* Reduced margin to move dots closer to text */
  pointer-events: auto;
}

/* Hide slider dots in CTA section */
.cta .horizontal-slider__dots {
  display: none !important;
}

.horizontal-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.horizontal-slider__dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

.horizontal-slider__dot.active {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

/* Ensure body has enough height for scrolling */
body {
  min-height: 200vh; /* Ensure enough height for all content */
}


/* Ensure footer content is visible */
.footer__container {
  max-width: 100%;
  margin: 0;
  padding: 0 2rem;
  position: relative;
  z-index: 1001;
}

.footer__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer__section {
  margin-bottom: 1.5rem;
}

.footer__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.footer__address p,
.footer__contacts,
.footer__list,
.footer__social {
  color: #e0e7ff;
  font-size: 1rem;
  line-height: 1.5;
}

.footer__address p {
  margin-bottom: 0.3rem;
}

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

.footer__list li {
  margin-bottom: 0.4rem;
}

.footer__link {
  color: #e0e7ff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: #60a5fa;
}

.footer__label {
  color: #60a5fa;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__contact-item {
  margin-bottom: 0.4rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(59, 130, 246, 0.2);
  color: #e0e7ff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  margin-right: 0.8rem;
  border: 2px solid transparent;
}

.footer__social-link:hover {
  background-color: rgba(59, 130, 246, 0.3);
  color: #ffffff;
  border: 2px solid #fbbf24;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

/* Footer ISO Certification */
.footer__iso-cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.footer__iso-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  margin: 0;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.footer__iso-box {
  position: relative;
  border-radius: 0.5rem;
  padding: 0.1rem;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.05) 50%, 
    rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer__iso-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0.5rem;
  padding: 2px;
  background: linear-gradient(135deg, 
    #fbbf24 0%, 
    #f59e0b 25%, 
    #d97706 50%, 
    #f59e0b 75%, 
    #fbbf24 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  animation: borderGlow 3s ease-in-out infinite alternate;
}

.footer__iso-box::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 0.6rem;
  background: linear-gradient(45deg, 
    transparent 0%, 
    rgba(251, 191, 36, 0.3) 25%, 
    transparent 50%, 
    rgba(251, 191, 36, 0.3) 75%, 
    transparent 100%);
  background-size: 200% 200%;
  animation: shimmer 2s linear infinite;
  z-index: -1;
}

.footer__iso-box:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 10px 25px rgba(251, 191, 36, 0.3),
    0 20px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.footer__iso-box:hover::before {
  background: linear-gradient(135deg, 
    #ffffff 0%, 
    #fbbf24 25%, 
    #f59e0b 50%, 
    #fbbf24 75%, 
    #ffffff 100%);
  animation: borderGlowHover 1.5s ease-in-out infinite alternate;
}

@keyframes borderGlow {
  0% {
    opacity: 0.8;
    filter: brightness(1);
  }
  100% {
    opacity: 1;
    filter: brightness(1.2);
  }
}

@keyframes borderGlowHover {
  0% {
    opacity: 1;
    filter: brightness(1.2);
  }
  100% {
    opacity: 1;
    filter: brightness(1.5);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% -200%;
  }
  100% {
    background-position: 200% 200%;
  }
}

.footer__iso-thumbnail {
  display: inline-block;
  transition: all 0.3s ease;
  border-radius: 0.15rem;
  overflow: hidden;
  width: calc(100% - 0.2rem);
  height: calc(100% - 0.2rem);
}

.footer__iso-thumbnail:hover {
  transform: scale(1.05);
}

.footer__iso-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.footer__bottom {
  border-top: 1px solid #3b82f6;
  padding-top: 1.5rem;
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.footer__logo-text {
  font-weight: 600;
  color: #ffffff;
  font-size: 1rem;
}

.footer__logo-tagline {
  color: #e0e7ff;
  font-size: 0.75rem;
  margin: 0;
}

.footer__copyright {
  color: #e0e7ff;
  font-size: 0.75rem;
}

/* Ensure banner content is properly layered */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
}

/* Ensure interactive elements are clickable */
.world-solutions__link,
.about-intro__link,
.about-intro__tab {
  position: relative;
  z-index: 30;
  pointer-events: auto !important;
}

/* Ensure buttons and links are interactive */
.button,
a[href],
button {
  position: relative;
  z-index: 30;
  pointer-events: auto !important;
}

/* Fix CTA section styling - restore original styling */
.cta {
  background: var(--gradient-hero);
  padding: 2rem 0;
  color: var(--container-color);
  position: relative;
  z-index: 20;
}

/* Content sections - visible by default */
.world-solutions {
  margin-top: 1rem; /* Remove top margin - let it flow after partners */
  position: relative;
  z-index: 20;
  transform: translateY(0vh); /* Visible by default */
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding-top: 1rem; /* Reduce top padding */
  pointer-events: auto;
}

/* Laptop view - shift core services section up and make cards responsive */
@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .core-services {
    margin-top: -2rem !important;
    padding: 2rem 0 3rem !important;
    overflow: visible !important;
  }
  
  /* Laptop responsive core services cards */
  .core-services__grid {
    gap: 0.75rem !important;
    padding: 1rem !important;
    overflow: visible !important;
    justify-content: center !important;
  }
  
  .core-services__grid .core-service {
    min-width: 130px !important;
    width: 130px !important;
    min-height: 110px !important;
    padding: 0.75rem 0.5rem !important;
    flex: 0 0 auto !important;
  }
  
  .core-services__grid .core-service__icon {
    font-size: 1.3rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .core-services__grid .core-service__title {
    font-size: 0.6rem !important;
    line-height: 1.2 !important;
  }
}

/* Small laptop view - further reduce card sizes */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
  .core-services {
    padding: 2rem 0 3rem !important;
    overflow: visible !important;
  }
  
  .core-services__grid {
    gap: 0.5rem !important;
    padding: 1rem !important;
    overflow: visible !important;
  }
  
  .core-services__grid .core-service {
    min-width: 120px !important;
    width: 120px !important;
    min-height: 105px !important;
    padding: 0.5rem 0.25rem !important;
  }
  
  .core-services__grid .core-service__icon {
    font-size: 1.2rem !important;
    margin-bottom: 0.4rem !important;
  }
  
  .core-services__grid .core-service__title {
    font-size: 0.55rem !important;
    line-height: 1.1 !important;
  }
}

/* Very small laptop view - minimal card sizes */
@media screen and (min-width: 1025px) and (max-width: 1100px) {
  .core-services {
    padding: 2rem 0 3rem !important;
    overflow: visible !important;
  }
  
  .core-services__grid {
    gap: 0.4rem !important;
    padding: 1rem !important;
    overflow: visible !important;
  }
  
  .core-services__grid .core-service {
    min-width: 110px !important;
    width: 110px !important;
    min-height: 100px !important;
    padding: 0.4rem 0.2rem !important;
  }
  
  .core-services__grid .core-service__icon {
    font-size: 1.1rem !important;
    margin-bottom: 0.3rem !important;
  }
  
  .core-services__grid .core-service__title {
    font-size: 0.5rem !important;
    line-height: 1.1 !important;
  }
}

/* Tablet view - reduce gap between core services and about section */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .core-services {
    margin-bottom: -39rem !important;
    padding-bottom: 0 !important;
  }
  
  .about-intro {
    margin-top: -34rem !important;
    padding-top: 0 !important;
  }
  
  .section-break {
    height: 0px !important;
    display: none !important;
  }
}

/* ==================== CORE VALUES INFOGRAPHIC ==================== */
:root {
  /* Colors (match your sample) */
  --c-blue-dark: #0D5B8E;
  --c-blue: #11A0D8;
  --c-amber: #D28B00;
  --c-orange: #E57A2C;
  --c-olive: #7EA11D;
  --c-green: #61C255;

  --bg: #f7f9fc;
  --text: #2a2f36;

  /* Sizing */
  --size: 500px;        /* wheel size */
  --thickness: 120px;   /* ring thickness */
  --gap: 2.5deg;        /* small separators between slices */
}

.core-values-wrap {
  width: min(92vw, var(--size));
  aspect-ratio: 1/1;
  position: relative;
  display: grid;
  place-items: center;
  margin: 0 auto;
}

/* Outer segmented ring made with conic-gradient */
.core-values-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    conic-gradient(
      var(--c-blue-dark) 0   calc(60deg - var(--gap)),
      transparent       calc(60deg - var(--gap)) 60deg,

      var(--c-blue)     60deg calc(120deg - var(--gap)),
      transparent       calc(120deg - var(--gap)) 120deg,

      var(--c-amber)    120deg calc(180deg - var(--gap)),
      transparent       calc(180deg - var(--gap)) 180deg,

      var(--c-orange)   180deg calc(240deg - var(--gap)),
      transparent       calc(240deg - var(--gap)) 240deg,

      var(--c-olive)    240deg calc(300deg - var(--gap)),
      transparent       calc(300deg - var(--gap)) 300deg,

      var(--c-green)    300deg calc(360deg - var(--gap)),
      transparent       calc(360deg - var(--gap)) 360deg
    );
  position: absolute;
  inset: 0;
  mask:
    radial-gradient(farthest-side, #000 99%, #0000 100%)
    padding-box;
}

/* Punch out the inner hole to create the arc */
.core-values-ring::after {
  content: "";
  position: absolute; 
  inset: calc(var(--thickness));
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 10px #fff; /* crisp inner border */
}

/* Center label */
.core-values-center {
  position: absolute;
  width: calc(100% - 2*var(--thickness) - 40px);
  height: calc(100% - 2*var(--thickness) - 40px);
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
}

.core-values-center h2 {
  margin: 0;
  font-size: clamp(20px, 3vw, 36px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--text);
}

.core-values-center span {
  display: block;
  font-size: clamp(12px, 2vw, 18px);
  letter-spacing: .06em;
  margin-top: .35rem;
  opacity: .85;
  color: var(--text);
}

.core-values-center .center-icon {
  margin-top: 0.5rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
  font-size: 18px;
}

/* Labels around the ring */
.core-values-label {
  position: absolute;
  width: 45%;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.3;
  font-size: 13px;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
  padding: 1rem 0.8rem;
}

.core-values-label i {
  width: 36px; 
  height: 36px;
  border-radius: 50%;
  display: grid; 
  place-items: center;
  color: #fff;
  font-size: 18px;
  background: rgba(255,255,255,0.15);
  box-shadow: 0 3px 10px rgba(0,0,0,0.5);
  margin-bottom: 0.5rem;
}

.core-values-label div {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
  word-wrap: break-word;
  max-width: 100%;
  letter-spacing: 0.5px;
}

/* Positions (angle-based) - positioned within each segment */
.at-330 { 
  transform: rotate(330deg) translate(calc(50% - var(--thickness)/2 - 60px)) rotate(-330deg); 
  top: 20%;
  right: 10%;
}

.at-30 { 
  transform: rotate( 30deg) translate(calc(50% - var(--thickness)/2 - 50px)) rotate(-30deg);  
  top: 12%;
  left: 18%;
  width: 50%;
  max-width: 150px;
}

.at-90 { 
  transform: rotate( 90deg) translate(calc(50% - var(--thickness)/2 - 60px)) rotate(-90deg);  
  top: 50%;
  right: 0%;
}

.at-150 { 
  transform: rotate(150deg) translate(calc(50% - var(--thickness)/2 - 60px)) rotate(-150deg); 
  bottom: 20%;
  right: 10%;
}

.at-210 { 
  transform: rotate(210deg) translate(calc(50% - var(--thickness)/2 - 60px)) rotate(-210deg); 
  bottom: 20%;
  left: 10%;
}

.at-270 { 
  transform: rotate(270deg) translate(calc(50% - var(--thickness)/2 - 60px)) rotate(-270deg); 
  top: 50%;
  left: 0%;
}

/* Color chips for icons to match slices - removed individual backgrounds */
.c-blue-dark i { background: rgba(255,255,255,0.2); }
.c-blue      i { background: rgba(255,255,255,0.2); }
.c-amber     i { background: rgba(255,255,255,0.2); }

/* SVG Curved text styling */
.curved-text {
  width: 100%;
  height: auto;
  max-width: 150px;
  overflow: visible;
}

.curved-text text {
  fill: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
  font-family: var(--body-font);
}
.c-orange    i { background: rgba(255,255,255,0.2); }
.c-olive     i { background: rgba(255,255,255,0.2); }
.c-green     i { background: rgba(255,255,255,0.2); }

/* Hover hint (interactive but static layout) */
.core-values-label:hover { filter: brightness(1.05); }
.core-values-label:hover i { box-shadow: 0 6px 16px rgba(0,0,0,.18); transform: translateY(-1px) }
.core-values-label i { transition: .25s ease }

/* Responsive design for Core Values */
@media screen and (max-width: 768px) {
  :root { 
    --thickness: 100px; 
    --size: 400px;
  }
  
  .core-values-label { 
    width: 50%; 
    font-size: 11px;
    max-width: 180px;
    padding: 0.8rem 0.6rem;
  }
  
  .core-values-label i {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  
  .core-values-label div {
    font-size: 10px;
  }
  
  .core-values-center h2 {
    font-size: clamp(16px, 2.5vw, 28px);
  }
  
  .core-values-center span {
    font-size: clamp(10px, 1.5vw, 14px);
  }
}

@media screen and (max-width: 480px) {
  :root { 
    --thickness: 80px; 
    --size: 320px;
  }
  
  .core-values-label { 
    width: 55%; 
    font-size: 10px;
    max-width: 160px;
    padding: 0.6rem 0.4rem;
  }
  
  .core-values-label i {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  .core-values-label div {
    font-size: 9px;
  }
  
  .core-values-center h2 {
    font-size: clamp(14px, 2vw, 24px);
  }
  
  .core-values-center span {
    font-size: clamp(9px, 1.2vw, 12px);
  }
}

/* Simple, clean animations */
@keyframes gentlePulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
  }
  50% {
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.3);
  }
}

.infographic-center {
  animation: gentlePulse 4s ease-in-out infinite;
}


/* Core services section positioning */
.core-services {
  position: relative;
  z-index: 20;
  scroll-margin-top: 120px; /* Proper header offset */
}

/* About section positioning */
.about-intro {
  position: relative;
  z-index: 20;
  scroll-margin-top: 120px; /* Proper header offset */
}

.clients {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 3rem 0 2rem;
  position: relative;
  z-index: 20;
  overflow: hidden;
  transform: translateY(0vh); /* Visible by default */
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: auto;
}

.partners {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 2rem 0 3rem;
  position: relative;
  z-index: 20;
  overflow: hidden;
  transform: translateY(0vh); /* Visible by default */
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: auto;
  margin-top: -1rem;
}

.about-intro {
  position: relative;
  z-index: 20;
  transform: translateY(0vh); /* Visible by default */
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding-top: 1rem; /* Reduce top padding */
  pointer-events: auto;
}


 
 / *   C o n t a c t   F o r m   M e s s a g e s   * / 
 . c o n t a c t _ _ m e s s a g e   { 
     m a r g i n - t o p :   1 r e m ; 
     p a d d i n g :   0 . 7 5 r e m   1 r e m ; 
     b o r d e r - r a d i u s :   0 . 5 r e m ; 
     f o n t - s i z e :   0 . 9 r e m ; 
     t e x t - a l i g n :   c e n t e r ; 
     t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
 } 
 
 . c o n t a c t _ _ m e s s a g e - - s u c c e s s   { 
     b a c k g r o u n d - c o l o r :   # d 1 f a e 5 ; 
     c o l o r :   # 0 6 5 f 4 6 ; 
     b o r d e r :   1 p x   s o l i d   # a 7 f 3 d 0 ; 
 } 
 
 . c o n t a c t _ _ m e s s a g e - - e r r o r   { 
     b a c k g r o u n d - c o l o r :   # f e e 2 e 2 ; 
     c o l o r :   # 9 9 1 b 1 b ; 
     b o r d e r :   1 p x   s o l i d   # f c a 5 a 5 ; 
 } 
 
 . c o n t a c t _ _ s u b m i t - b t n : d i s a b l e d   { 
     o p a c i t y :   0 . 7 ; 
     c u r s o r :   n o t - a l l o w e d ; 
 }  
 