/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Variables - Updated with pink tones */
    --primary-color: #fa3278;
    --secondary-color: #ff6ea9;
    --text-color: #333333;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #fa3278, #ff6ea9);
    
    /* Service Section Colors */
    --service-color-1: linear-gradient(135deg, #ff3366, #ff6699);
    --service-color-2: linear-gradient(135deg, #ff6699, #ff99cc);
    --service-color-3: linear-gradient(135deg, #ff99cc, #ffccee);
    --service-color-4: linear-gradient(135deg, #ffccee, #ffe6f0);
    
    /* iPink Colors */
    --ipink-light: #ffcbe6;
    --ipink-medium: #ff6aaa;
    --ipink-primary: #fa3278;
    --ipurple-deep: #141e7d;
    --ipurple: #5046e6;
    
    /* Typography */
    --body-font: 'Montserrat', sans-serif;
    --heading-font: 'Unbounded', cursive;
    
    /* Spacing */
    --section-padding: 80px 0;
    --section-padding-mobile: 60px 0;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

html, body {
    scroll-behavior: smooth;
    scroll-timeline: smooth;
    scroll-timeline-axis: block;
    scroll-timeline-name: --page;
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-y: auto !important;
    height: auto !important;
    position: relative;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    will-change: background-color;
    transition: background-color 0.7s ease;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    scroll-snap-stop: always;
    scroll-padding-top: 70px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button, .btn {
    cursor: pointer;
    border: none;
    outline: none;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 28px;
    font-family: var(--body-font);
    font-weight: 600;
    border-radius: 50px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

button:hover, .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(250, 50, 120, 0.3);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding);
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.hidden {
    opacity: 0;
    visibility: hidden;
}

.visible {
    opacity: 1;
    visibility: visible;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.logo-container {
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
    animation: logoAppear 0.8s ease forwards;
}

@keyframes logoAppear {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.preloader-logo-img {
    max-height: 80px;
    width: auto;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.logo {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

/* Header & Navigation Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: transparent;
    z-index: 1000;
    transition: all var(--transition-fast);
}

.header.scrolled {
    padding: 15px 0;
    background-color: transparent;
    box-shadow: none;
}

.header.scrolled .logo-img {
    max-height: 45px;
    transition: max-height var(--transition-fast);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    z-index: 1002; /* Higher than sidebar */
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.logo-link {
    display: inline-block;
}

.logo-img {
    max-height: 50px;
    width: auto;
}

.logo-link .logo {
    font-size: 2.5rem;
    margin-bottom: 0;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -320px;
    height: 100vh;
    width: 320px;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 40px;
    transition: right var(--transition-medium);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    z-index: 1001;
}

.nav-menu.active {
    right: 0;
}

.nav-menu li {
    margin: 20px 0;
    width: 100%;
    text-align: left;
}

.nav-link {
    color: var(--white);
    font-weight: 600;
    font-size: 1.2rem;
    position: relative;
    padding: 5px 0;
    display: block;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateX(10px);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1002; /* Higher than sidebar */
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 12px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transition: background-color var(--transition-fast);
}

.menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 24px;
    background: var(--white);
    border-radius: 3px;
    transition: all var(--transition-fast);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.menu-toggle.active {
    background-color: var(--white);
}

.menu-toggle.active span {
    background: var(--primary-color);
    box-shadow: none;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.header.scrolled .menu-toggle {
    top: 15px;
}

/* Overlay for menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Section Common Styles */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-line {
    height: 3px;
    width: 80px;
    background: var(--gradient-primary);
    margin: 0 auto;
}

/* Media Queries Base */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    section {
        padding: var(--section-padding-mobile);
    }
    
    .nav-menu li {
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo-img {
        max-height: 40px;
    }
    
    .header.scrolled .logo-img {
        max-height: 35px;
    }
    
    .menu-toggle {
        top: 15px;
        right: 15px;
        padding: 10px;
        width: 45px;
        height: 45px;
        gap: 4px;
    }
    
    .menu-toggle span {
        width: 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 50px 0;
        transition: right var(--transition-medium);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

/* Hero Section */
.hero-section {
    height: 72vh;
    position: relative;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, var(--primary-color) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 3;
    opacity: 0.7;
}

/* Intro-2 Section - Redesigned */
#intro-2 {
    position: relative;
    z-index: 5;
    padding: 30px 0;
    color: var(--white);
    overflow: visible;
    background: var(--primary-color);
}

#intro-2 .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#intro-2 .intro-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
}

#intro-2 .intro-title {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    color: #fff;
    letter-spacing: 2px;
}

#intro-2 .intro-title span {
    position: relative;
    display: inline-block;
    text-shadow: 
        0 0 20px #fff,
        0 0 30px rgba(255, 255, 255, 0.8);
}

#intro-2 .intro-subtitle {
    font-size: 2rem;
    font-weight: 600;
   
    margin: 0 auto;
    position: relative;
   
}

#intro-2 .intro-subtitle .typing-text {
    display: inline-block;
}

#intro-2 .intro-subtitle .cursor {
    display: inline-block;
    margin-left: 3px;
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
    animation: cursor-blink 1s infinite;
}

@keyframes cursor-blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

#intro-2 .intro-content {
    display: flex;
    margin: 0 auto;
    width: 100%;
    max-width: 85%;
}

#intro-2 .intro-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 30px 35px;
    background: linear-gradient(135deg, rgba(250, 50, 120, 0.9), rgba(255, 110, 169, 0.8));
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

#intro-2 .intro-text.fade-in {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#intro-2 .intro-text p {
    color: rgba(255, 255, 255, 1);
    position: relative;
    padding-left: 25px;
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

#intro-2 .intro-text p:last-child {
    margin-bottom: 0;
}

#intro-2 .intro-text p:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.3;
}

/* Media Queries for Intro-2 */
@media (max-width: 992px) {
    #intro-2 .intro-title {
        font-size: 4rem;
    }
    
    #intro-2 .intro-subtitle {
        font-size: 2rem;
        max-width: 90%;
    }
    
    #intro-2 .intro-content {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    #intro-2 .container {
        padding: 40px 20px;
    }
    
    #intro-2 .intro-title {
        font-size: 3rem;
    }
    
    #intro-2 .intro-subtitle {
        font-size: 1.8rem;
        max-width: 100%;
    }
    
    #intro-2 .intro-content {
        flex-direction: column;
        gap: 20px;
    }
    
    #intro-2 .intro-text {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    #intro-2 .intro-title {
        font-size: 2.5rem;
    }
    
    #intro-2 .intro-subtitle {
        font-size: 1.5rem;
    }
    
    #intro-2 .intro-text {
        padding: 15px;
    }
}

