/* =========================================
   1. RESET & VARIABLES
   ========================================= */
:root {
    /* Color Palette - Neon Amber & Carbon Black Theme */
    --primary-color: #FFB84C;
    /* Neon Amber */
    --secondary-color: #0C0C0E;
    /* Deep Carbon Black */
    --accent-color: #1A1A1C;
    /* Dark Graphite */

    --text-light: #E4E4E5;
    /* Soft neutral light */
    --text-white: #FFFFFF;
    /* Pure white */
    --text-dark: #121212;
    /* Dark black */

    --success-color: #FFDA7A;
    /* Warm gold glow */

    --glass-bg: rgba(255, 180, 80, 0.06);
    /* Amber-tinted glass */
    --glass-border: rgba(255, 180, 80, 0.15);

    /* Typography */
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--secondary-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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-highlight {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transition: var(--transition-fast);
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    color: var(--secondary-color);
    box-shadow: 0 0 20px var(--primary-color);
}

.btn-filled {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-filled:hover {
    background: transparent;
    color: var(--primary-color);
}

/* Scroll Animations */
.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);
}

/* Keyframes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(0, 210, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0);
    }
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
header {
    background-color: rgba(11, 12, 16, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Placeholder size */
    width: auto;
    filter: brightness(1) invert(1);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-size: 16px;
    font-weight: 500;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition-fast);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-white);
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at top right, #1f2833 0%, #0b0c10 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    color: var(--text-light);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Abstract shapes for background */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.shape-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(0, 210, 255, 0.2);
    animation: float 6s infinite ease-in-out;
}

.shape-2 {
    bottom: 50px;
    left: 10%;
    width: 300px;
    height: 300px;
    background: rgba(69, 243, 255, 0.1);
    animation: float 8s infinite ease-in-out reverse;
}

/* =========================================
   5. SERVICES SECTION
   ========================================= */
.services {
    padding: var(--section-padding);
    background-color: var(--secondary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    bottom: -10px;
    left: 25%;
    background: var(--primary-color);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--accent-color);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1);
}

.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    gap: 10px;
}

/* =========================================
   6. INTERACTIVE CALCULATOR (ROI)
   ========================================= */
.calculator-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    position: relative;
}

.calc-container {
    display: flex;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
}

.calc-inputs {
    flex: 1;
    padding: 50px;
    min-width: 300px;
}

.calc-results {
    flex: 1;
    padding: 50px;
    background: var(--primary-color);
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 300px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-white);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-white);
    font-family: var(--font-main);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.result-item {
    text-align: center;
    margin-bottom: 30px;
}

.result-item h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    opacity: 0.8;
}

.result-item span {
    font-size: 3rem;
    font-weight: 700;
    display: block;
}

/* =========================================
   7. PROCESS & INDUSTRIES
   ========================================= */
.process-section {
    padding: var(--section-padding);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--glass-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

.timeline-content {
    padding: 20px 30px;
    background: var(--accent-color);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    position: relative;
    z-index: 10;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 25px;
    right: -10px;
    z-index: 10;
    box-shadow: 0 0 10px var(--primary-color);
}

.timeline-item.right .timeline-dot {
    left: -10px;
}

/* Industries Grid */
.industries {
    padding: var(--section-padding);
    background: #08090d;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.tag {
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    transition: var(--transition-fast);
    cursor: default;
}

.tag:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* =========================================
   8. TESTIMONIALS & SAMPLE REPORT
   ========================================= */
.testimonials {
    padding: var(--section-padding);
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Firefox */
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 350px;
    background: var(--accent-color);
    padding: 40px;
    border-radius: 15px;
    position: relative;
}

.quote-icon {
    font-size: 50px;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 20px;
    left: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: #ccc;
    border-radius: 50%;
}

/* Sample Report (Visual CSS only) */
.sample-report {
    background: var(--accent-color);
    padding: 40px;
    border-radius: 15px;
    margin-top: 60px;
    border: 1px solid var(--glass-border);
}

.chart-bar-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    margin-top: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bar {
    width: 40px;
    background: var(--primary-color);
    border-radius: 5px 5px 0 0;
    position: relative;
    opacity: 0.7;
    transition: height 1s ease;
}

.bar:hover {
    opacity: 1;
}

.bar span {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--text-white);
}

/* =========================================
   9. CONTACT PAGE SPECIFICS
   ========================================= */
.contact-hero {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(11, 12, 16, 0.8), rgba(11, 12, 16, 0.9)), url('https://via.placeholder.com/1920x600/0b0c10/00d2ff?text=Contact+Background');
    background-size: cover;
    background-attachment: fixed;
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding: var(--section-padding);
}

.contact-info,
.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 20px;
}

/* =========================================
   10. LEGAL PAGES
   ========================================= */
.legal-content {
    padding: 150px 0 100px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: 40px;
    color: var(--primary-color);
}

.legal-content h2 {
    margin-top: 40px;
    font-size: 1.5rem;
}

.legal-content p,
.legal-content ul {
    margin-bottom: 20px;
    color: var(--text-light);
}

.legal-content ul {
    padding-left: 20px;
    list-style: disc;
}

/* =========================================
   11. FOOTER
   ========================================= */
footer {
    background: #050608;
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(1) invert(1);
}

.footer-col h4 {
    color: var(--text-white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* =========================================
   12. RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        border-top: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        padding-bottom: 50px;
    }

    .hero-visual {
        display: none;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left {
        text-align: left;
    }

    .timeline-dot {
        left: 22px;
        right: auto;
    }

    .timeline-item.right .timeline-dot {
        left: 22px;
    }

    .chart-bar-container {
        height: 150px;
    }

    .bar {
        width: 20px;
    }
}