/* Define CSS Variables for Colors */
:root {
    --bg-dark: #1a1a1a;
    --bg-darker: #0a0a0a;
    --text-light: #ffffff;
    --text-muted: #cccccc;
    --accent-vibrant: #1E90FF;
    --accent-vibrant-light: #5DADE2;
    --accent-blue-logo: #1e3a5c;
    --accent-gold-logo: #b8a171;
    --accent-gold-metallic: #b8a171;
    --accent-gold-logo-shadow: rgba(184, 161, 113, 0.4);
    --accent-vibrant-shadow: rgba(30, 144, 255, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --gradient-futuristic: linear-gradient(45deg, #0a0a0a, #1e3a5c, #0a0a0a);

    /* Fonts */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* Basic Reset and Body Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><defs><filter id="blueAura" x="0" y="0" width="24" height="24"><feGaussianBlur in="SourceAlpha" stdDeviation="1" result="blur"/><feFlood flood-color="%231E90FF" flood-opacity="0.3"/><feComposite in2="blur" operator="in"/><feComposite in2="SourceGraphic" operator="over"/></filter></defs><path d="M3 17L17 3L15 1L1 15L3 17Z" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" filter="url(#blueAura)"/></svg>'), auto;
}

/* Container for Centering Content */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Basic Typography */
h1, h3 {
    font-family: var(--font-heading);
    color: var(--accent-vibrant);
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 5px var(--accent-vibrant-shadow);
}

h1 {
    font-size: 3em;
    animation: fadeIn 1s ease-out;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.5em;
    color: var(--text-light);
    text-align: center;
    border-bottom: 2px solid var(--accent-vibrant);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 40px;
    text-shadow: 0 0 8px var(--accent-vibrant-shadow);
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border-radius: 10px;
}

h3 {
    font-size: 1.7em;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

ul li {
    margin-bottom: 10px;
    padding-left: 0;
    position: relative;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
}

/* General Icon Styling */
.fas, .far, .fal, .fab {
    margin-right: 12px;
    font-size: 1.3em;
    color: var(--accent-vibrant);
    transition: transform 0.3s ease, color 0.3s ease;
}

.fas:hover, .far:hover, .fal:hover, .fab:hover {
    transform: scale(1.3);
    color: var(--accent-gold-metallic);
}

/* Section Padding */
section {
    padding: 80px 0;
    position: relative;
    background: var(--gradient-futuristic);
}

/* Call to Action Button Styling */
.cta-button {
    display: inline-block;
    background: var(--accent-vibrant);
    color: var(--bg-darker);
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 15px;
    font-size: 1.2em;
    font-weight: bold;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px var(--accent-vibrant-shadow);
    animation: pulse 2s infinite;
    position: relative;
    z-index: 2;
    pointer-events: auto;
    margin: 10px 0;
}

.cta-button:hover {
    background: var(--accent-vibrant-light);
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--accent-vibrant-shadow);
}

.secondary-cta {
    background: transparent;
    color: var(--accent-vibrant);
    border: 3px solid var(--accent-vibrant);
    padding: 16px 33px;
}

.secondary-cta:hover {
    background: var(--accent-vibrant);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--accent-vibrant-shadow);
}

/* --- Header & Navigation --- */
header {
    background: var(--gradient-futuristic);
    padding: 15px 0;
    border-bottom: 1px solid var(--accent-vibrant);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 0;
    z-index: 500;
    overflow: hidden;
    width: 100%;
}

header::before, header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-vibrant), transparent);
    opacity: 0.7;
    animation: pulse 3s infinite ease-in-out;
}

header::before { top: 0; }
header::after { bottom: 0; }

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.logo img {
    height: 90px;
    width: auto;
    display: block;
    background: transparent;
    filter: drop-shadow(0 0 10px rgba(30, 144, 255, 0.5));
    border-radius: 5px;
}

.header-tagline {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.3em;
    color: var(--accent-vibrant);
    text-shadow: 0 0 10px var(--accent-vibrant-shadow);
    animation: neon-flicker 4s infinite ease-in-out;
}

