/* ========================================
   FizyoHaus - Premium Design System v2.0
   Inspired by fizyowe.com
   Konya Evde Fizyoterapi Hizmeti
   ======================================== */

/* -------------------- Google Fonts -------------------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* -------------------- CSS Variables -------------------- */
:root {
  /* Primary Colors - Fizyoterapi Blue */
  --primary: #2daae2;
  --primary-dark: #1a8fc4;
  --primary-light: #5bc4f0;
  --primary-soft: #e3f2ff;

  /* Secondary Colors */
  --secondary: #00b894;
  --secondary-light: #55efc4;
  --secondary-dark: #00a884;

  /* Accent Colors */
  --accent: #6c5ce7;
  --accent-light: #a29bfe;

  /* Neutral Colors */
  --dark: #1a1a2e;
  --dark-light: #2d2d44;
  --gray-dark: #4a4a68;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --light: #f8fafc;
  --light-blue: #e3f2ff;
  --white: #FFFFFF;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(45, 170, 226, 0.95) 0%, rgba(0, 184, 148, 0.9) 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
  --gradient-soft: linear-gradient(180deg, var(--light-blue) 0%, var(--white) 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 20px rgba(45, 170, 226, 0.1);
  --shadow-md: 0 10px 40px rgba(45, 170, 226, 0.15);
  --shadow-lg: 0 20px 60px rgba(45, 170, 226, 0.2);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.15);
  --shadow-button: 0 10px 30px rgba(45, 170, 226, 0.4);

  /* Border Radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Spacing */
  --section-padding: clamp(4rem, 10vw, 8rem);
  --container-padding: clamp(1.5rem, 5vw, 3rem);

  /* Container */
  --container-max: 1400px;
}

/* -------------------- Reset & Base -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

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

/* -------------------- Typography -------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
}

h1 strong {
  font-weight: 700;
  display: block;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  color: var(--gray-dark);
  font-weight: 400;
}

.text-primary {
  color: var(--primary);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* -------------------- Container -------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(45, 170, 226, 0.5);
}

.btn-primary .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: transform var(--transition);
}

.btn-primary:hover .arrow {
  transform: translateX(3px) rotate(-45deg);
}

.btn-secondary {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--light);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.btn-phone {
  background: var(--dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-phone:hover {
  background: var(--gray-dark);
  transform: translateY(-3px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* -------------------- Header & Navigation -------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: var(--shadow);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span:first-child {
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--gray-dark);
}

.logo-text span:last-child {
  font-weight: 700;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-weight: 500;
  color: var(--gray-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-cta {
  display: flex;
  gap: 1rem;
}

.nav-cta .btn {
  padding: 0.75rem 1.5rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--dark);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* -------------------- Side Action Buttons -------------------- */
.side-actions {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.side-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--white);
  color: var(--gray-dark);
  font-size: 0.75rem;
  font-weight: 600;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-left: 1px solid var(--light);
  border-bottom: 1px solid var(--light);
  transition: all var(--transition);
}

.side-action-btn:first-child {
  border-radius: var(--radius) 0 0 0;
}

.side-action-btn:last-child {
  border-radius: 0 0 0 var(--radius);
}

.side-action-btn:hover {
  background: var(--primary);
  color: var(--white);
}

/* -------------------- Hero Section -------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  background: var(--gradient-soft);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, rgba(45, 170, 226, 0.1) 0%, rgba(0, 184, 148, 0.1) 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80') center center / cover no-repeat;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.9;
}

.hero-bg-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--white) 0%, transparent 30%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--gray-dark);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-weight: 400;
}

.hero .btn-group {
  margin-bottom: 4rem;
}

/* Hero Features */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.hero-feature:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.hero-feature-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}

.hero-feature-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.hero-feature-content p {
  font-size: 0.875rem;
  margin-bottom: 0;
  color: var(--gray);
}

/* -------------------- Section Styles -------------------- */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-soft {
  background: var(--gradient-soft);
}

.section-dark {
  background: var(--gradient-dark);
}

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* -------------------- Services Grid -------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
  transform: scale(1.1);
}

.service-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.service-card-overlay h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0;
}

.service-card-content {
  padding: 1.5rem;
}

.service-card-content p {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9375rem;
}

.service-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.service-link:hover svg {
  transform: translateX(5px);
}

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

.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--primary-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--primary);
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
}

.feature-card:hover .feature-icon svg {
  stroke: var(--white);
}

.feature-card h4 {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* -------------------- Stats Section -------------------- */
.stats-section {
  background: var(--gradient-primary);
  padding: 4rem 0;
}

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

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
}

