/* Global Styles */
:root {
    --primary-color: #ff5a00;
    --primary-dark: #e24d00;
    --primary-light: #ff7a33;
    --secondary-color: #1e3a8a;
    --secondary-dark: #152a66;
    --secondary-light: #2a4eb0;
    --accent-color: #ffc107;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #eaeaea;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --border-color: #dee2e6;
    --border-radius: 5px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --heading-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 5rem 0;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: white;
}

.btn-tertiary {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.btn-tertiary:hover {
    background-color: var(--bg-dark);
    color: var(--text-color);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container {
    padding-left: 2rem;
}

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

#main-nav ul {
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

#main-nav li {
    margin-left: 1.5rem;
}

#main-nav a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

#main-nav a:hover,
#main-nav a.active {
    color: var(--primary-color);
}

#main-nav a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
}

.order-btn a {
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    background-color: var(--primary-color);
    color: white !important;
}

.order-btn a:hover {
    background-color: var(--primary-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 2rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin-bottom: 5px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(255, 90, 0, 0.95), rgba(255, 122, 51, 0.9)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    max-width: 90%;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    transform: rotate(-5deg);
    z-index: 0;
}

/* Intro Story Section */
.intro-story {
    background-color: var(--bg-light);
    text-align: center;
    padding: 4rem 0;
}

.intro-story h2 {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.intro-story h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.intro-story p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Featured Items Section */
.featured-items {
    padding: 5rem 0;
}

.featured-items h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.featured-items h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background-color: white;
}

.item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

.item h3 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.3rem;
}

.item p {
    padding: 0 1rem 1.5rem;
    color: var(--text-light);
}

/* App Promo Section */
.app-promo {
    background-color: var(--secondary-color);
    color: white;
    padding: 5rem 0;
}

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

.app-content {
    flex: 1;
    padding-right: 2rem;
}

.app-content h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.app-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.app-buttons {
    display: flex;
    gap: 1rem;
}

