/* ================= ADVANCED LOGO LOADER ================= */
.loading {
  overflow: hidden;
}

.logo-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease;
}

.loader-container {
  text-align: center;
}

.logo-wrapper {
  position: relative;
  text-align: center;
}

.loader-logo {
  width: 220px;
  height: auto;
  opacity: 1;
  animation: logoFloat 3s ease-in-out infinite;
}

.heartbeat-line {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.pulse-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: heartbeat 2s ease-in-out infinite;
}

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

@keyframes heartbeat {
  0% {
    stroke-dashoffset: 200;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -200;
  }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.loading .header,
.loading .hero,
.loading .info,
.loading .specialties,
.loading .full-video,
.loading .why,
.loading .footer {
  display: none;
}

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

body {
  font-family: "Onest", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

:root {
  --page-max: 1400px;
  --page-pad: clamp(16px, 4vw, 60px);
}

.wrapper {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.btn {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: white;
  border: none;
  padding: clamp(8px, 1.5vw, 12px) clamp(16px, 3vw, 24px);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: clamp(14px, 2vw, 16px);
  white-space: nowrap;
}

.header .btn {
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 135px;
  height: 40px;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.3);
}

.section-title {
  font-family: "Onest", sans-serif;
  font-size: clamp(18px, 3.5vw, 48px);
  font-weight: 700;
  text-align: left;
  color: #333333;
  margin-bottom: clamp(12px, 2.5vw, 32px);
}

/* ================= SCROLL ANIMATIONS ================= */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero section always visible */
.hero {
  opacity: 1 !important;
  transform: none !important;
}

.hero-img,
.hero-section-img,
.hero-content {
  opacity: 1 !important;
  transform: none !important;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* ================= IMAGE LOADING ================= */
@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.image-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img.loaded {
  opacity: 1;
}

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

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

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

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

/* ================= HEADER ================= */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: fadeInUp 0.8s ease-out;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(12px, 2vw, 20px) var(--page-pad);
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logo-img {
  width: clamp(100px, 15vw, 144px);
  height: auto;
  opacity: 1;
  transition: all 0.3s ease;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  font-family: "Onest", sans-serif;
}

.nav a {
  text-decoration: none;
  color: #374151;
  font-family: "Onest", sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 1.5vw, 16px);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav a:hover {
  color: #1e40af;
  background: rgba(56, 189, 248, 0.1);
}

.nav a:hover::after {
  width: 80%;
}

/* ================= MOBILE MENU ================= */
.mobile-menu {
  display: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  background: #49C0E8;
  transition: all 0.3s ease;
}

.mobile-menu i {
  font-size: 16px;
  color: white;
  transition: all 0.3s ease;
}

.mobile-menu:hover {
  background: #38bdf8;
  transform: scale(1.05);
}

.mobile-nav {
  position: fixed;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 30px 20px;
  z-index: 999;
  flex-direction: column;
  gap: 20px;
  transition: top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  opacity: 0;
  visibility: hidden;
}

.mobile-nav.active {
  top: 70px;
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  padding: 15px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.mobile-nav a:hover {
  background: rgba(73, 192, 232, 0.1);
  color: #1e40af;
  border-left-color: #49C0E8;
  transform: translateX(5px);
}

.mobile-nav .btn {
  margin-top: 10px;
  align-self: center;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  width: min(96%, 1850px);
  margin: clamp(8px, 1.5vw, 20px) auto;
  aspect-ratio: 16/9;
  height: calc(135vh - 147px);
  max-height: 700px;
  min-height: clamp(350px, 45vh, 450px);
  border-radius: clamp(16px, 3vw, 32px);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background:
    linear-gradient(
      253.35deg,
      rgba(0, 0, 0, 0) 42.3%,
      rgba(0, 0, 0, 0.2) 98.3%
    ),
    linear-gradient(180deg, rgba(51, 89, 164, 0) 26.16%, #1d5197 96.86%);
}

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

.hero-section-img {
  position: absolute;
  right: clamp(-37px, -2vw, -15px);
  bottom: clamp(-61px, -2vh, 13px);
  width: clamp(200px, 35vw, 515px);
  height: clamp(183px, 36vw, 526px);
  z-index: 3;
  display: block;
  opacity: 0.5;
  border-radius: 8px;
  object-fit: cover;
}

/* Large screens hero image */
@media (min-width: 1400px) {
  .hero-section-img {
    right: clamp(-50px, -3vw, -20px);
    bottom: clamp(-80px, -4vh, -20px);
    width: clamp(450px, 40vw, 600px);
    height: clamp(450px, 40vw, 600px);
    opacity: 0.6;
  }
}

/* Medium-large screens */
@media (max-width: 1300px) and (min-width: 1025px) {
  .hero-section-img {
    right: clamp(-40px, -2.5vw, -18px);
    bottom: clamp(-70px, -3vh, -10px);
    width: clamp(350px, 38vw, 480px);
    height: clamp(350px, 38vw, 480px);
    opacity: 0.55;
  }
}

/* Tablet screens */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-section-img {
    right: clamp(-30px, -2vw, -12px);
    bottom: clamp(-50px, -2.5vh, 5px);
    width: clamp(280px, 32vw, 380px);
    height: clamp(280px, 32vw, 380px);
    opacity: 0.5;
  }
}

@media (max-width: 1200px) {
  .hero-section-img {
    width: 400px;
    height: 400px;
    right: -30px;
    bottom: -50px;
  }
}

@media (max-width: 992px) {
  .hero-section-img {
    width: 300px;
    height: 300px;
    right: -20px;
    bottom: -40px;
  }
}

@media (max-width: 768px) {
  .hero-section-img {
    width: 200px;
    height: 200px;
    right: -15px;
    bottom: -30px;
  }
}

@media (max-width: 576px) {
  .hero-section-img {
    width: 150px;
    height: 150px;
    right: -10px;
    bottom: -20px;
  }
}

@media (max-width: 375px) {
  .hero-section-img {
    width: 120px;
    height: 120px;
    right: -8px;
    bottom: -15px;
  }
}

.hero-content {
  position: absolute;
  width: min(90%, 920px);
  bottom: clamp(20px, 6vh, 80px);
  left: clamp(16px, 4vw, 60px);
  color: #fff;
  z-index: 2;
}

.hero-content h1 {
  font-family: "Onest", sans-serif;
  font-size: clamp(18px, 4vw, 80px);
  font-weight: 800;
  margin-bottom: clamp(8px, 1.5vw, 16px);
  color: #ffffff;
  line-height: 1.1;
  white-space: nowrap;
}

.hero-content p {
  font-family: "Onest", sans-serif;
  margin: clamp(6px, 1.5vw, 12px) 0 clamp(12px, 2.5vw, 24px);
  font-size: clamp(12px, 2.5vw, 36px);
  opacity: 0.95;
  font-weight: 400;
  line-height: 1.3;
}

/* ================= INFO ================= */
.info {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  width: min(96%, 1850px);
  margin: clamp(40px, 6vw, 80px) auto;
  border-radius: clamp(16px, 3vw, 32px);
  padding: clamp(30px, 5vw, 80px) 0 clamp(40px, 6vw, 120px);
  position: relative;
  overflow: visible;
}

.info-bottom-right-img {
  position: absolute;
  right: -50px;
  bottom: -80px;
  width: clamp(150px, 20vw, 300px);
  height: auto;
  z-index: 3;
  pointer-events: none;
}

.info::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.1) 0%,
    transparent 70%
  );
  animation: float 6s ease-in-out infinite;
}

.info-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  position: relative;
  z-index: 2;
}

