#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--blue);
  border-top: 5px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Hide loader */
#loader.hidden {
  opacity: 0;
  visibility: hidden;
}


:root {
  --blue: #0d0c38;
  --cream: #ecebdf;
  --gold-gradient: linear-gradient(45deg, #c08329, #edd089);
  --gold-gradients: linear-gradient(45deg, #edd089, #c08329);
  --hover-gold: #d4af37;
}

/* === HEADER STYLES === */
.site-header {
  position: relative;
  background: var(--cream);
  z-index: 1000;
  padding: 0;
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 250px); 
  height: 100%;
  background: var(--blue);
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
  pointer-events: none;
}


/* Lock layout */
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
  z-index: 1; /* content sits above background */
  flex-wrap: nowrap;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Georgia', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold-gradient);
  z-index: 1;
}


.logo-icon {
  height: auto;
  width: 210px;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  z-index: 1;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 1px;
  left: 0;
  bottom: -4px;
  background-image: var(--gold-gradient);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--hover-gold);
}

/* BUTTON */
.consult-btn {
  background: var(--gold-gradient);
  color: var(--blue);
  padding: 0.6rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.consult-btn:hover {
  background: var(--gold-gradients);
  color: var(--blue);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .container {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
  }

@media (max-width: 768px) {
  .site-header::after {
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 10% 100%);
  }
}

  .navbar {
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    margin-left: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-end;
  }

.logo {
  flex: 0 0 170px; /* <-- locks cream area to fixed width */
}


  .consult-btn {
    margin-top: 1rem;
    align-self: flex-end;
  }
}



.hero-section {
  background: url('img/tingey-injury-law-firm-DZpc4UY8ZtY-unsplash.jpg') no-repeat center center/cover;
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background: rgba(13, 12, 56, 0.6);
  /* Blue overlay with transparency */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
}

