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

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000000;
    color: #ffffff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
    font-size: 16px;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Grid System - 12 columns with 24px gutters */
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

/* Column spans */
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }

/* Responsive column spans */


/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #333333;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 140px;
}

.btn-primary {
    background-color: #000000;
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #333333;
    transform: translateY(-2px);
    outline: 2px solid #000000;
    outline-offset: 2px;
}

.btn-secondary {
    background-color: transparent;
    color: #000000;
    border: 2px solid #000000;
}

.btn-secondary:hover {
    background-color: #000000;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: relative;
    background-color: #000000;
    z-index: 1000;
    border-bottom: 1px solid #333333;
    height: 80px;
}

.nav .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 32px;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 20px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #cccccc;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}


.hero .container {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 24px;
    align-items: center;
    min-height: 400px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #000000;
    line-height: 1.1;
    white-space: normal;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.hero-title span {
    word-break: keep-all;
    white-space: nowrap;
}

/* Ensure text content is vertically centered */
.col-6:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: #333333;
    margin-bottom: 2rem;
    line-height: 1.3;
    white-space: normal;
    display: flex;
    flex-direction: column;
}

.hero-description {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    min-height: 400px;
    overflow: visible;
    align-self: stretch;
}

.hero-visual {
    align-items: flex-start;
    height: auto;
    min-height: auto;
    align-self: flex-start;
    justify-content: flex-end;
    margin-right: -120px;
    overflow: visible;
}

.hero-visual-img {
    width: 600px;
    height: 400px;
    object-fit: contain;
    opacity: 0.9;
    margin-left: 0;
    margin-right: 0;
}

/* Section Headers */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
    text-align: left;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 2rem;
    text-align: left;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 32px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    height: auto;
}

.service-card:hover {
    border-color: #000000;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.service-icon {
    margin-bottom: 1.5rem;
}

.icon-placeholder {
    width: 60px;
    height: 60px;
    background-color: #000000;
    border-radius: 4px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-description {
    color: #666666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

/* Clickable Card Links */
.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.service-card-link:hover {
    transform: translateY(-5px);
}

.service-card-link:hover .service-card {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #000000;
}

/* Alternative Card Styles */

/* Option 1: Minimal Border Cards */


/* Option 2: Dark Cards */




/* Option 3: Outlined Cards */




/* Option 4: Elevated Cards */


/* Option 5: Compact Cards */


/* About Section */







/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 20px 0;
}

.footer .container {
}






.footer-text {
    color: #ffffff !important;
    font-size: 0.9rem;
}

.footer-text a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-text a:hover {
    color: #ffffff !important;
}

.footer-text p {
    color: #ffffff !important;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */



/* Accessibility */

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.form-group input:focus,
.form-group textarea:focus,
.tool-card:focus,
a:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Framework Content Page Styles */















/* Responsive adjustments for framework pages */

.content-main {
    margin: 0;
}

/* Consistent section spacing */
.content-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.content-section .container {
    padding: 0 32px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Force homepage cards to full width */
.content-section .tools-grid {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: repeat(2, 1fr) !important;
    display: grid !important;
    gap: 16px !important;
    margin: 2rem 0 !important;
}

/* Explore All Tools Button */
.explore-all-tools {
    margin-top: 3rem;
    text-align: left;
}

.content-main h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #000000;
    font-weight: 600;
}

.content-main h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 600;
}

.content-main p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 1.5rem;
}

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

.content-main li {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 0.5rem;
}

/* Simple Matrix Grid */
.matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 2rem 0;
    max-width: 800px;
}






/* Quadrant Colors - Simple */
.q1 {
    border-color: #dc2626;
    background: #fef2f2;
}

.q2 {
    border-color: #059669;
    background: #f0fdf4;
}

.q3 {
    border-color: #d97706;
    background: #fffbeb;
}

.q4 {
    border-color: #6b7280;
    background: #f9fafb;
}

/* Breadcrumb */




/* Responsive Design */

















/* Example Container */













/* Takeaway Container */




/* Responsive adjustments for enhanced content */










/* Quadrant Colors */
.q1 {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #dc2626;
}


.q2 {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #059669;
}


.q3 {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #d97706;
}


.q4 {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-color: #6b7280;
}


/* Example Section */














/* Tips Section */










/* Call to Action Section */





/* Responsive Design */


.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: #666666;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
}

/* Hero Benefits */



/* Hero Actions */


/* Matrix Preview */










/* Floating Elements */






    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateY(-5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-15px) rotate(0.5deg);
    }
}

/* Responsive Design */

/* Mobile First - Base styles are for mobile */

/* Tablet and Desktop */
@media (min-width: 768px) {
    .hero .container {
        grid-template-columns: 6fr 4fr;
        gap: 48px;
    }
    
    .hero-title {
        font-size: 3.5rem;
        flex-direction: row;
        white-space: nowrap;
    }
    
    .hero-title span {
        display: inline;
    }
    
    .hero-visual {
        justify-content: flex-end;
        margin-right: -120px;
    }
    
    .hero-visual-img {
        width: 600px;
        height: 400px;
        object-fit: contain;
    }
    
    .content-section .tools-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .container {
        padding: 0 32px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-visual-img {
        width: 600px;
        height: 400px;
    }
}

/* Mobile Specific Adjustments */
@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }
    
    .nav .container {
        display: flex;
        justify-content: center;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title span {
        display: block;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        justify-content: center;
        margin-right: 0;
    }
    
    .hero-visual-img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .content-section .tools-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .tool-card {
        padding: 20px;
    }
    
    .tool-title {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: left;
    }
    
    .content-main p {
        text-align: left;
    }
    
    .footer {
        padding: 16px 0;
    }
    
    .footer-text {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .tools-filter {
        justify-content: center;
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* Lazy Loading Enhancements */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Fallback for browsers that don't support lazy loading */
@supports not (loading: lazy) {
    img[loading="lazy"] {
        opacity: 1;
    }
}

/* Tools Page Styles */
/* Tools Filter */
.tools-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #ffffff;
    color: #000000;
    padding: 8px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease-out;
    text-decoration: none;
}

.filter-btn:hover,
.filter-btn:focus {
    border-color: #000000;
    outline: 2px solid #000000;
    outline-offset: 2px;
}

.filter-btn.active {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}




.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 2rem 0;
    width: 100%;
    max-width: none;
}

.tool-card {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 24px;
    transition: border-color 0.2s ease-out;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.tool-card:hover,
.tool-card:focus {
    border-color: #000000;
    outline: 2px solid #000000;
    outline-offset: 2px;
}

.tool-card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tool-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.tool-description {
    color: #555555;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

.tool-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tool-category {
    background: #ffffff;
    color: #000000;
    padding: 0.5rem 1rem;
    border: 2px solid #000000;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1rem;
    width: fit-content;
}

.tool-time {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}







/* Breadcrumb Styles */






/* Responsive adjustments for tools page */


/* Explore All Tools Button */




