:root {
  --primary: #07b1d0f3;
  --secondary: #07b1d0;
  --accent: #0c8da5;
  --light: #f0f9f4;
  --dark: #0b2a25;
  --text: #333;
  --text-light: #666;
  --white: #ffffff;
  --black: #000000;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: #f8fafc;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Enhanced Top Bar Styles */
.topbar {
  background: var(--secondary);
  color: #fff;
  font-size: 0.85rem;
  padding: 15px 0; /* Increased height */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-left {
  font-weight: 500;
  letter-spacing: 0.5px;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.top-right span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-right i {
  font-size: 0.8rem;
  opacity: 0.9;
}

.phone {
  margin-right: 10px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.social-icons a:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-2px);
}

/* Header Styles */
.site-header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 500;
  color: var(--white);
  display: flex;
  align-items: center;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.logo-image {
  height: clamp(60px, 10vw, 100px);
  width: auto;
  vertical-align: middle;
  margin: 0 5px;
}

.logo-text {
  color: var(--dark);
  font-weight: 700;
}

.main-nav ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  align-items:center;
}

.main-nav li {
  margin-left: 15px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.main-nav a:hover {
  color: var(--secondary);
}

.main-nav a.active {
  color: var(--secondary);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* Hero Section */
.appointment-hero {
  background: url("https://res.cloudinary.com/dl4hjr1p2/image/upload/v1762550337/test-result_uabfqs.jpg");
  background-size: cover;
  background-position: top 30% center;
  padding: clamp(80px, 15vw, 150px) 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  height: 30vh;
  min-height: 400px;
}

.appointment-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  animation: 20s infinite linear;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100px, -100px);
  }
}

.appointment-hero .container {
  position: relative;
  z-index: 2;
}

.appointment-hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.appointment-hero p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  max-width: 700px;
  margin: 0 auto 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.3s both;
}

/* Appointment Section */
.appointment-section {
  padding: clamp(60px, 10vw, 100px) 0;
  position: relative;
  overflow: hidden;
}

.appointment-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--dark);
  border-radius: 50%;
  opacity: 0.1;
}

.appointment-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  position: relative;
  z-index: 2;
}

/* Appointment Form */
.appointment-form {
  background: var(--white);
  padding: clamp(30px, 5vw, 50px);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  animation: gentleFloat 8s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.appointment-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--dark);
}

@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.appointment-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--dark);
  margin-bottom: 10px;
}

.form-header p {
  color: var(--dark);
}

.form-group {
  margin-bottom: 25px;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(15px);
}

/* Staggered animation for form fields */
.form-group:nth-child(1) {
  animation-delay: 0.1s;
}
.form-group:nth-child(2) {
  animation-delay: 0.2s;
}
.form-group:nth-child(3) {
  animation-delay: 0.3s;
}
.form-group:nth-child(4) {
  animation-delay: 0.4s;
}
.form-group:nth-child(5) {
  animation-delay: 0.5s;
}
.form-group:nth-child(6) {
  animation-delay: 0.6s;
}
.form-group:nth-child(7) {
  animation-delay: 0.7s;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}

.form-group:focus-within label {
  color: var(--dark);
  transform: translateX(3px);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:focus {
  outline: none;
  border-color: var(--dark);
  box-shadow: 0 0 0 3px rgba(7, 177, 208, 0.2);
  transform: translateY(-2px);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.btn-primary {
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 16px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  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;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(7, 177, 208, 0.4);
}

/* Appointment Benefits */
.appointment-benefits {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.benefit-card {
  background: var(--white);
  padding: clamp(25px, 4vw, 35px);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--dark);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  width: clamp(50px, 8vw, 70px);
  height: clamp(50px, 8vw, 70px);
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--dark);
  flex-shrink: 0;
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--gradient);
  color: var(--dark);
}

.benefit-content h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--dark);
  margin-bottom: 10px;
}

.benefit-content p {
  color: var(--dark);
  margin-bottom: 5px;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

/* Specialists Section */
.specialists-section {
  padding: clamp(60px, 10vw, 100px) 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.specialists-section::before {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--dark);
  border-radius: 2px;
}

.section-header p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--dark);
  max-width: 700px;
  margin: 0 auto;
  padding: 0 15px;
}

.specialists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.specialist-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.specialist-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.specialist-image {
  height: 200px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 4rem;
}

.specialist-info {
  padding: 25px 20px;
}

.specialist-info h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 5px;
}

.specialist-info p {
  color: var(--dark);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.specialist-rating {
  color: #ffc107;
  margin-bottom: 15px;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--dark);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  font-size: 0.9rem;
}

.btn-secondary:hover {
  background: var(--secondary);
  color: white;
  transform: translateY(-2px);
}

/* Process Section */
.process-section {
  padding: clamp(60px, 10vw, 100px) 0;
  position: relative;
  overflow: hidden;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--dark);
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 3px solid var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 auto 20px;
  transition: var(--transition);
}

.process-step:hover .step-number {
  background: var(--gradient);
  color: white;
  transform: scale(1.1);
}

.step-content h3 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.step-content p {
  color: var(--dark);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: var(--secondary);
  color: var(--dark);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: var(--dark);
  position: relative;
  padding-bottom: 12px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
}

.footer-col p {
  margin-bottom: 20px;
  color: var(--text);
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li {
  transition: var(--transition);
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.footer-logo-image {
  height: 70px;
  width: auto;
  margin-right: 15px;
}

.footer-logo-text {
  color: var(--dark);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--dark);
}

.footer-contact-item i {
  color: var(--dark);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  font-size: 0.9rem;
}

.footer-social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--black);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.1rem;
}

.footer-social-icons a:hover {
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .appointment-container {
    gap: 30px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-steps {
    flex-direction: column;
    gap: 40px;
  }

  .process-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .top-right {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(7, 177, 208, 0.95);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
    backdrop-filter: blur(10px);
  }

  .main-nav.active ul {
    display: flex;
  }

  .main-nav a.active {
    color: var(--text);
  }

  .main-nav a:hover {
    color: var(--white);
  }

  .main-nav li {
    margin: 10px 0;
  }

  .btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--secondary);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
  }

  .appointment-container {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-logo {
    justify-content: center;
    text-align: center;
  }

  .footer-social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .appointment-form,
  .benefit-card {
    padding: 20px;
  }

  .benefit-card {
    flex-direction: column;
    text-align: center;
  }

  .benefit-icon {
    align-self: center;
  }

  .top-right span {
    flex-direction: column;
    gap: 5px;
  }

  .footer-logo {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo-image {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
