  /* ===================================
           Import Bootstrap
=================================== */
  @import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css");


  /* ===================================
           CSS Variables for Easy Customization
 =================================== */
  :root {
      --primary-navy: #031551;
      --primary-gold: #F3BA5E;
      --text-dark: #1E1E27;
      --light-gold: #FFF5E6;
      --white: #fff;
      --whatsapp-green: #25D366;
      --transition-speed: 0.3s;
      --modal-padding: 1.5rem;
      --modal-header-padding: 1rem 1.5rem;
      --modal-footer-padding: 1rem 1.5rem;
  }

  /* ===================================
           Global Styles
=================================== */
  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

  body {
      font-family: 'Poppins', sans-serif;
      color: var(--text-dark);
      font-size: 17px;
      line-height: 1.6;
      overflow-x: hidden;
  }

  /* ===================================
           Navigation Styles
=================================== */
  .navbar {
      background-color: var(--primary-navy);
      padding: 0.625rem 0;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .navbar-brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-weight: 600;
      color: var(--white) !important;
      font-size: 1rem;
      transition: transform var(--transition-speed);
  }

  .navbar-brand:hover {
      transform: translateY(-2px);
  }

  .navbar-nav .nav-link {
      color: var(--white) !important;
      font-weight: 400;
      font-size: 0.95rem;
      padding: 0.5rem 1rem !important;
      transition: color var(--transition-speed), transform var(--transition-speed);
      position: relative;
  }

  .navbar-nav .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--primary-gold);
      transition: width var(--transition-speed), left var(--transition-speed);
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
      color: var(--primary-gold) !important;
      transform: translateY(-2px);
  }

  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link.active::after {
      width: 100%;
      left: 0;
  }

  .navbar-toggler {
      border-color: var(--primary-gold);
  }

  .logo-wrapper .logo {
      width: 11.125rem;
      height: auto;
  }

  /* ===================================
           Mobile Menu Slide-in Animation
=================================== */
  @media (max-width: 1200px) {
      .navbar-collapse {
          position: fixed;
          top: 0;
          right: -100%;
          width: 80%;
          max-width: 350px;
          height: 100vh;
          background-color: var(--primary-navy);
          z-index: 1050;
          padding: 2rem 0;
          overflow-y: auto;
          transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
          box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
      }

      .navbar-collapse.show,
      .navbar-collapse.collapsing {
          right: 0;
      }

      .navbar-collapse.collapsing {
          transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
          height: 100vh;
      }

      /* Close button for mobile menu */
      .navbar-collapse::before {
          content: '×';
          position: absolute;
          top: 1rem;
          right: 1.5rem;
          font-size: 2.5rem;
          color: var(--primary-gold);
          cursor: pointer;
          width: 40px;
          height: 40px;
          display: flex;
          align-items: center;
          justify-content: center;
          z-index: 1051;
      }

      /* Overlay when menu is open */
      .navbar-collapse.show~.menu-overlay,
      .navbar-collapse.collapsing~.menu-overlay {
          opacity: 1;
          pointer-events: auto;
      }

      .navbar-nav {
          padding: 3rem 1.5rem 1rem;
      }

      .navbar-nav .nav-link {
          padding: 1rem 1rem !important;
          border-bottom: 1px solid rgba(255, 255, 255, 0.1);
          font-size: 1.05rem;
      }

      .navbar-nav .nav-link:hover {
          background-color: rgba(212, 165, 116, 0.1);
      }

      .navbar-nav .nav-link::after {
          display: none;
      }
  }

  /* Menu overlay */
  .menu-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.6);
      z-index: 1040;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s ease;
  }

  /* ===================================
           Hero Section Styles
=================================== */
  .hero-section {
      max-height: 450px;
      height: auto;
      overflow: hidden;
      background: var(--primary-navy);
      object-fit: cover;
      text-align: center;
  }

  .hero-section img {
      opacity: 0.95;
  }

  .section {
      padding: 3rem 0;
      background-color: var(--white);
  }

  .section-title {
      font-size: 2.2rem;
      font-weight: 500;
      color: var(--primary-navy);
      margin-bottom: 2rem;
      position: relative;
      display: inline-block;
  }

  p {
      color: var(--text-dark);
      line-height: 1.8;
      margin-bottom: 0;
  }

  .light-primary-bg {
      background-color: var(--light-gold);
  }


  .primary-btn {
      background: var(--primary-navy);
      color: white;
      border: none;
      padding: 0.625rem 3.125rem;
      border-radius: 5px;
      font-weight: 500;
      transition: all 0.3s ease;
  }

  .primary-btn:hover {
      transform: translateY(-2px);
      background-color: var(--primary-gold);
      color: white;
  }

  .modal-title {
      color: var(--primary-navy);
  }


  /* ===================================
           Page Header Styles
           =================================== */
  .page-header {
      background: #07295c;
      padding: 5rem 0;
      text-align: center;
      color: var(--white);
  }

  .page-header h1 {
      font-size: 2.5rem;
      font-weight: 500;
      margin: 0;
  }

  /* ===================================
           Scroll to Top Button
           =================================== */
  .scroll-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      background: var(--primary-gold);
      color: red;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 999;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
      box-shadow: 0 4px 15px rgba(10, 30, 74, 0.3);
  }

  .scroll-to-top.visible {
      opacity: 1;
      visibility: visible;
  }

  .scroll-to-top:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 20px rgba(10, 30, 74, 0.4);
  }

  .scroll-to-top svg {
      width: 24px;
      height: 24px;
      stroke: var(--primary-navy);
      fill: none;
      stroke-width: 2.5;
  }


  /* ===================================
           Services Section Styles
           =================================== */

  .service-card {
      background: var(--white);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      transition: transform var(--transition-speed), box-shadow var(--transition-speed);
      cursor: pointer;
      height: 100%;
      display: flex;
      flex-direction: column;
  }

  .service-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
      cursor: pointer;
  }

  .service-image {
      width: 100%;
      height: 150px;
      object-fit: cover;
      background: linear-gradient(135deg, var(--primary-navy) 0%, #1a3b6e 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
  }

  .service-image::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: repeating-linear-gradient(45deg,
              transparent,
              transparent 35px,
              rgba(212, 165, 116, 0.1) 35px,
              rgba(212, 165, 116, 0.1) 70px);
  }

  .service-icon {
      font-size: 2rem;
      color: var(--primary-gold);
      z-index: 1;
  }

  .service-icon svg {
      width: 60px;
      height: 60px;
  }

  .service-content {
      padding: 2rem;
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .service-title {
      font-size: 1.2rem;
      font-weight: 500;
      color: var(--primary-navy);
      text-align: center;
      margin: 0;
  }

  /* ===================================
           Modal Styles
           =================================== */
  .modal-content {
      border-radius: 10px;
      border: none;
  }



  .contact-card {
      background: var(--white);
      border-radius: 10px;
      padding: 2rem;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      transition: transform var(--transition-speed), box-shadow var(--transition-speed);
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .contact-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  }

  .contact-icon {
      width: 70px;
      height: 70px;
      background: var(--primary-navy);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.5rem;
      font-size: 2rem;
      color: var(--primary-gold);
      box-shadow: 0 4px 15px rgba(10, 30, 74, 0.2);
  }

  .contact-icon svg {
      width: 50px;
  }

  .contact-title {
      font-size: 1.2rem;
      font-weight: 500;
      color: var(--primary-navy);
      margin-bottom: 1rem;
  }

  .contact-details {
      color: var(--text-dark);
      line-height: 1.8;
      word-break: break-word;
  }

  .contact-details a {
      color: var(--text-light);
      text-decoration: none;
      transition: color var(--transition-speed);
  }

  .contact-details a:hover {
      color: var(--primary-gold);
  }

  /* ===================================
           Testimonials Section Styles
           =================================== */
  .testimonials-section {
      background-color: var(--bg-cream);
  }

  .testimonial-card {
      background: var(--white);
      border-radius: 10px;
      padding: 3.5rem 2rem 2rem 2rem;
      margin-bottom: 3rem;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      position: relative;
      transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  }

  .testimonial-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  }

  .testimonial-card::before {
      content: '"';
      position: absolute;
      top: 1.3rem;
      left: 1.5rem;
      font-size: 5rem;
      font-family: Georgia, serif;
      color: var(--primary-gold);
      opacity: 0.45;
      line-height: 1;
      font-weight: bold;
  }

  .testimonial-content {
      position: relative;
      z-index: 1;
  }

  .testimonial-content p {
      margin-bottom: 2rem;
  }

  .testimonial-author {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid var(--primary-gold);
  }

  .author-avatar {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--primary-navy);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary-gold);
      font-size: 1.5rem;
      font-weight: 300;
      flex-shrink: 0;
  }

  .author-info {
      flex: 1;
  }

  .author-name {
      font-size: 1.2rem;
      font-weight: 500;
      color: var(--primary-navy);
  }

  .author-position {
      font-size: 1rem;
      line-height: 1.5;
  }

  /* ===================================
           Attorney Profile Section Styles
           =================================== */

  .attorney-card {
      background: var(--white);
      border-radius: 10px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  }

  .attorney-header {
      padding: 1.5rem;
      gap: 3rem;
  }

  .attorney-photo {
      flex-shrink: 0;
      height: auto;
      border-radius: 10px;
      object-fit: contain;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
      border: 4px solid var(--white);
  }

  .attorney-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .attorney-info {
      flex: 1;
  }

  .attorney-name {
      font-size: 1.2rem;
      font-weight: 500;
      color: var(--primary-navy);
      margin-bottom: 0.5rem;
      margin-top: 1.2rem;
  }

  .attorney-title {
      font-size: 1rem;
      color: var(--primary-gold);
      font-weight: 500;
      margin-bottom: 0rem;
  }

  .attorney-practice {
      line-height: 1.8;
  }

  .attorney-body h4 {
      margin-bottom: 1.5rem;
  }

  .attorney-body p {
      margin-bottom: 0.8rem;
  }

  .attorney-body {
      padding: 1.5rem;
  }

  .section-heading {
      font-size: 1.75rem;
      font-weight: 600;
      color: var(--primary-navy);
      margin-bottom: 1.5rem;
      padding-bottom: 0.75rem;
      border-bottom: 2px solid var(--primary-gold);
      display: inline-block;
  }

  .accord-section {
      margin-top: 2.5rem;
  }

  /***Tabs***/
  .nav-tabs {
      border: none;
      display: flex;
      justify-content: center;
  }

  .nav-tabs .nav-item {
      margin: 0 10px;
      margin-bottom: 0.5rem;
  }

  .nav-tabs .nav-link {
      border-radius: 25px;
      background: #fff;
      border: 1px solid var(--primary-navy);
      color: var(--primary-navy);
      min-width: 200px;
      padding: 10px 30px;
  }

  .nav-tabs .nav-link.active {
      border-radius: 25px;
      color: var(--primary-navy);
      background: var(--primary-gold);
      border: 1px solid var(--primary-gold);
      font-weight: 600;
  }

  .nav-tabs .nav-link:hover {
      border: 1px solid var(--primary-gold);
  }

  /* List Style One */

  .list-style {
      position: relative;
  }

  .list-style li {
      position: relative;
      padding-left: 0;
      margin-bottom: 0.75rem;
      list-style-type: none;
  }

  .list-style li:before {
      position: absolute;
      content: "";
      left: -25px;
      top: 8px;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background-color: var(--primary-gold);
  }

  .modal-body {
      padding: var(--modal-padding);
  }

  .modal-header {
      padding: var(--modal-header-padding);
  }

  .modal-footer {
      padding: var(--modal-footer-padding);
  }

  /* ===================================
           WhatsApp Floating Button
           =================================== */
  .whatsapp-float {
      position: fixed;
      bottom: 25px;
      right: 80px;
      width: 60px;
      height: 60px;
      background-color: var(--whatsapp-green);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
      cursor: pointer;
      z-index: 1000;
      transition: transform var(--transition-speed), box-shadow var(--transition-speed);
      text-decoration: none;
  }

  .whatsapp-float:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  }

  .whatsapp-float svg {
      width: 35px;
      height: 35px;
      fill: var(--white);
  }

  .whatsapp-float::before {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background-color: var(--whatsapp-green);
      animation: pulse 2s infinite;
      z-index: -1;
  }

  @keyframes pulse {
      0% {
          transform: scale(1);
          opacity: 0.8;
      }

      50% {
          transform: scale(1.2);
          opacity: 0;
      }

      100% {
          transform: scale(1);
          opacity: 0;
      }
  }

  /* ===================================
           Vision & Mission Section Styles
=================================== */
  .vision-mission-section {
      background-color: var(--bg-cream);
  }

  .vm-icon img {
      width: 45px;
      height: auto;
  }

  h2 {
      font-size: 1.875rem;
      font-weight: 500;
      color: var(--text-dark);
      margin-bottom: 0;
  }


  /***cards Section***/
  .app-card.card {
      border: 1px solid #E9A434;
      padding: 0px;
      border-radius: 15px;
  }

  .app-card.card .card-body {
      padding: 25px;
  }

  .app-card.card .card-body .card-title {
      font-size: 1.5rem;
      line-height: 2.2rem;
      margin-bottom: 15px;
      font-weight: 600;

  }


  /* ===================================
           Footer Styles
=================================== */
  .footer {
      background-color: var(--primary-navy);
      padding: 1rem 0;
      text-align: center;
  }

  .footer-text {
      margin: 0;
      color: var(--white) !important;
      font-size: 1rem;
  }


  /* Smooth scrolling */
  html {
      scroll-behavior: smooth;
  }

  /* Reduced motion for users who prefer it */
  @media (prefers-reduced-motion: reduce) {
      * {
          animation-duration: 0.01ms !important;
          animation-iteration-count: 1 !important;
          transition-duration: 0.01ms !important;
      }
  }

  @media (max-width: 1199px) {

      .container,
      .container-sm,
      .container-md {
          max-width: 90%;
          padding-left: 0;
          padding-right: 0;
      }
  }

  @media (max-width: 991px) {
      .attorney-body {
          padding-top: 0;
      }
  }

  @media (max-width:768px) {

      html,
      body {
          font-size: 16px;
      }

      .page-header {
          padding: 3rem 0;
      }

      .page-header h1 {
          font-size: 2rem;
      }

      .section-title {
          font-size: 1.8rem;
      }

      .author-name {
          font-size: 1.1rem;
      }

      .author-position {
          font-size: 0.9rem;
      }
  }