/* Introduction Section */
.intro-section {
    background-color: #e60027;
    color: var(--white);
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.beat-header-wrapper {
    width: 100%;
    background-color: #e60027;
    color: var(--white);
    padding: 0;
}

.beat-header-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.beat-header-left {
    width: 60%;
}

.beat-header-right {
    width: 35%;
}

.beat-title {
    font-size: 5rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 30px;
}

.beat-info {
    padding-left: 0;
}

.beat-subtitle {
    font-size: 2.5rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.beat-text {
    font-size: 1.5rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

.intro-content {
    width: 100%;
    margin-top: 30px;
}

.intro-description {
    opacity: 0;
    transform: translateY(50px);
    display: none;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 30px;
    border-radius: 10px;
    margin-top: 20px;
}

.intro-description p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 15px;
}

@media (max-width: 1200px) {
    .beat-title {
        font-size: 6rem;
    }
    
    .beat-subtitle {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        height: 70vh;
    }
    
    .beat-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .beat-header-left, 
    .beat-header-right {
        width: 100%;
    }
    
    .beat-header-right {
        margin-top: 30px;
    }
    
    .beat-title {
        font-size: 4.5rem;
        margin-bottom: 20px;
    }
    
    .beat-subtitle {
        font-size: 2.2rem;
    }
    
    .beat-text {
        font-size: 1.4rem;
    }
    
    .beat-info {
        padding-left: 0;
    }
    
    .intro-content {
        max-width: 100%;
        padding: 0;
    }
    
    .intro-description {
        padding: 20px;
    }
    
    .intro-description p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
    }
    
    .beat-header-wrapper {
        padding: 0;
    }
    
    .beat-title {
        font-size: 3.5rem;
    }
    
    .beat-subtitle {
        font-size: 1.8rem;
    }
    
    .beat-text {
        font-size: 1.2rem;
    }
    
    .intro-content {
        padding: 0;
    }
    
    .intro-description {
        padding: 15px;
    }
    
    .intro-description p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 50vh;
    }
    
    .beat-header-wrapper {
        padding: 0;
    }
    
    .beat-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .beat-subtitle {
        font-size: 1.5rem;
    }
    
    .beat-text {
        font-size: 1rem;
    }
    
    .intro-content {
        padding: 0;
        margin-top: 20px;
    }
    
    .intro-description {
        padding: 12px;
    }
}

