/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {
  /* Modern IT Startup Color Palette */
  --navy-blue: #0A2647;
  --teal: #2C9CA6;
  --white: #FFFFFF;
  --light-gray: #F4F4F4;
  
  /* Updated color variables */
  --safety-orange: var(--teal);
  --lavender-gray: var(--light-gray);
  --persian-rose: var(--teal);
  --red-crayola: var(--teal);
  --eerie-black: var(--navy-blue);
  --cultured-2: var(--light-gray);
  --platinum: #E0E0E0;
  --gray-web: #666666;
  --cultured: var(--light-gray);
  --black_10: hsla(10, 38, 14, 0.1);
  --black_5: hsla(10, 38, 14, 0.05);
  --white-1: var(--white);
  --white-2: var(--light-gray);
  --black: var(--navy-blue);
  --bg-color: var(--white-1);
  --text-color: var(--navy-blue);
  --heading-color: var(--navy-blue);
  --card-bg: var(--white-1);
  --card-shadow: var(--shadow-1);

  /**
   * gradient color
   */

  --gradient: linear-gradient(135deg, var(--navy-blue), var(--teal));
  --gradient-1: var(--navy-blue);
  --gradient-2: var(--teal);
  --gradient-3: var(--navy-blue);

  /**
   * typography
   */

  --ff-roboto: 'Roboto', sans-serif;
  --ff-league-spartan: 'League Spartan', sans-serif;

  --fs-1: clamp(2.5rem, 5vw, 6.8rem);
  --fs-2: clamp(2.2rem, 4vw, 4.5rem);
  --fs-3: clamp(1.8rem, 3vw, 2.5rem);
  --fs-4: clamp(1.5rem, 2vw, 1.9rem);
  --fs-5: clamp(1.3rem, 1.5vw, 1.6rem);
  --fs-6: clamp(1.2rem, 1.2vw, 1.6rem);

  --fw-700: 700;
  --fw-500: 500;

  /**
   * spacing
   */

  --section-padding: clamp(40px, 5vw, 120px);
  --container-padding: clamp(15px, 3vw, 50px);
  --card-padding: clamp(15px, 2vw, 30px);
  --element-spacing: clamp(20px, 3vw, 30px);

  /**
   * shadow
   */

  --shadow-1: 0 6px 24px var(--black_5);
  --shadow-2: 0 2px 28px var(--black_10);

  /**
   * border radius
   */

  --radius-2: 2px;
  --radius-5: 5px;
  --radius-8: 8px;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

  /**
   * container widths
   */
  --container-width-sm: min(100% - 2rem, 540px);
  --container-width-md: min(100% - 2rem, 720px);
  --container-width-lg: min(100% - 2rem, 960px);
  --container-width-xl: min(100% - 2rem, 1140px);
}

[data-theme="dark"] {
  --navy-blue: #FFFFFF;
  --teal: #2C9CA6;
  --white: #0A2647;
  --light-gray: #1A3A5C;
  
  --safety-orange: var(--teal);
  --lavender-gray: var(--light-gray);
  --persian-rose: var(--teal);
  --red-crayola: var(--teal);
  --eerie-black: var(--navy-blue);
  --cultured-2: var(--light-gray);
  --platinum: #2A4A6C;
  --gray-web: #CCCCCC;
  --cultured: var(--light-gray);
  --black_10: hsla(0, 0%, 100%, 0.1);
  --black_5: hsla(0, 0%, 100%, 0.05);
  --white-1: var(--white);
  --white-2: var(--light-gray);
  --black: var(--navy-blue);
  --bg-color: var(--white-1);
  --text-color: var(--gray-web);
  --heading-color: var(--eerie-black);
  --card-bg: var(--white-2);
  --card-shadow: var(--shadow-2);
  --gradient-1: var(--navy-blue);
  --gradient-2: var(--teal);
  --gradient-3: var(--navy-blue);
}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a {
  text-decoration: none;
  color: inherit;
}

a,
img,
span,
time,
label,
input,
button,
textarea,
ion-icon { display: block; }

img { height: auto; }

input,
button,
textarea {
  background: none;
  border: none;
  font: inherit;
}

input,
textarea { width: 100%; }

button { cursor: pointer; }

ion-icon { pointer-events: none; }

address { font-style: normal; }

html {
  font-family: var(--ff-roboto);
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Account for fixed header */
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 1.6rem;
  line-height: 1.6;
}

::-webkit-scrollbar { width: 10px; }

::-webkit-scrollbar-track { background-color: var(--white-2); }

::-webkit-scrollbar-thumb { background-color: var(--light-gray); }

::-webkit-scrollbar-thumb:hover { background-color: var(--gray-web); }

:focus-visible { outline-offset: 4px; }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
  width: 100%;
  padding-inline: var(--container-padding);
  margin-inline: auto;
}

.btn {
  max-width: max-content;
  color: var(--white-1);
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  padding: clamp(0.8rem, 2vw, 1.2rem) clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-5);
  transition: var(--transition-1);
}

.btn-primary {
  background-image: var(--gradient);
  background-size: 1000%;
}

.btn-primary:is(:hover, :focus) { background-position: bottom right; }

.btn-secondary {
  background-color: var(--white-1);
  color: var(--eerie-black);
}

.btn-secondary:is(:hover, :focus) {
  background-color: var(--eerie-black);
  color: var(--white-1);
}

.section {
  padding-block: var(--section-padding);
}

.h1,
.h2,
.h3 {
  color: var(--heading-color);
  font-family: var(--ff-league-spartan);
  line-height: 1.2;
}

.h1 { font-size: var(--fs-1); }

.h2 { font-size: var(--fs-2); }

.h3 { font-size: var(--fs-3); }

.w-100 { width: 100%; }

.section-title,
.section-text { text-align: center; }

.section-text { font-size: var(--fs-6); }

.grid-list {
  display: grid;
  gap: var(--element-spacing);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.img-holder {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: calc(var(--height) / var(--width) * 100%);
  overflow: hidden;
}

.img-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--navy-blue);
  padding-block: 15px;
  border-block-end: 1px solid var(--teal);
  z-index: 1000;
  transition: var(--transition-1);
  height: 80px;
}

.header.active { 
  filter: drop-shadow(var(--shadow-2));
  background-color: var(--navy-blue);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--ff-league-spartan);
  color: var(--white);
  font-size: 3.5rem;
  font-weight: var(--fw-700);
  line-height: 1;
}

.nav-toggle-btn {
  font-size: 40px;
  color: var(--white);
  position: relative;
  z-index: 1002;
  padding: 5px;
  transition: var(--transition-1);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-toggle-btn:hover {
  color: var(--teal);
  background-color: rgba(255, 255, 255, 0.12);
}

.nav-toggle-btn ion-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: var(--transition-1);
}

.nav-toggle-btn .open {
  opacity: 1;
  visibility: visible;
}

.nav-toggle-btn .close {
  opacity: 0;
  visibility: hidden;
}

.nav-toggle-btn.active .open {
  opacity: 0;
  visibility: hidden;
}

.nav-toggle-btn.active .close {
  opacity: 1;
  visibility: visible;
}

.navbar {
  background-color: var(--navy-blue);
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  padding: 2rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
}

.navbar.active {
  transform: translateX(0);
}

