* {
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
}

:root {
  --primary-pink: #CD324A;
  --dark-navy: #1a2f4a;
  --gold: #d4af6a;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --text-gray: #e5e5e5;
  color-scheme: light;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--white);
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.header {
  background-color: var(--primary-pink);
  /* padding: .5rem 0; */
  height: 85px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transition: transform 0.3s ease;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 80px;
  transform: translateY(5px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav a:hover {
  opacity: 0.8;
}

.btn-schedule {
  background: linear-gradient(to right, #D6BA77, #F0F4D1);
  color: var(--dark-navy);
  border: none;
  padding: 0.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.btn-schedule:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background-color: var(--dark-navy);
  background-image: url("./eua_flag_background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 85px 0 0 0;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 0;
  position: relative;
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 10000;
  /* padding-top: 1rem; */
}

.stars-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.stars-divider .line {
  width: 120px;
  height: 2px;
  background-color: var(--primary-pink);
}

.stars-divider .stars {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 4px;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(to right, #D6BA77, #F0F4D1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  text-align: left;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 2rem;
  line-height: 1.1;
}

.btn-primary {
  background-color: var(--primary-pink);
  color: var(--white);
  border: none;
  padding: .7rem 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 1.5rem;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 73, 104, 0.4);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.95rem;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--white);
}

.hero-image {
  /* position: absolute; */
  /* right: 2%; */
  /* top: -120px; */
  /* bottom: 0; */
  /* width: 50vw; */
  /* max-width: 1000px; */
  /* min-width: 900px; */
  margin-top: 1rem;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  /* Increased z-index to 9999 to ensure statue hand appears in front of navbar */
  z-index: 9999;
}

.hero-image img {
  /* transform: translateY(-30px); */
  width: 100%;
  height: auto;
  object-fit: contain;
  /* min-height: calc(50vh + 321px); */
  max-height: calc(40vh + 260px);
  object-position: bottom center;
}

/* About Section */
.about {
  background-image: url("./2.png");
  background-size: cover;
  padding: 3rem 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: stretch;
}

.about-image {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 5px;
  border-top: 3px solid white;
  /* margin-top: 1rem; */
}

.about-image img {
  width: 200px;
  height: auto;
}

.about-text {
  background: var(--dark-navy);
  color: white;
  padding: 4rem;
  border-radius: 1rem;
  /* margin: .2rem auto; */
}

.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  background: linear-gradient(to right, #D6BA77, #F0F4D1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.about-description {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Specializations Section */
.specializations {
  background-color: var(--dark-navy);
  padding: 4rem 0 6rem 0;
  position: relative;
}

.specializations-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.specializations-title-wrapper {
  flex: 1;
}

.specializations-divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.specializations-divider .stars {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 4px;
}

.specializations-title {
  font-size: 2.25rem;
  font-weight: 900;
  background: linear-gradient(to right, #D6BA77, #F0F4D1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.specializations-subtitle {
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.6;
  max-width: 100%;
}

.specializations-logo {
  flex-shrink: 0;
}

.specializations-logo img {
  width: 200px;
  height: auto;
}

.specializations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.specialization-card {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-image {
  width: 100%;
  height: 180px;
  border-radius: 0.75rem;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--dark-navy);
  line-height: 1.3;
  text-transform: uppercase;
  min-height: 60px;
}

.card-description {
  font-size: 0.95rem;
  color: var(--dark-navy);
  line-height: 1.6;
}

/* Why Trust Section */
.why-trust {
  background-color: var(--primary-pink);
  padding: 2rem 0 6rem 0;
}

.why-trust-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.why-trust-logo img {
  width: 200px;
  height: auto;
}

.why-trust-divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.colored-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.line-black,
.line-white,
.line-red {
  width: 120px;
  height: 2px;
}

.line-black {
  background-color: #000000;
}

.line-white {
  background-color: #ffffff;
}

.line-red {
  background-color: #b6174b;
}

.why-trust-divider .stars {
  color: var(--white);
  font-size: 1.2rem;
  letter-spacing: 2px;
  transform: translateY(-3px);
}

.why-trust-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
  align-items: center;
  position: relative;
}

.why-trust-subtitle {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  width: 90%;
  line-height: 1.1;
}

.why-trust-tagline {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  width: 75%;
}

.trust-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--dark-navy);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 400;
  width: auto;
}

.trust-item img {
  width: 50px;
  height: 30px;
  object-fit: contain;
}

.why-trust-text {
  position: relative;
  z-index: 2;
}

.why-trust-image {
  position: absolute;
  left: 47%;
  top: 50%;
  transform: translateY(-50%);
  width: 65%;
  z-index: 1;
}

.why-trust-image img {
  width: 100%;
  height: auto;
  transform: scale(1.6);
  transform-origin: center;
}

/* Process Section */
.process {
  background-color: var(--dark-navy);
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('./flag_cropped.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 0;
}

.process-carousel {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  z-index: 1;
}

.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 3rem 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-item {
  flex-shrink: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Default state - corners */
.carousel-item {
  opacity: 0.3;
  transform: scale(0.7);
  filter: blur(3px);
  z-index: 1;
}

/* Side items (adjacent to center) */
.carousel-item.adjacent {
  opacity: 0.65;
  transform: scale(0.9);
  filter: blur(1.5px);
  z-index: 3;
}

/* Center/Active item */
.carousel-item.active {
  opacity: 1;
  transform: scale(1.15);
  filter: blur(0);
  z-index: 5;
}

.carousel-item img {
  width: auto;
  display: block;
  max-width: 100%;
  max-height: 450px;
  height: auto;
}

.carousel-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 10;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-btn-left {
  left: 25%;
}

.carousel-btn-right {
  right: 25%;
}

.carousel-btn img {
  width: 70px;
  height: 70px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.15);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* Contact Section */
.contact {
  background-color: var(--dark-navy);
  background-image: url("./eua_flag_background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem 0 6rem 0;
  position: relative;
}

.contact-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.contact-logo img {
  width: 200px;
  height: auto;
}

.contact-divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-divider .stars {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 4px;
}

.contact-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-left {
  z-index: 2;
  position: relative;
}

.contact-left .section-title {
  margin-bottom: 1rem;
}

.contact-hand-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  z-index: 99999999;
  pointer-events: none;
}

.contact-hand-image img {
  width: 100%;
  height: auto;
}

.contact-description {
  font-size: 1.1rem;
  line-height: 1.8;
  background-color: var(--primary-pink);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 0;
}

.contact-image-mobile {
  display: none;
}

.contact-form-wrapper {
  z-index: 2;
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  background-color: transparent;
  border: 2px solid var(--gold);
  color: var(--white);
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 4px;
  transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.btn-submit {
  background-color: var(--primary-pink);
  color: var(--white);
  border: none;
  padding: 1.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 4px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 73, 104, 0.4);
}

/* Footer */
.footer {
  background-color: var(--primary-pink);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-logo img {
  height: 70px;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1030px) {
  /* Hide hero image */
  .hero-image {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text {
    padding: 4.5rem 0;
  }
}
@media (max-width: 768px) {

  .hero-text {
    padding: 0rem 0;
  }
}
@media (max-width: 600px) {

  .feature-item {
    width:100%;
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .about-content,
  .why-trust-content,
  .contact-content,
  .specializations-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Hide cellphone image on tablet/mobile */
  .why-trust-image {
    display: none;
  }

  .specializations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .specializations-header {
    flex-direction: column;
    gap: 2rem;
  }

  /* Tablet carousel - show 3 phones */
  .carousel-item {
    width: 220px;
  }

  .carousel-btn-left {
    left: 15%;
  }

  .carousel-btn-right {
    right: 15%;
  }
}

@media (max-width: 914px) {
  /* Mobile nav - only show CTA button, no hamburger menu */
  .nav {
    display: flex;
    gap: 0;
  }

  .nav a:not(.btn-schedule) {
    display: none;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .btn-schedule {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
    letter-spacing: 0.3px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-left .section-title {
    font-size: 1.8rem !important;
  }

  .hero-subtitle,
  .about-description,
  .why-trust-subtitle,
  .contact-description,
  .specializations-subtitle {
    font-size: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 1rem;
  }

  .hero,
  .about,
  .why-trust,
  .contact {
    padding: 3rem 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
  }

  .hero-image img {
    min-height: 50vh;
  }

  /* About section - add margin-bottom to show background */
  .about-text {
    margin-bottom: 3rem;
    padding: 2rem 1.5rem;
  }

  /* Specializations - hide logo on mobile */
  .specializations-logo {
    display: none;
  }

  .specializations-grid {
    grid-template-columns: 1fr;
  }

  .specializations-title {
    font-size: 2rem;
  }

  .specializations-subtitle {
    font-size: 1rem;
  }

  /* Contact section - hide hand image when wrapped */
  .contact-hand-image {
    display: none;
  }

  /* Mobile carousel - show only 1 phone */
  .carousel-item {
    width: 280px;
  }

  .carousel-btn-left {
    left: 5%;
  }

  .carousel-btn-right {
    right: 5%;
  }

  .carousel-btn img {
    width: 50px;
    height: 50px;
  }
}
