:root {
  --primary-color: #2d3436;
  --secondary-color: #636e72;
  --accent-color: #0984e3;
  --text-color: #2d3436;
  --text-light: #b2bec3;
  --bg-color: #ffffff;
  --bg-light: #f5f6fa;
  --border-radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition-slow: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* Header */
header {
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
  transition: var(--transition);
}

header.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--primary-color);
  transition: var(--transition);
  z-index: 101;
}

.logo:hover {
  color: var(--accent-color);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  position: relative;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation */
.nav-menu ul {
  display: flex;
  list-style: none;
}

.nav-menu ul li {
  margin-left: 30px;
}

.nav-menu ul li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  padding: 10px 0;
}

.nav-menu ul li a:after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-menu ul li a:hover {
  color: var(--accent-color);
}

.nav-menu ul li a:hover:after,
.nav-menu ul li.active a:after {
  width: 100%;
}

.nav-menu ul li.active a {
  color: var(--accent-color);
}

/* Main content */
main {
  padding-top: 80px;
  min-height: calc(100vh - 120px);
  overflow: hidden;
}

/* Hero section */
.hero {
  /* Ensure the hero always fills the viewport so the bg-light covers the page */
  min-height: 100vh;
  display: flex;
  /* Align to the top so the hero title sits at the same vertical position as
     the contact page title which starts near the top. On small screens we
     keep centered for better UX. */
  align-items: flex-start;
  text-align: center;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
  /* compensate fixed header so content isn't hidden */
  padding-top: 120px;
  padding-bottom: 40px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, rgba(9, 132, 227, 0.05) 0%, rgba(172, 203, 238, 0.1) 100%); */
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 300;
  margin-bottom: 2.5rem; /* larger gap to buttons */
  color: var(--primary-color);
  line-height: 1.25;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem; /* more breathing room */
}

/* hide feature and cta sections to keep homepage minimal */
.featured,
.cta-section {
  display: none !important;
}

/* Ensure rotated images keep correct origin and animate nicely */
.image-wrapper img,
.image-preview img {
  transform-origin: center;
  transition: transform 0.3s ease;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
  box-shadow: 0 4px 15px rgba(9, 132, 227, 0.3);
}

.btn-primary:hover {
  background-color: #0773c5;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(9, 132, 227, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(45, 52, 54, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(9, 132, 227, 0.3);
}

.btn:active {
  transform: translateY(-1px);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  background-color: var(--bg-light);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-weight: 600;
}

.feature-card p {
  color: var(--secondary-color);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--accent-color) 0%, #0773c5 100%);
  color: white;
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.cta-text h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 15px;
  line-height: 1.2;
}

