/* --- Global Styles & Variables --- */
/* Replace the existing :root block at the top of your file */
:root {
    --primary-color: #0a58ca; /* A deeper, more confident blue */
    --background-color: #f8f9fa; /* A slightly softer off-white */
    --text-color: #212529; /* A darker, more readable text color */
    --light-text-color: #ffffff;
    --card-bg: #ffffff;
    --border-color: #e9ecef; /* Softer border color */
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Find and replace this existing rule */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navbar --- */
.navbar {
    background-color: var(--card-bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
    text-decoration: none;
}

.navbar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar nav ul li {
    margin-left: 25px;
}

.navbar nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.navbar nav a:hover,
.navbar nav a.active {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 70vh;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* --- Pages --- */
.page-content {
    padding-top: 40px;
    padding-bottom: 60px;
}

.page-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-content > p {
    text-align: center;
    color: #6c757d;
    margin-bottom: 40px;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

.service-card .service-title {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.service-card .pricing {
    font-size: 1rem;
    font-weight: bold;
    color: #495057;
    margin-bottom: 15px;
}

.budget-input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 10px;
}

.estimated-result {
    margin-bottom: 15px;
    font-weight: 500;
    color: #28a745;
    min-height: 24px;
}

.estimated-result.fixed span {
    color: var(--text-color);
}

.order-button {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: auto;
}

.order-button:hover:not(:disabled) {
    background-color: #0056b3;
}

.order-button:disabled {
    background-color: #a0c9ff;
    cursor: not-allowed;
}

.disclaimer {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 15px;
    margin-bottom: 0;
    text-align: center;
}

/* --- Order Form --- */
.payment-info {
    background-color: #e9ecef;
    border-left: 5px solid var(--primary-color);
    padding: 15px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    line-height: 1.8;
}

#order-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group .required {
    color: #dc3545;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input[readonly] {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.thank-you {
    text-align: center;
    padding: 40px;
}

/* --- Admin Panel --- */
.admin-table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: var(--card-bg);
}

.admin-table th,
.admin-table td {
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    background-color: #e9ecef;
    font-weight: bold;
}

.admin-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.admin-table .file-links a {
    display: inline-block;
    margin-bottom: 5px;
    text-decoration: underline;
    color: var(--primary-color);
}

.admin-form select,
.admin-form textarea,
.admin-form input[type="file"],
.admin-form button {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    font-size: 0.9rem;
}

.admin-form button {
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.admin-form .invoice-button {
    display: block;
    background-color: #ffc107;
    color: #333;
    padding: 8px;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}

.current-status {
    margin-bottom: 10px;
    font-weight: bold;
}

.status-pending {
    color: #ffc107;
}

.status-delivered {
    color: #28a745;
}
/* --- Interactive Enhancements --- */

/* Add a smooth transition to service cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Apply the 'lift' effect on hover */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
} /* --- New Landing Page Styles --- */

/* Canvas for 3D background */
#bg-canvas {
    position: fixed; /* Changed to fixed to stay in place */
    top: 0;
    left: 0;
    z-index: -1; /* Places canvas behind all other content */
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1; /* Ensures hero text is above the canvas */
}

/* How It Works Section */
.how-it-works-section {
    background-color: var(--card-bg);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 30px;
    margin-top: 40px;
}

.step {
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px auto;
}

/* Featured Services Section */
.featured-services-section {
    background-color: var(--background-color);
}

.service-feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block; /* Makes the whole card clickable */
}

.service-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
}

.service-feature-card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.service-feature-card .learn-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
    color: var(--primary-color);
}

/* Final CTA Section */
.final-cta-section {
    text-align: center;
    background-color: #212529; /* Dark background */
    color: var(--light-text-color);
}

.final-cta-section h2 {
    font-size: 2.2rem;
}

.final-cta-section p {
    color: #adb5bd; /* Lighter text color for subtitle */
    margin-bottom: 30px;
}

/* Footer */
.site-footer {
    background-color: #f8f9fa;
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.site-footer p {
    margin: 5px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
    }
}
/* --- V2 Design & Animation --- */

/* Canvas for particle background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    background: #0d1a2e; /* Dark blue background */
}

/* Make hero text pop against dark background */
.hero h1, .hero .subtitle {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Make main content visible against fixed background */
.page-content, .site-footer {
    position: relative;
    z-index: 1;
    background-color: var(--background-color);
}
.how-it-works-section {
    border-bottom: 1px solid var(--border-color);
}
.site-footer {
    background-color: #e9ecef;
}


/* --- V2 Services Page Redesign --- */
.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.services-header h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

/* New Grid for V2 Cards */
.services-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* V2 Card Styling (replaces .service-card styles on services page) */
.services-grid-v2 .service-card {
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    background-color: var(--card-bg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.services-grid-v2 .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
}

.service-icon {
    height: 60px;
    width: 60px;
    margin: 0 auto 20px auto;
    color: var(--primary-color);
}

.services-grid-v2 .service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.services-grid-v2 .service-card p {
    font-size: 0.95rem;
    color: #6c757d;
    min-height: 50px;
}

.services-grid-v2 .disclaimer {
    display: none; /* Hiding disclaimer from cards for a cleaner look */
}
/* --- Logo Image Styling --- */
.navbar .logo img {
    max-height: 40px; /* Adjust size as needed */
    display: block;
}

/* --- V3 Landing Page Funnel Styles --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}
.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

/* Feature Section (Why Choose Us) */
.feature-section {
    background-color: var(--card-bg);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.feature-item {
    padding: 20px;
    text-align: center;
}
.feature-item h3 {
    color: var(--primary-color);
}

/* Testimonial Section */
.testimonial-section {
    background-color: var(--background-color);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}
.testimonial-card .quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #495057;
}
.testimonial-card .author {
    font-weight: bold;
    color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
    background-color: var(--card-bg);
}
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
}
.faq-item p {
    margin: 0;
    color: #6c757d;
}

/* Final CTA Section */
.final-cta-section {
    background: #0d1a2e;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}
.final-cta-section h2 {
    font-size: 2.5rem;
}
.final-cta-section p {
    color: #adb5bd;
    margin-bottom: 30px;
}