/* Products Page Styles - Based on main.css */

/* Professional Hero Background */
.product-hero {
    background-color: #0e415b;
    padding: 4rem 0;
    min-height: 520px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Background Blobs - Removed Fully to Fix Layout */
.hero-bg-blob,
.blob-1,
.blob-2 {
    display: none !important;
}

/* 3 Row Typographic Background Watermark */
.hero-watermark-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem 0;
}

.watermark-row {
    font-size: clamp(40px, 8vw, 120px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: -1px;
    width: 100%;
    text-align: center;
    max-width: 100vw;
}

/* Offsetting rows for a staggered look */
.watermark-row.row-1 {
    transform: translateX(-2%);
}

.watermark-row.row-2 {
    color: rgba(225, 55, 50, 0.04);
    transform: translateX(2%);
}

.watermark-row.row-3 {
    color: rgba(77, 194, 248, 0.03);
    transform: translateX(-1%);
}



.product-hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Reset to 1:1 for better balance in smaller card */
    gap: 5rem;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 0.8s ease-out;
}

.glass-card-hero {
    background: #0a2a3a;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    position: relative;
}

.glass-card-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.product-hero .hero-subtitle {
    display: inline-block;
    color: #FF6B66;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
}

.text-gradient {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
    color: #ff6b66;
}

/* Innovative Subtitle Design */
.innovative-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(90deg, rgba(225, 55, 50, 0.15) 0%, rgba(225, 55, 50, 0) 100%);
    border-left: 3px solid #e13732;
    padding: 0.5rem 1.5rem 0.5rem 1rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.innovative-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: scanlight 4s infinite linear;
}

@keyframes scanlight {
    0% {
        left: -100%;
    }

    50% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ff6b66;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff6b66, 0 0 20px #ff6b66;
    animation: pulseGlow 2s infinite;
}

.subtitle-text {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.9;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 107, 102, 0.7);
    }

    70% {
        transform: scale(1.2);
        box-shadow: 0 0 0 8px rgba(255, 107, 102, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 107, 102, 0);
    }
}

.hero-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.hero-cta-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: nowrap;
    position: relative;
    z-index: 2;
}

.btn-hero-primary,
.btn-hero-secondary {
    white-space: nowrap;
    /* Prevent text wrapping inside buttons */
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 30px;
    border: none;
}

.btn-hero-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    background: #c12f29;
}

.btn-hero-secondary {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-hero-secondary:hover {
    transform: translateY(-3px);
    background: var(--primary-dark);
}

.btn-hero-primary svg,
.btn-hero-secondary svg,
.btn-hero-primary i,
.btn-hero-secondary i {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover svg,
.btn-hero-secondary:hover svg,
.btn-hero-primary:hover i,
.btn-hero-secondary:hover i {
    transform: translateX(5px);
}

/* Hero Image */
/* Hero 3D Mockup */
.hero-image {
    perspective: 1000px;
}

.mockup-3d-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    animation: floatImage 6s ease-in-out infinite;
}

.product-hero-img-3d {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6)) drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.mockup-3d-wrapper:hover .product-hero-img-3d {
    transform: rotateY(-15deg) rotateX(10deg) scale(1.05) translateZ(50px);
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(-1deg);
    }
}

/* Floating Badges - Beautiful Peaceful Liquid Glass */
.floating-badge {
    position: absolute;
    /* Soft cyan/navy-tinted glass */
    background: rgba(14, 65, 91, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.8rem 1.6rem;
    border-radius: 16px;
    /* Elegant soft rectangle instead of tight pill */

    /* Elegant thin borders reflecting light */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;

    /* Deep soft shadow + internal ambient light */
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.25),
        inset 0 4px 10px rgba(255, 255, 255, 0.3),
        inset 0 -4px 10px rgba(14, 65, 91, 0.5);

    z-index: 20;
    animation: badgeFloat 6s ease-in-out infinite;
    white-space: nowrap;

    /* Allow Hover Interactions */
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Authentic Liquid Glass Top Shine */
.floating-badge::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    height: 45%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 10;
    border-radius: 15px 15px 30px 30px;
    /* Soft inner curve */
}

