/**
 * Our Clients Section Styles
 * Two-column grid with media cards, hover-to-play, and load more
 */

/* ─── Section Container ─────────────────────────────────────────────────────── */
.dpf-clients-section {
    max-width: 1291px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 0 70px;
    box-sizing: border-box;
}

/* ─── Grid Layout ───────────────────────────────────────────────────────────── */
.dpf-clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 89px;
    width: 100%;
}

/* ─── Client Card ───────────────────────────────────────────────────────────── */
.dpf-client-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dpf-client-media {
    position: relative;
    width: 100%;
    aspect-ratio: 596 / 335;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 0;
}

.dpf-client-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

/* .dpf-client-media:hover .dpf-gallery-slider img {
   transform: scale(1);
}

.dpf-video-wrap video,
.dpf-client-media img,
.dpf-client-media .dpf-gallery-slider .slick-list {
  transition: .4s
}

.dpf-video-wrap:hover video,
.dpf-client-media:hover img,
.dpf-client-media:hover .dpf-gallery-slider .slick-list {
   transform: scale(1.11);
} */



/* ─── Client Name ───────────────────────────────────────────────────────────── */
.dpf-client-name {
    font-family: inherit;
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    color: #000;
    margin: 18px 0 0 0;
    padding: 0;
}

/* ─── Play Icon Overlay ─────────────────────────────────────────────────────── */
.dpf-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.dpf-client-card:hover .dpf-play-icon {
    opacity: 0;
}

/* ─── MP4 Video ─────────────────────────────────────────────────────────────── */
.dpf-video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.dpf-video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── Embed Video (YouTube/Vimeo) ───────────────────────────────────────────── */
.dpf-embed-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.dpf-embed-wrap .dpf-embed-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.dpf-embed-wrap .dpf-embed-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 2;
    /* Let clicks pass through to the card so the lightbox opens on click. */
    pointer-events: none;
}

/* ─── Gallery Slider ────────────────────────────────────────────────────────── */
.dpf-gallery-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.dpf-gallery-slider.slick-initialized {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.dpf-gallery-slider .slick-list {
    height: 100% !important;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.dpf-gallery-slider .slick-track {
    height: 100% !important;
}

.dpf-gallery-slider .slick-slide {
    height: 100% !important;
}

.dpf-gallery-slider .slick-slide > div {
    height: 100%;
}

.dpf-gallery-slider .dpf-gallery-slide {
    height: 100% !important;
}

.dpf-gallery-slider .dpf-gallery-slide img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.dpf-gallery-slider .slick-prev,
.dpf-gallery-slider .slick-next {
    z-index: 3;
    width: 36px;
    height: 36px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    padding: 0;
    font-size: 0;
    line-height: 0;
}

.dpf-gallery-slider .slick-prev {
    left: 10px;
}

.dpf-gallery-slider .slick-next {
    right: 10px;
}

.dpf-gallery-slider .slick-prev:before {
    content: '\2039';
    font-size: 24px;
    color: #fff;
    opacity: 1;
    line-height: 1;
    font-family: inherit;
}

.dpf-gallery-slider .slick-next:before {
    content: '\203A';
    font-size: 24px;
    color: #fff;
    opacity: 1;
    line-height: 1;
    font-family: inherit;
}

.dpf-gallery-slider .slick-dots {
    bottom: 12px;
    z-index: 3;
    position: absolute;
    left: 0;
    right: 0;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dpf-gallery-slider .slick-dots li {
    display: inline-block;
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
}

.dpf-gallery-slider .slick-dots li button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    padding: 0;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}

.dpf-gallery-slider .slick-dots li button:before {
    display: none;
}

.dpf-gallery-slider .slick-dots li.slick-active button {
    background: #fff;
}

.dpf-client-card {
    cursor: pointer;
}

/* ─── Lightbox ──────────────────────────────────────────────────────────────── */
.dpf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.dpf-lightbox.is-open {
    display: flex;
}

.dpf-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.dpf-lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 4;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    padding: 0;
    line-height: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: background 0.2s ease, color 0.2s ease;
}

.dpf-lightbox-close:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 0 1px #000, 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dpf-lightbox-inner {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    animation: dpf-lightbox-in 0.28s ease;
}