.navbar-list {
  padding: 20px 15px;
  padding-block-start: 10px;
  opacity: 0;
  transition: var(--transition-1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3rem;
}

.navbar.active .navbar-list { 
  opacity: 1;
}

.navbar-link {
  color: var(--white);
  font-family: var(--ff-league-spartan);
  font-size: calc(var(--fs-4) + 1.4rem);
  line-height: 1.3;
  padding: 14px 10px;
  transition: var(--transition-1);
  border-radius: 8px;
  font-weight: var(--fw-700);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.navbar-link:hover,
.navbar-link:focus {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--teal);
}

.navbar-link.btn {
  padding: 14px 22px;
}

/* Mobile-specific underline animation for menu links */
@media (max-width: 991px) {
  .navbar-link {
    position: relative;
  }

  .navbar-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 60%;
    height: 2px;
    background-color: var(--teal);
    transition: transform var(--transition-2);
  }

  .navbar-link:is(:hover, :focus)::after,
  .navbar-link[aria-current="page"]::after {
    transform: translateX(-50%) scaleX(1);
  }
}

/* Menu item entrance animation */
@keyframes menuSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar.active .navbar-list > li {
  animation: menuSlideIn 0.35s var(--cubic-out) both;
}

.navbar.active .navbar-list > li:nth-child(1) { animation-delay: 0.05s; }
.navbar.active .navbar-list > li:nth-child(2) { animation-delay: 0.10s; }
.navbar.active .navbar-list > li:nth-child(3) { animation-delay: 0.15s; }
.navbar.active .navbar-list > li:nth-child(4) { animation-delay: 0.20s; }
.navbar.active .navbar-list > li:nth-child(5) { animation-delay: 0.25s; }
.navbar.active .navbar-list > li:nth-child(6) { animation-delay: 0.30s; }
.navbar.active .navbar-list > li:nth-child(7) { animation-delay: 0.35s; }
.navbar.active .navbar-list > li:nth-child(8) { animation-delay: 0.40s; }

/* Keep desktop unaffected */
@media (min-width: 992px) {
  .navbar-list { gap: 30px; }
  .navbar-link { font-size: var(--fs-4); padding: 8px 0; }
}

.navbar-link:is(:hover, :focus) { color: var(--teal); }

.navbar-link.btn {
  padding: 8px 20px;
  border-radius: var(--radius-5);
  transition: all 0.3s ease;
  margin: 0;
}

.navbar-link.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(252, 53, 73, 0.2);
}

@media (max-width: 991px) {
  .navbar-link.btn {
    display: inline-block;
    margin-top: 10px;
  }
}

.header .btn { margin-block-start: 10px; }

/* Header Container */
.header-container {
  max-width: 1400px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 15px;
}





/*-----------------------------------*\
  #HEO
\*-----------------------------------*/

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--section-padding) + 8rem) var(--section-padding);
}

.hero-content {
  max-width: 65ch;
  margin-inline: auto;
}

.hero-subtitle {
  color: var(--eerie-black);
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
}

.hero-title { margin-block: 12px 8px; }

.hero-text { font-size: var(--fs-5); }

.hero .btn {
  margin-inline: auto;
  margin-block-start: 20px;
}





/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service { background-color: var(--white-2); }

.service .section-text { margin-block: 5px 35px; }

.service-card {
  background-color: var(--card-bg);
  padding: var(--card-padding);
  border: 1px solid var(--platinum);
  border-radius: var(--radius-5);
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition-2);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:is(:hover, :focus-within) { transform: translateY(-10px); }

.service-card .card-icon {
  color: var(--white);
  font-size: 25px;
  max-width: max-content;
  margin-inline: auto;
  padding: 18px;
  border-radius: 50%;
  background-color: var(--teal);
}

.service-card .card-title { margin-block: 20px 8px; }

.service-card .card-text { font-size: var(--fs-6); }

.service-card .btn {
  margin: 20px auto 0;
  display: block;
  width: fit-content;
}





/*-----------------------------------*\
  #PROJECT
\*-----------------------------------*/

.project .section-text { margin-block: 5px 35px; }

.project .section-title {
  text-align: center;
  margin-block-end: 15px;
}

.project .project-intro {
  text-align: center;
  margin-block-end: var(--section-padding);
  color: var(--oxford-blue);
  font-size: var(--fs-5);
}

.project .project-intro .intro-link {
  color: var(--royal-azure);
  text-decoration: underline;
}

.project .project-intro .center-button {
  display: block;
  margin-inline: auto;
  margin-block: 20px;
}

.project .grid-list {
  display: grid;
  gap: var(--element-spacing);
}

.project-card {
  background-color: var(--white-1);
  border-radius: var(--radius-8);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  transition: transform var(--transition-2), box-shadow var(--transition-2);
}

.project-card:is(:hover, :focus-within) {
  transform: translateY(-10px);
  box-shadow: var(--shadow-1);
}

.project-card .img-holder {
  position: relative;
  width: 100%;
  height: auto;
}

.project-card .img-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.project-card .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: var(--white-1);
  opacity: 1;
  transition: opacity var(--transition-2);
}

.project-card:hover .image-overlay {
  opacity: 0;
}

.project-card .overlay-title {
  font-size: var(--fs-4);
  font-weight: var(--fw-700);
  text-align: center;
}

.project-card .overlay-subtitle {
  font-size: var(--fs-6);
  text-align: center;
}

.project-card .card-content {
  padding: 20px;
  text-align: center;
}

.project-card .card-title {
  margin-block-end: 10px;
  font-size: var(--fs-4);
  font-weight: var(--fw-700);
}

.project-card .card-text {
  margin-block-end: 15px;
  font-size: var(--fs-5);
  color: var(--taupe-gray);
}

.project-card .project-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.project-card .project-btn ion-icon {
  font-size: 1.2em;
}





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about { background-color: var(--white-2); }

.about-banner {
  position: relative;
  border-radius: var(--radius-5);
  overflow: hidden;
  margin-block-end: 25px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--white);
  color: var(--teal);
  font-size: 32px;
  padding: 16px;
  border-radius: 50%;
  animation: pulse 1.5s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 1px var(--white-1); }
  100% { box-shadow: 0 0 0 25px transparent; }
}

.about :is(.section-title, .section-text) { text-align: left; }

.about .section-title { margin-block-end: 5px; }

.about .section-text:not(:last-child) { margin-block-end: 18px; }

.about .h3 { margin-block-end: 8px; }

.about-list { margin-block: 15px 18px; }

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.about-item ion-icon {
  color: var(--teal);
  flex-shrink: 0;
  margin-block-start: 2px;
}

.about-item:not(:last-child) { margin-block-end: 12px; }





/*-----------------------------------*\
  #CTA
\*-----------------------------------*/

.cta {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

.cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--gradient);
  opacity: 0.95;
  z-index: -1;
}

.cta-subtitle,
.cta .section-title { color: var(--white-1); }

.cta-subtitle {
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  text-align: center;
}

.cta .section-title { margin-block: 12px 18px; }

.cta .btn { margin-inline: auto; }


/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.contact { background-color: var(--white-2); }

.contact .section-text { margin-block: 5px 35px; }

