/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    --primary-color: #10b981;
    --primary-dark: #047857;
    --secondary-color: #022c22;
    --accent-color: #34d399;

    --text-color: #064e3b;
    --text-light: #6ee7b7;
    --bg-light: #ecfdf5;
    --bg-white: #ffffff;
    --bg-dark: #022c22;

    --hero-gradient: linear-gradient(135deg, #022c22 0%, #065f46 100%);
    --card-gradient: linear-gradient(145deg, #ffffff, #ecfdf5);

    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;

    --container-width: 1200px;
    --header-height: 80px;

    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

/* ==========================================================================
   2. UTILITY CLASSES
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 60px;
}

/* ==========================================================================
   3. ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) !important;
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* ==========================================================================
   4. HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    background-color: var(--secondary-color);
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition-fast);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-container {
    width: 180px;
}

.logo-container img {
    height: 50px;
    filter: invert(1);
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-cta {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 700;
}

.nav-cta:hover {
    background-color: #fff;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: var(--transition-fast);
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    background: var(--hero-gradient);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    padding-top: var(--header-height);
}

/* Particle Background Simulation via CSS */
.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-tagline {
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 60%;
    z-index: 2;
}

/* Abstract shapes for visual */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 0;
    right: 0;
    animation: float 6s infinite ease-in-out;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    bottom: 0;
    left: 20%;
    animation: float 8s infinite ease-in-out reverse;
}

/* ==========================================================================
   6. SERVICES SECTION (Grid & Hover Cards)
   ========================================================================== */
.services-section {
    background-color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link span {
    transition: transform 0.3s;
}

.service-link:hover span {
    transform: translateX(5px);
}

/* ==========================================================================
   7. INTERACTIVE ROI CALCULATOR
   ========================================================================== */
.calculator-section {
    background-color: var(--secondary-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.calc-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-inputs {
    flex: 1;
    padding-right: 40px;
    min-width: 300px;
}

.calc-results {
    flex: 1;
    background: white;
    color: var(--text-color);
    border-radius: 15px;
    padding: 40px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.input-group input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.result-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 10px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.result-circle span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.result-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* ==========================================================================
   8. SAMPLE CAMPAIGN REPORTS (Interactive Tabs)
   ========================================================================== */
.reports-section {
    background-color: var(--bg-light);
}

.report-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.report-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    padding: 20px 30px;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    flex: 1;
    transition: 0.3s;
}

.tab-btn.active {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.05);
    border-bottom: 3px solid var(--primary-color);
}

.report-content {
    padding: 40px;
    min-height: 400px;
}

.chart-wrapper {
    display: none;
    animation: fadeIn 0.5s ease;
}

.chart-wrapper.active {
    display: block;
}

/* CSS Only Bar Charts */
.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 300px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 10%;
}

.bar {
    width: 100%;
    background: var(--primary-color);
    border-radius: 5px 5px 0 0;
    transition: height 1s ease-out;
    position: relative;
}

.bar::after {
    content: attr(data-value);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 700;
}

.bar-label {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Different colors for different charts */
#leads-chart .bar {
    background: var(--accent-color);
}

#sales-chart .bar {
    background: #10b981;
}

/* ==========================================================================
   9. INDUSTRY SPECIFIC & TESTIMONIALS
   ========================================================================== */
.industry-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

.industry-tag {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 30px;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: 0.3s;
    cursor: default;
}

.industry-tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.testimonials-section {
    background-color: var(--bg-dark);
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 35px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: #555;
    border-radius: 50%;
    margin-right: 15px;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.main-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 0 30px;
    border-top: 5px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-about p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* ==========================================================================
   11. PAGE SPECIFIC: CONTACT
   ========================================================================== */
.contact-hero {
    background-color: var(--secondary-color);
    padding: 150px 0 80px;
    text-align: center;
    color: white;
}

.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    height: 150px;
}

/* ==========================================================================
   12. PAGE SPECIFIC: LEGAL (Privacy, Terms, Disclaimer)
   ========================================================================== */
.legal-page-header {
    background: var(--secondary-color);
    color: white;
    padding: 120px 0 40px;
    text-align: center;
}

.legal-content {
    background: white;
    padding: 60px;
    margin: 40px auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 900px;
}

.legal-content h1 {
    margin-bottom: 30px;
    color: var(--secondary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.legal-content h2 {
    margin: 30px 0 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.legal-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* ==========================================================================
   13. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .calc-wrapper {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--secondary-color);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        text-align: center;
        justify-content: center;
        padding-top: 100px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-visual {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .legal-content {
        padding: 30px;
    }

    .bar-chart {
        height: 200px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}