/* ===== ROOT VARIABLES ===== */
:root {
  --header-height: 4rem;

  /* Colors - Updated to match Seaways logo sky blue */
  --primary-color: #87ceeb;
  --primary-dark: #5faddb;
  --primary-light: #a8daef;
  --secondary-color: #d4a017;
  --accent-color: #e8930c;

  /* Neutral Colors */
  --title-color: #1a1a2e;
  --text-color: #4a5568;
  --text-light: #718096;
  --bg-color: #ffffff;
  --bg-secondary: #f7fafc;
  --bg-dark: #5faddb;
  --border-color: #e2e8f0;

  /* Gradients */
  --gradient-1: linear-gradient(135deg, #87ceeb 0%, #a8daef 100%);
  --gradient-2: linear-gradient(135deg, #87ceeb 0%, #d4a017 100%);
  --gradient-3: linear-gradient(135deg, #e8930c 0%, #d4a017 100%);

  /* Typography */
  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 3rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.75rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.813rem;

  /* Font Weight */
  --font-light: 300;
  --font-regular: 400;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* Spacing */
  --mb-0-5: 0.5rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /* Z-index */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* Responsive Typography */
@media screen and (max-width: 968px) {
  :root {
    --biggest-font-size: 2rem;
    --h1-font-size: 1.75rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.125rem;
  }
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

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

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--body-font);
}

/* ===== REUSABLE CLASSES ===== */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

.section {
  padding: 6rem 0 4rem;
}

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

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--primary-color);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--mb-0-5);
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-1);
}

.section__description {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
}

.button {
  display: inline-block;
  background: var(--gradient-1);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: var(--font-semi-bold);
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(135, 206, 235, 0.3);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(135, 206, 235, 0.4);
}

.button__ghost {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: none;
}

.button__ghost:hover {
  background: var(--primary-color);
  color: #fff;
}

.highlight {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== HEADER & NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-color);
  z-index: var(--z-fixed);
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--font-bold);
  color: var(--title-color);
  font-size: var(--h3-font-size);
}

.nav__logo-img {
  width: 120px;
  height: 80px;
  object-fit: contain;
  object-position: left center;
}

.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-regular);
  transition: var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-color);
}

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

/* ===== HOME SECTION ===== */
.home {
  padding-top: calc(var(--header-height) + 2rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.home__container {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 3rem;
}

.home__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--primary-color);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-1);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.home__title {
  font-size: var(--biggest-font-size);
  margin-bottom: var(--mb-1-5);
  line-height: 1.1;
}

.home__description {
  color: var(--text-light);
  margin-bottom: var(--mb-2-5);
  max-width: 500px;
}

.home__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.home__images {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home__img-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
}

.home__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 50px rgba(135, 206, 235, 0.3));
  border: 5px solid var(--primary-color);
}

.home__blob {
  width: 100%;
  height: auto;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 50px rgba(135, 206, 235, 0.3));
}

.home__img-overlay {
  position: absolute;
  inset: 0;
}

.floating-icon {
  position: absolute;
  font-size: 3rem;
  animation: float 3s ease-in-out infinite;
}

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

.icon-2 {
  top: 50%;
  right: 5%;
  animation-delay: 1s;
}

.icon-3 {
  bottom: 15%;
  left: 20%;
  animation-delay: 2s;
}

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

.home__scroll {
  text-align: center;
  margin-top: 3rem;
}

.home__scroll-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  transition: var(--transition);
}

.home__scroll-button:hover {
  color: var(--primary-color);
  transform: translateY(5px);
}

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

/* ===== FIXED VERTICAL IMAGE ===== */
.fixed-vertical-image {
  position: fixed;
  left: 0;
  top: var(--header-height);
  width: 250px;
  height: calc(100vh - var(--header-height));
  z-index: 5;
  overflow: hidden;
}

.fixed-vertical-image__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.3s ease-in-out;
}

/* Adjust main content to accommodate fixed image */
.main {
  margin-left: 250px;
}

/* ===== SERVICES SECTION ===== */
.services {
  position: relative;
  overflow: hidden;
}

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

