/* =========================================================
   MDS - MALIK DIGITAL SOLUTIONS
   Main Theme Stylesheet
   ========================================================= */

/* =========================================================
   01. CSS VARIABLES
   ========================================================= */

:root {
    --mds-primary: #061A3A;
    --mds-deep: #031329;
    --mds-accent: #FFB81C;

    --mds-bg: #F7F8FA;
    --mds-white: #FFFFFF;

    --mds-text: #172033;
    --mds-muted: #6B7280;

    --mds-border: #E5E8EE;

    --mds-container: 1200px;
    --mds-radius: 12px;

    --mds-shadow:
        0 12px 35px rgba(3, 19, 41, 0.08);

    --mds-transition: 0.25s ease;
}


/* =========================================================
   02. RESET & BASE
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--mds-text);
    background: var(--mds-white);

    line-height: 1.65;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   03. CONTAINER
   ========================================================= */

.mds-container {
    width: min(
        calc(100% - 40px),
        var(--mds-container)
    );

    margin-inline: auto;
}


/* =========================================================
   04. ACCESSIBILITY
   ========================================================= */

.screen-reader-text {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);

    white-space: nowrap;
    border: 0;
}

.mds-skip-link {
    position: fixed;
    top: -100px;
    left: 10px;

    z-index: 9999;

    padding: 10px 15px;

    background: var(--mds-accent);
    color: var(--mds-deep);

    font-weight: 700;

    border-radius: 6px;
}

.mds-skip-link:focus {
    top: 10px;
}


/* =========================================================
   05. HEADER
   ========================================================= */

.mds-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(6, 26, 58, 0.97);

    backdrop-filter: blur(12px);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}

.mds-header-inner {
    min-height: 74px;

    display: flex;
    align-items: center;

    gap: 28px;
}


/* Brand */

.mds-brand {
    display: flex;
    align-items: center;

    gap: 9px;

    color: var(--mds-white);

    font-weight: 800;

    min-width: max-content;
}

.mds-brand img {
    width: auto;
    max-width: 150px;
    height: 48px;

    object-fit: contain;
}

.mds-brand-mark {
    color: var(--mds-accent);

    font-size: 24px;
    font-style: italic;
}

.mds-brand-text {
    font-size: 11px;
    line-height: 1.05;
    letter-spacing: 0.08em;
}

.mds-brand-text small {
    color: var(--mds-accent);
    font-size: 8px;
}


/* Navigation */

.mds-nav {
    margin-left: auto;
}

.mds-nav-list {
    display: flex;
    align-items: center;

    gap: 24px;

    padding: 0;
    margin: 0;

    list-style: none;
}

.mds-nav-list li {
    margin: 0;
}

.mds-nav-list a {
    position: relative;

    display: block;

    padding: 27px 0;

    color: var(--mds-white);

    font-size: 13px;
    font-weight: 600;

    opacity: 0.9;
}

.mds-nav-list a:hover,
.mds-nav-list .current-menu-item > a {
    color: var(--mds-accent);
}

.mds-nav-list .current-menu-item > a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 18px;

    height: 2px;

    background: var(--mds-accent);
}


/* Header Actions */

.mds-header-actions {
    display: flex;
    align-items: center;

    gap: 10px;
}

.mds-header-wa {
    color: var(--mds-accent);

    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   06. BUTTONS
   ========================================================= */

.mds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 13px 20px;

    border: 1px solid var(--mds-accent);
    border-radius: 7px;

    background: transparent;
    color: var(--mds-accent);

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition: var(--mds-transition);
}

.mds-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 20px rgba(255, 184, 28, 0.18);
}

.mds-btn-gold {
    background: var(--mds-accent);
    color: #09182F;
}

.mds-btn-outline {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--mds-white);
}

.mds-btn-small {
    padding: 10px 14px;
    font-size: 11px;
}

.mds-btn-full {
    width: 100%;
}


/* =========================================================
   07. HERO SECTION
   ========================================================= */

.mds-hero {
    position: relative;
    isolation: isolate;

    overflow: hidden;

    background:
        linear-gradient(
            110deg,
            var(--mds-deep) 0%,
            var(--mds-primary) 54%,
            #09254A 100%
        );

    color: var(--mds-white);
}

.mds-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -2;

    background:
        radial-gradient(
            circle at 18% 30%,
            rgba(255, 184, 28, 0.08),
            transparent 28%
        ),
        radial-gradient(
            circle at 78% 70%,
            rgba(34, 87, 150, 0.24),
            transparent 35%
        );
}

