/* ===== BOOTSTRAP 5 CUSTOM STYLES FOR VSEC WEBSITE ===== */

.hero-title {
    font-family: 'Be Vietnam Pro', Arial, Helvetica, sans-serif !important;
    font-weight: 900;
    letter-spacing: -1px;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,0,1;wght@300;400;500;700;900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #003366;
    --secondary-color: #1A73E8;
    --accent-color: #CC0000;
    --text-color: #333333;
    --text-light: #666666;
    --white-color: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-section: #F5F7FA;
    --border-color: #E5E8ED;
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, #FF4444 100%);
    /* Typography */
    --font-family: 'Roboto', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 1rem;
    /* Shadows */
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.2);
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ===== LOADING ANIMATION ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #003366 0%, #1A73E8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.loader-text {
    font-size: 1.2rem;
    font-weight: 500;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== BOOTSTRAP 5 CUSTOM STYLES FOR VSEC WEBSITE ===== */
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,0,1;wght@300;400;500;700;900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #003366;
    --secondary-color: #1A73E8;
    --accent-color: #CC0000;
    --text-color: #333333;
    --text-light: #666666;
    --white-color: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-section: #F5F7FA;
    --border-color: #E5E8ED;
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, #FF4444 100%);
    /* Typography */
    --font-family: 'Roboto', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 1rem;
    /* Shadows */
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.2);
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ===== ANIMATION KEYFRAMES DISABLED ===== */
/* All keyframe animations disabled to prevent text display issues */
/*
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
*/

/* All remaining keyframes disabled */
/*
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(26, 115, 232, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(26, 115, 232, 0.6);
    }
}

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

    100% {
        background-position: 200% 0;
    }
}
*/
/* ===== ANIMATION CLASSES DISABLED ===== */
/* All animations disabled to prevent text display issues */
.fade-in,
.slide-in-left,
.slide-in-right,
.scale-in,
.section-title,
.section-subtitle,
.service-card,
.advantage-card,
.customer-card,
.vision-card,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
a,
.service-icon,
.advantage-icon,
.customer-icon,
.vision-icon {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    visibility: visible !important;
}

/* Remove all animation-related classes */
.fade-in.js-enabled,
.slide-in-left.js-enabled,
.slide-in-right.js-enabled,
.scale-in.js-enabled {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

/* Remove all staggered animations */
.slide-up,
.fade-in:nth-child(1),
.fade-in:nth-child(2),
.fade-in:nth-child(3),
.fade-in:nth-child(4) {
    opacity: 1 !important;
    animation: none !important;
    animation-delay: 0s !important;
}

.fade-in:nth-child(5) {
    animation-delay: 0.5s;
}

.fade-in:nth-child(6) {
    animation-delay: 0.6s;
}

.scale-in:nth-child(1) {
    animation-delay: 0.1s;
}

.scale-in:nth-child(2) {
    animation-delay: 0.2s;
}

.scale-in:nth-child(3) {
    animation-delay: 0.3s;
}

.scale-in:nth-child(4) {
    animation-delay: 0.4s;
}

.scale-in:nth-child(5) {
    animation-delay: 0.5s;
}

/* Intersection Observer Animation States */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== CUSTOM BOOTSTRAP OVERRIDES ===== */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    font-weight: var(--font-weight-medium);
    border-radius: 50px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-medium);
    background: var(--gradient-primary);
    filter: brightness(1.1);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    font-weight: var(--font-weight-medium);
    border-radius: 50px;
    transition: var(--transition-normal);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--gradient-accent);
    border: none;
    color: white;
    padding: 12px 30px;
    font-weight: var(--font-weight-medium);
    border-radius: 50px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

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

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

.btn-accent:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-medium);
    filter: brightness(1.1);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    filter: brightness(1.1);
    color: white;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: var(--transition-normal);
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: var(--font-weight-medium);
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 25px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(0, 51, 102, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./images/warehouse-bg.jpg') center/cover;
    opacity: 0.1;
    z-index: -1;
}

