
:root {
    --color-primary: #1b1c4f;
    --color-primary-dark: #15163d;
    --color-accent: #e0e500;
    --color-bg: #f4f5fb;
    --color-text: #1f2933;
    --color-muted: #6b7280;
    --radius-lg: 1rem;
    --shadow-soft: 0 18px 35px rgba(15, 23, 42, 0.15);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text);
    background-color: #ffffff;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto;
}

.section-padding {
    padding: 4rem 0;
}

.section-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.section-heading h2 {
    font-size: clamp(1.9rem, 3vw, 2.3rem);
    margin-bottom: 0.5rem;
}

.section-heading p {
    color: var(--color-muted);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 0.75rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
}

.logo img {
    height: 42px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.95rem;
}

.main-nav a {
    padding: 0.35rem 0.1rem;
    border-bottom: 2px solid transparent;
    color: var(--color-muted);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.main-nav a.active {
    border-color: var(--color-accent);
    color: var(--color-primary);
}

.main-nav .btn-primary {
    padding: 0.65rem 1.6rem;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.2);
}

.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), #f6ff66);
    color: #111827;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    filter: brightness(1.02);
    text-decoration: none;
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.05);
    color: var(--color-primary);
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.08);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.9);
    color: var(--color-primary-dark);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    text-decoration: none;
}

.hero .btn-secondary,
.hero .btn-outline,
.cta-strip .btn-secondary,
.cta-strip .btn-outline,
.sidebar-card .btn-secondary,
.sidebar-card .btn-outline {
    background: rgba(15, 23, 42, 0.35);
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.25);
}

.hero .btn-secondary:hover,
.hero .btn-outline:hover,
.cta-strip .btn-secondary:hover,
.cta-strip .btn-outline:hover,
.sidebar-card .btn-secondary:hover,
.sidebar-card .btn-outline:hover {
    background: rgba(15, 23, 42, 0.55);
}

.text-link {
    font-weight: 600;
    font-size: 0.95rem;
}

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

/* Hero */
.hero {
    position: relative;
}

.hero-carousel {
    position: relative;
    height: min(520px, 75vh);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.9s ease, transform 1.4s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(224, 229, 0, 0.4), transparent 55%),
                linear-gradient(to bottom right, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.6));
}

.hero-content {
    position: relative;
    height: 100%;
    display: grid;
    align-content: center;
    gap: 1.2rem;
    color: #ffffff;
}

.hero-content h1 {
    font-size: clamp(2.1rem, 4vw, 2.8rem);
    max-width: 560px;
}

.hero-content p {
    max-width: 520px;
    color: #e5e7eb;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(15, 23, 42, 0.4);
    color: #e5e7eb;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.hero-nav:hover {
    background: rgba(15, 23, 42, 0.7);
}

.hero-nav.prev {
    left: 1.5rem;
}

.hero-nav.next {
    right: 1.5rem;
}

/* Page hero */
.page-hero {
    padding: 3.5rem 0 2.5rem;
    background: radial-gradient(circle at left, rgba(224, 229, 0, 0.25), transparent 55%),
                linear-gradient(to right, #ffffff, #eef2ff);
    border-bottom: 1px solid rgba(209, 213, 219, 0.8);
}

.page-hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    margin-bottom: 0.6rem;
}

.page-hero p {
    max-width: 640px;
    color: var(--color-muted);
}

/* Layout helpers */
.two-col {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: flex-start;
}

.intro-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
}

