@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Pacifico&family=Roboto:wght@400;700&display=swap');

:root {
    --primary-color: #4CAF50; /* Bright green */
    --secondary-color: #3B5998; /* Blue */
    --accent-color: #FFD700; /* Gold */
    --text-color: #333333; /* Dark grey for readability */
    --background-color: #dbf2ff; /* White background for a clean look */
    --background-overlay: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay */
    --hover-bg-color: #388E3C; /* Darker green for hover effects */
    --hover-text-color: #FFFFFF; /* White text for hover state */
    --font-family-body: 'Roboto', sans-serif;
    --font-family-title: 'Merriweather', serif;
    --font-family-accent: 'Pacifico', cursive;
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Softer shadow for a modern look */
    --text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); /* Softer text shadow */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    color: var(--text-color);
}
h1 {
    margin-bottom: 10px; 
    font-size: 34px;
}
p {
    font-size: 1.3rem;
    line-height: 1.6;
}
.main-content a:not('.cta-btn') {
    color: var(--secondary-color);
    text-decoration: none;
    transition: .5s ease-in-out; 
}
.main-content a:not('.cta-btn'):hover {
    color: var(--primary-color);
}
h1, h2, h3, h4, h5 {
    font-family: var(--font-family-title);
    text-transform: capitalize;
}

.header {
    padding: 5px 20px;
    background-color: var(--secondary-color);
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between; /* Adjusted to align items better */
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    max-width: 290px;
    margin: auto;
    border-radius: 8px;
    border: 2px groove var(--accent-color);
}

.nav {
    flex-grow: 1; /* Allow nav to grow */
    text-align: center; /* Center the nav items */
}

.nav a {
    margin: 0 10px;
    color: var(--hover-text-color);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    font-family: var(--font-family-title);
    text-transform: uppercase;
    font-size: 1.3rem;
}
.nav .active-nav {
    color: var(--accent-color);
    border-bottom: 2px solid; 
}
.nav a:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

.nav a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    top: -10px;
    left: 50%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

.nav a:hover::before {
    width: 100%;
    left: 0;
}
/* top part with terms text */
.terms {
    background-color: var(--text-color);
    padding: 5px;
}
.terms p {
    color: #fff; 
    text-align: center;
    font-size: 14px;
}
.terms a {
    color: var(--accent-color);
    text-decoration: none;
}
.terms a:hover {
    color: var(--primary-color);
}
/* Terms page */
.terms-section {
    background-image: url('imgs/document-review.webp');
    background-size: cover;
    background-position: center center;
    background-color: var(--background-overlay);
    background-blend-mode: overlay;
    min-height: 400px; 
    display: grid; 
    place-items: center;
    color: var(--background-color);
}
.terms-page-inner main {
    max-width: 900px;
    margin: 10px auto;
    text-align: justify;
    
}
.cta-btn,
.cta-btn-footer {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--hover-text-color);
    border-radius: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-btn:hover,
.cta-btn-footer:hover {
    background-color: var(--hover-bg-color);
    color: var(--hover-text-color);
    transform: scale(1.1);
}


.promo-section {
    background-color: var(--primary-color);
    padding: 20px;
    text-align: center;
}

.promo-section h1 {
    color: #fff;
    font-size: 30px;

}