.info-image {
  flex: 0 0 auto;
  order: 1;
  animation: fadeInLeft 0.8s ease-out 0.2s both;
}

.info-image img {
  width: clamp(300px, 40vw, 500px);
  height: auto;
  object-fit: contain;
}

.info-text {
  flex: 1;
  order: 2;
  animation: fadeInRight 0.8s ease-out 0.4s both;
}

.info-text h2 {
  font-family: "Onest", sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 2.8vw, 36px);
  line-height: 1.3;
  margin-bottom: clamp(12px, 1.8vw, 24px);
  color: #1e40af;
}

.info-text p {
  font-family: "Onest", sans-serif;
  font-weight: 400;
  font-size: clamp(12px, 1.6vw, 20px);
  line-height: 1.5;
  margin-bottom: clamp(18px, 2.5vw, 32px);
  color: #475569;
  text-align: justify;
}

/* ================= SPECIALTIES ================= */
.specialties {
  padding: clamp(60px, 8vw, 100px) 0;
  margin-top: clamp(40px, 8vw, 120px);
  animation: fadeInUp 0.8s ease-out;
}

.specialties-container {
  display: flex;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.specialties-left {
  flex: 0 0 clamp(350px, 40vw, 600px);
  max-width: clamp(350px, 40vw, 600px);
  min-width: 350px;
}

.specialties-left h2 {
  font-family: "Onest", sans-serif;
  font-size: clamp(20px, 3vw, 44px);
  font-weight: 600;
  margin-bottom: clamp(18px, 3.5vw, 40px);
  color: #1e40af;
  line-height: 1.2;
  width: 100%;
  min-width: 350px;
}

.specialties-left p {
  font-family: "Onest", sans-serif;
  font-size: clamp(13px, 1.6vw, 18px);
  line-height: 1.6;
  color: #475569;
  margin-bottom: 32px;
  width: 100%;
}

.specialties-right {
  display: flex;
  gap: clamp(10px, 1.5vw, 20px);
  flex-wrap: nowrap;
  margin-top: 0;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

.specialty-card {
  width: clamp(150px, 18vw, 180px);
  flex: 0 0 clamp(150px, 18vw, 180px);
  min-width: 150px;
  max-width: 180px;
  min-height: 170px;
  padding: clamp(25px, 3vw, 40px) clamp(15px, 2vw, 20px);
  background: rgba(51, 89, 164, 0.1);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(25px, 3vw, 40px);
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  color: #1e40af;
  border: 1px solid rgba(56, 189, 248, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.specialty-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.specialty-card span {
  font-family: "Onest", sans-serif;
  color: #333333;
  font-weight: 600;
  font-size: 16px;
}

.specialty-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.specialty-card:hover::before {
  transform: scaleX(1);
}

.specialty-card:nth-child(1) {
  animation: fadeInUp 0.8s ease-out 0.1s both;
}
.specialty-card:nth-child(2) {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.specialty-card:nth-child(3) {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}
.specialty-card:nth-child(4) {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* ================= FULL VIDEO ================= */
.full-video {
  position: relative;
  width: min(96%, 1850px);
  margin: clamp(8px, 1.5vw, 20px) auto;
  aspect-ratio: 16/9;
  min-height: clamp(400px, 50vh, 600px);
  border-radius: clamp(16px, 3vw, 32px);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.full-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ================= WHY ================= */
.why {
  animation: fadeInUp 0.8s ease-out;
  position: relative;
  z-index: 2;
  margin: clamp(60px, 8vw, 120px) auto;
  padding: 0;
  display: flex;
  justify-content: center;
}

.why-container {
  max-width: var(--page-max);
  padding: 0 clamp(8px, 2vw, 24px);
}

.why-grid {
  margin-top: clamp(32px, 6vw, 65px);
  margin-bottom: clamp(40px, 7vw, 75px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}

.why-card {
  background: linear-gradient(180deg, #ebeff6 0%, #edf9fd 100%);
  padding: clamp(16px, 3vw, 34px);
  border-radius: clamp(12px, 2vw, 20px);
  border: 1px solid rgba(56, 189, 248, 0.1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: clamp(140px, 16vw, 180px);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.5vw, 20px);
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(56, 189, 248, 0.2);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-card h4 {
  font-family: "Onest", sans-serif;
  font-size: clamp(12px, 1.6vw, 20px);
  font-weight: 700;
  color: #333333;
  margin-bottom: clamp(6px, 0.8vw, 16px);
  line-height: 1.4;
}

.why-card p {
  font-family: "Onest", sans-serif;
  color: #475569;
  line-height: 1.6;
  font-size: clamp(10px, 1.2vw, 18px);
}

.why-icon {
  width: clamp(40px, 5vw, 80px);
  height: clamp(40px, 5vw, 80px);
  margin-bottom: clamp(12px, 2vw, 30px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.1);
  border-radius: clamp(8px, 1.5vw, 20px);
}

.why-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

/* ================= FOOTER ================= */
.footer {
  width: min(96%, 1850px);
  margin: clamp(60px, 8vw, 120px) auto 50px;
  padding: clamp(40px, 6vw, 80px);
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  border-radius: clamp(16px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 34px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.footer-grid {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: 40px;
}

.footer-logo {
  flex: 0 0 auto;
}

.footer-logo .logo-img {
  width: clamp(150px, 20vw, 200px);
  height: auto;
}

.footer-menus {
  display: flex;
  gap: clamp(30px, 5vw, 60px);
  flex: 0 0 auto;
}

.footer-menus h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
}

.footer-menus p {
  font-size: 16px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-menus p:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 20px;
  margin-left: 80px;
}

.social-icons {
  display: flex;
  gap: 16px;
  justify-self: start;
}/* ================= SCROLL ANIMATIONS ================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.animate {
  opacity: 1;
  transform: scale(1);
}

.stagger-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stagger-animation.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Hero content animation */
.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 2s ease-out 1s forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}/* ================= SCROLL ANIMATIONS ================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.animate {
  opacity: 1;
  transform: scale(1);
}

.stagger-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stagger-animation.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Hero animations */
.hero {
  opacity: 0;
  animation: heroSectionFadeIn 1.5s ease-out 0.3s forwards;
}

.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: heroContentFadeIn 2s ease-out 1s forwards;
}

.hero-section-img {
  opacity: 0;
  transform: scale(0.8);
  animation: heroImageFadeIn 1.8s ease-out 1.2s forwards;
}

@keyframes heroSectionFadeIn {
  to {
    opacity: 1;
  }
}

@keyframes heroContentFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background: #38bdf8;
  transform: translateY(-2px);
}

.copy-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

/* ================= RESPONSIVE BREAKPOINTS ================= */
@media (max-width: 1300px) {
  .info-bottom-right-img {
    right: clamp(50px, 12vw, 150px);
    bottom: -60px;
    width: clamp(150px, 18vw, 220px);
  }

  .specialties-container {
    gap: clamp(15px, 2vw, 25px);
  }

  .specialties-left {
    flex: 0 0 clamp(280px, 35vw, 400px);
    max-width: clamp(280px, 35vw, 400px);
    min-width: 280px;
  }

  .specialties-left h2 {
    font-size: clamp(20px, 2.8vw, 28px);
  }

  .specialties-left p {
    font-size: clamp(13px, 1.6vw, 15px);
  }

  .specialties-right {
    gap: clamp(12px, 1.8vw, 16px);
  }

  .specialty-card {
    width: clamp(100px, 15vw, 130px);
    flex: 0 0 clamp(100px, 15vw, 130px);
    min-height: clamp(110px, 14vw, 140px);
    padding: clamp(12px, 1.5vw, 18px) clamp(8px, 1vw, 12px);
    gap: clamp(12px, 1.5vw, 18px);
  }

  .specialty-icon {
    width: clamp(24px, 3vw, 32px);
    height: clamp(24px, 3vw, 32px);
  }

  .specialty-card span {
    font-size: clamp(11px, 1.4vw, 14px);
  }
}

@media (max-width: 1200px) {
  .info-grid {
    gap: clamp(30px, 4vw, 50px);
  }

  .info-image img {
    width: clamp(280px, 38vw, 420px);
  }

  .info-text h2 {
    font-size: clamp(24px, 3.5vw, 32px);
  }

  .info-text p {
    font-size: clamp(15px, 2vw, 18px);
  }

  .specialties-container {
    gap: clamp(20px, 3vw, 40px);
    flex-wrap: wrap;
  }

  .specialties-left {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: auto;
    text-align: center;
  }

  .specialties-left h2 {
    font-size: clamp(22px, 3vw, 32px);
    margin-bottom: clamp(16px, 2vw, 24px);
  }

  .specialties-left p {
    font-size: clamp(14px, 1.8vw, 16px);
  }

  .specialties-right {
    flex: 1 1 100%;
    justify-content: center;
    gap: clamp(8px, 1.5vw, 15px);
    flex-wrap: wrap;
  }

  .specialty-card {
    width: clamp(120px, 22vw, 160px);
    flex: 0 0 clamp(120px, 22vw, 160px);
    min-height: 130px;
    padding: clamp(15px, 2vw, 25px) clamp(10px, 1.5vw, 15px);
    gap: clamp(15px, 2vw, 25px);
  }

  .specialty-icon {
    width: clamp(28px, 4vw, 35px);
    height: clamp(28px, 4vw, 35px);
  }

  .specialty-card span {
    font-size: clamp(13px, 1.8vw, 15px);
  }
}

@media (max-width: 1024px) {
  .hero {
    height: calc(80vh - 100px);
    max-height: 550px;
    min-height: clamp(300px, 40vh, 400px);
  }
  
  .hero-section-img {
    right: clamp(-30px, -2vw, -12px);
    bottom: clamp(-80px, -18vh, -40px);
    width: clamp(280px, 32vw, 380px);
    height: clamp(270px, 30vw, 360px);
    opacity: 0.5;
  }
  
  .info {
    padding: clamp(30px, 5vw, 50px) 0;
  }

  .info-grid {
    flex-direction: column;
    gap: clamp(30px, 4vw, 50px);
    text-align: center;
  }

  .info-image {
    order: 1;
  }

  .info-text {
    order: 2;
  }

  .info-text h2 {
    font-size: clamp(26px, 4vw, 34px);
    margin-bottom: clamp(18px, 2.5vw, 24px);
  }

  .info-text p {
    font-size: clamp(16px, 2.2vw, 20px);
    margin-bottom: clamp(24px, 3vw, 30px);
    text-align: center;
  }

  .info-bottom-right-img {
    position: static;
    display: block;
    margin: clamp(20px, 3vw, 30px) auto 0;
    width: clamp(120px, 18vw, 200px);
  }

  .specialties-container {
    flex-direction: column;
    text-align: center;
    gap: clamp(25px, 3vw, 40px);
  }

  .specialties-left {
    max-width: 100%;
    min-width: auto;
  }

  .specialties-right {
    justify-content: center;
    gap: clamp(12px, 2vw, 20px);
  }

  .specialty-card {
    width: clamp(130px, 20vw, 160px);
    flex: 0 0 clamp(130px, 20vw, 160px);
    min-height: 140px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(30px, 4vw, 40px);
  }

  .footer-menus {
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(20px, 3vw, 30px);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: clamp(15px, 2vw, 20px);
  }

  .copy-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    aspect-ratio: 4/3;
    height: calc(70vh - 90px);
    max-height: 450px;
    min-height: clamp(280px, 35vh, 380px);
    margin: 8px auto;
  }

  .hero-section-img {
    width: clamp(150px, 28vw, 220px);
    height: clamp(140px, 26vw, 200px);
    right: clamp(5px, 2vw, 25px);
    bottom: clamp(-35px, -8vh, -15px);
    opacity: 0.45;
  }

  .hero-content {
    left: clamp(12px, 3vw, 30px);
    bottom: clamp(16px, 4vh, 50px);
  }

  .info-grid {
    gap: clamp(25px, 3vw, 40px);
  }

  .info-image img {
    width: clamp(250px, 60vw, 400px);
  }

  .info-bottom-right-img {
    right: -20px;
    bottom: -40px;
    width: clamp(270px, 15vw, 150px);
  }

  .specialties-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .specialties-left {
    max-width: 100%;
  }

  .specialties-right {
    margin-top: 0;
    gap: 15px;
    max-width: 100%;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .specialty-card {
    width: clamp(120px, 22vw, 150px);
    flex: 1 1 120px;
    min-height: 130px;
    padding: 20px 12px;
    gap: 15px;
  }

  .specialty-icon {
    width: 30px;
    height: 30px;
  }

  .specialty-card span {
    font-size: 14px;
  }

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

  .footer {
    padding: clamp(30px, 4vw, 40px);
    margin: clamp(40px, 6vw, 60px) auto 30px;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-menus {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  :root {
    --page-pad: 12px;
  }

  .hero {
    width: 98%;
    aspect-ratio: 3/2;
    height: calc(60vh - 80px);
    max-height: 400px;
    min-height: clamp(250px, 30vh, 320px);
    border-radius: 16px;
  }

  .hero-section-img {
    width: clamp(100px, 22vw, 160px);
    height: clamp(95px, 20vw, 150px);
    right: clamp(3px, 1.5vw, 18px);
    bottom: clamp(-25px, -6vh, -8px);
    opacity: 0.4;
  }

  .hero-content h1 {
    font-size: clamp(20px, 7vw, 32px);
    line-height: 1.2;
  }

  .hero-content p {
    font-size: clamp(12px, 4vw, 18px);
  }

  .info {
    width: 98%;
    margin: clamp(20px, 4vw, 30px) auto;
    padding: clamp(20px, 3vw, 30px) 0;
    border-radius: 16px;
  }

  .info-image img {
    width: clamp(200px, 70vw, 350px);
  }

  .info-bottom-right-img {
    right: -15px;
    bottom: -30px;
    width: clamp(250px, 12vw, 120px);
  }

  .specialties {
    padding: 30px 0;
    margin-top: 30px;
  }

  .specialties-right {
    gap: 12px;
  }

  .specialty-card {
    width: clamp(100px, 20vw, 130px);
    min-height: 110px;
    padding: 15px 8px;
    gap: 12px;
    border-radius: 20px;
  }

  .specialty-icon {
    width: 24px;
    height: 24px;
  }

  .specialty-card span {
    font-size: 12px;
  }

  .why {
    margin: 30px auto;
    padding: 0 12px;
  }

  .why-grid {
    gap: 15px;
  }

  .why-card {
    padding: 20px 15px;
  }

  .why-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
  }

  .why-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .why-card p {
    font-size: 14px;
  }

  .full-video {
    width: 98%;
    margin: 30px auto;
    aspect-ratio: 4/3;
    min-height: clamp(250px, 35vh, 400px);
    border-radius: 16px;
  }

  .footer {
    padding: 30px 20px 15px;
    margin-top: 30px;
  }

  .footer-grid {
    gap: 25px;
  }

  .footer-menus {
    gap: 20px;
  }

  .footer-menus h5 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .footer-menus p {
    font-size: 14px;
  }

  .footer-bottom {
    margin-left: 0;
  }
}

@media (max-width: 375px) {
  .hero {
    aspect-ratio: 1/1;
    height: calc(55vh - 70px);
    max-height: 350px;
    min-height: clamp(200px, 25vh, 280px);
  }

  .hero-section-img {
    width: clamp(80px, 18vw, 120px);
    height: clamp(75px, 16vw, 110px);
    right: clamp(2px, 1vw, 12px);
    bottom: clamp(-18px, -4vh, -5px);
    opacity: 0.35;
  }

  .hero-content h1 {
    font-size: clamp(18px, 6vw, 28px);
  }

  .hero-content p {
    font-size: clamp(11px, 3.5vw, 16px);
  }

  .info-image img {
    width: clamp(150px, 80vw, 250px);
  }

  .info-bottom-right-img {
    right: -10px;
    bottom: -20px;
    width: clamp(60px, 10vw, 100px);
  }

  .specialty-card {
    width: clamp(90px, 18vw, 120px);
    min-height: 100px;
    padding: 12px 6px;
    gap: 10px;
  }

  .specialty-icon {
    width: 20px;
    height: 20px;
  }

  .specialty-card span {
    font-size: 11px;
  }

  .footer {
    padding: 20px 15px 15px;
    margin: 20px auto 15px;
  }

  .footer-logo .logo-img {
    width: 120px;
  }

  .footer-menus h5 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .footer-menus p {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .social-icons a {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .copy-text {
    font-size: 10px;
  }
}

/* Large screens */
@media (min-width: 1400px) {
  .hero {
    height: calc(100vh - 120px);
    max-height: 800px;
  }
  
  .hero-section-img {
    right: clamp(-50px, -3vw, -20px);
    bottom: clamp(-120px, -25vh, -80px);
    width: clamp(450px, 40vw, 600px);
    height: clamp(430px, 38vw, 615px);
    opacity: 0.6;
  }
  
  .info-bottom-right-img {
    right: calc((100vw - 1400px) / 2 + 100px);
  }

  .specialties-right {
    gap: 25px;
  }

  .specialty-card {
    width: 190px;
    min-height: 180px;
    padding: 45px 25px;
  }
}

/* Medium-large screens */
@media (max-width: 1300px) and (min-width: 1025px) {
  .hero {
    height: calc(90vh - 120px);
    max-height: 650px;
  }
  
  .hero-section-img {
    right: clamp(-40px, -2.5vw, -18px);
    bottom: clamp(-107px, -23vh, -60px);
    width: clamp(337px, 36vw, 480px);
    height: clamp(318px, 37vw, 480px);
    opacity: 0.55;
  }
}

/* Disable animations on mobile for performance */
@media (max-width: 768px) {
  .animate-on-scroll,
  .fade-in-left,
  .fade-in-right,
  .scale-in,
  .stagger-animation {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  .hero,
  .hero-content,
  .hero-section-img {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