.services__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services__bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(135, 206, 235, 0.85) 0%,
    rgba(212, 160, 23, 0.75) 100%
  );
}

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

.services .section__subtitle,
.services .section__title,
.services .section__description {
  color: #fff;
}

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

.service__card {
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.service__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service__card:hover::before {
  transform: scaleX(1);
}

.service__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service__icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--mb-1-5);
  color: #fff;
}

.service__icon svg {
  width: 30px;
  height: 30px;
}

.service__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--title-color);
}

.service__description {
  color: var(--text-light);
  margin-bottom: var(--mb-1-5);
}

.service__features {
  list-style: none;
}

.service__features li {
  padding: 0.5rem 0;
  color: var(--text-color);
  position: relative;
  padding-left: 1.5rem;
}

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

/* ===== ABOUT SECTION ===== */
.about__container {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 4rem;
}

.about__description {
  margin-bottom: var(--mb-1-5);
  color: var(--text-light);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: var(--mb-2-5);
}

.stat__item {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 15px;
  transition: var(--transition);
}

.stat__item:hover {
  background: var(--gradient-1);
  transform: translateY(-5px);
}

.stat__item:hover .stat__number,
.stat__item:hover .stat__label {
  color: #fff;
}

.stat__number {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: var(--small-font-size);
  color: var(--text-light);
}

.about__img {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(135, 206, 235, 0.1);
}

.about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-slow);
}

.about__img:hover img {
  transform: scale(1.05);
}

.about__image {
  position: relative;
  display: flex;
  justify-content: center;
}

.about__img-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
}

.about__blob {
  width: 100%;
  height: auto;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 50px rgba(135, 206, 235, 0.3));
}

/* ===== SOLUTIONS SECTION ===== */
.solutions {
  position: relative;
  overflow: hidden;
}

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

.solutions__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.solutions__bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(135, 206, 235, 0.92) 0%,
    rgba(212, 160, 23, 0.88) 100%
  );
}

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

.solutions .section__subtitle,
.solutions .section__title {
  color: #fff;
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.solution__card {
  background: #fff;
  padding: 1.5rem 1rem;
  border-radius: 15px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.solution__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.solution__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

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

.solution__description {
  color: var(--text-light);
  font-size: var(--small-font-size);
  line-height: 1.4;
}

/* ===== CORE VALUES SECTION ===== */
.values {
  background-color: var(--bg-secondary);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.value__card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.value__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(135, 206, 235, 0.2);
  border-color: var(--primary-color);
}

.value__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

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

.value__description {
  color: var(--text-light);
  font-size: var(--small-font-size);
  line-height: 1.5;
}

/* ===== TEAM SECTION ===== */
.team {
  background: var(--bg-secondary);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.team__card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

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

.team__card-image {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

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

.team__card:hover .team__img {
  transform: scale(1.1);
}

.team__card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(14, 165, 233, 0.9), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team__card:hover .team__card-overlay {
  opacity: 1;
}

.team__social {
  display: flex;
  gap: 1rem;
}

.team__social-link {
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: var(--transition);
}

.team__social-link:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-5px);
}

.team__card-content {
  padding: 2rem;
  text-align: center;
}

.team__name {
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.team__position {
  font-size: var(--normal-font-size);
  color: var(--primary-color);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1rem;
}

.team__description {
  font-size: var(--small-font-size);
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: start;
}

.contact__description {
  color: var(--text-light);
  margin-bottom: var(--mb-2-5);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 15px;
  transition: var(--transition);
}

.contact__info-item:hover {
  background: var(--gradient-1);
  transform: translateX(10px);
}

.contact__info-item:hover h4,
.contact__info-item:hover p {
  color: #fff;
}

.contact__info-icon {
  font-size: 2rem;
}

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

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

.contact__form {
  background: var(--bg-secondary);
  padding: 2.5rem;
  border-radius: 20px;
}

.contact__form-group {
  margin-bottom: var(--mb-1-5);
}

.contact__form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  transition: var(--transition);
  background: #fff;
}

.contact__form-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.contact__form-button {
  width: 100%;
}

.contact__form-message {
  margin-top: var(--mb-1);
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
  background: #87ceeb;
  color: var(--title-color);
  padding-top: 4rem;
}

.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--mb-1);
  font-weight: var(--font-bold);
  font-size: var(--h3-font-size);
}

