/*
=================================
IV Drip Phuket Therapy Custom Styles
=================================
*/

/* Color Scheme - Medical/Health Theme */
:root {
  /* Primary Colors - Medical Blue/Teal */
  --ivdrip-primary: #0066CC;
  --ivdrip-primary-light: #0080FF;
  --ivdrip-primary-dark: #0052A3;
  --ivdrip-secondary: #00B894;
  --ivdrip-secondary-light: #00C896;
  --ivdrip-accent: #40E0D0;
  --ivdrip-accent-light: #E0F7F5;
  
  /* Neutral Colors */
  --ivdrip-white: #FFFFFF;
  --ivdrip-black: #1A1A1A;
  --ivdrip-gray-light: #F5F7FA;
  --ivdrip-gray: #6B7280;
  --ivdrip-gray-dark: #374151;
  
  /* Override theme colors */
  --theme: var(--ivdrip-primary);
  --theme-2: var(--ivdrip-primary-light);
  --theme-3: var(--ivdrip-primary-dark);
  --theme-4: var(--ivdrip-accent-light);
  --header: var(--ivdrip-black);
  --base: var(--ivdrip-primary);
  --text: var(--ivdrip-gray-dark);
  --border: #E5E7EB;
}

br {
  display: inline !important;
}
/* Global Improvements */
body {
  color: var(--ivdrip-gray-dark);
  line-height: 1.7;
}

/* Hero Section Enhancements */
.hero-section {
  background: linear-gradient(135deg, var(--ivdrip-primary) 0%, var(--ivdrip-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: var(--ivdrip-white);
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  color: var(--ivdrip-white);
  font-size: 1.5rem;
  font-weight: 400;
  opacity: 0.95;
}

/* Hero Subtitle 3 Columns Layout */
.hero-subtitle-wrapper {
  margin-top: 2rem;
  padding: 2rem 0;
}

.hero-feature-img {
  max-width: 150px;
  height: auto;
}

.hero-text-col {
  color: var(--ivdrip-white);
}

.hero-text-col .price-text {
  font-size: 1.2rem;
  color: var(--ivdrip-white);
  text-align: right;
}

.hero-text-col .price-text span {
  font-size: 1.4rem;
  color: var(--ivdrip-white);
}

.hero-text-col .menu-text {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ivdrip-white);
  margin-bottom: 0.25rem;
  opacity: 0.95;
}

.hero-menu-icon-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #008000;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #ffffff;
  font-size: 2.1rem;
}

.menu-icon-link:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.menu-icon-link i {
  display: block;
}

.menu-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.menu-icon-wrapper:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.hero-arrow-separator {
  color: var(--ivdrip-white);
  font-size: 2.8rem;
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0px 10px;
}

@media (max-width: 600px) {
  .hero-arrow-separator {
    font-size: 2rem;
    padding: 0px;
  }
}
.hero-subtitle span {
  color: var(--ivdrip-accent);
  font-weight: 700;
  font-size: 1.8rem;
}

.hero-button {
  margin-top: 2rem;
}

.btn-link {
  color: var(--ivdrip-white);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  color: var(--ivdrip-white);
}

.hero-social-icons {
  margin-top: 2rem;
}

.hero-social-icons a {
  transition: transform 0.3s ease;
}

.hero-social-icons a:hover {
  transform: scale(1.1);
}

