/* Base Styles with Enhanced Variables */
:root {
  /* Primary Color Palette */
  --primary-color: #e67e22;
  --primary-light: #f39c12;
  --primary-dark: #d35400;
  --primary-transparent: rgba(230, 126, 34, 0.9);
  --primary-gradient: linear-gradient(135deg, var(--primary-dark), var(--primary-transparent));

  /* Secondary Color Palette */
  --secondary-color: #3498db;
  --secondary-light: #5dade2;
  --secondary-dark: #2980b9;
  --secondary-transparent: rgba(52, 152, 219, 0.9);

  /* Neutral Colors */
  --dark-color: #2c3e50;
  --dark-light: #34495e;
  --light-color: #ecf0f1;
  --text-color: #333;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --black: #000000;
  --gray-light: #f5f5f5;
  --gray: #e0e0e0;
  --gray-dark: #95a5a6;

  /* UI Elements */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-inset: inset 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Borders */
  --border-radius-sm: 3px;
  --border-radius: 5px;
  --border-radius-lg: 10px;
  --border-radius-xl: 20px;
  --border-radius-full: 50%;

  /* Layout */
  --section-padding: 80px 0;
  --container-padding: 0 15px;
  --nav-height: 70px;
  --header-height: 120px;

  /* Typography */
  --font-primary: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: Georgia, "Times New Roman", Times, serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-loose: 1.8;

  /* Z-index layers */
  --z-negative: -1;
  --z-normal: 1;
  --z-dropdown: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /* Background */
  --bg-color: var(--white);
  --bg-secondary: var(--gray-light);
  --bg-tertiary: var(--gray);

  /* Make sure the background color for Vanta.js has RGB values */
  --bg-color-rgb: 255, 255, 255;

  /* Grid Background Variables */
  --grid-color-1: rgba(230, 126, 34, 0.03);
  --grid-color-2: rgba(52, 152, 219, 0.03);
  --grid-size: 40px;
  --grid-line: 1px;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --primary-color: #f39c12;
  --primary-light: #f5b041;
  --primary-dark: #e67e22;

  --bg-color: #1a1a2e;
  --bg-secondary: #16213e;
  --bg-tertiary: #0f3460;

  --text-color: #e0e0e0;
  --text-light: #b0b0b0;
  --dark-color: #f5f5f5;
  --dark-light: #e0e0e0;
  --light-color: #333;
  --white: #1a1a2e;
  --black: #ffffff;
  --gray-light: #16213e;
  --gray: #0f3460;
  --gray-dark: #e0e0e0;

  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);

  --bg-color-rgb: 26, 26, 46;

  /* Dark Mode Grid Background Variables */
  --grid-color-1: rgba(243, 156, 18, 0.05);
  --grid-color-2: rgba(52, 152, 219, 0.05);
}

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

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

body {
  font-family: var(--font-primary);
  line-height: var(--line-height-normal);
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
  padding-top: 0;
  font-weight: var(--font-weight-normal);
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: var(--line-height-tight);
  margin-bottom: 0.5em;
  font-weight: var(--font-weight-bold);
  color: var(--dark-color);
}

p {
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

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

/* Grid Background Patterns */
.grid-bg-pattern-1 {
  position: relative;
}

.grid-bg-pattern-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: conic-gradient(from 90deg at 0.5px 0.5px, transparent 90deg, var(--grid-color-1) 0),
    conic-gradient(from 90deg at 0.5px 0.5px, transparent 90deg, var(--grid-color-2) 0);
  background-position: 0px 0px, calc(var(--grid-size) / 2) calc(var(--grid-size) / 2);
  background-size: var(--grid-size) var(--grid-size);
  background-repeat: repeat;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

.grid-bg-pattern-2 {
  position: relative;
}

.grid-bg-pattern-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, var(--grid-color-1) var(--grid-line), transparent var(--grid-line)),
    linear-gradient(to bottom, var(--grid-color-1) var(--grid-line), transparent var(--grid-line));
  background-size: var(--grid-size) var(--grid-size);
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

.grid-bg-pattern-3 {
  position: relative;
}

