:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --gray-color: #64748b;
    --success-color: #10b981;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

/* Dark Mode Variables */
body.dark-mode {
    --primary-color: #3b82f6;
    --secondary-color: #1d4ed8;
    --light-color: #1e293b;
    --dark-color: #f8fafc;
    --gray-color: #94a3b8;
    background-color: #0f172a;
    color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f1f5f9;
    transition: var(--transition);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

body.dark-mode header {
    background-color: #1e293b;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-top: -5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav a:hover {
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    margin-left: 15px;
}

.dark-mode-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

body.dark-mode .dark-mode-toggle {
    color: #e2e8f0;
}

body.dark-mode .dark-mode-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(30, 64, 175, 0.9), rgba(37, 99, 235, 0.8)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    padding: 15px 25px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.promo-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.promo-btn {
    background-color: white;
    color: #f59e0b;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.promo-btn:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
}

/* Service Status Dashboard */
.status-section {
    background-color: white;
    padding: 40px 0;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    transition: var(--transition);
}

body.dark-mode .status-section {
    background-color: #1e293b;
}

.status-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

body.dark-mode .status-title {
    color: #e2e8f0;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.status-item {
    background-color: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

body.dark-mode .status-item {
    background-color: #334155;
}

.status-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.status-item span {
    font-weight: 500;
}

.status-online {
    color: var(--success-color);
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #d97706;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-button.secondary {
    background-color: var(--primary-color);
}

.cta-button.secondary:hover {
    background-color: var(--secondary-color);
}

/* Services Section */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    display: inline-block;
}

body.dark-mode .section-title h2 {
    color: #e2e8f0;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.services-grid,
.printing-grid,
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card,
.printing-card,
.feature-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 30px;
    text-align: center;
    position: relative;
}

body.dark-mode .service-card,
body.dark-mode .printing-card,
body.dark-mode .feature-card {
    background-color: #334155;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.service-card:hover,
.printing-card:hover,
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

body.dark-mode .service-card:hover,
body.dark-mode .printing-card:hover,
body.dark-mode .feature-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.service-icon,
.printing-icon,
.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3,
.printing-card h3,
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

body.dark-mode .service-card h3,
body.dark-mode .printing-card h3,
body.dark-mode .feature-card h3 {
    color: #e2e8f0;
}

/* Service Time Display */
.service-time {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: var(--gray-color);
}

body.dark-mode .service-time {
    border-top-color: #475569;
    color: #94a3b8;
}

/* Printing Section */
.printing-section {
    background-color: white;
    padding: 80px 0;
    transition: var(--transition);
}

body.dark-mode .printing-section {
    background-color: #0f172a;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #f8fafc;
    transition: var(--transition);
}

body.dark-mode .features-section {
    background-color: #1e293b;
}

/* Price Calculator Section */
.calculator-section {
    padding: 80px 0;
    background-color: white;
    transition: var(--transition);
}

body.dark-mode .calculator-section {
    background-color: #0f172a;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.calculator-form {
    background-color: #f8fafc;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

body.dark-mode .calculator-form {
    background-color: #334155;
}

.calculator-result {
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 10px;
    color: white;
    text-align: center;
    box-shadow: var(--shadow);
}

.cost-display {
    font-size: 3rem;
    font-weight: 700;
    margin: 20px 0;
}

.cost-display small {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

.cost-breakdown {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    text-align: left;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breakdown-item.total {
    font-weight: 700;
    border-bottom: none;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: #f8fafc;
    transition: var(--transition);
}

body.dark-mode .gallery-section {
    background-color: #1e293b;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: white;
    transition: var(--transition);
}

body.dark-mode .testimonials-section {
    background-color: #0f172a;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background-color: #f8fafc;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    display: none;
    transition: var(--transition);
}

body.dark-mode .testimonial-card {
    background-color: #334155;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    text-align: right;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.testimonial-prev,
.testimonial-next {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dots .dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Progress Tracker */
.progress-tracker {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.progress-tracker::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #e2e8f0;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #e2e8f0;
    border-radius: 50%;
    font-weight: 600;
    margin-bottom: 10px;
    transition: var(--transition);
}

.step.completed span {
    background-color: var(--success-color);
    color: white;
}

.step.active span {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.step p {
    font-size: 0.9rem;
    color: var(--gray-color);
    transition: var(--transition);
}

.step.active p {
    color: var(--primary-color);
    font-weight: 600;
}

/* Booking Form */
.booking-section {
    padding: 80px 0;
    background-color: white;
    transition: var(--transition);
}

body.dark-mode .booking-section {
    background-color: #0f172a;
}

.booking-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8fafc;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

body.dark-mode .booking-form {
    background-color: #334155;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

body.dark-mode label {
    color: #e2e8f0;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    background-color: white;
    color: var(--dark-color);
    transition: var(--transition);
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background-color: #475569;
    border-color: #64748b;
    color: #e2e8f0;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

body.dark-mode input:focus,
body.dark-mode select:focus,
body.dark-mode textarea:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-toggle {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: var(--transition);
    position: relative;
}

.chat-toggle:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ef4444;
    color: white;
    font-size: 0.8rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-box {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
    transition: var(--transition);
}

body.dark-mode .chat-box {
    background-color: #334155;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.chat-box.active {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.chat-body {
    height: 300px;
    padding: 20px;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 15px;
    max-width: 80%;
}

.chat-message.bot {
    margin-right: auto;
}

.chat-message.user {
    margin-left: auto;
    text-align: right;
}

.chat-message p {
    background-color: #f1f5f9;
    padding: 10px 15px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 5px;
}

body.dark-mode .chat-message p {
    background-color: #475569;
    color: #e2e8f0;
}

.chat-message.bot p {
    background-color: var(--primary-color);
    color: white;
}

.chat-time {
    font-size: 0.8rem;
    color: var(--gray-color);
    display: block;
}

.chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #e2e8f0;
}

body.dark-mode .chat-input {
    border-top-color: #475569;
}

.chat-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    margin-right: 10px;
}

#chatSend {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

#chatSend:hover {
    background-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
    transition: var(--transition);
}

body.dark-mode footer {
    background-color: #0f172a;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 10px;
    margin-top: 5px;
    min-width: 20px;
}

.contact-info p {
    color: #cbd5e1;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #334155;
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.5rem;
    }

    .services-grid,
    .printing-grid,
    .features-grid,
    .calculator-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }

    body.dark-mode nav ul {
        background-color: #1e293b;
    }

    nav ul.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn {
        display: block;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .calculator-container,
    .services-grid,
    .printing-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .chat-box {
        width: 300px;
        right: -10px;
    }

    .promo-banner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 70px 0;
    }

    .booking-form {
        padding: 30px 20px;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .chat-box {
        width: calc(100vw - 60px);
        right: -15px;
    }

    .testimonial-card {
        padding: 25px 20px;
    }
}