/* ===================== GLOBAL ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

/* ===================== TOP BAR ===================== */
.top-bar {
  background: #222;
  color: #fff;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 8px 20px;
  font-size: 14px;
}

.top-bar .social-icons i {
  margin: 0 10px;
  cursor: pointer;
  transition: color 0.3s ease;
  color: white;
}

.top-bar .social-icons i:hover {
  color: #ffcc00;
}

.top-bar .contact {
  border-left: 1px solid #fff;
  padding-left: 12px;
  margin-left: 10px;
  color: #fff;
  text-decoration: none;
  pointer-events: auto !important;
  z-index: 9999;
  position: relative;
  display: inline-block;
}


.top-bar .contact:hover {
  color: #ffcc00;
}

/* ===================== HEADER ===================== */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 40px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  transition: all 0.4s ease;
  z-index: 1000;
}

.main-header.scrolled {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 20px 40px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo img {
  max-height: 80px;
  transition: max-height 0.4s ease;
}

.main-header.scrolled .logo img {
  max-height: 50px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-header.scrolled .nav-menu a {
  color: #000;
}

.right-actions {
  display: flex;
  align-items: center;
}

.btn-filled {
  background: #ffcc00;
  color: #fff;
  padding: 10px 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-filled:hover {
  background: #d99a00;
  transform: translateY(-2px);
}

/* ===================== DROPDOWN MENU ===================== */
.dropdown {
  position: relative;
  cursor: pointer;
}

.dropdown span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  z-index: 500;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  color: #000;
  text-decoration: none;
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background: #ffcc00;
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ===================== CONTACT HERO SECTION ===================== */
.contact-hero {
  position: relative;
  height: 55vh;
  background: url('/Assets/Images/Other_hero/legal-document.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.contact-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.contact-hero .hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.contact-hero p {
  font-size: 1.2rem;
  color: #f0f0f0;
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-hero {
    height: 100vh;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }

  .contact-hero p {
    font-size: 1rem;
  }
}

/* ===================== CONTACT SECTION ===================== */
.contact-section {
  padding: 50px 20px;
  margin-top: 50px;
}

.contact-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Left: Address (No Box) */
.contact-info h2 {
  margin-bottom: 15px;
  color: #333;
}

.contact-info p {
  margin-bottom: 12px;
  color: #555;
  font-size: 16px;
}

.contact-info i {
  color: #ffcc00;
  margin-right: 8px;
}

/* Map Styling */
.map-container {
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Right: Contact Form (With Box) */
.contact-form-wrapper {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.contact-form-wrapper h2 {
  text-align: center;
  color: #333;
  margin-bottom: 10px;
}

.contact-form-wrapper p {
  text-align: center;
  color: #666;
  margin-bottom: 20px;
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  font-size: 16px;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ffcc00;
  box-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
}

.btn-contact {
  width: 100%;
  padding: 12px;
  border: none;
  background: #ffcc00;
  color: #000;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-contact:hover {
  background: #e6b800;
}

/* ===================== FOOTER ===================== */
footer {
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: #fff;
  padding: 50px 20px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-logo h2 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #ffcc00;
}

.footer-logo p {
  line-height: 1.5;
  color: #ccc;
}

.footer-contact p {
  color: #ccc;
  margin: 8px 0;
}

.footer-contact i {
  color: #ffcc00;
  margin-right: 8px;
}

/* Quick Links */
.footer-links h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 6px 20px;
}

.footer-links ul li {
  margin: 0;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links ul li a:hover {
  color: #ffcc00;
  padding-left: 5px;
}

.footer-social a {
  display: inline-block;
  margin-right: 10px;
  color: #ccc;
  font-size: 18px;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #ffcc00;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========== MOBILE MENU SLIDE-IN ========== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -250px; /* initially hidden */
    height: 100vh;
    width: 250px;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.15);
    transition: right 0.4s ease;
    z-index: 999;
  }

  .nav-menu.show {
    right: 0; /* slide in */
  }

  .nav-menu a {
    color: #000;
    padding: 10px 0;
    font-size: 1rem;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    z-index: 1001;
  }
}

/* ===================== RESPONSIVE ===================== */

.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    flex-direction: column;
    width: 250px;
    display: none;
    padding: 15px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  .nav-menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    color: #fff;
  }

    .main-header.scrolled .menu-toggle {
    color: #000;
  }

  .slider-container img {
    height: 45vh;
  }

  .slide-text h1 {
    font-size: 1.2rem;
  }

  .slide-text p {
    font-size: 0.95rem;
  }

  .work-cards {
    grid-template-columns: 1fr 1fr;
  }
}


@media (min-width: 769px) {
  .work-cards {
    grid-template-columns: 1fr;
  }

  .card {
    height: 280px;
  }

  .card-front img {
    width: 50px;
    height: 50px;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}
