/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: 'Inter', sans-serif, Arial, sans-serif;
  background-color: #ffffff;
  color: #0d1321;
  line-height: 1.6;
}
/* Headings */
    h1, h2, h3, h4, h5, h6, .subheading {
      font-family: 'EB Garamond', serif; /* Changed from Times New Roman */
    }


/* Navbar */
.menu-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f4f4f4;
  padding: 16px 32px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-logo {
  max-width: 250px;
  height: auto;
}

/* Menu Links */
.menu-links {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.menu-links a {
  text-decoration: none;
  color: #090909;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
  padding: 4px 0;
}

.menu-links a:hover,
.menu-links a.active {
  color: #fca311;
}

/* Services Section */
.services-container {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.services-title {
  text-align: center;
  font-size: 2.8rem;
  color: #fca311;
  margin-bottom: 3rem;
  font-weight: 800;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #fefefe;
  padding: 1.5rem;
  border: 1px solid #eee;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.service-card img {
  max-width: 80px;
  margin-bottom: 1rem;
}

.service-card h2 {
  font-size: 1.4rem;
  color: #1d2d44;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 1rem;
  color: #374d5b;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Login Form */
.login-section {
  max-width: 500px;
  margin: 0 auto;
}

.auth-container {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.auth-container input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.auth-container button {
  background-color: #0d1321;
  color: #fff;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 4px;
  font-weight: 600;
}

.auth-container button:hover {
  background-color: #1f2b40;
}

.auth-footer {
  margin-top: 15px;
  text-align: center;
}
.auth-footer a {
  color: #fca311;
  text-decoration: none;
}
.auth-footer a:hover {
  text-decoration: underline;
}


/* Buttons */
.auth-container button {
  background: #0d1321;
  color: #fff;
  padding: 12px;
  border: none;
  width: 100%;
  border-radius: 4px;
  cursor: pointer;
}
.auth-container button:hover {
  background: #1a2540;
}

/* Links */
.auth-container .auth-footer {
  text-align: center;
  margin-top: 15px;
}
.auth-container .auth-footer a {
  color: #0d1321;
  text-decoration: none;
}

/* Extra Links */
.login-extra-links {
  max-width: 400px;
  margin: 12px auto 40px auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.login-extra-links a {
  color: #0891b2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.login-extra-links a:hover {
  color: #065f73;
}

#loginMessage {
  text-align: center;
  margin-top: 16px;
  font-weight: 600;
}

/* Client Login Section (centered) */
.client-login {
  max-width: 600px;
  margin: 60px auto;
  text-align: center;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.client-login h2 {
  font-size: 2rem;
  color: #fca311;
  margin-bottom: 20px;
}

/* Tabs Styling */
.nav-pills .nav-link {
  color: #0d1321;
  background-color: #ffe5cc;
  border-radius: 8px;
  font-weight: 600;
  margin-right: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-pills .nav-link.active {
  background-color: #fca311;
  color: #ffffff;
}

/* Footer */
.custom-footer {
  background-color: #f4f4f4;
  color: #0d1321;
  padding: 40px 20px 20px;
  font-family: 'Inter', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1500px;
  margin: 0 auto;
}

.footer-brand {
  flex: 1 1 220px;
  text-align: left;
}

.footer-logo {
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0;
}

.footer-block {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-block h4 {
  color: #0d1321;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-block p,
.footer-block li {
  margin-bottom: 8px;
  color: #333;
  font-size: 0.95rem;
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-block i {
  margin-right: 8px;
  color: #fca311;
}

.footer-block a {
  color: #fca311;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-block a:hover {
  color: #0d1321;
  text-shadow: 0 0 3px rgba(252, 163, 17, 0.6);
  text-decoration: underline;
}

.footer-block ul li {
  position: relative;
  transition: transform 0.2s ease, color 0.3s ease;
}

.footer-block ul li:hover {
  color: #fca311;
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #ccc;
  padding-top: 16px;
  margin-top: 40px;
  font-size: 14px;
  color: #666;
}

.footer-socials {
  margin-top: 12px;
}

.footer-socials a {
  color: #0d1321;
  margin: 0 10px;
  font-size: 18px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
  color: #fca311;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-block {
    width: 100%;
  }
  .footer-logo {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .menu-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-links {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .case-study {
    flex-direction: column;
  }

  .case-study img {
    width: 100%;
  }
}