/* Beautiful Hover Animation - Glows with Theme Red */
.floating-badge:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(225, 55, 50, 0.25);
    /* Warm red glass transition */
    border-color: rgba(225, 55, 50, 0.6);
    border-top-color: rgba(255, 255, 255, 0.9);

    box-shadow:
        0 25px 50px rgba(225, 55, 50, 0.3),
        /* Red outer glow */
        0 0 25px rgba(225, 55, 50, 0.4),
        /* Tight aura */
        inset 0 4px 10px rgba(255, 255, 255, 0.6),
        inset 0 -4px 15px rgba(225, 55, 50, 0.8);

    /* Pause the float animation so user can focus */
    animation-play-state: paused;
}

.floating-badge span,
.floating-badge i,
.floating-badge svg {
    position: relative;
    z-index: 15;
    transition: all 0.3s ease;
}

/* Glowing text on hover */
.floating-badge:hover span {
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}

/* Default icon color matches secondary theme (Red/Cyan) */
.floating-badge i {
    color: #4dc2f8;
    /* Soft blue/cyan default color for peaceful contrast */
    font-size: 1.15em;
}

/* Icon transformation on hover */
.floating-badge:hover i {
    color: #ffffff;
    /* Turns white inside the red glow */
    transform: rotate(10deg) scale(1.15);
    text-shadow: 0 0 15px rgba(255, 255, 255, 1);
}

.badge-1 {
    top: 5%;
    right: -5%;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 5%;
    left: -5%;
    animation-delay: -2.5s;
}

.floating-badge i {
    color: #e13732;
    font-size: 1.2rem;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 3rem 0 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .product-hero-img {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .badge-1 {
        right: 0%;
        top: -5%;
    }

    .badge-2 {
        left: 0%;
        bottom: -5%;
    }
}

/* What Is Dr Meddy Section */
.what-is-section {
    padding: 5rem 0;
    background: white;
}

.what-is-grid {
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 2rem;
    align-items: stretch;
}

/* Left Premium Panel - Matching index.css .info-card glass */
.green-panel {
    background: linear-gradient(135deg, rgba(14, 65, 91, 0.95), rgba(10, 53, 71, 0.85));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    color: white;
    overflow: hidden;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.3),
        inset 0 4px 8px rgba(255, 255, 255, 0.6),
        inset 0 -8px 15px rgba(0, 0, 0, 0.6),
        inset 0 10px 20px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.green-panel::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 5%;
    right: 5%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 10;
    border-radius: 20px 20px 50% 50%;
}

.green-panel:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 25px 45px rgba(0, 0, 0, 0.4),
        inset 0 6px 10px rgba(255, 255, 255, 0.7),
        inset 0 -8px 15px rgba(0, 0, 0, 0.7),
        inset 0 15px 25px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(16, 75, 105, 0.98), rgba(12, 60, 80, 0.9));
    border-color: rgba(255, 255, 255, 0.4);
}

.green-panel-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.green-panel-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-green-panel {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.2rem;
    background: #ffffff;
    color: #0e415b;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.btn-green-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(14, 65, 91, 0.1), transparent);
    transition: all 0.6s;
}

.btn-green-panel:hover::before {
    left: 100%;
}

.btn-green-panel:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-green-panel svg,
.btn-green-panel i {
    transition: transform 0.3s ease;
}

.btn-green-panel:hover svg,
.btn-green-panel:hover i {
    transform: translateX(5px);
}

/* Feature Cards - Row Layout */
.feature-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.92));
    padding: 2.22rem;
    border-radius: 15px;
    border: 1px solid rgba(14, 65, 91, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    box-shadow:
        0 8px 22px -4px rgba(0, 0, 0, 0.07),
        inset 0 2px 4px rgba(255, 255, 255, 0.9),
        inset 0 -2px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 10;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 50px -6px rgba(14, 65, 91, 0.15),
        inset 0 3px 6px rgba(255, 255, 255, 1),
        inset 0 -3px 6px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    width: 65px;
    height: 65px;
    min-width: 65px;
    background: linear-gradient(135deg, rgba(248, 251, 252, 0.95), rgba(240, 244, 248, 0.9));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    color: #e13732;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 65, 91, 0.08);
    box-shadow:
        0 6px 16px -4px rgba(0, 0, 0, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 0.9),
        inset 0 -2px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 15%;
    right: 15%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    border-radius: 10px 10px 50% 50%;
    pointer-events: none;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(235, 75, 70, 0.9), rgba(190, 30, 25, 0.95));
    color: #ffffff;
    transform: rotateY(360deg);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow:
        0 10px 22px -4px rgba(225, 55, 50, 0.45),
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        inset 0 -3px 6px rgba(120, 10, 10, 0.35);
}

