    :root {
        --primary-green: #2E7D32;
        --light-green: #4CAF50;
        --white: #ffffff;
        --light-gray: #f5f5f5;
        --medium-gray: #e0e0e0;
        --dark-gray: #333333;
        --black: #000000;
    }

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

    html {
        scroll-behavior: smooth;
        overflow-x: hidden;
    }

    body {
        font-family: 'Arial', sans-serif;
        line-height: 1.6;
        color: var(--dark-gray);
    }

    /* Navigation */
    nav {
        background-color: var(--white);
        padding: 1rem 5%;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .logo h1 {
        color: var(--black);
        font-size: 1.5rem;
        font-weight: bold;
    }

    .logo img {
        height: 65px;
        width: auto;
    }

    .nav-links {
        display: flex;
        gap: 2rem;
        /* font-size: 1rem; */
    }

    .nav-links a {
        color: var(--dark-gray);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }

    .nav-links a:hover {
        color: var(--primary-green);
    }

    /* Dropdown Styles */
    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-trigger {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
    }

    .dropdown-trigger i {
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .dropdown:hover .dropdown-trigger i {
        transform: rotate(180deg);
    }

    .dropdown-content {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--white);
        min-width: 220px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 4px;
        margin-top: 0.5rem;
    }

    .dropdown:hover .dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-content a {
        color: var(--dark-gray);
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        transition: background-color 0.3s;
    }

    .dropdown-content a:hover {
        background-color: rgba(46, 125, 50, 0.1);
        color: var(--primary-green);
    }

    .menu-toggle {
        display: none;
        color: var(--dark-gray);
        font-size: 1.5rem;
        cursor: pointer;
    }

    /* Parallax and Animation Classes */
    /* .parallax {
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    } */

    .fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Hero Section */
    .hero {
        position: relative;
        margin-top: 105px;
    }
    

    .hero-bg {
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: 40rem;
        margin-bottom: 2rem;
    }

    
    #deeds {
        background-position: 50% 103px
    }

    #clear-title {
        background-position: 50%  50px
        }
    
    #trusts-wills-guardianship {
        background-position: 50% -50px
    }

    #affidavits {
         background-position: 50% 79px;
    }

    .roots-tagline {
        position: relative;
        top: -72px;
        left: 5%;
        background-color: var(--primary-green);
        color: var(--white);
        padding: 0.8rem;
        font-size: 1.8rem;
        font-style: normal;
        display: inline-flex;        
        z-index: 3;


    }

    .hero-banner {
        position: absolute;
        top: 78%;
        left: 5%;
        transform: translateY(-50%);
        background-color: rgba(46, 125, 50, 0.9);
        color: var(--white);
        padding: 1.5rem 2rem;
        font-size: 1.8rem;
        font-weight: bold;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        z-index: 3;
        max-width: 60%;
    }

    .hero-banner h2 {
        margin: 0;
        font-size: 2rem;
        color: var(--white);
    }

    .hero-content h2 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        display: inline-block;
        padding: 1rem 2rem;
        background-color: var(--primary-green);
        color: var(--white);
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s;
    }

    .cta-button:hover {
        background-color: var(--light-green);
    }

    /* About Section */
    .about {
        padding: 0rem 5%;
        background-color: var(--white);
        position: relative;
        z-index: 1;
        /* margin-top: -50px; */
    }



    .about h2 {
        text-align: center;
        color: var(--primary-green);
        margin: 2rem 0rem;
        font-size: 1.5rem;
    }

    .about-content {
        display: flex;
        gap: 3rem;
        align-items: center;
    }

    .about-text {
        flex: 1;
        text-align: justify;
        font-size: 1.1rem;
    }

    .about-text p {
        hyphens: manual;
        margin-bottom: 1rem;
    }

    .team-photo {
        flex: 1;
    }

    .team-photo img {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    /* Services Provided */
    .services-provided {
        padding: 1rem 5%;
        background-color: var(--light-gray);
        position: relative;
        z-index: 1;
    }

    /* Deeds page specific styles */
    .services-provided.white-bg {
        background-color: white;
    }

    .services-description {
        display: flex;
        flex-direction: column;
    }

    .services-description p {
        margin-bottom: 1rem;
    }

    .services-description ul {
        max-width: 350px; 
    }

    .practice-container {
        max-width: 1000px;
        margin: 0 auto;
        font-size: 1.1rem;
    }

    .services-description ul {
        list-style-type: disc;
        margin-left: 2rem;
        margin-bottom: 2rem;
    }

    .services-description h3 {
        color: var(--primary-green);
        margin-top: 1rem;

    }
    
    .practice-description p {
        text-align: justify;
        margin-bottom: 1rem;
        hyphens: manual;

    }
    .practice-description h3 {
        padding: 2rem 0rem;
    }

    .cta-section {
        text-align: center;
        margin-top: 1rem;
    }

    .cta-section .cta-button {
        margin-top: 1rem;
    }

    .services-provided h2 {
        text-align: center;
        color: var(--primary-green);
        margin: 1rem 0rem;
    }

    .practice-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .practice-item {
        background-color: var(--white);
        padding: 2rem;
        border-radius: 10px;
        text-align: center;
        transition: transform 0.3s;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-decoration: none;
        display: block;
    }

    .practice-item:hover {
        transform: translateY(-5px);
    }

    .practice-item i {
        font-size: 2.5rem;
        color: var(--primary-green);
        margin-bottom: 1rem;
    }

    .practice-item h3 {
        color: var(--primary-green);
        margin-bottom: 1rem;
    }

    /* Team Section */
    .team-section {
        padding: 5rem 5%;
        background-color: var(--white);
        position: relative;
        z-index: 1;
    }
    
    .team-section h2 {
        text-align: center;
        color: var(--primary-green);
        margin-bottom: 3rem;
    }
    

    .team-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        /* max-width: 1200px;
        margin: 0 auto; */
    }
    

     
    .team-member {
        background-color: var(--white);
        padding: 2rem;
        border-radius: 10px;
        text-align: center;
        transition: transform 0.3s;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-decoration:none
    }
    
    .team-member:hover {
        transform: translateY(-5px);
    }
    
    .team-member img {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        margin-bottom: 1rem;
        object-fit: cover;
        object-position: 0% 0;
    }
    
    
    .team-member h3 {
        color: var(--primary-green);
        margin-bottom: 0.5rem;
    }
    
    .team-member p {
        color: var(--dark-gray);
    }
    
    .team-member.attorney {
        cursor: pointer;
    }
    
    .team-member.attorney:hover h3 {
        color: var(--light-green);
    }

    /* Contact Form */
    .contact {
        padding: 5rem 5%;
        background-color: var(--light-gray);
        position: relative;
        z-index: 1;
    }

    .contact h2 {
        text-align: center;
        color: var(--primary-green);
        margin-bottom: 3rem;
    }

    .contact-container {
        max-width: 600px;
        margin: 0 auto;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        color: var(--primary-green);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 0.8rem;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1rem;
    }

    #nameblock {
        display: flex;
        justify-content: space-between;
        gap: 0.8rem;

    }

    .names {
        width: 50%;

    }
    .form-group textarea {
        height: 150px;
        resize: vertical;
    }

    .submit-button {
        background-color: var(--primary-green);
        color: var(--white);
        padding: 1rem 2rem;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        width: 100%;
        font-size: 1rem;
        transition: background-color 0.3s;
    }

    .submit-button:hover {
        background-color: var(--light-green);
    }

    /* Footer */
    footer {
        background-color: var(--dark-gray);
        background-image:
         
            /* linear-gradient(rgba(25, 42, 74, 0.625), rgba(25, 42, 74, 0.705)), */
            url(images/tree-roots.png);
          background-position: 50% 0%;
          background-size: cover;
          background-repeat: no-repeat;
        /* background-color: var(--navy); */
        color: var(--white);
        padding: 3rem 5% 1rem;
    }

    .footer-header {
        text-align: left; 
    }

    .footer-header p {
        font-style: italic;
    }


    .footer-bottom {
        text-align: center;
    }
    
    .footer-content {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;

    }

    .footer-section h3 {
        color: var(--primary-green);
        margin-bottom: 1rem;
    }

    .footer-section p {
        margin-bottom: 0.5rem;
    }

    .footer-section i {
        margin-right: 0.5rem;
        color: var(--primary-green);
    }

    .social-links {
        display: flex;
        gap: 1rem;
    }

    .social-links a {
        color: var(--white);
        font-size: 1.5rem;
        transition: color 0.3s;
    }

    .social-links a:hover {
        color: var(--primary-green);
    }

    .map-container {
        width: 100%;
        height: 200px;
        max-width: 400px;
        border-radius: 4px;
        overflow: hidden;
    }



    /* Partner Pages Styles */
    .partner-header {
        background-color: var(--white);
        padding: 3rem 6% 0rem 6%;
        margin-top: 80px;
    }

    .star img {
        height: 22rem;
        display: block;
    }

    .partner-content {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        justify-items: center;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
        color: var(--dark-gray);
    }

    .partner-image {
        flex-shrink: 0;
    }

    .partner-image img {
        width: 100%;
        height: auto;
        border: 4px solid var(--primary-green);
        object-fit: cover;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .partner-content {
        text-align: left;
    }

    .partner-content h1 {
        color: var(--primary-green);
        /* margin-bottom: 1rem; */
        font-size: 2rem;
    }

    .partner-content p {
        font-size: 1.2rem;
        margin-bottom: 1rem;

    }


    .partner-button {
        display: inline-block;
        padding: 0.8rem 1.5rem;
        background-color: var(--primary-green);
        color: var(--white);
        text-decoration: none;
        border-radius: 5px;
        font-size: 1.1rem;
        transition: background-color 0.3s;
        margin-top: 1rem;
    }

    .partner-button:hover {
        background-color: var(--light-green);
    }

    .partner-button i {
        margin-right: 0.5rem;
    }

    .partner-phone, .partner-email {
        color: var(--primary-green);
        font-size: 1.4rem;
        display: block;
        text-decoration: none;
        margin-bottom: 0.5rem;
    }

    .partner-phone i, .partner-email i {
        color: var(--light-green);
        margin-right: 0.5rem;
    }

    .partner-email:hover {
        color: var(--light-green);
    }


    .partner-details {
        padding: 4rem 5%;
        background-color: var(--white);
    }

    .partner-description {
        padding-right: 1rem;
    }

    .partner-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 2fr 1fr;

    }

    .partner-container h2 {
        color: var(--primary-green);
        margin-bottom: 2rem;
    }

    .partner-container h3 {
        color: var(--primary-green);
        margin: 2rem 0rem 0.5rem 1rem;
    }

    .partner-container p {
        text-align: justify;
        hyphens: manual;
        margin-bottom: 1rem;
    }

    .partner-container ul {
        list-style-type: none;
        padding: 0;
    }

    .partner-container ul li {
        margin-bottom: 0.8rem;
        padding-left: 1.5rem;
        position: relative;
    }

    .partner-container ul li:before {
        content: "•";
        color: var(--primary-green);
        font-size: 1.5rem;
        position: absolute;
        left: 0;
        top: -0.2rem;
    }

    .areas-of-practice {
        border-left: solid 1px var(--primary-green);
        padding-left: 1rem;
    }



    .partner-cta {
        background-color: var(--light-gray);
        padding: 2rem;
        border-radius: 10px;
        position: sticky;
        top: 100px;
        height: fit-content;
    }

    .partner-cta h3 {
        color: var(--primary-green);
        margin-bottom: 1rem;
    }

    .partner-cta p {
        margin-bottom: 1.5rem;
    }

    #disclaimer p {
        text-align: justify;
        hyphens: manual;
        font-size: 12px;
        margin-bottom: 1rem;
    }

    .responsive-video {
        width: 100%;
        /* directly tell the browser “16:9” */
        aspect-ratio: 16 / 9;
        border: 0;
      }

    /* Responsive Design */
    @media (max-width: 1020px) {
        .partner-container {
            grid-template-columns: 1fr;

        }
        
        .footer-header {
            border-top: 1px solid var(--light-gray)
          }

        .partner-cta {
            position: static;
        }

        .partner-content {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .partner-image {
            order: -1;
        }

        .partner-image img {
            max-width: 100%;
            height: auto;
        }

        .partner-content {
            text-align: center;
        }

        .areas-of-practice {
            border-left: none;
        }
    
        .menu-toggle {
            display: block;
        }

        .nav-links {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background-color: var(--medium-gray);
            padding: 1rem;
            flex-direction: column;
            gap: 1rem;
            

        }

        .nav-links.active {
            display: flex;
        }

        .nav-links.active a {
            width: 100%;
            text-align: center;
            /* padding: 0.5rem 1rem; */
        }

        /* Mobile Dropdown Styles */
        .dropdown {
            width: 100%;
        }

        .dropdown-trigger {
            width: 100%;
            justify-content: center;
            /* justify-content: space-between; */
            padding: 0.5rem 1rem;
        }

        .dropdown-content {
            position: static;
            width: 100%;
            opacity: 0;
            max-height: 0;
            overflow: hidden;
            visibility: visible;
            transform: none;
            box-shadow: none;
            border: none;
            border-radius: 0;
            margin: 0;
            transition: all 0.3s ease;
        }

        .dropdown:hover .dropdown-content {
            opacity: 1;
            max-height: 500px;
            margin-top: 0.5rem;
        }

        .dropdown-content a {
            padding-left: 2rem 1rem;
            text-align: left;
        }
        
        .hero-content h2 {
            font-size: 2rem;
        }

        .about-content {
            flex-direction: column;
        }

        .team-photo {
            order: -1;
        }

        #aoe {
            border-right: none;
            padding-right: 0px;
        }

        .hero-banner {
            top: 78%;
            left: 2%;
            max-width: 90%;
            padding: 1rem 1.5rem;
        }

        .hero-banner h2 {
            font-size: 1.5rem;
        }

        .star {

        display: none;
        }
        
    }
    
    @media (min-width: 1021px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .practice-grid {
        grid-template-columns: repeat(3, 1fr);
        }

        
    }

    @media (max-device-width: 1366px) {

        .hero-bg {
            background-attachment: scroll;
            background-size: cover;
            width: 100%;
            max-height: 20rem;
            display: block;
            background-position: 50%

        }

        #trusts-wills-guardianship {
            background-position: 50%
        }

        #deeds {
            background-position: 50% 
        }

        #clear-title {
            background-position: 50% 
        }

        #se-habla {
            background-position: 50%
        }
          #affidavits {
            background-position: 50%
        }

        
        
        
    }