/* =================================================
   DYT. DERYA ASLAN — site.css
   Warm cream/gold/dark theme matching brand photos
   ================================================= */
:root {
  --gold: #c4a265;
  --gold-light: #d4b87a;
  --gold-dark: #a88942;
  --dark: #1a1a1a;
  --dark2: #232323;
  --dark3: #2c2c2c;
  --cream: #f5f0e8;
  --cream2: #ede5d8;
  --white: #fff;
  --text: #1a1a1a;
  --text2: #5a5046;
  --text-muted: #8a7e72;
  --text-light: #f5f0e8;
  --border: rgba(196, 162, 101, .2);
  --border-light: rgba(26, 26, 26, .1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .1);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, .15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
  --font: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  --nav-h: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  font-size: 16px
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden
}

img {
  max-width: 100%;
  display: block
}

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

ul {
  list-style: none
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit
}

input,
textarea,
select {
  font-family: inherit
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem
}

.hidden {
  display: none !important
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(196, 162, 101, .35);
  letter-spacing: .02em
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(196, 162, 101, .5);
  background: linear-gradient(135deg, var(--gold-light), var(--gold))
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid rgba(255, 255, 255, .35);
  transition: var(--transition);
  backdrop-filter: blur(8px)
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .6);
  transform: translateY(-2px)
}

/* SECTION */
.section-label {
  display: inline-block;
  background: rgba(196, 162, 101, .12);
  color: var(--gold-dark);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
  border: 1px solid var(--border)
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 600
}

.section-title em {
  font-style: italic;
  color: var(--gold)
}

.section-subtitle {
  color: var(--text2);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem
}

/* NAVBAR */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition)
}

#header.scrolled,
#header.always-scrolled {
  background: rgba(26, 26, 26, .96);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 32px rgba(0, 0, 0, .3)
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white)
}

.logo-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  color: var(--gold)
}

.logo-icon i {
  width: 24px;
  height: 24px
}

.logo-text strong {
  font-weight: 700;
  color: var(--gold)
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem
}

.nav-links a {
  color: rgba(255, 255, 255, .8);
  font-weight: 500;
  font-size: .9rem;
  transition: var(--transition);
  position: relative
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition)
}

.nav-links a:hover {
  color: var(--white)
}

.nav-links a:hover::after {
  width: 100%
}

.nav-cta {
  padding: .6rem 1.4rem;
  font-size: .88rem
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition)
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

.hamburger.open span:nth-child(2) {
  opacity: 0
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px)
}

/* HERO WATERFALL */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  overflow: hidden
}

.hero-waterfall {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 12px;
  padding: 12px;
  opacity: .35
}

.waterfall-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: waterfallScroll 25s linear infinite;
  width: 50%
}

.waterfall-track.reverse {
  animation-direction: reverse
}

.waterfall-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0
}

.waterfall-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block
}

@keyframes waterfallScroll {
  0% {
    transform: translateY(0)
  }

  100% {
    transform: translateY(-50%)
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, .88) 0%, rgba(26, 26, 26, .65) 50%, rgba(26, 26, 26, .85) 100%);
  z-index: 1
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: calc(var(--nav-h) + 2rem) 2rem 4rem
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(196, 162, 101, .15);
  border: 1px solid rgba(196, 162, 101, .35);
  color: var(--gold);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-style: italic
}

.hero-subtitle {
  color: rgba(245, 240, 232, .7);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem
}

.hero-btn {
  font-size: 1rem;
  padding: 1rem 2.2rem
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center
}

.stat {
  text-align: center
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-display);
  line-height: 1
}

.stat-label {
  font-size: .75rem;
  color: rgba(245, 240, 232, .5);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 500
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .15)
}

/* FEATURES STRIP */
.features-strip {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-dark));
  padding: 1.5rem 0
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem
}

.feature-item:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, .15)
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center
}

.feature-icon i {
  width: 32px;
  height: 32px
}

.feature-item h3 {
  color: var(--dark);
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .2rem
}

.feature-item p {
  color: rgba(26, 26, 26, .7);
  font-size: .82rem
}

/* ABOUT */
.about-section {
  padding: 6rem 0;
  background: var(--white)
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center
}

