@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&family=Work+Sans:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root font sizes for fluid typography */
:root {
    --font-size-xs: clamp(0.75rem, 0.5vw + 0.65rem, 0.875rem);
    --font-size-sm: clamp(0.875rem, 0.5vw + 0.75rem, 1rem);
    --font-size-base: clamp(1rem, 0.75vw + 0.85rem, 1.125rem);
    --font-size-lg: clamp(1.125rem, 1vw + 0.95rem, 1.25rem);
    --font-size-xl: clamp(1.25rem, 1.5vw + 1rem, 1.5rem);
    --font-size-2xl: clamp(1.5rem, 2vw + 1.2rem, 2rem);
    --font-size-3xl: clamp(2rem, 3vw + 1.5rem, 2.5rem);
    --font-size-4xl: clamp(2.5rem, 4vw + 2rem, 3.5rem);
    
    --spacing-xs: clamp(0.25rem, 0.5vw + 0.15rem, 0.5rem);
    --spacing-sm: clamp(0.5rem, 1vw + 0.25rem, 0.75rem);
    --spacing-md: clamp(0.75rem, 1.5vw + 0.5rem, 1rem);
    --spacing-lg: clamp(1rem, 2vw + 0.75rem, 1.5rem);
    --spacing-xl: clamp(1.5rem, 3vw + 1rem, 2rem);
    --spacing-2xl: clamp(2rem, 4vw + 1.5rem, 3rem);
    --spacing-3xl: clamp(3rem, 5vw + 2rem, 4rem);
    --spacing-4xl: clamp(4rem, 6vw + 3rem, 6rem);
}

body {
    font-family: "Work Sans", sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
    font-size: var(--font-size-base);
}

.header {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23cceeee" width="1200" height="120" opacity="0.1"/><path d="M0,300 Q200,250 400,300 T800,300 Q1000,350 1200,300 L1200,400 L0,400 Z" fill="rgba(204,238,238,0.05)"/></svg>');
    background-size: cover;
    background-position: bottom;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
    width: 100%;
}

.nav-dgs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.nav-dgs h1 {
    font-family: Jost, serif;
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: white;
    letter-spacing: -0.025em;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.social-link {
    width: clamp(32px, 4vw, 36px);
    height: clamp(32px, 4vw, 36px);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    transition: all 0.2s ease;
}

.social-link:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    color: white;
}

.hero-section {
    padding: var(--spacing-3xl) 0 var(--spacing-4xl);
    text-align: left;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: "Work Sans", sans-serif;
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255,255,255,0.5);
}

.hero-badge {
    display: inline-block;
    background: #b12a3e;
    border: 1px solid rgba(197, 64, 64, 0.2);
    color: white;
    font-family: "Work Sans", sans-serif;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: Jost, serif;
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
    letter-spacing: -0.025em;
    max-width: 100%;
}

.hero-subtitle {
    font-family: "Work Sans", sans-serif;
    font-size: var(--font-size-lg);
    color: rgba(255,255,255,0.8);
    max-width: 100%;
    margin-bottom: var(--spacing-xl);
    line-height: 1.5;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    font-family: "Work Sans", sans-serif;
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.7);
    flex-wrap: wrap;
}

.main-content {
    max-width: 1000px;
    margin: calc(-1 * var(--spacing-3xl)) auto 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
    z-index: 10;
    width: calc(100% - 2 * var(--spacing-lg));
}

.article-content {
    padding: var(--spacing-2xl);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.tag {
    background: #f7fafc;
    color: #4a5568;
    font-family: "Work Sans", sans-serif;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 12px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.content-body {
    max-width: none;
}

.section {
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-family: Jost, serif;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: #1a202c;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.section p {
    font-family: "Work Sans", sans-serif;
    color: #4a5568;
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-base);
    line-height: 1.7;
}

.highlight-callout {
    background: linear-gradient(135deg, #cceeee 0%, #e6f7ff 100%);
    border-left: 4px solid #c41e3a;
    padding: var(--spacing-xl);
    margin: var(--spacing-2xl) 0;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.highlight-callout::before {
    content: '"';
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-lg);
    font-size: var(--font-size-3xl);
    color: #c41e3a;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.highlight-callout p {
    font-family: "Work Sans", sans-serif;
    margin: 0;
    font-size: var(--font-size-base);
    font-weight: 500;
    color: #2d3748;
    padding-left: var(--spacing-md);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-2xl) 0;
}

.card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: var(--spacing-xl);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #c41e3a 0%, #cceeee 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.card:hover {
    border-color: #c41e3a;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.card:hover::before {
    opacity: 1;
}

