﻿/* Medicast 2025 - Modern Stylesheet
 * Enhanced design elements for the 2025 redesign
 */

:root {
    /* Color palette - extended for 2025 design */
    --primary-blue: #0072bb;
    /*--primary-blue: #4690f0;*/
    --secondary-blue: #00a0e3;
    --accent-yellow: #ffd100;
    --dark-blue: #005b95;
    --white: #ffffff;
    --light-gray: #f4f4f4;
    --text-dark: #333333;
    --text-light: #ffffff;
    --success-green: #008755;
    --footer-blue: #005480;
    /* 2025 additional colors */
    --neon-blue: #00f0ff;
    --soft-purple: #7e57c2;
    --midnight-blue: #00264d;
    /*--midnight-blue: #00a0e3 ;*/
    --highlight-yellow: #ffee00;
    /* Shadows and effects */
    --glow-blue: 0 0 10px rgba(0, 160, 227, 0.5);
    --glow-yellow: 0 0 15px rgba(255, 209, 0, 0.5);
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-xxl: 4rem;
}

/* ====== 2025 MODERN ELEMENTS ====== */
.highlight-blue {
    color: var(--primary-blue);
    font-weight: 700;
}

.highlight-yellow {
    color: var(--accent-yellow);
    font-weight: 700;
}
/* Gradient text headings */
.gradient-text {
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.accent-gradient-text {
    background: linear-gradient(90deg, var(--midnight-blue), var(--accent-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    /*color: transparent;*/
    font-weight: 800;
}

/* Modern buttons */
.btn-2025 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary-2025 {
    background-color: var(--accent-yellow);
    color: var(--midnight-blue);
}

    .btn-primary-2025:hover {
        transform: translateY(-3px);
        box-shadow: var(--glow-yellow);
    }

.btn-secondary-2025 {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

    .btn-secondary-2025:hover {
        transform: translateY(-3px);
        box-shadow: var(--glow-blue);
    }

.btn-outline-2025 {
    background-color: transparent;
    border: 2px solid var(--accent-yellow);
    color: var(--text-light);
}

    .btn-outline-2025:hover {
        background-color: var(--accent-yellow);
        color: var(--midnight-blue);
        transform: translateY(-3px);
    }

.btn-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-with-icon i {
        transition: transform 0.3s ease;
    }

    .btn-with-icon:hover i {
        transform: translateX(4px);
    }

/* Glow effect */
.btn-glow {
    position: relative;
    z-index: 1;
}

    .btn-glow::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
        opacity: 0;
        transform: scale(0.5);
        z-index: -1;
        transition: all 0.5s ease;
    }

    .btn-glow:hover::before {
        opacity: 1;
        transform: scale(1);
        animation: pulse-glow 2s infinite;
    }

@keyframes pulse-glow {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.05);
        opacity: 0.9;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

/* Hero 2025 */
.hero-2025 {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--text-light);
    padding: var(--space-xl) 0;
    z-index: 1;
}

/* Hero grid layout with image */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-xl);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pain-points-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Update responsive styles */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content-2025 {
        margin: 0 auto;
    }

    .hero-image {
        grid-row: 1;
        margin-bottom: var(--space-lg);
    }

    .pain-points-image {
        max-width: 80%;
    }
}

@media (max-width: 576px) {
    .pain-points-image {
        max-width: 100%;
    }
}

.animated-wave-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(ellipse at center, rgba(0,160,227,0.2) 0%, rgba(0,114,187,0) 70%);
    animation: wave 20s infinite linear;
    z-index: -1;
}

