/*
Theme Name: Partner One Connect
Theme URI: https://partneroneconnect.com
Author: AutoGenerated
Description: Custom theme for Partner One Connect T-Mobile partner business website.
Version: 1.0
*/
/*
 * Global styles and variables for the Partner One Connect website.
 * The design uses a modern blue and white palette with Montserrat and Open Sans
 * fonts. The layout is responsive across desktop, tablet and mobile
 * breakpoints. A shared navigation bar appears on every page with active
 * highlighting.
 */

/* CSS reset & base typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html, body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.5;
    background-color: #f7f9fc;
    color: #333;
    scroll-behavior: smooth;
}

/* Additional styling for enhanced aesthetics */
.hero {
    /* Subtle gradient background for hero sections */
    background: linear-gradient(135deg, #eef5ff 0%, #f7f9fc 100%);
    border-bottom: 1px solid #e0e6f0;
    padding-bottom: 3rem;
}

/* Alternate background colors for sections to create visual separation */
section:nth-of-type(odd) {
    background-color: #ffffff;
}

section:nth-of-type(even) {
    background-color: #f1f5fa;
}

/* Card styling improvements */
.card {
    border: 1px solid #e0e6f0;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Navigation adjustments */
.navbar {
    background-color: #ffffff;
}
.nav-links li a {
    color: #0c5db9;
}

/* Button gradient */
.btn-primary {
    background-image: linear-gradient(90deg, #0074d4 0%, #00a1e0 100%);
}
a {
    text-decoration: none;
    color: inherit;
}

/* Navigation */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}
.navbar .logo img {
    height: 40px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.nav-links li a {
    font-weight: 600;
    color: #1e3a8a;
    transition: color 0.3s ease;
}
.nav-links li a:hover,
.nav-links li a.active {
    color: #0074d4;
}

/* Mobile nav toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.menu-toggle span {
    width: 24px;
    height: 3px;
    background-color: #1e3a8a;
    margin: 4px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 64px;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        width: 200px;
        border-left: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
        display: none;
    }
    .nav-links.open {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
}

/* Hero section (used on home page) */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}
.hero-content {
    flex: 1 1 400px;
}
.hero-content h1 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #546e7a;
    max-width: 550px;
}
.btn-primary {
    background-color: #0074d4;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.btn-primary:hover {
    background-color: #005bb5;
}
.hero-image {
    flex: 1 1 400px;
    text-align: center;
    margin-top: 2rem;
}
.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Section headings */
section {
    padding: 3rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
section h2 {
    text-align: center;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 2rem;
}
section p.intro {
    text-align: center;
    color: #546e7a;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid layout for cards */
.grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 600px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card h3, .card h4 {
    color: #0074d4;
    margin-bottom: 0.5rem;
}
.card p {
    color: #546e7a;
    font-size: 0.95rem;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Lists for partner benefits */
.benefits-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    color: #546e7a;
}
.benefits-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}
.benefits-list li::before {
    content: '\2022';
    color: #0074d4;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* About page */
.about-image {
    max-width: 600px;
    margin: 2rem auto;
    display: block;
}

/* Contact form */
.contact-form {
    max-width: 600px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-form input,
.contact-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 1rem;
}
.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}
.contact-info {
    text-align: center;
    color: #546e7a;
}

/* News page */
.news-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.news-card-content {
    padding: 1.5rem;
}
.news-card-content h4 {
    color: #0074d4;
    margin-bottom: 0.5rem;
}
.news-card-content p {
    color: #546e7a;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #1e3a8a;
    color: #ffffff;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}