/* ===================================
   REWE India Contact Page Styles
   =================================== */

/* CSS Variables */
:root {
    --primary-navy: #0f1f2e;
    --primary-red: #E31E24;
    --dark-navy: #0a1520;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #999999;
    --border-color: #e0e0e0;
}

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

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

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

/* Header Styles */
.header {
    background-color: var(--primary-navy);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

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

.btn-primary:hover {
    background-color: #c71a1f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

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

/* Hero Section */
.hero-section {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-navy);
}

.form-description,
.info-description {
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 14px;
}

.required {
    color: var(--primary-red);
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

.btn-submit {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 15px 30px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #c71a1f;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(227, 30, 36, 0.4);
}

/* Contact Cards */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    stroke: var(--white);
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-navy);
}

.contact-details p {
    color: var(--text-gray);
    margin: 3px 0;
}

.contact-details .small-text {
    font-size: 14px;
    color: var(--text-light);
}

/* Process Box */
.process-box {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.process-box h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.process-list {
    list-style: none;
    counter-reset: process-counter;
}

.process-list li {
    counter-increment: process-counter;
    margin-bottom: 12px;
    padding-left: 35px;
    position: relative;
    line-height: 1.6;
}

.process-list li::before {
    content: counter(process-counter) ".";
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: 700;
    font-size: 18px;
}

/* Why Partner Section */
.why-partner-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.why-partner-section h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--primary-navy);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.partner-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.partner-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-navy);
}

.partner-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 15px;
}

.cta-tagline {
    font-size: 24px;
    font-weight: 700;
    margin-top: 30px;
    letter-spacing: 2px;
}

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

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

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact svg {
    stroke: var(--primary-red);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 40px;
    }

    .partner-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

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

    .mobile-menu-toggle {
        display: flex;
    }

    .nav.active {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--primary-navy);
        padding: 20px;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
    }

    .hero-section h1 {
        font-size: 36px;
    }

    .hero-section p {
        font-size: 18px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .why-partner-section h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 50px 0;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .contact-section {
        padding: 50px 0;
    }

    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 24px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-submit {
        padding: 12px 20px;
        font-size: 16px;
    }
}
