/* 
  Dental Clinic Landing Page Styles
  Color Palette:
  Primary: #0A1628
  White: #FFFFFF
  Accent Background: #E8F4FD
  Accent/CTA: #00B4D8
*/

:root {
  --primary-color: #0A1628;
  --primary-light: #162a4a;
  --white: #FFFFFF;
  --accent-bg: #E8F4FD;
  --accent-color: #00B4D8;
  --accent-hover: #0096b8;
  --text-main: #333333;
  --text-light: #666666;
  --border-color: #e2e8f0;
  
  --font-heading: 'Cairo', sans-serif;
  --font-body: 'Tajawal', sans-serif;
  
  --transition: all 0.3s ease;
  --box-shadow: 0 10px 30px rgba(10, 22, 40, 0.05);
  --box-shadow-hover: 0 20px 40px rgba(0, 180, 216, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  line-height: 1.3;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography Utility */
.highlight {
  color: var(--accent-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
}

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

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

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 15px 25px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 180, 216, 0.4);
  z-index: 1000;
  animation: pulse 2s infinite;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.floating-cta.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-cta:hover {
  animation: none;
  transform: scale(1.05);
  background-color: var(--primary-color);
  color: var(--white);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 180, 216, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
  }
}

/* Navigation */
.navbar {
  padding: 20px 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 60px;
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(232,244,253,0.5) 100%);
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21c-3.3 0-6-2.7-6-6v-2c0-3.3 2.7-6 6-6s6 2.7 6 6v2c0 3.3-2.7 6-6 6z' stroke='%230A1628' stroke-width='2'/%3E%3Cpath d='M12 7c-1.1 0-2 .9-2 2v1c0 1.1.9 2 2 2s2-.9 2-2V9c0-1.1-.9-2-2-2z' stroke='%230A1628' stroke-width='2'/%3E%3C/svg%3E");
  z-index: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-color);
  box-shadow: var(--box-shadow);
  margin-bottom: 24px;
}

.badge-icon {
  background-color: #E8F4FD;
  color: var(--accent-color);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.hero-image-placeholder {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.abstract-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background-color: rgba(0, 180, 216, 0.2);
  top: 10%;
  right: 10%;
}

.shape-2 {
  width: 250px;
  height: 250px;
  background-color: rgba(10, 22, 40, 0.1);
  bottom: 10%;
  left: 20%;
}

.hero-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 30px;
  border-radius: 24px;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.card-icon {
  background-color: var(--accent-bg);
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.card-desc {
  color: var(--text-light);
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background-color: transparent;
  transition: var(--transition);
}

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

.service-card:hover::before {
  background-color: var(--accent-color);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-bg);
  color: var(--accent-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--accent-color);
  color: var(--white);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-desc {
  color: var(--text-light);
}

/* Trust Section */
.trust {
  padding: 100px 0;
  background-color: var(--primary-color);
  color: var(--white);
}

.trust .section-title {
  color: var(--white);
  text-align: right;
  margin-bottom: 20px;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.trust-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.trust-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.trust-features li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
  font-weight: 500;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
  background-color: var(--white);
  padding: 80px 0 20px;
  border-top: 1px solid var(--border-color);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--text-light);
  max-width: 400px;
}

.footer h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.footer-links ul, .footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links a, .footer-contact li {
  color: var(--text-light);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container, .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .trust .section-title {
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand .logo {
    justify-content: center;
  }
  
  .footer-brand p {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-btn {
    display: none; /* simple mobile approach for now */
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
