/* Ezra Stationers Enterprises - Professional Landing Page Styles */

:root {
    --primary-blue: #2F3192;
    --primary-red: #D7303F;
    --dark: #1a1a2e;
    --text: #333333;
    --text-light: #666666;
    --background: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --border: #dee2e6;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 10px;
    --transition: 0.3s ease;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

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

.btn-primary:hover {
    background: #b82633;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background: #23256e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

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

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

.btn-white:hover {
    background: var(--off-white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
    background: white;
}

.logo-text h1 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 400;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text);
    transition: color var(--transition);
}

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

.header-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    font-weight: 700;
    color: var(--primary-blue);
}

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

/* Mobile CTA Bar */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    padding: 0.75rem;
    z-index: 999;
    justify-content: center;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0 4rem;
}

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

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.15;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 540px;
}

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

.hero-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.hero-image img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}

@keyframes badgeMoveRight {
    0%, 100% { left: 0; transform: translateX(0); }
    50% { left: 100%; transform: translateX(-100%); }
}

@keyframes badgeMoveLeft {
    0%, 100% { left: 100%; transform: translateX(-100%); }
    50% { left: 0; transform: translateX(0); }
}

.hero-badges {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-badge {
    position: absolute;
    pointer-events: auto;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.hero-badge:nth-child(1) {
    top: 18%;
    animation: badgeMoveRight 9s ease-in-out infinite;
}

.hero-badge:nth-child(2) {
    top: 44%;
    animation: badgeMoveLeft 11s ease-in-out infinite;
    animation-delay: 1s;
}

.hero-badge:nth-child(3) {
    top: 70%;
    animation: badgeMoveRight 8s ease-in-out infinite;
    animation-delay: 2s;
}

.hero-badge:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Trust Indicators */
.trust {
    background: var(--primary-blue);
    color: white;
    padding: 1.25rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-item i {
    font-size: 1.75rem;
    color: #ffffff;
}

.trust-item span {
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-marquee {
    display: none;
    overflow: hidden;
}

@keyframes trustMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Services */
.services {
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-card-content {
    padding: 1.5rem;
}

.service-card-content h3 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.service-card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.service-list span {
    background: var(--off-white);
    color: var(--text);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.service-card .btn {
    width: 100%;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card-content {
    padding: 1.25rem;
    text-align: center;
}

.product-card-content h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-card-content p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Why Choose Us */
.why-us {
    background: var(--off-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
}

.why-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.why-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.why-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Industries */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.industry-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition);
}

.industry-card:hover {
    border-color: var(--primary-blue);
    background: var(--off-white);
}

.industry-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.industry-card h3 {
    font-size: 1.1rem;
    color: var(--text);
}

/* How It Works */
.how-it-works {
    background: var(--primary-blue);
    color: white;
}

.how-it-works .section-header h2,
.how-it-works .section-header p {
    color: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2rem;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: white;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.25rem;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
    background: var(--off-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-red);
    opacity: 0.2;
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    line-height: 1;
}

.testimonial-card p {
    color: var(--text);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author h4 {
    color: var(--primary-blue);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Quote Section */
.quote-section {
    background: white;
}

.quote-section .container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.quote-form-wrapper {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.quote-form-wrapper h2 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.quote-form-wrapper > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(47, 49, 146, 0.1);
}

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

.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.file-input-label {
    display: block;
    padding: 0.875rem;
    border: 2px dashed var(--border);
    border-radius: 8px;
    text-align: center;
    color: var(--text-light);
    cursor: pointer;
    transition: border-color var(--transition);
}

.file-input-label:hover {
    border-color: var(--primary-blue);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

.quote-contact {
    background: var(--primary-blue);
    color: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.quote-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.quote-contact-item i {
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.quote-contact-item a {
    color: white;
    font-weight: 600;
}

.quote-contact-item a:hover {
    text-decoration: underline;
}

/* Contact */
.contact {
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.map-placeholder {
    background: var(--light-gray);
    border-radius: var(--radius);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary-blue);
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-info-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

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

.contact-info-item i {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.contact-info-item a {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.social-links a:hover {
    background: var(--primary-red);
}

.footer-links h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: white;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image img {
        aspect-ratio: 3/2;
    }

    .services-grid,
    .products-grid,
    .why-grid,
    .industries-grid,
    .testimonials-grid,
    .trust-grid,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .quote-section .container,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-links,
    .header-contact {
        display: none;
    }

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

    .mobile-cta {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform var(--transition);
        gap: 1.5rem;
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .header-contact {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .services-grid,
    .products-grid,
    .why-grid,
    .industries-grid,
    .testimonials-grid,
    .trust-grid,
    .steps,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        display: none;
    }

    .trust-marquee {
        display: block;
        width: 100%;
    }

    .trust-marquee-track {
        display: flex;
        width: max-content;
        gap: 2rem;
        animation: trustMarquee 20s linear infinite;
    }

    .trust-marquee .trust-item {
        flex-shrink: 0;
        white-space: nowrap;
        flex-direction: row;
        gap: 0.75rem;
        padding: 0.5rem 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }

    .step:not(:last-child)::after {
        display: none;
    }

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

    .quote-form-wrapper,
    .quote-contact {
        padding: 1.5rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    body {
        padding-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }
}
