/* 
* MedHub Việt Nam - Medical & Healthcare Platform 2026
* Global Styles & Variables 
*/

/* Import Fonts: Inter & Outfit */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Medical & Tech */
    --primary-color: #007BFF;
    /* Medical Blue */
    --primary-dark: #0056b3;
    --secondary-color: #17A2B8;
    /* Cyan/Teal */
    --accent-color: #20C997;
    /* Heath Green */
    --dark-color: #0f172a;
    /* Dark Navy for better contrast */
    --light-color: #f8fafc;
    /* Slate Light */
    --white-color: #ffffff;
    --text-color: #334155;
    /* Slate 700 */
    --text-muted: #64748b;
    /* Slate 500 */
    --border-color: #e2e8f0;

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #007BFF 0%, #00d2ff 100%);
    --secondary-gradient: linear-gradient(135deg, #17A2B8 0%, #20C997 100%);
    --bg-gradient: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    --overlay-gradient: linear-gradient(to bottom, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.8));

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --transition-speed: 0.3s;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white-color);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* 
=============================================
   HEADER & NAVIGATION 
=============================================
*/

/* Top Bar */
.top-bar {
    background-color: var(--dark-color);
    color: #cbd5e1;
    /* slate-300 */
    font-size: 0.85rem;
    padding: 10px 0;
    position: relative;
    z-index: 1001;
}

.top-bar a {
    color: #cbd5e1;
    transition: color 0.2s;
}

.top-bar a:hover {
    color: var(--white-color);
}

.top-bar-left .contact-item {
    margin-right: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left .contact-item i {
    color: var(--secondary-color);
}

.top-bar-right .social-link {
    margin-left: 20px;
    font-size: 0.9rem;
}

/* Main Header */
.main-header {
    background: rgba(255, 255, 255, 0.85);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.main-header.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-wrapper img {
    height: 48px;
    width: auto;
    transition: height 0.3s;
}

.main-header.scrolled .logo-wrapper img {
    height: 40px;
}

/* Nav Menu */
.main-nav {
    margin-left: auto;
    margin-right: 40px;
}

.main-nav ul {
    display: flex;
    align-items: center;
}

.main-nav .nav-link {
    font-weight: 600;
    color: var(--text-color);
    padding: 10px 0;
    margin: 0 18px;
    position: relative;
    font-size: 0.95rem;
    transition: color 0.3s;
    font-family: var(--font-heading);
}

.main-nav .nav-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.main-nav .nav-link:hover::before,
.main-nav .nav-link.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--primary-color);
}

/* Header CTA */
.header-cta .btn {
    padding: 10px 28px;
    font-size: 0.9rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.25);
}

.header-cta .btn:hover {
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.35);
    transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 5px;
}

.mobile-toggle span {
    width: 26px;
    height: 2px;
    background-color: var(--dark-color);
    border-radius: 4px;
    transition: all 0.3s;
}

/* Responsive */
@media (max-width: 992px) {
    .top-bar {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: auto;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 30px 20px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 999;
        margin: 0;
        backdrop-filter: blur(15px);
    }

    .main-nav.active {
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .main-nav .nav-link {
        font-size: 1.1rem;
        margin: 0;
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        margin-left: auto;
    }
}

/* 
=============================================
   HERO SECTION 
=============================================
*/
/* 
=============================================
   HERO SECTION 
=============================================
*/
.hero-section {
    position: relative;
    padding: 160px 0 120px;
    /* Increased top padding for fixed header */
    background: radial-gradient(circle at top right, #e0f2fe, #f0f9ff, #fff);
    overflow: hidden;
    min-height: 850px;
    display: flex;
    align-items: center;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mask-image: linear-gradient(to right, transparent 0%, black 30%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%);
}

.hero-wrapper {
    position: relative;
    z-index: 10;
    gap: 80px;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.badge-sub {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 123, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.1);
    backdrop-filter: blur(5px);
}

.badge-sub i {
    font-size: 0.8rem;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1.5px;
    text-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 30px;
    opacity: 0.95;
    text-align: justify;
    line-height: 1.7;
}

.hero-note {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    background: rgba(255, 255, 255, 0.6);
    padding: 15px 20px;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 8px 8px 0;
    margin-bottom: 40px;
    backdrop-filter: blur(5px);
}

.hero-stats {
    gap: 50px;
    margin-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    display: block;
    font-size: 2.5rem;
    color: var(--dark-color);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Hero Form - Glassmorphism */
.hero-form-wrapper {
    flex: 0 0 460px;
    background: rgba(255, 255, 255, 0.75);
    padding: 35px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(20px);
    /* Slightly offset */
}

.hero-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-gradient);
}

.hero-form-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    transform: rotate(45deg);
}