.contact-form {
  background-color: var(--white-1);
  padding: var(--card-padding);
  border-radius: var(--radius-2);
  margin-block-end: 30px;
  box-shadow: var(--shadow-1);
}

.service-dropdown-container {
  position: relative;
  width: 100%;
  margin-block-end: 15px;
}

.service-select-btn {
  width: 100%;
  text-align: left;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: var(--radius-2);
  font-size: var(--fs-5);
  color: var(--eerie-black);
  background-color: var(--white-2);
  border: 1px solid var(--platinum);
  transition: all 0.3s ease;
}

.service-select-btn:is(:hover, :focus) {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 2px rgba(44, 156, 166, 0.2);
}

.service-options-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--white-1);
  border: 1px solid var(--platinum);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-1);
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.service-options-list.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.service-options-list li {
  border-bottom: 1px solid var(--cultured);
}

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

.service-option-link {
  display: block;
  padding: 12px 15px;
  color: var(--eerie-black);
  font-size: var(--fs-6);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.service-option-link:is(:hover, :focus) {
  background-color: var(--light-gray);
  color: var(--teal);
  text-decoration: none;
}

.service-option-link.selected {
  background-color: var(--teal);
  color: var(--white);
  font-weight: var(--fw-700);
}

.input-field {
  background-color: var(--white-2);
  color: var(--eerie-black);
  font-size: var(--fs-4);
  padding: 15px 20px;
  border-radius: var(--radius-2);
  outline: 1px solid transparent;
  outline-offset: 0;
  margin-block-end: 15px;
  width: 100%;
  height: 55px;
}

.input-field::-webkit-inner-spin-button { display: none; }

.input-field:focus { 
  outline-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(44, 156, 166, 0.2);
}

.input-field::placeholder { 
  transition: var(--transition-1);
  font-size: var(--fs-5);
  color: var(--gray-70);
}

.input-field:focus::placeholder { opacity: 0; }

.input-wrapper {
  display: flex;
  gap: 20px;
  margin-block-end: 15px;
}

.input-wrapper .input-field {
  flex: 1;
  min-width: 0;
}

textarea.input-field {
  resize: vertical;
  min-height: 80px;
  height: 100px;
  max-height: 200px;
  overscroll-behavior: contain;
}

.checkbox {
  width: max-content;
  margin-block-start: 5px;
  accent-color: var(--teal);
}

.label-link {
  display: inline-block;
  color: var(--teal);
}

.label-link:is(:hover, :focus) { text-decoration: underline; }

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-block-end: 15px;
}

.checkbox-wrapper .label { font-size: var(--fs-6); }

.contact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 25px;
}

.contact-item { min-width: 100%; }

.contact-card {
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: var(--radius-2);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-card .card-icon {
  background-color: var(--light-gray);
  color: var(--teal);
  font-size: 25px;
  padding: 13px;
  border-radius: 50%;
  transition: var(--transition-1);
}

.contact-card:is(:hover, :focus) .card-icon {
  background-color: var(--teal);
  color: var(--white);
}

.contact-card .card-title { margin-block-end: 5px; }

.contact-card :is(.card-link, .card-address) {
  font-size: var(--fs-6);
  transition: var(--transition-1);
}

.contact-card .card-link:is(:hover, :focus) { color: var(--teal); }





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-color: var(--navy-blue);
  padding-block: 60px 20px;
}

.footer-content {
  display: grid;
  gap: var(--element-spacing);
}

.footer-links-container {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 30px;
  background-color: transparent;
  padding: 40px;
  border-radius: var(--radius-8);
}

.footer-brand {
  max-width: 100%;
}

.footer-brand .logo {
  margin-bottom: 15px;
  font-size: 3.5rem;
  color: var(--white);
}

.footer-text {
  font-size: var(--fs-6);
  line-height: 1.8;
  color: var(--white);
}

.footer-title {
  color: var(--white);
  font-family: var(--ff-league-spartan);
  font-size: var(--fs-4);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--teal);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  list-style: none;
}

.footer-list ion-icon {
  color: var(--teal);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-list a {
  color: var(--white);
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-image: var(--gradient);
  transition: width 0.3s ease;
}

.footer-list a:hover {
  color: var(--teal);
  transform: translateX(5px);
}

.footer-list a:hover::after {
  width: 100%;
}

.footer-contact .footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.3s ease;
}

.footer-contact .footer-list a,
.footer-contact .footer-list address {
  font-size: var(--fs-6);
  line-height: 1.6;
  color: var(--white);
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-contact .footer-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-image: var(--gradient);
  transition: width 0.3s ease;
}

.footer-contact .footer-list a:hover {
  color: var(--teal);
  transform: translateX(5px);
}

.footer-contact .footer-list a:hover::after {
  width: 100%;
}

.footer-contact .footer-list li:hover {
  transform: translateX(5px);
}

.footer-contact .footer-list ion-icon {
  color: var(--teal);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  transition: transform 0.3s ease;
}

.footer-contact .footer-list li:hover ion-icon {
  transform: scale(1.1);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--platinum);
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.copyright {
  font-size: var(--fs-6);
  text-align: center;
  color: var(--white);
}

.copyright-link {
  color: var(--teal);
  font-weight: var(--fw-500);
  display: inline-block;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-link {
  font-size: var(--fs-6);
  color: var(--white);
  transition: var(--transition-1);
}

.legal-link:is(:hover, :focus) {
  color: var(--teal);
  text-decoration: underline;
}

.separator {
  color: var(--white);
  font-size: var(--fs-6);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .legal-links {
    gap: 20px;
  }
}

@media (min-width: 1200px) {
  .footer {
    padding-block: 80px 30px;
  }

  .footer-links-container {
    gap: 60px;
    padding: 50px;
  }

  .footer-bottom {
    margin-top: 60px;
  }
}





/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: var(--navy-blue);
  color: var(--white);
  padding: 12px;
  border-radius: 50%;
  box-shadow: var(--shadow-2);
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-1);
}

.back-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-10px);
}

.back-top-btn:is(:hover, :focus) { opacity: 0.9; }

/* Global toast notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10000;
}

.toast {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-color);
  border: 1px solid var(--platinum);
  border-left: 4px solid transparent;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.35s var(--cubic-out), opacity 0.35s var(--cubic-out);
  min-width: 280px;
  backdrop-filter: saturate(140%) blur(8px);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast .toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.toast.success { border-left-color: #2e7d32; }
.toast.info { border-left-color: #0277bd; }
.toast.error { border-left-color: #c62828; }

.toast.success .toast-icon { background: linear-gradient(135deg, #2e7d32, #43a047); }
.toast.info .toast-icon { background: linear-gradient(135deg, #0277bd, #039be5); }
.toast.error .toast-icon { background: linear-gradient(135deg, #c62828, #e53935); }

.toast .toast-text { display: flex; flex-direction: column; gap: 2px; }
.toast .toast-title { font-weight: 700; font-size: 1.5rem; color: var(--heading-color); }
.toast .toast-message { font-size: 1.4rem; opacity: 0.9; }

.toast .toast-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(0,0,0,0.06);
  overflow: hidden;
}

.toast .toast-progress > span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
}

.toast.success .toast-progress > span { background: #43a047; }
.toast.info .toast-progress > span { background: #039be5; }
.toast.error .toast-progress > span { background: #e53935; }

@media (max-width: 575px) {
  .toast-container { left: 10px; right: 10px; top: 10px; }
  .toast { min-width: auto; }
}





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 575px screen
 */

