/* PART 1 */


/* ========================= */
/* SEARCH SECTION */
/* ========================= */

.dco-search-section {
    position: relative;
    width: 100%;
    overflow: hidden;

    background:
        linear-gradient(135deg,
            #f0f9ff 0%,
            #ffffff 52%,
            #e0f2fe 100%);
}

/* ========================= */
/* BACKGROUND GLOW */
/* ========================= */
/*
.dco-search-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.dco-search-glow-1 {
    width: 280px;
    height: 280px;
    background: rgba(14, 165, 233, 0.15);
    top: -80px;
    left: -50px;
}

.dco-search-glow-2 {
    width: 240px;
    height: 240px;

    background: rgba(59, 130, 246, 0.12);
    bottom: -80px;
    right: -50px;
}
    */

/* ========================= */
/* CONTAINER */
/* ========================= */

.dco-search-container {
    position: relative;

    width: 100%;

    display: grid;

    grid-template-columns: minmax(0, 43%) minmax(0, 57%);
    grid-template-rows: auto max-content auto;
    align-items: stretch;
    align-content: start;

    grid-template-areas:
        "content visual"
        "card visual"
        "trust visual";

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

body.landing-mode2 .dco-search-card {
    grid-area: card;
    align-self: start;

    width: min(100%, 540px);
    max-width: 540px;

    margin: 14px 20px 0 clamp(32px, 3vw, 40px);

    padding: 6px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;

    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.92);

    border: 1px solid rgba(14, 165, 233, 0.13);

    border-radius: 24px;

    box-shadow:
        0 25px 60px rgba(14, 165, 233, 0.12);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    z-index: 10;
}

/* ========================= */
/* LEFT */
/* ========================= */

.dco-search-left {
    grid-area: content;

    width: 100%;
    max-width: 620px;

    margin: 0;
    padding: 10px 20px 0 clamp(32px, 3vw, 40px);

    text-align: left;
}

/* badge */

.dco-search-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 10px;

    border-radius: 40px;

    background: rgba(10, 75, 161, 0.10);
    color: #0A4BA1;

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

    margin-top: 10px;
    margin-bottom: 12px;
}

.dco-badge-dot {
    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #18A558;
}

/* title */

.dco-search-left h2 {
    width: 100%;

    margin: 0 0 12px;

    font-size: clamp(36px, 3.5vw, 52px);
    line-height: 1.05;

    font-weight: 750;

    letter-spacing: -1px;

    color: #07347B;
}

.dco-search-left h2 span {
    background: #07347B;

    background-clip: text;
    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
}

.dco-search-left h2 .expert {
    display: block;

    background: #EF2F35;

    background-clip: text;
    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
}

/* =========================================================
   DESCRIPTION
   ========================================================= */

.dco-search-left p {
    margin: 0;

    max-width: 560px;

    color: #64748b;

    font-size: 17px;
    line-height: 1.4;
}






/* PART 2 */


/* ========================= */
/* SEARCH CARD */
/* ========================= */

.dco-search-card {
    grid-area: card;
    align-self: start;

    width: min(100%, 540px);
    max-width: 540px;

    margin: 14px 20px 0 clamp(32px, 3vw, 40px);

    padding: 10px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;

    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.92);

    border: 1px solid rgba(14, 165, 233, 0.13);

    border-radius: 24px;

    box-shadow:
        0 25px 60px rgba(14, 165, 233, 0.12);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    z-index: 10;
}

/* ========================= */
/* PATIENT TRUST */
/* ========================= */

.dco-trust {
    grid-area: trust;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 18px 20px 24px clamp(32px, 3vw, 40px);
    padding-left: 2px;
}

.dco-trust-avatars {
    display: flex;
    flex-shrink: 0;
}

.dco-trust-avatars img {
    width: 46px;
    height: 46px;
    margin-left: -10px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    object-fit: cover;
}

.dco-trust-avatars img:first-child {
    margin-left: 0;
}

.dco-trust-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dco-trust-stars {
    display: flex;
    gap: 4px;
    color: #f5b400;
    font-size: 16px;
}

.dco-trust-copy span {
    color: #64748b;
    font-size: 14px;
    line-height: 1.35;
}

/* ========================= */
/* SEARCH FIELD */
/* ========================= */

