/* ===== YOUR JUSTICE - MAIN STYLESHEET ===== */
/* Law Firm Website - Professional Design */

/* ===== CSS RESET & VARIABLES ===== */
:root {
  --primary: #1a2a4a;
  --primary-dark: #0f1a2e;
  --primary-light: #2c4270;
  --gold: #c9a84c;
  --gold-light: #dfc06e;
  --gold-dark: #a88a2e;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --light-gray: #eee;
  --gray: #6b7280;
  --dark-gray: #374151;
  --text: #1f2937;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --header-height: 80px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }

p {
  margin-bottom: 1rem;
  color: var(--text);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-left a {
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-left a:hover {
  color: var(--gold);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-right a {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.top-bar-right a:hover {
  background: var(--gold);
  color: var(--white);
}

/* ===== HEADER / NAVIGATION ===== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  height: var(--header-height);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: 50px;
  object-fit: contain;
}

.logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.logo-text span {
  color: var(--gold);
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-menu a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  position: relative;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

.nav-menu .dropdown {
  position: relative;
}

.nav-menu .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 240px;
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius);
  padding: 8px 0;
  z-index: 100;
  border: 1px solid var(--border);
}

.nav-menu .dropdown:hover .dropdown-content {
  display: block;
}

.nav-menu .dropdown-content a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  border-radius: 0;
}

.nav-menu .dropdown-content a:hover {
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}

.nav-cta:hover {
  background: var(--gold-dark) !important;
  transform: translateY(-1px);
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-dark:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 42, 74, 0.3);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-light {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header .overline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

.section-header h2 {
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.7);
}

/* ===== PRACTICE AREAS / SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.service-card .learn-more {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-card .learn-more:hover {
  gap: 10px;
}

/* ===== WHY CHOOSE US ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 30px 20px;
}

.feature-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background: rgba(201, 168, 76, 0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
}

.section-dark .feature-card h3 {
  color: var(--white);
}

.section-dark .feature-card p {
  color: rgba(255,255,255,0.7);
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--white);
  padding: 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-image-badge .number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.about-image-badge .text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content .overline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

.about-list {
  margin: 20px 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
}

.about-list li i {
  color: var(--gold);
  margin-top: 4px;
  flex-shrink: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 10px;
}

.testimonial-card p {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-info .name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}

.testimonial-info .role {
  font-size: 0.8rem;
  color: var(--text-light);
}

.testimonial-stars {
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03'%3E%3Cpath d='M50 0L100 50L50 100L0 50z'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 15px;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta-section .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
}

.cta-phone a {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.3rem;
}

.cta-phone a:hover {
  color: var(--gold-light);
}

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 25px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 3rem;
  position: relative;
}

.blog-card-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gold);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-body {
  padding: 25px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-body h3 a:hover {
  color: var(--gold);
}

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.blog-card .read-more {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-card .read-more:hover {
  gap: 10px;
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.team-card-image {
  height: 280px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-card-image i {
  font-size: 5rem;
  color: rgba(255,255,255,0.2);
}

.team-card-body {
  padding: 25px;
}

.team-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.team-card-body .designation {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.team-card-body p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.team-social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.85rem;
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--gold);
  color: var(--white);
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-cards {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius);
}

.contact-info-card .icon {
  width: 50px;
  height: 50px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

.contact-info-card a {
  color: var(--gold);
  font-weight: 500;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form h3 {
  margin-bottom: 5px;
}

.contact-form > p {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  padding: 18px 25px;
  background: var(--white);
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--off-white);
}

.faq-question i {
  transition: var(--transition);
  color: var(--gold);
}

.faq-item.active .faq-question {
  background: var(--off-white);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 25px 20px;
  max-height: 500px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== PAGE BANNER ===== */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 10px;
}

.page-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  color: var(--gold);
}

.breadcrumb .separator {
  color: rgba(255,255,255,0.3);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
  margin-bottom: 15px;
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
}

.footer-col ul li {
  padding: 5px 0;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-col ul li a i {
  font-size: 0.7rem;
  color: var(--gold);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0 !important;
}

.footer-contact li i {
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact li span,
.footer-contact li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 999;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.scroll-top.visible {
  display: flex;
}

.scroll-top:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
}

.whatsapp-float a {
  width: 55px;
  height: 55px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ===== STRUCTURED DATA / RICH SNIPPETS ===== */
.rating-stars {
  color: var(--gold);
}

/* ===== PAGE-SPECIFIC: SERVICE DETAIL ===== */
.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.service-detail-content h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.service-detail-content h3 {
  font-size: 1.3rem;
  margin: 30px 0 15px;
}

.service-detail-content p {
  line-height: 1.9;
  margin-bottom: 15px;
}

.service-detail-content ul {
  margin: 15px 0;
  padding-left: 0;
}

.service-detail-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.95rem;
}

.service-detail-content ul li i {
  color: var(--gold);
  margin-top: 5px;
  flex-shrink: 0;
}

.service-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 25px;
}

.sidebar-card h4 {
  margin-bottom: 15px;
  font-family: 'Inter', sans-serif;
}

.sidebar-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-card ul li:last-child {
  border-bottom: none;
}

.sidebar-card ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text);
}

.sidebar-card ul li a:hover {
  color: var(--gold);
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
}

.sidebar-cta h4 {
  color: var(--white);
}

.sidebar-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.sidebar-cta .phone {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 15px;
}

/* ===== BLOG DETAIL ===== */
.blog-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.blog-content {
  font-size: 1rem;
  line-height: 1.9;
}

.blog-content h2 {
  font-size: 1.6rem;
  margin: 30px 0 15px;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin: 25px 0 10px;
}

.blog-content p {
  margin-bottom: 18px;
}

.blog-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 20px 25px;
  margin: 25px 0;
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--primary);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.blog-tags a {
  background: var(--off-white);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-light);
  border: 1px solid var(--border);
}

