@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

  /* Base Styles */
  * {
    margin: 0;
    padding: 0;
    /* box-sizing: border-box; */
    font-family: "Arial", sans-serif;
  }
  
  /* body {
    line-height: 1.6;
    color: var(--text-dark);
  } */

#navbar{
    width: 100%;
    position: fixed;
      background-color: black;
      height: 40px;
      z-index: 9999; /* Ensure navbar stays on top */
  }
  
  #topnav{
      display: flex;
  }
  
  .phone-number{
      padding: 0 50px;
      width: 14%;
      height: 40px;
      background-color: #ab8646;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  #navbar .phone-number a{
      text-decoration: none;
      font-size: 13px;
      font-family: 'poppins';
      color: white;
  }
  
  #navbar .phone-number a:hover{
      text-decoration: underline;
  }
  
  .gmail{
      padding: 0 50px;
      width: 29%;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  #navbar .gmail a{
      text-decoration: none;
      font-size: 13px;
      font-family: 'poppins';
      color: white;
  }
  
  #navbar .gmail a:hover{
      text-decoration: underline;
  }
  
  .line{
      height: 37px;
      border: 1px solid gray;
  }
  
  .icons {
      padding-left: 40px;
      padding-right: 40px;
      height: 40px;
      display: flex;
      justify-content: center; 
      align-items: center;
  }
  
  .icons a{
      color: white;
      text-decoration: none;
  }
  .icons ul{
      display: flex;
      list-style-type: none;
      gap: 30px;
      align-items: center;
      justify-content: center;
  }
  
  
  .icons a:hover{
      color: #ab8646;
  }
  
  #google_translate_element_wrapper {
      padding-left: 40px;
      display: flex;
      justify-content: center;
      align-items: center; 
      height: 40px;
    }
    
    #google_translate_element {
      margin: 20px;
      font-size: 14px;
    }
    
  .goog-te-banner-frame {
    display: none !important;
  }
    
    .goog-te-gadget-simple {
      background-color: #f1f1f1;
      border: 1px solid #ddd;
      border-radius: 5px;
      padding: 5px;
      font-family: Arial, sans-serif;
      cursor: pointer;
    }
    
    .goog-te-gadget-simple:hover {
      background-color: #eaeaea;
    }
  
  /* Middle Navbar */
  .middle-navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 999;
  }
  
  .middle-navbar-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
  }
  
  /* Logo and H1 Size for Desktop */
  .logo img {
    height: 50px; /* Default size for desktop */
  }
  
  .logo {
    display: flex;
    align-items: center;
  }
  
  .logo h1 {
    font-size: 24px; /* Default size for desktop */
    color: rgba(0, 0, 0, 0.868);
    text-decoration: none;
    padding-top: 4px;
    padding-left: 15px;
    font-family: 'poppins';
    font-weight: 700;
  }
  
  .logo a {
    text-decoration: none;
  }
  
  .logo a h1:hover {
    color: #ab8646;
  }
  
  /* Navigation Links */
  .middle-nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
  }
  
  .middle-nav-links li a {
    font-family: 'lexend';
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s;
  }
  
  .middle-nav-links li a:hover {
    color: #ab8646;
  }
  
  /* Appointment Button */
  .appointment-btn a {
    font-family: "lexend";
    text-decoration: none;
    color: white;
    background-color: #ab8646;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
  }
  
  .appointment-btn a:hover{
    background-color: #333;
  }
  
  nav ul li a::after {
    content: '';
    display: block;
    height: 2px;
    border-radius: 10px;
    width: 0;
    position: absolute;
    bottom: -5px;
    background-color: #ab8646;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease, width 0.3s ease;
  }
  
  nav ul li a:hover::after {
    transform: translateX(-50%) scaleX(1);
    width: 100%;
  }
  
  .dropdown {
    position: relative;
  }
  
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: -30px;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0 10px 15px;
    min-width: 150px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 5px;
  }
  
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
  }
  
  .dropdown-menu li a {
    font-family: 'lexend';
    padding: 8px 20px;
    font-size: 16px;
    color: #333;
    display: block;
    transition: all 0.3s ease;
  }
  
  .dropdown-menu li a:hover {
    color: #ab8646;
    background-color: #f8f8f8;
  }
  
  /* Adjust the main navigation link positioning */
  .middle-nav-links li a {
    display: inline-block;
    padding: 5px 0;
    position: relative;
  }
  
  /* Mobile Navigation Styles */
  .hamburger-menu {
    display: none; /* Hide by default */
    cursor: pointer;
    position: fixed;
    top: 6px;
    right: 20px;
    z-index: 1001; /* Ensure it's above other elements */
    background: #ab8646;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .hamburger-menu .bar {
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
  }
  
  /* Animate hamburger icon */
  .hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: 0.3s;
    overflow-y: auto;
  }
  
  .mobile-nav.active {
    right: 0;
  }
  
  .mobile-nav-content {
    padding: 20px;
  }
  
  .mobile-nav-links {
    list-style: none;
    padding: 0;
    margin-top: 60px;
  }
  
  .mobile-nav-links li {
    margin-bottom: 15px;
  }
  
  .mobile-nav-links a {
    font-family: 'lexend';
    color: #333;
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 10px;
    border-radius: 4px;
    transition: 0.3s;
  }
  
  .mobile-nav-links a:hover {
    background-color: #f5f5f5;
    color: #ab8646;
  }
  
  .mobile-dropdown-menu {
    display: none;
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
  }
  
  .mobile-dropdown-menu li {
    margin-bottom: 8px;
  }
  
  .mobile-dropdown-menu a {
    font-size: 14px;
  }
  
  .mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
  }
  
  .mobile-dropdown .fa-chevron-down {
    float: right;
    transition: 0.3s;
  }
  
  .mobile-dropdown.active .fa-chevron-down {
    transform: rotate(180deg);
  }
  
  .mobile-appointment-btn {
    margin-top: 20px;
    text-align: center;
  }
  
  .mobile-appointment-btn a {
    display: block;
    background-color: #ab8646;
    color: white;
    padding: 12px;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'lexend';
  }
  
  /* Overlay for mobile menu */
  .mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
  }
  
  /* Media Queries */
  @media (max-width: 768px) {
    .middle-nav-links,
    .appointment-btn {
      display: none;
    }
  
    .hamburger-menu {
      display: block;
    }
  
    .logo img {
      height: 40px;
    }
  
    .logo h1 {
      font-size: 20px;
      padding-left: 10px;
    }
  
    /* Animate hamburger icon */
    .hamburger-menu.active .bar:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }
  
    .hamburger-menu.active .bar:nth-child(2) {
      opacity: 0;
    }
  
    .hamburger-menu.active .bar:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }
  }
  
  
  /* Media Query for Mobile View */
  @media (max-width: 768px){#topnav {
    display: none;
  }}
  
  