.mds-hero::after {
    content: "";

    position: absolute;

    right: -180px;
    top: -180px;

    width: 650px;
    height: 650px;

    border:
        1px solid rgba(255, 184, 28, 0.14);

    border-radius: 50%;

    z-index: -1;
}

.mds-hero-grid {
    min-height: 620px;

    display: grid;

    grid-template-columns:
        minmax(0, 0.94fr)
        minmax(0, 1.06fr);

    align-items: center;

    gap: 35px;

    padding: 48px 0 38px;
}


/* Hero Content */

.mds-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 14px;

    color: var(--mds-accent);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 0.16em;
}

.mds-eyebrow::before {
    content: "";

    width: 30px;
    height: 2px;

    background: var(--mds-accent);

    box-shadow:
        40px 0 0 rgba(255, 184, 28, 0.35);
}

.mds-hero h1 {
    max-width: 680px;

    margin: 0 0 22px;

    font-size:
        clamp(40px, 5vw, 62px);

    line-height: 1.02;

    letter-spacing: -0.045em;
}

.mds-hero p {
    max-width: 600px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 16px;
    line-height: 1.75;
}

.mds-hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 27px;
}


/* Hero Badges */

.mds-badges {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 11px;
}

.mds-badges span {
    padding: 9px 12px;

    white-space: nowrap;

    border:
        1px solid rgba(255, 255, 255, 0.13);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.035);
}

.mds-badges b {
    color: var(--mds-accent);
    font-size: 13px;
}


/* =========================================================
   08. HERO IMAGE
 /* =========================================================
   HERO VISUAL
   ========================================================= */

.mds-hero-visual {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    /* No border / no frame */
    border: none;
    outline: none;
}


/* Hero Image Container */

.mds-hero-photo {
    position: relative;

    width: min(100%, 650px);
    height: 500px;

    overflow: hidden;

    /* REMOVE OUTER BORDER */
    border: none;

    /* Remove rounded frame */
    border-radius: 0;

    /* Keep only image shadow */
    background: transparent;

    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.30);
}


/* Remove Overlay Frame */

.mds-hero-photo::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    /* Keep subtle image blending */
    background:
        linear-gradient(
            90deg,
            rgba(6, 26, 58, 0.15) 0%,
            transparent 35%
        ),
        linear-gradient(
            0deg,
            rgba(3, 19, 41, 0.20),
            transparent 35%
        );

    border: none;
}


/* REMOVE INNER GOLD/WHITE OUTLINE COMPLETELY */

.mds-hero-photo::after {
    display: none;

    content: none;
}


/* Hero Image */

.mds-hero-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    /* No image border */
    border: none;
    outline: none;

    border-radius: 0;
}


/* Hero Badge */

.mds-hero-photo-badge {
    position: absolute;

    left: 24px;
    bottom: 24px;

    z-index: 3;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 10px 14px;

    color: var(--mds-white);

    font-size: 10px;

    /* Badge itself can remain */
    border: 1px solid rgba(255, 255, 255, 0.13);

    border-radius: 10px;

    background:
        rgba(3, 19, 41, 0.82);

    backdrop-filter: blur(10px);
}

.mds-hero-photo-badge strong {
    color: var(--mds-accent);

    font-size: 15px;
}

.mds-hero-photo-badge span {
    color: rgba(255, 255, 255, 0.7);
}
/* =========================================================
   09. GENERAL SECTIONS
   ========================================================= */

.mds-section {
    padding: 88px 0;
}

.mds-section-light {
    background: var(--mds-bg);
}

.mds-dark-section {
    background: var(--mds-primary);
    color: var(--mds-white);
}

.mds-section-head {
    max-width: 760px;

    margin: 0 auto 42px;

    text-align: center;
}

.mds-section-head h2 {
    margin: 0 0 12px;

    font-size:
        clamp(30px, 4vw, 42px);

    line-height: 1.15;
}

.mds-section-head p {
    margin: 0;
    color: var(--mds-muted);
}

.mds-dark-section
.mds-section-head h2,
.mds-dark-section
.mds-section-head p {
    color: var(--mds-white);
}


/* =========================================================
   10. CARDS / SERVICES
   ========================================================= */

.mds-card-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.mds-card {
    padding: 27px;

    background: var(--mds-white);

    border:
        1px solid #E7E9EE;

    border-radius: var(--mds-radius);

    box-shadow: var(--mds-shadow);

    transition: var(--mds-transition);
}

.mds-card:hover {
    transform: translateY(-5px);
}

