/*
Theme Name: DoctorTheme
Theme URI: http://example.com/doctortheme
Author: BoronSoft
Author URI: https://boronsoft.com
Description: A modern, high-conversion medical landing page theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: doctortheme
*/

/* ===== CORE VARIABLES ===== */
:root {
  --primary: #00a896;
  --primary-rgb: 0, 168, 150;
  --primary-hover: #02c39a;
  --primary-dark: #028090;
  --secondary: #0f172a;
  --text-dark: #333333;
  --text-muted: #666666;
  --bg-light: #eefcfa;
  --bg-white: #ffffff;
  --border-color: #d1f2ee;
  --radius: 12px;
  --radius-sm: 8px;
  --container-width: 1200px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  margin-top: 0;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== UTILITIES ===== */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary) !important;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2.5rem;
}

.py-5 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-center {
  justify-content: center;
}

.gap-1 {
  gap: 1rem;
}

.gap-2 {
  gap: 2.5rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 0.95rem;
  font-family: inherit;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.45);
  color: #fff;
}

.btn-dark {
  background-color: var(--secondary);
  color: #fff;
}

.btn-dark:hover {
  background-color: #1e293b;
  transform: translateY(-2px);
  color: #fff;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--secondary);
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 3rem auto;
  line-height: 1.8;
}

.section-badge {
  display: inline-block;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-dark);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

/* ===== HEADER ===== */
.site-header {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1000;
}

.header-main-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-call-header {
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
}

.btn-call-header:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3);
}

.btn-call-header i {
  font-size: 1rem;
}