.cta-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background-color: white;
  color: var(--accent-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-primary:hover {
  background-color: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-outline {
  border-color: white;
  color: white;
}

.cta-section .btn-outline:hover {
  background-color: white;
  color: var(--accent-color);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.text-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.text-link:hover {
  color: #0773c5;
}

.text-link:hover::after {
  width: 100%;
}

/* Gallery */
.gallery-container {
  padding: 60px 0 100px;
  background-color: var(--bg-light);
}

/* Make page-level light-background sections fill the viewport height
   (subtract header height to avoid overlap with fixed header) */
.about-hero,
.gallery-container,
.error-container {
  /* Always at least the full viewport height so the bg covers the screen */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* compensate fixed header so content isn't hidden behind it */
  padding-top: 120px;
  padding-bottom: 40px;
}

/* Contact should start near the top (not vertically centered) so the title
   aligns with gallery titles and the following text appears directly below */
.contact-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 120px;
  padding-bottom: 40px;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 50px;
  text-align: center;
  color: var(--primary-color);
  position: relative;
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--accent-color);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  transform: translateY(0);
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: white;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .image-overlay {
  opacity: 1;
}

.image-overlay h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
  transform: translateY(20px);
  transition: var(--transition-slow);
}

.gallery-item:hover .image-overlay h3 {
  transform: translateY(0);
}

.view-more {
  font-size: 0.9rem;
  opacity: 0.8;
  transform: translateY(20px);
  transition: var(--transition-slow);
}

.gallery-item:hover .view-more {
  transform: translateY(0);
}

.no-images {
  grid-column: 1/-1;
  text-align: center;
  padding: 100px 0;
  color: var(--secondary-color);
  font-size: 1.2rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.page-numbers {
  display: flex;
  gap: 8px;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.page-link:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-link.active {
  background-color: var(--accent-color);
  color: white;
}

.page-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.prev, .next {
  font-weight: 700;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.95);
  opacity: 0;
  transition: var(--transition);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
  opacity: 1;
}

.lightbox-image-container {
  width: 100%;
  max-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 60vh;
  display: block;
  object-fit: contain;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

.lightbox-info {
  width: 100%;
  margin-top: 15px;
  color: white;
  text-align: center;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s ease 0.2s;
}

.lightbox.active .lightbox-info {
  transform: translateY(0);
  opacity: 1;
}

.lightbox-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.lightbox-description {
  font-size: 0.9rem;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 20px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1100;
  padding: 0;
  transition: all 0.2s ease;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  z-index: 1100;
}

.lightbox-prev {
  left: 15px;
}

.lightbox-next {
  right: 15px;
}

.lightbox-close:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(0, 0, 0, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.8rem;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 3px 10px;
  border-radius: 20px;
}

/* Loading styles */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  flex-direction: column;
}

.loading-spinner {
  text-align: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(9, 132, 227, 0.1);
  border-left: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.load-more-btn {
  display: block;
  margin: 30px auto;
  position: relative;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-left: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-right: 8px;
}

.no-more-images {
  text-align: center;
  padding: 40px 0;
  color: var(--secondary-color);
}

.error-message {
  grid-column: 1/-1;
  text-align: center;
  padding: 40px;
  background-color: #ff6b6b;
  color: white;
  border-radius: var(--border-radius);
  margin: 20px 0;
}

/* Lazy loading images */
.lazy-image {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy-image.loaded {
  opacity: 1;
}

/* Error page */
.error-container {
  text-align: center;
  padding: 150px 0;
  background-color: var(--bg-light);
}

.error-container h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.error-container p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

/* Animation classes */
.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-text.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Keep hero vertically centered on small screens */
@media (max-width: 768px) {
  .hero {
    align-items: center;
    padding-top: 120px;
  }
}

.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* About Page */
.about-hero {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

.about-image {
  position: relative;
  text-align: center;
}

.avatar {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about-text .page-title {
  text-align: left;
  margin-bottom: 30px;
}

.about-intro {
  margin-bottom: 40px;
}

.lead {
  font-size: 1.3rem;
  color: var(--accent-color);
  font-weight: 500;
  line-height: 1.5;
}

.about-details h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
  font-weight: 500;
}

.about-details h3 {
  color: var(--primary-color);
  margin: 30px 0 15px;
  font-size: 1.3rem;
  font-weight: 500;
}

.about-details p {
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.7;
}

.specialties-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.specialties-list li {
  padding: 8px 15px;
  background-color: var(--bg-color);
  border-radius: 25px;
  color: var(--primary-color);
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.specialties-list li:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-2px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item {
  padding: 40px 30px;
  border-radius: var(--border-radius);
  background-color: var(--bg-light);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.stat-label {
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 1.1rem;
}

/* Contact Page */
.contact-container {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-info {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-info > p {
  color: var(--secondary-color);
  margin-bottom: 40px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  width: 100%;
  max-width: 520px;
  justify-content: center;
}

.contact-method:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details h3 {
  margin-bottom: 8px;
  color: var(--primary-color);
  font-weight: 600;
}

.contact-details a,
.contact-details p {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

.contact-details a:hover {
  color: var(--accent-color);
}

.contact-details {
  text-align: center;
}
/* Contact form styles removed (form was deleted from the template). */

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
}

.form-group.focused label {
  color: var(--accent-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(9, 132, 227, 0.1);
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #ff6b6b;
  background-color: #fff5f5;
}

.field-error {
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.char-counter {
  position: absolute;
  bottom: -20px;
  right: 0;
  font-size: 0.8rem;
  color: var(--text-light);
}

.char-counter.warning {
  color: #ff6b6b;
}

/* Submit button styles removed (no contact form). */

/* Responsive - About & Contact */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .about-text .page-title {
    text-align: center;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 600px;
  }
  
  .stat-item {
    padding: 30px 25px;
  }
  
  .stat-number {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .container {
    width: 95%;
  }
  
  /* Mobile header */
  header {
    padding: 12px 0;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: right 0.3s ease;
    z-index: 100;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 30px;
  }
  
  .nav-menu ul li {
    margin: 0;
  }
  
  .nav-menu ul li a {
    font-size: 1.5rem;
    padding: 15px 30px;
    display: block;
    text-align: center;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  /* Main content mobile */
  main {
    padding-top: 70px;
  }
  
  /* Hero mobile */
  .hero {
    min-height: calc(100vh - 140px);
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 0 10px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
    min-width: 200px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }
  
  .feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  
  /* CTA mobile */
  .cta-section {
    padding: 60px 0;
  }
  
  .cta-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .cta-text h2 {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  
  .cta-text p {
    font-size: 1rem;
  }
  
  .cta-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  /* Extra small phones */
  .container {
    width: 95%;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .cta-text h2 {
    font-size: 1.8rem;
  }
  
  .features-grid {
    gap: 20px;
  }
  
  .feature-card {
    padding: 25px 15px;
  }
}

/* Landscape phones */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    height: auto;
    min-height: 80vh;
    padding: 40px 0;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
  
  .lightbox-content img {
    max-height: 70vh;
  }
}