.mds-card-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 50%;

    background: var(--mds-primary);
    color: var(--mds-accent);

    font-size: 19px;
}

.mds-card h3 {
    margin: 0 0 8px;

    font-size: 18px;
}

.mds-card p {
    margin: 0 0 18px;

    color: var(--mds-muted);

    font-size: 13px;
}

.mds-text-link {
    color: var(--mds-primary);

    font-size: 12px;
    font-weight: 900;
}

.mds-dark-section .mds-text-link {
    color: var(--mds-accent);
}


/* =========================================================
   11. WHY CHOOSE US
   ========================================================= */

.mds-why-grid {
    display: grid;

    grid-template-columns:
        1.15fr 0.85fr;

    align-items: center;

    gap: 70px;
}

.mds-why-grid h2 {
    margin: 0 0 18px;

    font-size:
        clamp(34px, 4vw, 48px);

    line-height: 1.08;
}

.mds-why-grid p {
    max-width: 620px;

    color:
        rgba(255, 255, 255, 0.72);
}

.mds-why-points {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;
}

.mds-why-points div {
    display: flex;
    align-items: center;

    gap: 15px;

    padding: 22px;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: var(--mds-radius);
}

.mds-why-points b {
    color: var(--mds-accent);
    font-size: 12px;
}

.mds-why-points span {
    font-size: 13px;
}


/* =========================================================
   12. STATS
   ========================================================= */

.mds-stats {
    padding: 34px 0;

    background: var(--mds-deep);
    color: var(--mds-white);
}

.mds-stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}

.mds-stat {
    padding: 15px;

    text-align: center;

    border-right:
        1px solid rgba(255, 255, 255, 0.12);
}

.mds-stat:last-child {
    border-right: 0;
}

.mds-stat-icon {
    display: block;

    margin-bottom: 5px;

    color: var(--mds-accent);

    font-size: 22px;
}

.mds-stat strong {
    display: block;

    color: var(--mds-white);

    font-size: 28px;
}

.mds-stat > span:last-child {
    color: rgba(255, 255, 255, 0.62);

    font-size: 11px;
}


/* =========================================================
   13. PORTFOLIO
   ========================================================= */

.mds-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;

    margin: -5px 0 28px;
}

.mds-filter button {
    padding: 8px 14px;

    border:
        1px solid #DFE3EA;

    border-radius: 99px;

    background: var(--mds-white);

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;

    transition: var(--mds-transition);
}

.mds-filter button:hover,
.mds-filter button.active {
    border-color: var(--mds-accent);

    background: var(--mds-accent);
}

.mds-portfolio-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.mds-project-card {
    overflow: hidden;

    background: var(--mds-white);

    border:
        1px solid #E5E8EE;

    border-radius: var(--mds-radius);

    transition: var(--mds-transition);
}

.mds-project-card:hover {
    transform: translateY(-5px);
}

.mds-project-image {
    position: relative;

    display: block;

    height: 180px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #D8DDE7,
            #EFF1F5
        );
}

.mds-project-image img,
.mds-project-image .mds-image-placeholder {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.mds-image-placeholder {
    display: grid;
    place-items: center;

    background:
        linear-gradient(
            135deg,
            var(--mds-primary),
            #244D82
        );

    color: var(--mds-accent);

    font-size: 35px;
    font-weight: 900;
}

.mds-project-arrow {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--mds-white);
    color: var(--mds-primary);
}

.mds-project-body {
    padding: 17px;
}