.header-tagline p {
    margin: 0;
    color: var(--accent-vibrant);
}

.header-info {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    align-items: center;
    margin-right: 25px;
    padding-right: 25px;
    border-right: 2px solid var(--accent-vibrant);
}

.social-links a {
    color: var(--accent-vibrant);
    font-size: 1.4em;
    margin-left: 18px;
    transition: all 0.3s ease;
}

.social-links a:first-child {
    margin-left: 0;
}

.social-links a:hover {
    color: var(--accent-gold-metallic);
    transform: scale(1.3) rotate(10deg);
}

.header-phone {
    font-size: 1.2em;
    color: var(--accent-vibrant);
    margin: 0;
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    text-shadow: 0 0 5px var(--accent-vibrant-shadow);
}

.header-phone .fas {
    color: var(--accent-vibrant);
    font-size: 1.1em;
    margin-right: 10px;
    margin-top: 0;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: auto;
    margin-right: 0;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    margin-right: 0;
}

nav ul li {
    margin-left: 25px;
    padding: 0;
    margin: 5px 10px;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2em;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 0 5px var(--accent-vibrant-shadow);
}

nav ul li a:hover {
    color: var(--text-light);
    text-shadow: 0 0 10px var(--accent-vibrant-shadow);
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background: var(--accent-vibrant);
    transition: width 0.4s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Keyframes for Animations */
@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

@keyframes neon-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Adjustments for Header */
@media (max-width: 992px) {
    header {
        padding: 3px 0;
    }

    header .container {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        flex-direction: column;
        align-items: center;
        margin-bottom: 5px;
    }

    .logo img {
        height: 40px;
    }

    .header-tagline {
        text-align: center;
        font-size: 1em;
    }

    .header-right {
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
        margin-bottom: 3px;
    }

    .header-info {
        flex-direction: column;
        width: 100%;
        align-items: center;
        margin-bottom: 3px;
    }

    .social-links {
        margin-right: 0;
        border-right: none;
        padding-right: 0;
        margin-bottom: 3px;
    }

    .social-links a {
        margin: 0 4px;
        font-size: 1em;
    }

    .header-phone {
        font-size: 1em;
        margin-bottom: 3px;
    }

    nav ul {
        justify-content: center;
    }

    nav ul li {
        margin: 3px 5px;
    }

    nav ul li a {
        font-size: 1em;
    }
}

/* --- Hero Section --- */
#hero {
    background: var(--gradient-futuristic);
    color: var(--text-light);
    text-align: center;
    padding: 120px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--accent-vibrant);
    box-shadow: 0 0 10px var(--accent-vibrant-shadow);
}

#hero h1 {
    font-size: 4em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 0 0 15px var(--accent-vibrant-shadow);
    position: relative;
    z-index: 1;
}

#hero p {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    text-shadow: 0 0 5px var(--accent-vibrant-shadow);
    position: relative;
    z-index: 1;
}

/* Parallax Background */
#hero .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    z-index: 0;
    opacity: 0.5;
}

/* Add a subtle overlay to improve text contrast */
#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

/* Adjust Hero Padding for Mobile */
@media (max-width: 992px) {
    #hero {
        padding-top: 100px;
        min-height: 500px;
    }

    #hero h1 {
        font-size: 2.5em;
    }

    #hero p {
        font-size: 1.3em;
    }
}

/* --- Services Section --- */
#services {
    background: var(--bg-darker);
}

#services .service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--accent-vibrant);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-vibrant-light);
    box-shadow: 0 15px 40px var(--accent-vibrant-shadow);
}

.service-item h3 {
    color: var(--accent-vibrant);
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
}

.service-item p {
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 1.1em;
    font-family: var(--font-body);
}

/* --- Refurbished Section --- */
#refurbished {
    background: var(--bg-dark);
}

#refurbished .laptop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.laptop-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-vibrant-light);
    box-shadow: 0 15px 40px var(--accent-vibrant-shadow);
}