/* -------------------- About Section -------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-main {
  width: 100%;
  height: 600px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-image-badge strong {
  display: block;
  font-size: 3rem;
  color: var(--primary);
  line-height: 1;
}

.about-image-badge span {
  font-size: 1rem;
  color: var(--gray-dark);
  font-weight: 500;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content>p {
  font-size: 1.125rem;
  line-height: 1.8;
}

.about-list {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--dark);
  font-weight: 500;
}

.about-list li svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
  flex-shrink: 0;
}

/* -------------------- Why Choose Section -------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.why-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--primary);
}

.why-content h4 {
  margin-bottom: 0.5rem;
}

.why-content p {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* -------------------- FAQ Section -------------------- */
.faq-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: all var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 400;
  transition: all var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 2rem 2rem;
  color: var(--gray-dark);
  line-height: 1.8;
}

/* -------------------- Contact Section -------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.contact-info>p {
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.contact-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
}

.contact-card-whatsapp .contact-card-icon {
  background: rgba(37, 211, 102, 0.1);
}

.contact-card-whatsapp .contact-card-icon svg {
  stroke: #25D366;
}

.contact-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-card p {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--gray-dark);
}

.contact-card a {
  color: var(--primary);
  font-weight: 600;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
  margin-bottom: 0.5rem;
}

.contact-form-wrapper>p {
  margin-bottom: 2rem;
}

/* Interactive Form */
.interactive-form {
  background: var(--light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  font-size: 1.125rem;
  line-height: 2.5;
}

.interactive-form .form-field {
  display: inline-block;
  position: relative;
}

.interactive-form input,
.interactive-form select {
  border: none;
  border-bottom: 2px solid var(--primary);
  background: transparent;
  padding: 0.25rem 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  min-width: 150px;
  font-family: inherit;
}

.interactive-form input:focus,
.interactive-form select:focus {
  outline: none;
  border-bottom-color: var(--secondary);
}

.interactive-form input::placeholder {
  color: var(--gray-light);
  font-weight: 400;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--light);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* -------------------- Map Section -------------------- */
.map-container {
  height: 450px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* -------------------- CTA Section -------------------- */
.cta-section {
  background: var(--gradient-dark);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(45, 170, 226, 0.1) 0%, transparent 50%);
  animation: pulse-bg 10s ease-in-out infinite;
}

@keyframes pulse-bg {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.cta-section .btn-group {
  justify-content: center;
}

/* CTA Links (fizyowe style) */
.cta-links {
  max-width: 600px;
  margin: 0 auto;
}

.cta-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
  transition: all var(--transition);
}

.cta-link:hover {
  padding-left: 1rem;
}

.cta-link span {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-link-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 1.5rem;
}

.cta-link svg {
  width: 24px;
  height: 24px;
  transition: transform var(--transition);
}

.cta-link:hover svg {
  transform: translate(5px, -5px);
}

/* -------------------- Footer -------------------- */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 0 0;
}

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

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer-brand .logo-text span:first-child {
  color: rgba(255, 255, 255, 0.6);
}

.footer-brand .logo-text span:last-child {
  color: var(--primary-light);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
}

.footer-contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* -------------------- WhatsApp Button -------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  background: #25D366;
  border-radius: var(--radius-full);
  color: var(--white);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.5);
  transition: all var(--transition);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 50px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-tooltip {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: var(--white);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* -------------------- Page Header -------------------- */
.page-header {
  padding: calc(90px + 5rem) 0 5rem;
  background: var(--gradient-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100%;
  right: -50%;
  width: 100%;
  height: 300%;
  background: radial-gradient(circle, var(--primary-soft) 0%, transparent 50%);
  opacity: 0.5;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.page-header p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.breadcrumb a {
  color: var(--gray);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--gray-light);
}

.breadcrumb-current {
  color: var(--primary);
  font-weight: 600;
}

/* -------------------- Service Detail -------------------- */
.service-detail {
  padding: 5rem 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.service-detail-content h2 {
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.service-detail-content p {
  margin-bottom: 1.5rem;
  line-height: 1.9;
  font-size: 1.0625rem;
}

.service-detail-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.375rem;
}

.service-detail-content ul {
  margin: 1.5rem 0;
}

.service-detail-content ul li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--dark);
  font-size: 1rem;
}

.service-detail-content ul li svg {
  width: 22px;
  height: 22px;
  color: var(--secondary);
  flex-shrink: 0;
}

/* Sidebar */
.service-sidebar {
  position: sticky;
  top: 110px;
}

.sidebar-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.sidebar-card h4 {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light);
  font-size: 1.125rem;
}

.sidebar-links li {
  margin-bottom: 0.25rem;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  color: var(--gray-dark);
  font-weight: 500;
  transition: all var(--transition);
}

.sidebar-links a::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--light);
  border-radius: 50%;
  transition: all var(--transition);
}

.sidebar-links a:hover,
.sidebar-links a.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.sidebar-links a:hover::before,
.sidebar-links a.active::before {
  background: var(--primary);
}

