/* Custom CSS for LegalEase Law Firm */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom button styles */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

/* Section spacing */
section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Book card hover effect */
.book-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
}

/* Consultation section */
.consultation-section {
    background-image: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-text {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

/* Animation for book cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.book-card {
    animation: fadeInUp 0.6s ease forwards;
}

.book-card:nth-child(2) {
    animation-delay: 0.2s;
}

.book-card:nth-child(3) {
    animation-delay: 0.4s;
}

.book-card:nth-child(3) {
    animation-delay: 0.4s;
}

.book-card:nth-child(3) {
    animation-delay: 0.4s;
}

nav a,
nav a *,
nav span,
nav span * {
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
}

/* Remove ALL underline from the entire header logo block */
nav a,
nav a *,
nav span,
nav span * {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Social icon SVGs */
.social-icons a svg {
    width: 18px;   /* icon size */
    height: 18px;
    stroke-width: 2;
}

/* Contact icon SVGs */
.footer-section p i svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

/* Logo container (image + text beside each other) */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Logo image size */
.logo img {
    width: 45px;
    height: aut0;
}

/* Main title */
.logo-title {
    font-size: 1rem;       /* Adjust if needed */
    font-weight: 700;
    display: block;
    white-space: nowrap;
}

/* Sub-text under the title */
.logo-sub {
    font-size: 0.55rem;    /* Make smaller */
    display: block;
    line-height: 1.1;
    white-space: nowrap;   /* Keep in one line */
    max-width: 160px;      /* Prevent it from becoming longer than the title */
    overflow: hidden;
    text-overflow: clip;   /* You can change to ellipsis if you want (…) */
}

.tag {
  display: inline-block;
  background: #1e3a8a;
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 6px;
}


/* FORCE CLICK-ONLY DROPDOWN */
.dropdown {
  position: relative !important;
  display: inline-block !important;
}

/* Make Articles look like other menu links */
.dropbtn {
  background: none !important;
  border: none !important;
  color: inherit !important;
  font: inherit !important;
  cursor: pointer !important;
  padding: 0 !important;
}

/* HIDDEN BY DEFAULT */
.dropdown-content {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  background: #ffffff !important;
  min-width: 220px !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
  border-radius: 8px !important;
  z-index: 9999 !important;

  /* FORCE VERTICAL STACK */
  flex-direction: column !important;
}

/* FORCE EACH LINK TO FULL ROW */
.dropdown-content a {
  display: block !important;
  width: 100% !important;
  padding: 12px 16px !important;
  text-align: left !important;
  white-space: nowrap !important;
}

/* Visible when opened */
.dropdown-content.show {
  display: block !important;
}

/* ⚠️ DISABLE ALL HOVER-BASED DROPDOWNS */
.dropdown:hover .dropdown-content {
  display: none !important;
}