.card-title {
    font-family: Jost, serif;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: #1a202c;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.card-content {
    font-family: "Work Sans", sans-serif;
    color: #4a5568;
    line-height: 1.6;
    font-size: var(--font-size-base);
}

.services-section {
    background: #f8fafc;
    margin: var(--spacing-2xl) calc(-1 * var(--spacing-xl));
    padding: var(--spacing-2xl);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.service-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: var(--spacing-xl);
    height: 100%;
    transition: all 0.2s ease;
}

.service-card:hover {
    border-color: #c41e3a;
    box-shadow: 0 10px 15px -3px rgba(196, 30, 58, 0.1), 0 4px 6px -2px rgba(196, 30, 58, 0.05);
}

.service-card .card-title {
    font-family: Jost, serif;
}

.service-card .card-content {
    font-family: "Work Sans", sans-serif;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
    justify-content: center;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.benefit-icon {
    width: 20px;
    height: 20px;
    background: #c41e3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.benefit-icon::after {
    content: '✓';
    color: white;
    font-size: var(--font-size-xs);
    font-weight: bold;
}

.benefit-text {
    font-family: "Work Sans", sans-serif;
    color: #4a5568;
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.image-container {
    margin: var(--spacing-2xl) 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: clamp(200px, 40vw, 400px);
    object-fit: cover;
    background: linear-gradient(45deg, #cceeee, #e2e8f0);
}

.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    margin: var(--spacing-2xl) calc(-1 * var(--spacing-xl)) 0;
    padding: var(--spacing-2xl);
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.contact-title {
    font-family: Jost, serif;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: #1a202c;
    margin-bottom: var(--spacing-md);
}

.contact-subtitle {
    font-family: "Work Sans", sans-serif;
    font-size: var(--font-size-base);
    color: #4a5568;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #2d3748;
    min-width: 280px;
    flex: 1;
    max-width: 350px;
}

.contact-item:hover {
    border-color: #c41e3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.15);
    color: #2d3748;
}

.contact-icon {
    width: 20px;
    height: 20px;
    background: #c41e3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: var(--font-size-xs);
}

.contact-text {
    font-family: "Work Sans", sans-serif;
    text-align: left;
}

.contact-label {
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: #1a202c;
    display: block;
}

.contact-value {
    font-size: var(--font-size-sm);
    color: #4a5568;
}

.cta-section {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: var(--spacing-3xl) var(--spacing-2xl);
    text-align: center;
    margin: 0 calc(-1 * var(--spacing-xl)) calc(-1 * var(--spacing-2xl));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><path d="M0,100 Q250,50 500,100 T1000,100 L1000,300 L0,300 Z" fill="rgba(204,238,238,0.05)"/></svg>');
    background-size: cover;
    background-position: top;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: Jost, serif;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.cta-text {
    font-family: "Work Sans", sans-serif;
    font-size: var(--font-size-base);
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: #c41e3a;
    color: white;
    font-family: Jost, serif;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease;
    border: 2px solid #c41e3a;
    font-size: var(--font-size-base);
}

.cta-button:hover {
    background: transparent;
    color: #c41e3a;
    border-color: #c41e3a;
    background: white;
}

.share-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid #e2e8f0;
    margin-top: var(--spacing-2xl);
    flex-wrap: wrap;
}

.share-text {
    font-family: Jost, serif;
    font-weight: 600;
    color: #4a5568;
    font-size: var(--font-size-base);
}

.share-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.share-button {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.share-button.twitter {
    background: #1da1f2;
    color: white;
}

.share-button.facebook {
    background: #1877f2;
    color: white;
}

.share-button.linkedin {
    background: #0077b5;
    color: white;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}



/* Additional heading styles for consistency */
h1, h2, h3, h4, h5, h6 {
    font-family: Jost, serif;
}

/* Ensure all paragraphs and body text use Work Sans */
p, span, div, li, td, th {
    font-family: "Work Sans", sans-serif;
}
.bottom-bar .staunch-info{margin-top:25px;}
/* Mobile-first responsive breakpoints */
@media (max-width: 480px) {
    :root {
        --font-size-xs: 0.75rem;
        --font-size-sm: 0.875rem;
        --font-size-base: 1rem;
        --font-size-lg: 1.125rem;
        --font-size-xl: 1.25rem;
        --font-size-2xl: 1.5rem;
        --font-size-3xl: 1.875rem;
        --font-size-4xl: 2.25rem;
        
        --spacing-xs: 0.25rem;
        --spacing-sm: 0.5rem;
        --spacing-md: 0.75rem;
        --spacing-lg: 1rem;
        --spacing-xl: 1.25rem;
        --spacing-2xl: 1.5rem;
        --spacing-3xl: 2rem;
        --spacing-4xl: 2.5rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .main-content {
        width: calc(100% - 2 * var(--spacing-md));
        margin: calc(-1 * var(--spacing-2xl)) auto 0;
    }
    
    .article-content {
        padding: var(--spacing-lg);
    }
    
    .nav-dgs {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-lg);
    }
    
    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .services-section,
    .cta-section,
    .contact-section {
        margin-left: calc(-1 * var(--spacing-lg));
        margin-right: calc(-1 * var(--spacing-lg));
        padding: var(--spacing-lg);
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        width: 100%;
        min-width: unset;
        max-width: unset;
    }
    
    .share-section {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .sidebarOpen {
        display: block;
    }
    
    .menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        transition: left 0.3s ease;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        z-index: 1000;
    }
    
    .menu.active {
        left: 0;
    }
    
    .logo-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--spacing-md) var(--spacing-lg);
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .siderbarClose {
        display: block;
        font-size: var(--font-size-xl);
        cursor: pointer;
    }
    
   
   
    


    .hero-section {
        padding: var(--spacing-xl) 0 var(--spacing-2xl);
    }
    
    .grid-container {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        --font-size-4xl: 3rem;
        --font-size-3xl: 2.25rem;
        --font-size-2xl: 1.75rem;
    }
    
    .hero-title {
        max-width: 90%;
    }
    
    .hero-subtitle {
        max-width: 85%;
    }
    
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
    
    .main-content {
        width: calc(100% - 2 * var(--spacing-xl));
    }
}

@media (min-width: 1201px) {
    .hero-title {
        max-width: 800px;
    }
    
    .hero-subtitle {
        max-width: 600px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .image-container img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .header,
    .social-links,
    .share-section,
    .cta-section {
        display: none;
    }
    
    .main-content {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 16pt;
        margin-bottom: 10pt;
    }
    
    .card {
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}

/* Focus styles for accessibility */

.contact-item:focus,
.cta-button:focus,
.share-button:focus,
.social-link:focus {
    outline: 2px solid #c41e3a;
    outline-offset: 2px;
}

/* Hover states for touch devices */
@media (hover: none) and (pointer: coarse) {
    .card:hover,
    .service-card:hover,
    .contact-item:hover,
    .share-button:hover {
        transform: none;
    }
}
.download-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #c41e3a;
    border-radius: 0 8px 8px 0;
    padding: var(--spacing-lg) var(--spacing-xl);
    margin-top: var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.download-info {
    flex: 1;
    min-width: 250px;
}

.download-title {
    font-family: Jost, serif;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: #1a202c;
    margin-bottom: var(--spacing-xs);
}

.download-meta {
    font-family: "Work Sans", sans-serif;
    font-size: var(--font-size-sm);
    color: #4a5568;
    margin: 0;
}