.about-image-wrap {
  position: relative
}

.about-img-bg {
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, rgba(196, 162, 101, .1), rgba(196, 162, 101, .05));
  border-radius: var(--radius-xl);
  z-index: 0
}

.about-img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  max-height: 600px;
  box-shadow: var(--shadow-lg)
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light)
}

.badge-icon {
  font-size: 2rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center
}

.badge-icon i {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  stroke-width: 2.5px
}

.about-badge-card strong {
  display: block;
  font-size: .88rem;
  color: var(--text)
}

.about-badge-card span {
  font-size: .78rem;
  color: var(--text-muted)
}

.about-text {
  color: var(--text2);
  margin-bottom: 1rem;
  font-size: 1rem
}

.certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin: 1.5rem 0 2rem
}

.cert-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .88rem;
  color: var(--text2)
}

.cert-check {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0
}

/* SERVICES */
.services-section {
  padding: 6rem 0;
  background: var(--cream)
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: var(--transition)
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent
}

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

.service-card.featured {
  background: linear-gradient(145deg, var(--dark), var(--dark2));
  border-color: rgba(196, 162, 101, .3);
  box-shadow: 0 0 40px rgba(196, 162, 101, .15), var(--shadow-md)
}

.service-card.featured h3 {
  color: var(--text-light)
}

.service-card.featured p {
  color: rgba(245, 240, 232, .7)
}

.service-card.featured .service-features li {
  color: rgba(245, 240, 232, .6)
}

.service-card.featured .service-link {
  color: var(--gold)
}

.service-badge-top {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  color: var(--dark);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .05em
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--clr) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  border: 1px solid color-mix(in srgb, var(--clr) 30%, transparent)
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .7rem;
  color: var(--text)
}

.service-card p {
  color: var(--text2);
  font-size: .9rem;
  margin-bottom: 1rem
}

.service-features {
  margin-bottom: 1.5rem
}

.service-features li {
  font-size: .85rem;
  color: var(--text2);
  padding: .3rem 0 .3rem 1.2rem;
  position: relative
}

.service-features li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: .5rem;
  top: .55rem
}

.service-link {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: var(--transition)
}

.service-link:hover {
  gap: .7rem
}

/* BMI */
.bmi-section {
  padding: 6rem 0;
  background: var(--dark);
  position: relative;
  overflow: hidden
}

.bmi-bg-shape {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(196, 162, 101, .15) 0%, transparent 70%);
  pointer-events: none
}

.bmi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start
}

.bmi-info .section-title {
  color: var(--text-light)
}

.bmi-info .section-label {
  border-color: rgba(196, 162, 101, .3)
}

.bmi-desc {
  color: rgba(245, 240, 232, .7);
  font-size: .95rem;
  margin-bottom: 2rem;
  line-height: 1.8
}

.bmi-scale {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-bottom: 1.5rem
}

.bmi-scale-item {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-md);
  padding: .8rem 1rem;
  border-left: 4px solid var(--bg);
  transition: var(--transition)
}

.scale-range {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white)
}

.scale-label {
  font-size: .82rem;
  color: rgba(255, 255, 255, .6)
}

.calc-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(196, 162, 101, .2);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3)
}

.calc-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 600
}

.gender-toggle {
  display: flex;
  gap: .5rem
}

.gender-btn {
  flex: 1;
  padding: .6rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .5);
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  transition: var(--transition)
}

.gender-btn.active {
  background: rgba(196, 162, 101, .3);
  color: var(--white);
  border-color: var(--gold)
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem
}

.calc-form .form-group label,
.bmi-section .form-group label {
  display: block;
  color: rgba(255, 255, 255, .7);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: .4rem
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center
}

.input-wrap input {
  width: 100%;
  padding: .75rem 3rem .75rem 1rem;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: .95rem;
  transition: var(--transition);
  outline: none
}

.input-wrap input::placeholder {
  color: rgba(255, 255, 255, .3)
}

.input-wrap input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 3px rgba(196, 162, 101, .15)
}

.input-unit {
  position: absolute;
  right: .75rem;
  color: rgba(255, 255, 255, .4);
  font-size: .82rem;
  font-weight: 500;
  pointer-events: none
}

