/* Base Styles */
:root {
    --primary-color: #003d7a;
    --secondary-color: #2c5f7d;
    --accent-color: #067d3e;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --border-color: #ddd;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --box-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    color: var(--dark-bg);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: none;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.btn:hover {
    background: var(--secondary-color);
    transform: none;
    box-shadow: none;
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 34px;
    position: relative;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.section-header h2 span {
    color: var(--dark-bg);
}

.section-tagline {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-light);
    font-weight: 400;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1, .logo h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
}

.logo span {
    color: var(--secondary-color);
    font-weight: 700;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
    color: var(--text-color);
    padding: 5px 0;
    font-size: 15px;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding-top: 100px;
    height: 70vh;
    min-height: 500px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 30px;
    color: var(--white);
    font-weight: 600;
    text-shadow: none;
}

.credentials {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px 30px;
    border-radius: 0;
    margin: 20px 0 30px;
    backdrop-filter: none;
    border-left: 3px solid rgba(255, 255, 255, 0.4);
}

.credentials p {
    margin-bottom: 5px;
    font-weight: 400;
    font-size: 16px;
}

.credentials p:first-child {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Expertise Section */
.expertise-section {
    padding: 100px 0;
    background-color: var(--white);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.expertise-item {
    width: 100%;
    text-align: left;
    padding: 35px 30px;
    border-radius: 0;
    transition: var(--transition);
    background: var(--white);
    box-shadow: var(--box-shadow);
    overflow: visible;
    position: relative;
    border: 1px solid var(--border-color);
}

.expertise-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.expertise-item:nth-child(2)::before {
    background: var(--primary-color);
}

.expertise-item:nth-child(3)::before {
    background: var(--primary-color);
}

.expertise-item:nth-child(4)::before {
    background: var(--primary-color);
}

.expertise-item:nth-child(5)::before {
    background: var(--primary-color);
}

.expertise-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.expertise-item .icon {
    font-size: 38px;
    width: 70px;
    height: 70px;
    line-height: 70px;
    margin: 0 auto 20px;
    color: var(--primary-color);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
}

.expertise-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
}

.expertise-item ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 20px;
}

.expertise-item ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.expertise-item ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-size: 14px;
}

/* Additional responsive adjustment for expertise items */
@media screen and (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-item {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light-bg);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?ixlib=rb-1.2.1&auto=format&fit=crop&w=1951&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    background-color: var(--white);
    padding: 50px 60px;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.about-content p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 0;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: transparent;
    z-index: -1;
    transition: none;
}

.service-card:hover::before {
    height: 0;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
}

.service-card:hover .icon,
.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card .icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 18px;
    transition: var(--transition);
    color: var(--dark-bg);
    font-weight: 600;
}

/* LLC Services Section */
.llc-services {
    padding: 100px 0;
    background: var(--dark-bg);
    color: var(--white);
    position: relative;
}

.llc-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1551135049-8a33b5883817?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.llc-services .section-header h2,
.llc-services .section-header h2 span {
    color: var(--white);
}

.llc-services .divider {
    background: var(--white);
    opacity: 0.8;
}

.llc-services-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.llc-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.llc-service-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 0;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.llc-service-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: none;
    border-color: rgba(255, 255, 255, 0.3);
}

.llc-service-item .icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--white);
    opacity: 0.9;
}

.llc-service-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--white);
}

.llc-service-item p {
    color: rgba(255, 255, 255, 0.8);
}

.llc-benefits {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 0;
    backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.llc-benefits h3 {
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
    color: var(--white);
}

.llc-benefits ul {
    margin-bottom: 30px;
}

.llc-benefits li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.llc-benefits li i {
    margin-right: 15px;
    color: var(--white);
    opacity: 0.9;
    font-size: 18px;
}

.llc-cta {
    text-align: center;
    margin-top: 40px;
}

.llc-cta p {
    font-size: 18px;
    margin-bottom: 25px;
}

.llc-cta .btn {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: none;
}

.llc-cta .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    box-shadow: none;
}

/* Peace of Mind Section */
.peace-of-mind {
    padding: 100px 0;
    background: var(--secondary-color);
    color: var(--white);
    position: relative;
}

.peace-of-mind::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.peace-of-mind .section-header h2,
.peace-of-mind .section-header h2 span {
    color: var(--white);
}

.peace-of-mind .divider {
    background: var(--white);
}

.peace-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.peace-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 400;
}

.peace-content .btn {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: none;
}

.peace-content .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    box-shadow: none;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: 0;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-item:hover {
    transform: none;
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
}

