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

body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

.bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.88)), url('assets/lahore-high-court.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, .logo h2, .section-title {
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo {
  display: flex;
  gap: 15px;
  align-items: center;
}

.logo-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #d4af37, #9a7314);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: #000;
}

.logo h2 {
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.logo p {
  color: #d4af37;
  font-size: 10px;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: 0.3s;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  color: #d4af37;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 60px 80px;
  gap: 50px;
}

.trust-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 40px;
  font-size: 12px;
  letter-spacing: 2px;
  color: #d4af37;
  margin-bottom: 25px;
}

.hero-content h1 {
  font-size: 70px;
  line-height: 1.2;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: #d4af37;
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-description {
  font-size: 16px;
  color: #cccccc;
  max-width: 550px;
  margin-bottom: 30px;
  line-height: 1.8;
}

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

.btn {
  padding: 14px 32px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 14px;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.gold {
  background: linear-gradient(135deg, #d4af37, #9a7314);
  color: #000;
}

.gold:hover {
  background: linear-gradient(135deg, #e0bc40, #b08518);
}

.outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.5);
}

.outline:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
}

.stat-number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: #d4af37;
  font-family: 'Cinzel', serif;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: #aaa;
  letter-spacing: 1px;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  color: #d4af37;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title {
  font-size: 42px;
  margin-bottom: 15px;
  color: #ffffff;
}

.section-subtitle {
  font-size: 16px;
  color: #aaa;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 35px 25px;
  text-align: center;
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(212, 175, 55, 0.2);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #d4af37;
}

.feature-card p {
  font-size: 14px;
  color: #bbb;
  line-height: 1.7;
}

/* Practice Areas Grid */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.practice-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 30px;
  transition: 0.3s;
}

.practice-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(212, 175, 55, 0.3);
}

.practice-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #d4af37;
}

.practice-card p {
  font-size: 14px;
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 20px;
}

.learn-more {
  color: #d4af37;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: 0.3s;
}

.learn-more:hover {
  letter-spacing: 1px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.about-content h2 {
  font-size: 36px;
  margin: 15px 0 20px;
}

.about-content p {
  color: #ccc;
  margin-bottom: 20px;
  line-height: 1.8;
}

.credentials {
  display: flex;
  gap: 30px;
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cred-item {
  text-align: center;
}

.cred-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #d4af37;
  font-family: 'Cinzel', serif;
}

.cred-text {
  font-size: 12px;
  color: #aaa;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 25px;
}

.highlight-card h4 {
  color: #d4af37;
  margin-bottom: 15px;
  font-size: 18px;
}

.highlight-card p {
  color: #bbb;
  font-size: 14px;
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
  margin: 40px 0;
  padding: 60px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  font-size: 38px;
  margin-bottom: 15px;
}

.cta-content p {
  color: #ccc;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn.large {
  padding: 16px 42px;
  font-size: 16px;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.6);
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: #aaa;
  font-size: 13px;
  margin-top: 15px;
  line-height: 1.7;
}

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

.footer-logo .logo-box {
  width: 45px;
  height: 45px;
  font-size: 16px;
}

.footer-logo h3 {
  font-size: 14px;
  letter-spacing: 1px;
}

.footer-logo p {
  font-size: 9px;
  margin-top: 3px;
}

.footer-links h4, .footer-contact h4 {
  color: #d4af37;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: #aaa;
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 12px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #d4af37;
  padding-left: 5px;
}

.footer-contact p {
  color: #aaa;
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 40px 0;
}

.footer-bottom p {
  font-size: 12px;
  color: #666;
}

/* Page Hero */
.page-hero {
  text-align: center;
  padding: 100px 20px 60px;
}

.page-hero .container h1 {
  font-size: 56px;
  font-family: 'Cinzel', serif;
  margin-bottom: 15px;
}

.page-hero .container p {
  color: #aaa;
  font-size: 18px;
}

/* Practice Detailed Grid */
.practice-detailed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.practice-detailed-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 35px;
  transition: 0.3s;
}

.practice-detailed-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.3);
}

.practice-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.practice-detailed-card h2 {
  color: #d4af37;
  font-size: 28px;
  margin-bottom: 15px;
}

.practice-detailed-card p {
  color: #bbb;
  margin-bottom: 20px;
  line-height: 1.7;
}

.practice-detailed-card ul {
  list-style: none;
  padding: 0;
}

.practice-detailed-card ul li {
  color: #ccc;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
}

.practice-detailed-card ul li::before {
  content: "✓";
  color: #d4af37;
  position: absolute;
  left: 0;
}

/* About Detailed Grid */
.about-detailed-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
}

.about-bio h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #d4af37;
}

.about-bio h3 {
  font-size: 22px;
  margin: 25px 0 15px;
  color: #fff;
}

.about-bio p {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 20px;
}

.sidebar-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 25px;
}

