/* online orderiing css file */
.restomate-order-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    /* Remove vertical padding and control it with margins */
    font-family: 'Quicksand', sans-serif;
    box-sizing: border-box;
}

.restomate-order-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70vh;
    gap: 60px;
    margin: 80px 0 40px 0;
    /* Add significant top margin (80px) */
}

.restomate-order-content {
    flex: 1;
    max-width: 600px;
    padding: 30px 0;
}

.restomate-order-heading {
    font-size: 3.5rem;
    color: #1e2537;
    line-height: 1.2;
    margin: 0 0 30px 0;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.restomate-order-heading .restomate-order-highlight {
    color: var(--primary-color);
    display: inline-block;
}

.restomate-order-subtext {
    font-size: 1.25rem;
    color: #666;
    margin: 0 0 40px 0;
    line-height: 1.6;
    max-width: 540px;
}

.restomate-order-cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 18px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    letter-spacing: 0.5px;
}

.restomate-order-cta-button:hover {
    background-color: #b91c1c;
}

.restomate-order-illustration {
    flex: 1;
    max-width: 600px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.restomate-order-illustration img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Enhanced responsiveness */
@media (max-width: 1200px) {
    .restomate-order-hero {
        gap: 40px;
        margin-top: 70px;
        /* Slightly less margin on smaller screens */
    }

    .restomate-order-heading {
        font-size: 3rem;
    }

    .restomate-order-subtext {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }
}

@media (max-width: 992px) {
    .restomate-order-hero {
        margin-top: 60px;
    }

    .restomate-order-heading {
        font-size: 2.7rem;
    }

    .restomate-order-content {
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .restomate-order-hero {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 20px 0;
        margin-top: 40px;
        /* Less top margin on mobile */
    }

    .restomate-order-content {
        max-width: 100%;
        order: 2;
        padding: 10px 0;
    }

    .restomate-order-illustration {
        order: 1;
        max-width: 80%;
        margin: 0 auto;
    }

    .restomate-order-heading {
        font-size: 2.5rem;
        margin-top: 20px;
    }

    .restomate-order-heading br {
        display: none;
        /* Remove line breaks on mobile */
    }

    .restomate-order-subtext {
        margin: 0 auto 30px auto;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .restomate-order-hero {
        margin-top: 30px;
    }

    .restomate-order-heading {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .restomate-order-subtext {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .restomate-order-cta-button {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
    }

    .restomate-order-illustration {
        max-width: 100%;
        padding: 10px;
    }
}

/* ==========================================================================
   Online Ordering Section Styles
   ========================================================================== */

/* Main container for ordering section */
.restomate-order-ordering-section {
    display: flex;
    align-items: center;
    gap: 64px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(to right, #f8fafc, #ffffff);
}

/* Image container styles */
.restomate-order-ordering-image {
    flex: 1;
    max-width: 50%;
    position: relative;
    transition: transform 0.3s ease;
}

/* Hover effect for image container */
.restomate-order-ordering-image:hover {
    transform: translateY(-10px);
}

/* Image styling */
.restomate-order-ordering-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
}

/* Enhanced shadow effect on image hover */
.restomate-order-ordering-image img:hover {
    box-shadow: 0 25px 50px rgba(220, 38, 38, 0.15);
}

/* Content container styles */
.restomate-order-ordering-content {
    flex: 1;
    max-width: 50%;
}

/* Title styling */
.restomate-order-ordering-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #1e2537;
    margin-bottom: 24px;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
}

/* Highlight text within title */
.restomate-order-ordering-title .restomate-order-highlight {
    color: var(--primary-color);
}

/* Description text styling */
.restomate-order-ordering-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 32px;
}

/* Call-to-action button styling */
.restomate-order-ordering-cta {
    display: inline-flex;
    align-items: center;
    font-size: 1.125rem;
    color: #1e2537;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

/* Animated underline effect for CTA */
.restomate-order-ordering-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

/* Hover states for CTA */
.restomate-order-ordering-cta:hover {
    color: var(--primary-color);
}

.restomate-order-ordering-cta:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .restomate-order-ordering-section {
        gap: 40px;
        padding: 60px 20px;
    }

    .restomate-order-ordering-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .restomate-order-ordering-section {
        flex-direction: column;
        text-align: center;
    }

    .restomate-order-ordering-image,
    .restomate-order-ordering-content {
        max-width: 100%;
    }

    .restomate-order-ordering-title {
        font-size: 1.75rem;
    }

    .restomate-order-ordering-description {
        font-size: 1rem;
    }
}



/* Container */
.restomate-order-pos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--captain-space-md);
}

.restomate-order-pos-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--captain-space-lg);
}