/* Section Improvements */
.intro-section {
  background: linear-gradient(135deg, #fffce1 0%, #fbf3ac 50%, #fffef3 100%);
  padding: 7rem 0;
}

.intro-heading {
  color: var(--ivdrip-primary-dark);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

/* Service Cards Enhancement */
.grow-business-section {
  background: var(--ivdrip-white);
}

.grow-business-content h2 {
  color: var(--ivdrip-primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.grow-business-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--ivdrip-primary), var(--ivdrip-secondary));
  border-radius: 2px;
}

.grow-business-content p {
  color: var(--ivdrip-gray-dark);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.sub-content {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  margin: 0.5rem;
  background: var(--ivdrip-accent-light);
  border-radius: 50px;
  color: var(--ivdrip-primary-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.sub-content span {
  color: #fdf7c0;
  font-weight: 500;
  font-size: 0.95rem;
  display: block;
}

.sub-content img {
  width: 20px;
  height: 20px;
  transition: filter 0.3s ease;
}

.sub-content i {
  font-size: 1.1rem;
  color: var(--ivdrip-primary-dark);
  transition: color 0.3s ease;
}
/* About Section */
.about-section {
  background: linear-gradient(180deg, var(--ivdrip-white) 0%, var(--ivdrip-gray-light) 100%);
}

.about-content h2 {
  color: var(--ivdrip-primary);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.about-content ul {
  list-style: none;
  padding: 0;
}

.about-content ul li {
  padding: 0.25rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--ivdrip-gray-dark);
  font-size: 1.05rem;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.about-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ivdrip-secondary);
  font-weight: 700;
  font-size: 1.2rem;
}

.about-content ul li:hover {
  color: var(--ivdrip-primary);
  padding-left: 2.5rem;
}

/* Theme Button Enhancements */
.theme-btn {
  background: linear-gradient(135deg, var(--ivdrip-primary) 0%, var(--ivdrip-primary-light) 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
  transition: all 0.3s ease;
}

.theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
  background: linear-gradient(135deg, var(--ivdrip-primary-light) 0%, var(--ivdrip-primary) 100%);
}

/* Header Improvements */
.header-2 {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 2px solid var(--ivdrip-accent-light);
}

.header-2 .icon-items p {
  color: var(--ivdrip-primary);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Testimonial Section */
.testimonial-section-2 {
  background: linear-gradient(135deg, var(--ivdrip-gray-light) 0%, var(--ivdrip-white) 100%);
  position: relative;
}

.testimonial-section-2 .section-title h2 {
  color: var(--ivdrip-primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

/* Footer Enhancements */
.footer-section {
  background: linear-gradient(180deg, var(--ivdrip-primary-dark) 0%, var(--ivdrip-black) 100%);
  color: var(--ivdrip-white);
}

.footer-content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: 1.05rem;
}

.footer-content p::before {
  content: '• ';
  color: var(--ivdrip-accent);
  font-weight: 700;
  margin-right: 0.5rem;
}

.widget-head h4 {
  color: var(--ivdrip-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-items {
  color: rgba(255, 255, 255, 0.9);
}

.contact-items .icon {
  color: var(--ivdrip-accent);
}

.contact-items a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.contact-items a:hover {
  color: var(--ivdrip-accent);
}

/* Card Shape Improvements */
.card-shape-1 {
  background: linear-gradient(135deg, var(--ivdrip-primary) 0%, var(--ivdrip-secondary) 100%);
  color: var(--ivdrip-white);
  padding: 1rem 1.5rem;
  border-radius: 15px;
  font-weight: 600;
  width: fit-content;
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-subtitle-wrapper {
    padding: 1.5rem 0;
  }
  
  /* Mobile: เรียงเป็น row เดียว */
  .hero-subtitle-wrapper .row .col-md-12 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
  }
  
  .hero-image-col,
  .hero-text-col,
  .hero-menu-icon-col {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hero-feature-img {
    max-width: 100px;
    margin-bottom: 0;
  }
  
  .hero-text-col .price-text {
    font-size: 0.9rem;
    text-align: right;
    line-height: 1.4;
  }
  
  .hero-text-col .price-text span {
    font-size: 1rem;
  }
  
  .hero-text-col .menu-text {
    font-size: 0.85rem;
  }
  
  .menu-icon-link {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
  
  .menu-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .menu-icon-wrapper svg {
    width: 40px;
    height: 40px;
  }
  
  .intro-heading {
    font-size: 1.4rem;
  }
  
  .grow-business-content h2 {
    font-size: 2rem;
  }
  
  .sub-content {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Image Enhancements */
img {
  border-radius: 10px;
  transition: transform 0.3s ease;
  max-width: 100%;
}

.grow-business-image img:hover,
.about-image-3 img:hover {
  transform: scale(1.02);
}

/* Accessibility Improvements */
a:focus,
button:focus {
  outline: 3px solid var(--ivdrip-accent);
  outline-offset: 2px;
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wow.fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

/* Print Styles */
@media print {
  .header-2,
  .footer-section,
  .scroll-up {
    display: none;
  }
}
.customer-image {
  margin-bottom: 40px;
}

/* Contact Row with Icons */
.contact-row-wrapper {
  margin-top: 2rem;
  padding: 1rem 0;
}

.contact-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.contact-box {
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  background: rgb(255 255 255 / 16%);
  border-radius: 50px;
  transition: all 0.3s ease;
  gap: 10px;
  text-align: left;
}

.contact-box-icon {
  font-size: 2rem;
  color: #ffffff;
}

.contact-box-icon i {
  display: block;
}

.contact-box-text {
  text-align: center;
}

.contact-box-text a {
  color: #ffffff;
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  text-align: center;
}

/* Mobile: เรียงเป็น row เดียว */
@media (max-width: 768px) {
  .contact-row {
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.5rem 0;
  }
  
  .contact-box {
    min-width: 150px;
    flex: 0 0 auto;
    padding: 0.75rem 1rem;
  }
  
  .contact-box-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }
  
  .contact-box-text a {
    font-size: 0.8rem;
    line-height: 1.3;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float-wrapper {
  position: fixed;
  bottom: 70px;
  right: 14px;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  animation: floatUp 0.5s ease-out;
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-chat-bubble {
  background: #E5E5E5;
  border-radius: 20px;
  padding: 12px 16px;
  max-width: 180px;
  position: relative;
}

.whatsapp-chat-bubble::after {
  content: '';
  position: absolute;
  right: -8px;
  bottom: 20px;
  width: 0;
  height: 0;
  border-left: 10px solid #E5E5E5;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.whatsapp-chat-bubble p {
  margin: 0;
  color: #1A1A1A;
  font-size: 0.9rem;
  line-height: 1.4;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.whatsapp-chat-bubble p span {
  font-weight: 600;
}
.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  background: #009900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 32px;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.whatsapp-float-btn:active {
  transform: scale(0.95);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .whatsapp-float-wrapper {
    bottom: 70px;
    right: 17px;
    gap: 8px;
  }
  
  .whatsapp-chat-bubble {
    max-width: 160px;
    padding: 10px 14px;
  }
  
  .whatsapp-chat-bubble p {
    font-size: 0.8rem;
  }
  
  .whatsapp-float-btn {
    width: 55px;
    height: 55px;
    font-size: 28px;
  }
  
  .whatsapp-chat-bubble::after {
    right: -7px;
    bottom: 18px;
    border-left-width: 8px;
    border-top-width: 6px;
    border-bottom-width: 6px;
  }
}

@media (max-width: 480px) {
  .whatsapp-chat-bubble {
    max-width: 150px;
    padding: 8px 12px;
  }
  
  .whatsapp-chat-bubble p {
    font-size: 0.75rem;
  }
}