.header-main-row {
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.header-nav-row {
  padding: 10px 0;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  overflow: visible;
  /* Prevent any scrollbars from parent */
}

/* ===== MAIN NAVIGATION ===== */
.main-navigation {
  position: relative;
}

.main-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-navigation li {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.main-navigation li:not(:last-child)::after {
  content: "";
  height: 14px;
  width: 1px;
  background-color: #ddd;
  margin-left: 12px;
}

.main-navigation li a {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: capitalize !important;
  letter-spacing: 0.2px;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.main-navigation .menu-item-has-children > a::after {
  content: "\f107"; /* fa-chevron-down */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 6px;
  font-size: 0.7rem;
  opacity: 0.7;
  transition: transform 0.3s;
}

.main-navigation .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
  color: var(--primary);
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:hover > .children {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.main-navigation .sub-menu,
.main-navigation .children {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  padding: 15px 0;
  border-radius: 12px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.main-navigation .sub-menu li,
.main-navigation .children li {
  width: 100%;
  padding: 0;
}

.main-navigation .sub-menu li::after,
.main-navigation .children li::after {
  content: none !important;
}

.main-navigation .sub-menu a {
  padding: 12px 25px;
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  width: 100%;
  transition: all 0.2s;
}

.main-navigation .sub-menu a:hover {
  background: #f8fcf9;
  color: var(--primary);
  padding-left: 30px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.site-logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary);
}

.logo-text span {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-number {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.05rem;
}

/* HERO MID BANNER (Between Title and Form) */
.hero-mid-banner {
  width: 100%;
  max-width: 540px;
  margin: 10px 0 25px;
  /* Left aligned inside the column */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.hero-mid-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== HERO ===== */
.hero-section {
  padding: 40px 0 60px;
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 30%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-header {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 30px auto;
  /* Moved up */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
  width: 100%;
  max-width: 540px;
  text-align: left;
}

.hero-badge {
  display: inline-block;
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero-title {
  font-size: 2.6rem;
  /* Reduced from 3.2rem */
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.15;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--primary);
}

.hero-desc {
  font-size: 1.05rem;
  /* Reduced from 1.15rem */
  color: var(--text-dark);
  margin-bottom: 0;
  opacity: 0.85;
}

/* HERO FORM CARD */
.hero-form-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 35px;
  /* Back to left-aligned */
  max-width: 540px;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  position: relative;
  z-index: 5;
}

.hero-image {
  flex: 1;
  text-align: right;
  position: relative;
}

.hero-img-wrapper {
  position: relative;
  display: inline-block;
}

.hero-img-wrapper img {
  max-height: 600px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.hero-img-badge {
  position: absolute;
  bottom: 40px;
  left: -20px;
  background: white;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 3s ease-in-out infinite;
}

.hero-img-badge i {
  color: var(--primary);
  font-size: 1.3rem;
}

.hero-img-badge span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-form-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  text-align: center;
}

.hero-form .form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-form input,
.hero-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fbfbfb;
  transition: var(--transition);
}

.hero-form input:focus,
.hero-form textarea:focus {
  border-color: var(--primary);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.hero-form textarea {
  resize: none;
}

.form-privacy {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
}

.form-privacy i {
  margin-right: 4px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 35px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 800;
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-image {
  flex: 1;
  text-align: right;
  position: relative;
}

.hero-img-wrapper {
  position: relative;
  display: inline-block;
}

.hero-img-wrapper img {
  max-width: 100%;
  max-height: 550px;
  border-radius: 40px;
  /* Modern asymmetrical radius */
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2), 0 0 0 10px rgba(255, 255, 255, 0.8);
  /* Multi-layer shadow and transparent border */
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-img-wrapper:hover img {
  transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
  box-shadow: 20px 50px 100px rgba(0, 0, 0, 0.25);
}

.hero-img-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: white;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 3s ease-in-out infinite;
}

.hero-img-badge i {
  color: var(--primary);
  font-size: 1.3rem;
}

.hero-img-badge span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ===== TRUST BADGES ===== */
.trust-badges {
  padding: 30px 0;
  background: var(--secondary);
}

.badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
}

.badge-item i {
  color: var(--primary);
  font-size: 1.3rem;
}

/* ===== FORM SECTION ===== */
.form-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
}

.form-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.form-wrapper {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  flex: 1;
  max-width: 480px;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.form-wrapper h3 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  color: var(--secondary);
  font-weight: 700;
}

.custom-form input,
.custom-form select,
.custom-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 15px;
  border: 1.5px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: #fafafa;
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
  background: #fff;
}

.form-video-side {
  flex: 1;
}

.video-promo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.video-promo img {
  width: 100%;
  display: block;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.play-overlay:hover {
  background: rgba(0, 0, 0, 0.4);
}

.play-btn {
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.5);
  transition: var(--transition);
}

.play-overlay:hover .play-btn {
  transform: scale(1.1);
}

.play-btn i {
  margin-left: 3px;
}

.video-info-box {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.video-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  flex: 1;
}

.video-info-item i {
  font-size: 1.5rem;
  color: var(--primary);
}

.video-info-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--secondary);
}

.video-info-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testi-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testi-thumbnail {
  position: relative;
  overflow: hidden;
}

.testi-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.testi-card:hover .testi-thumbnail img {
  transform: scale(1.05);
}

.play-btn-small {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  font-size: 16px;
  z-index: 2;
}

.play-btn-small i {
  margin-left: 2px;
}

.testi-card:hover .play-btn-small {
  transform: translate(-50%, -50%) scale(1.15);
}

.testi-content {
  padding: 18px;
  text-align: left;
}

.testi-content strong {
  display: block;
  margin-bottom: 6px;
  color: var(--secondary);
  font-size: 0.95rem;
}

.testi-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ===== FEATURES ===== */
.features-section {
  padding: 80px 0;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.feature-item {
  text-align: center;
  padding: 35px 25px;
  background: var(--bg-light);
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-item:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.2);
  transform: translateY(-5px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--secondary);
  font-weight: 700;
}

.feature-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ===== ALTERNATIF SECTION ===== */
.alternatif-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
}

.alternatif-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.alternatif-text {
  flex: 1;
}

.alternatif-image {
  flex: 1;
  text-align: center;
}

.rounded-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 500px;
  object-fit: cover;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.check-list li {
  padding: 8px 0;
  font-size: 1rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-list li i {
  color: var(--primary);
  font-size: 1.1rem;
}

/* ===== ACCORDION ===== */
.accordion-section {
  padding: 80px 0;
  background: #fff;
}

.accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border: 1.5px solid var(--border-color);
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.1);
}

