/* --- PIXEL & PULSE THEME --- */

/* ------------------- */
/* 1. ROOT & VARIABLES */
/* ------------------- */
:root {
    --teal: #00BFA6;
    --magenta: #FF4081;
    --white: #F5F5F5;
    --light-gray: #e0e0e0;
    --charcoal: #222222;
    --charcoal-light: #2d2d2d;
    --charcoal-lighter: #3a3a3a;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.4s ease-in-out;
}

/* ------------------- */
/* 2. GENERAL & RESET  */
/* ------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--charcoal);
    color: var(--white);
    font-family: var(--font-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(0, 191, 166, 0.05), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 64, 129, 0.05), transparent 40%);
    z-index: -2;
}

#blob {
    background: linear-gradient(to right, var(--teal), var(--magenta));
    height: 300px;
    width: 300px;
    border-radius: 50%;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s infinite;
    opacity: 0.6;
    filter: blur(120px);
    z-index: -1;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--light-gray);
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--magenta);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.highlight {
    background: -webkit-linear-gradient(45deg, var(--teal), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    margin-bottom: 50px;
}

.section-title p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* ------------------- */
/* 3. BUTTONS          */
/* ------------------- */
.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(45deg, var(--magenta), var(--teal));
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 64, 129, 0.2), 0 6px 6px rgba(0, 191, 166, 0.2);
    color: var(--white);
}

.secondary-button {
    display: inline-block;
    padding: 12px 30px;
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid var(--white);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.secondary-button:hover {
    background-color: var(--white);
    color: var(--charcoal);
}

/* ------------------- */
/* 4. HEADER & NAV     */
/* ------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: background-color var(--transition-medium), padding var(--transition-medium), box-shadow var(--transition-medium);
}

.site-header.scrolled {
    background-color: rgba(34, 34, 34, 0.9);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    transition: transform var(--transition-fast);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--teal), var(--magenta));
    transition: width var(--transition-medium);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Nav Open State */
.nav-open .hamburger-menu span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-open .hamburger-menu span:nth-child(2) {
    opacity: 0;
}

.nav-open .hamburger-menu span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ------------------- */
/* 5. FOOTER           */
/* ------------------- */
.site-footer {
    background-color: var(--charcoal-light);
    padding-top: 60px;
    border-top: 1px solid var(--charcoal-lighter);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-legal h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
}

.footer-links h4::after,
.footer-legal h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--teal);
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-links ul a,
.footer-legal ul a {
    color: var(--light-gray);
    font-size: 0.95rem;
}

.footer-links ul a:hover,
.footer-legal ul a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 0.95rem;
    color: var(--light-gray);
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--light-gray);
}

.footer-bottom {
    border-top: 1px solid var(--charcoal-lighter);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--light-gray);
}

/* ------------------- */
/* 6. HERO SECTION     */
/* ------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    /* Offset for fixed header */
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--teal), var(--magenta));
    opacity: 0.1;
    animation: float 10s ease-in-out infinite alternate;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 15%;
    animation-duration: 8s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 20%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 25%;
    right: 10%;
    animation-duration: 10s;
    animation-delay: 1s;
}

@keyframes float {
    0% {
        transform: translateY(0px) scale(1);
    }

    100% {
        transform: translateY(-30px) scale(1.05);
    }
}


/* ------------------- */
/* 7. SERVICES SECTION */
/* ------------------- */
.services-section {
    background-color: var(--charcoal-light);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    perspective: 1000px;
}

.service-card-inner {
    background: var(--charcoal-lighter);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid #444;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow var(--transition-medium);
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--teal);
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--magenta), var(--teal));
    border-radius: 50%;
    animation: breathe 3s ease-in-out infinite;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--white);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--light-gray);
}

/* ------------------- */
/* 8. ROI CALCULATOR   */
/* ------------------- */
.calculator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.calculator-wrapper {
    background-color: var(--charcoal-light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.form-group-slider {
    margin-bottom: 30px;
}

.form-group-slider label {
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
}

.form-group-slider input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: var(--charcoal-lighter);
    border-radius: 5px;
    outline: none;
}

.form-group-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--teal);
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid var(--charcoal-light);
    transition: background-color var(--transition-fast);
}

.form-group-slider input[type="range"]::-webkit-slider-thumb:hover {
    background: var(--magenta);
}

.slider-value {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-weight: 600;
    color: var(--teal);
}

.calculator-results {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--charcoal-lighter);
    text-align: center;
}

