:root {
  --primary-color: #2c5aa0;
  --secondary-color: #f8f9fa;
  --accent-color: #ff6b35;
  --text-dark: #2d3748;
  --text-light: #718096;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
  --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #e53e3e 100%);
  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background-color: #f8fafc;
}

/* Navigation */
.custom-navbar {
  background: var(--white);
  box-shadow: var(--shadow-light);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-color) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.navbar-brand i {
  margin-right: 0.5rem;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
  background: rgba(44, 90, 160, 0.1);
}

.navbar-nav .nav-link.active {
  color: var(--white) !important;
  background: var(--gradient-primary);
}

/* Page Header */
.page-header {
  background: var(--gradient-primary);
  padding: 8rem 0 4rem;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/buzdolabi.png') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* Services List */
.services-list {
  padding: 6rem 0;
  background: var(--white);
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.service-thumbnail {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease;
}

.service-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-thumbnail img {
  transform: scale(1.05);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.service-desc {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  flex-grow: 1;
}

.service-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.btn-detail, .btn-appointment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-detail {
  background: var(--primary-color);
  color: white;
  flex: 1;
}

.btn-detail:hover {
  background: #1e3a8a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 90, 160, 0.2);
}

.btn-appointment {
  background: var(--gradient-accent);
  color: white;
  flex: 2;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.btn-appointment:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
}

/* CTA Section */
.cta-section {
  background: var(--gradient-primary);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/buzdolabi.png') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.btn-custom-primary {
  background: var(--gradient-accent);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-custom-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, #e53e3e 0%, #ff6b35 100%);
  transition: all 0.5s ease;
  z-index: -1;
}

.btn-custom-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 107, 53, 0.4);
}

.btn-custom-primary:hover::before {
  width: 100%;
}

/* Footer */
.custom-footer {
  background: var(--text-dark);
  color: white;
  padding: 4rem 0 1rem;
  padding-bottom: 70px;
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 3px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
}

.footer-link:hover {
  color: var(--accent-color);
  padding-left: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-title {
    font-size: 2.5rem;
  }
  
  .cta-title {
    font-size: 2.2rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2.2rem;
  }
  
  .page-subtitle, .cta-subtitle {
    font-size: 1.1rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .service-actions {
    flex-direction: column;
  }
  
  .btn-detail, .btn-appointment {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .page-header {
    padding: 6rem 0 3rem;
  }
  
  .page-title {
    font-size: 1.8rem;
  }
  
  .cta-title {
    font-size: 1.8rem;
  }
  
  .btn-custom-primary {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