.accordion-header {
  background: var(--bg-light);
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  color: var(--secondary);
}

.accordion-header:hover {
  background: #e6f6f4;
}

.accordion-item.active .accordion-header {
  background: rgba(var(--primary-rgb), 0.05);
  color: var(--primary-dark);
}

.accordion-content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: #fff;
}

.accordion-item.active .accordion-content {
  padding: 20px 24px;
  max-height: 2500px;
  /* Increased for long medical content */
}

.accordion-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

.accordion-header i {
  transition: transform 0.3s;
  color: var(--primary);
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

/* ===== CANCER TYPES GRID ===== */
.cancer-types-section {
  padding: 80px 0;
  background-color: #f4f7f9;
}

.cancer-types-section .main-title {
  color: #0b5fb2;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.cancer-types-section .sub-title {
  color: #333;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.cancer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.cancer-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.cancer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cancer-card-img {
  height: 200px;
  overflow: hidden;
}

.cancer-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cancer-card:hover .cancer-card-img img {
  transform: scale(1.1);
}

.cancer-card-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cancer-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #999;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.cancer-card-content h4 {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.4;
  margin-bottom: 15px;
  min-height: 50px;
}

.cancer-card-content p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.cancer-card-content .btn-outline {
  background-color: #0b5fb2;
  color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.cancer-card-content .btn-outline:hover {
  background-color: #084a8c;
}

/* ===== CTA FOOTER ===== */
.cta-footer {
  padding: 60px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
  color: white;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 60px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
}

.cta-box::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 50%;
}

.cta-text {
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  margin: 0 0 10px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
}

.cta-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #030d1e;
  color: #fff;
  padding: 50px 0 25px;
  text-align: center;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-top: 15px;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 15px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

/* ===== FLOATING BUTTONS ===== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 9990;
  transition: var(--transition);
  animation: pulse-wp 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.floating-call {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.4);
  z-index: 9990;
  transition: var(--transition);
  animation: pulse-call 2s infinite;
}

.floating-call:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(var(--primary-rgb), 0.5);
  color: #fff;
}

@keyframes pulse-wp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-call {
  0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(var(--primary-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  margin: 6% auto;
  width: 85%;
  max-width: 850px;
}

.close-modal {
  position: absolute;
  top: -45px;
  right: 0;
  color: #f1f1f1;
  font-size: 38px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* SCROLL ANIMATIONS (Desktop Only) */
@media (min-width: 992px) {
  [data-anim] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  [data-anim="fade-up"] {
    transform: translateY(40px);
  }

  [data-anim="fade-right"] {
    transform: translateX(-40px);
  }

  [data-anim="fade-left"] {
    transform: translateX(40px);
  }

  [data-anim].anim-visible {
    opacity: 1;
    transform: translate(0, 0);
  }
}


/* ===== MOLECULAR THERAPY SECTION ===== */
.molecular-section {
  padding: 80px 0;
  background-color: #00a896;
  /* Deep medical blue */
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.molecular-section .section-title {
  color: #fff;
  margin-top: 0;
}

.molecular-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 50px;
}

.molecular-grid {
  display: flex;
  align-items: center;
  gap: 50px;
}

.mol-stats {
  flex: 0 0 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mol-box {
  background: #fff;
  padding: 35px 25px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.mol-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.mol-box strong {
  display: block;
  font-size: 2.8rem;
  color: #00a896;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 10px;
}

.mol-box span {
  font-size: 1.1rem;
  color: var(--secondary);
  font-weight: 600;
}

.mol-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.special-profil-img {
  max-width: 100%;
  max-height: 550px;
  border-radius: 30px;
  border: 12px solid #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  transition: all 0.4s ease;
}

.special-profil-img:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.mol-image img {
  display: block;
}

@media (max-width: 992px) {
  .molecular-grid {
    flex-direction: column;
  }

  .mol-stats {
    flex: 1;
    width: 100%;
  }
}


/* ===== MAIN NAVIGATION ===== */
.main-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-navigation li a {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  white-space: nowrap;
}

.main-navigation li a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--secondary);
  cursor: pointer;
  padding: 10px;
  line-height: 1;
  transition: var(--transition);
  margin-left: 10px;
  position: relative;
  z-index: 1005;
  /* Even higher than the menu overlay */
}