.form-header {
    margin-bottom: 25px;
    text-align: center;
}

.form-header h3 {
    font-size: 1.6rem;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
}

textarea.form-control {
    resize: none;
    height: 120px;
}

.btn-block {
    display: block;
    width: 100%;
}

.contact-link {
    background: var(--primary-gradient);
    border: none;
    font-size: 1.1rem;
    padding: 16px;
    margin-top: 15px;
    color: white;
    cursor: pointer;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-link:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.4);
}

.form-privacy {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-section {
        padding: 140px 0 80px;
        min-height: auto;
    }

    .hero-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-desc {
        text-align: center;
    }

    .hero-note {
        text-align: center;
        border-center: 4px solid var(--accent-color);
        /* Corrected logic conceptually */
        border-left: none;
        border-top: 4px solid var(--accent-color);
        border-radius: 0 0 8px 8px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-form-wrapper {
        width: 100%;
        max-width: 500px;
        flex: auto;
        margin: 0 auto;
        transform: none;
    }

    .hero-bg-image {
        width: 100%;
        opacity: 0.15;
    }

    .hero-bg-image img {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
}

/* 
=============================================
   SECTION UTILS 
=============================================
*/
.section-header {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sub-title {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--dark-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.divider {
    height: 4px;
    width: 80px;
    background: var(--accent-color);
    border-radius: 2px;
    margin-top: 15px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-20 {
    margin-bottom: 20px;
}

.bg-light {
    background-color: #f8fcfd;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 50px;
    margin-top: 20px;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

/* 
=============================================
   ABOUT SECTION 
=============================================
*/
.about-section {
    background-color: var(--white-color);
    position: relative;
    z-index: 1;
}

.about-content {
    gap: 80px;
    align-items: center;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.02);
}

.exp-box {
    position: absolute;
    bottom: -40px;
    right: -40px;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    min-width: 200px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.exp-box .text-large {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 5px;
}

.exp-box .text-small {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--primary-color);
}

.about-text p {
    text-align: justify;
    color: var(--text-color);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* 
=============================================
   SERVICES SECTION 
=============================================
*/
.services-section {
    background-color: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.service-card {
    background: var(--white-color);
    padding: 45px 35px;
    border-radius: var(--border-radius-lg);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
    z-index: 2;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Decorative circle bg */
.service-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--light-color);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.5s;
    opacity: 0.5;
}

.service-card:hover::after {
    transform: scale(8);
    opacity: 1;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.03) 0%, rgba(23, 162, 184, 0.03) 100%);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 123, 255, 0.05);
    color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 30px;
    transition: all 0.4s;
}

.service-card:hover .service-icon {
    background: var(--primary-gradient);
    color: #fff;
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 25px;
    text-align: justify;
    line-height: 1.7;
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more i {
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 
=============================================
   VALUES SECTION 
=============================================
*/
.values-wrapper {
    gap: 80px;
    align-items: center;
}

.values-content {
    flex: 1;
}

.value-item {
    margin-bottom: 35px;
    gap: 25px;
    display: flex;
    align-items: flex-start;
}

.value-icon {
    flex: 0 0 70px;
    height: 70px;
    background: var(--white-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    /* Changed from accent-color to primary-color for better visibility */
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.value-icon i {
    font-size: 1.8rem;
    /* Ensure icon size */
    color: inherit;
    /* Inherit color from parent */
    display: block;
    /* Ensure it takes up space */
}

.value-item:hover .value-icon {
    background: var(--primary-gradient);
    /* Use gradient for premium feel */
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.3);
    border-color: transparent;
}

.value-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.value-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    text-align: justify;
    line-height: 1.7;
}

.values-image {
    flex: 1;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    position: relative;
}

.val-img-1 {
    grid-column: 1 / 2;
    margin-top: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 5px solid #fff;
}

.val-img-2 {
    grid-column: 2 / 3;
    margin-bottom: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 5px solid #fff;
    position: relative;
    z-index: 1;
}

/* 
=============================================
   TECH SECTION 
=============================================
*/
.tech-section {
    position: relative;
    overflow: hidden;
    background-color: #f0f4f8;
}

.tech-wrapper {
    gap: 80px;
    align-items: center;
}

.tech-content {
    flex: 1;
}

.tech-item {
    margin-bottom: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.tech-item:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-left-color: var(--primary-color);
    transform: translateX(10px) scale(1.02);
}

.tech-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.tech-item h3 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.tech-item p {
    color: var(--text-muted);
    font-size: 1rem;
    text-align: justify;
    line-height: 1.7;
    margin-bottom: 0;
}

.tech-image {
    flex: 1;
    position: relative;
}

.img-tech-main {
    border-radius: 20px;
    width: 90%;
    box-shadow: var(--shadow-xl);
}

.tech-overlay {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 60%;
    transition: transform 0.4s;
}

.tech-image:hover .tech-overlay {
    transform: translateY(-10px);
}

.img-tech-sub {
    border-radius: 18px;
    border: 6px solid #fff;
    box-shadow: var(--shadow-lg);
}

/* 
=============================================
   TEAM SECTION 
=============================================
*/
.team-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    text-align: center;
}

.mb-50 {
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s;
    text-align: center;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.team-img {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
}

.team-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.team-card:hover .team-img img {
    transform: scale(1.15);
}

.team-social {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(8px);
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 38px;
    height: 38px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.team-social a:hover {
    background: var(--dark-color);
    transform: scale(1.1);
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.team-info .role {
    display: block;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-book {
    display: inline-block;
    padding: 8px 24px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark-color);
    transition: all 0.3s;
}

.btn-book:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

/* 
=============================================
   NEWS SECTION 
=============================================
*/
.news-section {
    background-color: #f8faff;
}

.news-highlight {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.news-img {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-cat {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-gradient, linear-gradient(135deg, #20C997 0%, #15aabf 100%));
    /* Fallback */
    background: linear-gradient(135deg, #20C997 0%, #15aabf 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(32, 201, 151, 0.3);
}

.news-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    font-weight: 500;
}

.news-meta i {
    color: var(--primary-color);
    margin-right: 6px;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.news-content h3 a {
    color: var(--dark-color);
    transition: color 0.2s;
}

.news-content h3 a:hover {
    color: var(--primary-color);
}

.news-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    flex: 1;
    text-align: justify;
    line-height: 1.6;
}

/* Responsive Utils 4-6 */
@media (max-width: 992px) {
    .tech-wrapper {
        flex-direction: column;
    }

    .tech-image {
        order: -1;
        width: 100%;
        margin-bottom: 60px;
        text-align: center;
    }

    .img-tech-main {
        width: 100%;
    }

    .team-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    .team-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .tech-overlay {
        width: 120px;
        bottom: -20px;
        left: 0;
    }
}

/* 
=============================================
   PARTNER SECTION (Enhancements)
=============================================
*/
#doi-tac-tai-tro {
    position: relative;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

#doi-tac-tai-tro img {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: grayscale(100%);
    opacity: 0.7;
    cursor: pointer;
}

#doi-tac-tai-tro img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    /* Smooth corners on hover */
    background: white;
}

/* 
=============================================
   FOOTER SECTION 
=============================================
*/
.footer {
    background-color: #0f172a;
    background-image:
        radial-gradient(at 0% 0%, rgba(0, 123, 255, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(32, 201, 151, 0.08) 0px, transparent 50%);
    color: #cbd5e1;
    margin-top: 50px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-top {
    padding: 90px 0 60px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Brand Col */
.footer-logo {
    display: inline-block;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    margin-bottom: 25px;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.footer-logo i {
    color: var(--primary-color);
}

.footer-desc {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 30px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-social a:hover {
    background: var(--primary-gradient);
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Links */
.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #94a3b8;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--secondary-color);
    transition: transform 0.3s;
    opacity: 0.6;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 8px;
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(3px);
}

/* Contact */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #94a3b8;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
    background: rgba(0, 123, 255, 0.1);
    padding: 8px;
    border-radius: 8px;
}

/* Bottom Bar */
.footer-bottom {
    background: #020617;
    /* Darker Navy */
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: #64748b;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom a {
    color: #94a3b8;
    font-weight: 500;
    transition: color 0.2s;
    margin-left: 20px;
}

.footer-bottom a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* 
=============================================
   RESPONSIVE DESIGN ADAPTATION (Global)
=============================================
*/

/* Laptop & Tablet (Max 1200px) */
@media (max-width: 1200px) {
    :root {
        --container-width: 960px;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

/* Tablet & iPad (Max 992px) */
@media (max-width: 992px) {
    :root {
        --container-width: 100%;
        --header-height: 70px;
    }

    .container {
        padding: 0 25px;
    }

    html {
        font-size: 15px;
    }

    /* Grids to 2 Columns */
    .services-grid,
    .team-grid,
    .news-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .hero-wrapper,
    .about-content,
    .values-wrapper,
    .tech-wrapper {
        flex-direction: column;
    }

    .about-image,
    .values-image,
    .tech-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto 40px;
    }

    /* Correction for tech section image order */
    .tech-image {
        order: -1;
    }

    .hero-form-wrapper {
        width: 100%;
        max-width: 550px;
        margin: 20px auto 0;
    }

    /* Ensure exp-box stays visible */
    .exp-box {
        right: 0;
    }
}

/* Mobile Landscape (Max 768px) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .stat-item strong {
        font-size: 2rem;
    }
}

/* Mobile Portrait (Max 576px) */
@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 20px;
    }

    /* Force 1 Column */
    .services-grid,
    .team-grid,
    .news-grid,
    .footer-grid,
    .image-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
    }

    .hero-section {
        padding-top: 130px;
        text-align: center;
    }

    .hero-desc {
        text-align: center;
    }

    .hero-note {
        text-align: left;
    }

    /* Footer Alignment */
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-bottom a {
        margin: 0 8px;
    }

    /* Floating Box Adaptation */
    .exp-box {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        animation: none;
        margin-bottom: 20px;
    }

    .top-bar {
        display: none;
    }
}

/* 
=============================================
   POLISH & EFFECTS (Animations)
=============================================
*/

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes floatElement {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* Animation Classes */
.animate-fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-delay-100 {
    animation-delay: 0.1s;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-300 {
    animation-delay: 0.3s;
}

.animate-delay-400 {
    animation-delay: 0.4s;
}

.animate-delay-500 {
    animation-delay: 0.5s;
}

/* Enhanced Hover Effects */
.btn-primary:active,
.btn-outline:active {
    transform: translateY(1px);
    box-shadow: none;
}

.service-card,
.team-card,
.news-card,
.tech-item,
.about-image img {
    backface-visibility: hidden;
    /* Fix for crisp edges */
    transform: translateZ(0);
}

/* Sticky Header Blur Fix for Safari */
.main-header {
    -webkit-backface-visibility: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Selection Color */
::selection {
    background: var(--primary-color);
    color: #fff;
}

/* Utility: Glass Effect Class */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Gradient Text Animation (Optional Polish) */
.gradient-text-anim {
    background: linear-gradient(270deg, #007BFF, #20C997, #007BFF);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Image Loading Placeholder Shimmer */
.img-loading {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 104px;
    animation: shimmer 1.5s linear infinite forwards;
}/ *    
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =  
       S P O N S O R   S E C T I O N   ( S o c i a l   B o o s t   A s i a )  
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =  
 * /  
 # d o i - t a c - t a i - t r o   {  
         p a d d i n g :   6 0 p x   0 ;  
         / *   A d d e d   s u b t l e   g r a d i e n t   f o r   b a c k g r o u n d   d i f f e r e n t i a t i o n   * /  
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 8 0 d e g ,   # f 8 f a f c   0 % ,   # f f f f f f   1 0 0 % ) ;  
         p o s i t i o n :   r e l a t i v e ;  
         b o r d e r - b o t t o m :   1 p x   s o l i d   r g b a ( 0 ,   0 ,   0 ,   0 . 0 3 ) ;  
 }  
  
 . s p o n s o r - c a r d   {  
         b a c k g r o u n d :   # f f f f f f ;  
         b o r d e r - r a d i u s :   2 0 p x ;  
         p a d d i n g :   5 0 p x ;  
         p o s i t i o n :   r e l a t i v e ;  
         b o r d e r :   1 p x   s o l i d   r g b a ( 0 ,   0 ,   0 ,   0 . 0 5 ) ;  
         / *   G l a s s m o r p h i s m   h i n t   * /  
         b a c k d r o p - f i l t e r :   b l u r ( 1 0 p x ) ;  
 }  
  
 . s p o n s o r - b a d g e   {  
         p o s i t i o n :   a b s o l u t e ;  
         t o p :   0 ;  
         l e f t :   0 ;  
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 9 0 d e g ,   # 0 0 7 B F F ,   # 0 0 d 2 f f ) ;  
         / *   M e d H u b   P r i m a r y   G r a d i e n t   * /  
         c o l o r :   # f f f ;  
         p a d d i n g :   8 p x   2 5 p x ;  
         f o n t - s i z e :   0 . 9 r e m ;  
         f o n t - w e i g h t :   6 0 0 ;  
         b o r d e r - b o t t o m - r i g h t - r a d i u s :   2 0 p x ;  
         b o r d e r - t o p - l e f t - r a d i u s :   1 9 p x ;  
         / *   S m o o t h   c o r n e r   * /  
         b o x - s h a d o w :   4 p x   4 p x   1 5 p x   r g b a ( 0 ,   1 2 3 ,   2 5 5 ,   0 . 2 5 ) ;  
         z - i n d e x :   2 ;  
         t e x t - t r a n s f o r m :   u p p e r c a s e ;  
         l e t t e r - s p a c i n g :   0 . 5 p x ;  
         d i s p l a y :   f l e x ;  
         a l i g n - i t e m s :   c e n t e r ;  
         g a p :   8 p x ;  
 }  
  
 . s p o n s o r - c o n t e n t - w r a p p e r   {  
         d i s p l a y :   f l e x ;  
         g a p :   6 0 p x ;  
         a l i g n - i t e m s :   f l e x - s t a r t ;  
 }  
  
 / *   B r a n d   S i d e   * /  
 . s p o n s o r - b r a n d   {  
         f l e x :   1 ;  
         m i n - w i d t h :   3 2 0 p x ;  
 }  
  
 . s p o n s o r - l o g o - l i n k   {  
         d i s p l a y :   i n l i n e - b l o c k ;  
         m a r g i n - b o t t o m :   2 5 p x ;  
         / *   M a k e   l o g o   b r i g h t / v i s i b l e   w i t h   w h i t e   b a c k g r o u n d   c o n t a i n e r   i f   n e e d e d ,   o r   e n s u r i n g   m i n i m a l   s h a d o w   * /  
         p a d d i n g :   1 5 p x ;  
         b a c k g r o u n d :   # f f f ;  
         b o r d e r - r a d i u s :   1 5 p x ;  
         b o x - s h a d o w :   0   5 p x   2 0 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 0 5 ) ;  
         b o r d e r :   1 p x   s o l i d   r g b a ( 0 ,   0 ,   0 ,   0 . 0 3 ) ;  
         t r a n s i t i o n :   t r a n s f o r m   0 . 3 s ;  
 }  
  
 . s p o n s o r - l o g o - l i n k : h o v e r   {  
         t r a n s f o r m :   t r a n s l a t e Y ( - 3 p x ) ;  
         b o x - s h a d o w :   0   8 p x   2 5 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 0 8 ) ;  
 }  
  
 . s p o n s o r - l o g o   {  
         h e i g h t :   6 0 p x ;  
         w i d t h :   a u t o ;  
         d i s p l a y :   b l o c k ;  
         / *   E n s u r e   n o   f i l t e r s   d i m   t h e   l o g o   * /  
 }  
  
 . s p o n s o r - b r a n d   h 4   {  
         f o n t - s i z e :   1 . 8 r e m ;  
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( t o   r i g h t ,   # 3 3 3 ,   # 5 5 5 ) ;  
         - w e b k i t - b a c k g r o u n d - c l i p :   t e x t ;  
         - w e b k i t - t e x t - f i l l - c o l o r :   t r a n s p a r e n t ;  
         m a r g i n - b o t t o m :   2 0 p x ;  
         f o n t - w e i g h t :   8 0 0 ;  
 }  
  
 . s p o n s o r - d e s c   {  
         f o n t - s i z e :   1 . 0 5 r e m ;  
         c o l o r :   v a r ( - - t e x t - c o l o r ) ;  
         l i n e - h e i g h t :   1 . 7 ;  
         t e x t - a l i g n :   j u s t i f y ;  
 }  
  
 . s p o n s o r - d e s c   a   {  
         c o l o r :   v a r ( - - p r i m a r y - c o l o r ) ;  
         f o n t - w e i g h t :   6 0 0 ;  
         t e x t - d e c o r a t i o n :   n o n e ;  
         p o s i t i o n :   r e l a t i v e ;  
 }  
  
 . s p o n s o r - d e s c   a : : a f t e r   {  
         c o n t e n t :   ' ' ;  
         p o s i t i o n :   a b s o l u t e ;  
         b o t t o m :   0 ;  
         l e f t :   0 ;  
         w i d t h :   1 0 0 % ;  
         h e i g h t :   1 p x ;  
         b a c k g r o u n d :   v a r ( - - p r i m a r y - c o l o r ) ;  
         t r a n s f o r m :   s c a l e X ( 0 ) ;  
         t r a n s i t i o n :   t r a n s f o r m   0 . 3 s ;  
         t r a n s f o r m - o r i g i n :   r i g h t ;  
 }  
  
 . s p o n s o r - d e s c   a : h o v e r : : a f t e r   {  
         t r a n s f o r m :   s c a l e X ( 1 ) ;  
         t r a n s f o r m - o r i g i n :   l e f t ;  
 }  
  
 / *   S e r v i c e s   S i d e   * /  
 . s p o n s o r - s e r v i c e s   {  
         f l e x :   1 . 5 ;  
 }  
  
 . s p o n s o r - s e r v i c e s   h 5   {  
         f o n t - s i z e :   1 . 2 r e m ;  
         c o l o r :   v a r ( - - p r i m a r y - c o l o r ) ;  
         m a r g i n - b o t t o m :   2 5 p x ;  
         f o n t - w e i g h t :   7 0 0 ;  
         d i s p l a y :   f l e x ;  
         a l i g n - i t e m s :   c e n t e r ;  
         g a p :   1 0 p x ;  
 }  
  
 . s p o n s o r - s e r v i c e s   h 5 : : b e f o r e   {  
         c o n t e n t :   ' ' ;  
         d i s p l a y :   b l o c k ;  
         w i d t h :   4 p x ;  
         h e i g h t :   2 4 p x ;  
         b a c k g r o u n d :   v a r ( - - p r i m a r y - c o l o r ) ;  
         b o r d e r - r a d i u s :   4 p x ;  
 }  
  
 . l i n k - c l o u d   {  
         d i s p l a y :   f l e x ;  
         f l e x - w r a p :   w r a p ;  
         g a p :   1 2 p x ;  
 }  
  
 . l i n k - p i l l   {  
         b a c k g r o u n d :   # f 1 f 5 f 9 ;  
         c o l o r :   v a r ( - - t e x t - c o l o r ) ;  
         p a d d i n g :   1 0 p x   1 8 p x ;  
         b o r d e r - r a d i u s :   5 0 p x ;  
         f o n t - s i z e :   0 . 9 5 r e m ;  
         f o n t - w e i g h t :   5 0 0 ;  
         t r a n s i t i o n :   a l l   0 . 2 s   c u b i c - b e z i e r ( 0 . 2 5 ,   0 . 8 ,   0 . 2 5 ,   1 ) ;  
         b o r d e r :   1 p x   s o l i d   t r a n s p a r e n t ;  
         d i s p l a y :   i n l i n e - f l e x ;  
         a l i g n - i t e m s :   c e n t e r ;  
         g a p :   8 p x ;  
 }  
  
 . l i n k - p i l l : h o v e r   {  
         b a c k g r o u n d :   # f f f ;  
         c o l o r :   v a r ( - - p r i m a r y - c o l o r ) ;  
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ;  
         b o x - s h a d o w :   0   5 p x   1 5 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 0 8 ) ;  
         b o r d e r - c o l o r :   r g b a ( 0 ,   1 2 3 ,   2 5 5 ,   0 . 2 ) ;  
 }  
  
 / *   B r a n d   S p e c i f i c   C o l o r s   o n   H o v e r   f o r   r i c h e r   U X   * /  
 . b r a n d - f b   {  
         b a c k g r o u n d :   # e 7 f 3 f f ;  
         c o l o r :   # 1 8 7 7 f 2 ;  
 }  
  
 . b r a n d - f b : h o v e r   {  
         b a c k g r o u n d :   # 1 8 7 7 f 2 ;  
         c o l o r :   # f f f ;  
         b o r d e r - c o l o r :   # 1 8 7 7 f 2 ;  
 }  
  
 . b r a n d - t i k t o k   {  
         b a c k g r o u n d :   # e e f 1 f 3 ;  
         c o l o r :   # 0 0 0 ;  
 }  
  
 . b r a n d - t i k t o k : h o v e r   {  
         b a c k g r o u n d :   # 0 0 0 ;  
         c o l o r :   # f f f ;  
         b o r d e r - c o l o r :   # 0 0 0 ;  
 }  
  
 . b r a n d - i n s t a   {  
         b a c k g r o u n d :   # f c e c e b ;  
         c o l o r :   # E 1 3 0 6 C ;  
 }  
  
 / *   O f f i c i a l   I n s t a   P i n k / R e d   * /  
 . b r a n d - i n s t a : h o v e r   {  
         b a c k g r o u n d :   # E 1 3 0 6 C ;  
         c o l o r :   # f f f ;  
         b o r d e r - c o l o r :   # E 1 3 0 6 C ;  
 }  
  
 . b r a n d - y t   {  
         b a c k g r o u n d :   # f f e 6 e 6 ;  
         c o l o r :   # f f 0 0 0 0 ;  
 }  
  
 . b r a n d - y t : h o v e r   {  
         b a c k g r o u n d :   # f f 0 0 0 0 ;  
         c o l o r :   # f f f ;  
         b o r d e r - c o l o r :   # f f 0 0 0 0 ;  
 }  
  
 . b r a n d - s h o p e e   {  
         b a c k g r o u n d :   # f f f 0 e 6 ;  
         c o l o r :   # e e 4 d 2 d ;  
 }  
  
 . b r a n d - s h o p e e : h o v e r   {  
         b a c k g r o u n d :   # e e 4 d 2 d ;  
         c o l o r :   # f f f ;  
         b o r d e r - c o l o r :   # e e 4 d 2 d ;  
 }  
  
 . b r a n d - l a z a d a   {  
         b a c k g r o u n d :   # e 6 f 0 f f ;  
         c o l o r :   # 0 f 1 4 6 d ;  
 }  
  
 . b r a n d - l a z a d a : h o v e r   {  
         b a c k g r o u n d :   # 0 f 1 4 6 d ;  
         c o l o r :   # f f f ;  
         b o r d e r - c o l o r :   # 0 f 1 4 6 d ;  
 }  
  
 . b r a n d - t e l e   {  
         b a c k g r o u n d :   # e e f 8 f f ;  
         c o l o r :   # 2 4 8 1 c c ;  
 }  
  
 . b r a n d - t e l e : h o v e r   {  
         b a c k g r o u n d :   # 2 4 8 1 c c ;  
         c o l o r :   # f f f ;  
         b o r d e r - c o l o r :   # 2 4 8 1 c c ;  
 }  
  
 / *   R e s p o n s i v e   * /  
 @ m e d i a   ( m a x - w i d t h :   9 9 2 p x )   {  
         . s p o n s o r - c o n t e n t - w r a p p e r   {  
                 f l e x - d i r e c t i o n :   c o l u m n ;  
                 g a p :   4 0 p x ;  
         }  
  
         . s p o n s o r - b r a n d ,  
         . s p o n s o r - s e r v i c e s   {  
                 w i d t h :   1 0 0 % ;  
                 m i n - w i d t h :   a u t o ;  
         }  
  
         . l i n k - c l o u d   {  
                 j u s t i f y - c o n t e n t :   f l e x - s t a r t ;  
         }  
 }  
 /* 
=============================================
   PARTNER ECOSYSTEM SECTION 
=============================================
*/
.partner-ecosystem {
    padding: 80px 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.partner-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(13, 110, 253, 0.2);
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s;
}

.partner-card:hover::before {
    opacity: 1;
}

.partner-badget {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 6px 14px;
    background: rgba(13, 110, 253, 0.08);
    border-radius: 30px;
}

.partner-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.partner-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6c757d;
    text-align: justify;
    flex: 1;
}

.partner-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    background-image: linear-gradient(180deg, transparent 65%, rgba(13, 110, 253, 0.2) 0);
    background-size: 0 100%;
    background-repeat: no-repeat;
    background-position: bottom left;
}

.partner-link:hover {
    color: var(--dark-color);
    background-size: 100% 100%;
}
