/* eslint-disable */
// Home page

const reviewsData = [
  { name:"GK MF", initials:"GK", text:"You will never, ever find a better law firm than the Ahmed Law Group. Mr. Ahmed guided us through a crazy real estate purchase involving an overleveraged and underwater property. The title company described the file as one of the most complex they had seen in 20 years." },
  { name:"J Colon", initials:"JC", text:"Outstanding service and professionalism! From the very first consultation, they were attentive, knowledgeable, and genuinely cared about our matter. The results exceeded my expectations." },
  { name:"Hekmat Habibullah", initials:"HH", text:"Attorney Abdulrehman has provided me with excellent service. Him and his team provided excellent communication, explained the legal process thoroughly, and delivered on his promises. A true 10/10 service." },
  { name:"OS", initials:"OS", text:"Abdulrehman represented me for a traffic violation. He communicated and walked me through the whole process. He explained my options seamlessly and was knowledgeable about the laws of neighboring states." },
  { name:"Mazhar Syed", initials:"MS", text:"Abdulrehman Ahmed was incredibly helpful and responsive. He is very intelligent, informative, competent, and his ability to strategically proceed based on facts was very impressive. His thorough legal research led to a favorable ruling." },
  { name:"Hamid Assadullah", initials:"HA", text:"I had an excellent experience working with The Ahmed Law Group for my estate planning. Abdulrehman was incredibly professional, knowledgeable, and patient. He took the time to explain every detail clearly and made sure my estate plan reflected my specific needs." },
  { name:"Kevin Webster", initials:"KW", text:"This firm is truly exceptional! The attorney did EXACTLY what was initially agreed upon. He asked background questions, gave clear advice, and followed through completely. I walked away with full confidence in the outcome." },
  { name:"Dan Dasilva", initials:"DD", text:"I had an excellent experience with Ahmed Law Group. Abdulrehman was professional, knowledgeable, and attentive throughout. He took the time to explain everything clearly and made sure all my questions were answered." },
  { name:"Amna Ahmed", initials:"AA", text:"Attorney Abdulrehman provided exceptional legal advice with clarity, integrity, and professionalism. His thoughtful guidance made complex matters easy to understand, and his sincerity was evident throughout." },
  { name:"Bilal Memon", initials:"BM", text:"Abdulrehman is an incredible lawyer. Super fast and thorough. He does all my lease reviews. I highly recommend him!" },
  { name:"Chundzom Lopez", initials:"CL", text:"The Ahmed Law Group has been an incredible legal team. I've consulted with them on multiple matters, and they've always given me sound legal advice and helped out of a few difficult situations. Competent, thorough, and understanding." },
  { name:"Mujtaba", initials:"MJ", text:"Attorney Abdulrehman was incredibly helpful in educating us about the probate process and explaining the differences between a revocable living trust and an irrevocable trust. He broke everything down clearly." },
  { name:"Mohammed Saleh", initials:"MS", text:"Abdulrahman is clearly a very talented lawyer. He took on my case for my business and was very professional throughout the whole process. I would definitely recommend him to anyone looking for a lawyer." },
  { name:"Gul Khan", initials:"GK", text:"I had an excellent experience with The Ahmed Law Group. Attorney Abdulrehman was incredibly professional, attentive, and thorough in handling both estate planning and business matters. He explained every detail clearly." },
  { name:"Mahammad Maisli", initials:"MM", text:"I am really happy that I chose Abdulrehman Ahmed for my traffic court. Saved me from 10 points worth of tickets. Really recommend you to choose this lawyer. Did everything for me." },
  { name:"Jhon Gonzalez", initials:"JG", text:"My experience with The Ahmed Law Firm was exceptional. Ahmed made it remarkably clear and manageable. His communication was outstanding and he was always prompt in responding to my questions." },
  { name:"Najib Assadullah", initials:"NA", text:"AbdulRahman was very easy to work with. He is very knowledgeable when it comes to Estate Planning and Business Law! 10/10 would recommend to anyone in need of his services." },
  { name:"Marab Daftani", initials:"MD", text:"Abdulrahman helped us with our license, register, legal works, purchasing, A to Z. One thing that stood out was his honesty and his communication that is priceless." },
  { name:"Umar Hassan", initials:"UH", text:"Attorney Abdulrehman was great. He helped me with every step throughout my case and kept me updated as it went along. I was quite impressed with his professionalism and prompt communication." },
  { name:"Ubeyd Ekici", initials:"UE", text:"I've had the pleasure of working with Abdulrehman across multiple states, and I can confidently say he is one of the most knowledgeable and detail-oriented attorneys I've encountered." },
  { name:"Aboud", initials:"AB", text:"Absolutely outstanding lawyer! From the very beginning, he is very professional, knowledgeable, and truly dedicated to my case. What impressed me most was his attention to detail and how proactively he communicated." },
  { name:"Felton Jones", initials:"FJ", text:"Absolute pleasure meeting this family. I can see and feel the integrity. Attention to detail is also something I notice with Abdul. Wishing you nothing but continued success." },
  { name:"Fahad A", initials:"FA", text:"I worked with Abdulrehman on a complex business dispute and a prenuptial agreement. He was professional, honest, and sharp in both cases. He protected my interests and made the whole process smooth." },
  { name:"Luis Izquierdo", initials:"LI", text:"Excellent service. I will continue to use The Ahmed Law Group in the future and recommend them to my friends and family. Abdulrehman was great." },
  { name:"Syed Haider", initials:"SH", text:"He's my go-to lawyer. Abdul Rahman is very knowledgeable, reliable, and easy to work with. Highly recommend him to anyone looking for professional legal help." },
  { name:"Nadia Rivest", initials:"NR", text:"Mr. Abdulrehman Ahmed is my attorney with top notch ethics and skills. He got me out of a bad situation that was my fault. I strongly recommend him to everyone needing a friend, attorney and a real pro at his job." },
  { name:"MoreFromMoose", initials:"MF", text:"Ahmad Law Group is my go-to for all my business legal needs. Whether it's litigation, lease agreements, or operating agreements for my various businesses, Ahmad always delivers. Sharp, reliable, and efficient." },
  { name:"Omar Syed", initials:"OS", text:"Ahmed is a family man who cares deeply for those in need and for his community. I have found Ahmed to be a person of integrity, intelligence, humility, and compassion." },
  { name:"Ali Chaudhry", initials:"AC", text:"I highly recommend Ahmed Law Group in Pennsylvania. They were professional, responsive, and genuinely cared about my case. Their team made the legal process easy to understand and always kept me informed." },
  { name:"Abdul Allan", initials:"AA", text:"Hiring Abdualrahman was a great decision. He was amazing through the whole process and made everything extremely easy and clear. Appreciate his help always!" },
  { name:"Mehmet Bayram", initials:"MB", text:"You rarely find honest and genuine attorneys that want what's best for their clients. Abdelrahman is one of the most compassionate, hardworking attorneys that will treat you like you're their only client." },
  { name:"Omar Amir", initials:"OA", text:"Ahmed is an honest and reliable lawyer with strong expertise in contracts and business law. He communicates clearly, works professionally, and truly looks out for his clients." },
  { name:"Werdeh Hassan", initials:"WH", text:"This firm provides honest, diligent, compassionate, and expert advocacy in a wide range of matters from family to civil to criminal. I would highly recommend!" },
  { name:"Asad", initials:"AS", text:"Abdulrehman is a phenomenal lawyer and has great attention to detail especially around transactional law. I would highly recommend his team if you want to get the job done efficiently." },
  { name:"Zafar Ajmal", initials:"ZA", text:"Abdul Rehman Ahmed is an exceptionally committed, trustworthy, and diligent attorney. He has provided me with effective assistance for my legal issues. I wholeheartedly recommend his services." },
  { name:"Mohi Syed", initials:"MO", text:"Very professional and courteous. Explained the challenges with regards to bylaws and constitutional requirements for a community center. Consulting Ahmed Law was worth the time and effort." },
  { name:"M. Mobasshir Ali", initials:"MA", text:"Hiring AbdulRehman Ahmed was one of the best legal decisions I've ever made. He handled a difficult landlord-tenant dispute with exceptional skill and achieved an outcome that exceeded my expectations." },
  { name:"Haroon Usmani", initials:"HU", text:"Abdulrehman is a great lawyer. I worked with him when he was at Ibrahim law and I know he is going to do great in his own practice. Would recommend 10/10." },
  { name:"Alif Abdullah", initials:"AL", text:"The best-in-class law firm, built on an unwavering commitment to excellence. Do not hesitate to reach out for your concerns in estate planning, real estate, and business law." },
  { name:"Mohammad Aziz", initials:"MZ", text:"If you need someone who is passionate, skilled, professional, and responsive, this is the place to go. Abdulrehman and his law group will be a great resource for you every step of the way." },
  { name:"Andrea Thompson", initials:"AT", text:"Thanks to Abdul for the legal advice in regards to my court case. It was really helpful. He was very patient and was open to hearing me out without cutting me off. I appreciate you Abdul." },
  { name:"Elias Lucy", initials:"EL", text:"This Law Firm is a very beneficial resource if you have any legal issues concerning business, family or otherwise. I highly recommend the Ahmed Law Group for quality legal representation." },
  { name:"Sahmi Noor", initials:"SN", text:"Abdul is a highly knowledgeable and effective lawyer, an invaluable business advisor." },
  { name:"Abdul Popal", initials:"AP", text:"Simply the best! Knowledgeable, responsive and genuinely caring. AbdulRehman handles with expertise and makes every step clear. Highly recommend his exceptional service!" },
  { name:"Yusuf Chak", initials:"YC", text:"I've used Abdulrehman's services when registering my business as an LLC. The process was seamless and customer service was amazing. I would highly recommend to anyone looking for legal services." },
  { name:"Ryan Gyllenhammer", initials:"RG", text:"I've had great interactions with them and have always found them to be professional, knowledgeable, and easy to work with. Their communication is clear, and they approach their work with integrity and attention to detail." },
  { name:"MMutahhar Mohiuddin", initials:"MM", text:"Excellent. Very knowledgeable. Honest lawyer. I would definitely refer to friends and family." },
  { name:"Salman Ahmad", initials:"SA", text:"This firm does not stop at just winning cases. Their impact goes far beyond that as they prioritize building lasting relationships built on genuine care, trust, and excellence!" },
  { name:"Joe D", initials:"JD", text:"Abdul is a highly knowledgeable and effective lawyer! Very valuable business advisor." },
  { name:"Abdel Abdelshafy", initials:"AB", text:"Excellent, hard working, knowledgeable. Worked on my case and was able to get me a fair settlement." },
  { name:"Hussain", initials:"HN", text:"I've had the good pleasure of dealing with Ahmed a few times now, and what a joy it's been! Looking forward to a fruitful future." },
  { name:"Jawad", initials:"JW", text:"Ahmed has a deep understanding for complex issues and has high integrity. I fully trust the founder and the practice." },
  { name:"Humza Qureshi", initials:"HQ", text:"Great estate planning firm. Very knowledgeable regarding Wills and Trusts." },
  { name:"Abdi A", initials:"AB", text:"Excellent Attorney, especially in business, estate planning, and real estate law." },
  { name:"Neamat Sidiqee", initials:"NS", text:"Very professional and knowledgeable. Explained everything clearly and kept me informed every step of the way. Highly recommend!" },
  { name:"Asim Hussain", initials:"AH", text:"Impressed by the work ethic and quality of work by this firm. Very attentive to their clients needs." },
  { name:"Zag Chaudry", initials:"ZC", text:"Hands down one of the best lawyers I know! Knows the law well and cares about his clients." },
  { name:"Yusuf Abu", initials:"YA", text:"When it came to estate planning, these guys hit the mark. Would recommend to everyone." },
  { name:"Yasir Abunamous", initials:"YB", text:"Expertise, integrity, and customer service all in one!" },
  { name:"Mohamed Shaheen", initials:"MS", text:"Abdulrahman represented us while acquiring a business. He was extremely knowledgeable and handled all matters professionally and in a timely manner." },
  { name:"Asim Ajmeri", initials:"AJ", text:"I had a great experience working with this attorney on my business contracts. He is extremely knowledgeable, responsive, and takes the time to explain things clearly so you fully understand what you're signing." },
  { name:"Zain Jakwani", initials:"ZJ", text:"Working with Mr. Ahmed was an outstanding experience from start to finish. As a small business owner, navigating legal documents felt overwhelming, but Abdulrehman made the entire process smooth, straightforward, and stress-free." },
  { name:"Mariame Guisse", initials:"MG", text:"Abdulrehman is knowledgeable, responsive, respectful, kind and professional! He went above and beyond to help me out. I recommend his services!" },
  { name:"An Ye", initials:"AY", text:"Esq Ahmed provided me excellent legal advice. He was very patient and direct. He even followed up with an email about our discussion and suggestions on how to protect myself. I would highly recommend Esq Ahmed." },
];