.app-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: var(--secondary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.app-button:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.app-button i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.app-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.app-image img {
    max-width: 80%;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Latest Blog Section */
.latest-blog {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.latest-blog h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.latest-blog h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.blog-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

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

.blog-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.3rem;
}

.blog-card p {
    padding: 0 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.read-more {
    display: block;
    padding: 0 1.5rem 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.read-more i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

.view-all {
    text-align: center;
    margin-top: 2rem;
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
    color: white;
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #cccccc;
    font-size: 0.9rem;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.footer-links ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.footer-links a {
    color: #cccccc;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    color: #cccccc;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 18px;
    height: 18px;
    fill: white;
    transition: var(--transition);
}

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

.social-icons a:hover {
    background-color: var(--primary-color);
}

.social-icons a:hover .social-icon {
    fill: white;
}

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

.footer-legal {
    margin-bottom: 1rem;
}

.footer-legal a {
    color: #cccccc;
    margin: 0 0.5rem;
    position: relative;
}

.footer-legal a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -0.8rem;
}

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

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem 0;
    z-index: 9999;
    display: none;
}

.cookie-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 1rem;
    max-width: 800px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.cookie-link {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.cookie-link:hover {
    text-decoration: underline;
    color: var(--accent-color);
}

/* Blog Page Styles */
.blog-hero {
    background: linear-gradient(to right, rgba(30, 58, 138, 0.95), rgba(42, 78, 176, 0.9)), url('images/7.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.blog-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.blog-content {
    padding: 5rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.blog-info {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.blog-date, .blog-category {
    display: flex;
    align-items: center;
}

.blog-info i {
    margin-right: 0.5rem;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* Blog Post Styles */
.blog-post {
    padding: 5rem 0;
}

.post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.post-date, .post-category, .post-author {
    display: flex;
    align-items: center;
}

.post-meta i {
    margin-right: 0.5rem;
}

.post-featured-image {
    margin-bottom: 2rem;
}

.post-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content ul {
    list-style-type: disc;
}

.post-content ol {
    list-style-type: decimal;
}

.post-tip, .post-quote {
    margin: 2.5rem 0;
    padding: 1.5rem;
    border-radius: 10px;
}

.post-tip {
    background-color: rgba(23, 162, 184, 0.1);
    border-left: 4px solid var(--info-color);
}

.post-tip h3 {
    color: var(--info-color);
    display: flex;
    align-items: center;
    margin-top: 0;
}

.post-tip i {
    margin-right: 0.5rem;
}

.post-quote {
    background-color: rgba(30, 58, 138, 0.05);
    border-left: 4px solid var(--secondary-color);
}

.post-quote blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.quote-author {
    text-align: right;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0;
}

.recipe-card, .pairing-table, .heat-meter, .time-block, .timeline, .stat-comparison, .flavor-comparison, .occasion-pairings, .benefits-grid, .pd-digital-features, .cta-box {
    margin: 2.5rem 0;
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.recipe-card h3 {
    margin-top: 0;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.recipe-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.recipe-details span {
    display: flex;
    align-items: center;
}

.recipe-details i {
    margin-right: 0.5rem;
}

.recipe-card h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.pairing-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pairing-row:last-child {
    border-bottom: none;
}

.pizza-type h3, .drink-match h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.pizza-type p, .drink-match p {
    margin-bottom: 0;
    color: var(--text-light);
}

.heat-meter {
    padding: 1rem;
}

.heat-level {
    background-color: var(--primary-color);
    height: 30px;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 1rem;
}

.heat-level span {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.time-block {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
}

.time-stamp {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    height: fit-content;
}

.time-content h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.time-content p {
    margin-bottom: 0;
}

.timeline {
    position: relative;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
}

.timeline-date {
    width: 20%;
    text-align: right;
    padding-right: 2rem;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.timeline-content {
    width: 70%;
    padding-left: 2rem;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
    left: -9px;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-content h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    margin-bottom: 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.flavor-comparison h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.occasion {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.occasion h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.occasion p {
    margin-bottom: 0.5rem;
}

.occasion p:last-child {
    margin-bottom: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.benefit-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card h4 {
    margin-bottom: 0.5rem;
}

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

.pd-digital-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.digital-feature {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.digital-feature h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.digital-feature p {
    margin-bottom: 0;
}

.cta-box {
    text-align: center;
    background-color: var(--primary-light);
    color: white;
}

.cta-box h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.post-nav-prev a, .post-nav-next a {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
}

.post-nav-prev a:hover, .post-nav-next a:hover {
    color: var(--primary-color);
}

.post-nav-prev i {
    margin-right: 0.5rem;
}

.post-nav-next i {
    margin-left: 0.5rem;
}

.post-share {
    margin: 2rem 0;
    text-align: center;
}

.post-share h3 {
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.share-buttons a {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    transition: var(--transition);
}

.share-buttons a i {
    margin-right: 0.5rem;
}

.share-facebook {
    background-color: #3b5998;
}

.share-twitter {
    background-color: #1da1f2;
}

.share-pinterest {
    background-color: #bd081c;
}

.share-email {
    background-color: #7d7d7d;
}

.share-buttons a:hover {
    opacity: 0.9;
    color: white;
}

.related-posts {
    margin: 3rem 0;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.related-posts h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

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

.related-card h4 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.1rem;
}

.related-card a {
    display: block;
    padding: 0 1rem 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(to right, rgba(30, 58, 138, 0.95), rgba(42, 78, 176, 0.9)), url('images/11.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.about-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.our-story {
    padding: 5rem 0;
}

.our-story .container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.story-content h2 {
    margin-bottom: 2rem;
    position: relative;
}

.story-content h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.story-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-image {
    position: relative;
}

.story-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.image-caption {
    font-style: italic;
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
}

.our-values {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.our-values h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.our-values h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    margin-bottom: 1rem;
}

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

.team-section {
    padding: 5rem 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2.5rem;
}

.team-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

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

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

.team-card h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
    padding: 0 1rem;
}

.team-card p {
    padding: 0 1rem;
    margin-bottom: 0.5rem;
}

.team-card p:nth-of-type(1) {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0 1.5rem;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--bg-light);
    border-radius: 50%;
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--primary-color);
}

.team-social a:hover .social-icon {
    fill: white;
}

.milestones {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.milestones h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.milestones h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.join-team {
    padding: 5rem 0;
}

.join-team .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.join-content h2 {
    margin-bottom: 1.5rem;
    position: relative;
}

.join-content h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.join-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.join-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(to right, rgba(255, 90, 0, 0.95), rgba(255, 122, 51, 0.9)), url('images/13.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.contact-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-card h3 {
    margin-bottom: 1rem;
}

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

.info-card p:last-of-type {
    margin-bottom: 1.5rem;
}

.info-card a {
    color: var(--primary-color);
}

.hours {
    font-size: 0.9rem;
    color: var(--text-lighter) !important;
}

.contact-form-section {
    padding: 5rem 0;
}

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

.form-container h2, .map-container h2 {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-container h2::after, .map-container h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
}

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

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

.map {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
}

.map img {
    width: 100%;
    height: auto;
    display: block;
}

.location-details {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
}

.location-details h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.location-details p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.location-details i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.faq-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

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

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-answer p {
    margin-bottom: 0;
}

.connect-section {
    padding: 5rem 0;
    text-align: center;
}

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

.connect-section p {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 10px;
    color: white;
    transition: var(--transition);
}

.social-card:hover {
    transform: translateY(-5px);
    color: white;
}

.social-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.social-card span {
    font-weight: 600;
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

.instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.linkedin {
    background-color: #0077b5;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: slideIn 0.3s;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-lighter);
}

.close-modal:hover {
    color: var(--text-color);
}

.modal-content i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.modal-content h2 {
    margin-bottom: 1rem;
}

.modal-content p {
    margin-bottom: 2rem;
}

.close-btn {
    display: inline-block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Typewriter Effect */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color) }
}

#typewriter {
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.15rem;
    animation: 
        typing 3.5s steps(40, end),
        blink-caret 0.75s step-end infinite;
    animation-fill-mode: forwards;
}

/* Media Queries */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .blog-hero h1, .about-hero h1, .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .post-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    section {
        padding: 4rem 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 5rem 0;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .app-promo .container {
        flex-direction: column;
        text-align: center;
    }
    
    .app-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .our-story .container {
        grid-template-columns: 1fr;
    }
    
    .story-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .story-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .story-content {
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        margin-top: 3rem;
    }
    
    .join-team .container {
        grid-template-columns: 1fr;
    }
    
    .join-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .join-content {
        text-align: center;
    }
    
    .join-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .pd-digital-features {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-date {
        width: 100%;
        text-align: left;
        padding-right: 0;
        padding-left: 2rem;
        margin-bottom: 1rem;
    }
    
    .timeline-content {
        width: 100%;
        padding-left: 2rem;
    }
    
    .timeline-content::before {
        left: -9px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    .logo-container {
        padding-left: 0;
    }
    
    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
        z-index: 1001;
        padding-top: 80px;
    }
    
    #main-nav.active {
        right: 0;
    }
    
    #main-nav ul {
        flex-direction: column;
        margin-right: 0;
    }
    
    #main-nav li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    #main-nav a {
        display: block;
        padding: 1rem 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1002;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero h1, .blog-hero h1, .about-hero h1, .contact-hero h1 {
        font-size: 2rem;
    }
    
    .hero p, .blog-hero p, .about-hero p, .contact-hero p {
        font-size: 1rem;
    }
    
    .item-grid, .blog-preview, .blog-grid, .values-grid, .team-grid, .info-grid {
        grid-template-columns: 1fr;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h3::after, .footer-contact h3::after, .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links ul {
        grid-template-columns: 1fr;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .pairing-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-buttons, .share-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .post-nav-prev, .post-nav-next {
        width: 100%;
    }
    
    .post-nav-next {
        text-align: left;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .modal-content {
        width: 90%;
        padding: 1.5rem;
    }
}