.laptop-item img {
    width: 320px !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px;
    border: 2px solid var(--accent-vibrant);
    display: block;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 10px var(--accent-vibrant-shadow));
    transition: transform 0.3s ease;
}

.laptop-item img:hover {
    transform: scale(1.05);
}

.laptop-item h3 {
    font-size: 1.5em;
    color: var(--accent-vibrant);
    margin-top: 0;
    margin-bottom: 15px;
    text-align: left;
}

.laptop-item p,
.laptop-item ul li {
    font-size: 1.1em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.laptop-item ul {
    margin-bottom: 20px;
}

.laptop-price {
    font-size: 2em;
    font-weight: bold;
    color: var(--accent-vibrant);
    margin-top: auto;
    margin-bottom: 20px;
    text-align: right;
}

/* --- How It Works Section --- */
#process {
    background: var(--accent-blue-logo);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#process::before,
#process::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-vibrant);
    z-index: 0;
    box-shadow: 0 0 10px var(--accent-vibrant-shadow);
}

#process::before { top: 150px; }
#process::after { bottom: 30px; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.step-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--accent-vibrant);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.step-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-vibrant-light);
    box-shadow: 0 15px 40px var(--accent-vibrant-shadow);
}

.step-number {
    font-size: 3em;
    font-family: var(--font-heading);
    color: var(--accent-vibrant);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px var(--accent-vibrant-shadow);
}

.step-number::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent-vibrant);
    z-index: -1;
    box-shadow: 0 0 15px var(--accent-vibrant-shadow);
    animation: pulse 3s infinite;
}

.step-item h3 {
    color: var(--text-light);
    margin-bottom: 15px;
    text-align: center;
}

.step-item p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 1.1em;
}

/* --- Testimonials Section --- */
#testimonials {
    background: var(--bg-darker);
}

.testimonial-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-vibrant-light);
    box-shadow: 0 15px 40px var(--accent-vibrant-shadow);
}

/* --- About Section --- */
#about {
    background: var(--bg-dark);
}

/* --- Contact Section --- */
#contact {
    background: var(--gradient-futuristic);
    text-align: center;
}

#contact p {
    font-size: 1.2em;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

#contact p { margin-bottom: 20px; }

#contact p:last-child { margin-bottom: 0; }

.contact-link {
    color: var(--accent-vibrant);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--text-light);
    text-decoration: underline;
    text-shadow: 0 0 10px var(--accent-vibrant-shadow);
    transform: scale(1.1);
}

#contact p:last-of-type {
    color: var(--text-muted);
    font-size: 1.1em;
    margin-bottom: 25px;
}

.map-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 450px;
    border-radius: 15px;
    border: 3px solid var(--accent-vibrant);
    margin-top: 40px;
    box-shadow: 0 0 20px var(--accent-vibrant-shadow);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Footer --- */
footer {
    background: var(--bg-darker);
    color: var(--text-muted);
    text-align: center;
    padding: 40px 0;
    margin-top: 50px;
    border-top: 2px solid var(--accent-vibrant);
    position: relative;
}

footer p {
    margin: 0;
    font-family: var(--font-heading);
    text-shadow: 0 0 5px var(--accent-vibrant-shadow);
}

/* Responsive Adjustments */
@media (min-width: 1200px) {
    .process-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    #process {
        padding: 50px 0; /* Reduced padding for mobile */
    }

    .process-steps {
        gap: 20px; /* Reduced gap between steps */
    }

    .step-item {
        padding: 30px 15px; /* Reduced padding for step items */
    }

    .step-number {
        font-size: 2.5em; /* Reduced step number size */
    }

    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    section { padding: 60px 0; }

    .laptop-item {
        align-items: center;
        text-align: center;
    }

    .laptop-item h3 { text-align: center; }
    .laptop-price, .laptop-contact { text-align: center; }

    .laptop-item ul {
        text-align: left;
        width: 100%;
        padding-left: 20px;
    }

    .laptop-item ul li { padding-left: 0; }
    .laptop-item ul li .fas { margin-right: 5px; }

    .laptop-item img {
        width: 100% !important;
        max-width: 280px !important;
    }

    .step-item { padding: 30px 20px; }
    .step-number { font-size: 2.5em; }
    .step-number::after { width: 60px; height: 60px; }

    .testimonial-item { padding: 30px; }
    .testimonial-item blockquote { font-size: 1.1em; padding-left: 20px; }
    .testimonial-item blockquote::before { font-size: 3em; left: -10px; }

    #contact p { justify-content: center; text-align: left; }
    .map-container { height: 350px; }

    p {
        font-size: 1.2em;
    }
}