.mds-project-cat {
    color: var(--mds-accent);

    font-size: 9px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mds-project-body h3 {
    margin: 5px 0;

    font-size: 16px;
}

.mds-project-body p {
    margin: 0;

    color: var(--mds-muted);

    font-size: 11px;
}

.mds-project-gallery {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;

    margin-top: 30px;
}

.mds-project-gallery img {
    width: 100%;

    border-radius: 10px;
}


/* =========================================================
   14. PROCESS
   ========================================================= */

.mds-process-grid {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 12px;
}

.mds-process-grid::before {
    content: "";

    position: absolute;

    top: 35px;
    left: 10%;
    right: 10%;

    border-top:
        1px dashed rgba(255, 184, 28, 0.45);
}

.mds-process-step {
    position: relative;

    text-align: center;
}

.mds-process-icon {
    width: 70px;
    height: 70px;

    display: grid;
    place-items: center;

    margin: 0 auto 10px;

    border:
        1px solid rgba(255, 184, 28, 0.45);

    border-radius: 50%;

    background: var(--mds-primary);

    color: var(--mds-accent);

    font-size: 22px;
}

.mds-process-step > span {
    color: var(--mds-accent);

    font-size: 10px;
    font-weight: 900;
}

.mds-process-step h3 {
    margin: 5px 0;

    font-size: 15px;
}

.mds-process-step p {
    margin: 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 11px;
}


/* =========================================================
   15. TESTIMONIALS
   ========================================================= */

.mds-testimonials-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.mds-testimonial {
    position: relative;

    padding: 28px;

    background: var(--mds-white);

    border:
        1px solid #E4E7ED;

    border-radius: var(--mds-radius);

    box-shadow: var(--mds-shadow);

    transition: var(--mds-transition);
}

.mds-testimonial:hover {
    transform: translateY(-5px);
}

.mds-quote {
    color: var(--mds-accent);

    font-size: 42px;
    line-height: 0.8;
}

.mds-stars {
    margin: 10px 0;

    color: var(--mds-accent);

    font-size: 13px;
}

.mds-testimonial p {
    min-height: 90px;

    color: var(--mds-muted);

    font-size: 13px;
}

.mds-client {
    display: flex;
    align-items: center;

    gap: 10px;
}

.mds-client img,
.mds-avatar {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    object-fit: cover;

    background: var(--mds-primary);
    color: var(--mds-accent);

    font-weight: 900;
}

.mds-client strong,
.mds-client small {
    display: block;
}

.mds-client strong {
    font-size: 12px;
}

.mds-client small {
    color: var(--mds-muted);

    font-size: 10px;
}


/* =========================================================
   16. PRICING
   ========================================================= */

.mds-pricing-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    align-items: stretch;
}

.mds-pricing-card {
    position: relative;

    padding: 28px;

    border:
        1px solid rgba(255, 255, 255, 0.25);

    border-radius: var(--mds-radius);

    background: transparent;
}

.mds-pricing-card.is-featured {
    transform: translateY(-8px);

    border-color: var(--mds-accent);

    background:
        rgba(255, 255, 255, 0.04);
}

.mds-popular {
    position: absolute;

    top: -13px;
    left: 50%;

    transform: translateX(-50%);

    padding: 5px 12px;

    border-radius: 99px;

    background: var(--mds-accent);
    color: var(--mds-deep);

    font-size: 9px;
    font-weight: 900;

    white-space: nowrap;
}

.mds-pricing-card h3 {
    margin: 0;

    font-size: 19px;
}

.mds-pricing-card > p {
    min-height: 42px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 11px;
}

.mds-price {
    display: flex;
    align-items: baseline;

    gap: 2px;

    margin: 22px 0;
}

.mds-price span {
    color: var(--mds-accent);

    font-size: 20px;
    font-weight: 900;
}

.mds-price strong {
    font-size: 46px;
    line-height: 1;
}

.mds-price small {
    margin-left: 6px;

    color: rgba(255, 255, 255, 0.5);
}

.mds-pricing-card ul {
    padding: 0;
    margin: 0 0 24px;

    list-style: none;
}

.mds-pricing-card li {
    padding: 7px 0;

    color: rgba(255, 255, 255, 0.75);

    font-size: 12px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}


/* =========================================================
   17. ABOUT
   ========================================================= */

.mds-about-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 70px;
}

.mds-about-grid h2 {
    margin: 0 0 18px;

    font-size: 42px;
    line-height: 1.1;
}

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

.mds-team-placeholder {
    position: relative;

    height: 360px;

    display: grid;
    place-items: center;

    overflow: hidden;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            var(--mds-primary),
            #1E4574
        );

    color: var(--mds-accent);

    box-shadow: var(--mds-shadow);
}

.mds-team-placeholder::after {
    content: "";

    position: absolute;
    inset: 25px;

    border:
        1px solid rgba(255, 184, 28, 0.25);

    border-radius: 12px;
}

.mds-team-placeholder span {
    font-size: 80px;
    font-weight: 900;
    font-style: italic;
}

.mds-team-placeholder small {
    position: absolute;

    bottom: 35px;

    font-size: 12px;

    letter-spacing: 0.2em;
}

.mds-check-list {
    padding: 0;
    margin: 20px 0;

    list-style: none;
}

.mds-check-list li {
    margin: 8px 0;

    font-size: 13px;
    font-weight: 700;
}

.mds-check-list li::before {
    content: "✓";

    margin-right: 9px;

    color: var(--mds-accent);

    font-weight: 900;
}


/* =========================================================
   18. CTA
   ========================================================= */

