:root {
    --bg-off-white: #F7F6F2;
    --bg-white: #FFFFFF;
    --accent-primary: #60CAFF;
    --accent-hover: #3AB6F0;
    --text-dark: #1A1A1A;
    --text-secondary: #5C5C5C;
    --border-light: #E8E8E4;
    --spacing-section: 100px;
    --max-width: 1160px;
    --font-family: 'DM Sans', sans-serif;
    --transition-smooth: 0.2s ease-out;
    --nav-height: 68px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 17px;
    font-weight: 400;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.1;
}

h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.2;
}

h3 {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-smooth);
}

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 24px;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--spacing-section) 0;
}

.bg-off-white {
    background-color: var(--bg-off-white);
}

.bg-white {
    background-color: var(--bg-white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--text-dark);
    padding: 12px 30px;
}

.btn-secondary:hover {
    background-color: var(--accent-primary);
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.logo img {
    height: 32px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a.nav-link:hover {
    color: var(--accent-primary);
}

.nav-links a.btn {
    font-size: 14px;
    padding: 10px 24px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition-smooth);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
#hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

#hero-globe {
    position: absolute;
    top: 50%;
    right: -10vw;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.hero-line {
    width: 48px;
    height: 2px;
    background-color: var(--accent-primary);
    margin: 0 0 32px;
}

.hero-content h1 {
    max-width: 760px;
    margin: 0 0 24px;
    font-size: 58px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    margin: 0 0 48px;
}

.hero-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
}

.link-text {
    color: var(--accent-primary);
    font-weight: 500;
    font-size: 15px;
}

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

/* About Section */
#about {
    scroll-margin-top: calc(var(--nav-height));
}

.about-grid {
    display: flex;
    gap: 80px;
    align-items: center;
}

.about-left {
    flex: 0 0 calc(55% - 40px);
}

.about-left h2 {
    margin-bottom: 24px;
}

.about-right {
    flex: 0 0 calc(45% - 40px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.highlight-box {
    background-color: var(--bg-off-white);
    border-left: 3px solid var(--accent-primary);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.highlight-box svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-top: 2px;
}

.highlight-content span {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-size: 16px;
}

.highlight-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Services Section */
#services {
    scroll-margin-top: calc(var(--nav-height));
}

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

.section-header-center p {
    color: var(--text-secondary);
    margin-top: 20px;
    font-size: 17px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 40px 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-top: 3px solid transparent;
    transition: all var(--transition-smooth);
}

.service-card:hover {
    border-top-color: var(--accent-primary);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.service-card svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent-primary);
    fill: none;
    stroke-width: 1.5;
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 22px;
}

.service-card>p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.service-card ul li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
}

/* Approach Section */
#approach {
    scroll-margin-top: calc(var(--nav-height));
}

#approach .eyebrow,
#approach h2 {
    text-align: center;
}

#approach h2 {
    margin-bottom: 64px;
}

.approach-grid {
    display: flex;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.approach-step {
    flex: 1;
    position: relative;
    padding-top: 12px;
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 24px;
    background: var(--bg-white);
    display: inline-block;
    padding-right: 24px;
    position: relative;
    z-index: 2;
}

.approach-step h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.approach-step p {
    font-size: 15px;
    color: var(--text-secondary);
}

.approach-connector {
    position: absolute;
    top: 36px;
    left: 0;
    right: 0;
    height: 1.5px;
    background-color: #E0EAED;
    z-index: 0;
    width: 75%;
}

/* Who We Work With Section */
#who-we-serve {
    scroll-margin-top: calc(var(--nav-height));
}

.tags-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
}

.tag {
    background-color: var(--bg-white);
    border: 1.5px solid #D8D8D4;
    border-radius: 100px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all var(--transition-smooth);
    cursor: default;
}

.tag:hover {
    border-color: var(--accent-primary);
}

.tags-grid-dark .tag {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
}

.tags-grid-dark .tag:hover {
    border-color: var(--accent-primary);
    background-color: rgba(255, 255, 255, 0.15);
}

/* Why Work With Us Section */
#why-us .section-header-center {
    max-width: 720px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px 40px;
}

.feature-block svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-primary);
    fill: none;
    stroke-width: 1.5;
    margin-bottom: 20px;
}

.feature-block h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-block p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Contact Section */
#contact {
    background-color: var(--text-dark);
    color: var(--bg-white);
    text-align: center;
    scroll-margin-top: calc(var(--nav-height));
}

