/* =========================================
   1. CSS Variables & 5-Color Palette
   ========================================= */
:root {
    --primary: #1e3a8a;       /* Deep Navy Blue (Trust, Professionalism) */
    --primary-dark: #172554;
    --accent: #f59e0b;        /* Warm Amber (Creativity, Paint, Energy) */
    --accent-hover: #d97706;
    --teal: #0d9488;          /* Fresh Teal (Cleanliness, Modern) */
    --rose: #e11d48;          /* Soft Rose (Attention, Mistakes/Warnings) */
    --bg-light: #f8fafc;      /* Crisp Off-White (Wall-like background) */
    --bg-white: #ffffff;
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --max-width: 800px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.75;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
ul { list-style: none; }

/* =========================================
   2. Typography & Links
   ========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.3;
}

.content-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--accent);
    transition: all 0.2s;
}
.content-link:hover {
    color: var(--primary-dark);
    text-decoration-color: var(--primary-dark);
}

/* =========================================
   3. Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: var(--font-body);
}
.btn-primary { background-color: var(--primary); color: white; }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-accent { background-color: var(--accent); color: white; }
.btn-accent:hover { background-color: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-large { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* =========================================
   4. Header & Navigation
   ========================================= */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-weight: 500; color: var(--text-dark); font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* =========================================
   5. Hero Section
   ========================================= */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    color: white;
    padding: 6rem 0 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.25rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* =========================================
   6. Article Content & Colored Boxes
   ========================================= */
.article-wrapper { padding: 4rem 1.5rem; margin-top: -3rem; position: relative; z-index: 10; }

.blog-content {
    max-width: var(--max-width);
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.blog-content p { margin-bottom: 1.5rem; font-size: 1.05rem; }

.blog-content h2 {
    font-size: 1.85rem;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 0.75rem;
}
.blog-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}
.blog-content h2:first-of-type { margin-top: 0; }

.blog-content ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}
.blog-content li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: var(--text-body);
}
.blog-content li::marker { color: var(--accent); }
.blog-content li strong { color: var(--text-dark); }

/* --- BEAUTIFUL COLORED BOXES FOR LISTS --- */
.highlight-box {
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 5px solid;
    box-shadow: var(--shadow-sm);
}
.highlight-box h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.highlight-box ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.highlight-box li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.6rem;
}
.highlight-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Color Combinations */
.box-teal {
    background-color: #f0fdfa;
    border-left-color: var(--teal);
}
.box-teal h3 { color: #0f766e; }
.box-teal li::before { color: var(--teal); }

.box-amber {
    background-color: #fffbeb;
    border-left-color: var(--accent);
}
.box-amber h3 { color: #b45309; }
.box-amber li::before { color: var(--accent); }

.box-rose {
    background-color: #fff1f2;
    border-left-color: var(--rose);
}
.box-rose h3 { color: #be123c; }
.box-rose li::before { content: '✕'; color: var(--rose); }

.box-navy {
    background-color: #f1f5f9;
    border-left-color: var(--primary);
}
.box-navy h3 { color: var(--primary); }
.box-navy li::before { content: '●'; color: var(--primary); font-size: 0.6rem; top: 4px; }


/* =========================================
   7. Contact Section
   ========================================= */
.contact-section {
    background-color: var(--bg-light);
    padding: 5rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.contact-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border-color);
}

.contact-card h2 { font-size: 2.25rem; margin-bottom: 0.75rem; }
.contact-card > p { color: var(--text-light); margin-bottom: 2.5rem; font-size: 1.1rem; }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
    text-align: left;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: transform 0.2s;
}
.contact-item:hover { transform: translateX(5px); }

.contact-item svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.contact-item strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.contact-item a, .contact-item span {
    color: var(--text-body);
    font-size: 1.1rem;
    font-weight: 600;
}
.contact-item a:hover { color: var(--primary); }

/* =========================================
   8. Footer
   ========================================= */
.site-footer {
    background-color: var(--text-dark);
    color: #94a3b8;
    padding: 4rem 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #334155;
}

.footer-brand h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.footer-brand p { max-width: 400px; line-height: 1.7; }

.footer-links h4 {
    color: white;
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }

.footer-bottom { padding: 2rem 0; text-align: center; font-size: 0.9rem; }

/* =========================================
   9. Scroll to Top & Animations
   ========================================= */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background-color: var(--accent); transform: translateY(-3px); }

.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   10. Responsive Design
   ========================================= */
@media (max-width: 768px) {
    .header-inner { height: 70px; }
    
    .mobile-menu-toggle { display: flex; z-index: 1001; }
    .mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-links.active { transform: translateY(0); }

    .hero-content h1 { font-size: 2.2rem; }
    .hero { padding: 4rem 0 6rem; }
    
    .blog-content { padding: 2rem 1.5rem; }
    .blog-content h2 { font-size: 1.6rem; }
    
    .highlight-box { padding: 1.5rem; }
    
    .contact-card { padding: 2rem 1.5rem; }
    .contact-card h2 { font-size: 1.85rem; }
    
    .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .footer-brand p { max-width: 100%; margin: 0 auto; }
    .contact-details { align-items: center; text-align: center; }
    .contact-item { flex-direction: column; align-items: center; text-align: center; }
}