/* About Section */
.about-section {
    padding-top: 200px;
    position: relative;
    overflow: hidden;
    background-color: #e60027;
    color: var(--white);
   
    z-index: 2;
}

.about-section .section-title,
.about-section .section-header {
    color: var(--white);
}

.about-section .section-title {
    color: var(--white);
    background: none;
    -webkit-text-fill-color: var(--white);
}

.about-text p {
    color: var(--white);
}

.about-section .section-line {
    background: var(--white);
}

.about-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.about-text {
    width: 60%;
    padding-right: 40px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 30px;
    background: var(--gradient-primary);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(255, 51, 102, 0.2);
}

.stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.stats-number span {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.stats-label {
    font-size: 1.2rem;
    font-weight: 600;
}

.about-icons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
}

.icon-box {
    width: 23%;
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    transition: transform var(--transition-fast);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.2);
}

.icon-box i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.icon-box h3 {
    font-size: 1.3rem;
    margin-bottom: 0;
    color: var(--white);
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-section {
        height: 70vh;
        margin-bottom: -60px;
    }
    
    .about-section {
        padding-top: 150px;
        margin-top: -90px;
    }

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

    .hero-subtitle {
        font-size: 2rem;
    }
    
    .about-text,
    .about-stats {
        width: 100%;
        padding-right: 0;
    }
    
    .about-stats {
        margin-top: 40px;
        flex-direction: row;
        justify-content: space-around;
        padding: 30px 20px;
    }
    
    .icon-box {
        width: 31%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stats-number {
        font-size: 2.8rem;
    }
    
    .icon-box {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 50vh;
        margin-bottom: -30px;
    }
    
    .about-section {
        padding-top: 100px;
        margin-top: -70px;
    }

    .stats-number {
        font-size: 2.5rem;
    }
}

/* Why Choose Us Section */
.why-us-section {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://placekitten.com/1400/900') center/cover no-repeat;
    position: relative;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-us-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    overflow: hidden;
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 51, 102, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.why-us-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.why-us-card p {
    color: #777;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Network Section */
.network-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, #080c20 0%, #111831 100%);
    overflow: hidden;
}

.network-section .section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.network-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('../img/grid-pattern.png');
    opacity: 0.08;
    z-index: 1;
}

.network-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Network Card */
.network-card {
    position: relative;
    height: 450px;
    border-radius: 20px;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.network-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px; 
    padding: 2px;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(18, 24, 38, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 2;
    transform: translateZ(0);
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.card-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

/* Card Particles Animation */
.card-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.card-particles::before,
.card-particles::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.2);
    opacity: 0;
    z-index: 1;
}

/* Card Header */
.card-header {
    position: relative;
    margin-bottom: 20px;
    z-index: 2;
}

.platform-logo-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.platform-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #5045c1 0%, #3672dc 100%);
    transform: translateZ(20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-logo::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6e64ff 0%, #5045c1 50%, #3672dc 100%);
    opacity: 0;
    z-index: -1;
    filter: blur(8px);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.logo-placeholder::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 25%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 75%, 
        rgba(255, 255, 255, 0.1) 100%
    );
    animation: gradientShift 8s linear infinite;
}

.logo-placeholder span {
    font-family: 'Unbounded', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    z-index: 2;
    position: relative;
}

.platform-name {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin: 0 0 10px;
    background: linear-gradient(
        to right, 
        #fff 20%, 
        #4e8cff 40%, 
        #5045c1 60%, 
        #fff 80%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s forwards 0.2s, gradientFlow 4s linear infinite;
}

.separator-line {
    height: 2px;
    width: 0;
    margin: 15px auto;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.7), transparent);
    position: relative;
    opacity: 0;
    animation: expandLine 0.8s forwards 0.5s;
}

/* Card Body */
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.platform-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s forwards 0.3s;
}