@media (min-width: 575px) {
  .container { max-width: var(--container-width-sm); }

  /**
   * REUSED STYLE
   */

  .grid-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 25px;
  }



  /**
   * BLOG
   */

  .blog .grid-list { grid-template-columns: 1fr; }

  .blog-card.grid {
    display: grid;
    grid-template-columns: 0.47fr 1fr;
    align-items: center;
    gap: 10px;
  }



  /**
   * CONTACT
   */

  .input-wrapper {
    display: flex;
    gap: 15px;
  }

  .contact-item { min-width: calc(50% - 18px); }

  .project .grid-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}





/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {
  .container { max-width: var(--container-width-md); }

  .section-text {
    max-width: 65ch;
    margin-inline: auto;
  }



  /**
   * HERO
   */

  .hero-text {
    max-width: 60ch;
    margin-inline: auto;
  }



  /**
   * ABOUT
   */

  .about-banner { max-width: 550px; }

  .about .section-text {
    max-width: unset;
    margin-inline: 0;
  }



  /**
   * CONTACT
   */

  .contact-form { padding: 30px; }

  .contact-item { min-width: calc(50% - 12.5px); }

}





/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {
  .container { max-width: var(--container-width-lg); }

  .grid-list { grid-template-columns: repeat(3, 1fr); }



  /**
   * HEADER
   */

  .nav-toggle-btn { display: none; }

  .navbar,
  .navbar.active { all: unset; }

  .navbar-list {
    all: unset;
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .navbar-link { position: relative; }

  .navbar-link:is(:hover, :focus) { color: var(--teal); }

  .navbar-link::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-2);
  }

  .navbar-link:is(:hover, :focus)::after { transform: scaleX(1); }

  .header .btn { margin-block-start: 0; }



  /**
   * HERO
   */

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    text-align: left;
  }

  .hero-content { margin-block-end: 0; }

  .hero-subtitle {
    position: relative;
    padding-inline-start: 15px;
  }

  .hero-subtitle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--teal);
  }

  .hero-text,
  .hero .btn { margin-inline: 0; }



  /**
   * SERVICE
   */

  .service-card { padding: 20px; }

  .service-card .h3 { --fs-3: 2.3rem; }



  /**
   * PROJECT
   */

  .project-card .card-subtitle { --fs-6: 1.5rem; }



  /**
   * ABOUT
   */

  .about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
  }

  .about-banner { margin-block-end: 0; }



  /**
   * BLOG
   */

  .blog .grid-list {
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
  }

  .blog .grid-list > li:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 5;
  }

  .blog-card:not(.grid) { height: 100%; }

  .blog-card .card-content { padding-block: 10px; }

  .blog-card:not(.grid) .card-content { padding: 25px; }

  .blog-card.grid .h3 { --fs-3: 2rem; }

  .blog-card .time { --fs-6: 1.6rem; }



  /**
   * CONTACT
   */

  .checkbox-wrapper { margin-block: 20px; }

  .contact-item { min-width: calc(33.33% - 16.66px); }

  .contact-card { padding: 30px; }

  .contact-card .card-icon { font-size: 32px; }

}





/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {
  .container { max-width: var(--container-width-xl); }

  .btn { --fs-6: 1.5rem; }



  /**
   * SERVICE
   */

  .service-card { padding: 30px; }

  .service-card .h3 { --fs-3: 2.5rem; }



  /**
   * PROJECT
   */

  .project-card .card-content { padding: 30px; }

  .project-card .card-subtitle { --fs-6: 1.6rem; }



  /**
   * ABOUT
   */

  .about .container { gap: 60px; }

  .about-item { gap: 7px; }

  .about-item ion-icon { font-size: 20px; }



  /**
   * CTA
   */

  .cta .section-title { margin-block: 15px 24px; }



  /**
   * BLOG
   */

  .blog-card .time { --fs-6: 1.6rem; }

  .blog-card.grid .h3 { --fs-3: 2.4rem; }



  /**
   * CONTACT
   */

  .contact-form { padding: 50px; }

  .contact-card { gap: 20px; }

  .contact-card .card-icon { padding: 15px; }

}









/* Modern Testimonial Card Styles */
.testimonial-card.modern {
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-8);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  min-height: auto;
  transition: transform var(--transition-2), box-shadow var(--transition-2);
}

.testimonial-card.modern:is(:hover, :focus-within) {
  transform: translateY(-10px);
  box-shadow: var(--shadow-1);
}

.testimonial-quote {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 2.5rem;
  color: var(--safety-orange);
}

.testimonial-profile {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.testimonial-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--lavender-gray);
  box-shadow: 0 2px 12px var(--black_10);
  background: var(--white-1);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.6rem;
  color: var(--text-color);
  font-style: italic;
  margin: 0;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.author-name {
  font-weight: 700;
  color: var(--heading-color);
  font-size: 1.2rem;
}

.author-title {
  font-size: 1rem;
  color: var(--gray-web);
}

@media (min-width: 768px) {
  .testimonial-card.modern {
    min-height: 350px;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
  }
}

/* Responsive Padding Adjustments */
@media (max-width: 574px) {
  .service-card,
  .project-card,
  .blog-card,
  .contact-form {
    padding: 15px;
  }
  
  .section {
    padding-block: 40px;
  }
  
  .grid-list {
    gap: 20px;
  }
}

/* Responsive Container Widths */
@media (min-width: 575px) {
  .container { max-width: var(--container-width-sm); }
}

@media (min-width: 768px) {
  .container { max-width: var(--container-width-md); }
}

@media (min-width: 992px) {
  .container { max-width: var(--container-width-lg); }
}

@media (min-width: 1200px) {
  .container { max-width: var(--container-width-xl); }
}

/* Responsive Grid System */
.grid-list {
  display: grid;
  gap: var(--element-spacing);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

/* Responsive Images */
.img-holder {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: calc(var(--height) / var(--width) * 100%);
  overflow: hidden;
}

.img-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Typography */
html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-size: 1.6rem;
  line-height: 1.6;
}

/* Responsive Spacing */
.section {
  padding-block: var(--section-padding);
}