/* ===== VAKA SUNUMLARI SECTION ===== */
.vaka-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.vaka-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.vaka-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.vaka-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.vaka-card-header {
  padding: 0;
  position: relative;
  height: auto;
  min-height: 0;
  display: block;
}

.vaka-card-title {
  padding: 20px 20px 10px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.vaka-card-title h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
  margin: 0;
  text-transform: none;
  font-style: normal;
}

.vaka-card-title hr {
  display: none;
}

.vaka-card-visual {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.vaka-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vaka-card:hover .vaka-card-visual img {
  transform: scale(1.08);
}

.vaka-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.vaka-card:hover .vaka-play-overlay {
  opacity: 1;
}

.vaka-play-overlay i {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 5px 20px rgba(var(--primary-rgb), 0.4);
}

.vaka-card-body {
  padding: 20px;
}

.vaka-card-body p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
  min-height: 60px;
}

.btn-watch {
  background-color: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-watch:hover {
  background-color: var(--primary-dark);
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vaka-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cancer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .alternatif-content {
    flex-direction: column;
  }

  .alternatif-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .main-navigation {
    width: 100%;
    order: 3;
    margin-top: 15px;
  }

  .main-navigation ul {
    justify-content: center;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    margin-bottom: 30px;
    max-width: 100%;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    text-align: center;
  }

  .hero-img-badge {
    left: 50%;
    transform: translateX(-50%);
  }

  .form-container {
    flex-direction: column-reverse;
  }

  .form-wrapper {
    max-width: 100%;
    width: 100%;
  }

  .d-flex {
    flex-direction: column;
  }

  .badges-row {
    gap: 20px;
  }

  .badge-item {
    font-size: 0.85rem;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
    gap: 25px;
    padding: 35px 25px;
  }

  .cta-text h2 {
    font-size: 1.6rem;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .phone-number {
    display: none;
  }

  .section-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 576px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .vaka-grid {
    grid-template-columns: 1fr;
  }

  .cancer-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }

  .video-info-box {
    flex-direction: column;
  }

  .mol-box strong {
    font-size: 2.2rem;
  }

  .hero-form .form-row {
    flex-direction: column;
  }
}

@media (max-width: 991px) {
  .header-actions {
    flex: 1;
    justify-content: flex-end;
  }
  .btn-call-header {
    display: none !important;
  }
  .menu-toggle {
    display: block;
    margin-left: 20px; /* Spacing from buttons if present */
  }

  .header-nav-row {
    height: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    border: none;
    background: none;
    box-shadow: none;
  }

  /* Mobile menu overlay */
  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #1a2b3c;
    /* Dark medical blue/grey */
    z-index: 1001;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 80px 0 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    display: block !important;
  }

  .menu-open .main-navigation {
    right: 0;
  }

  .main-navigation ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .main-navigation li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle divider */
    padding: 0;
  }

  .main-navigation li a {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff !important;
    /* White text for dark menu */
    display: block;
    width: 100%;
    padding: 18px 25px;
    text-align: left;
    transition: background 0.3s;
  }

  .main-navigation li a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  /* Overlay background */
  body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    /* Darker overlay */
    z-index: 998;
    /* Lower than header and menu */
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
  }

  body.menu-open::after {
    opacity: 1;
    visibility: visible;
  }

  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    z-index: 1010 !important;
    /* Ensure header is above overlay */
  }

  /* Toggle Button Adjustment for mobile open state */
  .menu-open #menu-toggle {
    color: #fff;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1020;
  }

  /* Adjust header for mobile */
  .header-actions {
    gap: 10px;
  }

  .btn-cta-header {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
  }

  .btn-whatsapp-header {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
  }

  .phone-number {
    display: none;
  }
}