.calculator-results h4 {
    margin-bottom: 15px;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    background: -webkit-linear-gradient(45deg, var(--teal), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.calculator-results p {
    font-size: 0.8rem;
    color: var(--light-gray);
}

/* ---------------------- */
/* 9. INDUSTRIES SECTION  */
/* ---------------------- */
.industries-section {
    background-color: var(--charcoal-light);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.industry-item {
    text-align: center;
    padding: 30px;
    background-color: var(--charcoal);
    border-radius: var(--border-radius);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.industry-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.industry-item h3 {
    margin-bottom: 10px;
}

/* ----------------------- */
/* 10. TESTIMONIALS        */
/* ----------------------- */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
}

.testimonial-card {
    flex: 0 0 100%;
    background-color: var(--charcoal-light);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-quote::before,
.testimonial-quote::after {
    font-family: 'Poppins';
    font-size: 5rem;
    position: absolute;
    opacity: 0.1;
    color: var(--teal);
}

.testimonial-quote::before {
    content: '“';
    top: -30px;
    left: 0;
}

.testimonial-quote::after {
    content: '”';
    bottom: -50px;
    right: 0;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    margin: 0;
    color: var(--white);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--teal);
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 110%;
    left: -5%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.slider-nav button {
    background-color: var(--charcoal-lighter);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.slider-nav button:hover {
    background-color: var(--magenta);
}

/* ----------------------- */
/* 11. CTA SECTION         */
/* ----------------------- */
.cta-section {
    background: linear-gradient(45deg, rgba(0, 191, 166, 0.1), rgba(255, 64, 129, 0.1));
}

.cta-section p {
    max-width: 600px;
    margin: 20px auto 30px;
}

/* ----------------------- */
/* 12. CONTACT PAGE        */
/* ----------------------- */
.contact-page-section {
    padding-top: 150px;
    padding-bottom: 80px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-form-wrapper {
    background-color: var(--charcoal-light);
    padding: 40px;
    border-radius: var(--border-radius);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    background-color: var(--charcoal);
    border: 1px solid var(--charcoal-lighter);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--teal);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--light-gray);
    pointer-events: none;
    transition: top var(--transition-fast), font-size var(--transition-fast), color var(--transition-fast);
}

.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: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--teal);
    background-color: var(--charcoal-light);
    padding: 0 5px;
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23F5F5F5'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 1em;
}

.form-group select+label.select-label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--light-gray);
    background-color: var(--charcoal-light);
    padding: 0 5px;
}

.form-group select:focus+label.select-label {
    color: var(--teal);
}

#contact-form button {
    width: 100%;
}

.contact-info-wrapper h3 {
    margin-bottom: 15px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details li {
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
}

.contact-details li a:hover {
    text-decoration: underline;
}

.map-placeholder {
    margin-top: 30px;
    height: 250px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--charcoal-light);
}

/* ----------------------- */
/* 13. LEGAL PAGES         */
/* ----------------------- */
.legal-page-section {
    padding-top: 150px;
    padding-bottom: 80px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--charcoal-light);
    padding: 40px;
    border-radius: var(--border-radius);
}

.legal-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--teal);
}

.legal-content p,
.legal-content li {
    color: var(--light-gray);
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
}

/* ----------------------- */
/* 14. ANIMATIONS          */
/* ----------------------- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--scroll-delay, 0s);
}

.animate-on-scroll.fadeInUp {
    transform: translateY(30px);
}

.animate-on-scroll.fadeInLeft {
    transform: translateX(-30px);
}

.animate-on-scroll.fadeInRight {
    transform: translateX(30px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ----------------------- */
/* 15. RESPONSIVENESS      */
/* ----------------------- */
@media (max-width: 992px) {
    .calculator-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-cta {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--charcoal);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .nav-open .nav-links {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
    }

    .nav-open .nav-links li {
        animation: navLinkFade 0.5s ease forwards;
    }

    .nav-open .nav-links li:nth-child(1) {
        animation-delay: 0.2s;
    }

    .nav-open .nav-links li:nth-child(2) {
        animation-delay: 0.3s;
    }

    .nav-open .nav-links li:nth-child(3) {
        animation-delay: 0.4s;
    }

    .nav-open .nav-links li:nth-child(4) {
        animation-delay: 0.5s;
    }

    @keyframes navLinkFade {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .hero-section {
        text-align: center;
    }

    h1 {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    h2 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .slider-nav {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 20px;
    }
}