/* ==========================================================================
   1. RESET & VARIABLES
   ========================================================================== */
:root {
    --primary-color: #0B1020;
    --secondary-color: #151A33;
    --accent-color: #F97316;
    --accent-glow: #FDBA74;
    --highlight: #22D3EE;
    --success: #4ADE80;
    --text-light: #F9FAFB;
    --text-gray: #9CA3AF;
    --text-dark: #1F2937;
    --bg-light: #F3F4F6;
    --white: #FFFFFF;
    --gradient-main: linear-gradient(135deg, #F97316, #22D3EE);
    --gradient-dark: linear-gradient(to bottom, #0B1020, #151A33);
    --container-width: 1200px;
    --header-height: 80px;
    --section-padding: 100px 0;
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease-in-out;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

/* ==========================================================================
   2. UTILITIES & ANIMATIONS
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.fade-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.fade-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* Section Titles */
.section-title {
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   3. HEADER styles
   ========================================================================== */
header {
    background-color: var(--primary-color);
    height: var(--header-height);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition-fast);
}

header.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    height: 70px;
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    /* In case logo is white transparent */
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-links li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--white);
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
    height: 100vh;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding-top: var(--header-height);
}

/* Background Animated Shapes */
.hero-shapes div {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    top: -50px;
    left: -50px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--highlight);
    bottom: -100px;
    right: -100px;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 40px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-text span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

/* Visual Representation of Marketing (CSS Only) */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-stack {
    position: relative;
    width: 300px;
    height: 200px;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
}

.dashboard-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-main {
    z-index: 3;
    transform: translateZ(30px);
}

.card-back-1 {
    z-index: 2;
    transform: translateZ(0px) translateY(-20px) translateX(20px);
    opacity: 0.7;
}

.card-back-2 {
    z-index: 1;
    transform: translateZ(-30px) translateY(-40px) translateX(40px);
    opacity: 0.4;
}

/* Fake Graph inside Hero Card */
.graph-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.bar-h {
    width: 12px;
    background: var(--accent-color);
    border-radius: 2px;
    animation: growBar 2s ease-out forwards;
}

@keyframes growBar {
    from {
        height: 0;
    }
}

/* ==========================================================================
   5. SERVICES SECTION
   ========================================================================== */
.services-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-medium);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-glow);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: var(--accent-color);
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* ==========================================================================
   6. INTERACTIVE CALCULATOR
   ========================================================================== */
.calculator-section {
    padding: var(--section-padding);
    background-color: var(--primary-color);
    color: var(--white);
}

.calculator-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-inputs label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-gray);
}

.range-group {
    margin-bottom: 30px;
}

input[type=range] {
    width: 100%;
    margin-bottom: 10px;
    accent-color: var(--accent-color);
}

.calc-results {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-item {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.result-item h4 {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-item span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--success);
}

/* ==========================================================================
   7. INDUSTRY SECTORS & REPORT SAMPLE
   ========================================================================== */
.industries-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.industry-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    border-radius: 30px;
    border: 1px solid var(--text-gray);
    background: transparent;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.industry-content {
    display: none;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.5s ease;
}

.industry-content.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Report Visualization */
.report-sample {
    width: 100%;
}

.report-bar {
    margin-bottom: 20px;
}

.report-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: 600;
}

.progress-track {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 5px;
    width: 0;
    /* Animated by JS */
    transition: width 1.5s ease-out;
}

/* ==========================================================================
   8. TESTIMONIALS
   ========================================================================== */
.testimonials-section {
    padding: var(--section-padding);
    background-color: var(--white);
    text-align: center;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 15px;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: #cbd5e1;
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    margin: 20px 0;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.client-info h4 {
    color: var(--primary-color);
    font-weight: 700;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--accent-color);
}

/* ==========================================================================
   9. CONTACT FORM (Embedded Style)
   ========================================================================== */
.contact-preview-section {
    padding: var(--section-padding);
    background: var(--gradient-dark);
    color: var(--white);
    text-align: center;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 40px auto 0;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--accent-color);
    outline: none;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
footer {
    background-color: #020617;
    /* Even darker than primary */
    color: var(--text-gray);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links {
    display: flex;
    gap: 20px;
}

/* ==========================================================================
   11. RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 50px;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .industry-content.active {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 40px 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}