/* RO Design Portfolio Frontend Styles */
.rdp-wrapper {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #ffffff;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    background: #002d5b;
    /* Navy background as required */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.rdp-wrapper * {
    box-sizing: border-box;
}

.rdp-slide-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    padding: 40px 60px;
}

/* ==========================================================
   CSS MOCKUPS (LEFT COLUMN)
========================================================== */
.rdp-mockups-col {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    perspective: 1000px;
}

/* LAPTOP */
.rdp-laptop-mockup {
    position: relative;
    width: 90%;
    aspect-ratio: 16 / 10;
    /* Aspect Ratio approx for screen */
    background: #111;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 0 0 2px #fff, 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Top bezel dot (camera) */
.rdp-laptop-mockup::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
}

.rdp-laptop-screen {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    bottom: 18px;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.rdp-laptop-screen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    transition: transform 5s ease;
}

/* Scroll effect on hover inside the screen */
.rdp-laptop-screen:hover img {
    transform: translateY(calc(-100% + 100%));
    /* To properly scroll, height needs to act differently or use max-height. 
       Usually people just show top part. */
}

/* Base of Laptop */
.rdp-laptop-base {
    position: absolute;
    bottom: -15px;
    left: -5%;
    width: 110%;
    height: 15px;
    background: #e8ebf0;
    border-radius: 0 0 16px 16px;
    box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.rdp-laptop-base::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15%;
    height: 5px;
    background: #c3ced9;
    border-radius: 0 0 5px 5px;
}

/* PHONE */
.rdp-phone-mockup {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 28%;
    aspect-ratio: 9 / 19;
    /* Mobile ratio approx */
    background: #ffffff;
    border-radius: 20px;
    border: 4px solid #fff;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 0 2px #e0e0e0;
    z-index: 3;
}

/* Phone top speaker */
.rdp-phone-mockup::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
}

.rdp-phone-screen {
    position: absolute;
    top: 24px;
    left: 4px;
    right: 4px;
    bottom: 24px;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.rdp-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.rdp-phone-home-btn {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border: 1px solid #ccc;
    border-radius: 50%;
}


/* ==========================================================
   INFO COLUMN (RIGHT)
========================================================== */
.rdp-info-col {
    padding-left: 20px;
}

.rdp-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

.rdp-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.rdp-meta-list li {
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.rdp-meta-list li strong {
    color: #00beeb;
    /* The cyan accent color */
    width: 100px;
    font-weight: 700;
    display: inline-block;
}

.rdp-meta-list li span {
    font-weight: 600;
    color: #ffffff;
}

.rdp-btn-launch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 30px;
    border: 2px solid #00beeb;
    border-radius: 50px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.rdp-btn-launch:hover {
    background: #00beeb;
    color: #002d5b;
    box-shadow: 0 10px 25px rgba(0, 190, 235, 0.3);
}


/* ==========================================================
   SWIPER NAVIGATION
========================================================== */
.rdp-nav-next,
.rdp-nav-prev {
    color: #00beeb !important;
}

.rdp-nav-next::after,
.rdp-nav-prev::after {
    font-size: 30px !important;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4) !important;
}

.swiper-pagination-bullet-active {
    background: #00beeb !important;
    width: 24px !important;
    border-radius: 10px !important;
}

/* ==========================================================
   RESPONSIVE DESIGN
========================================================== */
@media (max-width: 992px) {
    .rdp-slide-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 80px;
        padding: 20px 40px;
    }

    .rdp-info-col {
        padding-left: 0;
    }

    .rdp-meta-list li {
        justify-content: center;
    }

    .rdp-phone-mockup {
        right: 0;
    }
}

@media (max-width: 600px) {
    .rdp-slide-inner {
        padding: 0px 10px;
        gap: 60px;
    }

    .rdp-title {
        font-size: 22px;
    }

    .rdp-laptop-base {
        left: 0;
        width: 100%;
        border-radius: 0 0 8px 8px;
    }
}