.sidebar-cta {
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
}

.sidebar-cta h4 {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

/* -------------------- Animations -------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

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

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease forwards;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------- Responsive Styles -------------------- */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

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

@media (max-width: 1024px) {

  .about-grid,
  .contact-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    order: -1;
  }

  .hero-bg-image {
    width: 100%;
    clip-path: none;
    opacity: 0.15;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero .btn-group {
    justify-content: center;
  }

  .hero-features {
    max-width: 500px;
    margin: 0 auto;
  }

  .side-actions {
    display: none;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 120px 2rem 2rem;
    gap: 0;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--light);
    width: 100%;
    font-size: 1.125rem;
  }

  .nav-cta {
    flex-direction: column;
    margin-top: 2rem;
    width: 100%;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

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

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

  .stat-number {
    font-size: 2.5rem;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .about-image-badge {
    right: 20px;
    bottom: -20px;
    padding: 1.5rem;
  }

  .about-image-badge strong {
    font-size: 2.5rem;
  }

  .about-list {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
  }

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

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float a {
    width: 58px;
    height: 58px;
  }

  .whatsapp-tooltip {
    display: none;
  }

  .service-sidebar {
    position: static;
  }

  .cta-link {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .header .container {
    height: 75px;
  }

  .hero {
    padding-top: 75px;
  }

  .page-header {
    padding: calc(75px + 3rem) 0 3rem;
  }

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

  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }
}

/* -------------------- Utility Classes -------------------- */
.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.mb-0 {
  margin-bottom: 0 !important;
}

/* ========================================
   PREMIUM ANIMATIONS & EFFECTS
   ======================================== */

/* -------------------- Scroll Reveal Animation -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Staggered reveal for grids */
.reveal-stagger>* {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger.revealed>*:nth-child(1) {
  transition-delay: 0.1s;
}

.reveal-stagger.revealed>*:nth-child(2) {
  transition-delay: 0.2s;
}

.reveal-stagger.revealed>*:nth-child(3) {
  transition-delay: 0.3s;
}

.reveal-stagger.revealed>*:nth-child(4) {
  transition-delay: 0.4s;
}

.reveal-stagger.revealed>*:nth-child(5) {
  transition-delay: 0.5s;
}

.reveal-stagger.revealed>*:nth-child(6) {
  transition-delay: 0.6s;
}

.reveal-stagger.revealed>* {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------- WhatsApp Pulse Animation -------------------- */
.whatsapp-float a {
  animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  50% {
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float:hover a {
  animation: none;
  transform: scale(1.1);
}

/* -------------------- Counter Animation -------------------- */
.stat-number {
  display: inline-block;
  transition: all 0.3s ease;
  color: #ffffff !important;
}

.stat-number.counting {
  color: #ffffff !important;
}

/* -------------------- Glassmorphism Header -------------------- */
.header {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* -------------------- Mobile Sticky CTA Bar -------------------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--white);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--light);
}

.mobile-cta-bar .btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.mobile-cta-bar .btn {
  flex: 1;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: block;
  }

  /* Add bottom padding to body to account for sticky bar */
  body {
    padding-bottom: 80px;
  }

  /* Hide floating WhatsApp button when sticky bar is present */
  .whatsapp-float {
    bottom: 90px;
  }
}

/* -------------------- Enhanced Card 3D Hover -------------------- */
.service-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.service-card:hover {
  transform: translateY(-10px) rotateX(2deg);
}

.feature-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.feature-card:hover {
  transform: translateY(-10px) rotateX(2deg);
}

/* -------------------- Animated Gradient Background -------------------- */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg,
      rgba(45, 170, 226, 0.03) 0%,
      rgba(0, 184, 148, 0.03) 25%,
      rgba(108, 92, 231, 0.03) 50%,
      rgba(0, 184, 148, 0.03) 75%,
      rgba(45, 170, 226, 0.03) 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  z-index: 0;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* -------------------- Button Shine Effect -------------------- */
.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 ease;
}

.btn-primary:hover::before {
  left: 100%;
}

/* -------------------- Image Lazy Load Animation -------------------- */
img[data-src] {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img.loaded {
  opacity: 1;
}

/* -------------------- Smooth Section Transitions -------------------- */
.section {
  position: relative;
  overflow: hidden;
}

/* -------------------- Logo Image Style -------------------- */
.logo-image {
  height: 50px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo-image {
    height: 40px;
  }
}

/* Mobile Aspect Ratio Fix */
@media (max-width: 768px) {
  .about-image {
    min-height: 500px;
    /* Allow taller image on mobile */
  }

  .about-image-main.responsive-image-container {
    aspect-ratio: 9/16;
    /* Force portrait ratio */
    height: auto !important;
  }
}