.feature-icon svg {
    color: white;
    position: relative;
    z-index: 1;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.feature-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for What Is Section */
@media (max-width: 1200px) {
    .what-is-grid {
        grid-template-columns: 35% 1fr;
    }

    .feature-cards {
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.75rem;
    }

    .feature-title {
        font-size: 1.05rem;
    }

    .feature-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 968px) {
    .what-is-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .green-panel {
        padding: 2.5rem;
    }

    .green-panel-title {
        font-size: 1.75rem;
    }

    .green-panel-text {
        font-size: 0.95rem;
    }

    .feature-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .what-is-section {
        padding: 4rem 0;
    }

    .green-panel {
        padding: 2.5rem;
    }

    .green-panel-title {
        font-size: 1.75rem;
    }

    .green-panel-text {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .btn-green-panel {
        padding: 0.85rem 1.75rem;
        font-size: 0.95rem;
    }

    .feature-card {
        padding: 1.75rem;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
    }

    .feature-icon svg {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 576px) {
    .what-is-section {
        padding: 3rem 0;
    }

    .green-panel {
        padding: 2rem;
    }

    .green-panel-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .green-panel-text {
        font-size: 0.9rem;
        margin-bottom: 0.85rem;
    }

    .btn-green-panel {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .feature-cards {
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-description {
        font-size: 0.85rem;
    }
}

/* What Makes Dr Meddy Different Section */
.different-section {
    padding: 6rem 0;
    margin: 4rem 0;
    background: var(--white);
    position: relative;
}

.different-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Side - Content */
.different-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 450px;
}

.different-badge {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    padding: 0;
    background: transparent;
}

.different-main-title {
    font-size: 1.75rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.different-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.different-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.different-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.92));
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 4px 12px -2px rgba(0, 0, 0, 0.06),
        inset 0 2px 4px rgba(255, 255, 255, 0.9),
        inset 0 -2px 4px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

/* Glossy top shine on partnership cards */
.different-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 45%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
    border-radius: 12px 12px 50% 50%;
    pointer-events: none;
    z-index: 1;
}

.different-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 12px 28px -4px rgba(14, 65, 91, 0.15),
        inset 0 3px 6px rgba(255, 255, 255, 1),
        inset 0 -3px 6px rgba(0, 0, 0, 0.05);
    border-color: rgba(14, 65, 91, 0.3);
}

.different-item:hover .different-icon i {
    color: var(--primary-color);
    animation: iconSpinPop 0.5s linear forwards;
}

.different-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: none;
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.different-text {
    flex: 1;
}

.different-text h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.different-text p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

/* Right Side - Single Image */
.different-image-side {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 450px;
}

.different-image-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: var(--primary-light);
    box-shadow: 0 10px 30px rgba(14, 65, 91, 0.1);
    transition: var(--transition);
    width: 100%;
    height: 100%;
}

.different-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(14, 65, 91, 0.15);
}

