/* style.css - FINAL ABSOLUTE MINIMAL VERSION */
:root {
    --ts-navy: #0A1931;
    --ts-medium-blue: #1E3F66;
    --ts-teal: #40B4D1;
    --ts-text: #0a202a;
    --ts-bg: #f8fbfd;
    --ts-grey: #8592A0;
    --ts-header-link-hover: #18A6A8;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--ts-text);
    background: var(--ts-bg);
    margin-top: 240px; 
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.logo-h1 {
    position: absolute; 
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
header {
    background-image: url('logo.png');
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--ts-navy);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000; 
    height: auto; 
    aspect-ratio: 4 / 1; 
    max-height: 200px;
}
#navigation-bar-wrapper {
    position: fixed;
    top: 200px; 
    width: 100%;
    background: white;
    box-shadow: 0 4px 5px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
#menu-toggle {
    display: none; 
    position: absolute;
    top: 50%; 
    right: 20px;
    transform: translateY(-50%);
    z-index: 1002;
    background: var(--ts-teal);
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.nav-links {
    position: static; 
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0; 
    padding: 0 20px;
    gap: 1.5rem;
    align-items: center; 
    justify-content: center; 
    flex-wrap: wrap;
    transition: transform 0.3s ease; 
    z-index: 1;
}
.nav-links li {
    padding: 0;
}
.nav-links a,
.dropdown-toggle { /* ADDED: Target the Articles button */
    display: inline-block; /* Essential for padding to work */
    text-decoration: none;
    color: var(--ts-navy);
    background-color: transparent;
    border: 2px solid var(--ts-navy);
    padding: 6px 15px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    
    /* ADDED: Fix button appearance */
    cursor: pointer;
    font-family: inherit;
    line-height: 1.6; /* Ensure vertical alignment matches <a> tags */
}

.nav-links a:hover,
.dropdown-toggle:hover { /* ADDED: Apply hover state to the button */
    background-color: var(--ts-navy);
    color: white;
    border-color: var(--ts-navy);
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 350px; 
    box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
    z-index: 1002; 
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 1px;
    left: 50%;
    transform: translateX(-50%);
    max-height: 400px;
    overflow-y: auto;
}
.dropdown.open .dropdown-content {
    display: block;
}
.dropdown-content a {
    color: var(--ts-text);
    padding: 10px 5px; 
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #e0e0e0; 
    transition: background-color 0.3s ease;
    white-space: normal;
    line-height: 1.3;
}
.dropdown-content a:last-child {
    border-bottom: none;
}
.dropdown-content a:hover {
    color: var(--ts-navy);
    background-color: #f0f0f0;
}
.hero {
    background: var(--ts-navy);
    color: white;
    padding: 80px 0 80px; 
    text-align: center;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero p strong {
    color: var(--ts-teal);
}
.hero-cta {
    background: var(--ts-teal);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}
.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.features {
    padding: 100px 0;
    background: var(--ts-bg);
    overflow: hidden; 
}
.section-header {
    text-align: center;
    margin-bottom: 80px;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--ts-text);
}
.section-header p {
    font-size: 1.2rem;
    color: var(--ts-grey);
    max-width: 600px;
    margin: 0 auto;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 60px;
}
.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--ts-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--ts-text);
}
.feature-card p {
    color: var(--ts-grey);
    line-height: 1.7;
}
.feature-card p strong {
    color: var(--ts-navy);
}
.content-section {
    padding: 100px 0;
}
.content-section:nth-child(even) {
    background: #f8fafc;
}
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.content-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--ts-text);
}
.content-text h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
    color: var(--ts-text);
}
.content-text p {
    font-size: 1.1rem;
    color: var(--ts-grey);
    margin-bottom: 2rem;
    line-height: 1.8;
}
.content-text ol,
.content-text ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.content-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--ts-text);
}
.content-text ol strong {
    color: var(--ts-navy);
}
.content-image {
    text-align: center;
}
.content-image > div[class*="images/"] { 
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ts-grey);
    font-size: 1.2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
}
.content-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.bio-image img {
    max-width: 250px; 
    height: auto; 
    display: block;
    margin: 0 auto 25px auto; 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.bio-image figcaption {
    text-align: center;
    font-style: italic;
    font-size: 0.9em;
    color: var(--ts-grey);
    max-width: 80%;
    margin: 0 auto 40px auto;
}
.cta-button {
    background: var(--ts-teal);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block; 
    transition: all 0.3s ease;
}
.cta-button:hover {
    background: var(--ts-navy);
    transform: translateY(-2px);
}
.lead-magnet {
    background: var(--ts-navy);
    color: white;
    padding: 80px 0;
    text-align: center;
}
.lead-magnet h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.lead-magnet p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.lead-magnet-cta {
    background: #f8fafc;
    border-left: 4px solid var(--ts-teal);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 8px;
}
.lead-magnet-cta h3 {
    color: var(--ts-navy);
    margin-top: 0;
}
.lead-magnet-cta p {
    margin-bottom: 1.5rem;
}
footer {
    background: var(--ts-text);
    color: white;
    padding: 60px 0 30px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--ts-teal);
}
.footer-section ul {
    list-style: none;
}
.footer-section ul li {
    margin-bottom: 0.5rem;
}
.footer-section ul li a {
    color: var(--ts-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-section ul li a:hover {
    color: var(--ts-teal);
}
.footer-bottom {
    border-top: 1px solid var(--ts-grey);
    padding-top: 2rem;
    text-align: center;
    color: var(--ts-grey);
}
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}
.article-meta {
    color: var(--ts-grey);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}
.article-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--ts-text);
    line-height: 1.2;
}
.article-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    color: var(--ts-text);
}
.article-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
    color: var(--ts-text);
}
.article-content p {
    margin: 0 0 1.5rem 0; 
    line-height: 1.8;
}
.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
.back-to-top {
    display: inline-block;
    margin-top: 2rem;
    color: var(--ts-teal);
    text-decoration: none;
    font-weight: 600;
}
.back-to-top:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    body {
        margin-top: calc(100vw / 4 + 40px); 
    }
    #navigation-bar-wrapper {
        top: calc(100vw / 4); 
        padding: 5px 0;
    }
    #menu-toggle {
        display: block; 
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        z-index: 1002;
    }
    .nav-links {
        position: fixed;
        flex-direction: column;
        top: 0; 
        right: 0;
        height: 100%;
        width: 80%; 
        max-width: 300px;
        background: var(--ts-navy); 
        padding: 60px 20px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.4);
        z-index: 999; 
        transform: translateX(100%); 
        gap: 1.5rem; 
        align-items: flex-start;
        justify-content: flex-start;
        padding-bottom: 0;
    }
    .nav-links.open {
        transform: translateX(0); 
    }
    .nav-links a {
        color: white; 
        padding: 0.8rem 0;
        background-color: transparent;
        border: none;
        border-radius: 0;
        font-weight: 500;
    }
    .dropdown-content {
        position: static;
        transform: none;
        margin-top: 10px;
        left: auto;
        background: var(--ts-medium-blue);
        max-height: none;
        overflow-y: visible;
    }
    .dropdown-content a {
        color: white;
        padding: 8px 10px;
    }
    header {
        background-size: cover;
        height: auto; 
        aspect-ratio: 4 / 1;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .content-grid,
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .article-content h1 {
        font-size: 2rem;
    }
}
@media (max-width: 480px) {
    .article-content {
        padding: 1rem 0;
    }
    .article-content h1 {
        font-size: 1.8rem;
    }
    body {
        margin-top: calc(100vw / 4 + 40px); 
    }
    header {
        aspect-ratio: 4 / 1;
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-on-scroll {
    animation: fadeInUp 0.8s ease forwards;
}