.hero-content {
    color: white;
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-black);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: var(--font-weight-light);
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-desc-main {
    display: block;
    font-weight: var(--font-weight-medium);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.hero-desc-sub {
    font-size: 1.05rem;
    margin-bottom: 3rem;
    opacity: 0.85;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-desc-highlight {
    display: block;
    font-weight: var(--font-weight-normal);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons .btn {
    margin: 0.5rem;
    font-size: 1.1rem;
    padding: 15px 35px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: var(--transition-normal);
}

.scroll-indicator:hover {
    color: var(--accent-color);
    transform: translateX(-50%) scale(1.1);
}

.scroll-indicator i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition-normal);
}

.scroll-indicator:hover i {
    animation: bounce 1s infinite;
}

/* ===== ECOSYSTEM SECTION ===== */
.ecosystem-section {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.ecosystem-background {
    background: linear-gradient(135deg,
            rgba(0, 51, 102, 0.9) 0%,
            rgba(26, 115, 232, 0.8) 100%), url('./images/HST.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 5rem 0;
    position: relative;
}

.ecosystem-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 102, 0.1);
    z-index: 1;
}

.ecosystem-background .container {
    position: relative;
    z-index: 2;
}

.ecosystem-content {
    color: white;
}

.ecosystem-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: white;
    margin-bottom: 1.5rem;
}

.ecosystem-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.ecosystem-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.feature-item i {
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature-item span {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.ecosystem-mission {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ecosystem-mission h4 {
    color: white;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.ecosystem-mission p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 0;
}

.ecosystem-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-strong);
}

/* ===== SECTION STYLES ===== */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-bg {
    background: var(--bg-section);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about-stats {
    background: white;
    padding: 3rem 0;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: var(--font-weight-black);
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: var(--font-weight-medium);
    margin-top: 0.5rem;
}

.about-content {
    padding: 2rem 0;
}

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

.highlight-text {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

.about-heading {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

/* ===== STRATEGY SECTION ===== */
.strategy-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.strategy-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.strategy-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--secondary-color);
}

.strategy-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-normal);
}

.strategy-card:hover .strategy-icon {
    transform: scale(1.1);
}

.strategy-icon i {
    font-size: 1.8rem;
    color: white;
}

.strategy-card h4 {
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

/* ===== SERVICES SECTION ===== */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
    transform-origin: left;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.02) 0%, rgba(26, 115, 232, 0.02) 100%);
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    animation: pulse 2s infinite;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
}

.service-description ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.service-description ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.service-description ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ===== ADVANTAGES SECTION ===== */
.advantage-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-normal);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
}

.advantage-icon i {
    font-size: 2rem;
    color: white;
}

.advantage-title {
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===== CUSTOMERS SECTION ===== */
.customer-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
    height: 100%;
    border-left: 4px solid transparent;
}

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

.customer-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-normal);
}

.customer-card:hover .customer-icon {
    transform: scale(1.1);
}

.customer-icon i {
    font-size: 2.5rem;
    color: white;
}

.customer-title {
    font-size: 1.4rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===== VISION SECTION ===== */
.vision-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

.vision-card.mission::before {
    background: var(--gradient-accent);
}

.vision-card.values::before {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.vision-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: var(--transition-normal);
}

.vision-card.mission .vision-icon {
    background: var(--gradient-accent);
}

.vision-card.values .vision-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.vision-card:hover .vision-icon {
    transform: scale(1.1) rotateY(360deg);
}

.vision-icon i {
    font-size: 3rem;
    color: white;
}

.vision-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.vision-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.vision-description ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.vision-description ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.vision-description ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ===== ESG SECTION ===== */
.esg-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-medium);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.esg-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.esg-description .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.esg-description .text-highlight {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.05) 0%, rgba(26, 115, 232, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--gradient-primary);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: var(--accent-color);
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition-normal);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
    text-align: center;
    color: var(--accent-color);
}