.restomate-order-pos-section-header {
    text-align: center;
    margin-bottom: var(--captain-space-xl);
}

.restomate-order-pos-section-badge {
    display: inline-block;
    background-color: var(--captain-primary-light);
    color: var(--captain-primary);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.restomate-order-pos-highlights-title {
    font-size: 2.5rem;
    margin-bottom: 0;
    color: var(--captain-dark);
    position: relative;
    display: inline-block;
}

.restomate-order-pos-text-accent {
    color: var(--captain-primary);
    position: relative;
}

.restomate-order-pos-text-accent::after {
    content: '';
    position: absolute;
    height: 8px;
    width: 100%;
    background-color: var(--captain-primary-light);
    bottom: 5px;
    left: 0;
    z-index: -1;
    border-radius: var(--captain-radius-sm);
}

/* Online Ordering Features Section */
.restomate-order-online-features {
    padding: var(--captain-space-xl) 0;
    background: linear-gradient(170deg, #f8f9fa 0%, var(--captain-light) 100%);
    position: relative;
}

.restomate-order-online-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--captain-primary), transparent);
    opacity: 0.2;
}

.restomate-order-online-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.restomate-order-online-item {
    background-color: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.restomate-order-online-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.1);
}

.restomate-order-online-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--captain-primary-light);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.restomate-order-online-item:hover .restomate-order-online-icon {
    background-color: var(--captain-primary);
}

.restomate-order-online-svg {
    width: 35px;
    height: 35px;
    stroke: var(--captain-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: all 0.3s ease;
}

.restomate-order-online-item:hover .restomate-order-online-svg {
    stroke: white;
}

.restomate-order-online-heading {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e2537;
    margin-bottom: 15px;
}

.restomate-order-online-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .restomate-order-online-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .restomate-order-pos-highlights-title {
        font-size: 2rem;
    }

    .restomate-order-online-item {
        padding: 20px;
    }

    .restomate-order-online-icon {
        width: 60px;
        height: 60px;
    }

    .restomate-order-online-svg {
        width: 30px;
        height: 30px;
    }

    .restomate-order-online-heading {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 576px) {
    .restomate-order-online-features {
        padding: 40px 0;
    }

    .restomate-order-online-item {
        padding: 15px;
    }
}

@media screen and (max-width: 375px) {
    .restomate-order-pos-highlights-title {
        font-size: 1.8rem;
    }

    .restomate-order-online-heading {
        font-size: 1.1rem;
    }

    .restomate-order-online-text {
        font-size: 0.9rem;
    }
}

/* CSS Variables - keeping original variable names */
:root {
    /* Colors */
    --captain-primary: #CB202D;
    --captain-secondary: #333333;
    --captain-dark: #333333;
    --captain-light: #ffffff;
    --captain-gray: #95A5A6;
    --captain-white: #FFFFFF;
    --captain-primary-light: rgba(203, 32, 45, 0.1);

    /* Typography */
    --captain-heading-font: 'Quicksand', sans-serif;
    --captain-body-font: 'Quicksand', sans-serif;

    /* Spacing */
    --captain-space-xs: 5px;
    --captain-space-sm: 10px;
    --captain-space-md: 20px;
    --captain-space-lg: 40px;
    --captain-space-xl: 80px;

    /* Border Radius */
    --captain-radius-sm: 8px;
    --captain-radius-md: 15px;
    --captain-radius-lg: 30px;

    /* Shadows */
    --captain-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --captain-shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --captain-transition: all 0.3s ease;
}


/* Container */
.restomate-order-pos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--captain-space-md);
}

/* restomate-order-pos-highlights.css */
.restomate-order-pos-highlights {
    padding: var(--captain-space-xl) 0;
    background: linear-gradient(170deg, var(--captain-light) 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.restomate-order-pos-highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--captain-primary), transparent);
    opacity: 0.2;
}

.restomate-order-pos-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--captain-space-lg);
}

.restomate-order-pos-section-header {
    text-align: center;
    margin-bottom: var(--captain-space-xl);
}