/* CSS Variables */
:root {
    --primary-color: #ab8646;
    --secondary-color: #2c3e50;
    --text-dark: #333;
    --text-light: #666;
    --transition-speed: 0.3s;
  }

  
  /* Hero Section */
  .hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url(/IMG/SUPREME-COURT-BG-OPTIONS-Featured-scaled.jpg) center/cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 2rem;
  }
  
  .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: white;
  }
  
  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
  }
  
  /* Services Grid */
  .services-grid {
    padding: 4rem 2rem;
    background: #f9f9f9;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--secondary-color);
  }
  
  .grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: grid;
    place-items: center;
    font-size: 1.75rem;
    color: white;
  }
  
  .service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
  }
  
  .service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    min-height: 80px;
  }
  
  /* Buttons */
  .cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed);
    gap: 0.5rem;
  }
  
  .primary {
    background: var(--primary-color);
    color: white;
  }
  
  .primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
  }
  
  .secondary {
    margin-top: 10px;
    background: transparent;
    border: 2px solid white;
    color: white;
  }
  
  .secondary:hover {
    background: white;
    color: var(--text-dark);
  }
  
  .service-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background var(--transition-speed);
    gap: 0.5rem;
  }
  
  .service-btn:hover {
    background: var(--secondary-color);
  }

  /* Why Choose Us Section */