.contact-item-content h5 {
    margin-bottom: 0.25rem;
    font-weight: var(--font-weight-bold);
}

.contact-item-content p {
    margin: 0;
    opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--accent-color);
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translate3d(-50%, 0, 0);
    }

    40%,
    43% {
        transform: translate3d(-50%, -20px, 0);
    }

    70% {
        transform: translate3d(-50%, -10px, 0);
    }

    90% {
        transform: translate3d(-50%, -4px, 0);
    }
}

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== MOBILE CONTENT VISIBILITY FIX ===== */
@media (max-width: 991.98px) {

    /* Critical: Force all content to be visible on mobile/tablets */
    .fade-in,
    .slide-in-left,
    .slide-in-right,
    .scale-in,
    .section-title,
    .section-subtitle,
    .service-card,
    .advantage-card,
    .customer-card,
    .vision-card,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    span,
    div,
    a,
    .section,
    .container,
    .row,
    .col,
    [class*="col-"] {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }

    /* Disable animations on mobile for better performance and visibility */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991.98px) {

    /* Ensure content is always visible on tablets and mobile */
    .fade-in,
    .slide-in-left,
    .slide-in-right,
    .scale-in {
        opacity: 1 !important;
        transform: none !important;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .navbar-nav .nav-link {
        text-align: center;
        padding: 0.75rem 1rem !important;
    }
}

@media (max-width: 767.98px) {

    /* Force content visibility on mobile */
    .fade-in,
    .slide-in-left,
    .slide-in-right,
    .scale-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    :root {
        --section-padding: 3rem 0;
    }

    .hero {
        min-height: 80vh;
        text-align: center;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card,
    .advantage-card,
    .customer-card {
        margin-bottom: 2rem;
    }

    .vision-card {
        margin-bottom: 2rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
}

@media (max-width: 575.98px) {

    /* Ensure all content is visible on small mobile devices */
    .fade-in,
    .slide-in-left,
    .slide-in-right,
    .scale-in,
    .section-title,
    .section-subtitle,
    .service-card,
    .advantage-card,
    .customer-card,
    .vision-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        visibility: visible !important;
    }

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

    .section-title {
        font-size: 1.6rem;
    }

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

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
        --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.5);
    }
}

/* Print styles */
@media print {

    .header,
    .scroll-top,
    .hero-buttons {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }
}

/* ===== CONTACT MODAL STYLES ===== */
/* Custom modal backdrop with more transparency */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.3) !important;
}

.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-strong);
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    padding: 1.5rem 2rem;
}

.modal-title {
    font-weight: var(--font-weight-bold);
    font-size: 1.3rem;
}

.btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 2rem;
}

.contact-info-modal h6 {
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
}

.contact-item-modal {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-item-modal:last-child {
    border-bottom: none;
}

.contact-item-modal i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-item-modal .contact-item-content {
    flex: 1;
}

.contact-item-modal strong {
    color: var(--text-color);
    font-weight: var(--font-weight-medium);
    display: block;
    margin-bottom: 0.25rem;
}

.contact-actions h6 {
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
}

.contact-actions .btn {
    font-weight: var(--font-weight-medium);
    border-radius: 10px;
    padding: 12px 20px;
    transition: all var(--transition-normal);
}

.contact-actions .btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.contact-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.contact-actions .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.contact-actions .btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.contact-actions .btn-success {
    background: linear-gradient(135deg, #0084ff 0%, #0066cc 100%);
    border: none;
}

.contact-actions .btn-success:hover {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.modal-footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 15px 15px;
    padding: 1rem 2rem;
    text-align: center;
}

.modal-footer .text-muted {
    margin: 0;
    font-size: 0.9rem;
}

/* Modal animation */
.modal.fade .modal-dialog {
    transform: translate(0, -50px);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: translate(0, 0);
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-header {
        padding: 1.25rem 1.5rem;
    }

    .modal-footer {
        padding: 1rem 1.5rem;
    }

    .contact-actions .btn {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
}