.restomate-order-pos-section-badge {
    display: inline-block;
    background-color: var(--captain-primary-light);
    color: var(--captain-primary);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.restomate-order-pos-highlights-title {
    font-size: 2.5rem;
    margin-bottom: 0;
    color: var(--captain-dark);
    position: relative;
    display: inline-block;
}

.restomate-order-pos-text-accent {
    color: var(--captain-primary);
    position: relative;
}

.restomate-order-pos-text-accent::after {
    content: '';
    position: absolute;
    height: 8px;
    width: 100%;
    background-color: var(--captain-primary-light);
    bottom: 5px;
    left: 0;
    z-index: -1;
    border-radius: var(--captain-radius-sm);
}

.restomate-order-pos-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* gap: var(--captain-space-xl); */
    max-width: 1400px;
    margin: 0 auto;
}

.restomate-order-pos-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: var(--captain-space-md);
    padding: var(--captain-space-md);
    transition: transform 0.3s ease;
    position: relative;
    border-radius: var(--captain-radius-md);
}

.restomate-order-pos-highlight-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.7);
}

.restomate-order-pos-highlight-item:hover .restomate-order-pos-highlight-icon {
    background-color: var(--captain-primary);
}

.restomate-order-pos-highlight-item:hover .restomate-order-pos-higlight-icon {
    stroke: white;
}

.restomate-order-pos-highlight-icon {
    width: 52px;
    height: 52px;
    background-color: var(--captain-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--captain-transition);
    flex-shrink: 0;
}

.restomate-order-pos-higlight-icon {
    width: 28px;
    height: 28px;
    stroke: var(--captain-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: var(--captain-transition);
}

.restomate-order-pos-highlight-content {
    flex-grow: 1;
}

.restomate-order-pos-highlight-heading {
    font-size: 1.125rem;
    color: var(--captain-dark);
    margin-bottom: var(--captain-space-sm);
    font-weight: 600;
    line-height: 1.3;
}

.restomate-order-pos-highlight-text {
    color: var(--captain-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Animation for icons on hover */
@keyframes iconPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.restomate-order-pos-highlight-item:hover .restomate-order-pos-highlight-icon {
    animation: iconPulse 0.5s ease;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Utility Classes */
.restomate-order-pos-text-center {
    text-align: center;
}

.restomate-order-pos-mt-1 {
    margin-top: var(--captain-space-sm);
}

.restomate-order-pos-mt-2 {
    margin-top: var(--captain-space-md);
}

.restomate-order-pos-mt-3 {
    margin-top: var(--captain-space-lg);
}

.restomate-order-pos-mt-4 {
    margin-top: var(--captain-space-xl);
}

.restomate-order-pos-mb-1 {
    margin-bottom: var(--captain-space-sm);
}

.restomate-order-pos-mb-2 {
    margin-bottom: var(--captain-space-md);
}

.restomate-order-pos-mb-3 {
    margin-bottom: var(--captain-space-lg);
}

.restomate-order-pos-mb-4 {
    margin-bottom: var(--captain-space-xl);
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .restomate-order-pos-highlights-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--captain-space-lg);
    }
}

@media screen and (max-width: 992px) {
    .restomate-order-pos-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .restomate-order-pos-highlight-item {
        padding: var(--captain-space-sm);
    }
}

@media screen and (max-width: 768px) {
    .restomate-order-pos-highlights-title {
        font-size: 2rem;
    }

    .restomate-order-pos-highlight-icon {
        width: 45px;
        height: 45px;
    }

    .restomate-order-pos-higlight-icon {
        width: 24px;
        height: 24px;
    }

    .restomate-order-pos-highlight-heading {
        font-size: 1.05rem;
    }
}

@media screen and (max-width: 576px) {
    .restomate-order-pos-highlights-grid {
        grid-template-columns: 1fr;
        /* gap: var(--captain-space-lg); */
    }

    .restomate-order-pos-highlights {
        padding: var(--captain-space-lg) 0;
    }

    .restomate-order-pos-highlight-item {
        gap: var(--captain-space-sm);
    }

    /* Hidden Elements */
    .restomate-order-pos-hidden-xs {
        display: none;
    }
}

@media screen and (max-width: 375px) {

    /* Extra small screen adjustments */
    .restomate-order-pos-highlights-title {
        font-size: 1.8rem;
    }

    .restomate-order-pos-highlight-heading {
        font-size: 1rem;
    }

    .restomate-order-pos-highlight-text {
        font-size: 0.9rem;
    }
}