/*
 * Heelas Health Care Services - Main Stylesheet
 * Color Scheme: Red Theme
 * Framework: Bootstrap 5
 */

/* ==========================================
   COLOR VARIABLES
   ========================================== */
:root {
  --primary-red: #DC143C;
  --dark-red: #8B0000;
  --light-red: #FF6B6B;
  --accent-red: #B22222;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --medium-gray: #6C757D;
  --dark-gray: #343A40;
  --text-dark: #2C3E50;
  --text-light: #6c757d;
  --border-color: #dee2e6;
}

/* ==========================================
   GLOBAL STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 48px;
  font-weight: 700;
}

h2 {
  font-size: 38px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 22px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--primary-red);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--dark-red);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.section-padding {
  padding: 80px 0;
}

.section-padding:first-of-type,
.services-section:first-of-type {
  margin-top: 100px;
}

.section-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.bg-red {
  background-color: var(--primary-red) !important;
}

.bg-light-gray {
  background-color: var(--light-gray);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 15px;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--dark-red);
  border-color: var(--dark-red);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(220, 20, 60, 0.3);
  color: var(--white);
}

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

.btn-outline-primary:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(220, 20, 60, 0.3);
}

.btn-white {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--primary-red);
}

.btn-white:hover {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-primary-blue {
  background-color: #2196F3;
  border-color: #2196F3;
  color: var(--white);
}

.btn-primary-blue:hover {
  background-color: #1976D2;
  border-color: #1976D2;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(33, 150, 243, 0.3);
}

.btn-primary-red {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: var(--white);
}

.btn-primary-red:hover {
  background-color: var(--dark-red);
  border-color: var(--dark-red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(220, 20, 60, 0.3);
}

.btn-lg {
  padding: 15px 40px;
  font-size: 16px;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
  background: var(--primary-red);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  padding: 0px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Transparent Navbar (Initial State) */
.navbar-transparent {
  background: transparent;
  box-shadow: none;
}

.navbar-transparent .navbar-brand {
  color: var(--white) !important;
}

.navbar-transparent .navbar-brand span {
  color: var(--white) !important;
}

.navbar-transparent .nav-link {
  color: var(--white) !important;
  font-size: 18px;
  font-weight: 500;
}

.navbar-transparent .btn-login {
  background-color: var(--white);
  color: var(--primary-red);
  border-color: var(--white);
}

.navbar-transparent .btn-login:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.navbar-transparent .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FFFFFF' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile menu - show red background when menu is open on transparent navbar */
.navbar-transparent .navbar-collapse.show {
  background: var(--primary-red);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.navbar-transparent .navbar-collapse.show .nav-link {
  color: var(--white) !important;
}

/* Scrolled Navbar */
.navbar.scrolled {
  background: var(--primary-red);
  padding: 0px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .navbar-brand {
  color: var(--white) !important;
}

.navbar.scrolled .navbar-brand span {
  color: var(--white) !important;
}

.navbar.scrolled .nav-link {
  color: var(--white) !important;
  font-size: 18px;
  font-weight: 500;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--white) !important;
}

.navbar.scrolled .btn-login {
  background-color: var(--white);
  color: var(--primary-red);
  border-color: var(--white);
}

.navbar.scrolled .btn-login:hover {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FFFFFF' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white) !important;
  padding: 0px;
  box-sizing: border-box;
  flex-shrink: 0;
  margin-right: auto;
}

.navbar-brand .brand-icon {
  font-size: 32px;
  color: var(--primary-red);
  background: var(--white);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar-brand .brand-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar-brand .brand-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  opacity: 0.9;
}

.navbar-nav .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--white);
  margin: 0 15px;
  padding: 8px 0;
  position: relative;
  font-size: 18px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: white !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--white);
  transition: width 0.3s ease;
}

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

/* Login Button */
.btn-login {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--primary-red);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
}

.btn-login:hover {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-login i {
  margin-right: 5px;
}

/* Mobile Menu */
.navbar-toggler {
  border: none;
  padding: 5px 10px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FFFFFF' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================
   HERO SECTION - SLIDER
   ========================================== */
.hero-slider {
  position: relative;
  height: 90vh;
  min-height: 700px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0 80px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(28, 55, 90, 0.6) 0%, rgba(16, 36, 61, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  color: var(--white);
  padding: 60px 0;
  max-width: 900px;
}

.hero-tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-red);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 17px;
  color: var(--white);
  margin-bottom: 35px;
  line-height: 1.7;
  max-width: 750px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-content .btn {
  margin: 0;
}

/* Hero Navigation Dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.hero-dot.active {
  background: var(--white);
  border-color: var(--primary-red);
  width: 40px;
  border-radius: 10px;
}

/* Hero Navigation Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.hero-arrow:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow-prev {
  left: 30px;
}

.hero-arrow-next {
  right: 30px;
}

.hero-arrow i {
  font-size: 18px;
}

/* ==========================================
   PAGE HERO (Internal Pages)
   ========================================== */
.page-hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  margin-bottom: 60px;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.9) 0%, rgba(139, 0, 0, 0.9) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.page-hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
}

