/* R&N Analytics Website - Main Styles */

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

:root {
    /* Colors */
    --primary-blue: #0A355B;
    --primary-teal: #137374;
    --secondary-teal: #78C6C4;
    --accent-green: #98D29B;
    --accent-yellow: #FDBF49;
    --accent-yellow-light: #FED992;
    --dark-gray: #032137;
    --text-gray: #434343;
    --white: #FFFFFF;
    --bg-teal-light: rgba(120, 198, 196, 0.2);
    --bg-green-light: rgba(152, 210, 155, 0.2);
    --bg-yellow-light: #FFF7E9;
    
    /* Typography */
    --font-primary: 'Figtree', sans-serif;
    --font-secondary: 'Nunito', sans-serif;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-gray);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    font-weight: 700;
}

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.logo {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 30px;
    color: var(--primary-blue);
    text-decoration: none;
}

.logo img {
    height: 40px !important;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 20px;
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-teal);
}

/* Hero Section */
.hero {
    background: var(--bg-green-light);
    padding: 100px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 70px;
    line-height: 90px;
    margin-bottom: 30px;
    max-width: 1165px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 30px;
    line-height: 45px;
    max-width: 881px;
    margin: 0 auto 40px;
}

.btn {
    display: inline-block;
    padding: 15px 50px;
    background: var(--primary-teal);
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 30px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #0f5f60;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(19, 115, 116, 0.3);
}

/* Social Proof Banner */
.social-proof {
    padding: 60px 50px;
    text-align: center;
}

.social-proof h2 {
    font-size: 40px;
    line-height: 90px;
    margin-bottom: 30px;
}

.client-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.client-logo {
    width: 140px;
    height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Section Headers */
.section-label {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 18px;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* The Problem Section */
.problem-section {
    padding: 80px 50px;
}

.problem-content {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    gap: 40px;
    align-items: start;
}

.problem-main {
    background: var(--bg-yellow-light);
    border: 1px solid var(--accent-yellow-light);
    border-radius: 40px;
    padding: 60px;
}

.problem-main h2 {
    font-size: 70px;
    line-height: 85px;
    margin-bottom: 20px;
}

.problem-main h2.highlight {
    color: var(--primary-teal);
}

.problem-side {
    background: var(--white);
    border: 1px solid var(--accent-yellow-light);
    border-radius: 40px;
    padding: 40px;
    margin-top: 135px;
}

.problem-side p {
    font-size: 25px;
    line-height: 40px;
}

/* Our Value Section */
.value-section {
    background: var(--bg-teal-light);
    padding: 80px 50px;
}

.value-section h2 {
    font-size: 45px;
    line-height: 55px;
    margin-bottom: 50px;
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--secondary-teal);
    border-radius: 20px;
    padding: 30px;
}

.value-card .icon {
    width: 30px;
    height: 30px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 25px;
    line-height: 35px;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 18px;
    line-height: 25px;
}

/* Differentiation Section */
.differentiation-section {
    padding: 80px 50px;
}

.diff-content {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    gap: 60px;
}

.diff-left h2 {
    font-size: 70px;
    line-height: 85px;
    margin-bottom: 80px;
}

.diff-cards {
    display: grid;
    gap: 20px;
}

.diff-card {
    border-radius: 25px;
    padding: 30px;
}

.diff-card.yellow {
    background: var(--bg-yellow-light);
    border: 1px solid var(--accent-yellow-light);
}

.diff-card.green {
    background: var(--bg-green-light);
    border: 1px solid var(--accent-green);
}

.diff-card h3 {
    font-size: 25px;
    line-height: 35px;
    margin-bottom: 10px;
}

.diff-card p {
    font-size: 18px;
    line-height: 25px;
    font-weight: 500;
}

/* Who We Work With Section */
.work-with-section {
    padding: 80px 50px;
}

.work-with-box {
    background: var(--bg-teal-light);
    border: 1px solid var(--secondary-teal);
    border-radius: 70px;
    padding: 80px 60px;
    text-align: center;
}

.work-with-box h2 {
    font-size: 45px;
    line-height: 60px;
    max-width: 894px;
    margin: 0 auto;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 50px;
}

.testimonials-section h2 {
    font-size: 45px;
    line-height: 60px;
    margin-bottom: 80px;
}

.testimonials-grid {
    display: grid;
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-green-light);
    border: 1px solid var(--accent-green);
    border-radius: 20px;
    padding: 35px;
}

