/* ==========================================================================
   1. GLOBAL RESETS & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    color: #1a1a1a;
    background-color: #fcfcfc;
    line-height: 1.6;
}

/* Fluid Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   2. SHARED HEADER & NAVIGATION
   ========================================================================== */
#header-placeholder {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 8%;
    box-sizing: border-box;
    background-color: #0b3c3c;
    color: #ffffff;
}

.logo, .logo a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

nav a {
    color: #d1e2e2;
    text-decoration: none;
    margin-left: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover,
nav a.active {
    color: #ffffff;
}

/* ==========================================================================
   3. REUSABLE COMPONENTS (BUTTONS, CARDS, GRIDS)
   ========================================================================== */
.btn-primary {
    display: inline-block;
    align-self: flex-start;
    background-color: #ffffff;
    color: #0b3c3c;
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-primary:hover {
    background-color: #e2f0f0;
    transform: translateY(-2px);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #0b3c3c;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: #555555;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: #f4f8f8;
    border: 1px solid #e1ecec;
    border-radius: 8px;
    padding: 36px 28px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

/* Step Badges & Card Typography */
.step-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0b3c3c;
    background-color: #d8eaea;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.35rem;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.card h4 {
    font-size: 0.9rem;
    color: #556b6b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.card p {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.5;
}

/* ==========================================================================
   4. PAGE-SPECIFIC SECTIONS
   ========================================================================== */
/* Hero Section */
.hero-container {
    display: flex;
    background-color: #0b3c3c;
    color: #ffffff;
    min-height: 80vh;
}

.hero-text {
    flex: 1;
    padding: 80px 5% 80px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.15rem;
    color: #c2d6d6;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-image {
    flex: 1;
    background-image: url('images/heublein-tower.jpeg');
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

/* Hero Variant (About Page) */
.hero-container.about-hero {
    min-height: auto;
    align-items: center;
    padding: 80px 8%;
    gap: 60px;
}

.hero-container.about-hero .hero-text {
    flex: 1.2;
    padding: 0;
}

.hero-container.about-hero .hero-text p {
    margin-bottom: 20px;
    max-width: none;
}

.hero-image-wrapper {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.profile-img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #d8eaea;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.tagline-quote {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    border-left: 4px solid #d8eaea;
    padding-left: 16px;
    margin: 24px 0;
}

/* 4-Step Process Section */
.process-section {
    padding: 100px 8%;
    background-color: #ffffff;
}

/* Specialization Grid Section */
.specialization-section {
    padding: 100px 8%;
    background-color: #ffffff;
}

.specialization-section .section-header {
    max-width: 720px;
}

.specialization-section .grid-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.specialization-section .card h3 {
    color: #0b3c3c;
    margin-bottom: 12px;
}

.specialization-section .card p {
    line-height: 1.6;
}

/* Applied Expertise Section */
.expertise-section {
    padding: 80px 8%;
    background-color: #f4f8f8;
    border-top: 1px solid #e1ecec;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.expertise-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 6px;
    border: 1px solid #e1ecec;
}

.expertise-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #0b3c3c;
}

.expertise-card a {
    display: inline-block;
    margin-top: 14px;
    color: #0b3c3c;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Contact Page Layout */
.container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.expectations-card {
    background-color: #f4f8f8;
    border: 1px solid #e1ecec;
    border-radius: 8px;
    padding: 24px;
    margin-top: 35px;
}

.expectations-card ul {
    list-style: none;
    padding-left: 0;
}

.expectations-card li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #2d3748;
    font-size: 0.95rem;
}

.expectations-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #0b3c3c;
    font-weight: bold;
}

.form-card {
    background: #ffffff;
    border: 1px solid #e1ecec;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0b3c3c;
    box-shadow: 0 0 0 3px rgba(11, 60, 60, 0.1);
}

.btn-submit {
    display: inline-block;
    width: 100%;
    padding: 14px;
    background-color: #0b3c3c;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
}

.btn-submit:hover {
    background-color: #135252;
}

/* CTA Section */
.cta-section {
    padding: 80px 8%;
    background-color: #f4f8f8;
    border-top: 1px solid #e1ecec;
    text-align: center;
}

.cta-box {
    max-width: 780px;
    margin: 0 auto;
}

.cta-box h3 {
    font-size: 1.8rem;
    color: #0b3c3c;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-section .btn-primary {
    background-color: #0b3c3c;
    color: #ffffff;
}

.cta-section .btn-primary:hover {
    background-color: #145252;
}

/* ==========================================================================
   5. BLOG & ARTICLE STYLES
   ========================================================================== */
/* Blog Grid / Listing Page Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.blog-card {
    background-color: #ffffff;
    border: 1px solid #e1ecec;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.85rem;
    color: #556b6b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.blog-card-title {
    font-size: 1.35rem;
    color: #0b3c3c;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #135252;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-link {
    color: #0b3c3c;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.blog-card-link:hover {
    text-decoration: underline;
}

/* Article Hero & Header Elements */
.article-hero {
    background-color: #0b3c3c;
    color: #ffffff;
    padding: 70px 8% 60px 8%;
    text-align: center;
}

.article-hero .category-tag {
    display: inline-block;
    background-color: rgba(216, 234, 234, 0.15);
    color: #d8eaea;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(216, 234, 234, 0.2);
}

.article-hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 700;
    max-width: 900px;
    margin: 0 auto 20px auto;
    letter-spacing: -0.5px;
}