@keyframes dpf-lightbox-in {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

.dpf-lightbox-media {
    max-width: min(86vw, 1000px);
    max-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dpf-lightbox-name {
    flex-shrink: 0;
}

.dpf-lightbox-media img,
.dpf-lightbox-media video {
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Embed keeps a 16:9 box */
.dpf-lightbox-embed {
    position: relative;
    width: min(86vw, 1000px);
    aspect-ratio: 16 / 9;
    max-height: 82vh;
    flex: 0 0 auto;
}

.dpf-lightbox-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Hide the iframe and show a loader until the video is ready */
.dpf-lightbox-embed.is-loading iframe {
    opacity: 0;
}

.dpf-lightbox-embed .dpf-lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    border: 3px solid rgba(0, 0, 0, 0.15);
    border-top-color: #000;
    border-radius: 50%;
    animation: dpf-spin 0.8s linear infinite;
    opacity: 0;
}

.dpf-lightbox-embed.is-loading .dpf-lightbox-loader {
    opacity: 1;
}

@keyframes dpf-spin {
    to { transform: rotate(360deg); }
}

/* Gallery slider inside lightbox */
.dpf-lightbox-slider {
    position: relative;
    width: min(80vw, 800px);
    overflow: hidden;
}

.dpf-lightbox-slider .slick-list,
.dpf-lightbox-slider .slick-track {
    overflow: hidden;
}

/* Fixed slide aspect keeps the container from resizing (no shake) between
   slides and avoids large vertical white space for landscape images. */
.dpf-lightbox-slider .dpf-lightbox-slide {
    display: flex !important;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    max-height: 72vh;
}

.dpf-lightbox-slider .dpf-lightbox-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.dpf-lightbox-slider .slick-prev,
.dpf-lightbox-slider .slick-next {
    z-index: 3;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    padding: 0;
    font-size: 24px;
    color: #fff;
    line-height: 0;
    transition: background 0.2s ease;
}

.dpf-lightbox-slider .slick-prev:hover,
.dpf-lightbox-slider .slick-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Arrows sit inside the slider, over the image edges */
.dpf-lightbox-slider .slick-prev { left: 12px; }
.dpf-lightbox-slider .slick-next { right: 12px; }

.dpf-lightbox-slider .slick-dots {
    display: flex !important;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.dpf-lightbox-slider .slick-dots li button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    font-size: 0;
    cursor: pointer;
}

.dpf-lightbox-slider .slick-dots li button:before { display: none; }
.dpf-lightbox-slider .slick-dots li.slick-active button { background: #fff; }

.dpf-lightbox-name {
    color: #000;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    margin: 20px 0 0;
    padding: 0;
}

body.dpf-lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .dpf-lightbox {
        padding: 20px;
    }

    .dpf-lightbox-slider .slick-prev { left: 6px; }
    .dpf-lightbox-slider .slick-next { right: 6px; }

    .dpf-lightbox-name {
        font-size: 16px;
        margin-top: 14px;
    }
}

/* ─── Load More Button ──────────────────────────────────────────────────────── */
.dpf-clients-load-more {
    text-align: center;
    margin-top: 50px;
}

.dpf-load-more-btn,
.dpf-show-less-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0;
    text-transform: uppercase;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 0;
    transition: opacity 0.3s ease;
    font-size: 20px;
    line-height: 1.25;
}

.dpf-load-more-btn:hover,
.dpf-show-less-btn:hover {
    opacity: 0.6;
}

.dpf-load-more-btn.is-loading {
    opacity: 0.4;
    pointer-events: none;
}

.dpf-load-more-icon,
.dpf-show-less-icon {
    display: block;
    line-height: 1;
}

.dpf-load-more-icon svg,
.dpf-show-less-icon svg {
    height: 20px;
    width: 20px;
}

.fixed-width-container{
    max-width: 1331px;
    padding: 0 20px !important;
    font-family: 'Karla', sans-serif;
    margin: 0 auto !important;
}

.wp-block-group .fixed-width-container h1 {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 70px;
}

.wp-block-group .fixed-width-container h2 {
    font-family: 'Karla',sans-serif;
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.01em;
    margin-bottom: 72px;
    text-transform: uppercase;
}

h2.contact-title{
    font-size: 32px !important;
    line-height: 1 !important;
    margin: 0 0 11px !important;
}

p.contact-subtitle{
    margin-top: 10px;
    text-transform: uppercase;
}

.wpcf7 form.sent .wpcf7-response-output,.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border: 1px solid #000000 !important;
    font-size: 11px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .dpf-clients-grid {
        gap: 30px 20px;
    }
}