.different-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design for Different Section */
@media (max-width: 1200px) {
    .different-container {
        gap: 3rem;
        max-width: 100%;
    }

    .different-image-side {
        height: 400px;
    }

    .different-content {
        height: 400px;
    }

    .different-main-title {
        font-size: 1.5rem;
    }

    .different-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .different-container {
        gap: 2.5rem;
    }

    .different-image-side {
        height: 350px;
    }

    .different-content {
        height: 350px;
    }

    .different-main-title {
        font-size: 1.4rem;
    }

    .different-item {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .different-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .different-text h4 {
        font-size: 0.9rem;
    }

    .different-text p {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .different-section {
        padding: 3rem 0;
    }

    .different-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        display: flex;
        flex-direction: column;
    }

    .different-content {
        height: auto;
        padding: 0;
        order: 1;
    }

    .different-badge {
        order: 1;
    }

    .different-main-title {
        order: 2;
    }

    .different-image-side {
        height: 300px;
        order: 2;
    }

    .different-description {
        order: 3;
    }

    .different-list {
        order: 4;
    }

    .different-content {
        display: flex;
        flex-direction: column;
    }

    .different-badge {
        font-size: 0.9rem;
    }

    .different-main-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .different-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .different-item {
        padding: 0.75rem;
        margin-bottom: 0.6rem;
    }

    .different-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .different-text h4 {
        font-size: 0.95rem;
    }

    .different-text p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .different-section {
        padding: 2.5rem 0;
    }

    .different-container {
        padding: 0 15px;
        gap: 1.5rem;
    }

    .different-image-side {
        height: 250px;
    }

    .different-image-card {
        border-radius: 12px;
    }

    .different-badge {
        font-size: 0.85rem;
    }

    .different-main-title {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }

    .different-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .different-item {
        padding: 0.6rem;
        margin-bottom: 0.5rem;
        gap: 0.6rem;
    }

    .different-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        border-radius: 8px;
    }

    .different-text h4 {
        font-size: 0.9rem;
    }

    .different-text p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Tabbed Features Section */
.tabbed-features-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

/* Section Header */
.tabbed-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tabbed-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.tabbed-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.92));
    border: 1px solid rgba(14, 65, 91, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 140px;
    flex: 1;
    box-shadow:
        0 4px 12px -2px rgba(0, 0, 0, 0.06),
        inset 0 2px 4px rgba(255, 255, 255, 0.9),
        inset 0 -2px 4px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

/* Subtle glossy top shine on inactive tabs */
.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 45%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
    border-radius: 12px 12px 50% 50%;
    pointer-events: none;
    z-index: 1;
}

.tab-btn:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow:
        0 12px 28px -4px rgba(14, 65, 91, 0.15),
        inset 0 3px 6px rgba(255, 255, 255, 1),
        inset 0 -3px 6px rgba(0, 0, 0, 0.05);
    border-color: rgba(14, 65, 91, 0.15);
}

.tab-btn:hover .tab-label {
    color: var(--primary-color);
}

.tab-btn:hover .tab-icon i {
    color: var(--primary-color);
    animation: iconSpinPop 0.5s linear forwards;
}

@keyframes iconSpinPop {
    0% {
        transform: rotateY(0deg) scale(1);
    }

    50% {
        transform: rotateY(540deg) scale(1.3);
    }

    100% {
        transform: rotateY(720deg) scale(1);
    }
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(14, 65, 91, 0.95), rgba(10, 53, 71, 0.85));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.3),
        inset 0 4px 8px rgba(255, 255, 255, 0.6),
        inset 0 -8px 15px rgba(0, 0, 0, 0.6),
        inset 0 10px 20px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5%;
    right: 5%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 10;
    border-radius: 12px 12px 50% 50%;
}

.tab-btn.active>* {
    position: relative;
    z-index: 11;
}

.tab-btn.active:hover {
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.4),
        inset 0 6px 10px rgba(255, 255, 255, 0.7),
        inset 0 -8px 15px rgba(0, 0, 0, 0.7),
        inset 0 15px 25px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

