* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f4;
    line-height: 1.6;
    color: #333;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

.top-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    gap: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background-color: #b00000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: gold;
    font-weight: bold;
    font-size: 18px;
    margin-right: 10px;
}

.logo-text {
    border-left: 1px solid #b00000;
    padding-left: 10px;
    line-height: 1.2;
    font-weight: bold;
}

.right-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.network-btn {
    background-color: #b00000;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.network-btn:hover {
    background-color: #8b0000;
}

.auth-links {
    display: flex;
    gap: 15px;
}

.auth-links a {
    text-decoration: none;
    color: black;
    font-size: 14px;
    white-space: nowrap;
}

.auth-links a:hover {
    color: #b00000;
}

/* Section 2: Navigation */
.nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    border-top: 1px solid #eee;
    padding: 15px 40px;
    overflow-x: auto;
    background-color: #fff;
    position: relative;
}

.nav-bar a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s ease;
    position: relative;
}

.nav-bar a:hover {
    color: #b00000;
}

.nav-bar a.active {
    color: #b00000;
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown::after {
    content: " ▼";
    font-size: 10px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 150px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-weight: normal;
    white-space: nowrap;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: #f8f8f8;
    color: #b00000;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* Company Header Styling */
.company-header {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #b00000;
    padding: 25px 20px;
    background-color: #f8f8f8;
    margin: 10px 0;
    text-transform: uppercase;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-bar {
        gap: 20px;
        padding: 15px 20px;
    }
}

@media (max-width: 992px) {
    .top-header {
        padding: 10px 20px;
    }

    .nav-bar {
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .company-header {
        font-size: 24px;
        padding: 20px 15px;
    }
}

@media (max-width: 768px) {
    .top-header {
        padding: 10px 15px;
    }

    .logo-circle {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }

    .logo-text {
        font-size: 14px;
    }

    .network-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .right-actions {
        gap: 15px;
    }

    .nav-bar {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #eee;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 20px;
        gap: 15px;
    }

    .nav-bar.show {
        display: flex;
    }

    .nav-bar a {
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: #f8f8f8;
        margin-top: 10px;
        border-radius: 0;
    }

    .dropdown-menu a {
        padding: 8px 20px;
        font-size: 14px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-container {
        position: relative;
    }

    .company-header {
        font-size: 20px;
        padding: 15px 10px;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .top-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .logo-container {
        justify-content: center;
    }

    .right-actions {
        justify-content: center;
        gap: 10px;
    }

    .auth-links {
        gap: 10px;
    }

    .network-btn {
        flex: 1;
        max-width: 200px;
    }

    .company-header {
        font-size: 18px;
        padding: 12px 8px;
        letter-spacing: 0.5px;
    }
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Hidden preheader text */
.hidden-preheader {
    display: none;
    font-size: 1px;
    line-height: 1px;
    max-height: 0;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
}

/* Main email wrapper */
.email-wrapper {
    background-color: #f5f5f5;
    padding: 25px 0;
    min-height: 100vh;
}

.email-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo section */
.logo-section {
    background: linear-gradient(135deg, #c0c0c0 0%, #d9d9d9 100%);
    background-color: #afadad;
    padding: 20px;
}

.logo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 86%;
    margin: 0 auto;
}

.logo img {
    width: 100px;
    height: auto;
}

.date {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    color: black;
    text-align: right;
    font-weight: bold;
}

/* Header section with gradient */
.header-section {
    background: linear-gradient(135deg, #c0c0c0 0%, #d9d9d9 100%);
    background-color: #c0c0c0;
    padding: 40px 0;
    text-align: center;
}

.header-content {
    max-width: 86%;
    margin: 0 auto;
}

.main-title {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: black;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    text-align: right;
}

.subtitle {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: white;
    margin-bottom: 25px;
}

.cta-button {
    margin-top: 20px;
}

.btn-primary {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    color: #0055b3;
    background-color: #ffffff;
    padding: 12px 25px;
    border-radius: 4px;
    border: 1px solid #ffffff;
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #f0f0f0;
}

/* Promotion section */
.promotion-section {
    background-color: #ffffff;
    padding: 15px 20px 20px 20px;
    text-align: center;
}

.promotion-content {
    max-width: 540px;
    margin: 0 auto;
}

.video-thumbnail img,
.custom-image img {
    width: 100%;
    max-width: 540px;
    height: auto;
    margin-bottom: 20px;
}

.promotion-title {
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
}

.promotion-description {
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #666666;
}

/* Categories section */
.categories-section {
    background-color: #ffffff;
}

.category-grid {
    display: flex;
    gap: 10px;
    padding: 0 5px;
}

.category-card {
    flex: 1;
    max-width: 300px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
}

.category-header {
    background-color: #cc0000;
    color: white;
    padding: 10px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-align: center;
}

.category-image {
    text-align: center;
}

.category-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.category-content {
    padding: 15px;
    text-align: center;
}

.category-title {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 5px;
}

.category-description {
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #666666;
    margin-bottom: 10px;
}

.read-more {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #666666;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* Footer section */
.footer-section {
    background-color: #333333;
    padding: 20px;
    color: #ffffff;
    text-align: center;
}

.footer-content {
    max-width: 100%;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    gap: 10px;
}

.footer-logo {
    width: 85px;
    height: auto;
}

.company-name {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
}

/* Social media icons */
.social-media {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    text-decoration: none;
}

.social-icon img {
    width: 16px;
    height: 16px;
}

/* Contact info */
.contact-info {
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 15px;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info p {
    margin: 0 0 5px 0;
}

/* Footer links */
.footer-links {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #ffffff;
    padding-top: 15px;
    border-top: 1px solid #555;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    padding: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.separator {
    color: #ffffff;
    padding: 0 5px;
}

/* Tracking pixel */
.tracking-pixel {
    width: 1px;
    height: 1px;
    display: none;
}

/* Responsive design */
@media screen and (max-width: 600px) {
    .email-container {
        margin: 0 10px;
        max-width: calc(100% - 20px);
    }

    .logo-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .main-title {
        font-size: 24px;
    }

    .subtitle {
        font-size: 16px;
    }

    .category-grid {
        flex-direction: column;
        gap: 15px;
    }

    .category-card {
        max-width: 100%;
    }

    .footer-brand {
        flex-direction: column;
        gap: 5px;
    }

    .social-media {
        flex-wrap: wrap;
    }

    .contact-info {
        font-size: 11px;
    }

    .footer-links {
        font-size: 11px;
    }

    .footer-links a {
        padding: 0 5px;
    }

    .date {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    color: black;
    text-align: center;
    font-weight: bold;
    }

    .logo-section {
        background: linear-gradient(135deg, #c0c0c0 0%, #d9d9d9 100%);
        background-color: #afadad;
        padding: 2px;
    }

    .logo-content {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        align-items: center;
        max-width: 86%;
        margin: 0 auto;
    }

    .logo img {
        width: 100px;
        height: auto;
    }

    .main-title {
        font-family: 'Segoe UI', Arial, sans-serif;
        font-size: 15px;
        font-weight: bold;
        color: black;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        margin-bottom: 15px;
        text-align: right;
    }
    
      .company-header {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #b00000;
    /* padding: 25px 20px; */
    background-color: #f8f8f8;
    margin:0;
    text-transform: uppercase;
}

}

/* Email client specific fixes */
@media screen and (max-width: 480px) {
    .header-content,
    .logo-content {
        max-width: 95%;
    }

    .promotion-section {
        padding: 20px 15px 15px 15px;
    }

    .category-grid {
        padding: 0 10px;
    }

    .date {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    color: black;
    text-align:center;
    font-weight: bold;
}

    .logo-section {
        background: linear-gradient(135deg, #c0c0c0 0%, #d9d9d9 100%);
        background-color: #afadad;
        padding: 2px;
    }

    .logo-content {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        align-items: center;
        max-width: 86%;
        margin: 0 auto;
    }

    .logo img {
        width: 100px;
        height: auto;
    }

    .main-title {
        font-family: 'Segoe UI', Arial, sans-serif;
        font-size: 15px;
        font-weight: bold;
        color: black;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        margin-bottom: 15px;
        text-align: right;
    }

    .company-header {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #b00000;
    /* padding: 25px 20px; */
    background-color: #f8f8f8;
    margin:0;
    text-transform: uppercase;
}

}