@media (max-width: 768px) {
    .dpf-clients-section {
        padding: 30px 0;
    }

    .dpf-clients-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .dpf-client-media {
        aspect-ratio: 16 / 9;
    }

    .dpf-client-name {
        font-size: 18px;
        margin-top: 13px;
    }

    .dpf-clients-load-more {
        margin-top: 35px;
    }

    .wp-block-group .fixed-width-container h1 {
        font-size: 26px;
        line-height: 1;
        margin-bottom: 36px;
    }

    .wp-block-group .fixed-width-container h2 {
        font-size: 18px;
        line-height: 1;
    }

    h2.contact-title{
        font-size: 18px !important;
        margin: 0 0 20px !important;
    }

    p.contact-subtitle + div {
        margin-top: 8px !important;
    }
}


@media (max-width: 480px) {
    .dpf-clients-section {
        padding: 20px 0;
    }

    .dpf-clients-grid {
        gap: 15px;
    }

    .wp-block-group .fixed-width-container h1 {
        font-size: 18px;
        line-height: 1;
        margin-bottom: 16px;
    }

    .dpf-load-more-btn,
    .dpf-show-less-btn {
        font-size: 14px;
        gap: 0;
    }

    .dpf-client-name {
        font-size: 16px;
        margin-top: 3px;
    }
}

/* Start:: Our Clints section */


.wp-block-group .fixed-width-container figure.clients_logo.has-nested-images .slick-arrow {
    height: 22px;
    width: 22px;
}

.slick-disabled{
    opacity: 0.4;
}



.wp-block-group .fixed-width-container figure.clients_logo.has-nested-images {
    margin-bottom: 20px;
}

/* End:: Our Clints section */

/* Start:: About us */

.dp-about-us-section {
    max-width: 1278px;
    margin: 0 auto;
}

.dp-about-us-text {
    max-width: 1022px;
    margin: 0 auto;
    padding: 45px 16px 42px !important;
}

.dp-founder-name {
    font-size: 18px;
    line-height: 1.3;
}

.dp-about-vision {
    gap: 0;
    margin: 106px 0 140px !important;
}

.dp-about-vision > div:first-child {
    width: 511px;
    flex: unset !important;
}

.dp-about-vision > div:last-child {
    width: calc(100% - 511px);
    flex: unset !important;
    padding: 36px 0 0 53px !important;
}

.dp-about-vision-title {
    font-size: 18px !important;
    margin-bottom: 78px;
}

.dp-about-vision {
    line-height: 1.3;
}

.dp-about-us-contact-form {
    margin: 0 !important;
    gap: 0 !important;
    align-items: flex-start !important;
}

.dp-about-us-contact-form > div:first-child {
    align-self: flex-start !important;
    padding-right: 73px;
    flex: unset;
    width: calc(100% - 512px) !important;
}

.dp-about-us-contact-form > div:last-child {
    padding: 0 !important;
    flex: unset !important;
    width: 512px !important;
}

.dp-about-us-contact-form > div:last-child img {
    aspect-ratio: 512/386 !important;
}

.dp-about-us-contact-form .form-row {
    gap: 60px !important;
}

.dp-about-us-contact-form .form-field > p {
    margin: 26px 0 !important;
}

.dp-about-us-contact-form .form-field > p input {
    padding-top: 0 !important;
    padding-bottom: 8px !important;
}

.dp-about-us-contact-form .form-submit-wrap {
    margin-top: 76px !important;
}

.dp-about-us-contact-form .form-submit-wrap > p {
    margin: 0 !important;
}

.dp-about-us-contact-form .form-submit-wrap span[class*="spinner"] {
    position: absolute;
}

/* End:: About us */

/* Start:: Follow us  */

.follow-us-section {
    /* max-width: 1352px !important; */
    padding-top: 128px !important;
    padding-bottom: 78px !important;
}

.follow-us-section h2 {
    margin-bottom: 70px;
}