.article-hero p.subtitle {
    font-size: 1.2rem;
    color: #c2d6d6;
    max-width: 720px;
    margin: 0 auto;
}

/* Single Article Post Container */
.article-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 24px;
}

.article-header {
    margin-bottom: 32px;
    text-align: center;
}

.article-title {
    font-size: 2.5rem;
    color: #0b3c3c;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.article-meta {
    font-size: 0.95rem;
    color: #555555;
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
}

.article-featured-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 40px;
}

/* Article Body Typography & Content */
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1a1a1a;
}

.intro-lead {
    font-size: 1.2rem;
    color: #2d3748;
    line-height: 1.7;
    margin-bottom: 28px;
    font-weight: 500;
}

.article-body p {
    margin-bottom: 24px;
}

.article-body h2 {
    font-size: 1.8rem;
    color: #0b3c3c;
    margin: 50px 0 20px 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.article-body h3 {
    font-size: 1.4rem;
    color: #0b3c3c;
    margin: 32px 0 12px 0;
    line-height: 1.3;
}

.article-body ul,
.article-body ol {
    margin: 0 0 24px 24px;
    padding-left: 12px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    border-left: 4px solid #0b3c3c;
    background-color: #f4f8f8;
    padding: 20px 24px;
    margin: 32px 0;
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: #2d3748;
}

.article-body code {
    background-color: #f4f8f8;
    border: 1px solid #e1ecec;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

.article-body pre {
    background-color: #0b3c3c;
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 30px 0;
}

.article-body pre code {
    background: none;
    border: none;
    color: inherit;
    padding: 0;
}

.article-body figure {
    margin: 32px 0;
}

.article-body figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: #555555;
    margin-top: 8px;
}

.article-body hr {
    border: 0;
    height: 1px;
    background: #e1ecec;
    margin: 40px 0;
}

/* Callout Box Component */
.cost-box {
    background-color: #f4f8f8;
    border-left: 4px solid #0b3c3c;
    border-radius: 0 8px 8px 0;
    padding: 24px 28px;
    margin: 36px 0;
}

.cost-box h3 {
    color: #0b3c3c;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.cost-box ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.cost-box li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: #2d3748;
    font-size: 0.98rem;
}

.cost-box li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #0b3c3c;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Bullet/Check Solution List Component */
.solution-list {
    list-style: none;
    margin: 24px 0 40px 0;
    padding-left: 0;
}

.solution-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #333333;
    line-height: 1.6;
}

.solution-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #0b3c3c;
    font-weight: bold;
    font-size: 1.2rem;
    background-color: #e1ecec;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS
   ========================================================================== */
/* Tablet & Small Screens (≤ 900px) */
@media (max-width: 900px) {
    header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 16px 5%;
    }

    nav a {
        margin: 0 12px;
        display: inline-block;
    }

    .hero-container {
        flex-direction: column-reverse;
        min-height: auto;
    }

    .hero-container.about-hero {
        flex-direction: column-reverse;
        padding: 50px 6%;
        text-align: center;
    }

    .hero-text {
        padding: 50px 6%;
        text-align: center;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .hero-image {
        min-height: 300px;
        width: 100%;
    }

    .tagline-quote {
        border-left: none;
        border-top: 3px solid #d8eaea;
        padding-left: 0;
        padding-top: 16px;
    }

    .profile-img {
        width: 240px;
        height: 240px;
    }

    .process-section,
    .specialization-section,
    .expertise-section,
    .cta-section {
        padding: 60px 6%;
    }

    .container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 30px auto;
    }

    .article-hero {
        padding: 50px 6% 40px 6%;
    }

    .article-hero h1 {
        font-size: 2.1rem;
    }

    .article-hero p.subtitle {
        font-size: 1.05rem;
    }

    .article-container {
        padding: 40px 20px;
    }

    .article-title {
        font-size: 2.1rem;
    }
}

/* Mobile Phones (≤ 600px) */
@media (max-width: 600px) {
    header {
        padding: 14px 4%;
    }

    nav a {
        margin: 4px 8px;
        font-size: 0.9rem;
    }

    .hero-text {
        padding: 36px 4%;
    }

    .hero-text h1 {
        font-size: 1.85rem;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-image {
        min-height: 240px;
    }

    .profile-img {
        width: 180px;
        height: 180px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .process-section,
    .specialization-section,
    .expertise-section,
    .cta-section {
        padding: 40px 4%;
    }

    .grid-container {
        gap: 20px;
    }

    .card {
        padding: 24px 20px;
    }

    .btn-primary,
    .btn-submit {
        width: 100%;
        text-align: center;
    }

    .form-card {
        padding: 20px 16px;
    }

    .blog-grid {
        margin: 30px auto;
        gap: 20px;
    }

    .article-hero h1,
    .article-title {
        font-size: 1.75rem;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body h2 {
        font-size: 1.45rem;
        margin: 36px 0 16px 0;
    }
}