.grid-bg-pattern-3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, var(--grid-color-1) var(--grid-line), transparent var(--grid-line)),
    linear-gradient(to bottom, var(--grid-color-1) var(--grid-line), transparent var(--grid-line)),
    linear-gradient(to right bottom, var(--grid-color-2) 0.5px, transparent 0.5px);
  background-size: var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size), calc(var(--grid-size) * 2)
    calc(var(--grid-size) * 2);
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

/* Add this new cloud background class after the grid background patterns */

/* Cloud Background Pattern */
.cloud-bg {
  position: relative;
}

.cloud-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 50%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 40%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 50%);
  background-size: 150% 150%;
  background-position: center center;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
  animation: cloudFloat 60s ease-in-out infinite;
}

/* Dark mode adjustments for cloud background */
[data-theme="dark"] .cloud-bg::after {
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 40%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0) 50%);
}

@keyframes cloudFloat {
  0% {
    background-position: 0% 0%;
  }
  25% {
    background-position: 20% 10%;
  }
  50% {
    background-position: 10% 20%;
  }
  75% {
    background-position: 5% 5%;
  }
  100% {
    background-position: 0% 0%;
  }
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--primary-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: var(--font-size-sm);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

.btn:active {
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  position: relative;
  z-index: 1;
}

.btn-outline::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--white);
  transition: var(--transition);
  z-index: -1;
  opacity: 0.1;
}

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

.btn-outline:hover::after {
  width: 100%;
}

.btn:active {
  transform: translateY(-1px);
}

.btn-emergency {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.btn-emergency:hover {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
}

.btn-block {
  display: block;
  width: 100%;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-header::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary-gradient);
  margin: 1rem auto 0;
  border-radius: var(--border-radius-full);
}

.section-header h4 {
  color: var(--primary-color);
  font-size: var(--font-size-md);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-semibold);
  position: relative;
  display: inline-block;
}

.section-header h4::before,
.section-header h4::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background-color: var(--primary-color);
  transform: translateY(-50%);
}

.section-header h4::before {
  left: -40px;
}

.section-header h4::after {
  right: -40px;
}

.section-header h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: 1rem;
  color: var(--dark-color);
  position: relative;
  font-weight: var(--font-weight-bold);
}

.section-header p {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  font-size: var(--font-size-lg);
}

/* Enhanced Header Styles */
header {
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  position: relative;
  width: 100%;
  z-index: var(--z-fixed);
  transition: background-color 0.3s ease;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  transition: var(--transition);
}

.logo {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.logo img {
  width: 10%;
  margin-right: 1rem;
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--dark-color);
  margin: 0;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.logo-text h2 {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  color: var(--primary-color);
  margin: 0;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.phone,
.email {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 1.5rem;
}

.phone i,
.email i {
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 1.125rem;
}

.phone span,
.email a {
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  transition: var(--transition);
}

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

.login-btn .btn {
  padding: 0.5rem 1.25rem;
  font-size: var(--font-size-sm);
  border-radius: var(--border-radius-lg);
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  margin-left: 1.5rem;
  cursor: pointer;
  position: relative;
  width: 50px;
  height: 24px;
  background-color: var(--gray);
  border-radius: 12px;
  transition: var(--transition);
}

.theme-toggle::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.theme-toggle.dark::before {
  left: calc(100% - 22px);
  background-color: var(--dark-color);
}

.theme-toggle .sun,
.theme-toggle .moon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  transition: var(--transition);
}

.theme-toggle .sun {
  left: 6px;
  color: var(--dark-color);
  opacity: 1;
}

.theme-toggle .moon {
  right: 6px;
  color: var(--white);
  opacity: 0.5;
}

.theme-toggle.dark .sun {
  opacity: 0.5;
}

.theme-toggle.dark .moon {
  opacity: 1;
}

/* Enhanced Navigation Styles */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background-color: var(--bg-color);
  height: var(--nav-height);
  transition: var(--transition);
  position: relative;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--primary-gradient);
  width: 0%;
  transition: width 0.1s ease;
  z-index: 1001;
  box-shadow: 0 1px 5px rgba(230, 126, 34, 0.5);
  opacity: 0;
  visibility: hidden;
}