/* End:: Follow us  */

.primary-nav > nav .wp-block-navigation__responsive-container.is-menu-open {
    padding: 86px 68px !important;
}

.primary-nav > nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    padding-top: 0 !important;
    padding-right: 40px !important;
}

.primary-nav > nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
    max-width: 100% !important;
}

.primary-nav > nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg {
    width: 30px;
    height: 30px;
}

.primary-nav > nav .wp-block-navigation__responsive-dialog {
    margin-top: 0 !important;
}

@media only screen and (max-width: 767px) {
    .wp-block-group .fixed-width-container figure.clients_logo.has-nested-images {
        padding: 0;
    }

    .wp-block-group .fixed-width-container figure.clients_logo.has-nested-images figure.slick-slide{
        padding: 0 8px;
    }

    .wp-block-group .fixed-width-container figure.clients_logo.has-nested-images figure.slick-slide > img{
        max-width: 74px;
        margin: 0 auto;
    }

    .clients_logo figure.custom-logo img{
        transform: scale(1);
    }

    .wp-block-group .fixed-width-container .dpf-clients-section {
        padding: 0 0 32px;
    }

    .primary-nav > nav .wp-block-navigation__responsive-container.is-menu-open {
        padding: 54px 40px !important;
    }

    .primary-nav > nav ul.wp-block-navigation__container.has-large-font-size.is-responsive.items-justified-space-between.no-wrap.wp-block-navigation.has-large-font-size {
        gap: 30px;
    }

    .primary-nav > nav .wp-block-navigation__responsive-container-close {
        position: relative;
        margin-bottom: 53px;
    }

    .primary-nav > nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
        font-size: 20px;
    }
}


/**
 * ═══════════════════════════════════════════════════════════════════════════════
 * Contact Form 7 - Custom Styles
 * Matches Figma design: underline inputs, two-column layout, minimal style
 * ═══════════════════════════════════════════════════════════════════════════════
 */

/* ─── Form Container ────────────────────────────────────────────────────────── */
.dpf-contact-form {
    max-width: 100%;
}

.dpf-contact-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ─── Two Column Row ────────────────────────────────────────────────────────── */
.dpf-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.dpf-contact-form .form-row-full {
    display: block;
    width: 100%;
}

/* ─── Input Fields ──────────────────────────────────────────────────────────── */
.dpf-contact-form input[type="text"],
.dpf-contact-form input[type="email"],
.dpf-contact-form input[type="tel"],
.dpf-contact-form input[type="url"],
.dpf-contact-form textarea,
.dpf-contact-form select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #000;
    border-radius: 0;
    background: transparent;
    padding: 12px 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 300;
    color: #656565;
    outline: none;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.dpf-contact-form input[type="text"]:focus,
.dpf-contact-form input[type="email"]:focus,
.dpf-contact-form input[type="tel"]:focus,
.dpf-contact-form input[type="url"]:focus,
.dpf-contact-form textarea:focus,
.dpf-contact-form select:focus {
    border-bottom-color: #333;
}

/* Placeholder */
.dpf-contact-form input::placeholder,
.dpf-contact-form textarea::placeholder {
    color: #666;
    font-size: 14px;
    font-weight: 400;
}

/* Textarea */
.dpf-contact-form textarea {
    min-height: 0;
    height: auto;
    resize: none;
    overflow: hidden;
}

/* ─── Phone Field with Flag ─────────────────────────────────────────────────── */
.dpf-contact-form .phone-field-wrap {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #000;
    gap: 8px;
}

.dpf-contact-form .phone-field-wrap .phone-flag {
    font-size: 20px;
    flex-shrink: 0;
}

.dpf-contact-form .phone-field-wrap input[type="tel"] {
    border-bottom: none;
    padding: 12px 0;
}

/* ─── Submit Button ─────────────────────────────────────────────────────────── */
.dpf-contact-form .form-submit-wrap {
    text-align: center;
    margin-top: 10px;
}

.dpf-contact-form input[type="submit"],
.dpf-contact-form .wpcf7-submit {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
    padding: 7px 94px;
    font-family: inherit;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-bottom: 4px;
}

.dpf-contact-form input[type="submit"]:hover,
.dpf-contact-form .wpcf7-submit:hover {
    background-color: #000000;
    color: #ffffff;
}

