:root {
    /* Color Palette - Tech & Modern */
    --primary-color: #2563eb;       /* Royal Blue */
    --primary-dark: #1e40af;        /* Darker Blue */
    --secondary-color: #06b6d4;     /* Cyan */
    --accent-color: #8b5cf6;        /* Violet */
    
    --text-main: #1e293b;           /* Slate 800 */
    --text-secondary: #64748b;      /* Slate 500 */
    --text-light: #94a3b8;          /* Slate 400 */
    
    --white: #ffffff;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;            /* Slate 50 */
    --bg-dark: #0f172a;             /* Slate 900 */
    
    --border-color: #e2e8f0;        /* Slate 200 */
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.95);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    padding: 0 40px;
}

/* Logo Styling */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-wrapper:hover {
    transform: translateY(-1px);
}

.logo-img {
    height: 52px;
    width: auto;
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: -0.5px;
    
    /* Tech Blue Gradient & Glass Effect */
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(6, 182, 212, 0.2));
    
    position: relative;
    display: inline-block;
}

/* Hand-drawn curved underline with Shimmer Animation */
.logo-title::after {
    content: '';
    position: absolute;
    left: 2px;
    bottom: -6px;
    width: 100%;
    height: 8px;
    
    /* Use mask to define the shape */
    -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M2,8 C30,12 70,2 98,9' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' /%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M2,8 C30,12 70,2 98,9' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' /%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    /* Shimmer Gradient Background */
    background: linear-gradient(
        90deg, 
        #06b6d4 0%, 
        #06b6d4 40%, 
        #ffffff 50%, 
        #06b6d4 60%, 
        #06b6d4 100%
    );
    background-size: 200% 100%;
    animation: shimmerLine 3s infinite linear;
    
    pointer-events: none;
    opacity: 0.9;
}

@keyframes shimmerLine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.logo-slogan {
    font-size: 13px;
    color: #475569; /* Slate 600 - Balanced with Tech Blue */
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 8px; /* Increased space for the underline */
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-weight: 600;
    color: var(--text-main);
    position: relative;
    padding: 8px 0;
    font-size: 15px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
    border-radius: 2px;
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hotline Box Styling */
.hotline-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 10px;
    line-height: 1.2;
}

.hotline-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.hotline-number {
    font-size: 18px;
    font-weight: 800;
    /* Vibrant Gradient Text */
    background: linear-gradient(to right, #f59e0b, #ef4444, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    /* Shimmer Animation */
    background-size: 200% auto;
    animation: textShimmer 3s linear infinite;
    text-decoration: none;
}

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

/* Button Glow Effect */
.btn-glow {
    position: relative;
    overflow: hidden;
    /* Brighter Gradient: Cyan to Bright Blue */
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.5);
    border: none;
    color: #ffffff !important; /* Force white text */
    /* Heartbeat Animation (Continuous) */
    animation: heartbeat 1.5s infinite ease-in-out;
}

.btn-glow i {
    color: #ffffff !important; /* Force white icon */
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(14, 165, 233, 0.7);
    /* Pause animation on hover if desired, or let it continue. 
       Removing transform here to avoid conflict with heartbeat */
    transform: none; 
    color: #ffffff !important;
}

