/* ---------- Color System ---------- */
:root {
  --navy-dark: #0b152f;
  --navy: #111c3f;
  --navy-soft: #1a274d;
  --gold: #c8a25b;
  --gold-soft: #e3c88a;
  --bg-cream: #f7f4ec;
  --text-light-50: rgba(255, 255, 255, 0.7);
}

body{
  overflow-x: clip;
}

/* Utilities */
.text-gold {
  color: var(--gold);
}
.text-light-50 {
  color: var(--text-light-50);
}
.section-padding {
  padding: 4rem 0;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--navy-dark);
  color: #fff;
  padding: 0.4rem 0;
  font-size: 0.8rem;
}

/* ---------- Navbar ---------- */

.main-nav .navbar-brand {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.brand-mark {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #111c3f;
  font-weight: 700;
}
.brand-sub {
  font-size: 0.7rem;
  text-transform: none;
  letter-spacing: 0.08em;
  opacity: 0.8;
}
.main-nav .nav-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: 1rem;
}
.main-nav .nav-link.active,
.main-nav .nav-link:hover {
  color: var(--gold);
}

/* Buttons */
.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #111c3f;
  font-weight: 600;
}
.btn-gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: #111c3f;
}
.btn-outline-gold {
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: #111c3f;
}

/* ========== MEGA MENU (Practice Areas) ========== */

/* ---------- Navbar ---------- */
.main-nav {
  background: rgba(10, 15, 35, 0.96);
  backdrop-filter: blur(10px);

  /* 🔴 IMPORTANT: keep navbar on top of hero */
  position: sticky;
  top: 0;
  z-index: 1100;
}

/* ========== MEGA MENU (Practice Areas) ========== */

/* Make parent li not clip dropdown */
.mega-dropdown {
  position: static;
}

.mega-dropdown .dropdown-toggle::after {
  margin-left: 0.35rem;
}

/* Desktop mega menu: full width, above hero */
.mega-menu {
  border-radius: 0;
  border: none;
  padding: 1.5rem 2rem !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  background: #ffffff;

  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;          /* full viewport width */
  max-width: 100vw;
  z-index: 1200;         /* higher than hero */
}


.mega-col {
  padding: 0 1.5rem 0 0;
}

.mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-item {
  font-size: 0.95rem;
  padding: 0.45rem 0;
  cursor: pointer;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mega-item:last-child {
  border-bottom: none;
}

.mega-item.has-children::after {
  content: "›";
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Active state – red like screenshot */
.mega-item.active {
  color: #e53935;
  font-weight: 600;
  border-bottom: 2px solid #e53935;
}

/* Right-side detail column */
.mega-details {
  padding-left: 1.5rem;
}

.mega-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}

.mega-detail-list.active {
  display: block;
}

.mega-detail-list li {
  font-size: 0.95rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mega-detail-list li:last-child {
  border-bottom: none;
}

/* Show dropdown on hover for desktop */
@media (min-width: 992px) {
  .mega-dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* Mobile: full width stacked menu */
@media (max-width: 991.98px) {
  .mega-menu {
    position: static;
    min-width: 100%;
    padding: 1rem 1.25rem !important;
    box-shadow: none;
  }
  .mega-col {
    border-right: none !important;
    padding: 0;
  }
  .mega-details {
    padding-left: 0;
    margin-top: 0.5rem;
  }
  .mega-detail-list {
    display: none;
  }
  .mega-detail-list.active {
    display: block;
  }
}

/* ---------- Hero ---------- */
/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Background Carousel */
#heroCarousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#heroCarousel .carousel-inner {
  height: 100%;
}

#heroCarousel .carousel-item {
  height: 100%;
  transition: opacity 1.5s ease-in-out;
}

/* Background Images */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Fade Effect for Smooth Transition */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

/* Static Content */
.hero-content {
  position: relative;
  z-index: 2;
}

/* Custom Indicators (Optional) */
.carousel-indicators-custom {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.carousel-indicators-custom button {
  width: 40px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicators-custom button.active {
  background-color: var(--gold-color, #c8a25b);
  width: 60px;
}

.carousel-indicators-custom button:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Text Styles */
.hero-kicker {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.hero-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.text-gold {
  color: #c8a25b;
}

/* Buttons */
.btn-gold {
  background-color: #c8a25b;
  color: #1a1a1a;
  border: 2px solid #c8a25b;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background-color: transparent;
  color: #c8a25b;
  border-color: #c8a25b;
}

.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: #1a1a1a;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-kicker {
    font-size: 0.9rem;
  }
  
  .hero-text {
    font-size: 0.95rem;
  }
  
  .carousel-indicators-custom {
    bottom: 20px;
  }
  
  .carousel-indicators-custom button {
    width: 30px;
    height: 3px;
  }
  
  .carousel-indicators-custom button.active {
    width: 45px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem !important;
  }
}
/* ---------- Feature Strip ---------- */
.feature-strip {
  background: var(--bg-cream);
  padding: 3rem 0;
}
.feature-box {
  text-align: left;
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.8rem 1.6rem;
  height: 100%;
  color: #111c3f;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}
.feature-box i {
  color: var(--gold);
}

/* ---------- Sections ---------- */
.section-kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111c3f;
}
.section-text {
  font-size: 0.95rem;
  color: #5f6785;
}

/* Stats cards */
.stat-card {
  background: #fff;
  border-radius: 0.9rem;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
}
.stat-label {
  font-size: 0.85rem;
  color: #7c84a0;
}

/* ---------- Practice Area ---------- */
.practice-area {
  background: var(--navy);
  color: #fff;
}
.practice-card {
  background: var(--navy-soft);
  border-radius: 0.5rem;
  padding: 1.1rem 1.2rem;
  height: 100%;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 0.9rem;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  border-left: 3px solid rgba(200, 162, 91, 0.4);
}
.practice-card:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #111c3f;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.practice-card h6 {
  margin-bottom: 0;
}

/* ---------- Facts / Data ---------- */
.facts {
  background: var(--bg-cream);
}
.facts-image {
  border-radius: 0.9rem;
  overflow: hidden;
}
.fact-item {
  background: #fff;
  border-radius: 0.9rem;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
}
.fact-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}
.fact-label {
  font-size: 0.85rem;
  color: #7c84a0;
}

/* ---------- Team ---------- */
/* Team Section */
.bg-dark-alt {
  background-color: #f7f4ec;
}

/* Team Card */
.team-card {
  background: #1a274d;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(212, 175, 55, 0.1);
  height: 100%;
}

.team-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

/* Team Photo */
.team-photo-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo {
  transform: scale(1.1);
}

/* Team Overlay */
.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-badge {
  background-color: rgba(212, 175, 55, 0.9);
  color: #1a1a1a;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}

/* Team Body */
.team-body {
  padding: 1.25rem 1rem;
  text-align: center;
}

.team-name {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-designation {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Carousel Controls */
.team-control-prev,
.team-control-next {
  width: 50px;
  height: 50px;
  background-color: rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.team-control-prev:hover,
.team-control-next:hover {
  background-color: rgba(212, 175, 55, 0.5);
  opacity: 1;
}

.team-control-prev {
  left: -60px;
}

.team-control-next {
  right: -60px;
}

/* Carousel Indicators */
.team-indicators {
  position: relative;
  margin-top: 2rem;
  bottom: auto;
}

.team-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.3);
  border: none;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.team-indicators button.active {
  background-color: #c8a25b;
  width: 40px;
  border-radius: 6px;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .team-control-prev {
    left: -30px;
  }
  
  .team-control-next {
    right: -30px;
  }
}

@media (max-width: 767.98px) {
  .team-control-prev,
  .team-control-next {
    width: 40px;
    height: 40px;
  }
  
  .team-control-prev {
    left: 0;
  }
  
  .team-control-next {
    right: 0;
  }
  
  .team-name {
    font-size: 1rem;
  }
  
  .team-designation {
    font-size: 0.75rem;
  }
  
  .team-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
}

@media (max-width: 575.98px) {
  .team-body {
    padding: 1rem 0.75rem;
  }
  
  .team-name {
    font-size: 0.95rem;
  }
  
  .team-designation {
    font-size: 0.7rem;
  }
}
/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--navy-soft);
}
.testimonial-card {
  background: rgba(8, 12, 32, 0.8);
  border-radius: 0.9rem;
  padding: 1.5rem 1.6rem;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
}

/* ---------- Footer Top (Consultation) ---------- */
.footer-top {
  background: var(--navy);
  color: #fff;
}
.contact-form .form-control,
.contact-form .form-control:focus {
  background: rgba(8, 12, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}
.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.contact-form textarea {
  resize: vertical;
}

/* ---------- Footer ---------- */

/* Footer Styles */
.main-footer {
  background-color: var(--navy-dark); /* Navy blue from image 2 */
  color: #fff;

}

.footer-top {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Logo & Description */
.footer-brand {
  color: #d4af37;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 1rem;
}

/* Footer Headings */
.footer-heading {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #d4af37;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #d4af37;
  padding-left: 5px;
}

/* Footer Contact */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-contact li i {
  color: #d4af37;
  font-size: 1.1rem;
  margin-right: 0.75rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #d4af37;
}

/* Footer Bottom */
.footer-bottom {
  padding: 1.5rem 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  justify-content: center;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background-color: #d4af37;
  color: #1e3a5f;
  transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 100px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: #1a1a1a;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .footer-top {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .back-to-top {
    right: 70px;
  }
}

@media (max-width: 767.98px) {
  .footer-brand {
    font-size: 1.5rem;
  }
  
  .footer-heading {
    font-size: 1.1rem;
    margin-top: 1.5rem;
  }
  
  .footer-bottom {
    text-align: center;
  }
  
  .footer-copyright {
    font-size: 0.85rem;
  }
  
  .back-to-top {
    right: 20px;
    bottom: 90px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 575.98px) {
  .footer-social a {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}
/* ---------- NEW: Authenticity / Govt Empaneled ---------- */
.authenticity-section {
  background: #ffffff;
}

.auth-card i {
  font-size: 1.4rem;
  color: var(--gold);
}
.tiny-note {
  font-size: 0.75rem;
  color: #8a90aa;
}

.auth-card-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  /*filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(6deg) brightness(98%) contrast(97%);*/
  /* This filter makes images golden - remove if you want original colors */
}

.auth-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.auth-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.auth-card h6 {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
  color: #1a1a2e;
}

/* ---------- NEW: Awards & Recognitions ---------- */
.awards-section {
  background: var(--bg-cream);
}
.award-card {
  background: #fff;
  border-radius: 0.9rem;
  padding: 1.4rem 1.3rem;
  text-align: left;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.award-card i {
  font-size: 1.6rem;
  color: var(--gold);
}

/* ---------- NEW: Contact Details Section ---------- */
.contact-details-section {
  background: var(--navy-soft);
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .hero {
    text-align: center;
    padding: 4rem 0;
  }
  .hero-text {
    margin-inline: auto;
  }
}

@media (max-width: 575.98px) {
  .section-padding {
    padding: 3rem 0;
  }
  .feature-box {
    padding: 1.4rem 1.3rem;
  }
  .hero-title {
    font-size: 2.1rem;
  }
}


/* Consultation Form Styles */
.contact-form{
  background: #232c48;
  padding: 20px;
  border-radius: 16px;
}
.contact-form .form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-form .form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #c8a25b;
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
  color: #fff;
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-form select.form-control {
  cursor: pointer;
}

.contact-form select.form-control option {
  background-color: #1a1a1a;
  color: #fff;
  padding: 10px;
}

.text-danger {
  color: #ff6b6b !important;
}

/* Submit Button */
.btn-gold {
  background-color: #c8a25b;
  color: #1a1a1a;
  border: 2px solid #c8a25b;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.btn-gold:hover {
  background-color: transparent;
  color: #c8a25b;
  border-color: #c8a25b;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-gold:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Thank You Modal */
.modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 15px;
  color: #fff;
}

.modal-header .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.modal-header .btn-close:hover {
  opacity: 1;
}

.success-icon {
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 767.98px) {
  .contact-form .form-control {
    font-size: 0.9rem;
    padding: 0.65rem 0.9rem;
  }
  
  .contact-form .form-label {
    font-size: 0.9rem;
  }
}


/* Contact Section */
.bg-dark {
  background-color: #0d0d0d;
}

/* Office Image Wrapper */
.office-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  min-height: 900px;
}

.office-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.office-image-wrapper:hover .office-image {
  transform: scale(1.05);
}

.office-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  padding: 3rem 2rem;
}

.overlay-content {
  color: #fff;
}

.overlay-title {
  color: #c8a25b;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.overlay-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0;
}

/* Chambers Wrapper */
.chambers-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Chamber Cards */
.chamber-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.chamber-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
  transform: translateY(-3px);
}

/* Main Chamber (Supreme Court) */
.chamber-main {
  border: 2px solid rgba(212, 175, 55, 0.4);
}

.chamber-main .chamber-header {
  background: linear-gradient(135deg, #c8a25b 0%, #b8941f 100%);
  padding: 1rem 1.5rem;
}

.chamber-main .chamber-title {
  color: #1a1a1a;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

/* Branch Offices */
.chamber-branch .chamber-header {
  background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
  padding: 1rem 1.5rem;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.chamber-branch .chamber-title {
  color: #c8a25b;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

/* Chamber Body */
.chamber-body {
      background: #1a274d;
  padding: 1.5rem;
}

.chamber-address {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* Info Items */
.chamber-info {
  margin-top: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
}

.info-item i {
  font-size: 1.1rem;
}

/* Contact Items */
.contact-items {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-item {
  display: flex;
  align-items: center;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: #c8a25b;
}

/* Buttons */
.btn-directions {
  background-color: #1e3a5f;
  color: #fff;
  border: 2px solid #1e3a5f;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-directions:hover {
  background-color: #2c5282;
  border-color: #2c5282;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 58, 95, 0.3);
  color: #fff;
}

.btn-outline-gold {
  background-color: transparent;
  color: #c8a25b;
  border: 2px solid #c8a25b;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-outline-gold:hover {
  background-color: #c8a25b;
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* Map Wrapper */
.map-wrapper {
  margin-top: 2rem;
}

.map-wrapper h4 {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
}