const badgeImages = [
  { src: "assets/badge-qba-winner.jpg",                alt: "Quality Business Awards 2026 Winner" },
  { src: "assets/badge-qba-best-rated.jpg",            alt: "Quality Business Awards – #1 Best Rated 2026" },
  { src: "assets/badge-super-lawyers-rising-stars.jpg",alt: "Super Lawyers Rising Stars – Abdulrehman Ahmed" },
  { src: "assets/badge-justia-10.jpg",                 alt: "Justia 10.0 Lawyer Rating" },
  { src: "assets/badge-super-lawyers-2025.jpg",        alt: "Super Lawyers 2025" },
];

function BadgesStrip() {
  const tripled = [...badgeImages, ...badgeImages, ...badgeImages];
  return (
    <div className="badges-strip">
      <div className="badges-strip-label">
        <span className="eyebrow" style={{justifyContent:"center"}}>Recognition &amp; Honors</span>
      </div>
      <div className="badges-track-wrap">
        <div className="badges-track">
          {tripled.map((b, i) => (
            <img key={i} className="badge-img" src={b.src} alt={b.alt} />
          ))}
        </div>
      </div>
    </div>
  );
}

function ReviewCard({ r }) {
  return (
    <div className="rv-card">
      <div className="rv-stars">★★★★★</div>
      <p className="rv-text">{r.text}</p>
      <div className="rv-who">
        <div className="rv-av">{r.initials}</div>
        <span className="rv-name">{r.name}</span>
      </div>
    </div>
  );
}

