:root {
  --primary: #004080;
   --muted: #f4f7fb; 
  
  --text: #222;
}

* {
  box-sizing: border-box;
}
p {
  text-align: justify;
}

p.no-justify {
  text-align: center; /* or left, depending on your design */
}



/* li {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: var(--delay);
} */

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
img {
  opacity: 0;
  transform: scale(0.95);
  animation: fadeInImage 0.8s ease forwards;
  animation-delay: var(--delay);
}

@keyframes fadeInImage {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* logo */

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.brand-text h1 {
  margin: 0;
  font-size: 1.8rem;
}

.brand-text .tag {
  font-size: 0.9rem;
  color: #555;
}
.logo-img {
  opacity: 0;
  transform: translateY(-10px);
  animation: fadeInLogo 0.8s ease-out forwards;
}

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





body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: #e5eefa;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 18px;
  

}
.boxshadow{
  box-shadow: -3px -3px 7px #b6b6b6, 3px 3px 7px #ffffff;
  background-color: #f4f7fb;
}

.firstbox{
  display: flex;
  justify-content: center;
  align-items: center;
}
.firstbox h2{
  display: flex;
  align-items: center;
  justify-content: center;
  color: #004080;
  background-color: white;
  font-weight: bolder;
  font-size: xx-large;
  width: 50%;
  border: 1px solid white;
  border-radius: 10px;
}
.separation{
  height: 100px;
}

.site-header {
  background: var(--primary);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  position: relative;
}

.brand h1 {
  margin: 0;
  font-size: 1.2rem;
}

.brand .tag {
  font-size: 0.85rem;
  margin: 0;
}

.main-nav {
  display: flex;
  gap: 20px;
  position: relative;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

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

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.dropdown-content a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: normal;
}

.dropdown-content a:hover {
  background: var(--muted);
}

/* 🔹 Desktop hover */
@media (min-width: 768px) {
    .dropdown:hover .dropdown-content {
    display: block;
  }
  .dropdown-content.active {
  display: block;
}
}

/* 🔹 Mobile toggle */
.dropdown-content.active {
  display: block;
}




/* Mobile toggle */
.dropdown-content.active {
  display: block;
}