.card-grid {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

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

.values-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.values-grid article {
    background: #ffffff;
    padding: 1.25rem 1.4rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.values-grid h3 {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.values-grid p {
    color: var(--color-muted);
}

/* Cards */
.highlight-card,
.service-card,
.info-card,
.contact-card,
.blog-card,
.org-structure-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 1.25rem 1.4rem;
}

.highlight-card h3 {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.highlight-card p {
    margin: 0;
    color: var(--color-muted);
}

.service-card img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    height: 190px;
    object-fit: cover;
}

.service-card .card-body {
    padding: 1.2rem 1.3rem 1.3rem;
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.service-card p {
    color: var(--color-muted);
}

/* Intro section */
.intro {
    background: #ffffff;
}

.intro-cards {
    display: grid;
    gap: 1rem;
}

/* Why us */
.why-us {
    background: var(--color-bg);
}

/* Image stack */
.image-stack {
    position: relative;
    display: grid;
    gap: 0.75rem;
}

.image-stack img:first-child {
    border-radius: 1.2rem;
    box-shadow: var(--shadow-soft);
}

.image-stack img:last-child {
    border-radius: 1.1rem;
    width: 68%;
    position: absolute;
    right: -8%;
    bottom: -8%;
    border: 4px solid #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

/* Checklist */
.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.65rem;
    color: var(--color-muted);
}

.checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    border: 2px solid var(--color-accent);
    box-shadow: 0 0 0 4px rgba(224, 229, 0, 0.15);
}

/* Clients */
.clients {
    background: #ffffff;
}

.clients-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    align-items: stretch;
}

.client-logo {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.client-logo img {
    max-height: 64px;
    width: auto;
    object-fit: contain;
    filter: grayscale(10%);
}

.client-logo span {
    font-size: 0.9rem;
    text-align: center;
    color: var(--color-text-muted);
}

/* Safety & gallery */
.safety {
    background: #ffffff;
}

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

.gallery-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.gallery-grid img {
    height: 150px;
    object-fit: cover;
    border-radius: 0.9rem;
}

/* CTA strip */
.cta-strip {
    background: linear-gradient(135deg, var(--color-primary-dark), #111827);
    color: #e5e7eb;
}

.cta-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.cta-strip-inner h2 {
    margin: 0 0 0.25rem;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Blog layout */
.blog-layout {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.blog-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.blog-card img {
    height: 140px;
    object-fit: cover;
    border-radius: 0.9rem;
}

.blog-card h2 {
    margin-top: 0;
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
}

.blog-card p {
    margin: 0.1rem 0;
    color: var(--color-muted);
}

.blog-card .meta {
    font-size: 0.8rem;
    color: #9ca3af;
}

.blog-sidebar .widget {
    margin-bottom: 1.75rem;
    padding: 1.25rem 1.3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #f9fafb;
}

.blog-sidebar h3 {
    margin-top: 0;
}

.blog-sidebar ul {
    padding-left: 1.2rem;
    margin: 0;
}

/* Contact */
.contact-layout {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.contact-form {
    background: #ffffff;
    padding: 1.5rem 1.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.form-row {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

label {
    font-size: 0.9rem;
    font-weight: 500;
}

input,
select,
textarea {
    border-radius: 0.65rem;
    border: 1px solid rgba(148, 163, 184, 0.9);
    padding: 0.55rem 0.75rem;
    font: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(224, 229, 0, 0.7);
    border-color: var(--color-accent);
}

.form-note {
    font-size: 0.8rem;
    color: #9ca3af;
}

.contact-card {
    margin-bottom: 1.25rem;
}

.map-placeholder {
    height: 200px;
    border-radius: 0.9rem;
    border: 2px dashed rgba(148, 163, 184, 0.7);
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* Steps list */
.steps-list {
    padding-left: 1.2rem;
    max-width: 720px;
}

.steps-list li {
    margin-bottom: 0.7rem;
}

/* Thank you page */
.thankyou-hero {
    background: linear-gradient(135deg, rgba(224, 229, 0, 0.2), rgba(27, 28, 79, 0.08)),
                radial-gradient(circle at 20% 20%, rgba(27, 28, 79, 0.1), transparent 45%),
                #f8fafc;
    position: relative;
    overflow: hidden;
}

.thankyou-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(27, 28, 79, 0.1), transparent 40%);
    opacity: 0.8;
    pointer-events: none;
}

.thankyou-hero .container {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(27, 28, 79, 0.08);
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.thankyou-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    align-items: start;
}

.thankyou-card {
    background: #ffffff;
    border-radius: 1.2rem;
    padding: 1.8rem 1.9rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: var(--shadow-soft);
}

.thankyou-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.9rem;
    background: rgba(224, 229, 0, 0.18);
    color: var(--color-primary-dark);
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.status-list {
    padding-left: 1.15rem;
    color: var(--color-muted);
}

.status-list li {
    margin-bottom: 0.65rem;
}

.thankyou-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.thankyou-sidebar {
    display: grid;
    gap: 1.25rem;
}

.sidebar-card {
    background: #0b132b;
    color: #e5e7eb;
    border-radius: 1rem;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.sidebar-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.contact-lines p {
    margin: 0.35rem 0;
}

.contact-lines a {
    color: #fef08a;
    font-weight: 700;
}

.cta-note {
    margin-top: 0.9rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.8rem;
    background: rgba(224, 229, 0, 0.12);
    color: #f8fafc;
}

.subtle-card {
    background: #ffffff;
    color: var(--color-text);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
}

.bullet-list {
    padding-left: 1.1rem;
    color: var(--color-muted);
}

.bullet-list li {
    margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    background: #020617;
    color: #cbd5f5;
    padding-top: 3rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 1fr));
    font-size: 0.9rem;
}

.site-footer h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.site-footer p,
.site-footer li {
    color: #9ca3af;
}

.site-footer ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.site-footer a {
    color: #e5e7eb;
}

.footer-bottom {
    padding-block: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    margin-top: 2rem;
    font-size: 0.8rem;
    text-align: center;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    color: var(--color-muted);
}

/* Misc */
.centered {
    text-align: center;
    margin-top: 2rem;
}

.small {
    padding-inline: 1rem;
    padding-block: 0.5rem;
    font-size: 0.85rem;
}

/* Mobile nav */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.18rem;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-primary);
}

/* Responsive */
@media (max-width: 960px) {
    .two-col,
    .intro-grid,
    .blog-layout,
    .contact-layout,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .image-stack img:last-child {
        position: relative;
        right: auto;
        bottom: auto;
        width: 72%;
        margin-left: auto;
        margin-top: -2.5rem;
    }

    .blog-card {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 420px;
    }

    .hero-nav {
        display: none;
    }

    .main-nav {
        position: absolute;
        inset: 64px 0 auto 0;
        padding: 0.75rem 1.25rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(148, 163, 184, 0.35);
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.25s ease;
    }

    .main-nav.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .thankyou-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .nav-toggle {
        display: flex;
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

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