/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BODY ===== */

body {
  font-family: 'Poppins', sans-serif;

  /* fallback background */
  background: linear-gradient(rgba(255,255,255,0.75), rgba(255,255,255,0.30)),
              url("images/img (582).jpg") no-repeat center center/cover;

  background-attachment: fixed;
  color: #333;
}
  


html {
  scroll-behavior: smooth;
}

/* ===== NAVBAR (GLASS + PREMIUM) ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: 0.3s;
  background: rgba(0, 119, 182, 0.2);
  backdrop-filter: blur(10px);
}


header.scrolled {
  background: linear-gradient(90deg, #0077b6, #00b4d8);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
header.scrolled {
  padding: 15px 0; /* shrink effect on scroll */
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;  
}

.logo img {
  height: 70px;
  border-radius: 8px;
  width: 70px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 18px;
  position: relative;
  transition: 0.3s;
}

/* underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: white;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 90vh;
  background: url("images/Homepage.jpg") no-repeat center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  animation: zoomBg 12s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-top: 40px;
}

.hero-content h1 {
  font-size: 55px;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 25px;
}

.hero {
  animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* HERO SECTION OVERLAY */
.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* dark overlay */
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* MAIN HEADING */
.hero-content h1 {
  color: #ffffff;
  font-weight: 900;
  font-size: 48px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 12px rgba(0,0,0,0.8);
  animation: fadeSlide 1.5s ease-in-out;
}

/* SUBTEXT */
.hero-content p {
  color: #f1f1f1;
  font-size: 18px;
  margin: 15px 0;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.7);
}

/* BUTTON */
.hero-content .btn {
  display: inline-block;
  padding: 12px 25px;
  background: #007BFF;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

/* BUTTON HOVER EFFECT */
.hero-content .btn:hover {
  background: #0056b3;
  box-shadow: 0 0 15px rgba(0,123,255,0.7);
  transform: translateY(-2px);
}

/* TEXT ANIMATION */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button */
.btn {
  padding: 12px 28px;
  background: linear-gradient(45deg, #00b4d8, #0077b6);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
}

/* zoom bg */
@keyframes zoomBg {
  from { background-size: 100%; }
  to { background-size: 110%; }
}

/* ===== SECTIONS ===== */
section {
  padding: 80px 20px;
  text-align: center;
}

h2 {
  margin-bottom: 20px;
  color: #0077b6;
}

/* ===== GRID ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
  margin-top: 20px;
}

/* ===== CARDS ===== */
.card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* ===== SERVICES IMAGE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

/* CARD */
.service-card {
  position: relative;
  height: 280px; /* 🔥 big cards */
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;
  font-weight: bold;

  transition: 0.4s;
}

/* Background images for each card */
.service-card:nth-child(1) {
  background: url("images/img (137).jpg") center/cover no-repeat;
}

.service-card:nth-child(2) {
  background: url("images/img (347).jpg") center/cover no-repeat;
}

.service-card:nth-child(3) {
  background: url("images/home.png") center/cover no-repeat;
}

.service-card:nth-child(4) {
  background: url("images/img (378).jpg") center/cover no-repeat;
}

/* Overlay */
.service-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  transition: 0.3s;
}

/* Text */
.service-card h3 {
  position: relative;
  z-index: 1;
}

/* Hover effect 🔥 */
.service-card:hover {
  transform: scale(1.05);
}

.service-card:hover .overlay {
  background: rgba(0,0,0,0.2);
}

#services {
  scroll-margin-top: 90px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 80px 20px;
  background: #f4f9ff;
}

/* FLEX CONTAINER */
.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}

/* TEXT */
.about-text {
  flex: 1;
}

.about-text h2 {
  color: #0077b6;
  margin-bottom: 15px;
}

.about-text p {
  line-height: 1.6;
  margin-bottom: 10px;
}

/* IMAGE */
.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
}

/* ===== WHY SECTION ULTRA PREMIUM ===== */

#why {
  background: linear-gradient(135deg, #f0f8ff, #e6f7ff);
  padding: 90px 20px;
  text-align: center;
  overflow: hidden;
}

/* HEADING */
#why h2 {
  font-size: 34px;
  color: #0077b6;
  margin-bottom: 50px;
  font-weight: 700;
}

/* GRID → HORIZONTAL SCROLL (SLIDER STYLE) */
#why .grid {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

/* HIDE SCROLLBAR */
#why .grid::-webkit-scrollbar {
  display: none;
}

/* CARD */
#why .card {
  min-width: 280px;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 25px;
  text-align: left;

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;

  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
}

/* GRADIENT BORDER EFFECT */
#why .card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(45deg, #0077b6, #00b4d8);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

/* ICON */
#why .icon {
  font-size: 28px;
  margin-bottom: 10px;
}

/* TITLE */
#why .card h3 {
  color: #0077b6;
  margin-bottom: 10px;
  font-size: 18px;
}