.calc-btn {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 1rem
}

.result-divider {
  height: 1px;
  background: rgba(255, 255, 255, .1);
  margin: 1.5rem 0
}

.result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem
}

.result-value-wrap {
  display: flex;
  flex-direction: column;
  gap: .25rem
}

.result-label {
  color: rgba(255, 255, 255, .6);
  font-size: .82rem
}

.result-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1
}

.result-category {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .75rem;
  padding: .5rem 1.2rem;
  border-radius: 50px;
  display: inline-block;
  background: rgba(255, 255, 255, .1);
  color: var(--white)
}

.result-details {
  color: rgba(255, 255, 255, .65);
  font-size: .88rem;
  margin-bottom: 1.5rem;
  line-height: 1.7
}

.result-cta {
  width: 100%;
  justify-content: center
}

/* TESTIMONIALS */
.testimonials-section {
  padding: 6rem 0;
  background: var(--cream)
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition)
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md)
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px
}

.testimonial-text {
  color: var(--text2);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0
}

.testimonial-author strong {
  display: block;
  font-size: .9rem;
  color: var(--text)
}

.testimonial-author span {
  font-size: .78rem;
  color: var(--text-muted)
}

.testimonial-result {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap
}

.result-tag {
  background: rgba(196, 162, 101, .12);
  color: var(--gold-dark);
  border: 1px solid var(--border);
  padding: .2rem .65rem;
  border-radius: 50px;
  font-size: .76rem;
  font-weight: 600
}

/* BLOG */
.blog-section {
  padding: 6rem 0;
  background: var(--white)
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem
}

.blog-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  transition: var(--transition)
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold)
}

.blog-cat {
  display: inline-block;
  background: rgba(196, 162, 101, .12);
  color: var(--gold-dark);
  padding: .2rem .75rem;
  border-radius: 50px;
  font-size: .76rem;
  font-weight: 700;
  margin-bottom: .75rem;
  border: 1px solid var(--border)
}

.blog-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .75rem;
  line-height: 1.4
}

.blog-card p {
  color: var(--text2);
  font-size: .88rem;
  margin-bottom: 1.2rem;
  line-height: 1.6
}

.blog-footer {
  display: flex;
  gap: 1rem;
  font-size: .8rem;
  color: var(--text-muted)
}

/* CONTACT */
.contact-section {
  padding: 6rem 0;
  background: var(--cream);
  position: relative;
  overflow: hidden
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: stretch;
  position: relative;
  z-index: 1
}

.contact-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-desc {
  color: var(--text2);
  margin-bottom: 2rem;
  font-size: 1rem
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition)
}

.contact-method:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm)
}

.method-icon {
  font-size: 1.3rem;
  flex-shrink: 0
}

.contact-method strong {
  display: block;
  font-size: .85rem;
  color: var(--text);
  margin-bottom: .15rem
}

.contact-method span {
  font-size: .82rem;
  color: var(--text2)
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md)
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 600
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

.contact-form .form-group {
  margin-bottom: 1rem
}

.contact-form label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: .4rem
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  background: var(--white);
  color: var(--text);
  transition: var(--transition);
  outline: none
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 162, 101, .1)
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px
}

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 1rem;
  margin-top: .5rem
}

.form-success {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .3);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  color: #0f5c35;
  font-size: .9rem
}

/* FOOTER */
.footer {
  background: var(--dark);
  padding: 4rem 0 0
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem
}

.footer-brand p {
  color: rgba(245, 240, 232, .6);
  font-size: .88rem;
  margin-top: 1rem;
  line-height: 1.7
}

.footer-tagline {
  color: rgba(245, 240, 232, .4) !important;
  font-size: .82rem !important;
  margin-top: .5rem !important
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em
}

.footer-links ul li {
  margin-bottom: .5rem
}

.footer-links a {
  color: rgba(245, 240, 232, .55);
  font-size: .88rem;
  transition: var(--transition)
}

.footer-links a:hover {
  color: var(--gold)
}

.footer-contact p {
  color: rgba(245, 240, 232, .55);
  font-size: .88rem;
  margin-bottom: .4rem
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.5rem 0;
  text-align: center
}