.why-choose-us {
    background: var(--section-bg, #f8f9fa);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1.5rem auto;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Reasons Grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2.5rem;
    max-width: 1280px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

/* Reason Card */
.reason-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.reason-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    z-index: -1;
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reason-card:hover::before {
    opacity: 0.15;
}

/* Check Icon */
.check-icon {
    color: var(--primary-color);
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    transition: all 0.3s ease;
}

.reason-card:hover .check-icon {
    transform: rotateY(360deg);
    color: var(--secondary-color);
}

.reason-title {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.reason-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 280px;
}

/* CTA Container */
.cta-container {
    text-align: center;
    margin-top: 3rem;
}

.cta-btn.with-icon {
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

.cta-btn.with-icon i {
    transition: transform 0.3s ease;
}

.cta-btn.with-icon:hover i {
    transform: scale(1.1);
}

.cta-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1.5rem;
    opacity: 0.9;
}

/* Animations */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.reason-card {
    animation: cardEntrance 0.8s ease-out forwards;
    opacity: 0;
}

.reason-card:nth-child(1) { animation-delay: 0.1s; }
.reason-card:nth-child(2) { animation-delay: 0.3s; }
.reason-card:nth-child(3) { animation-delay: 0.5s; }
.reason-card:nth-child(4) { animation-delay: 0.7s; }

@media (max-width: 768px) {
    .why-choose-us {
        padding: 4rem 1.5rem;
    }
    
    .reasons-grid {
        gap: 1.5rem;
        padding: 0;
    }
    
    .reason-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-btn.with-icon {
        width: 100%;
        justify-content: center;
    }
}
  
  /* Footer Styles */
#main-footer {
    background: linear-gradient(135deg, #1a1a1a, #2c2315);
    color: #fff;
    padding: 50px 20px;
    font-family: 'Lexend', sans-serif;
  }
  
  #main-footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }
  
  .footer-section {
    padding: 10px;
  }
  
  .footer-section h3,
  .footer-section h4 {
    font-size: 1.6rem;
    color: #ab8646;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .footer-section p {
    font-size: 1rem;
    color: #bbb;
    line-height: 1.6;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-section ul li {
    font-size: 0.95rem;
    color: #ccc;
    margin: 10px 0;
  }
  
  .footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
  }
  
  .footer-section ul li a:hover {
    color: #ab8646;
    transform: translateX(5px);
  }
  
  /* Social Icons */
  .social-icons a {
    display: inline-block;
    margin-right: 10px;
    color: #ccc;
    font-size: 1.2rem;
    transition: color 0.3s;
    padding-top: 25px;
  }
  
  .social-icons a:hover {
    color: #ab8646;
  }
  
  /* Opening Hours */
  .footer-section .hours li {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: #bbb;
    margin-bottom: 8px;
  }
  
  /* Footer Bottom */
  .footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #bbb;
    border-top: 1px solid #333;
    margin-top: 30px;
  }
  
  .footer-bottom a {
    color: #ab8646;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-bottom a:hover {
    color: #fff;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    #main-footer {
      padding: 30px 15px;
    }
  
    .footer-section h3,
    .footer-section h4 {
      font-size: 1.4rem;
    }
  
    .footer-section ul li {
      font-size: 0.9rem;
    }
  
    .social-icons {
      justify-content: center;
    }
  }
  
  @media (max-width: 480px) {
    .footer-section p {
      font-size: 0.9rem;
    }
  
    .social-icons a {
      width: 35px;
      height: 35px;
      font-size: 1rem;
    }
  
    .footer-bottom {
      font-size: 0.85rem;
    }
  }
  