.mds-cta {
    padding: 65px 0;

    background:
        linear-gradient(
            135deg,
            var(--mds-primary),
            #0B2D59
        );

    color: var(--mds-white);
}

.mds-cta .mds-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.mds-cta h2 {
    margin: 0 0 10px;

    font-size: 38px;
}

.mds-cta p {
    margin: 0;

    color: rgba(255, 255, 255, 0.7);
}


/* =========================================================
   19. FOOTER
   ========================================================= */

.mds-footer {
    padding: 55px 0 18px;

    background: var(--mds-deep);

    color: var(--mds-white);
}

.mds-footer-grid {
    display: grid;

    grid-template-columns:
        1.3fr 1fr 1fr 1fr;

    gap: 40px;
}

.mds-brand-footer {
    margin-bottom: 16px;
}

.mds-brand-footer img {
    width: auto;
    max-width: 145px;
    height: 46px;

    object-fit: contain;
}

.mds-footer h3 {
    margin: 0 0 15px;

    color: var(--mds-accent);

    font-size: 13px;
}

.mds-footer p,
.mds-footer li,
.mds-footer a {
    color: rgba(255, 255, 255, 0.64);

    font-size: 11px;
}

.mds-footer ul {
    padding: 0;
    margin: 0;

    list-style: none;
}

.mds-footer li {
    margin: 7px 0;
}

.mds-footer a:hover {
    color: var(--mds-accent);
}


/* Social Icons */

.mds-socials {
    display: flex;

    gap: 7px;

    margin-top: 16px;
}

.mds-socials a {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(255, 255, 255, 0.18);

    border-radius: 50%;

    font-size: 8px;
}

.mds-socials a:hover {
    border-color: var(--mds-accent);

    color: var(--mds-accent);
}


/* Footer Bottom */

.mds-footer-bottom {
    display: flex;
    justify-content: space-between;

    gap: 15px;

    margin-top: 40px;
    padding-top: 16px;

    border-top:
        1px solid rgba(255, 255, 255, 0.1);
}


/* =========================================================
   20. WHATSAPP FLOATING BUTTON
   ========================================================= */

.mds-floating-wa {
    position: fixed;

    bottom: 22px;

    z-index: 998;

    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #25D366;
    color: var(--mds-white);

    font-size: 25px;

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.2);

    transition: var(--mds-transition);
}

.mds-floating-wa:hover {
    transform:
        translateY(-4px)
        scale(1.03);
}

.mds-wa-right {
    right: 22px;
}

.mds-wa-left {
    left: 22px;
}


/* =========================================================
   21. PAGE HERO
   ========================================================= */

.mds-page-hero {
    padding: 75px 0;

    background:
        linear-gradient(
            135deg,
            var(--mds-deep),
            var(--mds-primary)
        );

    color: var(--mds-white);
}

.mds-page-hero h1 {
    margin: 0 0 10px;

    font-size:
        clamp(36px, 5vw, 54px);

    line-height: 1.1;
}

.mds-page-hero p {
    max-width: 650px;

    color: rgba(255, 255, 255, 0.7);
}


/* =========================================================
   22. BLOG / CONTENT
   ========================================================= */

.mds-content-grid {
    display: grid;

    grid-template-columns:
        1fr 300px;

    gap: 50px;

    padding: 70px 0;
}

.mds-post-list {
    display: grid;

    gap: 18px;
}

.mds-post-card {
    display: grid;

    grid-template-columns:
        280px 1fr;

    overflow: hidden;

    background: var(--mds-white);

    border:
        1px solid #E5E8EE;

    border-radius: var(--mds-radius);
}

.mds-post-card img,
.mds-post-card .mds-image-placeholder {
    width: 100%;
    height: 100%;

    min-height: 200px;

    object-fit: cover;
}

.mds-post-body {
    padding: 25px;
}

.mds-post-body h2 {
    margin: 5px 0 8px;

    font-size: 24px;
}

.mds-post-body p {
    color: var(--mds-muted);
}

.mds-post-date {
    color: var(--mds-accent);

    font-size: 10px;
    font-weight: 900;
}

.mds-widget {
    padding: 22px;

    margin-bottom: 18px;

    border-radius: var(--mds-radius);

    background: var(--mds-bg);
}

.mds-widget h3 {
    margin-top: 0;
}


/* =========================================================
   23. SINGLE / DETAIL PAGES
   ========================================================= */

.mds-page-content,
.mds-detail,
.mds-single {
    padding: 70px 0;
}

.mds-detail {
    display: grid;

    grid-template-columns:
        1fr 330px;

    gap: 45px;
}