.wave-2 {
    top: -45%;
    animation-duration: 17s;
    opacity: 0.5;
    background: radial-gradient(ellipse at center, rgba(255,209,0,0.15) 0%, rgba(255,209,0,0) 70%);
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-content-2025 {
    max-width: 600px;
    position: relative;
    z-index: 2;
    animation: fadeIn 1.2s ease-out;
}

.hero-2025 h1 {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.hero-2025 .lead-text {
    font-size: 1.4rem;
    margin-bottom: var(--space-lg);
    font-weight: 300;
    opacity: 0.9;
}

.cta-container {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

/* Product Showcase - 3D effect */
.product-showcase {
    padding: var(--space-xxl) 0;
    background-color: var(--white);
}

.rotating-product {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 400px;
}

.product-3d-container {
    width: 60%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.product-3d {
    max-width: 100%;
    max-height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.2));
}

.rotating-product:hover .product-3d {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotateY(0);
    }

    50% {
        transform: translateY(-15px) rotateY(180deg);
    }

    100% {
        transform: translateY(0) rotateY(360deg);
    }
}

.product-highlights {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.highlight-point {
    position: absolute;
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
    animation-delay: calc(var(--point-index) * 0.3s);
}

    .highlight-point[data-point="1"] {
        top: 30%;
        left: 20%;
        --point-index: 1;
    }

    .highlight-point[data-point="2"] {
        top: 50%;
        right: 25%;
        --point-index: 2;
    }

    .highlight-point[data-point="3"] {
        bottom: 25%;
        left: 35%;
        --point-index: 3;
    }

.point-marker {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--accent-yellow);
    box-shadow: 0 0 0 5px rgba(255, 209, 0, 0.3);
    position: relative;
    z-index: 1;
    animation: pulse 2s infinite;
}

.point-info {
    position: absolute;
    background-color: var(--white);
    color: var(--text-dark);
    padding: 12px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    width: 200px;
    top: -10px;
    left: 30px;
    font-weight: 500;
    pointer-events: auto;
    z-index: 2;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 209, 0, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 209, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 209, 0, 0);
    }
}

/* Product Grid 2025 */
.products-grid-2025 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.product-card-2025 {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    position: relative;
}

    .product-card-2025:hover {
        transform: translateY(-10px);
        box-shadow: var(--hover-shadow);
    }

.product-image-2025 {
    height: 220px;
    width: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

    .product-image-2025 img {
        max-width: 80%;
        max-height: 80%;
        object-fit: contain;
        transition: transform 0.5s ease;
    }

.product-card-2025:hover .product-image-2025 img {
    transform: scale(1.08);
}

.product-image-2025::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30px;
    background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
    bottom: 0;
    left: 0;
}

.product-info-2025 {
    padding: var(--space-lg);
    position: relative;
}

.product-title-2025 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--midnight-blue);
}

.product-price-2025 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
}

.product-description-2025 {
    color: #6c757d;
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.product-actions-2025 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-yellow);
    color: var(--midnight-blue);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 2;
}

/* Interactive Benefits Section */
.benefits-section {
    padding: var(--space-xxl) 0;
    background-color: var(--light-gray);
}

.expandable-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.benefit-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    padding: var(--space-lg);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
}

    .benefit-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--hover-shadow);
    }

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: var(--space-md);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
    color: var(--midnight-blue);
}

.benefit-preview {
    color: #6c757d;
    margin-bottom: var(--space-md);
}

.benefit-expanded {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.benefit-card.expanded .benefit-expanded {
    height: auto;
    margin-bottom: var(--space-md);
}

.btn-expand {
    background: transparent;
    border: none;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

    .btn-expand::after {
        content: '+';
        display: inline-block;
        transition: transform 0.3s ease;
    }

.benefit-card.expanded .btn-expand::after {
    transform: rotate(45deg);
}

/* Testimonials Video Section */
.testimonials-video {
    padding: var(--space-xxl) 0;
    background-color: var(--white);
}

.video-testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.video-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

    .video-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--hover-shadow);
    }