.platform-stats {
    display: flex;
    justify-content: space-around;
    margin: auto 0 20px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s forwards 0.4s;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.stat-value {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    display: inline-block;
    position: relative;
}

.stat-unit {
    font-family: 'Unbounded', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #4e8cff;
    display: inline-block;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
    
}

/* Card Footer */
.card-footer {
    margin-top: auto;
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s forwards 0.5s;
}

.explore-btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    background: linear-gradient(135deg, #5045c1 0%, #3672dc 100%);
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.explore-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5045c1 0%, #3672dc 50%, #5045c1 100%);
    background-size: 200% 100%;
    z-index: -1;
    transition: transform 0.6s ease, opacity 0.3s ease;
    transform: translateX(-100%);
    opacity: 0;
}

.explore-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* Hover Effects */
.network-card:hover {
    transform: translateZ(20px);
}

.network-card:hover .card-inner {
    transform: translateZ(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.network-card:hover .card-inner::after {
    opacity: 0.6;
}

.network-card:hover .platform-logo {
    transform: translateZ(30px) scale(1.1);
    animation: pulsate 2s ease infinite;
}

.network-card:hover .platform-logo::before {
    opacity: 0.8;
    filter: blur(12px);
}

.network-card:hover .platform-description {
    color: #fff;
}

.network-card:hover .explore-btn::before {
    transform: translateX(0);
    opacity: 1;
    animation: gradientSlide 3s linear infinite;
}

.network-card:hover .explore-btn i {
    transform: translateX(5px);
}

/* Generate random particle animations for each card */
.network-card:nth-child(1) .card-particles::before {
    top: 20%;
    left: 30%;
    animation: floatParticle 8s infinite;
}

.network-card:nth-child(1) .card-particles::after {
    top: 70%;
    left: 60%;
    animation: floatParticle 7s infinite 2s;
}

.network-card:nth-child(2) .card-particles::before {
    top: 60%;
    left: 20%;
    animation: floatParticle 9s infinite 1s;
}

.network-card:nth-child(2) .card-particles::after {
    top: 30%;
    left: 80%;
    animation: floatParticle 6s infinite 3s;
}

.network-card:nth-child(3) .card-particles::before {
    top: 40%;
    left: 70%;
    animation: floatParticle 10s infinite 2s;
}

.network-card:nth-child(3) .card-particles::after {
    top: 80%;
    left: 30%;
    animation: floatParticle 7s infinite;
}

.network-card:nth-child(4) .card-particles::before {
    top: 30%;
    left: 40%;
    animation: floatParticle 8s infinite 3s;
}

.network-card:nth-child(4) .card-particles::after {
    top: 60%;
    left: 65%;
    animation: floatParticle 9s infinite 1s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandLine {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60%;
        opacity: 1;
    }
}

@keyframes pulsate {
    0% {
        box-shadow: 0 0 0 0 rgba(78, 140, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(78, 140, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(78, 140, 255, 0);
    }
}

@keyframes gradientFlow {
    to {
        background-position: 200% center;
    }
}

@keyframes gradientShift {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.2);
    }
    25% {
        opacity: 1;
        transform: translate(20px, -15px) scale(1);
    }
    50% {
        transform: translate(40px, 20px) scale(0.8);
    }
    75% {
        transform: translate(20px, 40px) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(0, 0) scale(0.2);
        opacity: 0;
    }
}

@keyframes gradientSlide {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Counter Animation */
.stat-value {
    position: relative;
    display: inline-block;
}

/* Responsive */
@media (max-width: 1200px) {
    .network-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .network-cards {
        grid-template-columns: 1fr;
    }
    
    .network-card {
        height: 400px;
    }
    
    .platform-name {
        font-size: 1.3rem;
    }
    
    .platform-description {
        font-size: 0.9rem;
    }
}

/* Special Effect for Typing Animation */
.network-card:hover .platform-description {
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    animation: 
        typing 3.5s steps(40, end),
        blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-right-color: transparent }
    50% { border-right-color: rgba(255, 255, 255, 0.75) }
}

/* Stats Section */
.stats-section {
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section .section-title,
.stats-section .section-line {
    color: var(--white);
    background: var(--white);
}

.stats-section .section-title {
    -webkit-text-fill-color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    position: relative;
    z-index: 2;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.stat-item i {
    font-size: 2.5rem;

}

.counter {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-item h3 {
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 600;
}

/* Media Queries */
@media (max-width: 1200px) {
    .stats-grid,
    .network-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .vietnam-map {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .stats-grid,
    .network-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .vietnam-map {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .stats-grid,
    .network-grid {
        grid-template-columns: 1fr;
    }
    
    .counter {
        font-size: 2.5rem;
    }
}

/* Services Section - New Design */
.services-section {
    position: relative;
    background: var(--gradient-primary);
    padding: 0;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    transition: background-color 0.5s ease, opacity 0.3s ease;
    will-change: background-color;
    z-index: 10;
}

.services-section .section-title {
    position: relative;
    padding-top: 15px;
    z-index: 15;
    text-align: center;
    width: 100%;
    color: white;
    background: transparent;
    -webkit-text-fill-color: white;
}

.services-section .section-title h2 {
    font-size: 4rem;
    margin-bottom: 15px;
    font-weight: 800;
    color: white;
}

.services-section .section-title p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 400;
    color: white;
}

.services-section.pinned {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 90;
}

body.disable-scroll {
    overflow: hidden;
}

body.services-active {
    overflow: hidden;
}

/* Services Section - Keep existing service card animations */
.service-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    margin: 0;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
    transition: none;
    z-index: 1;
    max-width: 1300px;
    left: 50%;
    transform: translateX(-50%);
    top: 170px;
    height: calc(100vh - 200px);
}

.service-card.active {
    visibility: visible;
    opacity: 1;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.service-content {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

.service-content.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
       margin: 33px;
    height: auto;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.service-card.active .service-image img {
    transform: scale(1);
}

.service-card.active:hover .service-image img {
    transform: scale(1.05);
}

.service-text {
    flex: 1;
    padding: 40px;
    transform: translateX(0);
}

.service-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.service-text ul {
    list-style: none;
    margin-bottom: 30px;
}

.service-text ul li {
    margin-bottom: 15px;
    font-size: 1.2rem;
    position: relative;
    padding-left: 30px;
}

.service-text ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.service-text .btn {
    margin-top: 15px;
    padding: 12px 30px;
    font-size: 1rem;
}

/* Scroll indicators */
.scroll-indicator-container {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.scroll-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* Network Ecosystem Section */
.network-ecosystem-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background-color: rgba(15, 15, 20, 0.02);
}

.network-ecosystem-section .gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(250, 50, 120, 0.05), rgba(80, 70, 230, 0.05));
    z-index: -1;
}

.network-ecosystem-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.network-ecosystem-section .gradient-text, .showcase-section .gradient-text, .insight-section .gradient-text {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--ipink-primary), var(--ipink-medium), var(--ipurple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.network-ecosystem-section .section-subtitle, .showcase-section .section-subtitle, .insight-section .section-subtitle {
    max-width: 830px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
}

/* Particles Animation */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ipink-light), var(--ipink-medium));
    opacity: 0.3;
    filter: blur(8px);
    animation: floatParticle 15s infinite linear;
}

.particle:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 10%;
    animation-duration: 25s;
}

.particle:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 20%;
    background: linear-gradient(135deg, var(--ipink-medium), var(--ipurple));
    animation-duration: 30s;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 15%;
    background: linear-gradient(135deg, var(--secondary-color), var(--ipink-primary));
    animation-duration: 22s;
    animation-delay: 5s;
}

.particle:nth-child(4) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 25%;
    animation-duration: 28s;
    animation-delay: 7s;
}

.particle:nth-child(5) {
    width: 70px;
    height: 70px;
    bottom: 40%;
    left: 30%;
    background: linear-gradient(135deg, var(--ipurple), var(--ipink-medium));
    animation-duration: 35s;
    animation-delay: 3s;
}

/* Card Slider */
.network-slider-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.network-slider {
    display: flex;
    transition: transform 1000ms ease-out;
    margin: 20px -15px;
}

.network-card {
    min-width: calc(33.333% - 30px);
    margin: 0 15px;
    height: 500px;
    position: relative;
    transition: all 0.5s ease;
}

.network-card.active {
    transform: scale(1.05);
}

.card-glass {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.5s ease;
}

.card-glass:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(250, 50, 120, 0.15);
    transform: translateY(-5px);
}