.footer__logo-img {
  width: 110px;
  height: 75px;
  object-fit: contain;
  object-position: left center;
}

.footer__description {
  margin-bottom: var(--mb-1-5);
  color: var(--text-color);
}

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

.footer__social-link {
  width: 40px;
  height: 40px;
  background: rgba(135, 206, 235, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--primary-color);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
}

.footer__social-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  color: var(--text-color);
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.footer__bottom {
  border-top: 1px solid rgba(135, 206, 235, 0.3);
  padding: 2rem 0;
  text-align: center;
}

.footer__copy {
  color: var(--text-color);
  font-size: var(--small-font-size);
}

/* ===== SCROLL UP ===== */
.scrollup {
  position: fixed;
  right: 2rem;
  bottom: -20%;
  background: var(--gradient-1);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: var(--z-tooltip);
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 51, 102, 0.3);
}

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

.show-scroll {
  bottom: 3rem;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 968px) {
  /* Hide fixed vertical image on mobile */
  .fixed-vertical-image {
    display: none;
  }

  /* Reset main margin on mobile */
  .main {
    margin-left: 0;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    background-color: var(--bg-color);
    padding: 4.5rem 2rem 3rem;
    transition: var(--transition);
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
    z-index: var(--z-fixed);
  }

  .nav__menu.show-menu {
    right: 0;
  }

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

  .nav__toggle,
  .nav__close {
    display: block;
  }

  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
  }

  .home__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home__images {
    order: -1;
  }

  .home__buttons {
    justify-content: center;
  }

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

  .about__image {
    order: -1;
  }

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

  .values__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .team__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .solutions__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }
}

@media screen and (max-width: 576px) {
  .section {
    padding: 4rem 0 2rem;
  }

  .home {
    padding-top: var(--header-height);
  }

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

  .home__buttons {
    flex-direction: column;
    width: 100%;
  }

  .values__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .value__card {
    padding: 1.25rem;
  }

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

  .solution__card {
    padding: 1rem;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .scrollup {
    right: 1rem;
  }

  .show-scroll {
    bottom: 2rem;
  }
}

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

.fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== MODERN ENHANCEMENTS ===== */

/* Smooth transitions for all interactive elements */
a,
button,
.button {
  position: relative;
  overflow: hidden;
}

a::before,
.button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

a:hover::before,
.button:hover::before {
  width: 300px;
  height: 300px;
}

/* Glassmorphism effect for cards */
.service__card,
.value__card,
.stat__item {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Parallax scroll effect */
.section {
  position: relative;
  z-index: 1;
}

/* Enhanced hover effects */
.service__card:hover,
.value__card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(135, 206, 235, 0.25);
}

/* Animated gradient background */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.home {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #e0f2fe 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

/* Loading animation */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Image zoom on hover */
.about__img img,
.service__card img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about__img:hover img,
.service__card:hover img {
  transform: scale(1.1);
}

/* Text gradient animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.section__title {
  position: relative;
  background: linear-gradient(
    90deg,
    var(--title-color) 0%,
    var(--primary-color) 50%,
    var(--title-color) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* Enhanced button effects */
.button {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

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

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

/* Floating animation for icons */
@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(5deg);
  }
  50% {
    transform: translateY(-5px) rotate(-5deg);
  }
  75% {
    transform: translateY(-15px) rotate(3deg);
  }
}

.value__icon,
.service__icon svg {
  animation: floatIcon 4s ease-in-out infinite;
}

/* Counter animation enhancement */
.stat__number {
  font-weight: var(--font-bold);
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced form inputs */
.contact__form-input:focus,
.contact__form-textarea:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(135, 206, 235, 0.2);
  border-color: var(--primary-color);
}

/* Ripple effect */
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

/* Progress bar animation */
@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in {
  animation: slideIn 0.8s ease-out;
}