.footer-bottom p {
  color: rgba(245, 240, 232, .35);
  font-size: .82rem
}

.short-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(196, 162, 101, .4);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all
}

/* AOS */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease
}

[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0)
}

/* RESPONSIVE */
@media(max-width:1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .feature-item:nth-child(2) {
    border-right: none
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr)
  }

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

@media(max-width:900px) {

  .about-grid,
  .bmi-grid,
  .contact-grid,
  .dashboard-grid {
    grid-template-columns: 1fr
  }

  .quick-access-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .blog-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr
  }

  .nav-links,
  .nav-cta {
    display: none
  }

  .hamburger {
    display: flex
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, .98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1)
  }
}

@media(max-width:600px) {

  .services-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: 1fr
  }

  .features-grid {
    grid-template-columns: 1fr
  }

  /* Admin main dashboard responsive */
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .quick-access-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .feature-item {
    border-right: none !important
  }

  .form-row {
    grid-template-columns: 1fr
  }

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

  .hero-actions {
    flex-direction: column
  }

  .hero-btn {
    width: 100%;
    justify-content: center
  }

  .certs-grid {
    grid-template-columns: 1fr
  }

  .contact-grid {
    gap: 2.5rem
  }
}

/* CUSTOM FILE INPUT FOR GALLERY */
.gallery-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  background: rgba(196, 162, 101, 0.05);
  transition: var(--transition);
  cursor: pointer;
  margin-bottom: 2rem;
}

.gallery-upload-area:hover {
  border-color: var(--gold);
  background: rgba(196, 162, 101, 0.1);
}

.gallery-upload-icon {
  color: var(--gold);
  margin-bottom: 1rem;
}

.gallery-upload-text {
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem;
  display: block;
}

.gallery-upload-hint {
  font-size: .85rem;
  color: var(--text-muted);
}

.admin-icon-inline {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  width: 1.2em;
  height: 1.2em;
  margin-right: .4rem;
}

/* TABLE RESPONSIVE WRAPPER */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

.table-responsive table {
  min-width: 600px;
  /* Force minimum width to trigger scrolling */
  margin-bottom: 0;
}

.dashboard-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  aspect-ratio: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.dashboard-action-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(196, 162, 101, 0.15);
}

.dashboard-action-card .icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(196, 162, 101, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all 0.3s ease;
}

.dashboard-action-card:hover .icon-circle {
  background: var(--gold);
  color: #fff;
  transform: rotate(10deg);
}

.dashboard-action-card span {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.2;
}

.dashboard-action-card:hover span {
  color: var(--gold-dark);
}

.gallery-upload-area {
  border: 2px dashed #d1cfc7;
  background: #fdfdfb;
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.gallery-upload-area:hover {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 10px 40px rgba(196, 162, 101, 0.1);
}

.gallery-upload-area i {
  color: var(--gold);
  background: rgba(196, 162, 101, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

.asent-footer-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.asent-footer-link:hover {
  opacity: 0.8;
}

.admin-preview-header {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: #f8f6f2;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

/* FOOTER CONTACT ALIGNMENT */
.footer-contact h4 {
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.5;
  font-size: 0.9rem;
}

.footer-contact p i {
  color: var(--gold) !important;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
}

/* SOCIAL ICONS */
.social-icon-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon-link i {
  width: 18px;
  height: 18px;
}

.social-icon-link:hover {
  transform: translateY(-4px) scale(1.1);
}

.social-icon-link.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
}

.social-icon-link.facebook {
  background: #1877F2;
  border-color: transparent;
}

.social-icon-link.youtube {
  background: #FF0000;
  border-color: transparent;
}

.social-icon-link.linkedin {
  background: #0077B5;
  border-color: transparent;
}

.social-icon-link.instagram:hover {
  box-shadow: 0 8px 15px rgba(220, 39, 67, 0.4);
}

.social-icon-link.facebook:hover {
  box-shadow: 0 8px 15px rgba(24, 119, 242, 0.4);
}

.social-icon-link.youtube:hover {
  box-shadow: 0 8px 15px rgba(255, 0, 0, 0.4);
}

.social-icon-link.linkedin:hover {
  box-shadow: 0 8px 15px rgba(0, 119, 181, 0.4);
}