#contact .eyebrow {
    color: var(--accent-primary);
    text-align: center;
}

#contact h2 {
    font-size: clamp(32px, 4vw, 42px);
    margin-bottom: 24px;
    color: var(--bg-white);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

#contact p.subtext {
    color: #9A9A9A;
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 17px;
}

.contact-form {
    max-width: 480px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background-color: #2C2C2C;
    border: 1px solid #3A3A3A;
    border-radius: 4px;
    padding: 14px 16px;
    color: var(--bg-white);
    font-family: inherit;
    font-size: 16px;
    transition: border-color var(--transition-smooth);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #777;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.contact-form .btn {
    width: 100%;
    margin-top: 8px;
}

.direct-contact {
    color: #9A9A9A;
    font-size: 15px;
}

.direct-contact a {
    color: var(--accent-primary);
}

.direct-contact a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #111111;
    padding: 80px 0 40px;
    color: #9A9A9A;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 64px;
}

.footer-left .logo img {
    height: 32px;
    width: auto;
    display: block;
    margin-bottom: 16px;
}

.footer-left img.footer-logo {
    filter: brightness(0) invert(1);
}

.footer-left p {
    font-size: 15px;
}

.footer-right nav {
    display: flex;
    gap: 32px;
}

.footer-right nav a {
    font-size: 15px;
    font-weight: 500;
}

.footer-right nav a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    padding-top: 32px;
    border-top: 1px solid #222222;
}

/* Blog & Article Shared */
.section-padding-blog {
    padding: 80px 0;
}

/* Blog Hero - Featured Post */
.blog-hero {
    background-color: #1A1A1A;
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 80px;
    color: var(--bg-white);
}

.featured-post-container {
    display: flex;
    align-items: center;
    gap: 48px;
}

.featured-content {
    flex: 0 0 55%;
}

.featured-image-wrapper {
    flex: 0 0 calc(45% - 48px);
    width: 100%;
}

.featured-image-placeholder {
    background-color: #2C2C2C;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
}

.blog-hero .eyebrow {
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.blog-hero h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
}

.blog-hero .excerpt {
    font-size: 17px;
    color: #9A9A9A;
    margin-bottom: 32px;
    line-height: 1.6;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.meta-date {
    font-size: 13px;
    color: #9A9A9A;
}

.tag-pill {
    background-color: var(--accent-primary);
    color: var(--text-dark);
    border-radius: 100px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all var(--transition-smooth);
    background-color: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--bg-white);
    text-decoration: none;
}

.btn-outline-light:hover {
    background-color: var(--accent-primary);
    color: var(--text-dark);
}

/* Filter Bar */
.filter-bar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0;
    position: sticky;
    top: var(--nav-height);
    z-index: 900;
}

.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-pill {
    background-color: transparent;
    border: 1.5px solid #D8D8D4;
    color: var(--text-secondary);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.filter-pill:hover {
    border-color: var(--accent-primary);
    color: var(--text-dark);
}

.filter-pill.active {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--text-dark);
}

/* Article Grid */
.blog-grid-section {
    background-color: var(--bg-off-white);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.article-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border-top: 3px solid transparent;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    /* transition for filtering fade out */
    opacity: 1;
}

.article-card.hidden {
    opacity: 0;
    display: none;
}

.article-card:hover {
    border-top-color: var(--accent-primary);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.card-image-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.card-image-tech {
    background-color: #D8EEF2;
}

.card-image-sust {
    background-color: #D8F2E2;
}

.card-image-water {
    background-color: #D8E8F2;
}

.card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.article-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.article-card p.card-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.read-more-link {
    color: var(--accent-primary);
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
}

.article-card:hover .read-more-link {
    text-decoration: underline;
}

/* Newsletter Strip */
.newsletter-strip {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-light);
    padding: 64px 0;
    text-align: center;
}