.video-preview {
    height: 200px;
    background-color: var(--midnight-blue);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

    .video-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.video-card:hover .video-preview img {
    transform: scale(1.05);
}

.video-preview::after {
    content: '\f144';
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--white);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.video-card:hover .video-preview::after {
    opacity: 1;
    color: var(--accent-yellow);
    text-shadow: var(--glow-yellow);
}

.testimonial-content {
    padding: var(--space-lg);
}

.rating {
    color: var(--accent-yellow);
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
}

.customer-name {
    margin-top: var(--space-md);
    font-weight: 600;
    color: var(--primary-blue);
}

/* Featured Product Section */
.featured-product {
    padding: var(--space-xxl) 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

    .featured-product::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0l100,100" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
        opacity: 0.3;
    }

.featured-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.feature-image {
    position: relative;
}

    .feature-image img {
        border-radius: 16px;
        box-shadow: var(--card-shadow);
        max-width: 100%;
    }

.feature-content h2 {
    color: var(--text-light);
    margin-bottom: var(--space-md);
    font-size: 2.5rem;
    line-height: 1.2;
}

.feature-content p {
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
    opacity: 0.9;
}

.feature-points {
    margin-bottom: var(--space-xl);
}

.feature-point {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.feature-point-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-yellow);
    color: var(--midnight-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Call to Action Section */
.cta-2025 {
    padding: var(--space-xxl) 0;
    background-color: var(--midnight-blue);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-2025::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: radial-gradient(circle at center, var(--primary-blue) 0%, transparent 70%);
        opacity: 0.3;
    }

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-2025 h2 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    color: var(--text-light);
}

.cta-2025 p {
    font-size: 1.2rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-2025 h1 {
        font-size: 3rem;
    }

    .featured-product-grid {
        gap: var(--space-lg);
    }
}

@media (max-width: 992px) {
    .hero-2025 {
        min-height: 500px;
    }

    .featured-product-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature-points {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-point {
        text-align: left;
    }

    .cta-2025 h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-2025 h1 {
        font-size: 2.5rem;
    }

    .hero-2025 .lead-text {
        font-size: 1.2rem;
    }

    .cta-container {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .product-3d-container {
        width: 100%;
    }

    .video-testimonial-slider,
    .expandable-benefits {
        grid-template-columns: 1fr;
    }

    .cta-2025 h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-2025 {
        min-height: 400px;
    }

        .hero-2025 h1 {
            font-size: 2rem;
        }

    .products-grid-2025 {
        grid-template-columns: 1fr;
    }

    .product-badge {
        top: 10px;
        right: 10px;
    }
}

/* Add this to your medicast-2025.css file */
.navbar .container,
.site-header .container,
footer .container {
    width: 100%;
    max-width: 1200px; /* Match this to your main content container width */
    margin: 0 auto;
    padding: 0 15px;
}

/* If your navbar is full width but you want the content inside aligned */
.navbar,
.site-header {
    width: 100%;
}

.navbar-content,
.header-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Footer alignment fix */
footer {
    width: 100%;
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Dynamic Benefits Section Styling */
.benefits-dynamic {
    padding: var(--space-xxl) 0;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

    .benefits-dynamic::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(0, 160, 227, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
        border-radius: 50%;
        z-index: 0;
    }

.section-title-2025 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--midnight-blue);
    position: relative;
}

.highlight-text {
    position: relative;
    color: var(--primary-blue);
    z-index: 1;
}

    .highlight-text::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 30%;
        background-color: rgba(255, 209, 0, 0.3);
        z-index: -1;
        transform: skewX(-10deg);
    }

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Tabs Layout */
.benefits-tabs {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-xl);
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.benefits-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.benefit-tab-btn {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background-color: var(--white);
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

    .benefit-tab-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background-color: var(--primary-blue);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .benefit-tab-btn.active {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        transform: translateX(5px);
    }

        .benefit-tab-btn.active::before {
            transform: scaleY(1);
        }

    .benefit-tab-btn i {
        font-size: 1.5rem;
        color: var(--primary-blue);
        transition: transform 0.3s ease;
    }

    .benefit-tab-btn.active i {
        transform: scale(1.2);
    }

    .benefit-tab-btn span {
        font-weight: 600;
        color: var(--text-dark);
        transition: color 0.3s ease;
    }

    .benefit-tab-btn.active span {
        color: var(--primary-blue);
    }

    .benefit-tab-btn:hover {
        transform: translateX(5px);
        background-color: #f9f9f9;
    }

        .benefit-tab-btn:hover i {
            transform: scale(1.1);
        }

/* Tab Content */
.benefits-content {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    min-height: 500px; /* Set a minimum height to prevent layout shifts */
    transition: height 0.4s ease;
}

.benefit-tab-content {
    position: absolute;
    grid-template-columns: 40% 60%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

    .benefit-tab-content.active {
        position: relative;
        display: grid;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        z-index: 2;
    }

.benefit-media {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.benefit-image-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.benefit-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.85;
}

.benefit-tab-content.active .benefit-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 114, 187, 0.3) 0%, rgba(0, 160, 227, 0.3) 100%);
}

.benefit-details {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
}

    .benefit-details h3 {
        font-size: 1.8rem;
        margin-bottom: var(--space-md);
        color: var(--midnight-blue);
        line-height: 1.2;
    }

.benefit-highlight {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    background-color: rgba(255, 209, 0, 0.1);
    padding: var(--space-md);
    border-radius: 8px;
    position: relative;
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.benefit-highlight span:last-child {
    font-size: 1.1rem;
    color: var(--text-dark);
    flex: 1;
}

.benefit-details p {
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    color: #444;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .benefit-list li {
        display: flex;
        align-items: flex-start;
        gap: var(--space-sm);
        margin-bottom: var(--space-md);
        animation: fadeInUp 0.5s ease forwards;
        opacity: 0;
    }

        .benefit-list li:nth-child(1) {
            animation-delay: 0.1s;
        }

        .benefit-list li:nth-child(2) {
            animation-delay: 0.3s;
        }

        .benefit-list li:nth-child(3) {
            animation-delay: 0.5s;
        }

    .benefit-list i {
        color: var(--success-green);
        font-size: 1.2rem;
        margin-top: 3px;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .benefits-tabs {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .benefits-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .benefit-tab-btn {
        flex-direction: column;
        padding: var(--space-md) var(--space-md);
        text-align: center;
        width: calc(50% - var(--space-md));
    }

        .benefit-tab-btn::before {
            width: 100%;
            height: 5px;
            transform: scaleX(0);
        }

        .benefit-tab-btn.active::before {
            transform: scaleX(1);
        }

        .benefit-tab-btn.active {
            transform: translateY(-5px);
        }

        .benefit-tab-btn:hover {
            transform: translateY(-5px);
        }
}

@media (max-width: 768px) {
    .benefit-tab-content {
        grid-template-columns: 1fr;
    }

    .benefit-media {
        min-height: 250px;
    }

    .benefit-tab-btn {
        width: 100%;
    }

    .benefit-highlight {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }

    .section-title-2025 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .benefit-details {
        padding: var(--space-lg);
    }

        .benefit-details h3 {
            font-size: 1.5rem;
        }

    .highlight-number {
        font-size: 2rem;
    }
}

/* Login Page Styling */

.login-container {
    min-height: calc(100vh - 180px); /* Adjust based on your header/footer height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg) var(--space-md);
    background-color: var(--light-gray);
}

.login-wrapper {
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login-left {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

    .login-left::before {
        content: '';
        position: absolute;
        width: 200%;
        height: 200%;
        top: -50%;
        left: -50%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
        transform: rotate(30deg);
    }

.login-info {
    padding: var(--space-xl);
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.login-brand {
    margin-bottom: var(--space-xl);
}

    .login-brand h2 {
        font-size: 2rem;
        margin-bottom: var(--space-xs);
        color: var(--accent-yellow);
    }

    .login-brand p {
        opacity: 0.8;
    }

.login-benefits {
    margin-bottom: var(--space-xl);
}

    .login-benefits h3 {
        font-size: 1.3rem;
        margin-bottom: var(--space-md);
        color: var(--text-light);
    }

    .login-benefits .benefit-list {
        list-style: none;
        padding: 0;
    }

        .login-benefits .benefit-list li {
            display: flex;
            align-items: flex-start;
            gap: var(--space-md);
            margin-bottom: var(--space-md);
            opacity: 0.9;
        }

        .login-benefits .benefit-list i {
            color: var(--accent-yellow);
            font-size: 1.2rem;
            flex-shrink: 0;
            margin-top: 3px;
        }

.login-decoration {
    margin-top: auto;
    margin-bottom: -30px;
    margin-left: -30px;
    margin-right: -30px;
}

.login-image {
    max-width: 100%;
    border-radius: 10px 10px 0 0;
    opacity: 0.8;
}

.login-right {
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
    padding: var(--space-xl) var(--space-lg);
}

    .login-form-container h1 {
        color: var(--midnight-blue);
        font-size: 2rem;
        margin-bottom: var(--space-xs);
    }

.form-subtitle {
    color: #666;
    margin-bottom: var(--space-lg);
}

.login-form {
    margin-bottom: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.input-with-icon {
    position: relative;
}

    .input-with-icon i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
    }

    .input-with-icon .form-control {
        padding-left: 40px;
        height: 50px;
        border-radius: 10px;
        border: 1px solid #e0e0e0;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

        .input-with-icon .form-control:focus {
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 3px rgba(0, 114, 187, 0.1);
        }

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

    .remember-me input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: var(--primary-blue);
    }

.forgot-password {
    color: var(--primary-blue);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

    .forgot-password:hover {
        color: var(--dark-blue);
        text-decoration: underline;
    }

.login-btn {
    width: 100%;
    height: 50px;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

    .login-btn i {
        transition: transform 0.3s ease;
    }

    .login-btn:hover i {
        transform: translateX(4px);
    }

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: var(--space-md);
    color: #999;
    font-size: 0.9rem;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #e0e0e0;
    }

    .divider span {
        padding: 0 var(--space-sm);
    }

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    height: 45px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background-color: var(--white);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.google-btn {
    color: #4285F4;
}

.facebook-btn {
    color: #3b5998;
}

.social-btn:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.register-link {
    text-align: center;
    margin-top: var(--space-lg);
    color: #666;
}

    .register-link a {
        color: var(--primary-blue);
        font-weight: 500;
    }

        .register-link a:hover {
            text-decoration: underline;
        }

.text-danger {
    color: #dc3545;
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    padding: var(--space-sm);
    border-radius: 5px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .login-wrapper {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .login-left {
        display: none;
    }

    .login-form-container {
        padding: var(--space-xl);
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .login-container {
        padding: var(--space-md) var(--space-sm);
    }

    .login-form-container {
        padding: var(--space-lg);
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .social-buttons {
        grid-template-columns: 1fr;
    }
}

/* Additional CSS for register page - Add to medicast-2025.css */

/* Registration Form Specific Styles */
.register-right {
    min-height: 700px; /* Ensure enough height for the registration form */
}

.form-row {
    display: flex;
    gap: var(--space-md);
    width: 100%;
}

.form-group-half {
    flex: 1;
    min-width: 0; /* Prevent flex items from overflowing */
}

.terms-checkbox {
    margin-bottom: var(--space-lg);
}

    .terms-checkbox a {
        color: var(--primary-blue);
        text-decoration: underline;
    }

        .terms-checkbox a:hover {
            color: var(--dark-blue);
        }

/* Validation error messages specific styling */
field-validation-error {
    display: none;
}

.input-validation-error + .field-validation-error,
.field-validation-error.show {
    display: block;
}

/* Style for the form validation summary - hide initially */
.validation-summary-errors {
    display: none;
}

/* Only show validation summary after form submission attempt */
.form-submitted .validation-summary-errors {
    display: block;
}

/* Styling for the error indicators on the right side */
.error-indicator {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 80%;
    background-color: #dc3545;
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.input-validation-error + .error-indicator {
    opacity: 1;
}

/* Make validation summary more prominent */
/*.validation-summary-errors {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
    padding: var(--space-sm);
    border-radius: 5px;
    margin-bottom: var(--space-md);
}

    .validation-summary-errors ul {
        margin-bottom: 0;
        padding-left: 20px;
    }*/

/* Password strength indicator */
.password-strength-meter {
    height: 5px;
    background-color: #e0e0e0;
    margin-top: 5px;
    border-radius: 3px;
    overflow: hidden;
}

    .password-strength-meter div {
        height: 100%;
        width: 0;
        transition: width 0.3s ease;
    }

.strength-weak {
    background-color: #dc3545;
    width: 25% !important;
}

.strength-fair {
    background-color: #ffc107;
    width: 50% !important;
}

.strength-good {
    background-color: #28a745;
    width: 75% !important;
}

.strength-strong {
    background-color: #20c997;
    width: 100% !important;
}

.password-requirements {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

/* Responsive adjustments for registration */
@media (max-width: 992px) {
    .register-right {
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .terms-checkbox label {
        font-size: 0.9rem;
    }
}