.hero {
  padding: 48px 0;
  text-align: center;
  background: linear-gradient(180deg, #e9f1ff, #fff);
}

.hero h2 {
  margin: 0 0 10px;
  font-size: 1.8rem;
  color: var(--primary);
}

.btn {
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
}

.section {
  padding: 36px 0;
}

.light {
  background: var(--muted);
}

.site-footer {
  background: #111;
  color: #ddd;
  padding: 18px 0;
}
.site-footer p {
  color: #ddd;
  font-size: 14px;
  margin: 4px 0;
  line-height: 1.6;
  opacity: 1;
  visibility: visible;
}


.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.social-links a {
  color: #cfd8ff;
  text-decoration: none;
  margin-left: 10px;
  font-weight: 600;
}
/* box pasha pashi */
.box7 {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap; /* ensures responsiveness */
  margin-top: 2rem;
}

.box7 .container {
  flex: 1 1 45%; /* allows each box to take ~45% width */
  box-sizing: border-box;
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Optional: Make both boxes equal height */
.box7 {
  align-items: stretch;
}




/* Ensure images scale */
img {
  max-width: 100%;
  height: auto;
}

.box {
  background-color: #f4f7fbaa;
  color: black;
  border: 1px solid rgba(8, 16, 233, 0.556);
  border-radius: 10px;

}
/* .team{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  
}
.team img{
  width: 10rem;
} */

/* .name{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.name a{
  width: 10rem;
} */


/* team */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.team-card {
  flex: 1 1 220px;
  max-width: 280px;
  background: #f4f7fb;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  animation-delay: var(--delay);
}

.team-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 30%;
  margin-bottom: 10px;
}

.team-card .info a {
  font-weight: 600;
  font-size: 16px;
  color: #004080;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.team-card .info p {
  font-size: 14px;
  color: #333;
  margin: 0;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

@media (max-width: 480px) {
  .team-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}


/* Service image slideshow */
.service-images {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 220px;
  overflow: hidden;
}

.service-images img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fadeImages 9s infinite;
}

.service-images img:nth-child(1) {
  animation-delay: 0s;
}

.service-images img:nth-child(2) {
  animation-delay: 3s;
}

.service-images img:nth-child(3) {
  animation-delay: 6s;
}

@keyframes fadeImages {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  30% {
    opacity: 1;
  }

  40% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* Service page header background */
.service-header {
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  color: white;
  text-align: center;
  position: relative;
}

.service-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.service-header h2 {
  position: relative;
  z-index: 1;
}



/* === Service Header Slideshow === */
.service-header-slideshow {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.service-header-slideshow h2 {
  position: relative;
  z-index: 2;
}

.service-header-slideshow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.service-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: serviceSlideFade 15s infinite;
  z-index: 0;
}



/* === Service Layout (Text left, Images right) === */
.service-layout {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.service-text {
  flex: 1;
}

.service-images {
  flex: 1;
  position: relative;
  height: 220px;
  overflow: hidden;
  max-width: 350px;
}

.service-images img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fadeImages 9s infinite;
}

.service-images img:nth-child(1) {
  animation-delay: 0s;
}

.service-images img:nth-child(2) {
  animation-delay: 3s;
}

.service-images img:nth-child(3) {
  animation-delay: 6s;
}

@keyframes fadeImages {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  30% {
    opacity: 1;
  }

  40% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}



/* extra hero slide er jonno */
.hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-slides div {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade 36s infinite;
}

.hero-slides div:nth-child(1) { animation-delay: 0s; }
.hero-slides div:nth-child(2) { animation-delay: 6s; }
.hero-slides div:nth-child(3) { animation-delay: 12s; }
.hero-slides div:nth-child(4) { animation-delay: 18s; }
.hero-slides div:nth-child(5) { animation-delay: 24s; }
.hero-slides div:nth-child(6) { animation-delay: 30s; }

@keyframes fade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  15% { opacity: 1; }
  20% { opacity: 0; }
  100% { opacity: 0; }
}

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

/* for contact */
/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


 /* 🔸 Fade-in animation for lines */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🔸 Animate each <p> tag in sequence */
.contact-animated p {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
  margin-bottom: 12px;
}

/* 🔸 Sequential delay */
.contact-animated p:nth-child(2) {
  animation-delay: 0.2s;
}
.contact-animated p:nth-child(3) {
  animation-delay: 0.4s;
}
.contact-animated p:nth-child(4) {
  animation-delay: 0.6s;
}
.contact-animated p:nth-child(5) {
  animation-delay: 0.8s;
}
.contact-animated .map-container {
  animation: fadeUp 0.6s ease forwards;
  animation-delay: 1s;
  opacity: 0;
}

/* 🔸 Link styling */
#contact a {
  color: #d93025;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

/* 🔸 Hover effect */
#contact a:hover {
  color: #a52714;
  transform: scale(1.05);
  text-decoration: underline;
}

/* 🔸 Google Map styling */
.map-container {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* animated lines */
/* @keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  animation: fadeUp 0.6s ease forwards; */
/* } */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2, h3, p, li, pre {
  opacity: 0;
}



/* for scroll */
/* .animate-on-scroll {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  animation: fadeUp 0.6s ease forwards;
} */

/* 🔸 Staggered delay */
/* .animate-on-scroll.visible:nth-child(1) {
  animation-delay: 0s;
}
.animate-on-scroll.visible:nth-child(2) {
  animation-delay: 0.2s;
}
.animate-on-scroll.visible:nth-child(3) {
  animation-delay: 0.4s;
}
.animate-on-scroll.visible:nth-child(4) {
  animation-delay: 0.6s;
}
.animate-on-scroll.visible:nth-child(5) {
  animation-delay: 0.8s;
} */
/* Responsive Styles */
.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .logo-img {
    height: 40px;
  }

  .brand-text h1 {
    font-size: 1.4rem;
  }

  .brand-text .tag {
    font-size: 0.8rem;
  }
 
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--primary);
  }

  .main-nav a {
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    color: #fff;
    background: none;
    border: none;
    font-size: 1.5rem;
    margin-left: auto;
  }

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

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

  .team {
    grid-template-columns: 1fr !important;
  }
}