.newsletter-strip h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.newsletter-strip p.subtext {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.newsletter-form {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.newsletter-input {
    background-color: var(--bg-off-white);
    border: 1px solid #D8D8D4;
    border-radius: 4px;
    padding: 13px 18px;
    width: 320px;
    font-family: inherit;
    font-size: 16px;
    color: var(--text-dark);
    transition: border-color var(--transition-smooth);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.privacy-note {
    font-size: 13px;
    color: #9A9A9A;
}

/* Breadcrumbs */
.breadcrumb-bar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 14px 0;
    margin-top: var(--nav-height);
}

.breadcrumbs {
    font-size: 13px;
    color: #9A9A9A;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumbs a {
    color: var(--accent-primary);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span.separator {
    color: #D8D8D4;
}

.breadcrumbs span.current-page {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60ch;
}

/* Article Layout */
.article-layout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.article-main {
    flex: 0 0 calc(68% - 24px);
    max-width: 68%;
}

.article-sidebar {
    flex: 0 0 calc(32% - 24px);
    position: sticky;
    top: calc(var(--nav-height) + 20px);
}

.article-header h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.1;
}

.author-line {
    font-size: 14px;
    color: #9A9A9A;
    margin-bottom: 32px;
}

.divider {
    height: 1px;
    background-color: var(--border-light);
    width: 100%;
    margin: 32px 0;
}

.article-featured-image {
    background-color: #D8EEF2;
    height: 400px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 48px;
}

.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 680px;
}

.article-body h2 {
    font-size: 26px;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 24px;
}

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

.article-body blockquote {
    border-left: 4px solid var(--accent-primary);
    padding-left: 24px;
    font-style: italic;
    color: var(--text-secondary);
    font-size: 20px;
    margin: 40px 0;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
}

.article-table th {
    background-color: var(--bg-off-white);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.article-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 16px;
}

.article-footer {
    margin-top: 48px;
}

.tags-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.tags-row span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.back-to-blog {
    display: inline-block;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

.back-to-blog:hover {
    text-decoration: underline;
}

/* Sidebar Widgets */
.sidebar-widget {
    background-color: var(--bg-off-white);
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 24px;
}

.sidebar-widget.widget-dark {
    background-color: var(--text-dark);
    color: var(--bg-white);
}

.widget-logo img,
.widget-logo svg {
    height: 24px;
    margin-bottom: 16px;
    display: block;
}

.widget-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.widget-dark .widget-text {
    color: #9A9A9A;
    font-size: 14px;
}

.widget-link {
    color: var(--accent-primary);
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
    text-decoration: none;
}

.widget-link:hover {
    text-decoration: underline;
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.widget-dark .widget-title {
    color: var(--bg-white);
}

.sidebar-article-list {
    list-style: none;
}

.sidebar-article-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-article-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-article-item a {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.4;
    text-decoration: none;
}

.sidebar-article-item a:hover {
    color: var(--accent-primary);
}

.sidebar-article-date {
    font-size: 13px;
    color: #9A9A9A;
}

.widget-dark .btn {
    width: 100%;
}

/* Navbar active state for Blog */
.nav-links a.nav-link.active-link {
    color: var(--accent-primary);
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 4px;
}

@media (max-width: 1100px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .article-layout {
        flex-direction: column;
    }

    .article-main,
    .article-sidebar {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .article-sidebar {
        position: static;
        width: 100%;
    }

    .featured-post-container {
        flex-direction: column-reverse;
        gap: 32px;
    }

    .featured-content,
    .featured-image-wrapper {
        flex: 1 1 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .article-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-input {
        width: 100%;
    }

    .article-header h1 {
        font-size: 32px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        flex-direction: column;
        gap: 56px;
    }

    .about-left,
    .about-right {
        flex: 1 1 auto;
        width: 100%;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-section: 64px;
    }

    /* Hero Section Mobile */
    #hero {
        text-align: center;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-line {
        margin: 0 auto 32px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-actions {
        flex-direction: column;
    }

    #hero-globe {
        right: 50%;
        transform: translate(50%, -50%);
        width: 600px;
        height: 600px;
        opacity: 0.3;
    }

    /* Navbar Mobile */
    .nav-links {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a.btn {
        width: 100%;
        margin-top: 8px;
    }

    .mobile-toggle {
        display: block;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        gap: 20px;
    }

    .why-grid {
        gap: 40px;
    }

    .approach-grid {
        flex-direction: column;
        gap: 48px;
    }

    .step-number {
        margin-bottom: 16px;
        padding-right: 0;
    }

    .footer-grid {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        align-items: center;
    }

    .footer-left .logo img {
        margin: 0 auto 16px;
    }

    .footer-right nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }
}

/* ── Form Feedback Messages ── */
.form-feedback {
    margin-top: 16px;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    animation: fadeInUp 0.3s ease;
}

.feedback-success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.feedback-error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF9A9A;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}