/* Custom Styles for Advocate Akila Website */

:root {
  /* Easily customizable color palette */
  --primary-color: #2c3e50;    /* Dark blue/grey for headers and main text */
  --secondary-color: #34495e;  /* Lighter text */
  --accent-color: #27ae60;     /* Green for CTAs as requested */
  --accent-hover: #219653;     /* Darker green for hover states */
  --bg-light: #f8f9fa;         /* Very light grey for background sections */
  --text-dark: #333333;        /* Standard text color */
  --text-light: #ffffff;       /* Text on dark backgrounds */

  /* Typography */
  --font-family-base: 'Inter', system-ui, -apple-system, sans-serif;
  --font-family-heading: 'Merriweather', serif; /* Gives a legal/professional feel */
}

body {
  font-family: var(--font-family-base);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: var(--font-family-heading);
  color: var(--primary-color);
  font-weight: 700;
}

/* Custom Utilities */
.text-primary-custom { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-light-custom { background-color: var(--bg-light) !important; }
.bg-primary-custom { background-color: var(--primary-color) !important; color: var(--text-light); }

/* Buttons */
.btn-cta {
  background-color: var(--accent-color);
  color: var(--text-light);
  border: none;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background-color: var(--accent-hover);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-outline-cta {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-outline-cta:hover {
  background-color: var(--accent-color);
  color: var(--text-light);
}

/* Navbar */
.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  background-color: #fff;
}
.navbar-brand {
  font-size: 1.5rem;
}
.nav-link {
  font-weight: 500;
  color: var(--primary-color) !important;
  transition: color 0.3s;
}
.nav-link:hover {
  color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
  padding: 100px 0;
  background: linear-gradient(to right, rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.9)), url('../images/hero-bg-placeholder.jpg') center/cover;
  border-bottom: 1px solid #eaeaea;
}

.hero-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--secondary-color);
  margin-bottom: 15px;
}
.hero-text {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 30px;
}

/* Services */
.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}
.service-card p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Title Sections for Subpages */
.page-title-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}
.page-title-section h1 {
  color: var(--text-light);
  margin: 0;
}

/* Disclaimer Popup */
.disclaimer-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
  padding: 15px 20px;
  border-top: 4px solid var(--accent-color);
}

.disclaimer-box {
  max-width: 1200px;
  margin: 0 auto;
}

.disclaimer-box h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.disclaimer-box p {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  padding: 60px 0 20px;
  color: var(--text-light);
}

footer h5 {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1.2rem; }
}