.mds-detail-main > img {
    width: 100%;

    margin-bottom: 30px;

    border-radius: var(--mds-radius);
}

.mds-detail-side {
    position: relative;
}

.mds-panel {
    position: sticky;
    top: 100px;

    padding: 28px;

    border-radius: var(--mds-radius);

    background: var(--mds-primary);

    color: var(--mds-white);
}

.mds-panel h3 {
    margin-top: 0;
}

.mds-panel .mds-btn {
    margin-top: 10px;
}

.mds-entry-content {
    font-size: 16px;
}

.mds-entry-content h2,
.mds-entry-content h3 {
    line-height: 1.2;
}

.mds-single .mds-container > h1 {
    font-size: 50px;
    line-height: 1.1;
}

.mds-single-image {
    margin: 30px 0;
}

.mds-single-image img {
    width: 100%;

    border-radius: var(--mds-radius);
}

.mds-meta {
    color: var(--mds-muted);

    font-size: 12px;
}


/* =========================================================
   24. PROJECT META
   ========================================================= */

.mds-project-meta {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-bottom: 30px;
}

.mds-project-meta span {
    padding: 15px;

    border-radius: 8px;

    background: var(--mds-bg);

    font-size: 12px;
}

.mds-project-meta strong {
    display: block;

    margin-bottom: 4px;

    color: var(--mds-muted);

    font-size: 9px;

    text-transform: uppercase;
}


/* =========================================================
   25. CONTACT
   ========================================================= */

.mds-contact-grid {
    display: grid;

    grid-template-columns:
        0.75fr 1.25fr;

    gap: 35px;
}

.mds-contact-info {
    display: grid;

    gap: 12px;
}

.mds-contact-info > div {
    padding: 20px;

    border-radius: var(--mds-radius);

    background: var(--mds-primary);

    color: var(--mds-white);
}

.mds-contact-info span {
    color: var(--mds-accent);

    font-size: 20px;
}

.mds-contact-info h3 {
    margin: 4px 0;

    font-size: 14px;
}

.mds-contact-info a,
.mds-contact-info p {
    margin: 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 12px;
}


/* Contact Form */

.mds-form-panel {
    padding: 30px;

    background: var(--mds-white);

    border:
        1px solid #E3E7EE;

    border-radius: var(--mds-radius);

    box-shadow: var(--mds-shadow);
}

.mds-form-panel h2 {
    margin-top: 0;
}

.mds-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;
}

.mds-form-grid label {
    font-size: 11px;
    font-weight: 800;
}

.mds-form-grid label.full {
    grid-column: 1 / -1;
}

.mds-form-grid input,
.mds-form-grid textarea {
    display: block;

    width: 100%;

    margin-top: 6px;

    padding: 12px;

    border:
        1px solid #DFE3EA;

    border-radius: 7px;

    background: var(--mds-white);

    font: inherit;

    transition: var(--mds-transition);
}

.mds-form-grid textarea {
    min-height: 140px;

    resize: vertical;
}

.mds-form-grid input:focus,
.mds-form-grid textarea:focus {
    outline:
        2px solid rgba(255, 184, 28, 0.4);

    border-color: var(--mds-accent);
}

.mds-contact-form .mds-btn {
    margin-top: 18px;
}

.mds-honeypot {
    position: absolute;

    left: -9999px;
}

.mds-form-status {
    margin-top: 12px;

    font-size: 12px;
}

.mds-service-icon {
    color: var(--mds-accent);

    font-size: 30px;
}


/* =========================================================
   26. CENTER ALIGNMENT
   ========================================================= */

.mds-center {
    margin-top: 30px;

    text-align: center;
}