.contact-item .icon {
    font-size: 24px;
    color: var(--primary-color);
    background: transparent;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    box-shadow: none;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 0;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: var(--transition);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: none;
}

.contact-form .btn {
    width: 100%;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

footer .logo h2 {
    font-size: 24px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 18px;
}

.social-links a:hover {
    transform: translateY(-5px);
}

.social-links a:nth-child(1):hover {
    background: #3b5998;
}

.social-links a:nth-child(2):hover {
    background: #0077b5;
}

.social-links a:nth-child(3):hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Success Message */
.success-message {
    background: var(--primary-color);
    color: var(--white);
    padding: 25px;
    border-radius: 0;
    text-align: center;
    animation: fadeIn 0.5s ease;
    font-size: 16px;
    border-left: 4px solid var(--secondary-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* Mobile Toggle Styles - Move this before your media queries */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-bg);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .llc-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    nav ul {
        display: none;
    }

    .expertise-grid,
    .llc-services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .hero {
        height: auto; /* Override height for mobile */
        min-height: auto; /* Override min-height for mobile */
        padding: 120px 0 60px; /* Mobile-specific padding */
    }
    
    .hero-content h1 {
        font-size: 28px;
    }

    .credentials p:first-child {
        font-size: 20px;
    }

    .expertise-item, 
    .service-card,
    .llc-service-item,
    .contact-item,
    .contact-form {
        padding: 25px;
    }

    .about-content {
        padding: 25px;
    }
}

/* Enhanced Mobile Menu Styling */
@media screen and (max-width: 768px) {
    /* Mobile Menu */
    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }
    
    nav ul {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 80px 0 40px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 1000;
        overflow-y: auto;
    }
    
    nav ul.active {
        transform: translateX(0);
    }
    
    nav ul li {
        margin: 0 0 25px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
        transition-delay: 0.1s;
    }
    
    nav ul.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    nav ul.active li:nth-child(1) { transition-delay: 0.1s; }
    nav ul.active li:nth-child(2) { transition-delay: 0.2s; }
    nav ul.active li:nth-child(3) { transition-delay: 0.3s; }
    nav ul.active li:nth-child(4) { transition-delay: 0.4s; }
    
    nav ul li a {
        font-size: 20px;
        font-weight: 600;
        color: var(--dark-bg);
        padding: 10px 20px;
        display: block;
        text-align: center;
    }
    
    nav ul li a::after {
        display: none;
    }
    
    nav ul li a:hover {
        color: var(--secondary-color);
        background-color: var(--light-bg);
        border-radius: 30px;
    }
    
    /* Add a subtle backdrop when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Add animation for the hamburger icon */
    .mobile-toggle span {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--secondary-color);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--secondary-color);
    }
}

@media screen and (max-width: 576px) {
    /* Improve header spacing */
    header {
        padding: 12px 0;
    }
    
    /* Adjust font sizes for better readability */
    .section-header h2 {
        font-size: 26px;
    }
    
    .section-tagline {
        font-size: 16px;
    }
    
    /* Adjust padding for better spacing */
    .container {
        padding: 0 15px;
    }
    
    /* Make hero more compact */
    .hero {
        height: auto;
        padding: 120px 0 60px;
    }
    
    /* Ensure contact form items are properly sized */
    .contact-wrapper {
        gap: 30px;
    }
    
    /* Improve touch targets */
    .social-links a {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
} 

/* SB-253 Compliance Hover Box */
.sb253-hover {
position: relative;
display: inline-block;
cursor: help;
color: var(--primary-color);
font-weight: 600;
border-bottom: 1px dotted var(--primary-color);
}


.sb253-hover-box {
visibility: hidden;
opacity: 0;
position: absolute;
bottom: 100%;
left: 0;
margin-bottom: 10px;
width: 300px;
max-width: 90vw;
background: var(--white);
border: 1px solid var(--border-color);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
padding: 18px 20px;
border-radius: 4px;
z-index: 1000;
transition: var(--transition);
font-size: 14px;
line-height: 1.6;
}

.sb253-hover-box strong {
display: block;
margin-bottom: 10px;
color: var(--primary-color);
font-size: 15px;
}

.sb253-hover-box p {
margin-bottom: 10px;
color: var(--text-color);
}

.sb253-hover-box ul {
padding-left: 20px;
list-style: disc;
}

.sb253-hover-box ul li {
margin-bottom: 6px;
color: var(--text-color);
}

.sb253-hover:hover .sb253-hover-box {
visibility: visible;
opacity: 1;
}