/* ─── Disclaimer Text ───────────────────────────────────────────────────────── */
.dpf-contact-form .form-disclaimer {
    text-align: center;
    font-size: 11px;
    color: #656565;
    line-height: 1.5;
}

/* ─── Validation Messages ───────────────────────────────────────────────────── */
.dpf-contact-form .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 4px;
}

.dpf-contact-form .wpcf7-response-output {
    text-align: center;
    font-size: 13px;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ddd;
}

/**
 * ═══════════════════════════════════════════════════════════════════════════════
 * Instagram Reels Section
 * ═══════════════════════════════════════════════════════════════════════════════
 */

/* ─── Section Title ─────────────────────────────────────────────────────────── */
h2.insta-title {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px;
    color: #000000;
    font-size: 44px;
    line-height: 52px;
    font-weight: normal;
    text-transform: uppercase;
}

/* ─── Reel Slider ───────────────────────────────────────────────────────────── */
.instagram-section {
    padding: 0px;
}

.reel-slider video {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

.reel-slider .item {
    position: relative;
    padding: 0 34px;
}

.reel-slider .item a {
    display: block;
    position: relative;
}

.instagram-section .slick-track .item.slick-slide a {
    padding: 0;
}

.instagram-section .slick-track .item.slick-slide:first-child a {
    padding-left: 0;
}

/* ─── Play Button ───────────────────────────────────────────────────────────── */
.instagram-section .play-btn {
    position: absolute;
    top: 50%;
    left: calc(50% - 15px);
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
}

.instagram-section .play-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 12px 0 12px 18px;
    border-color: transparent transparent transparent #fff;
}

/* ─── Mute Toggle ───────────────────────────────────────────────────────────── */
.reel-slider .mute-toggle {
    border-radius: 50%;
    font-size: 14px;
    padding: 8px;
    color: #fff;
    position: absolute;
    bottom: 5px;
    right: 5px;
}

/* ─── Follow Us ─────────────────────────────────────────────────────────────── */
.instagram-section .followUs-wrapper {
    padding: 60px 0px;
}

/* ─── Slider Arrows ─────────────────────────────────────────────────────────── */
.reel-slider a.arrowspost {
    font-size: 40px;
    line-height: 46px;
    color: #000000;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -30px;
    cursor: pointer;
    transition: 0.3s all ease-in-out;
    z-index: 90;
}

.reel-slider a.arrowspost.next {
    right: -30px;
    left: auto;
}

input.iti__search-input {
    width: 92%;
    /* left: 50%; */
    margin: 10px auto;
    display: block;
    padding: 10px;
    border: 1px solid;
    outline: none;
}

.iti__country {
    padding: 10px 20px;
}

.fixed-width-container .dp-about-us-img-desktop img {
    min-height: 300px;
    object-fit: cover;
}

.fixed-width-container .dp-about-us-img-mobile {
    display: none;
}

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media only screen and (max-width: 1600px) {
    h2.insta-title {
        font-size: 32px;
        line-height: 42px;
    }
}

@media only screen and (max-width: 1400px) {
    .instagram-section .play-btn {
        left: calc(50%);
    }
}

@media only screen and (max-width: 1380px) {
    .reel-slider a.arrowspost {
        left: -20px;
        color: #fff;
        width: 46px;
        height: 46px;
        text-align: center;
    }
    .reel-slider a.arrowspost.next {
        right: -20px;
    }

    .reel-slider .item {
        padding: 0 20px;
    }
}

@media only screen and (max-width: 991px) {
    .reel-slider a.arrowspost {
        width: 35px;
        height: 35px;
        font-size: 26px;
        line-height: 32px;
    }
}

@media only screen and (max-width: 767px) {
    h2.insta-title {
        font-size: 40px;
        line-height: 46px;
    }
}

@media only screen and (max-width: 575px) {
    h2.insta-title {
        font-size: 30px;
        line-height: 38px;
    }
    .reel-slider a.arrowspost {
        left: 0;
    }
    .reel-slider a.arrowspost.next {
        right: 0;
    }
    .instagram-section .play-btn {
        left: 50%;
    }
}