@keyframes heartbeat {
    0% { transform: scale(1); box-shadow: 0 0 15px rgba(14, 165, 233, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(14, 165, 233, 0.8); }
    100% { transform: scale(1); box-shadow: 0 0 15px rgba(14, 165, 233, 0.5); }
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

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

/* Modal Styling */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.85); /* Darker opacity for better visibility */
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 10000; /* High z-index to ensure visibility */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background-color: var(--bg-light);
    color: var(--text-main);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-header h3 i {
    color: var(--primary-color);
}

.modal-header p {
    color: var(--text-secondary);
}

.modal-body {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    flex: 1;
    min-width: 200px;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.qr-code-box {
    width: 140px;
    height: 140px;
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.placeholder-qr {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    position: relative;
}

.qr-label {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--primary-dark);
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap; /* Prevent text wrapping */
}

.contact-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* --- Buttons --- */
.btn {
    padding: 10px 24px;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: var(--transition);
    letter-spacing: 0.5px;
    gap: 5px; /* Space between icon and text (approx 1 space) */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline-white {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 18px;
}

/* --- Hero Carousel --- */
.hero-carousel {
    position: relative;
    height: 700px; /* Increased height for better visual impact */
    background: var(--bg-dark);
    color: var(--white);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    z-index: 1;
    display: flex;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Richer Backgrounds */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.bg-gradient-1 {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #3b82f6 100%);
}

.bg-gradient-2 {
    background: linear-gradient(135deg, #064e3b 0%, #0d9488 50%, #14b8a6 100%);
}

.bg-gradient-3 {
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #db2777 100%);
}

/* Advanced Shapes & Decorations */
.slide-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

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

/* Content Layout - Split Screen */
.carousel-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 60px; /* Header offset */
}

.text-col {
    flex: 1;
    max-width: 600px;
    padding-right: 40px;
}

.visual-col {
    flex: 1;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Typography Enhancements */
.carousel-slide h1 {
    font-size: 64px; /* Larger */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.text-gradient-1 {
    background: linear-gradient(to right, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-2 {
    background: linear-gradient(to right, #34d399, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-3 {
    background: linear-gradient(to right, #f472b6, #fb7185);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

/* Hero Buttons Alignment */
.hero-buttons {
    display: flex;
    justify-content: flex-start; /* Left align */
    gap: 20px;
}

/* Floating Visual Elements (Glassmorphism) */
.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.glass-card i {
    font-size: 40px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card span {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
}

/* Visual Animations */
.float-1 { animation: float-slow 6s ease-in-out infinite; }
.float-2 { animation: float-medium 5s ease-in-out infinite reverse; }
.float-3 { animation: float-fast 4s ease-in-out infinite 1s; }

@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .slide-row {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    
    .text-col {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .visual-col {
        display: none; /* Hide complex visuals on mobile for simplicity, or scale down */
    }
    
    .carousel-slide h1 {
        font-size: 42px;
    }
}

.animate-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide.active .animate-text {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.carousel-control:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.carousel-control.prev { left: 40px; }
.carousel-control.next { right: 40px; }

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.indicator {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--white);
    width: 60px;
}

/* --- Common Section Styles --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 18px;
}

.bg-light {
    background-color: var(--bg-light);
}

/* --- Grids --- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

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

/* --- Product Cards --- */
.card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.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: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 24px;
    transition: var(--transition);
}

.card:hover .card-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.card h3 {
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
}

.card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    flex-grow: 1;
}

/* --- Solutions --- */
.solution-item {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.solution-item:hover {
    transform: translateY(-5px);
}

.solution-img {
    width: 100px;
    height: 100px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--white);
    font-size: 40px;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s ease;
    animation: blob 5s ease-in-out infinite;
}

@keyframes blob {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.bg-blue { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.bg-green { background: linear-gradient(135deg, #059669, #10b981); }
.bg-purple { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.bg-orange { background: linear-gradient(135deg, #ea580c, #f97316); }
.bg-red { background: linear-gradient(135deg, #dc2626, #ef4444); }
.bg-cyan { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.bg-yellow { background: linear-gradient(135deg, #d97706, #f59e0b); }
.bg-indigo { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.bg-teal { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.bg-pink { background: linear-gradient(135deg, #ec4899, #f472b6); }

.solution-item h4 {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
}

.solution-item p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* --- Advantages --- */
.advantage-item {
    background: var(--bg-white);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.adv-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--bg-light), #fff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.advantage-item:hover .adv-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.advantage-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.advantage-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

/* --- Architecture Section --- */
.architecture-section {
    padding: 80px 0;
    background-color: var(--white);
}

.arch-diagram {
    max-width: 1200px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.arch-row {
    display: grid;
    gap: 20px;
}

.arch-top {
    grid-template-columns: 1.2fr 1.5fr 1.3fr;
}

.arch-box {
    border: 2px dashed #e0e7ff;
    border-radius: var(--radius-md);
    padding: 20px;
    background: #fff;
    transition: var(--transition);
    position: relative;
}

.arch-box:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.arch-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

/* Top Layer Items */
.terminal-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.terminal-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    color: #475569;
}

.terminal-item i {
    font-size: 20px;
}
.terminal-item .fa-android { color: #3ddc84; }
.terminal-item .fa-apple { color: #000; }
.terminal-item .fa-windows { color: #0078d7; }

.mini-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mini-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.arch-tag {
    display: block;
    text-align: center;
    padding: 8px 5px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s;
}

.arch-tag:hover {
    background: var(--primary-color);
    color: white;
}

/* Arrows */
.arch-arrows {
    display: flex;
    justify-content: space-around;
    color: #cbd5e1;
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Middle Layer (Business) */
.business-layer-box {
    border-color: #ffedd5; /* Orange tint */
}

.business-layer-box .arch-title {
    color: #ea580c; /* Orange */
}

.business-layer-box:hover {
    border-color: #ea580c;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.biz-module {
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.biz-module h4 {
    text-align: center;
    color: #ea580c;
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 600;
}

.biz-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    flex-grow: 1;
    align-content: flex-start;
}

.biz-item {
    font-size: 12px;
    padding: 3px 6px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #64748b;
    white-space: nowrap;
}

/* Spanning modules */
.span-2 { grid-column: span 2; }
.span-4 { grid-column: span 4; }

/* Bottom Layer */
.interface-box {
    border-color: #dcfce7; /* Green tint */
    display: flex;
    flex-direction: column;
}
.interface-box .arch-title {
    color: #059669; /* Green */
}
.interface-box:hover {
    border-color: #059669;
}

.interface-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    flex-grow: 1;
}

.interface-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    background: #f0fdf4;
    color: #059669;
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid #bbf7d0;
    transition: all 0.3s;
}

.interface-card:hover {
    background: #059669;
    color: white;
    transform: translateY(-2px);
    border-color: #059669;
}

.interface-card i {
    font-size: 16px;
}

.interface-card span {
    font-size: 14px;
}

/* Responsive Architecture */
.arch-content-row {
    grid-template-columns: 2.7fr 1.3fr;
}

@media (max-width: 992px) {
    .arch-top {
        grid-template-columns: 1fr;
    }

    .arch-content-row {
        grid-template-columns: 1fr;
    }
    
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .span-2 { grid-column: span 2; } /* Keep spanning full width on tablet if 2 cols */
}

@media (max-width: 576px) {
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .span-2 { grid-column: span 1; }
    
    .terminal-list {
        grid-template-columns: 1fr;
    }
}

/* --- Pain Points Section --- */
.pain-points-section {
    padding: 80px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.pain-card {
    background: white;
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
}

.pain-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pain-card:hover::before {
    opacity: 1;
}

.pain-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.pain-card:hover .pain-icon {
    background: var(--primary-color);
    color: white;
    transform: rotateY(360deg);
}

.pain-card h4 {
    font-size: 18px;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 10px;
}

.pain-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.pain-number {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 40px;
    font-weight: 800;
    color: #f1f5f9;
    z-index: 0;
}

.pain-card:hover .pain-number {
    color: #e2e8f0;
}

/* Responsive Pain Points */
@media (max-width: 1200px) {
    .pain-points-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .pain-points-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .pain-points-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .pain-points-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Clients Section --- */
.clients-section {
    padding: 80px 0;
    background-color: #f8fafc;
    overflow: hidden;
}

.clients-section .container-fluid {
    width: 100%;
    padding: 0 24px;
    max-width: 100%;
}

.clients-scroll-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
}

.scroll-row {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

/* Gradient Mask for fading edges */
.scroll-row::before,
.scroll-row::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.scroll-row::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc, transparent);
}

.scroll-row::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc, transparent);
}

.scroll-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.scroll-left {
    animation: scrollLeft 60s linear infinite;
}

.scroll-right {
    animation: scrollRight 60s linear infinite;
}

.client-card {
    flex: 0 0 auto;
    width: 200px;
    height: 80px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 15px;
    gap: 12px;
    font-weight: 600;
    color: #64748b;
    font-size: 15px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    cursor: default;
}

.client-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.client-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.client-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
    background: #fff;
    z-index: 10;
}

.client-card:hover .client-logo {
    transform: scale(1.1) rotate(360deg);
    transition: all 0.5s ease;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-220px * 8)); }
}

@keyframes scrollRight {
    0% { transform: translateX(calc(-220px * 8)); }
    100% { transform: translateX(0); }
}

/* Pause on hover */
.clients-scroll-wrapper:hover .scroll-track {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .client-card {
        width: 160px;
        height: 60px;
        font-size: 14px;
    }
    
    @keyframes scrollLeft {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-180px * 8)); }
    }

    @keyframes scrollRight {
        0% { transform: translateX(calc(-180px * 8)); }
        100% { transform: translateX(0); }
    }
}

/* --- Achievements Section --- */
.achievements-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding: 100px 0;
}

/* Background Pattern */
.achievements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 25%),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px;
    z-index: 0;
}

.achievements-section .container {
    position: relative;
    z-index: 1;
}

.achievements-section .section-header h2 {
    color: var(--white);
    font-size: 42px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.achievements-section .section-header h2::after {
    background: rgba(255, 255, 255, 0.5);
    width: 80px;
}

.achievements-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
}

.stat-item {
    text-align: center;
    padding: 40px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s;
    pointer-events: none;
}

.stat-item:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.2);
}

.stat-item:hover::before {
    transform: scale(1);
}

.stat-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 32px;
    color: var(--white);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat-item:hover .stat-icon {
    transform: rotateY(180deg) scale(1.1);
    background: var(--white);
    color: var(--primary-color);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -1px;
    background: linear-gradient(to bottom, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Footer --- */
.site-footer {
    background-color: #0f172a; /* Slate 900 */
    color: #94a3b8; /* Slate 400 */
    padding: 60px 0 20px;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Custom Grid for Compact Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.0fr 1.0fr 1.8fr; /* More space for contact column */
    gap: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand .logo-img {
    height: 32px;
    width: auto;
}

.footer-brand .logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #f8fafc; /* Slate 50 */
    letter-spacing: -0.5px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b; /* Slate 500 */
    max-width: 280px;
    margin: 0;
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: #f1f5f9; /* Slate 100 */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    display: block;
    position: relative;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Two-column grid for links */
.footer-links .link-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px; /* row-gap 10px, col-gap 20px */
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    font-size: 13px; /* Slightly smaller for density */
    white-space: nowrap; /* Prevent wrapping */
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Contact Group Layout */
.contact-group {
    display: flex;
    flex-direction: row; /* Horizontal layout */
    gap: 24px;
    margin-bottom: 20px;
    align-items: flex-start; /* Align top */
}

.contact-phones {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1; /* Slate 300 */
    text-decoration: none;
    transition: all 0.2s;
}

.phone-item:hover {
    color: var(--primary-color);
    transform: translateX(2px);
}

.contact-role {
    font-size: 13px;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #94a3b8;
}

.contact-number {
    font-weight: 600;
    font-size: 15px;
    font-family: monospace; /* Better for numbers */
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #38bdf8; /* Sky 400 */
    background: rgba(56, 189, 248, 0.1);
    padding: 4px 8px;
    border-radius: 100px;
    margin-top: 4px;
    width: fit-content;
}

/* QR Codes */
.contact-qrs {
    display: flex;
    gap: 12px;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.qr-img-wrapper {
    width: 80px;
    height: 80px;
    background: #fff;
    padding: 4px;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.qr-img-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
}

.qr-caption {
    font-size: 11px;
    color: #64748b;
    text-align: center;
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-address i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

/* Responsive Footer Contact */
@media (max-width: 576px) {
    .contact-group {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-phones {
        align-items: center;
    }
    
    .footer-address {
        justify-content: center;
    }
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        align-items: center;
        text-align: center;
    }
    
    .footer-brand p {
        text-align: center;
    }
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.friend-links-container {
    position: relative;
    margin-bottom: 16px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
}

.friend-links {
    font-size: 13px;
    line-height: 30px;
    height: 30px;
    overflow: hidden;
    transition: height 0.3s ease;
    padding: 0;
    flex: 0 1 auto;
    min-width: 0;
}

.friend-links.expanded {
    height: auto;
}

.friend-toggle {
    display: inline-block;
    font-size: 12px;
    color: var(--primary-color);
    cursor: pointer;
    line-height: 30px; /* Align with text */
    white-space: nowrap;
    flex-shrink: 0;
}

.friend-toggle:hover {
    text-decoration: underline;
}

.friend-links span {
    color: #64748b;
    margin-right: 8px;
}

.friend-links a {
    margin: 0 10px;
    color: #94a3b8;
    transition: color 0.2s;
    display: inline-block;
}

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

.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    color: #475569;
    font-size: 13px;
}

.icp-link {
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.icp-link:hover {
    color: var(--primary-color);
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile Menu --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-contact-info {
    display: none;
    padding: 20px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* News Section */
/* News Section */
.news-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    border: 1px solid transparent;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.news-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-summary {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.news-meta i {
    margin-right: 5px;
}

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

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}


/* News Detail Page */
.news-detail-container {
    padding: 120px 0 60px;
    max-width: 800px;
    margin: 0 auto;
}

.news-detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.news-detail-title {
    font-size: 32px;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-detail-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #64748b;
    font-size: 14px;
}

.news-detail-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    line-height: 1.8;
    color: #334155;
    font-size: 16px;
}

.news-detail-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

.news-detail-content p {
    margin-bottom: 20px;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .header-container {
        padding: 0 20px;
        height: 70px;
    }

    .logo-slogan {
        display: none; /* Hide slogan on tablet/mobile to save space */
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-title {
        font-size: 18px;
    }

    .mobile-menu-toggle {
        display: block;
        order: 3;
        margin-left: 15px;
    }

    .header-actions {
        margin-left: auto;
    }


    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        flex-direction: column;
        border-top: 1px solid var(--border-color);
    }

    .main-nav.active {
        max-height: 600px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 10px 0;
    }

    .main-nav ul li {
        width: 100%;
        text-align: center;
    }

    .main-nav a {
        display: block;
        padding: 15px 0;
        width: 100%;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .mobile-contact-info {
        display: flex;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-slide h1 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .header-actions .contact-info {
        display: none;
    }
    
    .carousel-slide h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        display: flex;
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand, .footer-links, .footer-contact {
        width: 100%;
        align-items: center;
    }
    
    .footer-links ul, .footer-contact ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .grid-5 {
        grid-template-columns: 1fr;
    }
}

/* News Detail Page */
.news-detail-container {
    padding-top: 120px;
    padding-bottom: 60px;
    background-color: #f8fafc;
    min-height: 80vh;
}

.news-detail-header {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    text-align: center;
}

.news-detail-title {
    font-size: 28px;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-detail-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #64748b;
    font-size: 14px;
}

.news-detail-meta span i {
    margin-right: 5px;
}

.news-detail-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    line-height: 1.8;
    color: #334155;
    font-size: 16px;
}

.news-detail-content p {
    margin-bottom: 20px;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .news-detail-container {
        padding-top: 100px;
    }
    .news-detail-title {
        font-size: 22px;
    }
    .news-detail-header, .news-detail-content {
        padding: 20px;
    }
    .news-detail-meta {
        flex-direction: column;
        gap: 10px;
    }
}
