/* Theme Variables */
:root {
    --color-text: #333;
    --color-text-muted: #666;
    --color-heading: #b8860b; /* dark gold */

    --color-bg-alt: #7f1d1d; /* dark red background */
    --color-surface: #ffffff;
    --color-border: #e5e7eb;

    --color-primary: #f59e0b; /* gold-yellow */
    --color-primary-hover: #d97706; /* darker gold */

    --color-accent-start: #7f1d1d; /* dark red gradient start */
    --color-accent-end: #991b1b; /* dark red gradient end */

    --color-footer-bg: #7f1d1d; /* dark red footer */
    --color-footer-muted: #6b7280;
    --color-footer-divider: #e5e7eb;
    --color-social-bg: #e5e7eb;

    --color-success: #10b981;
    --color-warning: #f59e0b;

    /* optional: dark red for backgrounds if needed */
    --color-background-dark-red: #7f1d1d;
}

/* Alternate Theme: Emerald */
body.theme-emerald {
    --color-text: #1f2937;
    --color-text-muted: #6b7280;
    --color-heading: #0f172a;

    --color-bg-alt: #f8fafc;
    --color-surface: #ffffff;
    --color-border: #e5e7eb;

    --color-primary: #10b981;
    --color-primary-hover: #059669;

    --color-accent-start: #14b8a6;
    --color-accent-end: #0ea5e9;

    --color-footer-bg: #0f172a;
    --color-footer-muted: #94a3b8;
    --color-footer-divider: #1f2937;
    --color-social-bg: #1f2937;

    --color-success: #10b981;
    --color-warning: #f59e0b;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    overflow-x: hidden;
    background: var(--color-bg-alt);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(252, 251, 251, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left:  2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    display: inline;
    color: var(--color-heading);
    font-weight: 700;
    font-size: 1.4rem;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-heading);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-accent-start) 0%, var(--color-accent-end) 100%);
    color: var(--color-heading);
    padding-left: 2rem;
    justify-content: space-between;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    
    max-width: 600px;
    z-index: 2;
    
    position: relative;
    
}


.hero-image {
    
    max-width: 100%;
    left: 10%;
    top: 50%;
    transform: translateY(10%);
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    position: relative;
    
    
    
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    
}

.hero-subtitle {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    opacity: 1;
    line-height: 1.6;
    color: var(--color-footer-divider);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--color-text);
    transform: translateY(-2px);
}


.printing-machine-animation {
    font-size: 8rem;
    animation: printAnimation 3s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes printAnimation {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

/* Services Section */
.services {
    padding: 0 0;
    background: var(--color-bg-alt);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 2.1rem;
    color: var(--color-border);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--color-surface);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: 0.2rem;
}

.feature h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--color-text-muted);
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 50px;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-placeholder i {
    font-size: 6rem;
    color: white;
}

/* Portfolio Section */
.portfolio {
    padding: 0 0;
    background: var(--color-bg-alt);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 0;
}

.portfolio-item {
    background: var(--color-surface);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image i {
    font-size: 4rem;
    color: white;
}

.portfolio-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-heading);
}

.portfolio-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-heading);
}

/* Partners Section */


  .partners {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
  }
  .h2p {
    color: var(--color-heading);

  }

  .carousel {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
  }

  .logos {
    display: inline-block;
    animation: scroll 15s linear infinite;
  }


  .logos img {
    height: 200px;
    margin: 0 20px;
    vertical-align: middle;
  }

  @keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
  }


/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--color-surface);

}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-heading);
    margin-top: 0.2rem;

}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--color-heading);
    margin: 0;
    
}

.contact-form {
    background: var(--color-bg-alt);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    
}

.form-group {
    margin-bottom: 1.5rem;
    
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    
    
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--color-footer-bg);
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.footer-section p {
    color: var(--color-border);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--color-border);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-border);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-footer-divider);
    color: var(--color-heading );
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 50px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero-image {
        left: 1%;  
    }

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

@media (max-width: 480px) {
    .container {
        max-width: 480px;
        margin: 0 auto;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    .hero-image {
        left: 0%;  
    }
    .hero-subtitle{
        font-size: 1.5rem;
    }

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

    .service-card {
        padding: 0.5rem;
    }

    .contact-form {
        padding: 0.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* File Upload Section */
.upload-section {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

.upload-container {
    max-width: 900px;
    margin: 0 auto;
}

.upload-area {
    border: 3px dashed var(--color-primary);
    border-radius: 15px;
    padding: 60px 20px;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    margin-bottom: 30px;
}

.upload-area:hover {
    border-color: var(--color-primary-hover);
    background: #f0f0f0;
    transform: translateY(-2px);
}

.upload-area.dragover {
    border-color: var(--color-success);
    background: #e8f5e8;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.upload-text {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 10px;
    font-weight: 600;
}

.upload-subtext {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.file-input {
    display: none;
}

.file-list {
    margin-bottom: 30px;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--color-surface);
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.file-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.file-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    color: var(--color-primary);
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.file-size {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.file-actions {
    display: flex;
    gap: 10px;
}

.file-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--color-border);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-warning));
    width: 0%;
    transition: width 0.3s ease;
}

.upload-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.option-card {
    padding: 25px;
    border: 2px solid var(--color-border);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--color-surface);
}

.option-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.option-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.option-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-heading);
    font-size: 1.1rem;
}

.option-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.upload-instructions {
    background: var(--color-surface);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--color-primary);
}

.upload-instructions h3 {
    color: var(--color-heading);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.upload-instructions h3 i {
    color: var(--color-primary);
    margin-right: 10px;
}

.upload-instructions ul {
    list-style: none;
    padding: 0;
}

.upload-instructions ul li {
    padding: 8px 0;
    color: var(--color-text-muted);
    border-bottom: 1px solid #f0f0f0;
}

.upload-instructions ul li:last-child {
    border-bottom: none;
}

.upload-instructions ul li strong {
    color: var(--color-heading);
}

/* Checkbox styling for contact form */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-border);
    margin-top: 10px;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.checkmark {
    margin-left: 5px;
}

/* File upload success/error states */
.file-item.success {
    border-left-color: var(--color-success);
}

.file-item.error {
    border-left-color: var(--color-primary);
}

.file-item.success .file-icon {
    color: var(--color-success);
}

.file-item.error .file-icon {
    color: var(--color-primary);
}

/* Responsive design for upload section */
@media (max-width: 768px) {
    .upload-area {
        padding: 40px 15px;
    }
    
    .upload-text {
        font-size: 1.1rem;
    }
    
    .upload-subtext {
        font-size: 0.9rem;
    }
    
    .file-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .file-actions {
        justify-content: center;
    }
    
    .upload-options {
        grid-template-columns: 1fr;
    }
    
    .upload-instructions {
        padding: 20px;
    }

    .nav-logo h2 {
        display: inline;
        color: var(--color-heading);
        font-weight: 700;
        font-size: 1.0rem;
        align-items: center;
        gap: 10px;
    }
    
}

@media (max-width: 480px) {
    .upload-area {
        padding: 30px 10px;
    }
    
    .upload-icon {
        font-size: 3rem;
    }
    
    .file-item {
        padding: 15px;
    }
    
    .file-icon {
        font-size: 2rem;
    }

    .nav-logo h2 {
        display: inline;
        color: var(--color-heading);
        font-weight: 700;
        font-size: 1.0rem;
        align-items: center;
        gap: 10px;
    }
    
}

/* Theme toggle control */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 10px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-text);
    transition: background 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(0,0,0,0.06);
    transform: translateY(-1px);
}

.theme-toggle i {
    font-size: 1rem;
}
