/* ===========================
   GLOBAL BACKGROUND SETTINGS
   =========================== */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

/* Dark overlay on all pages */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  z-index: -1;
}


/* ===========================
   PAGE BACKGROUNDS
   =========================== */

.home-bg {
  background-image: url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=2000&q=80") !important;
}

.about-bg {
  background-image: url("https://images.unsplash.com/photo-1467003909585-2f8a72700288?auto=format&fit=crop&w=2000&q=80") !important;
}

.gallery-bg {
  background-image: url("https://images.unsplash.com/photo-1504754524776-8f4f37790ca0?auto=format&fit=crop&w=2000&q=80") !important;
}

.speciality-bg {
  background-image: url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=2000&q=80") !important;
}

/* Improved background for YouTube page */
.youtube-bg {
  background-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=2000&q=80") !important;
}

.contact-bg {
  background-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=2000&q=80") !important;
}


/* ===========================
   NAVBAR
   =========================== */

nav {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  padding: 15px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 35px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: 0.3s;
}

nav ul li a:hover {
  color: orange;
}


/* ===========================
   GLASS EFFECT (ALL PAGES)
   =========================== */

.glass {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 18px;
  margin: 40px auto;
  width: 85%;
  max-width: 1200px;
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
}


/* ===========================
   HOME PAGE
   =========================== */

.home-hero {
  text-align: center;
  width: 70%;
  max-width: 750px;
  margin: 80px auto 40px auto;
}

.profile {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid rgba(255,255,255,0.6);
}

.cta-btn {
  margin-top: 25px;
  padding: 14px 30px;
  background: #ffa600;
  color: black;
  font-size: 18px;
  border-radius: 10px;
  text-decoration: none;
}

.cta-btn:hover {
  background: #ffca52;
}


/* ===========================
   GALLERY PAGE
   =========================== */

.page-title {
  text-align: center;
  margin-top: 25px;
  font-size: 32px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  padding: 20px;
}

.gallery img {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.7);
}


/* ===========================
   SPECIALITY PAGE
   =========================== */

.speciality-list {
  font-size: 22px;
  list-style: square;
  padding-left: 40px;
  line-height: 1.8;
}


/* ===========================
   CONTACT PAGE
   =========================== */

.social {
  list-style: none;
  padding: 0;
}

.social li {
  margin: 10px 0;
}

.social a {
  color: #00c8ff;
  font-size: 20px;
  text-decoration: none;
}

.social a:hover {
  text-decoration: underline;
}


/* ===========================
   CATEGORY BUTTONS (YouTube)
   =========================== */

.category-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.cat-btn {
  padding: 10px 20px;
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.cat-btn:hover {
  background: rgba(255,255,255,0.35);
}

.cat-btn.active {
  background: orange;
  color: black;
}


/* ===========================
   YOUTUBE VIDEO GRID (MODERN)
   =========================== */

.video-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.video-card {
  background: rgba(255,255,255,0.15);
  padding: 15px;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: 0.3s;
  cursor: pointer;
}

.video-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
  transition: transform 0.3s;
}

.video-card h3 {
  font-size: 18px;
  color: white;
}

.video-card:hover {
  background: rgba(255,255,255,0.25);
}

.video-card:hover img {
  transform: scale(1.06);
}
