/* UNIVERSAL SECTION */
* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  max-width: 100%;
}
a,
li,
button {
  text-decoration: none;
  cursor: pointer;
}
html,
body {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

/* NAVBAR SECTION  ...............................................................................................................*/
.navbar {
  background: #000; /* black base */
  color: #fff;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* logo */
.logo img {
  height: 70px; /* adjust based on your image size */
  width: auto;
  display: block;
}
.logo a {
  display: flex;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
}
.logo-text .gold-text {
  color: gold;
}
.logo-text .green-text {
  color: lightgoldenrodyellow;
} /* your green theme */

/* nav links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  transition: color 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: gold;
}
/* cta btn */
.btn.gold-btn {
  background: gold;
  color: #000;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}
.btn.gold-btn:hover {
  background: #00a86b;
  color: #fff;
}
/*HAMBURGER ICON*/
/* Hide hamburger on desktop */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: gold;
  border-radius: 3px;
}
/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #000; /* black takeover */
  color: #fff;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  text-align: center;
  padding: 2rem;
}
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu ul li {
  margin: 1.5rem 0;
}
.mobile-menu ul li a {
  color: #fff;
  font-size: 1.8rem;
  text-decoration: none;
  transition: color 0.3s ease;
}
.mobile-menu ul li a:hover {
  color: gold;
}
/* Close button */
.close-menu {
  font-size: 1.5rem;
  margin-top: 2rem;
  display: inline-block;
}

/* FOOTER SECTIOn ...............................................................................................................*/
.site-footer {
  background: #000; /* dark base for contrast */
  color: #fff;
  padding: 4rem 1rem 2rem 1rem;
  font-size: 0.95rem;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-brand .firm-name {
  font-size: 1.2rem;
  color: gold;
}
.first-name {
  font-size: 1.7rem;
}
.second-name {
  color: lightgoldenrodyellow;
}
.footer-contact p,
.footer-links a,
.footer-socials a {
  margin-bottom: 0.5rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover,
.footer-socials a:hover {
  color: gold;
}
.footer-links,
.footer-socials {
  display: flex;
  flex-direction: column;
}
.footer-socials a {
  font-weight: 600;
}
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  color: #aaa;
  font-size: 0.85rem;
}
.logoo {
  height: 100px;
}

/* HOME PAGE.......................................................................... */

/* HERO SECTION ............................................................................................................... */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-top: 80px;
  background: url("images/hero.jpg") center/cover no-repeat;
  background-size: cover;
  transition: background-image 1s ease-in-out;
  animation: zoom 20s ease-in-out infinite alternate;
  overflow: hidden;
}

/* dark overlay for readability */

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

/* Hero content stays above overlay */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  color: #f0f0f0;
}
/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}
.btn.primary {
  background: gold;
  color: #000;
}
.btn.primary:hover {
  background: #00a86b;
  color: #fff;
}
.btn.secondary {
  border: 2px solid #fff;
  color: #fff;
  margin-left: 1rem;
}
.btn.secondary:hover {
  background: #fff;
  color: #000;
}

/* ABOUT SECTION ............................................................................................................... */
.about-firm {
  position: relative;
  height: 80vh; /* adjust for desired height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* slightly taller for movement */
  background: url("images/img10.jpg") center/cover no-repeat; /* replace with your image */
  z-index: 0;
  transform: translateY(0px);
  transition: transform 0.1s linear;
}
.about-firm::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7); /* dark overlay for readability */
  z-index: 1;
}
.parallax-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1rem;
}
.parallax-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 20px;
  text-transform: uppercase;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.6);
  color: #ffd700;
}
.parallax-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.parallax-content .btn.primary {
  background: gold;
  color: #000;
  padding: 0.9rem 2rem;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s ease;
}
.parallax-content .btn.primary:hover {
  background: #00a86b; /* green hover */
  color: #fff;
}

/* OUR TEAM SECTION ............................................................................................................... */
.our-team {
  padding: 6rem 1rem;
  background: #f8f9fa; /* light-gray background for contrast */
  text-align: center;
}
.our-team h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #000;
  position: relative;
}
.our-team h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: gold;
  display: block;
  margin: 0.5rem auto 2rem;
  border-radius: 2px;
}
.our-team .intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #555;
  line-height: 1.7;
  font-size: 1.1rem;
}
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.team-member {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.member-img {
  flex: 0 0 140px;
  margin-right: 1.5rem;
}
.member-img img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid gold;
}
.member-info {
  flex: 1;
  text-align: left;
}
.member-info h3 {
  margin: 0 0 0.3rem 0;
  color: #000;
}
.member-info p {
  margin: 0.3rem 0;
  color: #555;
  line-height: 1.5;
  font-size: 0.95rem;
}
.our-team .btn.primary {
  background: gold;
  color: #000;
  padding: 0.9rem 2rem;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s ease;
  margin-top: 2rem;
}
.our-team .btn.primary:hover {
  background: #00a86b; /* green hover */
  color: #fff;
}
/* CASES SOLVED SECTION ............................................................................................................... */
.cases-solved {
  position: relative;
  padding: 6rem 1rem;
  color: #000;
  overflow: hidden;
}
.cases-solved::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.95;
  background-size: cover;
  background: url("images/img2.jpg") center/cover no-repeat;
  z-index: 0;
  animation: zoomInOut 20s ease-in-out infinite alternate;
}
.cases-solved h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
  color: #fff;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.case-card {
  background: #fff;
  color: #000;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.case-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.case-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}
.cases-cta {
  margin-top: 2.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
/* Buttons */
.cases-cta .btn.primary {
  background: gold;
  color: #000;
  padding: 0.9rem 2rem;
  font-weight: 600;
  border-radius: 6px;
}
.cases-cta .btn.primary:hover {
  background: #00a86b;
  color: #fff;
}
.case-card .btn.secondary {
  background: transparent;
  color: gold;
  border: 2px solid gold;
  border-radius: 6px;
  transition: 0.3s ease;
}
.case-card .btn.secondary:hover {
  background: gold;
  color: #000;
}
.popular-cases .btn {
  position: relative;
  z-index: 3; /* ensure button is on top of everything */
}

.popup-main-page {
  background-color: #fff;
}

/* RESPONSIVE ............................................................................................................... */
@media (max-width: 768px) {
  /*navbar section mobile*/
  .nav-links {
    display: none;
  }
  .navbar {
    padding: 1rem;
  }
  .btn.gold-btn {
    display: none;
  }
  /*hero scetion mobile*/
  .hero {
    height: 90vh;
    padding: 0 1rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .btn.secondary {
    margin-left: 0;
  }
  /* Show hamburger on mobile */
  .nav-links,
  .btn.gold-btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  /*our team section mobile*/
  .team-member {
    flex-direction: column;
    text-align: center;
  }
  .member-img {
    margin: 0 0 1rem 0;
  }
  .member-info {
    text-align: center;
  }
  /*cases solved mobile*/
  .cases-grid {
    grid-template-columns: 1fr;
  }
  /*footer mobile*/
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .footer-links,
  .footer-socials {
    flex-direction: row;
    gap: 1.5rem;
  }
  .footer-contact p {
    margin: 0.25rem 0;
  }
}

/* ANIMATIONS ............................................................................................................... */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes zoomInOut {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
/* Slow zoom animation */
@keyframes zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
/* Animation for consultation/client section */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ANIMATIONS FOR ABOUT PAGE */
@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ANMIMAION FOR CONTACT PAGE */
@keyframes shine {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}
/* ANIMATION FOR OUR TEAM PAGE */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
