/* Base styles and variables */
:root {
  /* Main color palette - black and white theme */
  --primary-color: #000000;     /* Black - main brand color */
  --primary-dark: #1a1a1a;      /* Very dark gray - for interactions */
  --secondary-color: #444444;   /* Medium gray - for secondary elements */
  --accent-color: #e0e0e0;      /* Light gray - for highlights */
  --accent-contrast: #888888;   /* Medium gray - for buttons/links */
  
  /* Grayscale palette for clear hierarchy */
  --text-color: #333333;        /* Dark gray for text */
  --text-light: #777777;        /* Light gray for secondary text */
  --light-color: #ffffff;       /* White for backgrounds */
  --light-gray: #f5f5f5;        /* Very light gray for alternate backgrounds */
  --medium-gray: #cccccc;       /* Medium gray for borders */
  --dark-color: #1a1a1a;        /* Very dark gray - almost black */
  
  /* Functional colors */
  --success-color: #666666;     /* Gray for success states */
  --warning-color: #aaaaaa;     /* Light gray for warnings */
  --error-color: #444444;       /* Dark gray for errors */
  
  /* Spacing and sizing */
  --border-radius: 4px;
  --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --content-width: 900px;       /* Wider content width */
  
  /* Typography */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Open Sans', sans-serif;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--body-font);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
  font-size: 1rem;
  font-weight: 400;
}

/* Typography - clear hierarchical scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-color);
  letter-spacing: -0.01em;
}

h1 {
  font-size: 3.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  position: relative;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.5rem;
  max-width: var(--content-width);
  font-size: 1.05rem;
}

/* Links with clear states */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 600;
}

a:hover, a:focus {
  color: var(--secondary-color);
  text-decoration: none;
}

a:focus {
  outline: 3px solid rgba(33, 64, 131, 0.3);
  outline-offset: 2px;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  display: block;
}

/* Focus states for accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(33, 64, 131, 0.3);
  outline-offset: 2px;
}

/* Container - controlled width prevents excessive line length */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section spacing for visual breathing room */
section {
  padding: 5rem 0;
}

section + section {
  padding-top: 0;
}

/* Header with consistent positioning and visual prominence */
header {
  background-color: var(--light-color);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.75rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

.logo-icon {
  margin-right: 0.5rem;
  color: var(--secondary-color);
}

.logo:hover {
  text-decoration: none;
  color: var(--primary-dark);
}

/* Navigation with clear active states and spacing */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-menu li {
  margin-left: 2.25rem;
}

.nav-menu a {
  color: var(--text-color);
  position: relative;
  padding: 0.5rem 0;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

.nav-menu a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

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

/* Mobile navigation toggle - hidden on desktop */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero section with black and white styling */
.hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  height: 80vh;
  min-height: 700px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 650px;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-color);
  line-height: 1.6;
}

/* Clear call-to-action buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 2px 5px rgba(33, 64, 131, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(33, 64, 131, 0.4);
  color: white;
  text-decoration: none;
}

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

.btn-secondary:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(33, 64, 131, 0.15);
  color: var(--primary-color);
  text-decoration: none;
  border-color: var(--accent-contrast);
}

/* Section titles with consistent styling */
.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  display: inline-block;
  margin-bottom: 1rem;
  position: relative;
  color: var(--primary-color);
}

.section-title h2:after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-title p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 1.5rem auto 0;
}

/* Section subtitles */
.section-subtitle {
  display: inline-block;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--secondary-color);
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

/* Projects/Services grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.project-card {
  background: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  position: relative;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.project-image {
  height: 250px;
  overflow: hidden;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.project-content p {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

/* Tags for visual categorization */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.tag {
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Doctor/Team section */
.team-section {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

.team-card {
  background: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.team-image {
  height: 300px;
  overflow: hidden;
  background-color: var(--light-gray);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.team-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.team-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.team-content .role {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  position: relative;
}

.team-button-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.team-button {
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  flex: 1;
  text-align: center;
}

/* Stats section with black background */
.stats-section {
  background-color: var(--primary-color);
  padding: 5rem 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  text-align: center;
}

.stat-item {
  padding: 2rem 1.5rem;
}

.stat-number {
  font-size: 3.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1;
  font-family: var(--heading-font);
}

.stat-label {
  font-size: 1.1rem;
  color: white;
  font-weight: 500;
  opacity: 0.85;
}

/* Testimonials with clear visual distinction */
.testimonials-section {
  background-color: var(--light-gray);
  padding: 5.5rem 0;
  position: relative;
}

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

.testimonial-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 2.25rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--accent-color);
}

.testimonial-content {
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 0;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  background: var(--accent-color);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.author-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  color: var(--primary-color);
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--text-light);
}

/* CTA section with black and white gradient */
.cta-section {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 5rem 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.05);
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin: 0 auto 2rem;
  max-width: 700px;
}

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

.btn-white {
  background-color: white;
  color: var(--primary-color);
  font-weight: 600;
}

.btn-white:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.btn-outline-white {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Procedure gallery section */
.gallery-section {
  padding: 4rem 2rem;
  background-color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: white;
  padding: 20px 15px;
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Contact section with clear visual grouping */
.contact {
  background-color: var(--light-color);
  padding: 5rem 0;
  border-top: 1px solid var(--medium-gray);
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-method i {
  width: 45px;
  height: 45px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-right: 1rem;
  font-size: 1.25rem;
}

.contact-method p {
  margin-bottom: 0;
  font-weight: 500;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: var(--transition);
  font-size: 1.25rem;
}

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

/* Footer with black background */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-right: 2rem;
}

.footer-logo .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
  margin-bottom: 1rem;
}

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

.footer-column h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  font-weight: 400;
}

.footer-column a:hover {
  color: white;
  text-decoration: none;
  padding-left: 5px;
}

.footer-column li {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Quick navbar at top */
.quick-navbar {
  background-color: var(--primary-dark);
  padding: 0.5rem 0;
  color: white;
}

.quick-navbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}

.quick-navbar a {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quick-navbar a:hover {
  color: var(--accent-color);
}

.quick-navbar .quick-contact {
  display: flex;
  gap: 1.5rem;
}

.quick-navbar .quick-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-navbar .social-quick-links {
  display: flex;
  gap: 0.75rem;
}

.quick-navbar .social-quick-links a {
  font-size: 0.9rem;
}

/* Video Section */
.video-section {
  padding: 4rem 2rem;
  background-color: var(--gray-100);
}

.video-container {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.video-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.video-container img {
  width: 100%;
  height: auto;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.video-container:hover .video-overlay {
  background-color: rgba(0, 0, 0, 0.3);
}

.play-button {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.play-button:hover {
  transform: scale(1.1);
  background-color: #182f60;
}

.play-button::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 25px solid white;
  margin-left: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .play-button {
    width: 60px;
    height: 60px;
  }
  
  .play-button::after {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid white;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
} 