/* ========================================
   GOOGLE FONT
======================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');


/* ========================================
   ROOT
======================================== */

:root {
    --primary: #1e65ab;
    --primary-dark: #1e65ab;
    --text-dark: #202124;
    --text-light: #6f7278;
    --border-color: #e4e4e4;
}


/* ========================================
   HERO SECTION
======================================== */

.lifestyle-hero {
    width: 100%;
    padding: 35px 95px 40px 90px;
    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(235, 235, 230, 0.8),
            transparent 32%
        ),
        #ffffff;
    font-family: 'DM Sans', sans-serif;
}


.lifestyle-hero-container {
    max-width: 1450px;
    width: 92%;
    margin: auto;

    display: grid;
    grid-template-columns: 38% 62%;
    gap: 40px;

    align-items: center;
}


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

.hero-content {
    padding: 10px 0;
}


/* Breadcrumb */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 12px;
    margin-bottom: 40px;
}

.breadcrumb a {
    color: #1e65ab;
    text-decoration: none;
}

.breadcrumb span {
    color: #777;
}

.breadcrumb .active {
    color: #333;
}


/* Label */

.hero-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--primary);

    margin-bottom: 12px;
}


/* Heading */

.hero-content h1 {
    margin: 0;

    font-size: clamp(45px, 5vw, 74px);
    line-height: 1.08;

    font-weight: 700;

    color: var(--text-dark);

    letter-spacing: -2px;
}


.hero-content h1 span {
    display: block;

    margin-top: 6px;

    color: var(--primary);

    font-size: 0.72em;

    line-height: 1.1;
}


/* Description */

.hero-description {
    max-width: 480px;

    margin-top: 28px;

    font-size: 16px;
    line-height: 1.8;

    color: #4d5055;
}


/* ========================================
   BUTTONS
======================================== */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;

    margin-top: 32px;
}


.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 16px 23px;

    border-radius: 50px;

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

    letter-spacing: 0.2px;

    text-decoration: none;

    transition: 0.35s ease;
}


/* Primary Button */

.btn-primary {
    background: linear-gradient(
        135deg,
        #1e65ab,
        #1e65ab
    );

    color: white;

    box-shadow:
        0 8px 25px rgba(104, 123, 17, 0.22);
}


.btn-primary span {
    font-size: 18px;
    transition: 0.3s;
}


.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 30px rgba(104, 123, 17, 0.3);
}


.btn-primary:hover span {
    transform: translateX(4px);
}


/* Outline Button */

.btn-outline {
    color: #222;

    border: 1px solid #c9c9b5;

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


.btn-outline:hover {
    background: #f5f5ee;
    border-color: var(--primary);
}


/* Message Icon */

.message-icon {
    width: 20px;
    height: 20px;

    border: 1px solid #1e65ab;

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

    border-radius: 5px;

    color: var(--primary);

    font-size: 12px;
}


/* ========================================
   HERO GALLERY
======================================== */

.hero-gallery {
    display: grid;

    grid-template-columns:
        1.15fr
        1.45fr
        1.2fr;

    grid-template-rows:
        165px
        165px;

    gap: 10px;

    min-height: 340px;
}


/* General Card */

.gallery-card {
    position: relative;

    overflow: hidden;

    border-radius: 12px;

    background: #ddd;

    cursor: pointer;
}


.gallery-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.6s ease;
}


.gallery-card:hover img {
    transform: scale(1.08);
}


/* ========================================
   GRID POSITIONS
======================================== */


/* Large Left */

.card-large {
    grid-row: 1 / 3;
}


/* Top Center */

.card-mountain {
    grid-column: 2;
    grid-row: 1;
}


/* Top Right */

.card-chair {
    grid-column: 3;
    grid-row: 1;
}


/* Bottom Center */

.card-hat {
    grid-column: 2;
    grid-row: 2;
}


/* Bottom Right Left */

.card-beach {
    grid-column: 3;
    grid-row: 2;
}


/* Bottom Right Extra */

.card-man {
    display: none;
}


/* Make right bottom split */

.hero-gallery {
    grid-template-columns:
        1.05fr
        1.2fr
        1.05fr
        0.9fr;
}


.card-large {
    grid-column: 1;
    grid-row: 1 / 3;
}