/* Home page section */
.home-hero-section {
    min-height: 600px;
    display: grid; 
    place-items: center;
    background-image: url('imgs/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1e1ea9;
    background-blend-mode: overlay;
}

.home-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.home-text-content {
    flex: 1;
    padding: 20px;
    max-width: 30%;
    background-color: #1a1e1ea9;
}

.home-text-content h1 {
    font-family: var(--font-family-title);
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.home-text-content p {
    font-size: 18px;
    color: var(--hover-text-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.home-cta-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--hover-text-color);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-cta-btn:hover {
    background-color: var(--hover-bg-color);
    color: var(--hover-text-color);
    transform: scale(1.05);
}

.home-image-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    text-align: center;  
    border-radius: 10px;
    color: #fff;
    width: 70%;
}
.home-quotes-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.home-quote {
    background-color: rgba(20, 19, 19, 0.7);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    font-style: italic;
    color: var(--hover-text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-quote:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.home-quote footer {
    font-size: 16px;
    color: var(--accent-color);
    margin-top: 10px;
}
.home-services {
    max-width: 1200px; 
    margin: auto;
    padding: 50px 10px;
}
.home-services h3 {
    color: var(--secondary-color);
}
.home-services-list {
    list-style-type: none;
    padding: 20px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 20px;
}

.home-service-item {
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--background-color);
    min-width: 300px;
    
}

.home-service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
}

.home-service-item p {
    font-size: 16px;
    margin: 10px 0 0;
}

.home-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 24px;
    margin-right: 10px;
}

/* Individual icon styles */
.home-icon-contracts::before {
    content: "\1F4C4"; /* Page facing up symbol */
}

.home-icon-leases::before {
    content: "\1F4C3"; /* Page with curl symbol */
}

.home-icon-corporate-documents::before {
    content: "\1F4BC"; /* Briefcase symbol */
}

.home-icon-marketing-materials::before {
    content: "\1F4E2"; /* Loudspeaker symbol */
}

.home-icon-motions::before {
    content: "\1F4DD"; /* Memo symbol */
}

.home-icon-pleadings::before {
    content: "\1F4C8"; /* Chart with upward trend symbol */
}

.home-icon-letters::before {
    content: "\2709"; /* Envelope symbol */
}

.home-icon-petitions::before {
    content: "\1F4C7"; /* Card index symbol */
}

.home-icon-briefs::before {
    content: "\1F4D1"; /* Bookmark tabs symbol */
}

.home-icon-website-language::before {
    content: "\1F310"; /* Globe with meridians symbol */
}

.home-icon-forms::before {
    content: "\1F4C5"; /* Calendar symbol */
}

@media (max-width: 868px) {
    .home-hero-section {
        flex-direction: column;
        padding: 10px;
    }
    .home-container {
        flex-direction: column;
        width: 100%;
        gap: 1.2rem;
        margin: auto;
        align-items: center;
    }
    .home-text-content {
        max-width: 90%; 
        margin: auto;
    }
    .home-image-content {
        width: 90%; 
        margin: auto;
    }
    .home-text-content h1 {
        font-size: 28px;
    }

    .home-text-content p {
        font-size: 16px;
    }

    .home-cta-btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .home-quotes-container {
        max-width: 100%;
    }

    .home-quote {
        font-size: 16px;
    }
}


.intro-section h3 {
    font-size: 34px;
    color: var(--hover-text-color);
    margin-bottom: 10px;
}
.intro-section {
    background-color: var(--primary-color);
    padding: 40px 20px;
    color: var(--text-color);
}

.intro-inner {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    justify-content: center;
    max-width: 1000px;
    margin: auto;
}

/* expertise section */
.home-expertise-section {
    background-color: var(--background-color);
    padding: 40px 20px;
    color: var(--text-color);
}

.home-expertise-inner {
    max-width: 1000px;
    margin: auto;
}

.home-expertise-section h3 {
    font-family: var(--font-family-title);
    font-size: 34px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.home-expertise-section p {
    color: var(--text-color);
    margin-bottom: 20px;
}

.home-expertise-section blockquote {
    font-family: var(--font-family-body);
    font-size: 20px;
    font-style: italic;
    color: var(--hover-text-color);
    margin: 20px 0;
    padding: 10px 20px;
    border-left: 5px solid var(--primary-color);
    background-color: var(--background-overlay);
}



/* ************************
|  SERVICES PAGE STYLING |
******************************/
.document-review-section {
    min-height: 600px;
    display: grid;
    place-items: center;
    background-image: url("/imgs/services-hero-background.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1e1ea9;
    background-blend-mode: overlay;
}

.document-review-inner {
    max-width: 1100px;
    margin: auto;
    display: flex; 
    flex-wrap: wrap;
    gap: 1.2rem; 
    justify-content: space-between;
    align-items: center;
    background-color: var(--background-overlay);
    padding: 10px; 
    border-radius: 8px;
}
.services-hero-text {
    max-width: 500px;
}
.services-hero-text h1 {
    color: var(--accent-color);
}
.services-hero-text p {
    color: var(--hover-text-color); 
}
.hero-services-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.services-text {
   color: var(--text-color); 
}
.document-review-section, .clientele-section, .how-it-works-section {
    padding: 40px 20px;
}
.clientele-section {
    background: linear-gradient(to left, var(--background-overlay), var(--background-color));
    padding: 40px 20px;
    color: var(--text-color);
}

.clientele-inner {
    max-width: 900px;
    margin: auto;
}
.clientele-inner img {
    max-width: 350px; 
    margin: auto; 
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

.services-text h2 {
    margin-bottom: 20px; 
    color: var(--hover-text-color);
    font-size: 1.8rem;
}
.how-it-works-section {
    padding: 40px 20px;
    color: var(--text-color);
}

.how-it-works-inner {
    max-width: 1200px;
    margin: auto;
}

.text-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.services-text {
    flex: 1;
    padding: 20px;
}

.services-text h2 {
    font-family: var(--font-family-title);
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.services-text p {
    font-size: 18px;
    line-height: 1.6;
}

.services-text a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-text a:hover {
    color: var(--primary-color);
}

.services-image {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.services-image img {
    border-radius: 20px;
    max-width: 320px;
    height: auto;
    box-shadow: var(--box-shadow);
}

.service-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    transition: .3s ease-in-out;
    border-radius: 20px;
    color: #fff;
    padding: 0 5px 0 0;
}

.services-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 24px;
    margin-right: 10px;
     
}
.service-item:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
}
/* Individual icon styles */
.icon-contracts::before {
    content: "\1F4C4"; /* Page facing up symbol */
}

.icon-leases::before {
    content: "\1F4C3"; /* Page with curl symbol */
}

.icon-corporate-documents::before {
    content: "\1F4BC"; /* Briefcase symbol */
}

.icon-marketing-materials::before {
    content: "\1F4E2"; /* Loudspeaker symbol */
}

.icon-motions::before {
    content: "\1F4DD"; /* Memo symbol */
}

.icon-pleadings::before {
    content: "\1F4C8"; /* Chart with upward trend symbol */
}

.icon-letters::before {
    content: "\2709"; /* Envelope symbol */
}

.icon-petitions::before {
    content: "\1F4C7"; /* Card index symbol */
}

.icon-briefs::before {
    content: "\1F4D1"; /* Bookmark tabs symbol */
}

.icon-website-language::before {
    content: "\1F310"; /* Globe with meridians symbol */
}

.icon-forms::before {
    content: "\1F4C5"; /* Calendar symbol */
}

.icon-businesses::before {
    content: "\1F3E2"; /* Office building symbol */
}

.icon-government::before {
    content: "\1F3DB"; /* Classical building symbol */
}

.icon-nonprofits::before {
    content: "\1F6E0"; /* Hammer and wrench symbol */
}

.icon-law-firms::before {
    content: "\1F46E"; /* Man with suit and tie symbol */
}

.icon-solo-lawyers::before {
    content: "\1F464"; /* Bust in silhouette symbol */
}

.icon-individuals::before {
    content: "\1F465"; /* Busts in silhouette symbol */
}


/* ************************
|  ABOUT PAGE STYLING |
******************************/
.about-section {
    background-image: url('/imgs/about-hero-bg.webp');
    background-size: cover;
    background-position: center center;
    background-color: var(--background-overlay);
    background-blend-mode: overlay;
}
.about-section img {
    max-width: 300px;
}
.about-section h1 {
    color: var(--accent-color);
}
.about-section p {
    color: var(--hover-text-color);
}
.about-section, .key-points-section, .affiliations-section, .pei-section, .expertise-section, .testimonials-section {
    padding: 40px 20px;
}
.key-points-section, .pei-section,.testimonials-section {
    background-color: var(--background-color);
}

.about-inner, .key-points-inner, .affiliations-inner, .pei-inner, .expertise-inner, .testimonials-inner {
    max-width: 1200px;
    margin: auto;
}

.about-text-image-wrapper, .text-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.text-image-wrapper.reverse {
    flex-direction: row-reverse;
}

.about-text, .key-points-text, .affiliations-text, .pei-text, .expertise-text, .testimonials-text {
    flex: 1;
    padding: 20px;
    max-width: 50%;
}

.mark-image, .experience-image, .affiliations-image, .pei-image, .expertise-image, .testimonials-image {
    flex: 1;
    text-align: center;
    max-width: 320px;
    margin: auto;
}

.mark-image img, .experience-image img, .affiliations-image img, .pei-image img, .expertise-image img, .testimonials-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.about-text blockquote {
    background-color: rgba(255, 255, 255, 0.4);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    font-style: italic;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-text blockquote:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .about-text, .key-points-text, .affiliations-text, .pei-text, .expertise-text, .testimonials-text {
        max-width: 100%;
        padding: 10px;
    }

    .mark-image, .experience-image, .affiliations-image, .pei-image, .expertise-image, .testimonials-image {
        max-width: 100%;
        padding: 10px;
    }

   
}



/* ************************
|  CONTACT PAGE STYLING |
******************************/


.contact-section {
    background-image: url('imgs/contact-hero-background.webp');
    background-size: cover;
    background-position: center bottom;
  background-color: var(--text-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-blend-mode: overlay;
}

.contact-inner {
  background-color: white;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  padding: 3.5rem;
  width: 100%;
  max-width: 800px;
  position: relative;
  overflow: hidden;
}

.contact-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.contact-section h2 {
  color: var(--secondary-color);
  margin-bottom: 3rem;
  font-family: var(--font-family-title);
  font-size: 2.5rem;
  text-align: center;
  position: relative;
}

.contact-section h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 3rem;
}

.contact-details p {
  color: var(--text-color);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  padding: 1.2rem;
  border-radius: 8px;
  background-color: rgba(219, 242, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-details p:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.contact-details i {
  color: var(--primary-color);
  font-size: 1.8rem;
  background-color: rgba(76, 175, 80, 0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.contact-details p:hover i {
  background-color: var(--primary-color);
  color: white;
}

.contact-details a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--hover-bg-color);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-inner {
    padding: 2.5rem 1.5rem;
  }
  
  .contact-section h2 {
    font-size: 2rem;
  }
  
  .contact-details {
    grid-template-columns: 1fr;
  }
}



.hero-error-bg {
    background-image: url('/imgs/404.webp');
}
.call-to-action {
    background-color: var(--primary-color);
    padding: 20px;
    text-align: center;
    color: var(--hover-text-color);
    font-family: var(--font-family-body);
    box-shadow: var(--box-shadow);
}

.cta-btn-footer {
    margin-top: 10px;
    background-color: var(--accent-color);
    border: 1px solid;
    color: var(--text-color);
}
.cta-btn-footer:hover {
    background-color: var(--secondary-color);
}
@media (min-width: 600px) {
    .call-to-action {
        padding: 20px 15%;
    }
}
.footer {
  background-color: var(--text-color);
  color: white;
  padding: 3rem 1.5rem 1.5rem;
  position: relative;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer p[style] {
  font-size: 14px;
  max-width: 400px;
  margin: auto;
  color: rgba(255, 255, 255, 0.85);
  padding: 1.5rem;
  border-left: 3px solid var(--accent-color);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 0 6px 6px 0;
}

.footer-section h4 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-family: var(--font-family-title);
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-section h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.contact-info a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--hover-text-color);
  text-decoration: underline;
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer p[style] {
    margin-bottom: 2rem;
  }
}