function ReviewsScroller() {
  const mid = Math.ceil(reviewsData.length / 2);
  const row1 = reviewsData.slice(0, mid);
  const row2 = reviewsData.slice(mid);
  return (
    <section className="reviews-section" id="testimonials">
      <div className="reviews-head">
        <div className="eyebrow reveal" style={{justifyContent:"center"}}>Client Voices</div>
        <h2 className="section-title reveal d1">102 five-star <em>reviews.</em></h2>
        <p className="reviews-lede reveal d2">What clients say about working with The Ahmed Law Group.</p>
      </div>
      <div className="rv-scroller">
        <div className="rv-row">
          <div className="rv-track rv-track--fwd">
            {[...row1, ...row1].map((r, i) => <ReviewCard key={i} r={r} />)}
          </div>
        </div>
        <div className="rv-row">
          <div className="rv-track rv-track--rev">
            {[...row2, ...row2].map((r, i) => <ReviewCard key={i} r={r} />)}
          </div>
        </div>
      </div>
    </section>
  );
}

function HomePage() {
  useReveal();

  return (
    <React.Fragment>
      <Nav current="home" />

      {/* HERO */}
      <section className="hero">
        <div className="hero-bg" style={{backgroundImage:"url(https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1600&q=90&auto=format&fit=crop)"}}></div>
        <div className="hero-inner">
          <div className="hero-eyebrow">The Ahmed Law Group, PLLC</div>
          <h1 className="hero-title">
            Distinguished counsel.<br/>
            <em>Personal attention.</em>
          </h1>
          <p className="hero-sub">
            A boutique law firm in estate planning, real estate, business law, and civil litigation.
            Serving individuals, families, and closely held companies across
            Pennsylvania and New Jersey with rigor, discretion, and care.
          </p>
          <div className="hero-actions">
            <a href="Contact.html" className="btn btn-primary">Schedule a Consultation <span className="arr">→</span></a>
            <a href="Practice Areas.html" className="btn btn-ghost">Our Practice <span className="arr">→</span></a>
          </div>
        </div>
        <div className="hero-scroll">
          <span className="line"></span>
          <span>Scroll</span>
        </div>
      </section>

      {/* STATS */}
      <section className="stats">
        <div className="stats-inner">
          <div className="stat reveal">
            <div className="n">10.0</div>
            <div className="l">Justia Attorney Rating</div>
          </div>
          <div className="stat reveal d1">
            <div className="n">Top 1%</div>
            <div className="l">Nationwide Ranking</div>
          </div>
          <div className="stat reveal d2">
            <div className="n">2</div>
            <div className="l">Jurisdictions</div>
          </div>
          <div className="stat reveal d3">
            <div className="n">1:1</div>
            <div className="l">Direct With Counsel</div>
          </div>
        </div>
      </section>

      {/* BADGES STRIP */}
      <BadgesStrip />

      {/* PRACTICE AREAS */}
      <section className="section" id="practice">
        <div className="section-head">
          <div className="eyebrow reveal">Practice Areas</div>
          <h2 className="section-title reveal d1">
            Four disciplines. <em>One standard.</em>
          </h2>
          <p className="section-lede reveal d2">
            A boutique practice, deliberately narrow. Every matter is handled
            personally by the founding attorney, with the rigor of a large firm and
            the attention of a private counselor.
          </p>
        </div>

        <div className="practice-grid">
          <a href="Estate Planning.html" className="practice-card reveal">
            <div className="card-media">
              <img className="photo" src="assets/estate-planning.jpg" alt="Estate planning" style={{objectPosition:"center 65%"}} />
            </div>
            <div className="card-body">
              <div className="num">01 / 04</div>
              <div className="ico"><Icon.Estate /></div>
              <h3>Estate <em>Planning</em></h3>
              <p>Wills, trusts, asset protection, powers of attorney, and advance healthcare directives. Bespoke instruments drafted to your circumstances.</p>
              <span className="more">Explore<span className="ar"></span></span>
            </div>
          </a>
          <a href="Real Estate Law.html" className="practice-card reveal d1">
            <div className="card-media">
              <img className="photo" src="https://images.unsplash.com/photo-1564013799919-ab600027ffc6?w=900&q=80&auto=format&fit=crop" alt="Real estate law" />
            </div>
            <div className="card-body">
              <div className="num">02 / 04</div>
              <div className="ico"><Icon.RealEstate /></div>
              <h3>Real <em>Estate Law</em></h3>
              <p>Residential and commercial closings, contract drafting, lease agreements, landlord/tenant matters, and title review.</p>
              <span className="more">Explore<span className="ar"></span></span>
            </div>
          </a>
          <a href="Business Law.html" className="practice-card reveal d2">
            <div className="card-media">
              <img className="photo" src="assets/business-law.jpg" alt="Business law" />
            </div>
            <div className="card-body">
              <div className="num">03 / 04</div>
              <div className="ico"><Icon.Business /></div>
              <h3>Business <em>Law</em></h3>
              <p>LLC and corporation formation, operating agreements, contracts, and general counsel for entrepreneurs and family enterprises.</p>
              <span className="more">Explore<span className="ar"></span></span>
            </div>
          </a>
          <a href="Civil Litigation.html" className="practice-card reveal d3">
            <div className="card-media">
              <img className="photo" src="https://images.unsplash.com/photo-1568092806323-8ec13dfa9b92?w=900&q=80&auto=format&fit=crop" alt="Civil litigation" />
            </div>
            <div className="card-body">
              <div className="num">04 / 04</div>
              <div className="ico"><Icon.Gavel /></div>
              <h3>Civil <em>Litigation</em></h3>
              <p>Pre-suit negotiation, complaints and motion practice, mediation, and trial representation in Pennsylvania and New Jersey courts.</p>
              <span className="more">Explore<span className="ar"></span></span>
            </div>
          </a>
        </div>
      </section>

      {/* ABOUT SNIPPET */}
      <section className="about" id="about">
        <div className="about-centered">
          <div className="eyebrow reveal" style={{justifyContent:"center"}}>The Attorney</div>
          <h2 className="about-name reveal d1" style={{textAlign:"center"}}>
            Abdulrehman<br/><em>Ahmed, Esq.</em>
          </h2>
          <div className="about-role reveal d1" style={{textAlign:"center"}}>Founder &amp; Principal Attorney · The Ahmed Law Group, PLLC</div>

          <div className="about-accolades reveal d2">
            <div className="accolade-chip"><span className="ac-mark">★</span>Super Lawyers Rising Star</div>
            <div className="accolade-chip"><span className="ac-mark">10.0</span>Justia Rating</div>
            <div className="accolade-chip"><span className="ac-mark">1%</span>Quality Business Awards</div>
            <div className="accolade-chip"><span className="ac-mark">✦</span>Three Best Rated®</div>
          </div>

          <div className="about-bio reveal d2">
            <p>
              Abdulrehman Ahmed, Esq. is the Founder and Principal Attorney of The Ahmed Law Group, PLLC, a modern, results-driven law firm serving clients throughout Pennsylvania and New Jersey. The firm represents individuals, families, and businesses in estate planning, civil litigation, real estate, and complex legal matters, delivering strategic counsel grounded in both legal precision and practical judgment.
            </p>
            <p>
              Recognized by Quality Business Awards as the Leading Estate Planning Lawyer in Allentown, ranking among the top 1% of businesses nationwide, and selected by Three Best Rated® as one of the top three estate planning firms in Allentown. A Super Lawyers Rising Star with a perfect 10.0 rating on Justia, Mr. Ahmed's background combines legal excellence with technical sophistication, drawing on his experience as a judicial law clerk in the New Jersey Appellate Division and as a civil engineer (B.S. &amp; M.S. cum laude, NJIT).
            </p>
          </div>

          <blockquote className="about-pull reveal d3">
            "Good counsel is not loud. It is deliberate, prepared, and present when it is needed most."
          </blockquote>

          <div className="creds-row reveal d3" style={{maxWidth:580,margin:"32px auto 0"}}>
            <div className="cred">
              <div className="v"><em>J.D.</em></div>
              <div className="l">Rutgers Law</div>
            </div>
            <div className="cred">
              <div className="v"><em>M.S.</em></div>
              <div className="l">Civil Eng., NJIT</div>
            </div>
            <div className="cred">
              <div className="v">PA · NJ</div>
              <div className="l">Bar Admitted</div>
            </div>
          </div>

          <div style={{marginTop:40, textAlign:"center"}} className="reveal d4">
            <a href="About.html" className="btn btn-ghost">Read Full Biography <span className="arr">→</span></a>
          </div>
        </div>
      </section>

      {/* REVIEWS SCROLLER */}
      <ReviewsScroller />

      {/* AWARDS / RECOGNITION */}
      <section className="awards-bar" id="recognition">
        <div className="awards-inner">
          <div className="awards-label eyebrow reveal" style={{justifyContent:"center"}}>Recognition &amp; Honors</div>
          <div className="awards-row">
            <div className="award-pill reveal">
              <div className="mark">★</div>
              <div className="nm">Rising Star</div>
              <div className="org">Super Lawyers</div>
            </div>
            <div className="award-pill reveal d1">
              <div className="mark">10</div>
              <div className="nm">Perfect 10.0</div>
              <div className="org">Justia Rating</div>
            </div>
            <div className="award-pill reveal d2">
              <div className="mark">§</div>
              <div className="nm">Former Law Clerk</div>
              <div className="org">Judicial Chambers</div>
              <div className="yr">Prior</div>
            </div>
            <div className="award-pill reveal d3">
              <div className="mark">✦</div>
              <div className="nm">Three Best Rated®</div>
              <div className="org">Top 3 Estate Planning</div>
              <div className="yr">Allentown</div>
            </div>
          </div>
        </div>
      </section>

      {/* CTA */}
      <section className="cta-band">
        <div className="inner">
          <h2 className="reveal">Begin the <em>conversation.</em></h2>
          <p className="reveal d1">
            Initial consultations are confidential and complimentary, by appointment
            in our Allentown office or remotely.
          </p>
          <div className="actions reveal d2">
            <a href="Contact.html" className="btn btn-primary">Schedule Consultation <span className="arr">→</span></a>
            <a href="tel:6104003147" className="btn btn-ghost">Call 610.400.3147</a>
          </div>
        </div>
      </section>

      <Footer />
    </React.Fragment>
  );
}

ReactDOM.createRoot(document.getElementById("root")).render(<HomePage />);