/* Responsive Cards */
.service-card,
.project-card,
.blog-card,
.contact-form {
  padding: var(--card-padding);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Responsive Navigation */
@media (max-width: 991px) {
  .navbar {
    padding-top: 80px; /* Add space for header */
  }

  .navbar-list {
    padding: 0;
  }

  .navbar-link {
    font-size: var(--fs-4);
    padding: 1rem 0;
  }
}

/* Responsive Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--section-padding) + 8rem) var(--section-padding);
}

.hero-content {
  max-width: 65ch;
  margin-inline: auto;
}

/* Responsive Footer */
.footer-content {
  display: grid;
  gap: var(--element-spacing);
}

/* Responsive Form Elements */
.input-field {
  width: 100%;
  padding: clamp(1rem, 2vw, 1.5rem);
  font-size: var(--fs-5);
}

/* Responsive Buttons */
.btn {
  padding: clamp(0.8rem, 2vw, 1.2rem) clamp(2rem, 4vw, 3rem);
  font-size: var(--fs-6);
  white-space: nowrap;
}

/* Responsive Testimonials */
.testimonial-card.modern {
  height: 100%;
  min-height: auto;
  padding: var(--card-padding);
}

/* Responsive Media Queries */
@media (max-width: 574px) {
  :root {
    --section-padding: 40px;
    --container-padding: 15px;
    --card-padding: 15px;
    --element-spacing: 20px;
  }

  .grid-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 575px) and (max-width: 767px) {
  .grid-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .grid-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Accessibility Improvements */
@media (prefers-contrast: more) {
  :root {
    --text-color: #000;
    --heading-color: #000;
    --bg-color: #fff;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .back-top-btn,
  .chatbot-container {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  a {
    text-decoration: underline;
  }
}

/* Social Links Styles */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--white-2);
  border-radius: 50%;
  color: var(--text-color);
  font-size: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.social-link ion-icon {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

/* Hover Effects */
.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover ion-icon {
  color: var(--white-1);
  transform: scale(1.1);
}

/* Platform-specific colors on hover */
.social-link[aria-label="WhatsApp"]:hover {
  background-color: #25D366;
}

.social-link[aria-label="Instagram"]:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link[aria-label="Facebook"]:hover {
  background-color: #1877F2;
}

.social-link[aria-label="LinkedIn"]:hover {
  background-color: #0A66C2;
}

/* Animation for social links */
@keyframes socialLinkPop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.social-link:active {
  animation: socialLinkPop 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .social-links {
    justify-content: center;
  }
}

@media (min-width: 992px) {
  .social-links {
    gap: 20px;
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
}

@media (min-width: 1200px) {
  .social-link {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* Quick Callback Form Styles */
.quick-callback {
  margin-top: 40px;
  background: linear-gradient(135deg, var(--white-1) 0%, var(--cultured-2) 100%);
  border-radius: var(--radius-8);
  padding: 30px;
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px; /* Add space for fixed header */
}

.quick-callback::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(252, 53, 73, 0.1) 0%, rgba(255, 184, 0, 0.1) 100%);
  z-index: 0;
}

.quick-callback::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-image: var(--gradient);
}

.callback-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.callback-title {
  color: var(--heading-color);
  font-family: var(--ff-league-spartan);
  font-size: var(--fs-3);
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.callback-text {
  color: var(--text-color);
  font-size: var(--fs-6);
  margin-bottom: 25px;
}

.callback-form {
  width: 100%;
  position: relative;
  z-index: 1;
}

.input-group {
  display: grid;
  gap: 15px;
  margin-bottom: 20px;
}

.callback-input {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid var(--platinum);
  border-radius: 50px;
  font-size: var(--fs-6);
  color: var(--text-color);
  background-color: var(--white-1);
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.callback-input:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 2px rgba(44, 156, 166, 0.2);
  transform: translateY(-1px);
}

.callback-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 25px;
  background-image: var(--gradient);
  color: var(--white-1);
  border: none;
  border-radius: 50px;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(252, 53, 73, 0.2);
}

.callback-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252, 53, 73, 0.3);
}

.callback-btn ion-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.callback-btn:hover ion-icon {
  transform: translateX(3px);
}

/* Responsive Styles */
@media (min-width: 768px) {
  .quick-callback {
    padding: 40px;
    background: linear-gradient(135deg, var(--white-1) 0%, var(--cultured-2) 100%);
  }

  .input-group {
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
  }

  .callback-btn {
    width: auto;
    white-space: nowrap;
  }
}

@media (min-width: 992px) {
  .quick-callback {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--white-1) 0%, var(--cultured-2) 100%);
  }

  .callback-title {
    font-size: var(--fs-2);
  }
}

@media (min-width: 1200px) {
  .quick-callback {
    padding: 50px;
    background: linear-gradient(135deg, var(--white-1) 0%, var(--cultured-2) 100%);
  }
}

/* Active state for navbar link */
.navbar-link[href="#quick-callback"].active {
  color: var(--red-crayola);
}

.payment-methods {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap; /* Allow icons to wrap on smaller screens */
  justify-content: center; /* Center icons on smaller screens */
}

.payment-methods .payment-icon {
  height: 24px; /* Adjust size as needed */
  width: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Ensure the entire icon is visible */
}

.payment-methods ion-icon {
  font-size: 24px;
  color: var(--text-color); /* Or a specific color for payment icons */
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center; /* Ensure vertical alignment */
  }

  .payment-methods {
    gap: 15px; /* Increase gap on larger screens */
  }

  .payment-methods .payment-icon {
    height: 30px; /* Adjust size for larger screens */
  }

  .legal-links {
    gap: 20px;
  }
}

/* Chatbot Styles */
.chatbot-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
}

.welcome-popup {
  position: absolute;
  bottom: 80px;
  left: 0;
  background-image: var(--gradient);
  color: var(--white-1);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.5s ease;
  width: 250px;
  height: auto;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 999;
  line-height: 1.5;
}

.welcome-popup p {
  margin: 0;
  padding: 10px;
  font-weight: 500;
}

.welcome-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-image: var(--gradient);
  background-size: 200% auto;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(252, 53, 73, 0.3);
  transition: all 0.3s ease;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(252, 53, 73, 0.4);
  background-position: right center;
}

.chatbot-toggle .chat-icon,
.chatbot-toggle .close-icon {
  color: var(--white-1);
  font-size: 28px;
}

.chatbot-toggle .close-icon {
  display: none;
}

.chatbot-box {
  position: fixed;
  bottom: 90px;
  left: 20px;
  width: 380px;
  max-width: calc(100% - 40px);
  height: 550px;
  max-height: calc(100vh - 120px);
  background: var(--white-1);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--platinum);
}

.chatbot-container.active .chatbot-box {
  display: flex;
}

.chatbot-container.active .chat-icon {
  display: none;
}

.chatbot-container.active .close-icon {
  display: block;
}

.chatbot-header {
  background-image: var(--gradient);
  color: var(--white-1);
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--platinum);
}

.chatbot-header h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: var(--fw-700);
}

.chatbot-header p {
  font-size: 14px;
  opacity: 0.9;
}

.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background-color: var(--cultured-2);
}

.message {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  animation: messageSlide 0.3s ease;
}

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

.message-content {
  max-width: 85%;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.bot-message .message-content {
  background-image: var(--gradient);
  color: var(--white-1);
  align-self: flex-start;
  border-bottom-left-radius: 5px;
  border: 1px solid var(--platinum);
}

.user-message .message-content {
  background-image: var(--gradient);
  color: var(--white-1);
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}

.chatbot-input {
  padding: 20px;
  background: var(--white-1);
  border-top: 1px solid var(--platinum);
  display: flex;
  gap: 12px;
}

.chat-input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid var(--platinum);
  border-radius: 25px;
  outline: none;
  font-size: 15px;
  transition: all 0.3s ease;
  background: var(--white-1);
  color: var(--eerie-black);
}

.chat-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(44, 156, 166, 0.2);
}

.send-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-image: var(--gradient);
  border: none;
  color: var(--white-1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(252, 53, 73, 0.2);
}

.send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(252, 53, 73, 0.3);
}

.send-btn ion-icon {
  font-size: 20px;
}