.breadcrumb {
  background: transparent;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.breadcrumb-item {
  color: var(--white);
}

.breadcrumb-item a {
  color: var(--white);
  opacity: 0.8;
}

.breadcrumb-item a:hover {
  opacity: 1;
}

.breadcrumb-item.active {
  color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--white);
}

/* ==========================================
   VALUES SECTION
   ========================================== */
.value-card {
  text-align: center;
  padding: 40px 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  box-shadow: 0 5px 20px rgba(220, 20, 60, 0.3);
}

.value-icon img {
  width: 50px;
  height: 50px;
  filter: brightness(0) invert(1);
}

.value-icon i {
  font-size: 50px;
  color: var(--white);
}

.value-card h4 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.value-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
  padding: 80px 0;
}

.about-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content {
  min-height: 400px !important;
}

.about-content h3 {
  text-align: center;
}

.about-content h5 {
  color: var(--primary-red);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h6 {
  color: var(--primary-red);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: capitalize;
  min-height: 30px;
  text-align: center;
}

.about-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  min-height: 120px;
}

.about-content ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.about-content ul li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-light);
}

.about-content ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-red);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  border: none;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(220, 20, 60, 0.15);
}

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

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.service-card-body {
  padding: 30px;
}

.service-card-body h4 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.service-card-body p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-light);
}

.service-link {
  color: var(--primary-red);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.service-link i {
  margin-left: 5px;
  transition: margin-left 0.3s ease;
}

.service-link:hover {
  color: var(--dark-red);
}

.service-link:hover i {
  margin-left: 10px;
}

/* ==========================================
   PHILOSOPHY SECTION
   ========================================== */
.philosophy-section {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.philosophy-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(28, 55, 90, 0.6) 0%, rgba(16, 36, 61, 0.6) 100%);
  z-index: 1;
}

.philosophy-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.philosophy-content h2 {
  font-size: 42px;
  color: var(--white);
  margin-bottom: 20px;
}

.philosophy-content p {
  font-size: 18px;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

/* ==========================================
   CONTACT INFO BAR
   ========================================== */
.contact-info-bar {
  background-color: var(--white);
  padding: 60px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 10;
}

.info-item {
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
  border-radius: 10px;
  height: 100%;
}

.info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(220, 20, 60, 0.1);
}

.info-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 5px 20px rgba(220, 20, 60, 0.3);
  transition: all 0.3s ease;
}

.info-item:hover .info-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
}

.info-icon i {
  font-size: 28px;
  color: var(--white);
}

.info-item h5 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.info-item p {
  font-size: 15px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

.info-item a {
  color: var(--text-light);
  transition: all 0.3s ease;
  text-decoration: none;
}

.info-item a:hover {
  color: var(--primary-red);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 60px 0 0;
}

.footer h5 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 25px;
  font-weight: 600;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 12px;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 15px;
  display: block;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo-icon {
  font-size: 28px;
  color: var(--primary-red);
  background: var(--white);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Poppins', sans-serif;
}

.footer-brand-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Poppins', sans-serif;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-red);
  transform: translateY(-3px);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 25px 0;
  margin-top: 50px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* ==========================================
   FORMS
   ========================================== */
.form-control {
  border: 1px solid var(--border-color);
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(220, 20, 60, 0.15);
}

.form-label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-size: 15px;
}

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

.form-select {
  padding: 12px 20px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
}

.form-select:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(220, 20, 60, 0.15);
}

/* ==========================================
   CARD STYLES
   ========================================== */