.testimonial-logo {
    width: 137px;
    height: 32px;
    margin-bottom: 25px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--white);
}

.author-info h4 {
    font-size: 25px;
    line-height: 30px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 50px;
}

.faq-content {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    gap: 60px;
}

.faq-left h2 {
    font-size: 70px;
    line-height: 85px;
}

.faq-items {
    display: grid;
    gap: 15px;
}

.faq-item {
    background: var(--bg-yellow-light);
    border: 1px solid var(--accent-yellow-light);
    border-radius: 25px;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-yellow);
}

.faq-question {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 25px;
    line-height: 35px;
    color: var(--dark-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    font-size: 18px;
    line-height: 25px;
    font-weight: 500;
    margin-top: 15px;
    display: none;
}

.faq-item.expanded {
    background: var(--white);
}

.faq-item.expanded .faq-answer {
    display: block;
}

/* Final CTA Section */
.final-cta {
    padding: 80px 50px;
    text-align: center;
}

.final-cta h2 {
    font-size: 100px;
    line-height: 90px;
    margin-bottom: 30px;
}

.final-cta p {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 25px;
    line-height: 60px;
    margin-bottom: 40px;
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 50px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 0.3fr 1fr;
    gap: 60px;
    margin-bottom: 30px;
}

.footer-logo {
    width: 148px;
    height: 148px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-menu {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-menu a {
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-menu a:hover {
    opacity: 0.8;
}

.footer-contact {
    display: flex;
    gap: 60px;
}

.footer-contact-item {
    font-weight: 700;
    font-size: 20px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon {
    width: 25px;
    height: 25px;
    border: 0.8px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--white);
}

.copyright {
    text-align: right;
    font-size: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Decorative Elements */
.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
}

.star {
    width: 100px;
    height: 100px;
    background: var(--secondary-teal);
    border-radius: 5px;
    transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 50px;
        line-height: 65px;
    }
    
    .value-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .diff-content,
    .faq-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 36px;
        line-height: 45px;
    }
    
    .hero p {
        font-size: 20px;
        line-height: 30px;
    }
    
    .value-cards {
        grid-template-columns: 1fr;
    }
    
    .problem-content {
        grid-template-columns: 1fr;
    }
    
    .problem-side {
        margin-top: 0;
    }
    
    .diff-left h2,
    .faq-left h2 {
        font-size: 40px;
        line-height: 50px;
    }
    
    .final-cta h2 {
        font-size: 50px;
        line-height: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   New Header & Mobile Menu Styles (Added Feb 9 2026)
   ==================================== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}
.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}
.nav-links a {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 20px;
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--primary-teal); }
.nav-links .mobile-nav-only { display: none; }

/* Mobile Menu Override */
@media (max-width: 768px) {
    /* Hide old nav if present */
    nav ul { display: none; }

    .header-content {
        justify-content: space-between; /* Ensure Burger is separate from Logo */
        padding: 10px 20px;
    }
    .mobile-menu-btn { display: block; }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 1000;
        padding-top: 60px; /* space for branding */
    }
    .nav-links.active { display: flex; }
    .nav-links.active .mobile-nav-only { display: block; }

    .mobile-nav-logo {
        width: 60px;
        height: auto;
        margin-bottom: 0;
    }
    .nav-links.active .mobile-nav-btn {
        background-color: var(--primary-teal) !important;
        color: #fff !important;
        width: 250px !important;
        height: 60px !important;
        font-size: 20px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin-top: 10px;
        border-radius: 25px;
    }
}
