* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #ffffff;
  color: #1f2937;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

section {
  padding: 100px 0;
}

h2.section-title {
  font-size: 42px;
  margin-bottom: 20px;
  text-align: center;
  color: #0f172a;
}

.section-subtitle {
  text-align: center;
  color: #007DC6;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* NAVBAR */

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo-img {
  width: 65%;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  transition: 0.3s;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: #007DC6;
}

.menu-btn {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

/* HERO */

.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../img/Dentib.jpg") top/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 64px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  max-width: 700px;
  margin: auto;
  font-size: 20px;
  color: #e5e7eb;
  margin-bottom: 35px;
}

.btn {
  display: inline-block;
  background: #007DC6;
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #0891b2;
  transform: translateY(-3px);
}

/* ABOUT */

.about-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: 30px;
  height: 500px;
  object-fit: cover;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
  font-size: 42px;
  margin-bottom: 25px;
}

.about-text p {
  color: #4b5563;
  line-height: 1.9;
  margin-bottom: 20px;
}

/* SERVICES */

.services {
  background: #f8fafc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 25px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  border-radius: 20px;
  background: #cffafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.service-img {
  width: auto;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 24px;
}

.service-card p {
  color: #6b7280;
  line-height: 1.8;
}

/* GALLERY */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 25px;
}

.gallery-item img {
  height: 320px;
  object-fit: cover;
  transition: 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item {
  cursor: pointer;
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 2000;
  padding: 20px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 20px;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

.close-lightbox {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 50px;
  cursor: pointer;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* TEAM */

.team {
  background: #f8fafc;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.team-card {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-card img {
  height: 350px;
  object-fit: cover;
  object-position: center top;
}

.team-info {
  padding: 30px;
  text-align: center;
}

.team-info h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.team-info p {
  color: #007DC6;
  font-weight: 500;
}

/* FOOTER */

footer {
  background: #007DC6;
  color: white;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-col h3 {
  margin-bottom: 20px;
  font-size: 22px;
}

.footer-col p,
.footer-col li, .footer-address {
  color: #cbd5e1;
  line-height: 2;
  list-style: none;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}
