/* =================================================================== */
/*             10M Marketing - Light Theme Stylesheet                */
/* Designed for HTML where <header> is OUTSIDE <page-wrapper>        */
/* =================================================================== */

/* --- ROOT VARIABLES & GENERAL SETUP --- */
:root {
    --primary-color: #6E0FF0;
    --secondary-color: #91F00F;
    
    /* Light Theme Palette */
    --background-light: #F4F7FC;
    --text-dark: #2c3e50;
    --text-muted: #7f8c9b;
    --glass-bg-light: rgba(255, 255, 255, 0.6);
    --glass-border-light: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- BLUR EFFECT FOR PAGE WRAPPER --- */
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    transition: filter 0.4s ease, transform 0.4s ease;
}

.content-blurred {
    filter: blur(5px);
    transform: scale(0.98);
    pointer-events: none;
    user-select: none;
}

/* --- BACKGROUND BLURRY EFFECT --- */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    mix-blend-mode: multiply;
    animation: move 25s infinite alternate;
}

.blob-1 { width: 400px; height: 400px; background: var(--primary-color); top: -50px; left: -100px; filter: blur(150px); }
.blob-2 { width: 500px; height: 500px; background: var(--secondary-color); bottom: -150px; right: -100px; filter: blur(200px); animation-duration: 30s; }
.blob-3 { width: 300px; height: 300px; background: #00c3ff; top: 50%; left: 50%; transform: translate(-50%, -50%); filter: blur(120px); animation-duration: 20s; }

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, -100px) scale(1.2); }
}

/* --- GLASSMORPHISM CONTAINER (Light version) --- */
.glass-container {
    background: var(--glass-bg-light);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-light);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

/* --- LAYOUT & TYPOGRAPHY --- */
.section-title, .main-heading { color: var(--text-dark); }
.sub-heading, p, li { color: var(--text-muted); }

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), #8a3ffc);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(110, 15, 240, 0.4);
}

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px;
    z-index: 1000;
    padding: 0.5rem 1rem;
}

.main-nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 700; color: var(--text-dark); text-decoration: none; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 2.5rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover, .nav-links a.nav-active { color: var(--primary-color); }
.nav-cta { background: rgba(145, 240, 15, 0.1); color: #5a8e09; padding: 8px 18px; border-radius: 50px; border: 1px solid var(--secondary-color); }
.nav-cta:hover { background: var(--secondary-color); color: var(--text-dark) !important; }
.mobile-nav-toggle { display: none; }

/* --- HERO SECTION --- */
.services-hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 120px;
}

.hero-content { max-width: 850px; }
.main-heading { font-size: 4rem; line-height: 1.2; font-weight: 700; margin-bottom: 1.5rem; }
.highlight-primary { color: var(--primary-color); }
.highlight-secondary { color: var(--secondary-color); }
.sub-heading { font-size: 1.25rem; max-width: 650px; margin: 0 auto 2.5rem; }

/* --- LOGO CAROUSEL --- */
.logo-carousel-section { padding: 2rem 0 6rem; text-align: center; }
.carousel-title { color: var(--text-muted); font-weight: 600; letter-spacing: 1.5px; margin-bottom: 2rem; font-size: 0.9rem; }
.logo-carousel { padding: 2rem 0; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent); mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent); }
.logo-slider { display: flex; width: fit-content; animation: scroll 30s linear infinite; }
.logo-slider img { height: 50px; margin: 0 40px; filter: grayscale(1); opacity: 0.7; transition: filter 0.3s ease, opacity 0.3s ease; }
.logo-slider:hover img { filter: grayscale(0); opacity: 1; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- SERVICE DETAILS SECTIONS --- */
.service-details-wrapper { display: flex; flex-direction: column; gap: 2.5rem; }
.service-detail-section { padding: 3rem; }
.service-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: center; }
.service-detail-section.layout-reversed .service-detail-grid { grid-template-columns: 1fr 2fr; }
.service-detail-section.layout-reversed .service-text-content { order: 2; }
.service-detail-section.layout-reversed .service-icon-content { order: 1; }
.service-title { font-size: 2rem; margin-bottom: 1rem; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-fill-color: transparent; }
.service-intro { font-size: 1.1rem; margin-bottom: 1.5rem; }
.service-feature-list { list-style: none; padding-left: 0; }
.service-feature-list li { padding-left: 1.5em; position: relative; margin-bottom: 1rem; }
.service-feature-list li::before { content: '›'; position: absolute; left: 0; color: var(--primary-color); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.service-feature-list li strong { color: var(--text-dark); }
.service-icon-content { text-align: center; }
.service-icon { font-size: 5rem; display: block; margin-bottom: 1rem; }
.service-icon-content h3 { font-size: 1.5rem; font-weight: 500; }

/* --- SPECIALIZED CONTENT GRID --- */
.specialty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.specialty-card { background: rgba(244, 247, 252, 0.7); padding: 1.5rem; border-radius: 12px; border: 1px solid transparent; transition: border-color 0.3s ease, transform 0.3s ease; }
.specialty-card:hover { transform: translateY(-5px); border-color: var(--primary-color); }
.specialty-card h4 { color: var(--primary-color); font-size: 1.1rem; margin-bottom: 0.5rem; }
.specialty-card p { font-size: 0.95rem; line-height: 1.6; }

/* --- CONTACT & FOOTER --- */
.contact-section { padding: 6rem 0; }
.contact-wrapper { max-width: 800px; margin: 0 auto; text-align: center; padding: 2.5rem; }
.contact-wrapper p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; gap: 1rem; }
.form-group input { flex: 1; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px; background: rgba(244, 247, 252, 0.8); border: 1px solid var(--glass-border-light); border-radius: 8px; color: var(--text-dark); font-family: 'Inter', sans-serif; font-size: 1rem; transition: border-color 0.3s ease; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-color); }
.contact-form button { margin-top: 1rem; align-self: center; }
.footer-section { text-align: center; padding: 2rem 0; margin-top: 4rem; color: var(--text-muted); border-top: 1px solid var(--glass-border-light); }