/* =========================================================
   27. TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .mds-hero-grid {
        grid-template-columns: 1fr;
    }

    .mds-hero-visual {
        justify-content: center;
    }

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

    .mds-portfolio-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

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

    .mds-process-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .mds-about-grid,
    .mds-why-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

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

    .mds-content-grid,
    .mds-detail {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   28. MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .mds-container {
        width: min(
            calc(100% - 30px),
            var(--mds-container)
        );
    }

    .mds-section {
        padding: 65px 0;
    }

    .mds-header-inner {
        min-height: 64px;
    }

    .mds-nav {
        display: none;
    }

    .mds-header-actions {
        margin-left: auto;
    }

    .mds-header-wa {
        display: none;
    }

    .mds-menu-toggle {
        display: block;

        color: var(--mds-white);

        font-size: 24px;

        cursor: pointer;
    }

    .mds-hero-grid {
        min-height: auto;

        padding: 65px 0 50px;
    }

    .mds-hero h1 {
        font-size: clamp(38px, 10vw, 52px);
    }

    .mds-hero-photo {
        height: 380px;
    }

    .mds-card-grid,
    .mds-testimonials-grid,
    .mds-pricing-grid,
    .mds-portfolio-grid {
        grid-template-columns: 1fr;
    }

    .mds-process-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 30px 15px;
    }

    .mds-process-grid::before {
        display: none;
    }

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

    .mds-stat {
        border-right: 0;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.12);
    }

    .mds-stat:nth-child(3),
    .mds-stat:nth-child(4) {
        border-bottom: 0;
    }

    .mds-cta .mds-container {
        flex-direction: column;

        align-items: flex-start;
    }

    .mds-footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .mds-footer-bottom {
        flex-direction: column;
    }

    .mds-post-card {
        grid-template-columns: 1fr;
    }

    .mds-post-card img,
    .mds-post-card .mds-image-placeholder {
        min-height: 220px;
    }

    .mds-contact-grid {
        grid-template-columns: 1fr;
    }

    .mds-form-grid {
        grid-template-columns: 1fr;
    }

    .mds-form-grid label.full {
        grid-column: auto;
    }

    .mds-project-meta {
        grid-template-columns: 1fr;
    }

    .mds-single .mds-container > h1 {
        font-size: 38px;
    }

    .mds-detail {
        padding: 50px 0;
    }

    .mds-panel {
        position: static;
    }
}


/* =========================================================
   29. SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .mds-container {
        width: calc(100% - 24px);
    }

    .mds-hero-buttons {
        flex-direction: column;
    }

    .mds-hero-buttons .mds-btn {
        width: 100%;
    }

    .mds-hero-photo {
        height: 300px;

        border-radius: 16px;
    }

    .mds-hero-photo-badge {
        left: 15px;
        bottom: 15px;
    }

    .mds-process-grid {
        grid-template-columns: 1fr;
    }

    .mds-why-points {
        grid-template-columns: 1fr;
    }

    .mds-cta h2 {
        font-size: 30px;
    }

    .mds-floating-wa {
        width: 50px;
        height: 50px;

        bottom: 16px;
    }

    .mds-wa-right {
        right: 16px;
    }

    .mds-wa-left {
        left: 16px;
    }
}


/* =========================================================
   MDS FINAL HERO + MENU FIX
   ========================================================= */

/* Desktop: hide mobile menu button */
@media (min-width: 769px) {
    .mds-menu-toggle {
        display: none !important;
    }
}

/* Mobile: SHOW menu button */
@media (max-width: 768px) {
    .mds-menu-toggle {
        display: block !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        background: transparent !important;
        color: var(--mds-white) !important;
        font-size: 24px !important;
        cursor: pointer;
    }

    .mds-menu-toggle::before,
    .mds-menu-toggle::after {
        display: none !important;
        content: none !important;
    }
}

/* Remove hero decorative circle */
.mds-hero::after {
    display: none !important;
    content: none !important;
    border: none !important;
}

