:root {
  --primary: #101622;
  --secondary: #0c111b;
  --accent: #d4af37; /* Softer gold */
  --accent-light: #fff9e3; /* Pastel gold */
  --text: #f8fafc;
  --text-secondary: #b0b8c1;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

/* Header & Navigation */
.header {
  background: var(--primary);
  padding: 1rem 2rem 0;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.logo-tagline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-img {
  max-width: 180px;
  height: auto;
  margin-bottom: 0.3rem;
}

.tagline {
  font-size: 0.85rem;
  color: var(--accent);
  font-family: 'Roboto Mono', monospace;
  font-weight: 400;
  letter-spacing: 0.3px;
  margin: 0;
}

.tagline-border {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  margin: 0.3rem 0;
  border-radius: 1px;
}

.main-nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-top: 0.5rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Unified nav link style */
.primary-nav a {
  color: var(--accent);
  background: transparent;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97em;
  border-radius: 5px;
  padding: 0.4rem 0.9rem;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.2px;
}

/* Remove all .nav-btn backgrounds */
.primary-nav a.nav-btn,
.primary-nav a.nav-btn:hover {
  background: transparent !important;
  color: var(--accent) !important;
  box-shadow: none !important;
}

/* Soft hover and active effect */
.primary-nav a:hover,
.primary-nav a.active {
  background: rgba(212, 175, 55, 0.10); /* very soft gold highlight */
  color: #fff;
  border-bottom: 2px solid var(--accent);
  text-decoration: none;
}

/* Dropdown styles (if you use dropdowns) */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: transparent;
  color: var(--accent);
  padding: 0.4rem 0.9rem;
  font-size: 0.97em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: background 0.2s, color 0.2s;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: var(--secondary);
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.dropdown-content a {
  color: var(--text);
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.dropdown-content a:hover {
  background: rgba(212, 175, 55, 0.10);
  color: var(--accent);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  min-height: 400px;
  background: var(--primary) url('hero1.png') center/cover no-repeat;
  position: relative;
  padding: 2rem 0;
}

.hero-content {
  background: rgba(16, 22, 34, 0.85);
  padding: 2rem;
  border-radius: 12px;
  margin-left: 2rem;
  max-width: 520px;
  backdrop-filter: blur(4px);
}

.hero-content h1 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.7rem 0;
  line-height: 1.2;
}

.hero-content h2 {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 1rem 0;
  color: var(--text);
}

.hero-content .sub {
  font-size: 0.97em;
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.cta-btn {
  background: var(--accent);
  color: var(--primary);
  border-radius: 5px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  font-size: 0.97em;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.cta-btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.cta-btn:hover {
  background: #fff;
  color: var(--accent);
  transform: translateY(-1px);
}

.cta-btn.secondary:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Content Sections */
.content-section {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.section-title {
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: 2px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.service-card {
  background: var(--secondary);
  padding: 1.2rem;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  transition: transform 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  margin: 0 0 0.75rem 0;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.testimonial-card {
  background: var(--secondary);
  padding: 1.2rem;
  border-radius: 8px;
  border-top: 3px solid var(--accent);
}

.testimonial-card p {
  font-style: italic;
  color: var(--text);
  margin: 0 0 1rem 0;
}

.testimonial-card .author {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.88rem;
}

/* Footer */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 2rem;
}

footer {
  background: var(--secondary);
  padding: 2rem 1.5rem 1.5rem;
  color: var(--text-secondary);
  margin-top: 3rem;
  font-size: 0.95rem;
}

.footer-col h3 {
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  margin: 0 0 1rem 0;
}

.footer-col p, .footer-col a {
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
}

.footer-col a:hover {
  color: var(--accent);
}

.social-icons {
  margin: 1.2rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icons a img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.social-icons a:hover img {
  opacity: 1;
}

footer hr {
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 1.2rem auto;
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.copyright a {
  color: var(--accent);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 900px) {
  .header { padding: 1rem 1rem 0; }
  .hero { padding: 1.2rem 0; min-height: 320px; }
  .hero-content {
    margin-left: 0;
    padding: 1.2rem;
    max-width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .hero-content h1 { font-size: 1.15rem; }
  .hero-content h2 { font-size: 0.97rem; }
}

@media (max-width: 600px) {
  .logo-img { max-width: 120px; }
  .tagline { font-size: 0.7rem; }
  .cta-buttons { flex-direction: column; gap: 0.75rem; }
  .cta-btn, .cta-btn.secondary { width: 100%; text-align: center; }
  .primary-nav { justify-content: center; }
  .dropdown-content { min-width: 120px; }
}

/* Ensure hero background scales and content centers on small screens */
@media (max-width: 500px) {
    .hero {
        flex-direction: column;
        padding: 1rem 0;
        min-height: auto; /* allow height to adjust */
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
        padding: 1rem;
        max-width: 95%;
    }

    .hero-content h1 {
        font-size: 1.05rem;
    }

    .hero-content h2 {
        font-size: 0.85rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Make all images responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}