@media (max-width: 400px) {
    .laptop-item img {
        width: 100% !important;
        max-width: 220px !important;
    }

    .step-item { padding: 25px 15px; }
    .step-number { font-size: 2em; }
    .step-number::after { width: 50px; height: 50px; }

    p {
        font-size: 1.1em;
    }
}

/* AOS Animations */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translate3d(0, 100px, 0);
    transition-property: opacity, transform;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.aos-animate,
.service-item, .laptop-item, .testimonial-item, .step-item {
    transition: all 0.6s ease-out;
}

.service-item, .laptop-item, .testimonial-item, .step-item {
    transform: none;
}

.aos-animate.service-item,
.aos-animate.laptop-item,
.aos-animate.testimonial-item,
.aos-animate.step-item {
    transform: translate3d(0, 0, 0);
}

.testimonial-item blockquote::before {
    color: var(--accent-vibrant);
}

/* --- Free Download Section --- */
#free-download {
    background: var(--bg-darker);
    text-align: center;
    padding: 60px 0;
}

#free-download p {
    font-size: 1.2em;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Override MailerLite Form Styles */
.ml-embedded {
    max-width: 500px;
    margin: 0 auto;
}

.ml-embedded .ml-form-embedWrapper {
    background: var(--glass-bg) !important;
    border: 2px solid var(--accent-vibrant) !important;
    border-radius: 10px !important;
    box-shadow: 0 0 10px var(--accent-vibrant-shadow) !important;
    backdrop-filter: blur(10px) !important;
}

.ml-embedded input[type="email"] {
    background: var(--glass-bg) !important;
    border: 2px solid var(--accent-vibrant) !important;
    color: var(--text-light) !important;
    padding: 15px !important;
    border-radius: 10px !important;
    font-family: var(--font-body) !important;
    font-size: 1em !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 0 10px var(--accent-vibrant-shadow) !important;
    transition: all 0.3s ease !important;
}

.ml-embedded input[type="email"]::placeholder {
    color: var(--text-muted) !important;
}

.ml-embedded input[type="email"]:focus {
    border-color: var(--accent-vibrant-light) !important;
    box-shadow: 0 0 15px var(--accent-vibrant-shadow) !important;
}

.ml-embedded button {
    background: var(--accent-vibrant) !important;
    color: var(--bg-darker) !important;
    padding: 15px 30px !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: var(--font-heading) !important;
    font-size: 1.2em !important;
    font-weight: bold !important;
    box-shadow: 0 0 15px var(--accent-vibrant-shadow) !important;
    transition: all 0.3s ease !important;
}

.ml-embedded button:hover {
    background: var(--accent-vibrant-light) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 0 20px var(--accent-vibrant-shadow) !important;
}

@media (max-width: 992px) {
    #free-download {
        padding: 40px 0;
    }

    #free-download p {
        font-size: 1.1em;
    }

    .ml-embedded {
        max-width: 100%;
    }

    .ml-embedded input[type="email"] {
        font-size: 0.9em;
        padding: 12px;
    }

    .ml-embedded button {
        font-size: 1em;
        padding: 12px 25px;
    }
}

/* Service Price Styling */
.service-item .service-price {
    font-size: 1.1em;
    color: var(--accent-gold-logo) !important;
    font-weight: bold;
    margin-top: 10px;
    text-shadow: 0 0 5px var(--accent-gold-logo-shadow);
}

.service-note {
    font-size: 1em;
    color: var(--text-muted);
    text-align: center;
    margin-top: 40px;
    font-style: italic;
}