.blog-tags a:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure content is visible if JS fails or is slow */
noscript ~ .fade-in,
.no-js .fade-in {
  opacity: 1;
  transform: none;
}

/* ===== MOBILE-FIRST ENHANCEMENTS ===== */

/* Ensure images and iframes never overflow */
img, iframe, video, embed, object {
  max-width: 100%;
}

/* Tap targets - minimum 44px for mobile accessibility */
@media (max-width: 768px) {
  a, button, input, select, textarea {
    min-height: 44px;
  }
}

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Fix text readability on small screens */
@media (max-width: 480px) {
  body {
    font-size: 15px;
    line-height: 1.6;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
  h4 { font-size: 1.05rem; }

  .section-header p {
    font-size: 0.9rem;
  }

  .container {
    padding: 0 15px;
  }
}

/* Fix logo on small screens */
@media (max-width: 360px) {
  .logo-text {
    font-size: 1.2rem;
  }
  .logo-tagline {
    font-size: 0.55rem;
    letter-spacing: 1px;
  }
  .logo img {
    height: 40px;
    width: 40px;
  }
}

/* Fix breadcrumb wrapping on mobile */
.breadcrumb {
  flex-wrap: wrap;
}

/* Fix map iframe on mobile */
@media (max-width: 768px) {
  iframe {
    height: 250px !important;
  }
}

/* Fix dropdown on touch devices */
@media (hover: none) {
  .nav-menu .dropdown:hover .dropdown-content {
    display: none;
  }
  .nav-menu .dropdown.active .dropdown-content {
    display: block;
  }
}

/* Fix WhatsApp button position on small screens */
@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
  }
  .whatsapp-float a {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

/* Sidebar card improvements for mobile */
@media (max-width: 1024px) {
  .sidebar-card {
    padding: 25px;
  }
}

/* Blog card image height on mobile */
@media (max-width: 480px) {
  .blog-card-image {
    height: 160px;
  }
  .team-card-image {
    height: 220px;
  }
}

/* Fix long words breaking layout */
.service-detail-content,
.blog-content,
.contact-info-card,
.faq-answer {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Ensure CTA buttons stack on mobile */
@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  .cta-phone {
    flex-direction: column;
    gap: 5px;
  }
}

/* Improve touch scrolling */
.nav-menu {
  -webkit-overflow-scrolling: touch;
}

/* Fix service card on very small screens */
@media (max-width: 320px) {
  .service-card {
    padding: 25px 18px;
  }
  .contact-form {
    padding: 18px;
  }
  .testimonial-card {
    padding: 25px 18px;
  }
}

/* Print styles for SEO - search engines may check */
@media print {
  .top-bar, .header, .footer, .scroll-top, .whatsapp-float, .nav-overlay {
    display: none !important;
  }
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
  .page-banner {
    background: #eee !important;
    color: #000 !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-grid,
  .blog-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .top-bar {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-menu .dropdown-content {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding-left: 15px;
  }

  .nav-menu .dropdown.active .dropdown-content {
    display: block;
  }

  .nav-cta {
    margin-top: 15px;
    text-align: center;
    width: 100%;
    justify-content: center;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-stats {
    gap: 25px;
  }

  .hero-stat .number {
    font-size: 1.8rem;
  }

  .section {
    padding: 50px 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .page-banner {
    padding: 40px 0 35px;
  }

  /* Buttons should wrap text on mobile */
  .btn {
    white-space: normal;
    text-align: center;
  }

  /* Nav links should not use nowrap on mobile */
  .nav-menu a {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 25px;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* Overlay for mobile menu */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* Schema rich snippet hidden */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