nav.fixed .scroll-progress-bar {
  opacity: 1;
  visibility: visible;
  
}
nav.fixed  .main-menu {
  margin-left:5%;
}
nav.fixed  .social-icons {
  margin-right:10%;
}
nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
  box-shadow: var(--shadow-lg);
  animation: slideDown 0.5s ease forwards;
  background-color: rgba(var(--bg-color-rgb, 255, 255, 255), 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  height: 60px;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav-placeholder {
  height: 0;
  transition: height 0.3s ease;
}

.nav-placeholder.active {
  height: var(--nav-height);
}

/* Main Menu */
.main-menu {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-menu li {
  position: relative;
}

.main-menu li a {
  font-weight: var(--font-weight-semibold);
  padding: 1.5rem 0;
  display: block;
  position: relative;
  transition: var(--transition);
  color: var(--dark-color);
  font-size: var(--font-size-sm);
  letter-spacing: 1px;
}

.main-menu li a::after {
  content: "";
  position: absolute;
  bottom: 1rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
  border-radius: var(--border-radius-full);
}

.main-menu li a:hover,
.main-menu li a.active {
  color: var(--primary-color);
}

.main-menu li a:hover::after,
.main-menu li a.active::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--bg-color);
  box-shadow: var(--shadow-lg);
  width: 220px;
  border-radius: var(--border-radius);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: var(--z-dropdown);
  overflow: hidden;
  padding: 0.5rem 0;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background-color: var(--bg-color);
  box-shadow: var(--shadow-sm);
  z-index: -1;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  margin: 0;
  width: 100%;
}

.dropdown-menu li a {
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  transition: var(--transition);
  text-align: center;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu li a:hover {
  background-color: rgba(0, 0, 0, 0.02);
  padding-left: 1.75rem;
}

.dropdown-menu li a::after {
  display: none;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--gray-light);
  border-radius: var(--border-radius-full);
  transition: var(--transition-bounce);
  overflow: hidden;
  position: relative;
  color: var(--dark-color);
}

.social-icons a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.social-icons a i {
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.social-icons a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow);
}

.social-icons a:hover::before {
  opacity: 1;
}

.social-icons a:hover i {
  color: var(--white);
}

.mobile-menu-toggle {
  display: none; /* Hide in desktop view */
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--dark-color);
  transition: var(--transition);
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background-color: var(--gray-light);
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle:hover {
  color: var(--primary-color);
  background-color: var(--gray);
}

/* Enhanced Hero Slider */
.hero-slider {
  position: relative;
  height: 700px;
  overflow: hidden;
}

/* Particles Container */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5; /* Increased from 1 to 5 */
  pointer-events: none;
}

/* Ensure the slider content is above the particles */
.slider-container {
  position: relative;
  z-index: 6; /* Increased from 2 to 6 to stay above particles */
}

.slider-container {
  position: relative;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease, transform 1.2s ease;
  display: flex;
  align-items: center;
  transform: scale(1.05);
}

.slide.active {
  opacity: 1;
  z-index: 1;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: transform 8s ease;
}

.slide.active img {
  transform: scale(1.1);
}

.slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  z-index: -1;
}

.slide-content {
  color: var(--white);
  padding: 0 8rem; /* Increased padding to avoid being too close to slider buttons */
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

.slide-content h2 {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.5rem;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
}

.slide-content h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  background: var(--primary-gradient);
  border-radius: var(--border-radius-full);
}

.slide-content h3 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0.25rem;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
  font-size: var(--font-size-lg);
  margin-top: 1.5rem;
  line-height: var(--line-height-loose);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  backdrop-filter: blur(5px);
  box-shadow: var(--shadow);
}

.slider-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
  left: 30px;
}

.slider-btn.next {
  right: 30px;
}

.navigation-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 10;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: var(--border-radius-full);
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.dot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  transform: scale(0);
  transition: var(--transition);
  border-radius: var(--border-radius-full);
}

.dot.active::after {
  transform: scale(1);
}

.dot:hover::after {
  transform: scale(0.7);
}