.custom-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: auto;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.custom-card:hover {
  box-shadow: 0 10px 30px rgba(220, 20, 60, 0.15);
  transform: translateY(-5px);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  h1 {
    font-size: 42px;
  }
  
  h2 {
    font-size: 34px;
  }
  
  .hero-content h1 {
    font-size: 48px;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 60px 0;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-section {
    height: 60vh;
    min-height: 500px;
  }

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

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-arrow-prev {
    left: 15px;
  }

  .hero-arrow-next {
    right: 15px;
  }

  .hero-dots {
    bottom: 30px;
  }

  .navbar-nav .nav-link {
    margin: 10px 0;
  }

  .about-image {
    margin-bottom: 40px;
  }

  .page-hero {
    height: 300px;
  }

  .page-hero-content h1 {
    font-size: 36px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  /* Fix navbar width and overflow on mobile */
  .navbar {
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    padding: 0 !important;
    overflow-x: clip;
  }

  .navbar .container {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Reduce logo size on mobile - override inline styles */
  .navbar-brand .brand-logo {
    height: 50px !important;
    width: auto !important;
  }

  img[src*="Heelas_Logo"] {
    height: 50px !important;
  }

  /* Fix white space issues on mobile */
  .hero-slider {
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }

  /* Prevent any container overflow */
  .container,
  .container-fluid {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .row {
    margin-left: -15px;
    margin-right: -15px;
    max-width: 100%;
  }

  [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
  }

  section {
    max-width: 100vw;
    overflow-x: hidden;
  }

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

  /* Center mission and vision headings */
  .about-content h6 {
    text-align: center;
  }

  .section-padding {
    padding: 50px 0;
  }

  .hero-section {
    height: 70vh;
    min-height: 450px;
  }

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

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content .btn {
    width: 100%;
    padding: 12px 30px;
    font-size: 15px;
  }

  .hero-arrow {
    width: 35px;
    height: 35px;
  }

  .hero-arrow i {
    font-size: 14px;
  }

  .hero-arrow-prev {
    left: 10px;
  }

  .hero-arrow-next {
    right: 10px;
  }

  .hero-dots {
    bottom: 20px;
    gap: 8px;
  }

  .hero-dot {
    width: 10px;
    height: 10px;
  }

  .hero-dot.active {
    width: 30px;
  }

  .navbar-brand .brand-icon {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .navbar-brand .brand-name {
    font-size: 18px;
  }

  .navbar-brand .brand-subtitle {
    font-size: 12px;
  }
  
  .value-card {
    padding: 30px 20px;
    margin-bottom: 30px;
  }
  
  .service-card {
    margin-bottom: 30px;
  }
  
  .info-item {
    margin-bottom: 20px;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer h5 {
    margin-top: 30px;
  }
  
  .page-hero {
    height: 250px;
  }
  
  .page-hero-content h1 {
    font-size: 28px;
  }

  /* Make appointments header flex wrap on mobile */
  .d-flex.justify-content-between.align-items-center {
    flex-wrap: wrap;
    gap: 15px;
  }

  .d-flex.justify-content-between.align-items-center h3 {
    width: 100%;
  }

  .d-flex.justify-content-between.align-items-center .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  h1 {
    font-size: 28px;
  }
  
  h2 {
    font-size: 24px;
  }

  /* Fix navbar width and overflow on mobile */
  .navbar {
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    padding: 0 !important;
    overflow-x: clip;
  }

  .navbar .container {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Reduce logo size on mobile - override inline styles */
  .navbar-brand .brand-logo {
    height: 45px !important;
    width: auto !important;
  }

  img[src*="Heelas_Logo"] {
    height: 45px !important;
  }

  /* Fix white space issues on mobile */
  .hero-slider {
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }

  /* Prevent any container overflow */
  .container,
  .container-fluid {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .row {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
  }

  section {
    max-width: 100vw;
    overflow-x: hidden;
  }

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

  /* Center mission and vision headings */
  .about-content h6 {
    text-align: center;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .hero-content h1 {
    font-size: 28px;
  }
  
  .hero-content p {
    font-size: 15px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .navbar-brand {
    font-size: 20px;
  }
  
  .value-icon {
    width: 80px;
    height: 80px;
  }
  
  .value-icon i {
    font-size: 40px;
  }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-justify {
  text-align: justify;
}

.shadow-sm-custom {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.shadow-md-custom {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.shadow-lg-custom {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */
.contact-info-card {
  border: 3px solid var(--primary-red);
}

.contact-icon-circle {
  width: 60px;
  height: 60px;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.contact-icon-circle i {
  font-size: 24px;
  color: var(--white);
}

.contact-info-item h6 {
  color: var(--text-dark);
  font-size: 16px;
}

/* ==========================================
   AUTH PAGES STYLES (LOGIN & REGISTER)
   ========================================== */
.auth-card {
  background: var(--white);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.auth-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 5px 20px rgba(220, 20, 60, 0.3);
}

.auth-icon i {
  font-size: 40px;
  color: var(--white);
}

.input-group-text {
  background-color: var(--light-gray);
  border-color: var(--border-color);
  color: var(--text-dark);
}

/* ==========================================
   PROFILE PAGE STYLES
   ========================================== */
.profile-header {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.profile-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(220, 20, 60, 0.3);
}

.profile-avatar i {
  font-size: 50px;
  color: var(--white);
}

.stat-card {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
  flex-shrink: 0;
}

.stat-icon.bg-primary {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
}

.stat-icon.bg-success {
  background: linear-gradient(135deg, #28a745, #1e7e34);
}

.stat-icon.bg-warning {
  background: linear-gradient(135deg, #ffc107, #ff9800);
}

.stat-icon.bg-danger {
  background: linear-gradient(135deg, #dc3545, #bd2130);
}

.stat-card h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
}

.appointments-table {
  margin-bottom: 0;
}

.appointments-table thead {
  background-color: var(--light-gray);
  border-bottom: 2px solid var(--primary-red);
}

.appointments-table thead th {
  font-weight: 600;
  color: var(--text-dark);
  border: none;
  padding: 15px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.appointments-table tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.appointments-table tbody tr:hover {
  background-color: rgba(220, 20, 60, 0.03);
}

.appointments-table tbody td {
  padding: 15px;
  vertical-align: middle;
  font-size: 14px;
}

.appointments-table .badge {
  padding: 6px 12px;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .profile-header .ms-auto {
    margin-top: 20px;
    margin-left: 0 !important;
    width: 100%;
  }

  .profile-header .ms-auto .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .stat-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .auth-card {
    padding: 25px;
  }

  .table-responsive {
    font-size: 12px;
  }

  .appointments-table thead th,
  .appointments-table tbody td {
    padding: 10px 8px;
  }
}