.hero-content {
  color: var(--cream);
  text-align: center;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn {
  background: var(--gold-gradient);
  color: var(--blue);
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-btn:hover {
  background: var(--gold-gradients);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Secondary button variant */
.secondary-btn {
  background: var(--cream);
  border: 2px solid var(--gold-gradient);
  color: var(--blue);
}

.secondary-btn:hover {
  background: var(--blue);
  color: var(--cream);
}


.landing-about-us {
  background: #eeebe4;
  padding: 30px 20px;
  text-align: center;
}

.landing-about-us .landing-abt-container {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-about-us h2 {
  color: var(--blue);
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  -webkit-background-clip: text;
}

.landing-about-us p {
  color: #474747;
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 30px;
}


/* General styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--blue);
}

.custom-container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
  padding: 40px 0;
}

.custom-main-heading {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.custom-paragraph {
  color: var(--blue);
  font-size: 1rem;
  line-height: 1.6;
}


.expert-guidance {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.expert-guidance .experts-container {
  max-width: 1200px;
  margin: 0 auto;
}

.expert-guidance h2 {
  font-size: 2rem;
  color: #1c1c1c;
  margin-bottom: 20px;
}

.expert-guidance .ex-subtextt {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}

.guidancee-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.guidancee-card {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
}

.guidancee-card:hover {
  transform: translateY(-5px);
}

.guidancee-card h3 {
  font-size: 1.2rem;
  color: #1c1c1c;
  margin-bottom: 12px;
}

.guidancee-card p {
  color: #555;
  font-size: 0.97rem;
  line-height: 1.5;
}

.guidancee-cta {
  display: inline-block;
  background-color: var(--blue);
  color: var(--cream);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.guidancee-cta:hover {
  background-color: #ce953f;
  color: var(--blue);
}



/* New Section 1: Why Choose Us */
.custom-why-choose {
  background: linear-gradient(#fff, #f2f0ff);
  text-align: center;
}

.custom-main-heading {
  color: var(--blue);
}

.custom-paragraph {
  color: #474747;
}

.custom-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.custom-card {
  background: var(--cream);
  padding: 20px;
  border-radius: 5px;
  width: 400px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: 0.3s ease;
}

.custom-card img {
  width: 30px;
  height: 30px;
  margin-top: 15px;
  border-radius: 8px;
}

.custom-card.custom-active {
  background: var(--blue);
  color: var(--cream);
}

.custom-card.custom-active p {
  color: #ccc;
}

.services-section {
  background-color: #ecebdf23;
  padding: 60px 20px;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.services-header-left {
  flex: 2;
}

.services-header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.services-header-left h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #0d0c38;
}

.services-header-left p {
  font-size: 1.1rem;
  color: #474747;
  max-width: 600px;
}

.ctaa-button {
  background-color: #0d0c38;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ctaa-button:hover {
  background-color: var(--cream);
  color: var(--blue);
}

@media (max-width: 768px) {
  .services-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-header-right {
    justify-content: flex-start;
    width: 100%;
    margin-top: 15px;
  }
}


.services-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.service-card {
  border-radius: 10px;
  padding: 30px 20px;
  width: 300px;
  text-align: left;
  transition: transform 0.3s ease;
}

.service-card h3 {
  color: #000;
}

.service-card:hover {
  transform: translateY(-10px);
}

.icon {
  width: 40px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 1rem;
  color: #474747;
  margin-bottom: 15px;
}

.service-card a {
  text-decoration: none;
  color: var(--blue);
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-card a:hover {
  color: #c08329;
}



:root {
  --blue: #0d0c38;
  --gold-gradient: linear-gradient(45deg, #c08329, #edd089);
  --gold-gradients: linear-gradient(45deg, #edd089, #c08329);
  --cream: #ecebdf;
  --hover-gold: #d4af37;
}

/* Hero Section */
.heroo-tax {
  position: relative;
  background: url('img/nicolas-spehler-5Hf89TGW5EM-unsplash.jpg') no-repeat center center/cover;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
}

.heroo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;  /* full width */
  height: 100%; /* full height */
  background: linear-gradient(rgba(13, 12, 56, 0.85), rgba(13, 12, 56, 0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  box-sizing: border-box;
}


.heroo-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heroo-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.ctca-button {
  background: var(--gold-gradient);
  color: var(--blue);
  padding: 0.75rem 2rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.ctca-button:hover {
  background: var(--gold-gradients);
  color: var(--blue);
}


@media (max-width: 768px) {
  .heroo-tax {
    height: auto; 
    min-height: 50vh; 
    padding: 1rem;
    background-position: center top; 
  }

  .heroo-overlay {
    position: absolute;
    width: 100%; 
    height: 100%;
    padding: 1rem;
  }

  .heroo-content h1 {
    font-size: 2rem; 
    line-height: 1.2;
  }

  .heroo-content p {
    font-size: 1rem;
  }

  .ctca-button {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .heroo-content h1 {
    font-size: 1.6rem; /* Even smaller for very small devices */
  }

  .heroo-content p {
    font-size: 0.95rem;
  }

  .ctca-button {
    width: 100%; /* Full-width button on small screens */
    text-align: center;
  }
}


/* Why Work With Us */
.why-choose-uus {
  background: var(--cream);
  padding: 5rem 2rem;
  text-align: center;
}

.section-titlle {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--blue);
}

.featurees-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.featuree-card {
  background: #fff;
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featuree-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.icon-circlle {
  background: var(--gold-gradient);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circlle img {
  width: 40px;
}

.featuree-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--blue);
}

.featuree-card p {
  font-size: 1rem;
  color: #666;
}

/* Container layout */
.faq-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  gap: 2rem;
}

/* Left (text/intro) and Right (FAQs) panels */
.faq-left,
.faq-right {
  flex: 1 1 45%;
  min-width: 300px;
}

.faq-left h2 {
  font-size: 2.25rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--blue);
}

.faq-left p {
  color: #272727;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Styled Button */
.read-more {
  background-color: var(--blue);
  color: var(--cream);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: var(--cream);
  color: var(--blue);
}

/* FAQ styles */
.faq-item {
  border-bottom: 1px solid #ccc;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-weight: bold;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  color: var(--blue);
  transition: color 0.2s ease;
  text-transform: capitalize;
}

.faq-question:hover {
  color: var(--hover-gold);
}

.faq-answer {
  display: none;
  padding-bottom: 1rem;
  font-size: 0.95rem;
  color: #272727;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer {
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}


.faq-question .arrow {
  font-weight: normal;
  font-size: 1.25rem;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .arrow {
  transform: rotate(45deg);
  /* visually turns + into × */
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .faq-section {
    flex-direction: column;
  }

  .faq-left,
  .faq-right {
    flex: 1 1 100%;
  }

  .faq-left h2 {
    font-size: 1.8rem;
  }
}

.containers {
  max-width: 1400px;
  margin: auto;
  padding: 0 20px; /* extra breathing space on mobile */
}

.roww {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.footerr-col {
  flex: 1 1 22%;
  min-width: 200px;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footerr {
  background-color: var(--blue);
  padding: 60px 0;
}

.footerr-col h4 {
  font-size: 18px;
  color: var(--cream);
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}

.footerr-col h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: var(--hover-gold);
  height: 1px;
  width: 50px;
}

.footerr-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footerr-col ul li a {
  font-size: 16px;
  text-transform: capitalize;
  color: var(--cream);
  text-decoration: none;
  font-weight: 300;
  display: block;
  line-height: 1.8;
  padding-left: 0;
  transition: all 0.3s ease;
}

.footerr-col ul li a:hover {
  color: var(--cream);
  padding-left: 8px;
}

.footerr-col.get-in-touch ul li a {
  text-transform: none;
}

.social-linkss {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-linkss a img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.social-linkss a:hover img {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
  .footerr-col {
    flex: 1 1 45%;
    min-width: 250px;
  }
}

@media (max-width: 576px) {
  .roww {
    flex-direction: column;
    align-items: flex-start;
  }
  .footerr-col {
    flex: 1 1 100%;
    min-width: unset;
  }
}


.footer-separator {
  background-color: var(--cream);
  border-top: 1px solid var(--blue);
  text-align: center;
  padding: 20px 10px; /* slightly smaller padding for small screens */
  color: var(--blue);
  font-size: 14px;
  margin-top: 0;
}

.footer-separator strong {
  color: var(--blue);
}

.footer-separator .footer-images {
  margin-top: 12px;
  display: flex; /* makes images align nicely */
  flex-wrap: wrap; /* allows them to wrap on small screens */
  justify-content: center;
  gap: 10px;
}

.footer-separator .footer-images img {
  height: 35px;
  width: auto;
  max-width: 100%; /* prevent overflow on tiny screens */
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.footer-separator .footer-images img:hover {
  transform: scale(1.1);
}

/* 📱 Mobile adjustments */
@media (max-width: 480px) {
  .footer-separator {
    font-size: 12px; /* slightly smaller text */
    padding: 15px 8px;
  }

  .footer-separator .footer-images img {
    height: 28px; /* smaller icons for small devices */
    margin: 0;
  }
}


/* 🍔 Hide burger on desktop */
.burger {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 24px;
  cursor: pointer;
  z-index: 3;
}

/* 🧱 Mobile-specific styles */
@media (max-width: 768px) {
  .burger {
    display: block;
    margin-left: auto;
  }

  .nav-links,
  .consult-btn {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    background: var(--blue);
    padding: 1rem 0;
  }

  .nav-links.show-menu,
  .consult-btn.show-menu {
    display: flex;
  }

  .nav-links li {
    margin: 0.5rem 2rem;
  }

  .consult-btn {
    margin: 1rem 2rem 0 0;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .consult-btn {
    display: none;
  }

  .nav-links.show-menu,
  .consult-btn.show-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--blue);
    width: 100%;
    padding: 1rem 2rem;
  }

  .nav-links li {
    margin: 0.5rem 0;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
  }
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 1;
}


/* Disable angled blue for mobile */
@media (max-width: 768px) {
  .site-header::after {
    content: none; /* remove the background shape */
  }

  .nav-wrapper {
    background: var(--blue);
    width: 100%;
    padding: 1rem 1.5rem;
    box-sizing: border-box;
    align-content: flex-end;
  }

  .nav-links,
  .consult-btn {
    background: var(--blue); 
  }
}