/* Dark mode styles for chatbot */
[data-theme="dark"] .chatbot-box {
  background: var(--eerie-black);
  border-color: var(--platinum);
}

[data-theme="dark"] .chatbot-messages {
  background: var(--cultured);
}

[data-theme="dark"] .chat-input {
  background: var(--eerie-black);
  border-color: var(--platinum);
  color: var(--white-1);
}

[data-theme="dark"] .bot-message .message-content {
  background-image: var(--gradient);
  color: var(--white-1);
  border-color: var(--platinum);
}

/* Responsive styles */
@media (max-width: 768px) {
  .welcome-popup {
    bottom: 70px;
    left: 10px;
    width: 200px;
    min-height: 100px;
    font-size: 14px;
    padding: 15px;
  }

  .chatbot-container {
    bottom: 10px;
    left: 10px;
  }

  .chatbot-box {
    width: calc(100% - 20px);
    max-width: 380px;
    height: calc(100vh - 80px);
    bottom: 70px;
    left: 10px;
    border-radius: 15px;
  }

  .chatbot-toggle {
    bottom: 10px;
    left: 10px;
  }
}

@media (max-width: 480px) {
  .chatbot-box {
    width: calc(100% - 20px);
    height: calc(100vh - 80px);
    bottom: 70px;
    left: 10px;
    border-radius: 15px;
  }

  .welcome-popup {
    bottom: 70px;
    left: 10px;
    width: 180px;
    min-height: 90px;
    font-size: 13px;
    padding: 12px;
  }

  .chatbot-container {
    bottom: 10px;
    left: 10px;
  }
  
  .chatbot-toggle {
    bottom: 10px;
    left: 10px;
  }
}

/* Job Listings Styles */
.job-details {
  display: flex;
  gap: 15px;
  margin: 15px 0;
  flex-wrap: wrap;
}

