/*
  Digital Marketing Agency Redesign V10
  Theme: Kinetic Gradient
  Author: Steven C Sitzlar Trucking
  Version: 10.0
*/

/* ---------------------------------- */
/* 1. Global Styles & Variables       */
/* ---------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary-gradient: linear-gradient(90deg, #FAD961 0%, #F76B1C 50%, #E83F6F 100%);
    --dark-bg: #101010;
    --light-bg: #FFFFFF;
    --text-light: #F5F5F5;
    --text-dark: #101010;
    --border-color: #333333;
    --border-radius: 8px;

    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --header-height: 80px;
}

/* Basic Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Gradient */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: var(--primary-gradient);
    background-size: 200% 200%;
    z-index: -2;
    animation: gradient-flow 15s ease infinite;
    opacity: 0.15;
    filter: blur(100px);
}

@keyframes gradient-flow {
    0% {
        transform: translate(-25%, -25%);
    }

    50% {
        transform: translate(25%, 25%);
    }

    100% {
        transform: translate(-25%, -25%);
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-light);
}

h1 {
    font-size: 6rem;
}

h2 {
    font-size: 4rem;
}

h3 {
    font-size: 1.5rem;
}

/* Links & Buttons */
a {
    color: #FAD961;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: white;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--text-light);
    position: relative;
}

.btn-primary {
    background: transparent;
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--text-light);
    color: var(--text-dark);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-header {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.2rem;
}

section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

/* ---------------------------------- */
/* 2. Header and Navigation           */
/* ---------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    background: transparent;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.main-header.scrolled {
    background-color: rgba(16, 16, 16, 0.8);
    backdrop-filter: blur(10px);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-light);
}

.header-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 40px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
    opacity: 0.8;
}

.nav-links a.active,
.nav-links a:hover {
    opacity: 1;
}

.hamburger-menu {
    display: none;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger-menu .bar,
.hamburger-menu::before,
.hamburger-menu::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

.hamburger-menu::before {
    top: 0;
}

.hamburger-menu .bar {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-menu::after {
    bottom: 0;
}

.hamburger-menu.active .bar {
    opacity: 0;
}

.hamburger-menu.active::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger-menu.active::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ---------------------------------- */
/* 3. Hero Section                    */
/* ---------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-headline {
    line-height: 1;
    margin-bottom: 20px;
}

.hero-headline .animate-line {
    display: block;
    overflow: hidden;
}

.hero-headline .animate-line span {
    display: block;
    transform: translateY(110%);
    animation: reveal-text 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

.hero-headline .animate-line:nth-child(2) span {
    animation-delay: 0.2s;
}

@keyframes reveal-text {
    to {
        transform: translateY(0);
    }
}

.gradient-text {
    background: var(--primary-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-flow 5s ease infinite;
}

.hero-subheadline {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.8;
}

.spline-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.spline-part {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.spline-part:nth-child(1) {
    width: 80vmax;
    height: 80vmax;
    top: 50%;
    left: 50%;
    animation: spline1 20s infinite linear;
}

.spline-part:nth-child(2) {
    width: 60vmax;
    height: 60vmax;
    top: 50%;
    left: 50%;
    animation: spline2 15s infinite linear;
}

.spline-part:nth-child(3) {
    width: 40vmax;
    height: 40vmax;
    top: 50%;
    left: 50%;
    animation: spline3 10s infinite linear;
}

@keyframes spline1 {
    from {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg) scale(1.2);
    }
}

@keyframes spline2 {
    from {
        transform: translate(-50%, -50%) rotate(360deg) scale(1.2);
    }

    to {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
}

@keyframes spline3 {
    from {
        transform: translate(-50%, -50%) rotate(0deg) scale(0.8);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

/* ---------------------------------- */
/* 4. Services Section                */
/* ---------------------------------- */
.services-section {
    background: var(--light-bg);
    color: var(--text-dark);
}

.services-section h2,
.services-section p {
    color: var(--text-dark);
}