.sidebar-card h3 {
  color: #d4af37;
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glance-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glance-label {
  color: #aaa;
  font-size: 13px;
}

.glance-value {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.contact-link {
  color: #d4af37;
  text-decoration: none;
  display: block;
  font-size: 14px;
  word-break: break-all;
}

/* Highlights Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.highlight-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 35px 20px;
}

.highlight-number {
  font-size: 48px;
  font-weight: 800;
  color: #d4af37;
  font-family: 'Cinzel', serif;
  margin-bottom: 10px;
}

.highlight-text {
  font-size: 14px;
  color: #aaa;
}

/* Contact Grid New */
.contact-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form-card, .appointment-form-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 35px;
}

.contact-form-card h2, .appointment-form-card h2 {
  color: #d4af37;
  font-size: 24px;
  margin-bottom: 25px;
}

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

.appointment-note {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.appointment-note p {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}

/* Office Section */
.office-section {
  padding: 40px 0 60px;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.office-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
}

.office-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.office-card h3 {
  color: #d4af37;
  font-size: 18px;
  margin-bottom: 15px;
}

.office-card p {
  color: #bbb;
  font-size: 14px;
  line-height: 1.6;
}

/* Contact Form Improvements */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #d4af37;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4af37;
  background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #888;
}

/* Date and Time Input Styling */
input[type="date"],
input[type="time"] {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

/* Appointment Note */
.appointment-note {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.note-item {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

.note-item:last-child {
  margin-bottom: 0;
}

/* Lawyer Photo Card - Homepage */
.photo-card {
  text-align: center;
  padding: 25px 25px 20px 25px;
}

.lawyer-photo {
  width: 100%;
  max-width: 250px;
  margin: 0 auto 20px auto;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lawyer-photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.lawyer-photo:hover img {
  transform: scale(1.05);
}

.photo-card h3 {
  color: #d4af37;
  font-size: 20px;
  margin-bottom: 5px;
  padding-bottom: 0;
  border-bottom: none;
}

.photo-title {
  font-size: 13px;
  color: #aaa;
  letter-spacing: 1px;
}

/* About Page Photo Card Styles */
.photo-card {
  text-align: center;
  padding: 30px 25px !important;
}

.photo-card .lawyer-photo {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #d4af37;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-card .lawyer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.3s ease;
}

.photo-card .lawyer-photo:hover img {
  transform: scale(1.05);
}

.photo-card h3 {
  color: #d4af37;
  font-size: 22px;
  margin-bottom: 5px;
  border-bottom: none;
  padding-bottom: 0;
}

.photo-card .photo-title {
  font-size: 14px;
  color: #aaa;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.photo-card .photo-quote {
  font-size: 12px;
  color: #d4af37;
  font-style: italic;
  margin-top: 8px;
  letter-spacing: 1px;
}

/* Banner Section - Shows Full Image No Cropping */
.banner-section {
  width: 100%;
  position: relative;
  background: #0a0a0a;
}

.banner-container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: auto;
  display: block;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  pointer-events: none;
}

/* Gold accent line at bottom of banner */
.banner-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #9a7314, #d4af37);
  z-index: 2;
}

/* Responsive - keeps full image visible */
@media (max-width: 1200px) {
  .banner-container {
    height: auto;
  }
}

@media (max-width: 992px) {
  .banner-container {
    height: auto;
  }
}

@media (max-width: 768px) {
  .banner-container {
    height: auto;
  }
  .navbar {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .hero-content h1 {
    font-size: 44px;
  }
  .features-grid, .practice-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-title {
    font-size: 32px;
  }
  .container {
    padding: 0 20px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-logo {
    justify-content: center;
  }
  .credentials {
    flex-direction: column;
    gap: 15px;
  }
  .practice-detailed-card,
  .contact-form-card,
  .appointment-form-card {
    padding: 25px;
  }
  .practice-detailed-card h2 {
    font-size: 24px;
  }
  .photo-card .lawyer-photo {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 576px) {
  .banner-container {
    height: auto;
  }
}

@media (max-width: 480px) {
  .banner-container {
    height: auto;
  }
}

/* Responsive overrides */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 40px;
    gap: 50px;
  }
  .features-grid, .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  .practice-detailed-grid,
  .about-detailed-grid,
  .contact-grid-new,
  .highlights-grid,
  .office-grid {
    grid-template-columns: 1fr;
  }
  .page-hero .container h1 {
    font-size: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .photo-card .lawyer-photo {
    width: 150px;
    height: 150px;
  }
}

/* Contact Grid Responsive */
@media (max-width: 1000px) {
  .contact-grid-new {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .contact-form-card,
  .appointment-form-card {
    padding: 25px;
  }
  .form-group input,
  .form-group textarea,
  input[type="date"],
  input[type="time"] {
    padding: 12px 15px;
  }
}
/* Dropdown Select Styling */
select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

select:hover {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

select:focus {
  outline: none;
  border-color: #d4af37;
  background: rgba(255, 255, 255, 0.08);
}

select option {
  background: #1a1a2e;
  color: #ffffff;
  padding: 10px;
}

select option:hover {
  background: #d4af37;
  color: #000;
}