/* TEXT */
#why .card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* HOVER EFFECT 🔥 */
#why .card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* FADE IN ANIMATION */
#why .card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s forwards;
}

/* STAGGER */
#why .card:nth-child(1) { animation-delay: 0.1s; }
#why .card:nth-child(2) { animation-delay: 0.2s; }
#why .card:nth-child(3) { animation-delay: 0.3s; }
#why .card:nth-child(4) { animation-delay: 0.4s; }
#why .card:nth-child(5) { animation-delay: 0.5s; }
#why .card:nth-child(6) { animation-delay: 0.6s; }
#why .card:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* RESPONSIVE */
@media (max-width: 768px) {

  #why h2 {
    font-size: 26px;
  }

  #why .card {
    min-width: 240px;
  }
}
#why .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    max-width: 100%;
  }
}

#about {
  scroll-margin-top: 120px;
}

@media (max-width: 768px) {
  #why .grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  transition: 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.07);
}

/* Explore Button */
.explore-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 25px;
  background: #0077b6;
  color: white;
  border-radius: 25px;
  transition: 0.3s;
}

.explore-btn:hover {
  background: #023e8a;
}

/* ===== CONTACT ===== */
.contact-section {
  max-width: 900px;
  margin: auto;
}

.contact-info p {
  font-size: 18px;
  margin: 8px 0;
}

#contact {
  scroll-margin-top: 90px;
}

/* Rating */
.rating-box {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stars span {
  font-size: 40px;
  cursor: pointer;
  color: #ccc;
}

.stars span.active {
  color: gold;
}

/* Input */
textarea {
  width: 100%;
  height: 80px;
  padding: 10px;
  margin-top: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

button {
  margin-top: 10px;
  padding: 10px 20px;
  background: #0077b6;
  color: white;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #023e8a;
}

/* Reviews */
.review-card {
  background: white;
  padding: 12px;
  margin-top: 10px;
  border-radius: 8px;
}

.review-card button {
  margin-top: 8px;
  margin-right: 5px;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 5px;
}

.review-card button:first-of-type {
  background: #2196f3;
  color: white;
}

.review-card button:last-of-type {
  background: red;
  color: white;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 200;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
}

.lightbox-img {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  nav{
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    }

  .nav-links {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content p {
    font-size: 16px;
  }

  section {
    padding: 50px 15px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stars span {
    font-size: 32px;
  }
}

.fallback-text {
  position: fixed;
  inset: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: white;

  z-index: 0;
  pointer-events: none;
}

.fallback-text h1 {
  font-size: 40px;
  background: rgba(0,0,0,0.4);
  padding: 15px 25px;
  border-radius: 10px;
}

.learn-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: linear-gradient(90deg, #0077b6, #00b4d8);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}

.learn-btn:hover {
  background: linear-gradient(90deg, #005f8e, #0096c7);
  transform: translateY(-2px);
}
/* HERO IMAGE */
.about-hero {
  height: 60vh;
  background: url("images/About-us1.jpg") no-repeat center/cover;
  position: relative;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* TEXT */
.hero-overlay h1 {
  color: white;
  font-size: 40px;
}

.hero-overlay p {
  color: white;
}

/* HOME BUTTON */
.home-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background: white;
  color: #0077b6;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  z-index: 2;
}
.home-btn {
  background: rgba(255,255,255,0.2);
  color: white;
  backdrop-filter: blur(10px);
}
/* ===== About-FOOTER  ===== */
footer {
  background: #0077b6;   /* blue theme */
  color: white;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
}

/* Footer text */
footer p {
  margin: 0;
  font-size: 14px;
}
h1 {
  color: #007BFF;
  margin-bottom: 20px;
}
p {
  line-height: 1.6;
}

#video-link {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.video-card {
  display: block;
  width: 280px;
  padding: 30px;
  text-align: center;
  background: #f5f5f5;
  border-radius: 12px;
  text-decoration: none;
  color: black;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: 0.3s;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.video-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.video-card h3 {
  color: #007BFF;
  margin-bottom: 10px;
}

.video-card p {
  font-size: 14px;
  color: #555;
}

.map-container {
  margin-top: 20px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.map-box {
  width: 100%;
  height: 300px;   
  border-radius: 15px;
  overflow: hidden;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.social-icons a{
    font-size:30px;
    margin:15px;
    text-decoration:none;
    color:rgb(8, 173, 250);
    transition:0.3s;
}

.social-icons a:hover{
    color:#b91111;
}

/* ========================= */
/* Mobile Hamburger Menu */
/* ========================= */

.menu-toggle{
    display:none;
    font-size:32px;
    color:#fff;
    cursor:pointer;
}

@media(max-width:768px){

.menu-toggle{
    display:block;
}

.nav-links{
    position:absolute;
    top:80px;
    left:0;
    width:100%;
    background:#0077b6;
    display:none;
    flex-direction:column;
    text-align:center;
    padding:20px 0;
    gap:20px;
}

.nav-links.active{
    display:flex;
}

}