/* About Section */
.about-section {
  padding: var(--section-padding);
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: rgba(230, 126, 34, 0.05);
  border-radius: var(--border-radius-full);
  z-index: 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 5px solid var(--primary-color);
  border-radius: var(--border-radius);
  z-index: -1;
  opacity: 0.3;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.02);
}

.about-text {
  flex: 1;
}

.about-text h4 {
  color: var(--primary-color);
  font-size: var(--font-size-md);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-left: 40px;
}

.about-text h4::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
  transform: translateY(-50%);
}

.about-text h2 {
  font-size: var(--font-size-3xl);
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  line-height: 1.3;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-loose);
}

.about-text .btn {
  margin-top: 1rem;
}

/* Services Section */
.services-section {
  padding: var(--section-padding);
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  /* Add grid background pattern */
  composes: grid-bg-pattern-1;
}
.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='84' height='48' viewBox='0 0 84 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h12v6H0V0zm28 8h12v6H28V8zm14-8h12v6H42V0zm14 0h12v6H56V0zm0 8h12v6H56V8zM42 8h12v6H42V8zm0 16h12v6H42v-6zm14-8h12v6H56v-6zm14 0h12v6H70v-6zm0-16h12v6H70V0zM28 32h12v6H28v-6zM14 16h12v6H14v-6zM0 24h12v6H0v-6zm0 8h12v6H0v-6zm14 0h12v6H14v-6zm14 8h12v6H28v-6zm-14 0h12v6H14v-6zm28 0h12v6H42v-6zm14-8h12v6H56v-6zm0-8h12v6H56v-6zm14 8h12v6H70v-6zm0 8h12v6H70v-6zM14 24h12v6H14v-6zm14-8h12v6H28v-6zM14 8h12v6H14V8zM0 8h12v6H0V8z' fill='%23005a87' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  
}
.services-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  background-color: rgba(230, 126, 34, 0.05);
  border-radius: var(--border-radius-full);
  z-index: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Fixed 4 columns to prevent breaking */
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.service-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, rgba(230, 126, 34, 0.05), transparent);
  transition: var(--transition);
  z-index: -1;
}

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

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  color: var(--white);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  transition: var(--transition-bounce);
  box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
}

.service-card:hover .service-icon {
  transform: rotateY(180deg);
}

.service-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: 1rem;
  color: var(--dark-color);
  position: relative;
  padding-bottom: 0.75rem;
}

.service-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-gradient);
  border-radius: var(--border-radius-full);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: var(--font-size-md);
  line-height: var(--line-height-loose);
  flex-grow: 1;
}

.read-more {
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-bottom: 3px;
  align-self: flex-start;
}

.read-more::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.read-more:hover::after {
  width: 100%;
}

.read-more i {
  margin-left: 0.5rem;
  transition: var(--transition);
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Appointment Section */
.appointment-section {
  padding: var(--section-padding);
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
  /* Add grid background pattern */
  composes: grid-bg-pattern-2;
}

.appointment-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(230, 126, 34, 0.05);
  border-radius: var(--border-radius-full);
  
  
}

.appointment-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.appointment-text h2 {
  font-size: var(--font-size-3xl);
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  line-height: 1.3;
  position: relative;
  padding-bottom: 1rem;
}

.appointment-text h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: var(--border-radius-full);
}

.appointment-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: var(--font-size-lg);
  line-height: var(--line-height-loose);
}

.appointment-form {
  background-color: var(--bg-color);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.appointment-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--primary-gradient);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: var(--font-size-md);
  transition: var(--transition);
  background-color: var(--bg-secondary);
  color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
  background-color: var(--bg-color);
}

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

/* Testimonials Section */
.testimonials-section {
  padding: var(--section-padding);
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  /* Add grid background pattern */
  composes: grid-bg-pattern-3;
}

.testimonials-section::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  background-color: rgba(230, 126, 34, 0.05);
  border-radius: var(--border-radius-full);
  z-index: 0;
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

.testimonial {
  display: none;
  transform: translateX(50px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.testimonial.active {
  display: block;
  transform: translateX(0);
  opacity: 1;
}

.testimonial-content {
  background-color: var(--bg-color);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}

.testimonial-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.05), transparent);
  border-radius: var(--border-radius-lg);
  z-index: -1;
}

