/*
==============================================================================
VRA DIAGNOSTICS - MAIN STYLES
==============================================================================
Updated: January 2026
Professional Medical Laboratory Design
Mobile + Desktop Optimized
Traditional IMG Tag Approach - FULLY CORRECTED VERSION
==============================================================================
*/

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Comfortaa', cursive;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
    transition: all 0.3s;
    overflow-x: hidden;
}

/*
==============================================================================
TOP BAR - PROFESSIONAL DESIGN
==============================================================================
*/

.top-bar {
    background: linear-gradient(135deg, #5570BD, #1e3c72);
    color: white;
    font-size: 0.9rem;
    padding: 0.75rem 0;
}

.top-bar-contact {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.top-bar-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-contact li a,
.top-bar-contact li span {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar-contact li a:hover {
    color: #FFD700;
}

.top-bar-social {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.top-bar-social li {
    display: inline-block;
}

.top-bar-social a {
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s, color 0.3s;
}

.top-bar-social a:hover {
    transform: scale(1.1);
    color: #FFD700;
}

/*
==============================================================================
MAIN HEADER - STICKY WITH PROPER STYLING
==============================================================================
*/

.main-header {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header.scrolled,
.sticky-header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sticky-header.scrolled {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15) !important;
}

.main-header .navbar {
    padding: 1rem 0;
}

.main-header .header-logo,
.main-header .navbar-brand img {
    height: 50px;
    transition: transform 0.3s;
}

.main-header .header-logo:hover,
.main-header .navbar-brand:hover img {
    transform: scale(1.05);
}

.main-header .navbar-nav {
    gap: 0.5rem;
}

.main-header .nav-link {
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    color: #2c3e50;
    transition: all 0.3s;
    position: relative;
    border-radius: 8px;
    font-size: 0.95rem;
}

.main-header .nav-link i {
    margin-right: 0.4rem;
    font-size: 0.9rem;
}

.main-header .nav-link:hover {
    color: #FF0D7E !important;
    background: rgba(255, 13, 126, 0.05);
}

.main-header .nav-link.active {
    color: #5570BD;
    font-weight: 600;
}

.main-header .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: #FF0D7E;
    border-radius: 2px;
}

.btn-book-test {
    background: linear-gradient(135deg, #5570BD, #1e3c72) !important;
    color: white !important;
    border-radius: 25px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(59, 89, 152, 0.3) !important;
    border: none !important;
}

.btn-book-test:hover {
    background: linear-gradient(135deg, #1e3c72, #5570BD) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(59, 89, 152, 0.4) !important;
    color: white !important;
}

.btn-book-test i {
    margin-right: 0.4rem;
}

.navbar-toggler {
    border: 2px solid #5570BD;
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(85, 112, 189, 0.25);
}

.navbar-toggler-icon i {
    color: #5570BD;
    font-size: 1.5rem;
}

/*
==============================================================================
LEGACY NAVIGATION (OLD DESKTOP MENU)
==============================================================================
*/

.pulse-logo {
    height: auto;
    max-height: 60px;
    width: auto;
    max-width: 200px;
    transition: transform 0.3s ease;
}

.pulse-logo:hover {
    transform: scale(1.05);
}

.logo-bar {
    background-color: #5570BD;
    z-index: 1000;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.logo-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-bar .nav {
    display: flex;
    align-items: center;
    margin: 0;
}

.logo-bar .nav-item {
    list-style: none;
}

.logo-bar .nav a {
    color: white;
    padding: 0 15px;
    font-weight: bold !important;
    cursor: pointer !important;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-bar .nav a:hover {
    color: #FFD700 !important;
    background: none;
}

.logo-bar .nav a img {
    vertical-align: middle;
    margin-right: 5px;
}

.navigation {
    background-color: white;
    width: 100%;
}

.navigation-menu {
    background-color: white;
    filter: opacity(93%);
    width: 100%;
    text-align: center;
    font-size: 14px;
    padding: 0;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navigation-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.navigation-menu ul li {
    display: inline-block;
    position: relative;
}

.navigation-menu ul li a {
    display: inline-block;
    padding: 20px 20px;
    text-decoration: none;
    transition: all 0.3s;
    color: #333;
    font-weight: 500;
}

.navigation-menu ul li a:hover {
    color: #FF0D7E;
    border-bottom: 3px solid #FF0D7E;
}

.sub-menu {
    display: none;
    background-color: #f5f5f5;
    position: absolute;
    text-align: left;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.sub-menu a {
    display: block;
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.sub-menu a:hover {
    background: #5570BD;
    color: white !important;
}

.menu:hover .sub-menu {
    display: block;
}

.search-bar {
    border: 1px solid #ddd;
    border-radius: 20px 0 0 20px;
    padding: 8px 15px;
    min-width: 150px;
}

input[type=search]::placeholder {
    color: #999 !important;
}

input[type=search]:focus {
    outline: none;
    border-color: #5570BD !important;
    box-shadow: 0 0 5px rgba(40, 50, 144, 0.3);
}

.input-group-text {
    background-color: white;
    border: 1px solid #ddd;
    border-left: none;
    border-radius: 0 20px 20px 0;
}

@media (max-width:992px) {
    .navigation {
        display: none;
    }

    .logo-bar {
        display: none;
    }
}

@media (max-width:768px) {
    .logo-bar ul {
        display: none;
    }

    .navigation-menu ul {
        flex-direction: column;
    }

    .navigation-menu ul li a {
        padding: 15px 10px;
    }
}

/*
==============================================================================
SIDEBAR (MOBILE MENU)
==============================================================================
*/

@media (min-width:992px) {
    .sidebar-container {
        display: none;
    }
}

.sidebar-container {
    position: relative;
    z-index: 2000;
}

.sidebar {
    position: fixed;
    height: 100%;
    width: 0;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, #5570BD 0%, #1a1f5c 100%);
    z-index: 2001;
    overflow-x: hidden;
    overflow-y: auto;
    text-align: center;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
    color: white;
    transition: width 0.3s ease;
}

.sidebar.active {
    width: 280px;
}

.sidebar .menu-list {
    margin-top: 80px;
    padding: 0;
}

.sidebar .list-group {
    background: transparent;
}

.sidebar ul {
    padding: 0;
    margin: 0;
}

.sidebar ul a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    background: transparent;
    display: block;
    padding: 15px 20px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar ul a:hover {
    background: rgba(255, 13, 126, 0.3);
    font-weight: bold;
    color: white;
    padding-left: 30px;
}

.sidebar .pulse-logo {
    max-height: 80px;
    margin: 20px auto;
}

.show-btn {
    position: fixed;
    left: 20px;
    top: 20px;
    display: block;
    padding: 10px;
    cursor: pointer;
    z-index: 1999;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.show-btn span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 4px 0;
    background: #5570BD;
    transition: all 0.3s ease;
}

.sidebar .hide-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    padding: 10px;
    cursor: pointer;
    z-index: 2002;
}

.sidebar .hide-btn span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 4px 0;
    background: white;
    transition: all 0.3s ease;
}

.sidebar .hide-btn .first {
    transform: rotate(45deg) translate(5px, 5px);
}

.sidebar .hide-btn .third {
    transform: rotate(-45deg) translate(5px, -5px);
}

.sidebar .list-group-item {
    border: none;
    background: transparent;
}

/*
==============================================================================
HERO BANNER - TEXT-BASED (NO LOGO IMAGE) + TRADITIONAL IMG BACKGROUND
==============================================================================
*/
/*
==============================================================================
HERO BANNER - REDUCED TOP SPACE (CLOSER TO NAVBAR)
==============================================================================
*/

.hero-banner {
    position: relative;
    min-height: 90vh;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px 0 30px;
}

.hero-background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(85, 112, 189, 0.85) 0%, rgba(30, 60, 114, 0.90) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: -50px;
}

.hero-text {
    color: white;
    text-align: center;
}

/* HIDE LOGO IMAGE - USE TEXT INSTEAD */
.hero-brand-logo {
    display: none !important;
}

/* VRA DIAGNOSTICS TEXT STYLING */
/* VRA Text - Light Blue Gradient */
.vra-text {
    background: linear-gradient(135deg, #A8B9E6 0%, #8B9DD6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; 
    font-weight: 900;
    display: block;
}

/* DIAGNOSTICS Text - Pink Gradient */
.diagnostics-text {
    background: linear-gradient(135deg, #FF3399 0%, #E91E8C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; 
    font-weight: 900;
    display: block;
}


.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.brand-accent {
    color: #FFD700;
    text-shadow: 0 5px 25px rgba(255, 215, 0, 0.5);
}

.hero-tagline {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 0.6rem;
    color: white;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* SMALLER BUTTONS */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-btn {
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px !important;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.hero-btn:hover {
    text-decoration: none !important;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #5570BD, #1e3c72) !important;
    color: white !important;
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #1e3c72, #5570BD) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(85, 112, 189, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid white !important;
    color: white !important;
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: white !important;
    color: #5570BD !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3) !important;
    text-decoration: none !important;
}

.hero-stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border-radius: 100px;
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: #FFD700;
    line-height: 1;
    margin-bottom: 0.3rem;
    text-shadow: 0 3px 15px rgba(255, 215, 0, 0.5);
}

.stat-label {
    font-size: 0.75rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* SCROLL DOWN INDICATOR - CENTERED */
.scroll-down-wrapper {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 3;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

.scroll-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: white;
    text-decoration: none !important;
    transition: all 0.3s;
}

.scroll-btn:hover {
    text-decoration: none !important;
    color: #FFD700;
}

.scroll-btn i {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.scroll-btn span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/*
==============================================================================
RESPONSIVE - HERO BANNER
==============================================================================
*/

@media (max-width: 1199px) {
    .hero-content {
        margin-top: -40px;
    }

    .hero-brand-text {
        font-size: 3.5rem;
    }

    .hero-brand-text .diagnostics-text {
        font-size: 2.6rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-tagline {
        font-size: 1.3rem;
    }

    .hero-stats-badge {
        padding: 1rem 2rem;
        gap: 1.5rem;
    }
}

@media (max-width: 991px) {
    .hero-content {
        margin-top: -30px;
    }

    .hero-brand-text {
        font-size: 3rem;
    }

    .hero-brand-text .diagnostics-text {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 20px 0 30px;
    }

    .hero-content {
        margin-top: -20px;
    }

    .hero-brand-text {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

    .hero-brand-text .diagnostics-text {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-tagline {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 0.8rem 2rem;
    }

    .hero-stats-badge {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        border-radius: 20px;
    }

    .stat-divider {
        width: 60%;
        height: 2px;
    }

    .scroll-down-wrapper {
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-content {
        margin-top: -10px;
    }

    .hero-brand-text {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .hero-brand-text .diagnostics-text {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }
}


/*
==============================================================================
TYPEWRITER EFFECT
==============================================================================
*/

.typewriter {
    display: inline-block;
}

.typewriter h4 {
    overflow: hidden;
    border-right: 2px solid #FF0D7E;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .05em;
    animation:
        typing 5s steps(30, end) infinite,
        blink-caret .75s step-end infinite;
}

@keyframes typing {
    0% {
        width: 0
    }

    50% {
        width: 100%
    }

    75% {
        width: 100%
    }

    100% {
        width: 0
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #FF0D7E;
    }
}

.titles_welcome {
    padding: 10px 20px;
    border-bottom: 4px solid #5570BD;
    display: inline-block;
    font-weight: bold;
    margin: 40px 0;
    color: #5570BD;
}

/*
==============================================================================
SHAPED CONTAINERS - CORRECTED: TEXT STAYS IN RIGHT SECTION ONLY
==============================================================================
*/

/* Desktop Shaped Section 1 - Welcome (Image LEFT, Text RIGHT) */
@media(min-width:1200px) {
    .container-custom {
        overflow: hidden;
        background: #5570BD;
        padding: 80px 0;
        position: relative;
        min-height: 600px;
        display: flex;
        align-items: center;
    }

    .shaped-img {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 45%;
        object-fit: cover;
        clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
        z-index: 1;
    }

    .content {
        position: relative;
        z-index: 2;
        text-align: left;
        color: #f5f5f5;
        padding: 60px;
        margin-left: 48%;
        font-size: 16px;
        line-height: 1.9;
        width: 52%;
    }

    .content h1,
    .content .titles {
        text-align: left;
        margin-bottom: 2rem;
    }

    .content p {
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .welcome_container {
        display: none;
    }
}

/* Desktop Shaped Section 2 - About (Image RIGHT, Text LEFT) */
@media(min-width:1200px) {
    .container-custom_1 {
        overflow: hidden;
        background: #5570BD;
        padding: 80px 0;
        position: relative;
        min-height: 600px;
        display: flex;
        align-items: center;
    }

    .shaped-img-left {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 45%;
        object-fit: cover;
        clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
        z-index: 1;
    }

    .content_1 {
        position: relative;
        z-index: 2;
        text-align: left;
        color: #f5f5f5;
        padding: 60px;
        margin-right: 48%;
        font-size: 16px;
        line-height: 1.9;
        width: 52%;
    }

    .content_1 h1,
    .content_1 .titles {
        text-align: left;
        margin-bottom: 2rem;
    }

    .content_1 p {
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .welcome_container_1 {
        display: none;
    }
}

/* Mobile - Welcome Section */
@media(max-width:1199px) {
    .container-custom {
        display: none;
    }

    .welcome_container {
        position: relative;
        min-height: 500px;
        overflow: hidden;
    }

    .welcome-bg-mobile {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 0;
    }

    .welcome_container .row {
        position: relative;
        z-index: 1;
        margin: 0;
    }

    .welcome_container .col-text {
        background: rgba(85, 112, 189, 0.95);
        color: #f5f5f5;
        padding: 50px 30px;
        position: relative;
        z-index: 2;
    }
}

/* Mobile - About Section */
@media(max-width:1199px) {
    .container-custom_1 {
        display: none;
    }

    .welcome_container_1 {
        position: relative;
        min-height: 500px;
        overflow: hidden;
    }

    .about-bg-mobile {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 0;
    }

    .welcome_container_1 .row {
        position: relative;
        z-index: 1;
        margin: 0;
    }

    .welcome_container_1 .col-text {
        background: rgba(85, 112, 189, 0.95);
        color: #f5f5f5;
        padding: 50px 30px;
        position: relative;
        z-index: 2;
    }
}

.titles {
    border-bottom: 3px solid #5570BD;
    display: inline-block;
    padding-bottom: 10px;
    font-weight: 700;
    color: #5570BD;
    margin-bottom: 30px;
}

/*
==============================================================================
KEY FEATURES SECTION
==============================================================================
*/

.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #5570BD;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid #5570BD;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(85, 112, 189, 0.15);
}

.feature-icon {
    font-size: 3.5rem;
    color: #5570BD;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

/*
==============================================================================
SERVICES SECTION - PROFESSIONAL CARDS
==============================================================================
*/

.services_container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    padding: 80px 0 !important;
}

.services_container .titles {
    font-size: 3rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #5570BD, #FF0D7E) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    border-bottom: none !important;
}

.service_card {
    border-radius: 20px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    height: 260px !important;
    position: relative !important;
    border: none !important;
    margin-bottom: 1.5rem !important;
}

.service_card::before {
    content: '' !important;
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    height: 4px !important;
    background: linear-gradient(90deg, #5570BD, #FF0D7E) !important;
    z-index: 2 !important;
}

.service_overlay {
    padding: 2rem 1.2rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    text-align: center !important;
    position: relative !important;
    z-index: 1 !important;
}

.service_overlay img {
    width: 52px !important;
    height: 52px !important;
    margin-bottom: 1rem !important;
    filter: grayscale(0.2) !important;
    transition: all 0.3s ease !important;
}

.service_overlay i {
    font-size: 2.6rem !important;
    color: #5570BD !important;
    margin-bottom: 1rem !important;
    transition: all 0.3s ease !important;
}

.service_overlay h5 {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    margin: 0 0 0.25rem 0 !important;
    color: #2a2a2a !important;
    line-height: 1.3 !important;
}

.service_card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

.service_card:hover .service_overlay img {
    filter: grayscale(0) !important;
    transform: scale(1.08) rotate(3deg) !important;
}

.service_card:hover .service_overlay i {
    transform: scale(1.1) !important;
    color: #FF0D7E !important;
}

/* VIEW ALL SERVICES BUTTON - ROUNDED STYLE */
.services_container .btn-primary,
.services_container .btn-lg,
.services_container .btn {
    background: linear-gradient(135deg, #5570BD, #1e3c72) !important;
    color: white !important;
    border-radius: 50px !important;
    padding: 1rem 2.5rem !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(85, 112, 189, 0.3) !important;
    transition: all 0.4s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.services_container .btn-primary:hover,
.services_container .btn-lg:hover,
.services_container .btn:hover {
    background: linear-gradient(135deg, #1e3c72, #5570BD) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(85, 112, 189, 0.5) !important;
    color: white !important;
}

/*
==============================================================================
WHY CHOOSE US SECTION - FIX IMAGE SPILLOVER
==============================================================================
*/

.why-choose-section {
    background: linear-gradient(135deg, #5570BD 0%, #1a1f5c 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.why-item {
    display: flex;
    align-items-start;
    margin-bottom: 2rem;
}

.why-icon {
    font-size: 2rem;
    color: #FFD700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.why-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.why-text {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    line-height: 1.6;
}

.why-choose-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/*
==============================================================================
STATS SECTION
==============================================================================
*/

.stats-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.stat-box {
    text-align: center;
    padding: 2rem;
}

.stat-icon {
    font-size: 3.5rem;
    color: #5570BD;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    color: #5570BD;
    margin-bottom: 0.5rem;
}

.stat-description {
    color: #666;
    font-size: 1rem;
}

/*
==============================================================================
CONTACT SECTION
==============================================================================
*/

.contact-section {
    padding: 80px 0;
}

.contact-container-bg {
    background: linear-gradient(135deg, #5570BD 0%, #1a1f5c 100%);
    color: #f5f5f5 !important;
    padding: 40px;
    border-radius: 15px;
}

.contact-container-bg .form-control {
    color: #333 !important;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
    border-radius: 8px;
}

.contact-container-bg .form-control::placeholder {
    color: #999 !important;
}

.contact-container-bg .form-control:focus {
    border-color: #FF0D7E;
    box-shadow: 0 0 10px rgba(255, 13, 126, 0.3);
}

.contact-container-bg textarea.form-control {
    color: #333 !important;
}

.contact-container-bg h2,
.contact-container-bg h4 {
    color: #f5f5f5 !important;
}

.contact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 15px 15px 0;
}

@media (max-width: 767px) {
    .contact-img {
        border-radius: 0 0 15px 15px;
        min-height: 300px;
    }
}

/*
==============================================================================
MODALS - DARK BLUE THEME
==============================================================================
*/

.modal-header.contact-container-bg {
    background: linear-gradient(135deg, #5570BD, #1e3c72);
    color: white;
    border-bottom: none;
    border-radius: 0.3rem 0.3rem 0 0;
}

.modal-header.contact-container-bg h4 {
    color: white !important;
    font-weight: 600;
}

.modal-header.contact-container-bg .close {
    color: white;
    opacity: 1;
    text-shadow: none;
}

.modal-header.contact-container-bg .close:hover {
    color: #FFD700;
}

.modal-body.contact-container-bg {
    background: linear-gradient(135deg, #5570BD, #1e3c72);
}

.modal-body.book-sample {
    background: linear-gradient(135deg, #5570BD 0%, #1e3c72 100%);
}

.modal-body.book-sample .form-control {
    background: rgba(255, 255, 255, 0.95);
    color: #333 !important;
    margin-bottom: 15px;
}

.modal-body.book-sample textarea::placeholder,
.modal-body.book-sample input::placeholder {
    color: #999 !important;
}

.modal-body.book-sample label,
.book-sample span {
    color: white !important;
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

/*
==============================================================================
TEST PROFILES LIST PAGE
==============================================================================
*/

.test-profile-list .container {
    background: transparent;
}

.test-profile-list .list-group-item {
    background: white;
    border: 1px solid #ddd;
    color: #333;
    transition: all 0.3s ease;
}

.test-profile-list .list-group-item:hover {
    background: #f5f5f5;
    border-left: 4px solid #FF0D7E;
    color: #5570BD;
}

.test-profile-list .list-group-item.active {
    background: linear-gradient(135deg, #5570BD 0%, #FF0D7E 100%) !important;
    color: white !important;
    border-color: #FF0D7E !important;
}

/*
==============================================================================
HOME COLLECTION SECTION - TRADITIONAL IMG
==============================================================================
*/

.home-collection {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.home-collection-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.home-collection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 50, 144, 0.7);
    z-index: 1;
}

.home-collection .container {
    position: relative;
    z-index: 2;
    color: white;
}

/*
==============================================================================
FOOTER
==============================================================================
*/

.footer {
    background: linear-gradient(135deg, #5570BD 0%, #1a1f5c 100%);
    color: white;
    padding: 50px 0 20px;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #FFD700;
}

.list_title {
    margin-bottom: 20px;
    font-weight: 700;
    color: #FFD700 !important;
}

.list_title a {
    color: #FFD700 !important;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #FFD700;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #FFD700;
}

.footer-links a i {
    margin-right: 0.5rem;
    width: 20px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: start;
}

.footer-contact i {
    color: #FFD700;
    width: 25px;
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.footer-social a {
    color: white;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #FFD700;
    color: #1a1f5c;
    transform: translateY(-3px);
}

/*
==============================================================================
FLOATING BUTTONS - ORIGINAL DESIGN RESTORED
==============================================================================
*/

.floating-btn {
    position: fixed;
    z-index: 999;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    font-size: 1rem;
    padding: 15px 25px;
    background: linear-gradient(135deg, #FF0D7E 0%, #5570BD 100%);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    color: white !important;
    text-transform: capitalize;
    font-weight: bold !important;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-btn:hover {
    right: 0;
    background: linear-gradient(135deg, #5570BD 0%, #FF0D7E 100%);
    box-shadow: -8px 0 25px rgba(0, 0, 0, 0.5);
    color: white !important;
    transform: translateY(-50%) translateX(-5px);
}

.floating-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.floating-btn label {
    cursor: pointer;
    margin-bottom: 0;
    color: white !important;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s;
    text-decoration: none !important; /* Added !important to force no underline */
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    color: white;
    text-decoration: none !important; /* Added to ensure no underline on hover */
}

/* Additional fix for all states */
.whatsapp-float:focus,
.whatsapp-float:active,
.whatsapp-float:visited {
    color: white;
    text-decoration: none !important;
}

/*
==============================================================================
BREADCRUMB
==============================================================================
*/

.bread-crumb {
    background: #f5f5f5;
    padding: 15px 0;
    border-bottom: 2px solid #5570BD;
}

.bread-crumb a {
    color: #5570BD;
    font-weight: 600;
    text-decoration: none;
}

.bread-crumb a:hover {
    color: #FF0D7E;
}

/*
==============================================================================
PARALLAX SECTIONS
==============================================================================
*/

.parallax-window {
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    min-height: 400px;
    position: relative;
}

.services {
    position: relative;
}

/*
==============================================================================
CONTACT PAGE SPECIFIC STYLES
==============================================================================
*/

.contact-info-box {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #5570BD 0%, #1a1f5c 100%);
    border-radius: 10px;
    overflow: hidden;
    padding: 40px;
}

.contact-info-box h2,
.contact-info-box h3,
.contact-info-box h4,
.contact-info-box p,
.contact-info-box label {
    color: #f5f5f5 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.contact-info-box i {
    color: #FFD700 !important;
}

.contact-info-box .contact-email {
    color: #f5f5f5 !important;
    text-decoration: underline;
}

.contact-info-box .contact-email:hover {
    color: #FFD700 !important;
}

.faq-section {
    background: linear-gradient(135deg, #5570BD 0%, #1a1f5c 100%);
    padding: 50px 0;
}

.faq-section h1,
.faq-section h2,
.faq-section h3,
.faq-section h4,
.faq-section .titles {
    color: #f5f5f5 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.faq-section .accordion a {
    color: #f5f5f5 !important;
    text-decoration: none;
}

.faq-section .accordion a:hover {
    color: #FFD700 !important;
}

.faq-section .accordion a p {
    transition: all 0.3s ease;
}

.faq-section .accordion .card-body {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-top: 10px;
    padding: 15px 20px;
}

.faq-section .accordion .card-body p {
    color: #f5f5f5 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.7;
}

.faq-section .accordion i.fa-caret-right {
    color: #FFD700 !important;
    margin-right: 10px;
}

.contact-form-box {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

/*
==============================================================================
UTILITY CLASSES
==============================================================================
*/

.bg-light {
    background-color: #f5f5f5 !important;
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/*
==============================================================================
RESPONSIVE
==============================================================================
*/

@media (max-width: 1199px) {
    .hero-brand-text {
        font-size: 5rem;
    }

    .hero-brand-text .diagnostics-text {
        font-size: 3.8rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.7rem;
    }

    .hero-stats-badge {
        padding: 1.2rem 2.5rem;
        gap: 2rem;
    }
}

@media (max-width: 991px) {
    .main-header .navbar-nav {
        padding: 1rem 0;
    }

    .main-header .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
    }

    .main-header .nav-link.active::after {
        width: 90%;
        left: 5%;
        transform: none;
    }

    .btn-book-test {
        margin-top: 0.5rem;
        text-align: center;
        display: block;
    }

    .hero-brand-text {
        font-size: 4rem;
    }

    .hero-brand-text .diagnostics-text {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .why-choose-img {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .top-bar-contact {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .top-bar-social {
        justify-content: center;
        margin-top: 0.5rem;
    }

    .service_card {
        height: 220px !important;
        margin-bottom: 1rem !important;
    }

    .service_overlay {
        padding: 1.5rem 1rem !important;
    }

    .service_overlay img {
        width: 45px !important;
        height: 45px !important;
    }

    .service_overlay i {
        font-size: 2.2rem !important;
    }

    .floating-btn {
        padding: 15px;
        right: 20px;
        top: auto;
        bottom: 100px;
        border-radius: 50%;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
        transform: none;
    }

    .floating-btn:hover {
        right: 20px;
        transform: translateY(-3px);
    }

    .floating-btn label,
    .floating-btn img {
        display: none;
    }

    .floating-btn::before {
        content: "\f015";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 1.5rem;
    }

    .footer-social {
        justify-content: center;
    }

    .hero-brand-text {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .hero-brand-text .diagnostics-text {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .hero-stats-badge {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
        border-radius: 20px;
    }

    .stat-divider {
        width: 80%;
        height: 2px;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .titles {
        font-size: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    .hero-brand-text {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

    .hero-brand-text .diagnostics-text {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: 1.8rem;
    }
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .service_overlay img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/*
==============================================================================
CONTACT PAGE - MATCHING INDEX.HTML STYLE
==============================================================================
*/

/* Page Header Banner (Same style as index.html hero) */
.page-header-banner {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(85, 112, 189, 0.75) 0%, rgba(30, 60, 114, 0.78) 100%);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-header-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

/* Contact Info Box */
.contact-info-box {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    overflow: hidden;
}

.contact-map {
    min-height: 500px;
    width: 100%;
}

.contact-info-content {
    background: linear-gradient(135deg, #5570BD 0%, #1a1f5c 100%);
    color: white;
    text-align: left;
}

.contact-info-content h2 {
    color: white;
    font-weight: 700;
}

.contact-email {
    color: #FFD700 !important;
    text-decoration: none;
    font-weight: 600;
}

.contact-email:hover {
    color: white !important;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #5570BD 0%, #1a1f5c 100%);
    padding: 80px 0;
}

.faq-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question i.fa-question-circle {
    color: #FFD700;
    font-size: 1.3rem;
}

.faq-icon-toggle {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.faq-question:not(.collapsed) .faq-icon-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* Contact Form Container (Your original form styling) */
.contact-form-container {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    overflow: hidden;
}

.contact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Titles (Matching index.html) */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .page-header-title {
        font-size: 2.5rem;
    }
    
    .page-header-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-map {
        min-height: 350px;
    }
}

@media (max-width: 767px) {
    .page-header-banner {
        height: 300px;
    }
    
    .page-header-title {
        font-size: 2rem;
    }
    
    .page-header-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/*
==============================================================================
ABOUT PAGE - PROFESSIONAL STYLING
==============================================================================
*/

/* About Introduction Section */
.about-intro-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-intro-img {
    width: 110%; /* Extends slightly beyond column */
    max-width: none;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-left: -10%;
}
.about-intro-content {
    padding: 0 2rem;
}

.about-intro-content .lead {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.about-intro-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.2rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.about-feature-item i {
    color: #5570BD;
    font-size: 1.2rem;
}

/* Vision, Mission, Goal Section */
.vmg-section {
    padding: 80px 0;
    background: white;
}

.vmg-card {
    background: white;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    border-top: 4px solid #5570BD;
}

.vmg-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(85, 112, 189, 0.2);
}

.vision-card {
    border-top-color: #5570BD;
}

.mission-card {
    border-top-color: #FFD700;
}

.goal-card {
    border-top-color: #FF0D7E;
}

.vmg-icon {
    margin-bottom: 2rem;
}

.vmg-icon img {
    width: 120px;
    height: 120px;
    transition: transform 0.4s ease;
}

.vmg-card:hover .vmg-icon img {
    transform: scale(1.1) rotate(5deg);
}

.vmg-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.vmg-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 0;
}

/* Contact Form Container */
.contact-form-container {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    overflow: hidden;
}

.contact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 991px) {
    .about-intro-content {
        padding: 2rem 0 0 0;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .vmg-icon img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 767px) {
    .about-intro-section {
        padding: 60px 0;
    }
    
    .vmg-section {
        padding: 60px 0;
    }
    
    .vmg-card {
        padding: 2rem 1.5rem;
    }
    
    .vmg-title {
        font-size: 1.5rem;
    }
}

/*
==============================================================================
SERVICES PAGE - PROFESSIONAL STYLING
==============================================================================
*/

/* Service Detail Sections */
.service-detail-section {
    padding: 80px 0;
    background: white;
}

.service-detail-alternate {
    background: #f8f9fa;
}

.service-detail-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.service-detail-content {
    padding: 0 2rem;
}

.service-detail-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-detail-icon {
    color: #5570BD;
    font-size: 2rem;
}

.service-detail-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.service-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-list li {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.6;
}

.service-list i {
    color: #5570BD;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Service Features */
.service-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.service-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.service-feature-item i {
    font-size: 2.5rem;
    color: #5570BD;
}

.service-feature-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Service Icon Wrapper */
.service-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(85, 112, 189, 0.05), rgba(85, 112, 189, 0.1));
    border-radius: 15px;
}

.service-large-icon {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Alert Info Box */
.alert-info {
    background: rgba(85, 112, 189, 0.1);
    border-left: 4px solid #5570BD;
    padding: 1.5rem;
    border-radius: 8px;
    color: #2c3e50;
}

.alert-info i {
    color: #5570BD;
    margin-right: 0.5rem;
}

/* Why Choose Our Services Section */
.why-choose-services {
    background: linear-gradient(135deg, #5570BD 0%, #1a1f5c 100%);
    padding: 80px 0;
}

.why-service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.why-service-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.why-service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.why-service-icon i {
    font-size: 2.5rem;
    color: #FFD700;
}

.why-service-card:hover .why-service-icon {
    background: rgba(255, 215, 0, 0.3);
    transform: scale(1.1);
}

.why-service-card h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.why-service-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Contact Form Container */
.contact-form-container {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    overflow: hidden;
}

.contact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*
==============================================================================
SERVICES PAGE - RESPONSIVE
==============================================================================
*/

@media (max-width: 991px) {
    .service-detail-section {
        padding: 60px 0;
    }
    
    .service-detail-content {
        padding: 2rem 0 0 0;
    }
    
    .service-detail-title {
        font-size: 1.8rem;
    }
    
    .service-icon-wrapper {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .service-large-icon {
        max-width: 300px;
    }
    
    .service-features {
        gap: 1.5rem;
    }
    
    .why-choose-services {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .service-detail-section {
        padding: 40px 0;
    }
    
    .service-detail-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .service-detail-icon {
        font-size: 1.5rem;
    }
    
    .service-subtitle {
        font-size: 1.1rem;
    }
    
    .service-detail-content p {
        font-size: 1rem;
    }
    
    .service-list li {
        font-size: 1rem;
    }
    
    .service-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-feature-item {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }
    
    .service-feature-item i {
        font-size: 2rem;
    }
    
    .service-large-icon {
        max-width: 200px;
    }
    
    .why-service-card {
        padding: 2rem 1.5rem;
    }
    
    .why-service-icon {
        width: 70px;
        height: 70px;
    }
    
    .why-service-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .service-detail-title {
        font-size: 1.3rem;
    }
    
    .alert-info {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/*
==============================================================================
ADDITIONAL UTILITY STYLES FOR SERVICES PAGE
==============================================================================
*/

/* Smooth Scroll for Anchor Links */
html {
    scroll-behavior: smooth;
}

/* Service Detail Content Headings */
.service-detail-content h3,
.service-detail-content h4 {
    color: #2c3e50;
    font-weight: 600;
}

.service-detail-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-detail-content h4 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

/* Service Detail Links */
.service-detail-content a:not(.btn) {
    color: #5570BD;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-detail-content a:not(.btn):hover {
    color: #FF0D7E;
    text-decoration: underline;
}

/* Service Detail Buttons */
.service-detail-content .btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.service-detail-content .btn-primary {
    background: linear-gradient(135deg, #5570BD, #1e3c72) !important;
    border: none;
    color: white !important;
}

.service-detail-content .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(85, 112, 189, 0.4);
}

/* Service Section Divider */
.service-section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #5570BD, transparent);
    margin: 4rem 0;
}

/* Ordered Lists in Service Content */
.service-detail-content ol {
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.service-detail-content ol li {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Blockquotes in Service Content */
.service-detail-content blockquote {
    border-left: 4px solid #5570BD;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.service-detail-content blockquote p {
    margin-bottom: 0;
    font-style: italic;
    color: #2c3e50;
}

/* Service Highlights Box */
.service-highlight-box {
    background: linear-gradient(135deg, rgba(85, 112, 189, 0.05), rgba(85, 112, 189, 0.1));
    border: 2px solid #5570BD;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

.service-highlight-box h4 {
    color: #5570BD;
    margin-bottom: 1rem;
}

/* Service Statistics */
.service-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.service-stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.service-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #5570BD;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.service-stat-label {
    font-size: 0.95rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Image Captions */
.service-img-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Responsive Images */
.service-detail-section img {
    max-width: 100%;
    height: auto;
}

/* Print Styles for Service Page */
@media print {
    .top-bar,
    .main-header,
    .floating-btn,
    .whatsapp-float,
    .footer,
    .page-header-banner,
    .contact-section,
    .why-choose-services {
        display: none !important;
    }
    
    .service-detail-section {
        page-break-inside: avoid;
    }
}

/*
==============================================================================
TEST PROFILES PAGE - COMPACT & SCALABLE DESIGN
==============================================================================
*/

/* Test Search Section */
.test-search-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.test-search-box {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.test-search-box h3 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 2rem;
}

.test-search-box .form-control {
    height: 55px;
    border: 2px solid #e0e0e0;
    border-radius: 50px 0 0 50px;
    padding: 0 2rem;
    font-size: 1.05rem;
}

.test-search-box .form-control:focus {
    border-color: #5570BD;
    box-shadow: 0 0 0 0.2rem rgba(85, 112, 189, 0.25);
}

.test-search-box .input-group-append .btn {
    height: 55px;
    padding: 0 2.5rem;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
    background: linear-gradient(135deg, #5570BD, #1e3c72) !important;
    border: none;
}

.test-search-box .input-group-append .btn:hover {
    transform: translateX(3px);
    box-shadow: 0 5px 20px rgba(85, 112, 189, 0.4);
}

/* Test Profiles List Section */
.test-profile-list {
    padding: 80px 0;
    background: white;
}

/* Alphabet Navigation */
.alphabet-nav {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.alphabet-nav-header {
    background: linear-gradient(135deg, #5570BD, #1e3c72);
    color: white;
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

.alphabet-nav-header i {
    margin-right: 0.5rem;
}

.alphabet-nav .list-group {
    border-radius: 0;
}

.alphabet-nav .list-group-item {
    border: none;
    border-left: 3px solid transparent;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: #2c3e50;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.alphabet-nav .list-group-item:hover {
    background: rgba(85, 112, 189, 0.05);
    border-left-color: #5570BD;
    color: #5570BD;
    transform: translateX(5px);
}

.alphabet-nav .list-group-item.active {
    background: linear-gradient(135deg, rgba(85, 112, 189, 0.1), rgba(85, 112, 189, 0.15));
    border-left-color: #5570BD;
    color: #5570BD;
    font-weight: 700;
}

/* Sticky Navigation for Desktop */
.sticky-nav {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

/* Test Category Header */
.test-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #5570BD;
}

.test-category-header h3 {
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.test-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5570BD, #1e3c72);
    color: white;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.test-count {
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
    background: rgba(85, 112, 189, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

/* Test Profiles Content */
.test-profiles-content {
    min-height: 400px;
}

/*
==============================================================================
COMPACT LIST DESIGN - SCALABLE FOR 50+ ITEMS
==============================================================================
*/

.test-list-compact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Compact Test Item */
.test-item {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    gap: 1rem;
}

.test-item:hover {
    border-color: #5570BD;
    box-shadow: 0 5px 20px rgba(85, 112, 189, 0.15);
    transform: translateX(5px);
}

/* Test Item Icon - Small & Compact */
.test-item-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: linear-gradient(135deg, rgba(85, 112, 189, 0.1), rgba(85, 112, 189, 0.2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.test-item-icon i {
    font-size: 1.3rem;
    color: #5570BD;
}

.test-item:hover .test-item-icon {
    background: linear-gradient(135deg, #5570BD, #1e3c72);
}

.test-item:hover .test-item-icon i {
    color: white;
}

/* Test Item Content */
.test-item-content {
    flex: 1;
    min-width: 0;
}

.test-item-content h6 {
    margin: 0 0 0.3rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
}

.test-item-meta {
    font-size: 0.85rem;
    color: #666;
    display: inline-block;
}

.test-item-meta::before {
    content: "•";
    margin: 0 0.5rem;
    color: #5570BD;
}

/* Compact Button - Small Size */
.test-item .btn {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    background: linear-gradient(135deg, #5570BD, #1e3c72);
    border: none;
    color: white;
}

.test-item .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(85, 112, 189, 0.3);
    color: white;
}

.test-item .btn i {
    font-size: 0.85rem;
    margin-right: 0.3rem;
}

/* Test CTA Section */
.test-cta-section {
    background: linear-gradient(135deg, #5570BD 0%, #1a1f5c 100%);
    padding: 60px 0;
}

.test-cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
}

.test-cta-section p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.test-cta-section .btn-light {
    background: white;
    color: #5570BD;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
}

.test-cta-section .btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.test-cta-section .btn-warning {
    background: #FFD700;
    color: #2c3e50;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
}

.test-cta-section .btn-warning:hover {
    background: #ffc107;
    color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

/* Contact Form Container */
.contact-form-container {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    overflow: hidden;
}

.contact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tab Fade Animation */
.tab-pane {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*
==============================================================================
TEST PROFILES PAGE - RESPONSIVE
==============================================================================
*/

@media (max-width: 991px) {
    .test-profile-list {
        padding: 60px 0;
    }
    
    .alphabet-nav {
        margin-bottom: 2rem;
    }
    
    .sticky-nav {
        position: static;
    }
    
    .alphabet-nav .list-group {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
    }
    
    .alphabet-nav .list-group-item {
        flex: 1 1 auto;
        min-width: 50px;
        padding: 0.8rem 0.5rem;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .alphabet-nav .list-group-item:hover {
        transform: translateY(-3px) translateX(0);
        border-left-color: transparent;
        border-bottom-color: #5570BD;
    }
    
    .alphabet-nav .list-group-item.active {
        border-left-color: transparent;
        border-bottom-color: #5570BD;
    }
    
    .test-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .test-search-section {
        padding: 40px 0;
    }
    
    .test-search-box {
        padding: 2rem;
    }
    
    .test-cta-section {
        padding: 40px 0;
        text-align: center;
    }
    
    .test-cta-section .col-lg-4 {
        text-align: center !important;
    }
}

@media (max-width: 767px) {
    .test-search-section {
        padding: 30px 0;
    }
    
    .test-search-box {
        padding: 1.5rem;
    }
    
    .test-search-box h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .test-search-box .form-control {
        height: 50px;
        font-size: 1rem;
        padding: 0 1.5rem;
    }
    
    .test-search-box .input-group-append .btn {
        height: 50px;
        padding: 0 1.5rem;
    }
    
    .test-profile-list {
        padding: 40px 0;
    }
    
    .alphabet-nav-header {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .alphabet-nav .list-group-item {
        min-width: 40px;
        padding: 0.6rem 0.3rem;
        font-size: 0.95rem;
    }
    
    .test-category-header h3 {
        font-size: 1.5rem;
    }
    
    .test-letter {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .test-count {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Compact Test Items - Mobile */
    .test-list-compact {
        gap: 0.6rem;
    }
    
    .test-item {
        flex-wrap: wrap;
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .test-item-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .test-item-icon i {
        font-size: 1.1rem;
    }
    
    .test-item-content {
        flex: 1 1 100%;
    }
    
    .test-item-content h6 {
        font-size: 0.95rem;
    }
    
    .test-item-meta {
        font-size: 0.8rem;
    }
    
    .test-item .btn {
        width: 100%;
        margin-top: 0.5rem;
        padding: 0.6rem 1rem;
    }
    
    .test-cta-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .test-cta-section p {
        font-size: 1rem;
    }
    
    .test-cta-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .test-search-box {
        padding: 1.5rem 1rem;
    }
    
    .test-search-box h3 {
        font-size: 1.2rem;
    }
    
    .alphabet-nav .list-group-item {
        min-width: 35px;
        font-size: 0.9rem;
    }
    
    .test-category-header h3 {
        font-size: 1.3rem;
    }
    
    .test-letter {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .test-item {
        padding: 0.8rem;
    }
    
    .test-item-content h6 {
        font-size: 0.9rem;
    }
}

/*
==============================================================================
PRINT STYLES
==============================================================================
*/

@media print {
    .top-bar,
    .main-header,
    .floating-btn,
    .whatsapp-float,
    .footer,
    .page-header-banner,
    .test-search-section,
    .contact-section,
    .test-cta-section,
    .alphabet-nav {
        display: none !important;
    }
    
    .test-item {
        page-break-inside: avoid;
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .test-item .btn {
        display: none;
    }
    
    .test-item:hover {
        transform: none;
        box-shadow: none;
    }
}

/*
==============================================================================
ADDITIONAL ENHANCEMENTS
==============================================================================
*/

/* Empty State (Optional) */
.test-profiles-content .alert-info {
    background: rgba(85, 112, 189, 0.1);
    border: 2px solid #5570BD;
    border-radius: 10px;
    padding: 2rem;
    color: #2c3e50;
    font-size: 1.05rem;
}

.test-profiles-content .alert-info i {
    color: #5570BD;
    font-size: 1.3rem;
    margin-right: 0.8rem;
}

/* Loading State (Optional) */
.test-profiles-content.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Test Badge (Optional - for Popular/New tags) */
.test-badge {
    display: inline-block;
    background: #FFD700;
    color: #2c3e50;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    margin-left: 0.5rem;
}

.test-badge.popular {
    background: #FF0D7E;
    color: white;
}

.test-badge.new {
    background: #4CAF50;
    color: white;
}

/*
==============================================================================
DIAGNOSTIC TESTING SERVICES SECTION
==============================================================================
*/

#services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF3399, #B8C9F0);
    border-radius: 2px;
}

/* Service Item */
.service-item {
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Service Icon */
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #FF3399, #ff6bb3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    background: linear-gradient(135deg, #B8C9F0, #8ba3d4);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

/* Service Title */
.service-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

/* View All Services Button */
#services .btn-primary {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #FF3399, #ff6bb3);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 51, 153, 0.3);
    white-space: nowrap;
}

#services .btn-primary:hover {
    background: linear-gradient(135deg, #ff6bb3, #FF3399);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 51, 153, 0.5);
    color: white;
    text-decoration: none;
}

#services .btn-primary i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

#services .btn-primary:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 991px) {
    #services {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    #services .btn-primary {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 767px) {
    #services {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-item {
        padding: 25px 15px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 1.75rem;
    }
    
    .service-item h4 {
        font-size: 1.1rem;
    }
    
    #services .btn-primary {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .service-item {
        margin-bottom: 20px;
    }
    
    /* Button takes full width on mobile */
    #services .btn-primary {
        width: 100%;
        text-align: center;
    }
}


/*
==============================================================================
END MAIN.CSS - ALL FIXES APPLIED INCLUDING TEXT SPILLOVER CORRECTION
==============================================================================
*/