.card-mountain {
    grid-column: 2 / 4;
    grid-row: 1;
}


.card-chair {
    grid-column: 4;
    grid-row: 1;
}


.card-hat {
    grid-column: 2;
    grid-row: 2;
}


.card-beach {
    grid-column: 3;
    grid-row: 2;
}


.card-man {
    display: block;

    grid-column: 4;
    grid-row: 2;
}


/* ========================================
   OVERLAYS
======================================== */

.dark-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0.05) 20%,
            rgba(0,0,0,0.6) 100%
        );

    z-index: 1;
}


.light-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.75),
            rgba(255,255,255,0.05)
        );

    z-index: 1;
}


/* ========================================
   CARD TEXT
======================================== */

.card-text {
    position: absolute;

    left: 18px;
    bottom: 18px;

    z-index: 3;

    color: #fff;

    font-size: 17px;

    font-weight: 600;

    line-height: 1.45;
}


.top-text {
    top: 18px;
    bottom: auto;
}


.dark-text {
    top: 18px;
    bottom: auto;

    color: #222;

    font-size: 18px;

    font-weight: 500;
}


/* ========================================
   MODERN PLAY ICON
======================================== */

.play-icon {
    position: absolute;

    top: 14px;
    left: 14px;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    border: 2px solid rgba(255,255,255,0.9);

    background:
        rgba(20, 25, 20, 0.25);

    backdrop-filter: blur(8px);

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

    z-index: 5;

    transition: 0.3s ease;
}


.play-icon span {
    display: block;

    margin-left: 3px;

    width: 0;
    height: 0;

    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid white;
}


.reel-card:hover .play-icon {
    transform: scale(1.12);

    background: var(--primary);

    border-color: var(--primary);
}


/* ========================================
   RESPONSIVE - TABLET
======================================== */

@media (max-width: 1100px) {

    .lifestyle-hero-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-content {
        max-width: 700px;
    }

    .hero-gallery {
        grid-template-rows: 190px 190px;
    }

}


/* ========================================
   RESPONSIVE - MOBILE
======================================== */

@media (max-width: 768px) {

    .lifestyle-hero {
        padding: 25px 0 50px;
    }

    .lifestyle-hero-container {
        width: 90%;
    }


    /* Breadcrumb */

    .breadcrumb {
        flex-wrap: wrap;
        margin-bottom: 28px;
    }


    /* Heading */

    .hero-content h1 {
        font-size: 48px;
        letter-spacing: -1px;
    }


    .hero-description {
        font-size: 14px;
        line-height: 1.7;
    }


    /* Buttons */

    .hero-buttons {
        flex-wrap: wrap;
    }


    /* Gallery */

    .hero-gallery {

        grid-template-columns:
            1fr
            1fr;

        grid-template-rows:
            220px
            160px
            160px;

        gap: 8px;
    }


    .card-large {
        grid-column: 1;
        grid-row: 1 / 3;
    }


    .card-mountain {
        grid-column: 2;
        grid-row: 1;
    }


    .card-chair {
        grid-column: 2;
        grid-row: 2;
    }


    .card-hat {
        grid-column: 1;
        grid-row: 3;
    }


    .card-beach {
        grid-column: 2;
        grid-row: 3;
    }


    .card-man {
        display: none;
    }

}


@media (max-width: 480px) {

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


    .hero-buttons {
        gap: 10px;
    }


    .btn-primary,
    .btn-outline {
        padding: 14px 18px;
        font-size: 11px;
    }


    .hero-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 220px);
    }


    .card-large,
    .card-mountain,
    .card-chair,
    .card-hat,
    .card-beach {

        grid-column: auto;
        grid-row: auto;
    }

}
/* =========================================
   LIFESTYLE WORK SECTION
========================================= */

.lifestyle-work-section {
    width: 100%;
    padding: 70px 110px 50px 110px;
    background: #f7f7f4;
    font-family: Arial, sans-serif;
}


.lifestyle-work-container {
    width: min(95%, 1400px);
    margin: auto;
}


/* =========================================
   HEADER
========================================= */

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    margin-bottom: 20px;
}


.work-header h2 {
    margin: 0;

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

    color: #242424;

    letter-spacing: -0.8px;
}