.quote-icon {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.3;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-loose);
  position: relative;
  z-index: 1;
}

.testimonial-author h4 {
  font-size: var(--font-size-lg);
  margin-bottom: 0.25rem;
  color: var(--dark-color);
}

.testimonial-author p {
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
  margin: 0;
  font-style: normal;
  font-size: var(--font-size-md);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.testimonial-btn {
  background-color: transparent;
  border: none;
  color: var(--dark-color);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-btn:hover {
  color: var(--primary-color);
  background-color: rgba(230, 126, 34, 0.1);
}

.testimonial-dots {
  display: flex;
  margin: 0 1rem;
  gap: 0.5rem;
}

.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  background-color: var(--gray);
}

.testimonial-dots .dot.active {
  background-color: var(--primary-color);
}

/* Team Preview Section */
.team-preview-section {
  padding: var(--section-padding);
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
}
.team-preview-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23005a87' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");

}


.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.team-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

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

.team-image {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.team-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.team-card:hover .team-image::before {
  opacity: 1;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

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

.team-info {
  padding: 1.5rem;
  text-align: center;
  position: relative;
}

.team-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: var(--border-radius-full);
}

.team-info h3 {
  font-size: var(--font-size-lg);
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.team-info p {
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 1rem;
  font-size: var(--font-size-md);
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-full);
  transition: var(--transition);
  color: var(--dark-color);
}

.team-social a:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.team-cta {
  text-align: center;
  margin-top: 3rem;
}

/* News Section */
.news-section {
  padding: var(--section-padding);
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  /* Add grid background pattern */
  composes: grid-bg-pattern-1;
}

.news-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  background-color: rgba(230, 126, 34, 0.05);
  border-radius: var(--border-radius-full);
  z-index: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.news-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.news-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.news-date {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--primary-gradient);
  color: var(--white);
  padding: 0.75rem;
  text-align: center;
  min-width: 70px;
  box-shadow: var(--shadow);
}

.news-date .day {
  display: block;
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.news-date .month {
  display: block;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-content h3 {
  font-size: var(--font-size-xl);
  margin-bottom: 1rem;
  color: var(--dark-color);
  line-height: 1.4;
}

.news-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: var(--font-size-md);
  line-height: var(--line-height-loose);
  flex-grow: 1;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: var(--primary-gradient);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-content p {
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--font-size-lg);
  line-height: var(--line-height-loose);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.cta-buttons .btn {
  padding: 1rem 2rem;
  font-size: var(--font-size-md);
}

.cta-buttons .btn-outline {
  background: transparent;
  border: 2px solid var(--white);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--white);
  position: relative;
}

.footer-top {
  padding: 5rem 0 3rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.footer-widget h3 {
  font-size: var(--font-size-xl);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
  color: var(--white);
}

.footer-widget h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: var(--border-radius-full);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 30%;
  margin-right: 1rem;
  filter: brightness(0) invert(1);
}

.footer-logo .logo-text h3 {
  font-size: var(--font-size-lg);
  margin-bottom: 0;
  padding-bottom: 0;
  color: var(--white);
}

.footer-logo .logo-text h3::after {
  display: none;
}

.footer-logo .logo-text h4 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-normal);
  color: var(--primary-color);
}

.about-widget p {
  margin-bottom: 1.5rem;
  color: var(--gray-light);
  line-height: var(--line-height-loose);
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-full);
  color: var(--white);
  transition: var(--transition);
}

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

.links-widget ul li,
.services-widget ul li {
  margin-bottom: 0.75rem;
}

.links-widget ul li a,
.services-widget ul li a {
  color: var(--gray-light);
  transition: var(--transition);
  display: inline-block;
  position: relative;
  padding-left: 15px;
}

.links-widget ul li a::before,
.services-widget ul li a::before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-color);
  transition: var(--transition);
}

.links-widget ul li a:hover,
.services-widget ul li a:hover {
  color: var(--primary-color);
  padding-left: 20px;
}