/* --- RESPONSIVE & MOBILE NAVIGATION --- */
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 1001; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.overlay--active { opacity: 1; visibility: visible; }
.mobile-nav { display: none; }

@media (max-width: 992px) {
    .main-heading { font-size: 3rem; }
    .section-title { font-size: 2.2rem; }
    .service-detail-grid, .service-detail-section.layout-reversed .service-detail-grid { grid-template-columns: 1fr; }
    .service-detail-section.layout-reversed .service-text-content, .service-detail-section.layout-reversed .service-icon-content { order: 0; }
    .service-icon-content { margin-top: 2rem; }
}

@media (max-width: 768px) {
    .page-wrapper { padding: 0 1rem; }
    .desktop-nav { display: none; }
    .mobile-nav-toggle { display: flex; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; z-index: 1003; }
    .mobile-nav-toggle span { width: 25px; height: 2px; background: var(--text-dark); border-radius: 2px; }
    .mobile-nav { display: block; position: fixed; top: 0; right: 0; width: 75%; max-width: 320px; height: 100vh; z-index: 1002; padding: 6rem 2rem 2rem; background: var(--glass-bg-light); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border-left: 1px solid var(--glass-border-light); transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1); }
    .mobile-nav--open { transform: translateX(0); }
    .mobile-nav .nav-links { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .mobile-nav .nav-links a { font-size: 1.2rem; color: var(--text-dark); }
    .mobile-nav .nav-cta { margin-top: 1rem; display: inline-block; }
    .close-nav-btn { position: absolute; top: 20px; right: 20px; background: transparent; border: none; color: var(--text-dark); font-size: 2.5rem; cursor: pointer; }
    .main-heading { font-size: 2.5rem; }
    section, .contact-section { padding: 4rem 0; }
    .form-group { flex-direction: column; }
    .service-detail-section { padding: 2rem; }
    .service-title { font-size: 1.8rem; }
    .specialty-grid { grid-template-columns: 1fr; }
}


/* ================================================= */
/* --- NEW: SERVICE CALCULATOR STYLES --- */
/* ================================================= */

.calculator-section {
    padding: 6rem 0;
}

.calculator-form {
    padding: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.service-category h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.form-group-checkbox,
.form-group-number,
.form-group-addon {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.form-group-checkbox label,
.form-group-addon label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.form-group-checkbox label.disabled,
.form-group-addon label.disabled {
    cursor: default;
    opacity: 0.6;
}

.form-group-number label {
    display: grid;
    grid-template-columns: 1fr 80px 80px;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.form-group-number span {
    font-size: 0.9rem;
}

/* Custom Checkbox and Number Input Styles */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--glass-border);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s, border-color 0.3s;
}

input[type="checkbox"]:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: var(--background-dark);
    font-weight: bold;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

input[type="number"] {
    width: 100%;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    text-align: center;
    transition: border-color 0.3s ease;
}

input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.total-display {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 1rem;
}

.total-display h3 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.total-display p {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
}


/* Responsive adjustments for the calculator */
@media (max-width: 992px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .calculator-form {
        padding: 2rem 1.5rem;
    }
    .form-group-number label {
        grid-template-columns: 1fr 60px 70px;
        gap: 0.5rem;
    }
}