/* ===== TOP HERO AREA (REQUESTED) ===== */
.top-hero {
  position: relative;
  width: 100%;
  padding: 100px 0;
  background-image: url("assets/img/anasayfa/1905X800.png");
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
  min-height: 700px;
  display: flex;
  align-items: center;
}

.top-hero-layout {
  display: flex;
  align-items: center;
}

.top-hero-text-col {
  max-width: 850px;
}

.top-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.top-hero-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.top-hero-desc {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 35px;
  font-weight: 500;
  opacity: 0.9;
}

.top-hero-btns {
  display: flex;
  gap: 15px;
}

.top-hero-btn {
  padding: 15px 45px !important;
  font-size: 1.1rem !important;
  border-radius: 50px !important;
}

.top-hero-mobile-img {
  display: none;
}

@media (max-width: 991px) {
  .top-hero {
    min-height: 600px;
    background-position: center left;
  }
  .top-hero-title {
    font-size: 2.2rem;
  }
  .top-hero-number {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .top-hero {
    text-align: center;
    background-image: none !important;
    background-color: #f7faf8 !important;
    padding: 40px 0 0 !important;
    min-height: auto;
  }
  .top-hero-title {
    font-size: 1.6rem !important; /* Smaller text */
    line-height: 1.3 !important;
  }
  .top-hero-number {
    font-size: 1.8rem !important; /* Smaller number */
    margin-bottom: 10px !important;
  }
  .top-hero-desc {
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
  }
  .top-hero-btns {
    justify-content: center;
    flex-direction: row !important; /* Keep side by side */
    gap: 10px !important;
  }
  .top-hero-btn {
    padding: 10px 15px !important; /* Smaller buttons */
    font-size: 0.85rem !important;
    flex: 1; /* Equal width */
    max-width: 140px;
  }
  .top-hero-mobile-img {
    display: block;
    margin-top: 30px;
    line-height: 0;
  }
  .top-hero-mobile-img img {
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

/* ===== FONT UPDATES FOR TOP HERO ===== */
.top-hero * {
  font-family: "Poppins", sans-serif;
}
@media (max-width: 991px) {
  .header-main-row .container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }
}
@media (max-width: 768px) {
  .logo-text {
    line-height: 1.2 !important;
    display: block !important;
  }
  .logo-text .title-part {
    display: block !important;
    font-size: 0.75em !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
  }
  .logo-text .name-part {
    display: block !important;
    color: var(--primary) !important;
    font-weight: 800 !important;
    font-size: 1.05em !important;
  }
}

/* ===== BRANDING COLORS FOR LOGO TEXT ===== */
.logo-text .fname {
  color: var(--primary) !important;
}
.logo-text .lname {
  color: #5b5c5e !important;
}
.logo-text .title-part {
  color: #5b5c5e;
}

@media (max-width: 768px) {
  .logo-text .name-part span {
    display: block !important;
    line-height: 1.1;
  }
}
@media (max-width: 991px) {
  .phone-number {
    display: none !important;
  }
}
@media (max-width: 991px) {
  .logo-text {
    display: none !important;
  }
}
@media (max-width: 991px) {
  .site-logo-img {
    height: 55px !important;
  }
}

/* ===== TOP HERO BADGE ===== */
.top-hero-badge {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
  display: block;
  letter-spacing: 0.5px;
  text-transform: capitalize;
}

/* ===== TOP HEADER BAR (REQUESTED) ===== */
.top-header-bar {
  background-color: #f1f7f9;
  padding: 8px 0;
  border-bottom: 1px solid #e1e7e9;
}

.top-bar-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-bar-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.phone-icon-circle {
  width: 32px;
  height: 32px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
}

.phone-label {
  color: #222;
}

.phone-link {
  color: #1a5ca6;
  text-decoration: none;
}

@media (max-width: 768px) {
  .top-bar-phone {
    font-size: 0.95rem;
  }
}

/* ===== VIDEO SECTIONS MORE BUTTON SPACING ===== */
.testimonials-section .mt-5,
.vaka-section .mt-5 {
  margin-top: 60px !important;
}