@media only screen and (max-width: 576px) {
    .reel-slider .item {
        padding: 0 5px;
    }
    .reel-slider .mute-toggle {
        bottom: 10px;
        right: 15px;
    }
}


/* Start:: Footer */

footer .fixed-width-container {
    max-width: 1222px;
    margin-bottom: 20px !important;
}


footer .fixed-width-container p {
    font-size: 16px;
    padding: 0;
}

footer .fixed-width-container > .wp-block-columns {
    margin-top: 45px;
    padding: 0 50px;
}

footer .fixed-width-container > .wp-block-columns .wp-block-paragraph:not(:first-child) {
    margin-top: 33px !important;
}

footer .fixed-width-container > p {
    padding: 0 50px;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.5;
}

footer .fixed-width-container > p.has-small-font-size {
    font-size: 11px !important;
    line-height: 1;
    font-weight: 300;
}

figure.scroll-top > a {
    position: fixed;
    bottom: 50px;
    right: 52px;
    height: 38px;
    width: 38px;
    box-shadow: 0 0 3px 1px rgba(0,0,0,0.3);
    background-color: #ffffff;
    border-radius: 100px;
    background-image: url('https://dp-agency.com/wp-content/uploads/2026/03/ic-prev.svg');
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center center;
    transform: rotate(270deg);
    z-index: 9;
}

figure.scroll-top > a img {
    display: none;
}

/* End:: Footer */

/* Start:: Responsive */