.job-info {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.job-info ion-icon {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.job-requirements {
  margin: 15px 0;
  padding: 15px;
  background: var(--bg-secondary);
  border-radius: 8px;
}

.job-requirements h4 {
  color: var(--text-primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.job-requirements ul {
  list-style: none;
  padding: 0;
}

.job-requirements li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-light);
}

.job-requirements li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.service-card {
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

/* File Upload Styles */
.file-upload-wrapper {
  margin-bottom: 15px;
}

.file-upload-wrapper .label {
  display: block;
  margin-bottom: 5px;
  font-size: var(--fs-6);
  color: var(--heading-color);
}

.file-input {
  padding: 10px;
  border: 1px solid var(--platinum);
  border-radius: var(--radius-2);
  background-color: var(--white-2);
  color: var(--text-color);
}

.file-input::file-selector-button {
  background-image: var(--gradient);
  color: var(--white-1);
  padding: 8px 15px;
  border: none;
  border-radius: var(--radius-2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-input::file-selector-button:hover {
  opacity: 0.9;
}

/*-----------------------------------*\
  #RESPONSIVE DESIGN
\*-----------------------------------*/

/* Base responsive container */
.container {
  width: 100%;
  padding-inline: clamp(15px, 3vw, 50px);
  margin-inline: auto;
}

/* Responsive typography */
:root {
  --fs-1: clamp(2.5rem, 5vw, 6.8rem);
  --fs-2: clamp(2.2rem, 4vw, 4.5rem);
  --fs-3: clamp(1.8rem, 3vw, 2.5rem);
  --fs-4: clamp(1.5rem, 2vw, 1.9rem);
  --fs-5: clamp(1.3rem, 1.5vw, 1.6rem);
  --fs-6: clamp(1.2rem, 1.2vw, 1.6rem);
}

/* Responsive spacing */
:root {
  --section-padding: clamp(40px, 5vw, 120px);
  --container-padding: clamp(15px, 3vw, 50px);
  --card-padding: clamp(15px, 2vw, 30px);
  --element-spacing: clamp(20px, 3vw, 30px);
}

/* Responsive grid system */
.grid-list {
  display: grid;
  gap: var(--element-spacing);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

/* Responsive breakpoints */
@media (max-width: 575px) {
  .container {
    max-width: 100%;
    padding-inline: 15px;
  }

  .grid-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section {
    padding-block: 40px;
  }

  .hero {
    min-height: auto;
    padding-block: 60px 40px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-banner {
    margin-top: 30px;
  }

  .service-card,
  .project-card,
  .blog-card {
    padding: 15px;
  }

  .footer-links-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 540px;
  }

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

  .hero {
    padding-block: 80px 60px;
  }

  .footer-links-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
  }

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

  .hero {
    padding-block: 100px 80px;
  }

  .footer-links-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }

  .grid-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .hero {
    padding-block: 120px 100px;
  }

  .footer-links-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  .grid-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .hero {
    padding-block: 140px 120px;
  }

  .footer-links-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
  }
}

/* Responsive images */
.img-holder {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: calc(var(--height) / var(--width) * 100%);
  overflow: hidden;
}

.img-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive navigation */
@media (max-width: 991px) {
  .navbar {
    padding-top: 80px;
  }

  .navbar-list {
    padding: 0;
  }

  .navbar-link {
    font-size: var(--fs-4);
    padding: 1rem 0;
  }
}

/* Responsive forms */
.input-field {
  width: 100%;
  padding: clamp(1rem, 2vw, 1.5rem);
  font-size: var(--fs-5);
}

/* Responsive buttons */
.btn {
  padding: clamp(0.8rem, 2vw, 1.2rem) clamp(2rem, 4vw, 3rem);
  font-size: var(--fs-6);
  white-space: nowrap;
}

/* Responsive cards */
.service-card,
.project-card,
.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Responsive footer */
.footer-content {
  display: grid;
  gap: var(--element-spacing);
}

/* Responsive testimonials */
.testimonial-card.modern {
  height: 100%;
  min-height: auto;
  padding: var(--card-padding);
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Accessibility improvements */
@media (prefers-contrast: more) {
  :root {
    --text-color: #000;
    --heading-color: #000;
    --bg-color: #fff;
  }
}

/* Print styles */
@media print {
  .header,
  .footer,
  .back-top-btn,
  .chatbot-container {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  a {
    text-decoration: underline;
  }
}

/* Fluid typography for better readability */
@media (min-width: 1200px) {
  :root {
    --fs-1: 6.8rem;
    --fs-2: 4.5rem;
    --fs-3: 2.5rem;
    --fs-4: 1.9rem;
    --fs-5: 1.6rem;
    --fs-6: 1.6rem;
  }
}

/* Responsive spacing for different sections */
@media (max-width: 767px) {
  .section {
    padding-block: 40px;
  }

  .section-title {
    margin-bottom: 20px;
  }

  .section-text {
    margin-bottom: 30px;
  }
}

@media (min-width: 768px) {
  .section {
    padding-block: 60px;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .section-text {
    margin-bottom: 40px;
  }
}

@media (min-width: 992px) {
  .section {
    padding-block: 80px;
  }

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

  .section-text {
    margin-bottom: 50px;
  }
}

/* Responsive form layouts */
@media (max-width: 575px) {
  .input-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (min-width: 576px) {
  .input-wrapper {
    display: flex;
    gap: 20px;
  }

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

/* Responsive card layouts */
@media (max-width: 575px) {
  .service-card,
  .project-card,
  .blog-card {
    padding: 15px;
  }

  .card-content {
    padding: 15px;
  }
}

@media (min-width: 576px) {
  .service-card,
  .project-card,
  .blog-card {
    padding: 20px;
  }

  .card-content {
    padding: 20px;
  }
}

@media (min-width: 992px) {
  .service-card,
  .project-card,
  .blog-card {
    padding: 30px;
  }

  .card-content {
    padding: 30px;
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  position: relative;
}

/* Add styles for main content */
main {
  padding-top: 80px; /* Match header height */
}

/* Update responsive styles */
@media (max-width: 991px) {
  .navbar {
    padding-top: 80px; /* Match header height */
  }
  
  .navbar.active {
    transform: translateX(0);
  }
}

/* Update section padding */
.section {
  padding-block: var(--section-padding);
  margin-top: 0; /* Remove any existing margin */
}

/* Update project detail section */
.project-detail {
  padding-top: 80px !important; /* Override inline style */
}

/* Update blog post section */
.blog-post {
  padding-top: 80px !important; /* Override inline style */
}

/* Update about page section */
.about-page {
  padding-top: 80px !important; /* Override inline style */
}

/* Team Section Styles */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  animation: cardPulse 2s infinite;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-image {
  width: 200px;
  height: 200px;
  overflow: hidden;
  position: relative;
  border-radius: 50%;
  margin: 2rem auto;
  border: 4px solid var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.8s ease-out;
}

.team-member:hover .member-img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.member-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 50%;
}

.team-member:hover .member-image::before {
  opacity: 1;
}

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

@keyframes cardPulse {
  0% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  }
  100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
}

/* Staggered animation for team members */
.team-member:nth-child(1) .member-img {
  animation-delay: 0.2s;
}

.team-member:nth-child(2) .member-img {
  animation-delay: 0.4s;
}

.team-member:nth-child(3) .member-img {
  animation-delay: 0.6s;
}

.member-info {
  padding: 1.5rem;
  text-align: center;
}

.member-info .h3 {
  color: var(--rich-black-fogra-29);
  margin-bottom: 0.5rem;
}

.member-role {
  color: var(--orange-soda);
  font-weight: 500;
  margin-bottom: 1rem;
}

.member-bio {
  color: var(--rich-black-fogra-29-1);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.member-social .social-link {
  color: var(--rich-black-fogra-29);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.member-social .social-link:hover {
  color: var(--orange-soda);
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .member-image {
    width: 180px;
    height: 180px;
    margin: 1.5rem auto;
  }
}

/* Career Page Specific Styles */

/* Hero Section */
#career-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/career-hero.jpg');
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
}

#career-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

#career-hero .hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  animation: fadeInUp 1.2s ease-out;
}

#career-hero .hero-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--white);
  animation: fadeInUp 1.4s ease-out;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 1.6s ease-out;
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background-color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: scaleIn 0.6s ease-out;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(252, 53, 73, 0.2);
}

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

.stat-text {
  font-size: 1.1rem;
  color: var(--text-color);
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.feature-list li {
  padding: 0.5rem 0;
  color: var(--text-color);
  display: flex;
  align-items: center;
}

.feature-list li::before {
  content: "✓";
  color: var(--primary-color);
  margin-right: 0.5rem;
  font-weight: bold;
}

/* Career Path Timeline */
.career-path-timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem 0;
}

.career-path-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.timeline-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-icon ion-icon {
  font-size: 1.5rem;
  color: var(--white);
}

.timeline-content {
  width: 45%;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 55%;
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.timeline-content ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.timeline-content ul li {
  padding: 0.5rem 0;
  color: var(--text-color);
}

/* Position Filters */
.position-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  background: transparent;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--white);
}

/* Job Cards */
.service-card {
  position: relative;
  overflow: hidden;
}

.job-details {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.job-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
}

.job-info ion-icon {
  color: var(--primary-color);
}

.job-requirements,
.job-benefits {
  margin: 1rem 0;
}

.job-requirements h4,
.job-benefits h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Application Form */
.form-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-section-title {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.file-upload-wrapper {
  margin: 1rem 0;
}

.file-upload-hint {
  font-size: 0.9rem;
  color: var(--text-color);
  margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  #career-hero .hero-title {
    font-size: 2.5rem;
  }

  .timeline-content {
    width: 80%;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin: 0 0 0 20%;
  }

  .career-path-timeline::before {
    left: 20px;
  }

  .timeline-icon {
    left: 20px;
  }

  .position-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .timeline-content {
    width: 90%;
  }
}

/* Application Form Styles */
.form-section {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(252, 53, 73, 0.1);
}

.form-section-title {
  color: var(--red-crayola);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--red-crayola);
  display: inline-block;
}

.education-block {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.education-title {
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.input-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.input-field {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.input-field:focus {
  border-color: var(--red-crayola);
  box-shadow: 0 0 0 3px rgba(252, 53, 73, 0.1);
  outline: none;
}

textarea.input-field {
  min-height: 120px;
  resize: vertical;
}

.file-upload-wrapper {
  margin-bottom: 1.5rem;
}

.file-upload-wrapper .label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
}

.file-input {
  padding: 0.5rem;
  border: 2px dashed rgba(0, 0, 0, 0.1);
  background: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-input:hover {
  border-color: var(--red-crayola);
  background: rgba(252, 53, 73, 0.05);
}

.file-upload-hint {
  font-size: 0.85rem;
  color: var(--text-color);
  margin-top: 0.5rem;
  opacity: 0.8;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--red-crayola);
}

.label-link {
  color: var(--red-crayola);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.label-link:hover {
  color: var(--text-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .input-wrapper {
    grid-template-columns: 1fr;
  }

  .form-section {
    padding: 1.5rem;
  }

  .education-block {
    padding: 1rem;
  }
}

/* Animation for form sections */
.form-section {
  animation: fadeInUp 0.6s ease-out;
}

.form-section:nth-child(1) { animation-delay: 0.1s; }
.form-section:nth-child(2) { animation-delay: 0.2s; }
.form-section:nth-child(3) { animation-delay: 0.3s; }
.form-section:nth-child(4) { animation-delay: 0.4s; }
.form-section:nth-child(5) { animation-delay: 0.5s; }

/* Hiring Process Styles */
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50px;
  height: 100%;
  width: 2px;
  background: var(--primary-color);
  opacity: 0.3;
}

.process-step {
  position: relative;
  margin-bottom: 50px;
  padding-left: 100px;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 8px var(--primary-color);
  z-index: 1;
}

.step-content {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.step-content:hover {
  transform: translateY(-5px);
}

.step-content h3 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 15px;
}

.step-content p {
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

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

.step-details li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--text-color);
}

.step-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.process-note {
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  margin-top: 40px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.process-note p {
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.6;
}

.process-note strong {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .process-timeline::before {
    left: 30px;
  }

  .process-step {
    padding-left: 70px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .step-content {
    padding: 20px;
  }

  .step-content h3 {
    font-size: 20px;
  }
}

.hiring-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.process-box {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.process-box[data-step="1"] { animation-delay: 0.1s; }
.process-box[data-step="2"] { animation-delay: 0.3s; }
.process-box[data-step="3"] { animation-delay: 0.5s; }
.process-box[data-step="4"] { animation-delay: 0.7s; }
.process-box[data-step="5"] { animation-delay: 0.9s; }

.process-box-inner {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.process-box-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--red-crayola), var(--eerie-black));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.process-box-inner:hover::before {
  transform: scaleX(1);
}

.process-number {
  width: 50px;
  height: 50px;
  background: var(--red-crayola);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.process-content h3 {
  color: var(--eerie-black);
  font-size: var(--fs-3);
  margin-bottom: 15px;
}

.process-content p {
  color: var(--gray-web);
  font-size: var(--fs-6);
  margin-bottom: 20px;
  line-height: 1.6;
}

.process-details {
  list-style: none;
  padding: 0;
}

.process-details li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--gray-web);
  font-size: var(--fs-6);
}

.process-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red-crayola);
  font-weight: bold;
}

@media (max-width: 768px) {
  .hiring-process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .process-box-inner {
    padding: 20px;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* ... existing code ... */

.career-path-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
}

.career-pie-chart {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  perspective: 1000px;
}

.pie-segment {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.pie-segment:hover {
  transform: translateY(-10px) rotateX(5deg);
}

.segment-content {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.segment-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
    rgba(19, 196, 161, 0.1),
    rgba(102, 16, 242, 0.1),
    rgba(255, 183, 0, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pie-segment:hover .segment-content::before {
  opacity: 1;
}

.pie-segment[data-level="entry"] .segment-content {
  border-top: 5px solid #13c4a1;
}

.pie-segment[data-level="mid"] .segment-content {
  border-top: 5px solid #6610f2;
}

.pie-segment[data-level="senior"] .segment-content {
  border-top: 5px solid #ffb700;
}

.segment-content h3 {
  color: var(--eerie-black);
  font-size: var(--fs-3);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.segment-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: currentColor;
  transition: width 0.3s ease;
}

.pie-segment:hover .segment-content h3::after {
  width: 100px;
}

.segment-content p {
  color: var(--gray-web);
  font-size: var(--fs-6);
  margin-bottom: 20px;
  line-height: 1.6;
}

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

.segment-content ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--gray-web);
  font-size: var(--fs-6);
}

.segment-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red-crayola);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.pie-segment:hover .segment-content ul li::before {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .career-pie-chart {
    flex-direction: column;
    align-items: center;
  }

  .pie-segment {
    width: 100%;
    max-width: 100%;
  }

  .segment-content {
    padding: 20px;
  }
}

/* ... existing code ... */

.zigzag-process {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px 0;
}

/* Removed zigzag line */

.zigzag-item {
  position: relative;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.zigzag-item:nth-child(1) { animation-delay: 0.1s; }
.zigzag-item:nth-child(2) { animation-delay: 0.3s; }
.zigzag-item:nth-child(3) { animation-delay: 0.5s; }
.zigzag-item:nth-child(4) { animation-delay: 0.7s; }
.zigzag-item:nth-child(5) { animation-delay: 0.9s; }

.zigzag-content {
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zigzag-item:nth-child(odd) .zigzag-content {
  flex-direction: row-reverse;
}

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

.process-number {
  width: 60px;
  height: 60px;
  background: var(--red-crayola);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-info {
  flex: 1;
}

.process-info h3 {
  color: var(--eerie-black);
  font-size: var(--fs-3);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.process-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--red-crayola);
  transition: width 0.3s ease;
}

.zigzag-content:hover .process-info h3::after {
  width: 100px;
}

.process-info p {
  color: var(--gray-web);
  font-size: var(--fs-6);
  margin-bottom: 20px;
  line-height: 1.6;
}

.process-details {
  list-style: none;
  padding: 0;
}

.process-details li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--gray-web);
  font-size: var(--fs-6);
}

.process-details li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red-crayola);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.zigzag-content:hover .process-details li::before {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .zigzag-process::before {
    left: 30px;
  }

  .zigzag-content {
    flex-direction: row !important;
    margin-left: 30px;
    padding: 20px;
  }

  .process-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .zigzag-item {
    margin-bottom: 40px;
  }
}

/* ... existing code ... */

/* Why Join Us Single Box Styles */
.why-join-single-box {
  background: var(--card-bg);
  padding: var(--card-padding);
  border-radius: var(--radius-8);
  box-shadow: var(--card-shadow);
  margin-top: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 800px;
  margin-inline: auto;
}

.why-join-single-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-1);
}

.why-join-single-box p {
  font-size: var(--fs-5);
  color: var(--heading-color);
  margin-bottom: 20px;
  text-align: center;
}

.why-join-single-box ul {
  list-style: none;
  padding: 0;
}

.why-join-single-box li {
  font-size: var(--fs-6);
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.why-join-single-box li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--red-crayola);
  font-weight: bold;
}

/* ... existing code ... */

.service-category {
  position: relative;
}

.service-category:hover .subcategory-list {
  display: block;
}

.subcategory-list {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  width: 250px;
  background-color: var(--white-1);
  border: 1px solid var(--platinum);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-1);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  z-index: 11;
}

.subcategory-link {
  display: block;
  padding: 10px 15px;
  color: var(--eerie-black);
  font-size: var(--fs-6);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.subcategory-link:hover {
  background-color: var(--cultured-2);
  color: var(--red-crayola);
  text-decoration: none;
}

.subcategory-link.selected {
  background-color: var(--teal);
  color: var(--white);
  font-weight: var(--fw-700);
}

.service-option-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  color: var(--eerie-black);
  font-size: var(--fs-6);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.service-option-link::after {
  content: '›';
  margin-left: 8px;
  font-size: 1.2em;
  opacity: 0.5;
}

.service-option-link:hover::after {
  opacity: 1;
}
/* Add this CSS for perfect center alignment */
/* FINAL RESPONSIVE TOUCHES */
@media (max-width: 991px) {
  .container {
    padding-inline: 8px;
  }
  .footer-content, .footer-links-container {
    flex-direction: column;
    gap: 24px;
  }
  .footer-links, .footer-services, .footer-contact {
    width: 100%;
    margin-bottom: 16px;
  }
}
@media (max-width: 768px) {
  .grid-list {
    grid-template-columns: 1fr !important;
    gap: 1.2rem;
  }
  .input-wrapper {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .form-section {
    padding: 10px 0 !important;
  }
  .footer-content, .footer-links-container {
    flex-direction: column;
    gap: 16px;
  }
  .footer-links, .footer-services, .footer-contact {
    width: 100%;
    margin-bottom: 12px;
  }
  .navbar-list {
    gap: 1.2rem !important;
  }
  .navbar {
    padding: 1rem !important;
  }
  .header-container {
    padding-inline: 8px !important;
  }
  .section-title, .section-text {
    text-align: center !important;
  }
}
@media (max-width: 575px) {
  .container {
    padding-inline: 4px;
  }
  .footer-content, .footer-links-container {
    flex-direction: column;
    gap: 8px;
  }
  .footer-links, .footer-services, .footer-contact {
    width: 100%;
    margin-bottom: 8px;
  }
  .input-field, .btn, .navbar-link, .form-section-title {
    font-size: 1rem !important;
  }
  img, .img-cover, .img-holder {
    max-width: 100% !important;
    height: auto !important;
  }
  .navbar {
    padding: 0.5rem !important;
  }
}