/*
--- DIGITAL MARKETING WEBSITE STYLESHEET ---
Theme: Elegant & Editorial
Primary Colors: Off-White/Beige, Charcoal, Muted Gold
Font: Playfair Display (Headings), Lato (Body)
*/

/* --- 1. CSS VARIABLES & RESET --- */
:root {
    --bg-color: #F8F5F2;
    --text-color: #4D4D4D;
    --heading-color: #1A1A1A;
    --accent-color: #B9975B;
    --accent-dark: #8c7346;
    --border-color: #EAEAEA;
    --header-footer-bg: #1A1A1A;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --header-height: 90px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    font-weight: 400;
    overflow-x: hidden;
}

/* --- 2. GLOBAL & UTILITY STYLES --- */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3.8rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-dark);
}

ul {
    list-style: none;
}

section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.section-title p {
    max-width: 700px;
    margin: 20px auto 0;
    color: #777;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 2px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent-color);
}

/* --- 3. HEADER & NAVIGATION --- */
.site-header {
    background-color: var(--header-footer-bg);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.nav-logo img {
    height: 55px;
    filter: invert(1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 50px;
}

.nav-link {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.cta-nav-link {
    padding: 10px 20px;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.cta-nav-link:hover {
    background-color: var(--accent-color);
    color: #fff;
}

.cta-nav-link::after {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px 0;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* --- 4. HERO SECTION --- */
.hero-section {
    min-height: 95vh;
    display: flex;
    align-items: center;
    background: var(--bg-color);
    padding-top: var(--header-height);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.hero-text h1 {
    margin-bottom: 30px;
}

.hero-text p {
    font-size: 1.2rem;
    color: #777;
    margin-bottom: 40px;
}

.hero-image-wrapper {
    height: 70vh;
}

.hero-image {
    width: 100%;
    height: 100%;
    background: url('https://dummyimage.com/800x1200/ddd/aaa&text=Growth') no-repeat center center/cover;
    transition: transform 8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.1);
}

.animate-on-load {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.animate-on-load:nth-child(1) {
    animation-delay: 0.2s;
}

.animate-on-load:nth-child(2) {
    animation-delay: 0.4s;
}

.animate-on-load:nth-child(3) {
    animation-delay: 0.6s;
}

.hero-image-wrapper.animate-on-load {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 5. DISCIPLINES SECTION (SERVICES) --- */
.disciplines-interactive-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
}

.disciplines-list {
    border-left: 2px solid var(--border-color);
    padding-left: 40px;
}

.discipline-item {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #ccc;
    cursor: pointer;
    padding: 20px 0;
    transition: color 0.4s ease;
}

.discipline-item.active,
.discipline-item:hover {
    color: var(--heading-color);
}

.disciplines-content {
    position: relative;
    min-height: 500px;
}

.discipline-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.discipline-pane.active {
    opacity: 1;
    visibility: visible;
}

.pane-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.pane-text p {
    color: #777;
}

/* --- 6. APPROACH SECTION (PROCESS) --- */
.approach-section {
    background: #fff;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.approach-step {
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.2;
}

.step-content {
    margin-top: -20px;
}

.step-content h3 {
    margin-bottom: 15px;
}

.step-content p {
    color: #777;
}

/* --- 7. GROWTH PROJECTION SECTION --- */
.projection-tool {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    background: #fff;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.projection-config h4,
.projection-results h4 {
    margin-bottom: 25px;
}

.config-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-btn {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-btn:hover {
    border-color: var(--accent-dark);
}

.option-btn.active {
    border-color: var(--accent-color);
    background-color: #fffaf0;
}

.results-chart {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chart-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bar-label {
    flex-shrink: 0;
    width: 150px;
    font-weight: 700;
}

.bar-fill {
    height: 30px;
    background: linear-gradient(90deg, #f0e5d0, var(--accent-color));
    width: 0%;
    transition: width 0.8s ease-out;
}

.sample-report-link {
    text-align: center;
    margin-top: 40px;
}

/* --- 8. INDUSTRIES SECTION --- */
.industries-section {
    background: #fff;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.industry-card {
    position: relative;
    overflow: hidden;
}

.industry-image {
    height: 500px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.industry-card:hover .industry-image {
    transform: scale(1.05);
}

.industry-card h3 {
    margin-top: 20px;
}

.industry-card p {
    color: #777;
}

/* --- 9. TESTIMONIALS SECTION --- */
.testimonial-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-mark {
    font-size: 8rem;
    font-family: var(--font-heading);
    color: var(--accent-color);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-content {
    margin-top: -40px;
}

#testimonial-text {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--heading-color);
    line-height: 1.6;
    margin-bottom: 30px;
    transition: opacity 0.4s ease;
}

.author-details strong {
    display: block;
    font-size: 1.1rem;
}

.author-details span {
    color: #777;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: transparent;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* --- 10. CTA SECTION --- */
.cta-section {
    background: #fff;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 40px;
    color: #777;
}

/* --- 11. FOOTER --- */
.site-footer {
    background-color: var(--header-footer-bg);
    color: #ccc;
    padding: 60px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 55px;
    filter: invert(1);

}

.footer-contact-info {
    display: flex;
    gap: 30px;
    font-size: 0.9rem;
}

.footer-contact-info span {
    color: #888;
    margin-right: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
}

.footer-nav ul {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: #ccc;
    font-weight: 700;
    font-size: 0.9rem;
}

.footer-copyright p {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

/* --- 12. OTHER PAGES (CONTACT, LEGAL) --- */
.page-header {
    padding: 180px 0 100px;
    text-align: center;
}

.page-header p {
    max-width: 700px;
    margin: 20px auto 0;
    color: #777;
}

.contact-page-section {
    padding-bottom: 120px;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    border: 1px solid var(--border-color);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    width: 100%;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-group {
    text-align: right;
}

.legal-content .container {
    max-width: 900px;
    background: #fff;
    padding: 80px;
    border: 1px solid var(--border-color);
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 1rem;
}

/* --- 13. RESPONSIVENESS --- */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image-wrapper {
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }

    .disciplines-interactive-wrapper {
        grid-template-columns: 1fr;
    }

    .discipline-item {
        font-size: 1.8rem;
    }

    .discipline-pane {
        grid-template-columns: 1fr;
    }

    .pane-image {
        display: none;
    }

    .approach-grid {
        grid-template-columns: 1fr 1fr;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .projection-tool {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 80px 0;
    }

    .nav-menu {
        position: fixed;
        left: 100%;
        top: var(--header-height);
        flex-direction: column;
        background: var(--header-footer-bg);
        width: 100%;
        height: calc(100vh - var(--header-height));
        align-items: center;
        justify-content: center;
        transition: left 0.4s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .footer-top,
    .footer-bottom,
    .footer-contact-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .submit-group {
        text-align: center;
    }
}