/* variables & base settings */
:root {
  --primary-color: #1f3c88; /* Deep navy blue */
  --accent-color: #ffb801;  /* Bright gold accent */
  --text-color: #333333;    /* Dark gray for readability */
  --bg-color: #f5f7fa;      /* Light gray background */
  --card-bg: #ffffff;       /* White card background */
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Merriweather', serif;
}

/* Global Typography */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
}
p, li {
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Navigation */
header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.nav-link {
  color: var(--primary-color) !important;
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Increase navbar logo size without breaking layout */
.navbar-brand img {
  height: 100px;   /* bump from 50 to whatever looks right */
  width: auto;    /* preserve aspect ratio */
  max-width: 100%;/* never overflow its container */
}



.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent-color) !important;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  transition: background-color 0.3s ease;
}
.btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.btn-outline-primary:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

/* Links */
a {
  color: var(--primary-color);
  transition: color 0.3s ease;
}
a:hover {
  color: var(--accent-color);
}

/* Cards & Shadows (bootstrap utilities) */
.card {
  border: none;
  border-radius: 0.5rem;
}
.shadow-sm {
  box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}

/* Service Card Styles */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
}
.service-card {
  background: var(--card-bg);
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.service-card-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.service-card-body {
  flex: 1;
  padding: 1.75rem;
}
.service-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
}
.service-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}
.service-intro {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.service-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-color);
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background: url("../images/check-icon.svg") no-repeat center/contain;
}
.learn-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 1.75rem;
  border-top: 1px solid #eee;
}
.learn-more span {
  font-weight: 600;
  margin-right: 0.5rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}
.service-card:hover .learn-more span {
  transform: translateX(4px);
}
.learn-more-arrow {
  font-size: 1.25rem;
  color: var(--accent-color);
}

/* Footer Styles */
.site-footer {
  font-size: 0.9rem;
  color: #f1f1f1;
  margin-top: auto;
}
.footer-top {
  background: linear-gradient(135deg, var(--primary-color) 0%, #12325a 100%);
  padding: 3rem 0;
}
.footer-heading {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li,
.footer-contact li {
  margin-bottom: 0.5rem;
}
.footer-links a,
.footer-contact a {
  color: #f1f1f1;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent-color);
}
.footer-contact i {
  margin-right: 0.5rem;
  color: var(--accent-color);
}
.footer-bottom {
  background: #0b2345;
  padding: 1rem 0;
}
.footer-bottom small {
  color: #ccc;
}
.footer-social a {
  color: #ccc;
  margin-left: 1rem;
  font-size: 1.2rem;
  transition: color 0.3s;
}
  
.footer-social a:hover {
    color: var(--accent-color);
  }

.footer-social a:hover {
  background-color: var(--accent-color) !important;
  color: #fff !important;
}

/* Footer link hover states */
.footer-top .footer-links a,
.footer-top .footer-contact a {
  transition: color 0.3s ease;
}
.footer-top .footer-links a:hover,
.footer-top .footer-contact a:hover {
  color: var(--accent-color) !important;
}


/* Responsive Footer */
@media (max-width: 991px) {
  .footer-top,
  .footer-bottom {
    text-align: center;
  }
  .footer-social {
    margin-top: 1rem;
  }
}

/* ——— Mobile Nav (≤991px) ——— */
@media (max-width: 991px) {
  /* Toggler: clean, no border, always on top */
  .navbar-toggler {
    background: transparent;
    border: none;
    padding: 0.25rem 0.75rem;
    z-index: 1060;
  }
  .navbar-toggler-icon {
    width: 1.5rem;
    height: 1.5rem;
    /* optional tweak if you want larger icon */
  }

  /* Collapse → fixed off-canvas panel from the right */
  .navbar-collapse {
    position: fixed;
    top: 0; 
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 280px;
    background: var(--bg-color);
    padding: 2rem 1rem;
    overflow-y: auto;
    box-shadow: -4px 0 12px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1050;
  }
  .navbar-collapse.show {
    transform: translateX(0);
  }

  /* Stack links as big tappable buttons */
  .navbar-nav {
    flex-direction: column !important;
  }
  .navbar-nav .nav-item {
    margin: 0.5rem 0;
  }
  .navbar-nav .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: var(--primary-color) !important;
    border-radius: 0.5rem;
    transition: background 0.2s, color 0.2s;
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background: var(--accent-color);
    color: #fff !important;
    text-decoration: none;
  }
}