.tab-icon {
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tab-btn:hover .tab-icon {
    background: none;
}

.tab-btn.active .tab-icon {
    background: none;
}

.tab-icon i {
    font-size: 24px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.tab-btn:hover .tab-icon i {
    color: var(--primary-color);
}

.tab-btn.active .tab-icon i {
    color: white;
}

.tab-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    transition: color 0.3s ease;
    white-space: normal;
}

.tab-btn:hover .tab-label {
    color: var(--primary-color);
}

.tab-btn.active .tab-label {
    color: white;
}

/* Tab Content Grid */
.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Side: Content */
.tab-content-container {
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tab-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.tab-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.tab-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-tab-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(225, 55, 50, 0.95), rgba(180, 40, 35, 0.95));
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 16px -4px rgba(225, 55, 50, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        inset 0 -3px 6px rgba(120, 10, 10, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-tab-primary::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 10%;
    right: 10%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
    border-radius: 50px 50px 0 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.btn-tab-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 20px -5px rgba(225, 55, 50, 0.45),
        inset 0 2px 4px rgba(255, 255, 255, 0.6),
        inset 0 -3px 6px rgba(120, 10, 10, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-tab-primary:hover::before {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
}

.btn-tab-primary svg {
    transition: transform 0.3s ease;
}

.btn-tab-primary:hover svg {
    transform: translateX(5px);
}

/* Right Side: Visual */
.tab-visual-container {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-visual-card {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(14, 65, 91, 0.15);
    transition: all 0.3s ease;
}

.tab-visual-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(14, 65, 91, 0.2);
}

.tab-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .tabbed-title {
        font-size: 2.25rem;
    }

    .tabbed-subtitle {
        font-size: 1rem;
    }

    .tab-navigation {
        gap: 0.75rem;
    }

    .tab-btn {
        min-width: 120px;
        padding: 1rem 1.25rem;
    }

    .tab-content-grid {
        gap: 3rem;
    }

    .tab-visual-container {
        height: 320px;
    }
}

@media (max-width: 968px) {
    .tabbed-features-section {
        padding: 4rem 0;
    }

    .tabbed-header {
        margin-bottom: 2.5rem;
    }

    .tabbed-title {
        font-size: 2rem;
    }

    .tabbed-subtitle {
        font-size: 0.95rem;
    }

    .tab-navigation {
        margin-bottom: 2.5rem;
    }

    .tab-content-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .tab-visual-container {
        height: 300px;
        order: 2;
    }

    .tab-content-container {
        order: 1;
    }
}

@media (max-width: 768px) {
    .tabbed-features-section {
        padding: 3.5rem 0;
    }

    .tabbed-title {
        font-size: 1.85rem;
    }

    .tabbed-subtitle {
        font-size: 0.9rem;
    }

    .tab-btn {
        min-width: 100px;
        padding: 0.875rem 1rem;
    }

    .tab-icon {
        width: 42px;
        height: 42px;
    }

    .tab-icon i {
        font-size: 20px;
    }

    .tab-label {
        font-size: 0.85rem;
    }

    .tab-text {
        font-size: 1rem;
    }

    .tab-list li {
        font-size: 0.95rem;
    }

    .btn-tab-primary {
        padding: 0.9rem 1.75rem;
        font-size: 0.95rem;
    }

    .tab-visual-container {
        height: 280px;
    }
}

@media (max-width: 576px) {
    .tabbed-features-section {
        padding: 3rem 0;
    }

    .tabbed-header {
        margin-bottom: 2rem;
    }

    .tabbed-title {
        font-size: 1.65rem;
    }

    .tabbed-subtitle {
        font-size: 0.85rem;
    }

    .tab-navigation {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .tab-btn {
        min-width: 80px;
        padding: 0.75rem 0.75rem;
        gap: 0.35rem;
    }

    .tab-icon {
        width: 36px;
        height: 36px;
    }

    .tab-icon i {
        font-size: 18px;
    }

    .tab-label {
        font-size: 0.75rem;
    }

    .tab-content-grid {
        gap: 2rem;
    }

    .tab-content-container {
        min-height: 250px;
    }

    .tab-text {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .tab-list {
        margin-bottom: 1.5rem;
    }

    .tab-list li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
        margin-bottom: 0.6rem;
    }

    .btn-tab-primary {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }

    .tab-visual-container {
        height: 250px;
    }

    .tab-visual-card {
        border-radius: 15px;
    }
}

/* ================================================================
   VERTICAL-AXIS ICON ROTATION OVERRIDE
   (overrides the circular rotate() in contact.css for all product pages)
   ================================================================ */
@keyframes iconSpinPopY {
    0% {
        transform: rotateY(0deg) scale(1);
    }

    50% {
        transform: rotateY(540deg) scale(1.3);
    }

    100% {
        transform: rotateY(720deg) scale(1);
    }
}

/* Feature icon (.what-is-section cards) */
.feature-card:hover .feature-icon {
    animation: iconSpinPopY 0.5s linear forwards !important;
    transform: none;
}

/* Partnership list icons (.different-item section) */
.different-item:hover .different-icon i {
    animation: iconSpinPopY 0.5s linear forwards !important;
}

/* Tab navigation icons (.what-institutions-gain tabs) */
.tab-btn:hover .tab-icon i {
    animation: iconSpinPopY 0.5s linear forwards !important;
}