.contact-info li {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-info li i {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.contact-info li h4 {
  font-size: var(--font-size-md);
  margin-bottom: 0.25rem;
  color: var(--white);
}

.contact-info li p {
  color: var(--gray-light);
  line-height: var(--line-height-normal);
  margin: 0;
}

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

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--gray-light);
  font-size: var(--font-size-sm);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links li a {
  color: var(--gray-light);
  font-size: var(--font-size-sm);
  transition: var(--transition);
}

.footer-bottom-links li a:hover {
  color: var(--primary-color);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  color: var(--white);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: var(--z-fixed);
  box-shadow: var(--shadow-lg);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(230, 126, 34, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
  }
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-5px);
}

/* WhatsApp Floating Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--white);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: var(--z-fixed);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  font-size: 1.75rem;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.5;
  z-index: -1;
  animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Particles Animation */
.particle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  :root {
    --section-padding: 70px 0;
  }

  .hero-slider {
    height: 600px;
  }

  .slide-content h2 {
    font-size: var(--font-size-4xl);
  }

  .slide-content h3 {
    font-size: var(--font-size-2xl);
  }

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

@media (max-width: 992px) {
  :root {
    --section-padding: 60px 0;
  }

  .hero-slider {
    height: 500px;
  }

  .slide-content {
    padding: 0 3rem;
    max-width: 600px;
  }

  .slide-content h2 {
    font-size: var(--font-size-3xl);
  }

  .slide-content h3 {
    font-size: var(--font-size-xl);
  }

  .about-content {
    flex-direction: column;
    gap: 3rem;
  }

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

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

  .appointment-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 50px 0;
  }

  .header-top {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .logo {
    margin: 0 auto;
  }

  .contact-info {
    justify-content: center;
    flex-wrap: wrap;
  }

  nav {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
  }

  .main-menu {
    flex-direction: column;
    width: 100%;
    display: none;
    gap: 0;
  }

  .main-menu.active {
    display: flex;
  }

  .main-menu li {
    margin-right: 0;
    text-align: center;
  }

  .main-menu li a {
    padding: 0.75rem;
    border-bottom: 1px solid var(--gray);
  }

  .main-menu li a::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    box-shadow: none;
    display: none;
    padding: 0;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 0.75rem;
    text-align: center;
    background-color: var(--bg-secondary);
  }

  .social-icons {
    margin-top: 1rem;
    justify-content: center;
  }

  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .hero-slider {
    height: 450px;
  }

  .slide-content {
    padding: 0 2rem;
    text-align: center;
  }

  .slide-content h2 {
    font-size: var(--font-size-2xl);
  }

  .slide-content h3 {
    font-size: var(--font-size-lg);
  }

  .slide-content p {
    font-size: var(--font-size-md);
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .slider-btn.prev {
    left: 10px;
  }

  .slider-btn.next {
    right: 10px;
  }

  .about-text h2 {
    font-size: var(--font-size-2xl);
  }

  .section-header h2 {
    font-size: var(--font-size-2xl);
  }

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

  .cta-content h2 {
    font-size: var(--font-size-2xl);
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-bottom-links {
    justify-content: center;
  }

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

@media (max-width: 576px) {
  :root {
    --section-padding: 40px 0;
  }

  .hero-slider {
    height: 400px;
  }

  .slide-content h2 {
    font-size: var(--font-size-xl);
  }

  .slide-content h3 {
    font-size: var(--font-size-md);
  }

  .slide-content p {
    font-size: var(--font-size-sm);
    margin-top: 1rem;
  }

  .section-header h2 {
    font-size: var(--font-size-xl);
  }

  .about-text h2 {
    font-size: var(--font-size-xl);
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .appointment-form {
    padding: 1.5rem;
  }

  .testimonial-content {
    padding: 1.5rem;
  }

  .cta-content h2 {
    font-size: var(--font-size-xl);
  }

  .cta-content p {
    font-size: var(--font-size-md);
  }

  .footer-widget h3 {
    font-size: var(--font-size-lg);
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
    bottom: 20px;
    left: 20px;
    font-size: 1.5rem;
  }
}