/* Remove hero visual border */
.mds-hero-visual {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Remove hero image container border/frame */
.mds-hero-photo {
    border: none !important;
    outline: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Remove actual image border */
.mds-hero-image {
    border: none !important;
    outline: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Remove image pseudo-element frame */
.mds-hero-photo::before,
.mds-hero-photo::after {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Remove any border/frame from hero images */
.mds-hero img,
.mds-hero picture,
.mds-hero figure {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Mobile hero image */
@media (max-width: 768px) {
    .mds-hero-photo {
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .mds-hero-image {
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
}
/* =========================================================
   MDS RESPONSIVE HERO FIX
   ========================================================= */

/* HERO VISUAL - ALWAYS VISIBLE */
.mds-hero-visual {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* HERO PHOTO - ALWAYS VISIBLE */
.mds-hero-photo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    border: none !important;
    outline: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* HERO IMAGE */
.mds-hero-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 100% !important;
    height: 100% !important;

    border: none !important;
    outline: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    object-fit: cover;
}


/* =========================================================
   TABLET 769px - 1024px
   ========================================================= */

@media (min-width: 769px) and (max-width: 1024px) {

    .mds-header {
        display: block !important;
    }

    .mds-header-inner {
        min-height: 70px;
    }

    /* Show hero image */
    .mds-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
        padding: 55px 0 50px !important;
    }

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

    .mds-hero h1 {
        max-width: 850px;
        margin-left: auto;
        margin-right: auto;

        font-size: clamp(42px, 6vw, 58px);
    }

    .mds-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .mds-hero-buttons {
        justify-content: center;
    }

    .mds-hero-visual {
        display: flex !important;
        justify-content: center !important;
        min-height: 450px;
    }

    .mds-hero-photo {
        width: min(100%, 700px) !important;
        height: 450px !important;
    }

    /* Hide desktop navigation */
    .mds-nav {
        display: none !important;
    }

    /* Show menu button */
    .mds-menu-toggle {
        display: block !important;
    }
}


/* =========================================================
   MOBILE <= 768px
   ========================================================= */

@media (max-width: 768px) {

    .mds-header {
        display: block !important;
    }

    .mds-nav {
        display: none !important;
    }

    .mds-menu-toggle {
        display: block !important;
        color: var(--mds-white) !important;
        background: transparent !important;
        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;
        font-size: 24px !important;
    }

    .mds-hero-grid {
        grid-template-columns: 1fr !important;
    }

    .mds-hero-visual {
        display: flex !important;
        justify-content: center !important;
        min-height: auto;
    }

    .mds-hero-photo {
        width: 100% !important;
        height: 380px !important;
        border-radius: 0 !important;
    }

    .mds-hero-image {
        border-radius: 0 !important;
    }
}


/* =========================================================
   SMALL MOBILE <= 480px
   ========================================================= */

@media (max-width: 480px) {

    .mds-hero-photo {
        width: 100% !important;
        height: 300px !important;
        border-radius: 0 !important;
    }

    .mds-hero-image {
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
    }
}


/* =========================================================
   REMOVE DECORATIVE HERO CIRCLE
   ========================================================= */

.mds-hero::after {
    display: none !important;
    content: none !important;
    border: 0 !important;
}


/* REMOVE IMAGE FRAME */
.mds-hero-photo::before,
.mds-hero-photo::after {
    display: none !important;
    content: none !important;
    border: 0 !important;
}

/* =========================================================
   MOBILE MENU - 3 WHITE DOTS
   ========================================================= */

@media (max-width: 1024px) {

    .mds-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;

        width: 40px !important;
        height: 40px !important;

        padding: 0 !important;
        margin: 0 !important;

        background: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;

        color: #FFFFFF !important;
        font-size: 0 !important;
        cursor: pointer;
    }

    /* Remove existing icon/text */
    .mds-menu-toggle::before,
    .mds-menu-toggle::after {
        content: "" !important;
        display: block !important;
        position: absolute;
    }

    /* 3 DOTS */
    .mds-menu-toggle {
        position: relative;
    }

    .mds-menu-toggle span,
    .mds-menu-toggle i {
        display: none !important;
    }

    .mds-menu-toggle::before {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #FFFFFF;

        box-shadow:
            0 -9px 0 #FFFFFF,
            0 9px 0 #FFFFFF;
    }
}
/* =========================================================
   MOBILE / TABLET MENU - 3 WHITE DOTS
   ========================================================= */

@media (max-width: 1024px) {

    .mds-menu-toggle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        position: relative !important;

        width: 34px !important;
        height: 34px !important;

        padding: 0 !important;
        margin: 0 !important;

        /* Remove white box */
        background: transparent !important;
        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;

        /* Hide original icon/text */
        font-size: 0 !important;
        color: transparent !important;

        cursor: pointer !important;

        /* 3 WHITE DOTS */
        background-image:
            radial-gradient(
                circle,
                #ffffff 0,
                #ffffff 3px,
                transparent 3.5px
            ) !important;

        background-size: 7px 7px !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

    /* Create top and bottom dots */
    .mds-menu-toggle::before {
        content: "" !important;

        position: absolute !important;
        top: 5px !important;
        left: 50% !important;

        width: 6px !important;
        height: 6px !important;

        transform: translateX(-50%) !important;

        background: #ffffff !important;
        border-radius: 50% !important;

        box-shadow:
            0 9px 0 #ffffff,
            0 18px 0 #ffffff !important;

        display: block !important;
    }

    .mds-menu-toggle::after {
        display: none !important;
        content: none !important;
    }
}


/* =========================================================
   DESKTOP - HIDE MOBILE MENU
   ========================================================= */

@media (min-width: 1025px) {
    .mds-menu-toggle {
        display: none !important;
    }
}


/* =========================================================
   REMOVE WHITE BOX FROM BUTTON STATES
   ========================================================= */

.mds-menu-toggle:hover,
.mds-menu-toggle:focus,
.mds-menu-toggle:active {
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