.dco-search-field {
    position: relative;

    display: flex;
    align-items: center;

    gap: 10px;

    width: 100%;

    min-height: 56px;

    padding: 6px 10px;

    margin-bottom: 0;

    box-sizing: border-box;

    border-radius: 18px;

    background: #f6faff;

    border: 1px solid transparent;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

/* Location */
.dco-location-field .dco-field-icon {
    background: #0A4BA1;
    color: #FFFFFF;
}

/* Doctor */
.dco-search-field:nth-child(2) .dco-field-icon {
    background: #18A558;
    color: #FFFFFF;
}

/* Clinic */
.dco-search-field:nth-child(3) .dco-field-icon {
    background: #E53935;
    color: #FFFFFF;
}

/* Specialization */
.dco-search-field:nth-child(4) .dco-field-icon {
    background: #0D63D4;
    color: #FFFFFF;
}

.dco-search-field:focus-within {
    background: #ffffff;

    border-color: rgba(10, 75, 161, 0.25);

    box-shadow:
        0 0 0 4px rgba(10, 75, 161, 0.08);
}

/* icon */

.dco-field-icon {
    width: 36px;
    height: 36px;

    flex-shrink: 0;

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

    border-radius: 50%;

    color: #ffffff;

    font-size: 15px;
}

.dco-field-icon i {
    color: white;
}

/* content */

.dco-field-content {
    flex: 1;
    min-width: 0;
}

.dco-field-content label {
    display: block;

    margin-bottom: 2px;

    color: #0A4BA1;

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

/* input */

.dco-field-content input {
    display: block;

    width: 100%;

    padding: 0;

    border: none;
    outline: none;

    background: transparent;

    color: #111827;

    font-size: 15px;

    font-family: inherit;
}

.dco-field-content input::placeholder {
    color: #9ca3af;
}

/* ========================= */
/* SEARCH BUTTON */
/* ========================= */

.dco-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    grid-column: 1 / -1;

    margin-top: 4px;

    padding: 14px;

    border: none;
    border-radius: 22px;

    background: #07347B;
    background-image: none;

    color: #ffffff;

    font-size: 15px;
    font-weight: 650;

    gap: 10px;

    cursor: pointer;
    box-shadow: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.dco-search-btn:hover {
    background: #05295f;
    background-image: none;
    transform: translateY(-1px);
    box-shadow: none;
}

.dco-search-btn i {
    font-size: 16px;
}




/* PART 3 */

/* ========================= */
/* QUICK TAGS */
/* ========================= */

.dco-quick-tags {
    display: flex;
    flex-wrap: wrap;

    grid-column: 1 / -1;

    gap: 8px;

    margin-top: 12px;

    padding: 0 2px 2px;
}

.dco-quick-tags span,
.dco-quick-tags button.dco-quick-tag {
    padding: 10px 16px;

    border-radius: 40px;

    background: #eef8ff;

    color: #0369a1;

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

    transition: all 0.3s ease;

    cursor: pointer;
}

.dco-quick-tags button.dco-quick-tag {
    padding: 8px 14px;

    border: none;
    border-radius: 40px;

    background: #edf7ff;

    color: #0A4BA1;

    font-family: inherit;

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

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.dco-quick-tags button.dco-quick-tag:hover {
    background: #0A4BA1;
    color: #ffffff;

    transform: translateY(-2px);
}

.dco-quick-tags span:hover,
.dco-quick-tags button.dco-quick-tag:hover {
    background: #0284c7;
    color: white;
}


/* ========================= */
/* DROPDOWN */
/* ========================= */

.dco-dropdown {
    position: absolute;

    top: calc(100% + 8px);
    left: 0;

    width: 100%;

    background: #ffffff;

    border-radius: 18px;

    border: 1px solid rgba(14, 165, 233, 0.10);

    box-shadow:
        0 20px 45px rgba(14, 165, 233, 0.15);

    overflow: hidden;

    z-index: 100;
}


/* ========================= */
/* NEW REDESIGN */
/* ========================= */

/* =========================================================
   DCO SEARCH RIGHT VISUAL
   ========================================================= */

body.landing-mode2 .dco-search-visual {
    grid-area: visual;

    position: relative;

    width: 100%;

    margin: 0;

    overflow: hidden;

    border-radius: 0;

    z-index: 1;

    align-self: stretch;
    height: clamp(540px, 47.3vw, 620px);
    min-height: 0;

    --dco-panel-slant: 90px;
    --dco-panel-gap: 5px;
}


/* =========================================================
   COLORED ANGLED PANELS
   ========================================================= */

body.landing-mode2 .dco-visual-panel {
    position: absolute;

    top: 0;
    bottom: 0;

    height: 100%;

    overflow: hidden;

    transform: none;
}


body.landing-mode2 .dco-panel-red {
    /*
    position: absolute;
    top: 0;
    bottom: 0;
    left:20%;
    width: 64%;
    clip-path: polygon(var(--dco-panel-slant) 0,
            100% 0,
            calc(100% - var(--dco-panel-slant)) 100%,
            0 100%);
    background: #EF2F35;
    z-index: 1;
    */
    left: 20%;
    background: #EF2F35;
    z-index: 1;
}

body.landing-mode2 .dco-panel-green {
    /*
    position: absolute;
    top: 0;
    bottom: 0;
    left: 46.6667%;
    clip-path: polygon(var(--dco-panel-slant) 0,
            100% 0,
            calc(100% - var(--dco-panel-slant)) 100%,
            0 100%);
    width: 42%;
    background: #08A85A;
    z-index: 2;
    */
     left: 46.6667%;
    background: #08A85A;
    z-index: 2;
}

body.landing-mode2 .dco-panel-blue {
   /*
    position: absolute;
    top: 0;
    bottom: 0;
    background: #07347B;
    left: 73.3334%;
    width: calc(270px - 6%);
    clip-path: polygon(var(--dco-panel-slant) 0,
            100% 0,
            calc(100% - var(--dco-panel-slant)) 100%,
            0 100%);
    z-index: 3;
    */
    left: 73.3334%;
    background: #07347B;
    z-index: 3;
}


/* =========================================================
   PANEL CONTENT
   ========================================================= */


body.landing-mode2 .dco-panel-content {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 100%;

    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: #ffffff;
    z-index: 2;
}
/*
body.landing-mode2 .dco-panel-green::before,
body.landing-mode2 .dco-panel-blue::before {
    position: absolute;
    inset: 0;
    content: "";
    background: #ffffff;
    pointer-events: none;
    z-index: 0;
}


body.landing-mode2 .dco-panel-green::before {
    clip-path: polygon(31% 0,
            33% 0,
            17% 100%,
            15% 100%);
}

body.landing-mode2 .dco-panel-blue::before {
    clip-path: polygon(20.6% 0,
            23.4% 0,
            7.4% 100%,
            4.6% 100%);
}
            */

/*
body.landing-mode2 .dco-panel-red::before,
body.landing-mode2 .dco-panel-green::before,
body.landing-mode2 .dco-panel-blue::before {
    position: absolute;
    inset: 0;

    content: "";

    background: #ffffff;

    clip-path: polygon(
        calc(31.034% - 5px) 0,
        31.034% 0,
        5px 100%,
        0 100%
    );

    pointer-events: none;

    z-index: 1;
}
    */

body.landing-mode2 .dco-panel-green::before,
body.landing-mode2 .dco-panel-blue::before {
    position: absolute;
    inset: 0;

    content: "";

    background: #ffffff;

    clip-path: polygon(
        calc(31.034% - 5px) 0,
        31.034% 0,
        5px 100%,
        0 100%
    );

    pointer-events: none;
    z-index: 1;
}

body.landing-mode2 .dco-panel-red .dco-panel-content,
body.landing-mode2 .dco-panel-green .dco-panel-content {
    top: 50%;
    left: 50%;
    width: 70%;
}

body.landing-mode2 .dco-panel-blue .dco-panel-content {
    top: 50%;
    left: 42%;
    width: 70%;
}

body.landing-mode2 .dco-panel-red,
body.landing-mode2 .dco-panel-green,
body.landing-mode2 .dco-panel-blue {
    /*
    
    
    position: absolute;

    top: 0;
    bottom: 0;

    width: 38.6667%;
    height: 100%;

    overflow: hidden;

    clip-path: polygon(
        31.034% 0,
        100% 0,
        68.966% 100%,
        0 100%
    );
    */
    position: absolute;

    top: 0;
    bottom: 0;

    width: 38.6667%;
    height: 100%;

    overflow: hidden;

    clip-path: polygon(
        31.034% 0,
        100% 0,
        68.966% 100%,
        0 100%
    );
}


body.landing-mode2 .dco-panel-content i {
    width: 48px;
    height: 48px;

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

    margin-bottom: 12px;

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

    border-radius: 50%;

    font-size: 19px;
    z-index: 2;
}

body.landing-mode2 .dco-panel-content span {
    font-size: 17px;

    font-weight: 650;

    line-height: 1.4;
}


/* =========================================================
   DOCTOR
   ========================================================= */

body.landing-mode2 .dco-visual-doctor {
    position: absolute;

    left: -2%;

    bottom: 0;

    width: auto;

    height: 90%;

    min-height: 0;
    max-height: 100%;

    z-index: 5;

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

    pointer-events: none;
}

body.landing-mode2 .dco-visual-doctor img {
    display: block;

    width: auto;
    height: 100%;

    object-fit: contain;

    object-position: center bottom;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 901px) {

    .dco-search-left {
        margin-top: 0;
    }

    body.landing-mode2 .dco-trust {
        align-self: start;
        margin-top: 18px;
        margin-bottom: 24px;
    }

    body.landing-mode2 .dco-visual-doctor {
        /*  left: calc(592px - 43vw); */
        left: -20px;
    }
  /*
    body.landing-mode2 .dco-panel-red .dco-panel-content {
       top: 50%;
        left: 69%;
        width: 38%;
       
        
        top: 50%;
    left: 56%;
    width: 38%;
        z-index: 4;
    }*/
 /*
    body.landing-mode2 .dco-panel-green .dco-panel-content {
        top: 50%;
       left: 50%;
        width: 70%;

        left: 50%;
    width: 24%;
        z-index: 4;
    }
    */

    body.landing-mode2 .dco-panel-blue .dco-panel-content {
        /*
        top: 50%;
        left: 55%;
        width: 80%;
        */
        top: 50%;
     /*   left: 45%;
    width: 72%; */
        z-index: 4;

        left: 42%;

        width: 70%;

        transform: translate(-50%, -50%);

    }
/*
     body.landing-mode2 .dco-search-visual {
        --dco-panel-slant: 82px;
        --dco-panel-gap: 5px;
    }
        */
        body.landing-mode2 .dco-panel-red .dco-panel-content,
    body.landing-mode2 .dco-panel-green .dco-panel-content {
        top: 50%;
        left: 50%;

        width: 70%;

        transform: translate(-50%, -50%);

        z-index: 4;
    }

   
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .dco-search-container {
        grid-template-columns: 1fr;

        grid-template-areas:
            "content"
            "card"
            "trust"
            "visual";

        padding: 35px 30px;
    }

    .dco-search-left {
        width: 100%;
        max-width: 100%;

        padding: 0;
    }

    .dco-search-card {
        width: 100%;
        max-width: 100%;

        margin: 18px 0 16px;
    }

    body.landing-mode2 .dco-search-visual {
        width: 100%;
        height: 380px;
        min-height: 0;

        margin-top: 10px;

        border-radius: 24px;
    }

    body.landing-mode2 .dco-visual-doctor {
        left: -7%;
        width: auto;
        height: 86%;
        bottom: 1%;
    }

    body.landing-mode2 .dco-trust {
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .dco-search-container {
        padding: 25px 16px 30px;
    }

    .dco-search-badge {
        padding: 10px 16px;

        font-size: 14px;
    }

    .dco-search-left h2 {
        font-size: 36px;

        letter-spacing: -1px;
    }

    .dco-search-left p {
        font-size: 16px;
    }

    .dco-search-card {
        padding: 7px;

        border-radius: 22px;

        grid-template-columns: 1fr;
    }

    .dco-search-field {
        min-height: 62px;

        padding: 7px 10px;

        border-radius: 18px;
    }

    .dco-field-icon {
        width: 36px;
        height: 36px;

        font-size: 15px;
    }

    .dco-field-content label {
        font-size: 12px;
    }

    .dco-field-content input {
        font-size: 15px;
    }

    .dco-search-btn {
        padding: 16px;

        font-size: 15px;
    }

    .dco-quick-tags {
        gap: 7px;
    }

    .dco-quick-tags button.dco-quick-tag {
        padding: 8px 13px;

        font-size: 13px;
    }

    body.landing-mode2 .dco-search-visual {
        height: 300px;
        min-height: 0;
    }

    body.landing-mode2 .dco-panel-content span {
        font-size: 9px;
    }

    body.landing-mode2 .dco-panel-content i {
        width: 30px;
        height: 30px;

        margin-bottom: 8px;

        font-size: 11px;
    }

    body.landing-mode2 .dco-visual-doctor {
        left: 0;
        width: 55%;
        height: 75%;
        bottom: 0;
    }

    body.landing-mode2 .dco-panel-red .dco-panel-content {
      /*  top: 12%; */
        top: 50%;
    left: 50%;
    width: 70%;
    }
}