/* ======================================
   ROYAL LOGO SHOWCASE
====================================== */

.royal-logo-section {
    padding: 60px 0;
    background:
        radial-gradient(circle at top left, rgba(246,142,31,0.08), transparent 30%),
        radial-gradient(circle at bottom right, rgba(39,53,120,0.08), transparent 30%),
        #ffffff;
    position: relative;
    overflow: hidden;
}

.royal-logo-grid {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.royal-logo-card {
    position: relative;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 40px 30px;
    overflow: hidden;
    min-height: 320px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    border: 1px solid rgba(255,255,255,0.2);

    transition: all 0.5s ease;

    box-shadow:
        0 10px 40px rgba(0,0,0,0.06),
        inset 0 0 0 1px rgba(255,255,255,0.3);
}

.royal-logo-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow:
        0 25px 60px rgba(39,53,120,0.15),
        0 10px 30px rgba(246,142,31,0.12);
}

.dark-card {
    background: linear-gradient(145deg, #0f172a, #111827);
}

.soft-card {
    background: linear-gradient(145deg, #fdf4ff, #fce7f3);
}

.royal-logo-card img {
    width: 100%;
    max-width: 180px;
    object-fit: contain;
    transition: all 0.5s ease;
    z-index: 2;
}

.royal-logo-card:hover img {
    transform: scale(1.08);
}

.logo-overlay {
    margin-top: 30px;
    text-align: center;
    z-index: 2;
}

.logo-overlay h3 {
    font-size: 22px;
    color: #273578;
    margin-bottom: 8px;
    font-weight: 700;
}

.dark-card .logo-overlay h3 {
    color: #ffffff;
}

.logo-overlay span {
    color: #F68E1F;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.logo-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(246,142,31,0.18), transparent 70%);
    border-radius: 50%;
    top: -40px;
    right: -40px;
    transition: 0.5s ease;
}

.royal-logo-card:hover .logo-glow {
    transform: scale(1.4);
}

.section-heading {
    max-width: 800px;
    margin: auto;
}

.section-heading h2 {
    font-size: 58px;
    color: #273578;
    margin-bottom: 20px;
    line-height: 1.1;
}

.section-heading p {
    color: #666;
    font-size: 18px;
    line-height: 1.8;
}

.section-badge {
    display: inline-block;
    background: rgba(246,142,31,0.12);
    color: #F68E1F;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* RESPONSIVE */

@media(max-width: 1200px) {
    .royal-logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 768px) {

    .royal-logo-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .royal-logo-card {
        min-height: 280px;
    }
}

/* =========================
   SERVICE SUB PAGES NAVBAR
========================= */

header.scrolled .nav-link,
header.scrolled .dropdown-toggle,
header.scrolled .dropdown-menu li a {
    color: var(--white) !important;
}

header.scrolled .nav-link:hover,
header.scrolled .dropdown-toggle:hover,
header.scrolled .dropdown-menu li a:hover {
    color: var(--accent) !important;
}

/* MOBILE MENU */

@media(max-width:768px){

    .nav-menu{
        background: var(--primary);
    }

    .nav-menu .nav-link,
    .nav-menu .dropdown-toggle,
    .nav-menu .dropdown-menu li a{
        color: var(--white) !important;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .dropdown-toggle:hover,
    .nav-menu .dropdown-menu li a:hover{
        color: var(--accent) !important;
    }
}

/* ======================================
   PREMIUM CASE STUDIES
====================================== */

.premium-case-studies{
    padding: 100px 0;
    position: relative;
    overflow: hidden;

    background:
    radial-gradient(circle at top left,
    rgba(246,142,31,0.10),
    transparent 25%),

    radial-gradient(circle at bottom right,
    rgba(39,53,120,0.08),
    transparent 25%),

    #f8fafc;
}

/* HEADING */

.case-heading{
    max-width: 850px;
    margin: auto;
    margin-bottom: 70px;
}

.case-badge{
    display: inline-block;

    padding: 10px 24px;

    background: rgba(246,142,31,0.12);

    color: #F68E1F;

    border-radius: 50px;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;

    margin-bottom: 20px;
}

.case-heading h2{
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 20px;

    color: #273578;
}

.case-heading p{
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

/* TABS */

.case-tabs{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;

    margin-bottom: 70px;
}

.case-tab{
    border: 1px solid rgba(39,53,120,0.12);

    background: rgba(255,255,255,0.7);

    backdrop-filter: blur(12px);

    padding: 14px 28px;

    border-radius: 60px;

    font-size: 15px;
    font-weight: 600;

    color: #273578;

    cursor: pointer;

    transition: 0.4s ease;
}

.case-tab:hover,
.case-tab.active{

    background: linear-gradient(135deg,#273578,#1f2b63);

    color: white;

    transform: translateY(-3px);

    box-shadow:
    0 15px 35px rgba(39,53,120,0.22);
}

/* GRID */

.case-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 40px;
}

/* CARD */

.case-card{
    position: relative;

    background: rgba(255,255,255,0.72);

    backdrop-filter: blur(20px);

    border-radius: 35px;

    padding: 45px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.3);

    box-shadow:
    0 15px 40px rgba(0,0,0,0.06);

    transition: 0.5s ease;

    text-decoration: none;
}

.case-card:hover{
    transform: translateY(-12px);

    box-shadow:
    0 30px 70px rgba(39,53,120,0.16);
}

/* GLOW */

.case-glow{
    position: absolute;

    width: 240px;
    height: 240px;

    background:
    radial-gradient(circle,
    rgba(246,142,31,0.15),
    transparent 70%);

    top: -80px;
    right: -80px;

    border-radius: 50%;

    transition: 0.5s ease;
}

.case-card:hover .case-glow{
    transform: scale(1.3);
}

/* IMAGE */

.case-card img{
    width: 130px;
    height: 130px;

    object-fit: contain;

    margin-bottom: 35px;

    transition: 0.5s ease;

    position: relative;
    z-index: 2;
}

.case-card:hover img{
    transform: scale(1.06);
}

/* CONTENT */

.case-content{
    position: relative;
    z-index: 2;
}

.case-content span{
    color: #F68E1F;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.case-content h3{
    font-size: 36px;
    margin: 15px 0;

    color: #273578;
}

.case-content p{
    color: #666;
    line-height: 1.8;
}

/* FOOTER */

.case-footer{
    margin-top: 35px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-result strong{
    display: block;

    color: #273578;

    font-size: 28px;
}

.case-result small{
    color: #666;
}

.case-arrow{
    width: 60px;
    height: 60px;

    border-radius: 50%;

    background: linear-gradient(135deg,#F68E1F,#ff9b31);

    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;

    transition: 0.4s ease;
}

.case-card:hover .case-arrow{
    transform: rotate(-45deg) scale(1.08);
}

/* RESPONSIVE */

@media(max-width:992px){

    .case-grid{
        grid-template-columns: 1fr;
    }

    .case-heading h2{
        font-size: 42px;
    }
}

@media(max-width:768px){

    .premium-case-studies{
        padding: 70px 0;
    }

    .case-card{
        padding: 35px 28px;
    }

    .case-content h3{
        font-size: 28px;
    }

    .case-heading h2{
        font-size: 34px;
    }
}