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

.body {
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: rgb(3, 3, 25);
  color: #333;
  scroll-behavior: smooth;
}

/* Navbar */
header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px 60px;
  background-color: #ffffffb9;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  color: #f2f2f2;
}
.logo span {
  color: #ffffff;
}
.logo span1{
color: rgb(248, 248, 241);

}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.3s, border-bottom 0.3s;
  padding-bottom: 4px;
}

nav ul li a.active,
nav ul li a:hover {
  color: #e63946;
  border-bottom: 2px solid #e63946;
}

/* Hero */
.hero {
  text-align: center;
  padding: 100px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.15); /* translucent white */
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.hero:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
}


.io{
  position: relative;
  padding: 100px 20px;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  transition: transform 0.5s ease, box-shadow 0.4s;
  
}
.hero h1 {
  font-size: 100px;
  color: #ffffff;
  color: white;
  -webkit-text-stroke: 0.5px black; /* border around font */
  
  font-family: "Rock Salt", "Brush Script MT", "Comic Sans MS", "Apple Chancery", "Segoe Script", Arial, sans-serif;
}
.span1 {
  color: #fffffe;
  font-family: "Rock Salt", "Brush Script MT", "Comic Sans MS", "Apple Chancery", "Segoe Script", Arial, sans-serif;
  color: white;
  -webkit-text-stroke: 0.5px black; /* border around font */
  
}
.span{
  color:rgb(255, 255, 255);
  font-family: "Rock Salt", "Brush Script MT", "Comic Sans MS", "Apple Chancery", "Segoe Script", Arial, sans-serif;
  color: white;
  -webkit-text-stroke: 0.5px black; /* border around font */
  
}

.hero h3 {
  font-weight: 600;
  color: #c0392b;
  margin-top: 10px;
}

.hero p {
  max-width: 700px;
  margin: 20px auto;
  line-height: 1.7;
  color: #c4ad00;
}

/* Branch Cards */
.branches {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
}

.branch-card {
  position: relative;
  width: 600px;
  height: 450px;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  transition: transform 0.5s ease, box-shadow 0.4s;
  cursor: pointer;
}

.branch-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.branch-info {
  position: absolute;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
  width: 100%;
  padding: 20px;
}

.gampaha {
  background: url('image2.jpeg') center/cover no-repeat;
}

.negombo {
  background: url('image1.jpeg') center/cover no-repeat;
}

.branch-tag {
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  color: #ffdc73;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.gampaha-btn {
  background: #e74c3c;
  color: #fff;
}
.gampaha-btn:hover {
  background: #c0392b;
  transform: scale(1.05);
}

.negombo-btn {
  background: #27ae60;
  color: #fff;
}
.negombo-btn:hover {
  background: #1e8449;
  transform: scale(1.05);
}

/* Footer */
footer {
  background: #000000;
  padding: 60px 60px 20px;
  margin-top: 100px;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.08);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo h3 {
  color: #e67e22;
  font-weight: 700;
}

.footer-contact h4 {
  color: #27ae60;
}

.footer-bottom {
  color: #b7b7b7;
  font-size: 14px;
  margin-top: 25px;
  margin-bottom: 10px;
}
.footer-contact p {
  color: #b7b7b7;
}.footer-logo p {
  color: #b7b7b7;
}

/* Animation on Scroll */
[data-aos] {
  transition-property: transform, opacity;
}

/* ===================== */
/* RESPONSIVE DESIGN */
/* ===================== */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 70px;
  }

  .hero h3 {
    font-size: 22px;
  }

  .branch-card {
    width: 80%;
    height: 400px;
  }

  .branches {
    gap: 30px;
  }

  footer {
    padding: 50px 30px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile Landscape (≤768px) */
@media (max-width: 768px) {
  .hero {
    padding: 80px 15px;
  }

  .hero h1 {
    font-size: 55px;
  }

  .hero h3 {
    font-size: 20px;
  }

  .branches {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .branch-card {
    width: 90%;
    height: 350px;
  }

  .branch-info h2 {
    font-size: 22px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  footer {
    padding: 40px 20px;
  }

  .footer-content {
    gap: 20px;
  }
}

/* Mobile Portrait (≤480px) */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 42px;
  }

  .hero h3 {
    font-size: 18px;
  }

  .branch-card {
    width: 95%;
    height: 300px;
  }

  .branch-info {
    padding: 15px;
  }

  .branch-info h2 {
    font-size: 20px;
  }

  .btn {
    padding: 7px 14px;
    font-size: 13px;
  }

  .footer-logo h3 {
    font-size: 20px;
  }

  .footer-contact h4 {
    font-size: 16px;
  }

  .footer-contact p {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