.work-header h2 span {
    color: #1e65ab;
}


/* =========================================
   FILTERS
========================================= */

.work-filters {
    display: flex;
    align-items: center;

    gap: 9px;

    flex-wrap: wrap;
}


.filter-btn,
.filter-dropdown {
    height: 38px;

    padding: 0 18px;

    border-radius: 30px;

    border: 1px solid #ddddda;

    background: #f8f8f6;

    color: #444;

    font-size: 12px;

    cursor: pointer;

    transition: all 0.3s ease;
}


.filter-btn.active {
    background: #1e65ab;

    color: white;

    border-color: #1e65ab;
}


.filter-btn:hover,
.filter-dropdown:hover {
    border-color: #1e65ab;

    color: #1e65ab;
}


.filter-dropdown {
    display: flex;
    align-items: center;

    gap: 18px;
}


.filter-dropdown span {
    font-size: 14px;

    line-height: 1;
}


/* =========================================
   GRID
========================================= */

.lifestyle-grid {
    display: grid;

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

    gap: 12px;
}


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

.lifestyle-card {
    background: #fdfdfb;

    border: 1px solid #e3e3df;

    border-radius: 12px;

    overflow: hidden;

    transition: transform 0.35s ease,
                box-shadow 0.35s ease;
}


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

    box-shadow:
        0 15px 35px rgba(0,0,0,0.08);
}


/* =========================================
   IMAGE
========================================= */

.work-image {
    position: relative;

    height: 210px;

    overflow: hidden;

    background: #ddd;
}


.work-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.6s ease;
}


.lifestyle-card:hover .work-image img {
    transform: scale(1.07);
}


/* =========================================
   IMAGE OVERLAY
========================================= */

.image-overlay {
    position: absolute;

    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.05) 25%,
        rgba(0,0,0,0.65) 100%
    );

    z-index: 1;
}


.image-overlay.light {
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.65),
        rgba(255,255,255,0.05)
    );
}


/* =========================================
   POST ICON
========================================= */

.post-icon {
    position: absolute;

    top: 13px;
    left: 13px;

    width: 26px;
    height: 26px;

    border-radius: 7px;

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

    color: #444;

    font-size: 9px;

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

    z-index: 3;

    padding-left: 1px;
}


/* =========================================
   IMAGE TEXT
========================================= */

.image-content {
    position: absolute;

    left: 14px;
    bottom: 13px;

    z-index: 3;

    color: white;
}


.image-content p {
    margin: 0 0 8px;

    font-size: 15px;

    font-weight: 500;

    line-height: 1.45;

    letter-spacing: -0.3px;
}


.image-content.dark {
    color: #252525;
}


/* =========================================
   CONTENT TAG
========================================= */

.content-tag {
    display: inline-flex;

    align-items: center;

    padding: 4px 10px;

    border-radius: 20px;

    background: rgb(252 176 59);

    color: #222222;

    font-size: 9px;

    font-weight: 600;
}


/* =========================================
   CARD FOOTER
========================================= */

.card-footer {
    min-height: 68px;

    padding: 12px 14px;

    display: flex;

    justify-content: space-between;
    align-items: center;
}


.card-footer h4 {
    margin: 0 0 5px;

    font-size: 11px;

    font-weight: 600;

    color: #303030;
}


.card-footer p {
    margin: 0;

    font-size: 9px;

    color: #777;
}


/* =========================================
   BOOKMARK
========================================= */

.bookmark-btn {
    width: 28px;
    height: 32px;

    border: none;

    background: transparent;

    color: #1e65ab;

    font-size: 20px;

    cursor: pointer;

    transition: transform 0.3s ease,
                color 0.3s ease;
}


.bookmark-btn:hover {
    transform: scale(1.15);

    color: #56601f;
}


/* =========================================
   PAGINATION
========================================= */

.pagination {
    display: flex;

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

    gap: 7px;

    margin-top: 28px;
}


.page-number,
.page-arrow {
    width: 32px;
    height: 32px;

    border-radius: 50%;

    border: 1px solid #ddd;

    background: transparent;

    color: #777;

    font-size: 11px;

    cursor: pointer;

    transition: all 0.3s ease;
}