@media only screen and (max-width: 1199px) {
    .dp-about-vision {
        margin: 70px 0 !important;
    }

    .dpf-clients-grid {
        gap: 34px 56px;
    }

    .wp-block-group .fixed-width-container h2 {
        margin-bottom: 52px;
    }

    .wp-block-group .dp-about-vision > div:first-child {
        width: 411px;
    }

    .wp-block-group .dp-about-us-contact-form > div:last-child,
    .wp-block-group .dp-about-us-contact-form > div:first-child {
        width: 50% !important;
    }

    .wp-block-group .dp-about-us-contact-form > div:first-child {
        padding-right: 24px !important;
        box-sizing: border-box;
    }

    .dp-about-us-contact-form .form-row {
        gap: 30px !important;
    }

    .wp-block-group .dp-about-vision > div:last-child{
        width: calc(100% - 411px);
        flex: unset !important;
        padding: 26px 0 0 23px !important;
        box-sizing: border-box;
    }

    .dp-about-vision-title {
        margin-bottom: 40px;
    }

    .dp-about-us-contact-form .form-submit-wrap {
        margin-top: 46px !important;
    }
    .dpf-contact-form input[type="submit"], .dpf-contact-form .wpcf7-submit {
        padding: 8px 44px;
        font-size: 16px;
    }

    .follow-us-section {
        padding-top: 68px !important;
        padding-bottom: 28px !important;
    }

    footer .fixed-width-container > p,
    footer .fixed-width-container > .wp-block-columns {
        padding: 0 13px;
    }

    footer .fixed-width-container > .wp-block-columns {
        margin-top: 45px;
        display: flex !important;
        justify-content: space-between;
    }

    footer .fixed-width-container > .wp-block-columns>.wp-block-column {
        flex: unset !important;
        width: auto;
    }

    footer .fixed-width-container > .wp-block-columns .wp-block-paragraph:not(:first-child) {margin-top: 15px !important;}

    footer .fixed-width-container .wp-block-spacer {
        height: 20px !important;
    }

    .dpf-contact-form > .form-row:first-child {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .dpf-contact-form > .form-row:first-child > div {
        width: calc(50% - 8px);
    }
}

@media only screen and (max-width: 768px) {

    .dp-about-vision {
        margin: 48px 0 !important;
    }

    .dp-about-us-text {
        font-size: 16px !important;
        line-height: 1.3;
        padding: 32px 16px !important;
    }

    .wp-block-group .dp-about-vision > div:first-child {
        width: 50%;
    }

    .wp-block-group .dp-about-vision > div:last-child{
        width: 50%;
        flex: unset !important;
        padding: 16px 0 0 16px !important;
        box-sizing: border-box;
    }

    .dp-about-vision-title {
        margin-bottom: 16px;
    }

    .dp-about-us-contact-form .form-row {
        gap: 0 !important;
    }

    .reel-slider .item {
        padding: 0 12px;
    }

    .wp-block-group .fixed-width-container h2 {
        margin-bottom: 32px;
    }

}

@media only screen and (max-width: 767px) {
    .dp-about-vision {
        display: block !important;
    }

    .wp-block-group .dp-about-vision > div:last-child,
    .wp-block-group .dp-about-vision > div:first-child {
        width: 100% !important;
    }

    .wp-block-group .dp-about-vision > div:last-child {
        padding: 19px 0 0 !important;
    }

    .dp-about-us-contact-form {
        flex-direction: column-reverse;
    }

    .wp-block-group .dp-about-us-contact-form > div:first-child,
    .wp-block-group .dp-about-us-contact-form > div:last-child {
        width: 100% !important;
        padding-right: 0 !important;
    }

    .wp-block-group .dp-about-us-contact-form > div:last-child {
        padding-top: 0 !important;
        padding-bottom: 68px !important;
    }

    .dp-about-us-contact-form .form-field > p {
        margin: 14px 0 !important;
    }

    .dpf-contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .dpf-contact-form .form-row:nth-child(2) {
        flex-direction: column-reverse;
        display: flex;
    }

    .dpf-contact-form input[type="submit"],
    .dpf-contact-form .wpcf7-submit {
        width: auto;
        padding: 6px 29px;
        font-size: 18px;
        line-height: 1;
        margin-bottom: 11px;
    }

    .follow-us-section {
        padding-top: 49px !important;
    }

    .wp-block-group .follow-us-section .fixed-width-container h2 {
        margin-bottom: 28px;
    }

    .fixed-width-container figure.clients_logo.has-nested-images .slick-list {
        max-width: calc(100% - 30px);
    }

    .wp-block-group .fixed-width-container figure.clients_logo.has-nested-images .slick-arrow {
        height: 16px;
        width: 16px;
    }

    .dpf-load-more-icon svg {
        height: 14px;
        width: 14px;
    }

    footer .fixed-width-container > .wp-block-columns > div:last-child {
        display: block !important;
        width: 100%;
        margin-top: 20px;
        margin-bottom: 7px;
    }

    footer .fixed-width-container .wp-block-spacer {
        height: 0 !important;
        margin-top: 0;
    }

    footer .fixed-width-container > .wp-block-columns {
        margin-top: 29px;
        gap: 10px;
    }

    figure.scroll-top > a {
        bottom: 20px;
        right: 20px;
    }
}

@media only screen and (max-width: 575px) {
    .dp-about-us-text {
        font-size: 14px !important;
        line-height: 1.3;
        padding: 18px 0 !important;
    }

    .dp-founder-name {
        font-size: 16px;
    }

    .dp-about-vision {
        margin: 48px 0 63px !important;
    }

    .dp-about-vision-title {
        margin-bottom: 18px;
    }


    .wp-block-group .fixed-width-container h2 {
        margin-bottom: 31px;
        font-size: 18px;
        line-height: 1;
    }

    .instagram-section .slick-track .item.slick-slide a {
        padding: 0 !important;
        max-width: calc(100% - 24%);
        margin: 0 auto;
    }

    .fixed-width-container .dp-about-us-img-mobile {
        display: block !important;
    }

    .fixed-width-container .dp-about-us-img-desktop {
        display: none !important;
    }

    .dp-about-us-contact-form .form-submit-wrap {
        margin-top: 24px !important;
    }

    h2.contact-title {
        text-align: center;
    }

    footer .fixed-width-container p {
        font-size: 12px;
    }

    footer .fixed-width-container p > a {
        margin: 0;
    }

    footer .fixed-width-container > p, footer .fixed-width-container > .wp-block-columns {
        padding: 0 6px;
    }

    footer .fixed-width-container > .wp-block-columns > div:last-child img {
        max-width: 147px;
    }

    footer .fixed-width-container .wp-block-spacer + p {
        font-size: 10px;
        line-height: 1;
        font-weight: 400;
    }

    footer .fixed-width-container > p.has-small-font-size {
        font-size: 10px !important;
        line-height: 1;
        opacity: .6;
    }

    footer .fixed-width-container {
        margin-bottom: 50px !important;
    }
}


/* End:: Responsive */