/* ========================================
   United States Food Delivery Research Group
   Corporate Research Style CSS
   ======================================== */

/* CSS Variables */
:root {
    --primary-navy: #1a2a4a;
    --secondary-navy: #2c3e5a;
    --light-grey: #f5f6f8;
    --steel-grey: #e8eaed;
    --muted-orange: #d4854a;
    --accent-orange: #e6975a;
    --white: #ffffff;
    --text-dark: #333333;
    --text-medium: #555555;
    --text-light: #777777;
    --border-color: #dde1e6;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    color: var(--primary-navy);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

a {
    color: var(--muted-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-orange);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-light);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--muted-orange);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--muted-orange);
    background-color: var(--light-grey);
}

.nav-menu a.active {
    color: var(--muted-orange);
    background-color: rgba(212, 133, 74, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-navy);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 133, 74, 0.2);
    border: 1px solid var(--muted-orange);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--accent-orange);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-badge svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Page Hero (Internal Pages) */
.page-hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   SECTIONS
   ======================================== */
section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--light-grey);
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--muted-orange), var(--accent-orange));
    margin: 20px auto;
    border-radius: 2px;
}

/* ========================================
   CARDS & COMPONENTS
   ======================================== */

/* Info Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--light-grey), var(--steel-grey));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.info-card-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--muted-orange);
}

.info-card h3 {
    margin-bottom: 12px;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    position: relative;
    border: 1px solid var(--border-color);
}

.process-step::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid var(--muted-orange);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.process-step:last-child::after {
    display: none;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--muted-orange);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 15px;
}

.process-step h4 {
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--muted-orange);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Content Blocks */
.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.content-block.reverse {
    direction: rtl;
}

.content-block.reverse > * {
    direction: ltr;
}

.content-block-text h3 {
    margin-bottom: 15px;
}

.content-block-text p {
    color: var(--text-light);
}

.content-block-image {
    background: var(--light-grey);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.content-block-image svg {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* FAQ Accordion */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--light-grey);
}

.faq-question h4 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--primary-navy);
}

.faq-icon {
    width: 24px;
    height: 24px;
    fill: var(--muted-orange);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ========================================
   TABLES
   ======================================== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
}

.data-table th,
.data-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--primary-navy);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: var(--light-grey);
}

/* ========================================
   FORMS
   ======================================== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-navy);
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--muted-orange);
    box-shadow: 0 0 0 3px rgba(212, 133, 74, 0.1);
}

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

.form-submit {
    background: linear-gradient(135deg, var(--muted-orange), var(--accent-orange));
    color: var(--white);
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 133, 74, 0.4);
}

/* ========================================
   CONTACT INFO
   ======================================== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--light-grey);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--muted-orange);
}

.contact-info-text h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-info-text p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
    margin-bottom: 20px;
    color: var(--text-medium);
}

.legal-content ul,
.legal-content ol {
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-update {
    background: var(--light-grey);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   DISCLAIMER BANNER
   ======================================== */
.disclaimer-banner {
    background: var(--light-grey);
    border-left: 4px solid var(--muted-orange);
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.disclaimer-banner p {
    margin-bottom: 0;
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--muted-orange);
}

.footer-disclaimer {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-legal-links {
    display: flex;
    gap: 25px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-legal-links a:hover {
    color: var(--muted-orange);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .content-block {
        grid-template-columns: 1fr;
    }
    
    .content-block.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .header-container {
        padding: 0 1rem;
        height: 70px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px var(--shadow-medium);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .process-timeline {
        flex-direction: column;
    }
    
    .process-step::after {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.hidden { display: none; }
.visible { display: block; }

/* Breadcrumb */
.breadcrumb {
    background: var(--light-grey);
    padding: 15px 0;
    font-size: 0.9rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
}

.breadcrumb-list li::after {
    content: '/';
    margin-left: 10px;
    color: var(--text-light);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: var(--text-light);
}

.breadcrumb-list a:hover {
    color: var(--muted-orange);
}

.breadcrumb-list li:last-child {
    color: var(--primary-navy);
    font-weight: 500;
}

/* Alert Box */
.alert-box {
    background: rgba(212, 133, 74, 0.1);
    border: 1px solid var(--muted-orange);
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.alert-box svg {
    width: 24px;
    height: 24px;
    fill: var(--muted-orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-box p {
    margin-bottom: 0;
    color: var(--text-medium);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: var(--white);
    padding: 40px;
    border-radius: 12px;
    margin: 40px 0;
}

.highlight-box h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

/* Icon List */
.icon-list {
    list-style: none;
    padding: 0;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: var(--light-grey);
    border-radius: 8px;
}

.icon-list-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-list-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--muted-orange);
}

.icon-list-text {
    flex: 1;
}

.icon-list-text h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.icon-list-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}