.page-number:hover,
.page-arrow:hover {
    border-color: #1e65ab;

    color: #1e65ab;
}


.page-number.active {
    background: #1e65ab;

    border-color: #1e65ab;

    color: white;
}


.dots {
    font-size: 15px;

    color: #777;

    padding: 0 4px;
}


/* =========================================
   LARGE SCREEN
========================================= */

@media (min-width: 1400px) {

    .work-image {
        height: 240px;
    }

}


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

@media (max-width: 1100px) {

    .work-header {
        flex-direction: column;

        align-items: flex-start;
    }


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


    .work-image {
        height: 220px;
    }

}


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

@media (max-width: 768px) {

    .lifestyle-work-section {
        padding: 50px 0;
    }


    .work-header h2 {
        font-size: 24px;
    }


    .work-filters {
        width: 100%;

        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 5px;
    }


    .filter-btn,
    .filter-dropdown {
        flex-shrink: 0;
    }


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

        gap: 10px;
    }


    .work-image {
        height: 230px;
    }

}


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

@media (max-width: 520px) {

    .lifestyle-work-container {
        width: 92%;
    }


    .work-header {
        gap: 18px;
    }


    .lifestyle-grid {
        grid-template-columns: 1fr;
    }


    .work-image {
        height: 300px;
    }


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


    .card-footer {
        min-height: 72px;
    }

}
/* Video Card */

.card-video {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* Hover Effect */

.lifestyle-card:hover .card-video {
    transform: scale(1.07);

    transition: transform 0.6s ease;
}
.youtube-short {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    border: none;

    object-fit: cover;

    pointer-events: none;

    transform: scale(1.5);
}
.card-hat .youtube-short {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 100%;
    height: 177.78%;

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

    border: none;
    pointer-events: none;
}
.card-beach .youtube-short {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 100%;
    height: 177.78%;

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

    border: none;
    pointer-events: none;
}
.card-man .youtube-short {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 100%;
    height: 177.78%;

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

    border: none;
    pointer-events: none;
}

/* =========================================
   VIDEO MODAL (PHONE FRAME)
========================================= */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.video-modal-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 90vh;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.phone-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 9/16;
    height: 80vh;
    max-height: 800px;
    background: #000;
    border-radius: 40px;
    border: 12px solid #222;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 2px #444;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #222;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.modal-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 600px) {
    .phone-frame {
        height: 75vh;
        border-width: 8px;
        border-radius: 30px;
    }
    .video-modal-close {
        top: -45px;
        right: 0;
    }
}

/* =========================================
   CASE STUDY DETAILS SECTION
========================================= */

.case-study-details-section {
    padding: 60px 0 100px;
    background-color: #ffffff;
    color: var(--text-dark, #202124);
    font-family: 'Inter', sans-serif;
}

.csd-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.csd-block {
    margin-bottom: 40px;
}

.csd-block h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.csd-block p {
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 15px;
}

.csd-block p a {
    color: var(--primary, #1e65ab);
    text-decoration: underline;
    font-weight: 500;
}

.csd-strategy-item {
    margin-bottom: 25px;
}

.csd-strategy-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.csd-campaign-duration {
    font-size: 14px;
    color: #6a6a6a;
    margin-bottom: 25px !important;
}

.csd-results-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.csd-results-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.csd-results-list i {
    font-size: 20px;
    color: var(--primary, #1e65ab);
    margin-top: 3px;
}

.csd-results-list strong {
    display: block;
    font-size: 16px;
    color: #000;
    margin-bottom: 5px;
}

.csd-results-list p {
    margin: 0;
    font-size: 14.5px;
}

.csd-table-title {
    font-size: 15px;
    font-weight: 600;
    color: #000 !important;
    margin-bottom: 15px !important;
}

.csd-table-wrapper {
    background: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.csd-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.csd-table th, .csd-table td {
    padding: 15px 20px;
    font-size: 14.5px;
    color: #333;
}

.csd-table th {
    background-color: transparent;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
}

.csd-table td {
    border-bottom: 1px solid #f0f0f0;
}

.csd-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 600px) {
    .csd-table th, .csd-table td {
        padding: 12px 10px;
        font-size: 13px;
    }
}