.card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(250, 50, 120, 0.05), rgba(80, 70, 230, 0.05));
    z-index: -1;
}

/* Channel Card Elements */
.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.channel-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    position: relative;
    overflow: hidden;
}

.channel-avatar::before {
    content: attr(data-letter);
    position: relative;
    z-index: 2;
}

.avatar-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ipink-primary), var(--ipink-medium));
    opacity: 0.9;
    z-index: 1;
}

.channel-info {
    margin-left: 15px;
    flex-grow: 1;
}

.channel-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-color);
}

.channel-stats {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.channel-category {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.category-tag {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    display: none;
}

.category-tag.lifestyle {
    background: linear-gradient(135deg, #ff6ea9, #ff4987);
}

.category-tag.news {
    background: linear-gradient(135deg, #3a7bd5, #5046e6);
}

.category-tag.food {
    background: linear-gradient(135deg, #fa3278, #ff6ea9);
}

.category-tag.tech {
    background: linear-gradient(135deg, #5046e6, #141e7d);
}

.category-tag.parenting {
    background: linear-gradient(135deg, #ff6aaa, #fa3278);
}

.category-tag.local {
    background: linear-gradient(135deg, #fa3278, #ff6aaa);
}

.category-tag.entertainment {
    background: linear-gradient(135deg, #fa3278, #ff4987);
}

.category-tag.business {
    background: linear-gradient(135deg, #ff3366, #fa3278);
}

.category-tag.education {
    background: linear-gradient(135deg, #ff6aaa, #fa3278);
}

.category-tag.travel {
    background: linear-gradient(135deg, #fa3278, #ff6ea9);
}

.category-tag.creative {
    background: linear-gradient(135deg, #ff4987, #fa3278);
}

.card-description {
    margin-bottom: 20px;
}

.card-description p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.85;
}

/* Media Preview */
.media-preview {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    cursor: pointer;
}

.media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-preview:hover img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.video-preview:hover .play-button {
    opacity: 1;
    transform: scale(1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.8rem;
    border-radius: 4px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.media-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-btn, .next-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 5px 15px rgba(250, 50, 120, 0.3);
    transform: translateY(-2px);
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 20px;
    border-radius: 10px;
    background: var(--gradient-primary);
}

/* Responsive Styles for Network Section */
@media (max-width: 1200px) {
    .network-ecosystem-section .gradient-text {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .network-ecosystem-section {
        padding: 80px 0;
    }
    
    .network-card {
        min-width: calc(50% - 30px);
    }
    
    .network-ecosystem-section .gradient-text {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .network-ecosystem-section {
        padding: 60px 0;
    }
    
    .network-card {
        min-width: calc(100% - 30px);
    }
    
    .card-glass {
        height: auto;
        min-height: 450px;
    }
    
    .network-ecosystem-section .gradient-text {
        font-size: 1.8rem;
    }
    
    .network-ecosystem-section .section-subtitle {
        font-size: 1rem;
    }
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(0, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.gradient-text.ipink-emphasis {
    background: linear-gradient(135deg, var(--ipink-primary) 20%, var(--ipink-medium) 60%, var(--ipink-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 3px rgba(250, 50, 120, 0.15);
}

.card-description {
    margin-bottom: 20px;
}

/* Showcase Case Studies Section */
.showcase-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    z-index: 1;
}

/* Background Elements */
.showcase-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(20deg, var(--ipink-light) 0%, #fff 100%);
    z-index: -1;
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
    animation: patternDrift 60s linear infinite;
}

@keyframes patternDrift {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

/* Blob Animations */
.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.6;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(250, 50, 120, 0.8) 0%, rgba(255, 106, 170, 0.4) 70%);
    top: -100px;
    right: -100px;
    animation: blobFloat 20s ease-in-out infinite alternate;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(80, 70, 230, 0.6) 0%, rgba(80, 70, 230, 0.2) 70%);
    bottom: -100px;
    left: 15%;
    animation: blobFloat 15s ease-in-out infinite alternate-reverse;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 200, 232, 0.8) 0%, rgba(255, 200, 232, 0.3) 70%);
    top: 30%;
    left: -50px;
    animation: blobFloat 18s ease-in-out infinite alternate;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, 30px) scale(1.1);
    }
    100% {
        transform: translate(10px, 60px) scale(0.9);
    }
}

.shape-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(250, 50, 120, 0.8), rgba(80, 70, 230, 0.5));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: 50px;
    right: 50px;
    filter: blur(3px);
    animation: morphShape 10s linear infinite;
    transform-origin: center center;
    z-index: -1;
}

@keyframes morphShape {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%;
    }
    50% {
        border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%;
    }
    75% {
        border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Showcase Content */
.showcase-section .section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.showcase-slider {
    position: relative;
    width: 100%;
    min-height: 445px;
    perspective: 1000px;
}

/* Case Study Cards */
.case-study {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(60px);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
}

.case-study.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
}

.case-number {
    position: absolute;
    top: -80px;
    left: 0;
    font-size: 10rem;
    font-weight: 900;
    opacity: 0.1;
    color: #fff;
    font-family: var(--heading-font);
    line-height: 1;
    z-index: -1;
    display: none;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.case-content {
    flex: 1;
    padding-right: 30px;
    max-width: 50%;
}

.case-header {
    margin-bottom: 15px;
}

.case-info {
    margin-bottom: 20px;
}

.case-description p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.case-title {
    font-size: 1.9rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.case-client {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.client-label {
    opacity: 0.7;
}

.client-name {
    font-weight: 700;
    color: var(--primary-color);
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(250, 50, 120, 0.3);
}

.case-services {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.case-services h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-tag {
    display: inline-block;
    padding: 8px 16px;
    background: transparent;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color:  var(--primary-color);
    border: 1px solid var(--secondary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.service-tag:hover {
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(250, 50, 120, 0.2);
}

.service-tag:hover::before {
    transform: translateX(0);
    opacity: 1;
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 0;
    opacity: 1;
    transform: none;
    animation: none;
}

.case-stats .stat-item {
    position: relative;
    padding: 20px 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-stats .stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: height 0.4s ease;
    z-index: 0;
}

.case-stats .stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.case-stats .stat-item:hover::before {
    height: 100%;
}

.case-stats .stat-icon {
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    color: var(--ipink-light);
    font-size: 1.3rem;
}

.case-stats .stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.case-stats .stat-unit {
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-left: 2px;
    color: var(--text-color);
    opacity: 0.8;
}

.case-stats .stat-label {
    font-size: 0.85rem;
    margin-top: 5px;
    position: relative;
    z-index: 1;
    color: var(--text-color);
    opacity: 0.8;
}

.case-results {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.case-results h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateX(10px) scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.result-number {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    flex-shrink: 0;
}

.result-text {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
}

/* Media Section */
.case-media {
    flex: 1;
    max-width: 50%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.media-main {
    width: 100%;
    margin-bottom: 20px;
}

.media-card {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 15px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(250, 50, 120, 0.3);
    transform: translateZ(20px);
}

.media-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 62.5%; /* 16:10 aspect ratio */
    overflow: hidden;
}

.media-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-wrapper:hover img {
    transform: scale(1.05);
}

/* Video Media Elements */
.video-media {
    position: relative;
}

.play-button-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
        transform: scale(0.9);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(0.9);
    }
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    font-size: 0.8rem;
    border-radius: 4px;
    z-index: 2;
    transform: translateZ(10px);
}

/* Thumbnails */
.media-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumbnail-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16/9;
}

.thumbnail-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.thumbnail-item:hover img {
    transform: scale(1.1);
}

.thumbnail-item.video-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 0.8rem;
    z-index: 2;
}

.thumbnail-item.video-media .video-duration {
    font-size: 0.7rem;
    bottom: 5px;
    right: 5px;
    padding: 2px 6px;
}

/* Navigation Controls */
.showcase-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(250, 50, 120, 0.3);
}

.nav-indicators {
    display: flex;
    align-items: center;
    margin: 0 20px;
}

.indicator {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.indicator.active {
    background: rgba(255, 255, 255, 0.5);
}

.indicator-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.indicator.active .indicator-progress {
    animation: progressFill 6s linear forwards;
}

@keyframes progressFill {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    z-index: 1;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.modal-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.video-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.video-container video {
    width: 100%;
    display: block;
}

/* Helper Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tilt Glare Effect */
.js-tilt-glare {
    border-radius: 15px;
    overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .case-content, 
    .case-media {
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .case-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .case-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-number {
        font-size: 8rem;
        top: -65px;
    }
}

@media (max-width: 992px) {
    .showcase-section {
        padding: 80px 0;
    }
    
    .case-title {
        font-size: 2rem;
    }
    
    .case-description p {
        font-size: 1rem;
    }
    
    .result-item {
        padding: 12px;
    }
    
    .result-number {
        font-size: 1.5rem;
    }
    
    .featured-badge {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .showcase-section {
        padding: 60px 0;
    }
    
    .case-study {
        min-height: auto;
    }
    
    .case-title {
        font-size: 1.8rem;
    }
    
    .case-client {
        font-size: 1rem;
    }
    
    .case-stats {
        grid-template-columns: 1fr;
    }
    
    .case-stats .stat-item {
        padding: 15px;
    }
    
    .case-stats .stat-value {
        font-size: 1.8rem;
    }
    
    .media-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-number {
        font-size: 6rem;
        top: -50px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .blob-1, .blob-2, .blob-3 {
        opacity: 0.4;
    }
}

@media (max-width: 480px) {
    .showcase-section {
        padding: 40px 0;
    }
    
    .case-number {
        font-size: 4rem;
        top: -35px;
    }
    
    .case-title {
        font-size: 1.5rem;
    }
    
    .services-list, .case-tags {
        gap: 5px;
    }
    
    .service-tag, .tag {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .result-number {
        font-size: 1.3rem;
    }
    
    .media-thumbnails {
        gap: 8px;
    }
    
    .indicator {
        width: 40px;
    }
}

/* Case Stats */
.case-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.case-stats .stat-item {
    position: relative;
    aspect-ratio: 1/1;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.case-stats .stat-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(250, 50, 120, 0.15);
    background: rgba(255, 106, 170, 0.1);
}

.case-stats .stat-icon {
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--ipink-primary);
}

.case-stats .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-color);
    margin-bottom: 2px;
}

.case-stats .stat-unit {
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    color: var(--text-color);
}

.case-stats .stat-label {
    font-size: 0.7rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Media queries for case stats */
@media (max-width: 992px) {
    .case-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .case-stats .stat-value {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .case-stats .stat-item {
        padding: 8px;
    }
    
    .case-stats .stat-icon {
        font-size: 0.8rem;
    }
    
    .case-stats .stat-value {
        font-size: 1.2rem;
    }
    
    .case-stats .stat-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .case-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.case-services {
    margin-top: 10px;
}

/* Insight Section - Các con số nổi bật */
.insight-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #ffebf4, #fff1f7);
    position: relative;
}

.insight-section .section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    background-color: #ffebf4;
    padding: 30px 0;
}

.insight-section .section-title {
    font-size: 4.5rem;
    font-weight: 900;
    text-align: center;
    color: #fa3278;
    display: block;
    font-family: var(--heading-font);
    margin-bottom: 20px;
    position: relative;
    letter-spacing: 2px;
    text-transform: none;
}

.insight-section .section-line {
    height: 4px;
    width: 300px;
    background: #fa3278;
    margin: 0 auto;
}

.insight-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.vietnam-map-container {
    flex: 1;
    position: relative;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vietnam-map-img {
    width: 70%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 15px rgba(250, 50, 120, 0.2));
}

.map-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #3b68ff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 5px rgba(59, 104, 255, 0.3);
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-marker:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

.map-marker span {
    position: absolute;
    white-space: nowrap;
    color: #3b68ff;
    font-weight: 600;
    font-size: 0.9rem;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.map-marker.hanoi {
    top: 25%;
    left: 65%;
}

.map-marker.haiphong {
    top: 30%;
    left: 73%;
}

.map-marker.danang {
    top: 52%;
    left: 63%;
}

.map-marker.hcm {
    top: 72%;
    left: 53%;
}

.map-marker.cantho {
    top: 80%;
    left: 47%;
}

.insight-stats {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.stat-box {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    border-radius: 12px;
    padding: 10px;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: transparent;
}

.stat-icon-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: #fa3278;
}

.stat-box.media-channels .stat-number,
.stat-box.interactions .stat-number,
.stat-box.views .stat-number {
    color: #fa3278;
}

.stat-box.followers .stat-number,
.stat-box.reach .stat-number {
    color: var(--ipurple);
}

.stat-number span {
    font-size: 1.5rem;
    font-weight: 600;
}

.stat-label {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #555;
    margin-top: 5px;
}

/* Media queries for Insight Section */
@media (max-width: 992px) {
    .insight-container {
        flex-direction: column;
    }
    
    .insight-stats {
        width: 100%;
    }
    
    .map-marker span {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .insight-section .section-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .insight-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .insight-section .section-title {
        font-size: 2rem;
    }
    
    .stat-box {
        padding: 10px 5px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Clients Section */
.clients-section {
    background-color: #f9f9f9;
}

.clients-filter {
    margin-bottom: 40px;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

.filter-tabs li {
    padding: 8px 20px;
    margin: 0 10px 10px;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 600;
}

.filter-tabs li.active,
.filter-tabs li:hover {
    background: var(--gradient-primary);
    color: var(--white);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.client-logo {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-fast);
}

.client-logo:hover {
    filter: grayscale(0%);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partners-header {
    text-align: center;
    margin: 40px 0 30px;
}

.partners-header h3 {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.partner-logo {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-fast);
}

.partner-logo:hover {
    filter: grayscale(0%);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info {
    width: 40%;
    padding-right: 40px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-info ul {
    list-style: none;
    margin-bottom: 40px;
}

.contact-info ul li {
    display: flex;
    margin-bottom: 20px;
}

.contact-info ul li i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-info ul li p {
    font-size: 1.1rem;
}

.social-links {
    display: flex;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    margin-right: 15px;
    transition: all var(--transition-fast);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(255, 51, 102, 0.2);
}

.contact-form-wrapper {
    width: 60%;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.1);
    outline: none;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #ff0000;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: #333;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.footer-column {
    width: 30%;
}

.footer-logo-img {
    max-height: 60px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column p {
    color: #aaa;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #aaa;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer .social-links {
    margin-top: 20px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
    transition: all var(--transition-fast);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 51, 102, 0.4);
}

/* Media Queries */
@media (max-width: 992px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-info,
    .contact-form-wrapper {
        width: 100%;
        padding-right: 0;
    }
    
    .contact-info {
        margin-bottom: 40px;
    }
    
    .footer-column {
        width: 48%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-tabs li {
        margin: 0 5px 10px;
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .footer-column {
        width: 100%;
        text-align: center;
    }
    
    .footer .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .clients-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

