/* RG Financial Services - Main Stylesheet */

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

html {
    overflow-x: hidden;
}

:root {
    --primary-color: #000000;
    --gold-color: #D4A84B;
    --accent-color: #D4A84B;
    --text-color: #333;
    --light-bg: #F5F5F5;
    --white: #ffffff;
    --gray: #6c757d;
    --border-color: #dee2e6;
}

body {
    font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    overflow-x: hidden;
    width: 100%;
    font-size: 17px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
}

/* Gold accent lines */
.gold-line-top,
.gold-line-bottom,
.header-gold-line {
    height: 1px;
    background: var(--gold-color);
    width: 100%;
}

/* Header & Navigation */
header {
    background: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    font-size: 16px;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-full {
    height: 55px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    text-decoration: underline;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    width: 20px;
    height: 20px;
}

.social-icon svg {
    fill: var(--white);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 100px 2rem 90px;
    text-align: center;
    margin-top: 80px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.25;
}

.hero p {
    font-size: 1.35rem;
    max-width: 850px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 1.1rem 2.8rem;
    text-decoration: none;
    border: 2px solid var(--white);
    border-radius: 4px;
    font-weight: 500;
    font-size: 1.2rem;
    transition: all 0.3s;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.cta-button:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: var(--gold-color);
    color: var(--primary-color);
    border: 2px solid var(--gold-color);
    margin-left: 1rem;
}

.cta-button.secondary:hover {
    background: transparent;
    color: var(--gold-color);
}

.hero .cta-button {
    padding: 1.4rem 3.5rem;
    font-size: 1.5rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styling */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 300;
}

/* Why Choose Section */
.why-choose {
    background: var(--white);
    padding: 0;
    position: relative;
}

.why-choose .container {
    padding: 70px 2.5rem;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: flex-start;
}

.why-choose-left h2 {
    text-align: left;
    font-size: 3rem;
    line-height: 1.15;
    color: var(--primary-color);
    margin-bottom: 0;
    font-weight: 500;
}

.why-choose-right ul {
    list-style: none;
    padding: 0;
    padding-top: 0.5rem;
}

.why-choose-right li {
    font-size: 1.275rem;
    line-height: 1.7;
    margin-bottom: 0.6rem;
    padding-left: 1.2rem;
    position: relative;
    color: var(--primary-color);
}

.why-choose-right li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

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

.services .gold-line-top {
    position: relative;
    top: 0;
}

.services .container {
    padding: 60px 2.5rem 70px;
}

.services h2 {
    color: var(--white);
    font-weight: 400;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
}

.service-box {
    background: transparent;
    padding: 0;
}

.service-box h3 {
    color: var(--white);
    font-size: 1.65rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

/* Accordion styles */
.accordion-item {
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.accordion-item:first-child {
    border-top: 1px solid rgba(255,255,255,0.3);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0;
    cursor: pointer;
    color: var(--white);
    font-size: 1rem;
}

.accordion-header:hover {
    opacity: 0.8;
}

.accordion-icon {
    font-size: 1.3rem;
    font-weight: 300;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content ul {
    list-style: none;
    padding: 0 0 1rem 1rem;
}

.accordion-content li {
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.accordion-content li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgba(255,255,255,0.9);
}

/* Credentials Section */
.credentials {
    background: var(--white);
    color: var(--primary-color);
    text-align: center;
    padding: 50px 0 60px;
}

.credentials-content {
    max-width: 800px;
    margin: 0 auto;
}

.credentials-stats {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
}

.credentials-cert {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 400;
}

.business-central-badge {
    margin-top: 1rem;
    text-align: center;
}

.business-central-badge img {
    max-width: 550px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 70px 0 80px;
}

.cta-text {
    font-size: 1.35rem;
    max-width: 680px;
    margin: 0 auto 2.2rem;
    line-height: 1.55;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.cta-section .cta-button {
    min-width: 340px;
    padding: 1.15rem 3rem;
    font-size: 1.25rem;
}

.cta-section .cta-button.secondary {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
    margin-left: 0;
    min-width: 180px;
    padding: 0.9rem 2.2rem;
    font-size: 1.15rem;
}

.cta-section .cta-button.secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--white);
    color: var(--text-color);
    padding: 0;
    font-size: 16px;
}

footer .gold-line-top {
    margin-bottom: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2.5rem;
}

.footer-left h3 {
    margin-bottom: 0.2rem;
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 600;
}

.footer-left a {
    color: #4A90A4;
    text-decoration: underline;
    font-size: 0.9rem;
}

.footer-center {
    display: flex;
    gap: 1.8rem;
}

.footer-center a {
    color: var(--primary-color);
    text-decoration: underline;
    font-size: 0.95rem;
}

.footer-center a:hover {
    color: var(--gold-color);
}

.footer-right .social-icon {
    display: inline-flex;
}

.footer-right .social-icon svg {
    fill: var(--primary-color);
    width: 22px;
    height: 22px;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 10px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

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

.submit-button {
    background: var(--gold-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: 2px solid var(--gold-color);
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

.submit-button:hover {
    background: var(--primary-color);
    color: var(--gold-color);
}

/* LinkedIn-Style Profile Page */
.profile-page {
    background: var(--primary-color);
    min-height: 100vh;
    padding-bottom: 3rem;
}

.profile-banner {
    height: 0;
    background: transparent;
    margin-top: 80px;
    position: relative;
}

.profile-header-wrapper {
    margin-top: 40px;
    position: relative;
    z-index: 10;
}

.profile-header-card {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem 2rem 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.profile-photo-wrapper {
    margin-top: 0;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background: var(--white);
}

.profile-info {
    flex: 1;
    padding-top: 1.5rem;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.35rem;
    color: var(--text-color);
    margin-bottom: 0.4rem;
    font-weight: 400;
}

.profile-credentials {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-cta-button {
    background: var(--gold-color);
    color: var(--primary-color);
    padding: 0.7rem 1.8rem;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    border: 2px solid var(--gold-color);
}

.profile-cta-button:hover {
    background: #c4982b;
    border-color: #c4982b;
    transform: translateY(-2px);
}

.profile-contact-button {
    background: transparent;
    color: var(--gold-color);
    padding: 0.7rem 1.8rem;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    border: 2px solid var(--gold-color);
}

.profile-contact-button:hover {
    background: var(--gold-color);
    color: var(--primary-color);
}

/* Profile Content Cards */
.profile-content {
    max-width: 900px;
}

.profile-card {
    background: transparent;
    border-radius: 0;
    padding: 0.5rem 0;
    margin-bottom: 0;
    box-shadow: none;
}

.card-title {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.card-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.card-list {
    list-style: none;
    padding: 0;
}

.card-list li {
    padding: 0.6rem 0 0.6rem 1.8rem;
    position: relative;
    font-size: 1.05rem;
    color: var(--white);
    line-height: 1.6;
}

.card-list li:before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--gold-color);
    font-size: 1.3rem;
}

/* Experience Section */
.experience-item {
    margin-bottom: 1.5rem;
}

.experience-header {
    margin-bottom: 0.8rem;
}

.experience-header h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.experience-duration {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    padding: 1.2rem;
    background: transparent;
    border-radius: 0;
    border-left: 4px solid var(--gold-color);
}

.skill-item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.skill-item p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

/* CTA Card Styling */
.profile-cta-card {
    background: transparent;
    color: var(--white);
}

.profile-cta-card .card-title {
    color: var(--white);
    border-bottom-color: rgba(255,255,255,0.3);
}

.profile-cta-card .card-text {
    color: var(--white);
}

/* Legacy About Page Styles (for backwards compatibility) */
.about-page {
    background: var(--primary-color);
    color: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--white);
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--white);
}

.about-content h3 {
    color: var(--white);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.about-content ul li {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.about-content a {
    color: var(--white);
}

.headshot {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gold-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

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

    .nav-links a {
        padding: 0.5rem 2rem;
    }

    .logo-full {
        height: 45px;
    }

    .hero {
        padding: 50px 1.5rem 70px;
        margin-top: 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero .cta-button {
        padding: 1.4rem 3rem;
        font-size: 1.3rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .why-choose .container {
        padding: 50px 1.5rem;
    }

    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-choose-left h2 {
        font-size: 2.2rem;
        text-align: center;
    }

    .why-choose-right li {
        font-size: 1.05rem;
    }

    .services .container {
        padding: 50px 1.5rem;
    }

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

    .service-box h3 {
        font-size: 1.4rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .cta-button.secondary {
        margin-left: 0;
        margin-top: 1rem;
    }

    nav {
        padding: 0.6rem 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
        padding: 1.2rem 1.5rem;
    }

    .footer-center {
        gap: 1.5rem;
    }

    .cta-section {
        padding: 50px 1.5rem 60px;
    }

    .cta-text {
        font-size: 1.15rem;
        padding: 0 1rem;
    }

    .cta-buttons {
        gap: 0.9rem;
        width: 100%;
        padding: 0 1rem;
    }

    .cta-section .cta-button {
        width: 100%;
        max-width: 320px;
        min-width: 0;
        padding: 1.3rem 2.5rem;
        font-size: 1.15rem;
    }

    .cta-section .cta-button.secondary {
        width: auto;
        min-width: 0;
        padding: 1.05rem 3rem;
        font-size: 1.05rem;
    }

    .credentials {
        padding: 40px 1.5rem 50px;
    }

    .credentials-stats {
        font-size: 1.1rem;
    }

    .credentials-cert {
        font-size: 1.05rem;
    }

    .business-central-badge img {
        max-width: 100%;
    }

    /* LinkedIn-Style Profile - Mobile */
    .profile-banner {
        height: 0;
        margin-top: 70px;
    }

    .profile-header-wrapper {
        margin-top: 30px;
    }

    .profile-header-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem 1.5rem 1.5rem;
    }

    .profile-photo-wrapper {
        margin-top: 0;
    }

    .profile-photo {
        width: 150px;
        height: 150px;
    }

    .profile-info {
        padding-top: 1rem;
    }

    .profile-name {
        font-size: 2rem;
    }

    .profile-title {
        font-size: 1.15rem;
    }

    .profile-credentials {
        font-size: 0.9rem;
    }

    .profile-actions {
        justify-content: center;
    }

    .profile-card {
        padding: 0.5rem 0;
    }

    .card-title {
        font-size: 1.4rem;
    }

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

@media (max-width: 480px) {
    .hero {
        padding: 40px 1rem 50px;
        margin-top: 55px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .cta-button {
        padding: 1.3rem 2.5rem;
        font-size: 1.2rem;
    }

    section {
        padding: 50px 0;
    }

    .contact-form {
        padding: 2rem 1rem;
    }

    .logo-full {
        height: 38px;
    }

    .why-choose-left h2 {
        font-size: 1.9rem;
    }

    .business-central-badge img {
        max-width: 100%;
    }

    .cta-section {
        padding: 40px 1rem 50px;
    }

    .cta-text {
        font-size: 1.05rem;
        padding: 0 0.5rem;
    }

    .cta-buttons {
        gap: 0.8rem;
        padding: 0 0.5rem;
    }

    .cta-section .cta-button {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }

    .cta-section .cta-button.secondary {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    /* LinkedIn-Style Profile - Small Mobile */
    .profile-banner {
        height: 0;
    }

    .profile-header-wrapper {
        margin-top: 25px;
    }

    .profile-photo {
        width: 130px;
        height: 130px;
    }

    .profile-name {
        font-size: 1.7rem;
    }

    .profile-title {
        font-size: 1rem;
    }

    .profile-cta-button,
    .profile-contact-button {
        font-size: 0.9rem;
        padding: 0.6rem 1.4rem;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .card-text {
        font-size: 1rem;
    }
}
