:root {
  --primary-color: #2e2e2e;
  --accent-color: #f0f4f8;
  --highlight-color: #000;
  --font-serif: 'EB Garamond', serif;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-serif);
}



.specialism-section {
  position: relative;
  background: url('../assets/short-term-finance-bg.jpg') center center / cover no-repeat;
  color: #fff;
  padding: 6rem 2rem;
  overflow: hidden;
  z-index: 1;
}
.specialism-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.85) 15%, rgba(0,0,0,0.7) 85%);
  z-index: 0;
  pointer-events: none;
}
.triangle-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.03), rgba(255,255,255,0.03) 1px, transparent 2px, transparent 12px);
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1), rgba(0,0,0,0.2));
  background-attachment: fixed;
}

.specialism-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}
.specialism-wrapper h1 {
  font-family: 'Unica One', serif;
  font-size: 2.3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 4px rgba(255,255,255,0.15);
}
.specialism-wrapper h2 {
  font-family: 'Unica One', serif;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #ddd;
  text-shadow: 0 0 4px rgba(255,255,255,0.15);
}
.specialism-wrapper h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: #fff;
  margin: 0.6rem auto 1.5rem;
}
.specialism-wrapper p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 1.6rem;
}

.enquiry-button {
  background: #fff;
  color: #000;
  font-family: 'Unica One', serif;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  margin-bottom: 3rem;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: 0.3s ease;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.enquiry-button:hover {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
}
.enquiry-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #fff, #ccc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 0;
}
.enquiry-button:hover::before { transform: scaleX(1); }
.enquiry-button span { position: relative; z-index: 1; }

.specialism-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  text-align: left;
  margin-top: 3rem;
}
.specialism-columns h3,
.specialism-columns h4 {
  font-family: 'Unica One', serif;
  margin-bottom: 1rem;
  color: #fff;
  letter-spacing: 1px;
}
.specialism-columns p,
.specialism-columns li {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.6;
}
.specialism-columns ul {
  padding-left: 1.2rem;
  list-style: disc;
  margin-top: 1rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: var(--accent-color);
  color: #000;
  font-size: 0.9rem;
  border-top: 1px solid #ccc;
}
.footer-extra {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  
  .specialism-columns { grid-template-columns: 1fr !important; text-align: left; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}
/* Body text stays as Garamond */
body, p, li, span {
  font-family: 'EB Garamond', serif;
}

/* Headings use Playfair Display */
h1, h2, h3, .section-title {
  font-family: 'Playfair Display', serif;
}
/* ========== NAVBAR DESKTOP ========== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 0 2rem;
  height: 130px;
  position: relative;
  z-index: 1000;
}

.navbar-left {
  display: flex;
  align-items: center;
}

.navbar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #ccc;
  padding-right: 2rem;
  height: 100%;
  width: 230px;
}

.logo-img {
  height: 90px;
  width: auto;
  padding-left: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 1.5rem;
  position: relative;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #000;
  line-height: 1.6;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 1rem;
  font-family: 'EB Garamond', serif;
  font-weight: 400;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  right: 0;
  background-color: var(--highlight-color);
  transition: width 0.3s ease-in-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  padding: 0.5rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1100;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content li {
  padding: 0.5rem 1rem;
 
}

.dropdown-content a {
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  display: block;
}
@media (max-width: 768px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 1.2rem;
    background: #fff;
    position: relative;
    z-index: 9999;
  }

  .navbar-left {
    display: flex;
    align-items: center;
  }

  .logo-img {
    height: 42px;
    
    padding-left: 0;
  }

  .logo-text {
    font-size: 1rem;
    font-family: 'Playfair Display', serif;
  
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 10001;
    margin-left: auto;
  }

  .burger div {
    width: 100%;
    height: 2px;
    background: #000;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100vw;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    z-index: 9998;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    color: #000;
    display: block;
    text-align: left;
  }

  .dropdown-content {
    display: none;
    flex-direction: column;
    background: #f9f9f9;
  }

  .dropdown.open .dropdown-content {
    display: flex;
  }

  .dropdown-content a {
    padding-left: 2rem;
    font-size: 0.95rem;
  }

  .dropdown-toggle::after {
    content: "▼";
    float: right;
    font-size: 0.7rem;
    margin-left: 0.5rem;
  }

  .dropdown.open .dropdown-toggle::after {
    content: "▲";
  }

   .whyus-timeline {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 2.5rem;
  }

  .whyus-timeline::before {
    width: 2px;
    height: 100%;
    left: 1.2rem;
    top: 0;
    transform: none;
  }
/* ========== NAVBAR MOBILE ========== */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    padding: 1rem 1.2rem;
    height: auto;
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 10001;
    margin-left: auto;
  }

  .burger div {
    width: 100%;
    height: 2px;
    background: #000;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100vw;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    z-index: 9998;
  }

  .nav-links.open {
    display: flex;
  }

  .dropdown.open .dropdown-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-left: 2px solid #eee;
  }

  .dropdown-content {
    position: relative;
    width: 100%;
    box-shadow: none;
    background: #fafafa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 0;
  }

  .dropdown-content li {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .dropdown-content a {
    padding: 1rem 1.5rem;
    display: block;
    width: 100%;
    font-size: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-family: 'EB Garamond', serif;
  }

  .dropdown-toggle::after {
    content: "▼";
    margin-left: 0.5rem;
    font-size: 0.7rem;
    vertical-align: middle;
    color: #000;
    font-weight: bold;
  }

  .dropdown.open .dropdown-toggle::after {
    content: "▲";
  }
}