/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #003d5c;
    --secondary-color: #005a82;
    --accent-color: #0080b8;
    --dark-bg: #1a1a1a;
    --text-dark: #2b2b2b;
    --text-light: #666;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --button-blue: #005a82;
    --button-light: #e8f4f8;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    padding-bottom: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 1.25rem 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 38px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.5rem;
    margin-bottom: 0.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-text p {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.02) 0%, rgba(0, 128, 184, 0.05) 100%),
                url('https://images.unsplash.com/photo-1449844908441-8829872d2607?w=1600&h=900&fit=crop') center/cover;
    position: relative;
    padding: 5rem 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.95) 45%, rgba(255,255,255,0.85) 70%, rgba(255,255,255,0.4) 100%);
}

.hero-layout {
    position: relative;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    border: 10px solid var(--white);
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
}

.hero-image-circle:hover {
    transform: scale(1.02);
}

.hero-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-right {
    padding: 2rem 0;
}

.hero-tagline {
    font-size: 1.125rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-name {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.social-icons {
    display: flex;
    gap: 0.875rem;
    margin-bottom: 1.75rem;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.social-icon:hover {
    background-color: var(--button-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-title {
    font-size: 1.375rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-location {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.hero-nmls {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* America's #1 Banner */
.america-banner {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 2.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.america-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.america-banner h2 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
}

/* Quick Info Banner */
.quick-info {
    background-color: var(--white);
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background-color: var(--bg-light);
    transform: translateY(-4px);
}

.info-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--button-blue) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    color: var(--white);
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-md);
}

.info-icon svg {
    width: 36px;
    height: 36px;
}

.info-item h3 {
    font-size: 1.125rem;
    margin: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.info-item p {
    font-size: 1.0625rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
}

/* Section Styling */
section {
    scroll-margin-top: 80px;
}

.about, .services, .faq, .contact {
    padding: 6rem 0;
}

.about h2, .services h2, .faq h2, .contact h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.about h2::after, .services h2::after, .faq h2::after, .contact h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    margin: 1.5rem auto 3.5rem;
    border-radius: 2px;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    max-width: 960px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1875rem;
    margin-bottom: 1.75rem;
    line-height: 1.8;
    color: var(--text-light);
}

.credentials {
    display: grid;
    gap: 1.25rem;
    margin-top: 2.5rem;
    padding: 2.5rem;
    background-color: var(--bg-light);
    border-radius: 16px;
    border-left: 5px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
}

.credential-item {
    font-size: 1.0625rem;
    line-height: 1.6;
}

.credential-item strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Services Section */
.services {
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.0625rem;
}

/* FAQ Section */
.faq {
    background-color: var(--white);
}

.faq-grid {
    display: grid;
    gap: 1.75rem;
    max-width: 960px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-light);
    border-radius: 16px;
    border-left: 5px solid var(--secondary-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.25rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 90, 130, 0.03);
}

.faq-question h3 {
    font-size: 1.375rem;
    margin: 0;
    color: var(--primary-color);
    font-weight: 700;
    flex: 1;
}

.faq-icon {
    font-size: 1.75rem;
    color: var(--secondary-color);
    font-weight: 300;
    line-height: 1;
    margin-left: 1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2.25rem;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 2.25rem 2.25rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.0625rem;
    margin: 0;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.contact-content-centered {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
}

/* Reviews Section */
.reviews-section {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.stars span {
    color: #fbbf24;
    font-size: 1.75rem;
    line-height: 1;
}

.rating-text {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin: 0;
}

.rating-text strong {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.rating-text a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.rating-text a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Contact Accordion */
.contact-accordion {
    display: grid;
    gap: 1.25rem;
}

.contact-accordion-item {
    background-color: var(--bg-light);
    border-radius: 12px;
    border-left: 5px solid var(--secondary-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.contact-accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.contact-accordion-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.contact-accordion-question:hover {
    background-color: rgba(0, 90, 130, 0.03);
}

.contact-accordion-question h3 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--primary-color);
    font-weight: 700;
    flex: 1;
}

.contact-accordion-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 300;
    line-height: 1;
    margin-left: 1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.contact-accordion-question[aria-expanded="true"] .contact-accordion-icon {
    transform: rotate(45deg);
}

.contact-accordion-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.contact-accordion-answer.active {
    max-height: 600px;
    padding: 0 2rem 1.75rem;
}

.contact-accordion-answer .contact-details {
    display: block;
}

.contact-accordion-answer .contact-details p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0.5rem 0;
}

.contact-accordion-answer .contact-details p:first-child {
    margin-top: 0;
}

.contact-accordion-answer .contact-details a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.contact-detail {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.contact-detail:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    background-color: rgba(0, 128, 184, 0.03);
}

.contact-detail strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.625rem;
    font-size: 1.0625rem;
    font-weight: 700;
}

.contact-detail a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.contact-detail p {
    color: var(--text-dark);
    font-size: 1.0625rem;
    line-height: 1.6;
    margin: 0;
}

/* Sticky Contact Bar */
.sticky-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-bg);
    color: var(--white);
    z-index: 998;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}

.contact-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2.5rem;
}

.contact-bar-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-bar-profile img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.contact-bar-info strong {
    display: block;
    font-size: 1.0625rem;
    font-weight: 700;
}

.contact-bar-info p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

.contact-bar-details {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
}

.contact-bar-details .separator {
    color: rgba(255,255,255,0.3);
}

.contact-bar-details a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-section p {
    margin-bottom: 0.625rem;
    opacity: 0.9;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 1rem;
    opacity: 0.85;
    font-size: 0.9375rem;
}

.disclaimer {
    font-size: 0.8125rem !important;
    line-height: 1.6;
    max-width: 960px;
    margin: 1rem auto 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-right {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-name {
        font-size: 4rem;
    }

    .hero-image-circle {
        width: 340px;
        height: 340px;
    }

    .social-icons {
        justify-content: center;
    }

    .contact-bar-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .contact-bar-details {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .about h2, .services h2, .faq h2, .contact h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1.5rem;
    }

    .hero {
        padding: 3.5rem 0;
    }

    .hero-name {
        font-size: 3rem;
    }

    .hero-image-circle {
        width: 300px;
        height: 300px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-content-centered {
        padding: 2.5rem 2rem;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .america-banner h2 {
        font-size: 1.875rem;
    }

    .about h2, .services h2, .faq h2, .contact h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-layout {
        padding: 0 16px;
    }

    .hero-name {
        font-size: 2.25rem;
    }

    .hero-image-circle {
        width: 260px;
        height: 260px;
    }

    .about h2, .services h2, .faq h2, .contact h2 {
        font-size: 2rem;
    }

    .contact-bar-details {
        font-size: 0.8125rem;
    }

    .about, .services, .faq, .contact {
        padding: 4rem 0;
    }
}