.services-section .section-title p {
    color: #555;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: transparent;
    border: 2px solid var(--border-light);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.service-card-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-gradient);
    background-size: 200% 200%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
    opacity: 0.1;
}

.service-card:hover .service-card-bg {
    width: 300%;
    height: 300%;
}

.service-card h3 {
    margin-bottom: 10px;
}

/* ---------------------------------- */
/* 5. Difference & Process Sections   */
/* ---------------------------------- */
.difference-section {
    background: transparent;
    text-align: center;
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-number-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.stat-number {
    font-size: 5rem;
}

.stat-number-wrapper span {
    font-family: var(--font-heading);
    font-size: 2rem;
}

.difference-item p {
    max-width: 250px;
    margin: 0 auto;
}

.process-section {
    background: var(--light-bg);
    color: var(--text-dark);
}

.process-section h2,
.process-section p {
    color: var(--text-dark);
}

.process-horizontal-scroll {
    overflow-x: auto;
    padding: 20px 0;
}

.process-steps-container {
    display: flex;
    width: -moz-fit-content;
    width: fit-content;
    padding: 0 40px;
    gap: 40px;
    margin: auto;
}

.process-step {
    flex: 0 0 300px;
    border: 2px solid var(--border-light);
    padding: 30px;
    position: relative;
}

.step-number {
    font-size: 4rem;
    position: absolute;
    top: 10px;
    right: 20px;
    color: var(--border-light);
}

.step-title {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 10px;
}

.step-description {
    color: #555;
}

/* ---------------------------------- */
/* 6. Live Results & Testimonials     */
/* ---------------------------------- */
.live-results-section {
    background: var(--dark-bg);
}

.results-feed-wrapper {
    height: 300px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    padding: 20px;
}

.results-feed {
    list-style: none;
    animation: scroll-feed 20s linear infinite;
}

.results-feed li {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.2rem;
}

.results-feed li span {
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 10px;
}

@keyframes scroll-feed {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.testimonials-section {
    text-align: center;
}

.testimonial-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.text-slider,
.author-slider {
    height: 120px;
    position: relative;
}

.text-slider .slide {
    position: absolute;
    width: 100%;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.5s;
}

.author-slider {
    height: 30px;
}

.author-slider .slide {
    position: absolute;
    width: 100%;
    font-family: var(--font-heading);
    opacity: 0;
    transition: opacity 0.5s;
}

.text-slider .slide.active,
.author-slider .slide.active {
    opacity: 1;
}

.slider-controls {
    margin-top: 20px;
}

.slider-controls button {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 0 10px;
}

/* ---------------------------------- */
/* 7. CTA, Footer, Legal, Contact     */
/* ---------------------------------- */
.cta-section {
    background: var(--light-bg);
    text-align: center;
}

.cta-section h2,
.cta-section p {
    color: var(--text-dark);
}

.cta-section .btn-primary {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.cta-section .btn-primary:hover {
    background: var(--text-dark);
    color: var(--text-light);
}

.main-footer {
    padding-top: 60px;
    border-top: 2px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-light);
    opacity: 0.7;
    font-weight: 400;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
}

.contact-page-section,
.legal-page-section {
    padding-top: calc(var(--header-height) + 80px);
}

.contact-title {
    text-align: center;
    margin-bottom: 50px;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-light);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #FAD961;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -15px;
    font-size: 0.8rem;
    color: #FAD961;
}

.form-full-width {
    grid-column: 1 / -1;
}

.legal-page-section .container {
    max-width: 800px;
}

.legal-page-section h1 {
    color: var(--text-light);
}

.legal-page-section h2 {
    margin: 40px 0 15px;
}

.legal-page-section ul {
    padding-left: 20px;
}

/* ---------------------------------- */
/* 8. Responsiveness                  */
/* ---------------------------------- */
@media (max-width: 992px) {
    .hamburger-menu {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .main-nav.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--dark-bg);
    }

    .main-nav.active .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .main-nav.active .nav-links li {
        margin: 25px 0;
    }

    .main-nav.active .nav-links a {
        font-size: 1.8rem;
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 3rem;
    }

    .difference-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}