/* ================== General ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #fff;
  color: #333;
  line-height: 1.6;
}

h2 {
  text-align: center;
  margin: 40px 0 20px;
  color: #AF0001;
}

/* ================== Navbar ================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #c20303;
  color: #fff;
  padding: 10px 40px 0px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navbar img {
  height: 110px;
  padding : 0px;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a.active {
  border-bottom: 2px solid #fff;
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}

/* ================== Responsive ================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: #AF0001;
    width: 200px;
    padding: 20px;
  }
  .nav-links ul {
    flex-direction: column;
    gap: 15px;
  }
  .hamburger {
    display: block;
  }
}

/* ===== Hero ===== */
.hero {
  background: url('../img/clients_hero_bg.webp') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ===== Clients Section ===== */
.clients-section {
  padding: 2rem 8%;
  text-align: center;
}
.clients-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}
.clients-section .subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #555;
}
.client-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  align-items: center;
}

.client-logos img {
  max-width: 150px;
  min-width: 120px;   /* ensures small logos don’t shrink too much */
  min-height: 80px;   /* keeps consistent minimum size */
  margin: auto;
  transition: all 0.6s ease;
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  border: 2px solid #e0e0e0; /* light gray border by default */
  border-radius: 10px;
  padding: 8px;
  background: #fff;
}

/* When visible on scroll */
.client-logos img.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.client-logos img:hover {
  transform: scale(1.05) translateY(0);
  opacity: 1;
  border: 2px solid #6c63ff; /* premium purple border highlight */
  box-shadow: 0 0 10px rgba(108, 99, 255, 0.4);
}

/* ================== Footer ================== */
.footer {
  position: relative;
  background: url("/assets/img/about-hero\(2\).webp") no-repeat center center/cover;
  color: #fff;
  padding: 40px 35px 20px;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: rgba(41, 7, 72, 0.7);
  backdrop-filter: blur(1px);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  z-index: 1;
  position: relative;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-about p {
  font-size: 20px;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4,
.footer-about h4 {
  margin-bottom: 10px;
  font-size: 20px;
  border-bottom: 1px solid #555;
  padding-bottom: 6px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact p {
  font-size: 18px;
  margin-bottom: 8px;
}

.footer-contact iframe {
  width: 100%;
  height: 200px;
  margin-top: 10px;
  border-radius: 10px;
  border: 0;
}

.footer-bottom {
  text-align: center;
  background: #1a1919;
  color: #ddd;
  padding: 10px 10px;
  font-size: 18px;
}

/* ================== Floating Buttons ================== */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.floating-buttons a,
.floating-buttons button {
  background: #000000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 25px;
  text-decoration: none;
}