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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafbfc;
}

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

/* Color Variables */
:root {
    --primary-red: #3538e5;         /* Main accent, light red */
    --primary-blue: #3538e5; 
    --light-red: #6085ff; 
    --light-blue: #6085ff;          /* Lighter accent */
    --dark-red: #261cb7;            /* Dark accent */
    --accent-orange: #5053ff;       /* (optional, keep or remove) */
    --text-dark: #1f2530;
    --text-light: #74787e;
    --white: #ffffff;
    --light-gray: #beb9b9;
    --border-color: #E2E8F0;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(229, 57, 53, 0.08); /* red shadow */
    border-bottom: 2px solid var(--primary-red);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    border-top: 2px solid var(--primary-red);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-red);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language switcher styles */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.lang-link {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-link:hover {
    background: var(--light-gray);
    color: var(--primary-red);
}

.lang-current {
    color: var(--primary-red);
    font-weight: 500;
}

.lang-separator {
    color: var(--text-light);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    /* Hide desktop navigation */
    .desktop-menu,
    .desktop-actions {
        display: none !important;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1002;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--text-dark);
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    /* Hamburger animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Mobile navigation overlay */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.8);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobile navigation content */
    .mobile-nav-content {
        position: absolute;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding: 2rem 0;
    }
    
    .mobile-nav-overlay.active .mobile-nav-content {
        transform: translateX(0);
    }
    
    /* Mobile language switcher */
    .mobile-language-switcher {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 1rem;
    }
    
    .mobile-lang-link,
    .mobile-lang-current {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 0;
        font-size: 1rem;
        text-decoration: none;
        color: var(--text-dark);
    }
    
    .mobile-lang-link {
        border-bottom: 1px solid var(--border-color);
        transition: all 0.3s ease;
    }
    
    .mobile-lang-link:hover {
        background: var(--light-gray);
        color: var(--primary-red);
    }
    
    .mobile-lang-current {
        font-weight: 600;
        color: var(--primary-red);
    }
    
    .lang-flag {
        font-size: 1.2rem;
    }
    
    /* Mobile navigation menu */
    .mobile-nav-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-nav-item {
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 2rem;
        color: var(--text-dark);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-link:hover {
        background: var(--light-gray);
        color: var(--primary-red);
    }
    
    .mobile-dropdown-icon {
        font-size: 1.5rem;
        font-weight: 300;
        transition: transform 0.3s ease;
    }
    
    /* Mobile dropdown menu */
    .mobile-dropdown-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        background: #f8f9fa;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .mobile-dropdown-menu.active {
        max-height: 300px;
    }
    
    .mobile-dropdown-menu li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-dropdown-menu li:last-child {
        border-bottom: none;
    }
    
    .mobile-dropdown-menu a {
        display: block;
        padding: 0.75rem 3rem;
        color: var(--text-light);
        text-decoration: none;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }
    
    .mobile-dropdown-menu a:hover {
        background: var(--white);
        color: var(--primary-red);
    }
    
    /* Mobile CTA button */
    .mobile-cta {
        padding: 2rem;
        text-align: center;
    }
    
    .mobile-contact-btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
        font-weight: 600;
    }
    
    /* Prevent body scroll when mobile menu is open */
    body.mobile-menu-open {
        overflow: hidden;
    }
    
    /* Language switcher adjustments for mobile */
    .language-switcher {
        margin-right: 0.5rem;
        font-size: 0.8rem;
    }
}

/* Desktop menu visibility */
@media (min-width: 769px) {
    .mobile-menu-toggle,
    .mobile-nav-overlay {
        display: none !important;
    }
}

/* Chinese text optimization */
html[lang="zh-CN"] .hero-title,
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3 {
    word-break: keep-all;
    overflow-wrap: break-word;
    letter-spacing: 0.02em;
}

/* Ensure proper line breaks for Chinese titles */
html[lang="zh-CN"] .hero-title {
    white-space: normal;
    line-height: 1.2;
}

/* Chinese hero buttons layout */
html[lang="zh-CN"] .hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

html[lang="zh-CN"] .hero-cta .btn {
    flex: 0 0 auto;
    min-width: 140px;
    padding: 1rem 2rem;
    font-size: 1rem;
    white-space: nowrap;
}

/* Mobile Chinese text adjustments */
@media (max-width: 768px) {
    html[lang="zh-CN"] .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    html[lang="zh-CN"] .hero-cta {
        justify-content: flex-start;
        gap: 1rem;
    }
    
    html[lang="zh-CN"] .hero-cta .btn {
        min-width: 120px;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    html[lang="zh-CN"] .hero-title {
        font-size: 2rem;
        line-height: 1.4;
    }
    
    html[lang="zh-CN"] .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    html[lang="zh-CN"] .hero-cta .btn {
        min-width: auto;
        width: 100%;
    }
}/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    color: var(--white);
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(229, 57, 53, 0.18);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-orange);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 100;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8faff 0%, #e8f4ff 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    padding-right: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--light-gray);
}

.highlight {
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-cta .btn {
    min-width: 150px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Enhanced Hero Responsive Styles */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }
    
    .hero-content {
        padding-right: 0 !important;
    }
    
    .hero-title {
        font-size: 3rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-subtitle {
        font-size: 1.2rem !important;
    }
    
    .hero-cta {
        gap: 1rem !important;
        justify-content: center !important;
    }
    
    .hero-cta .btn {
        min-width: 130px !important;
        padding: 0.9rem 2rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .hero-cta {
        flex-direction: column !important;
        gap: 0.75rem !important;
        align-items: stretch !important;
    }
    
    .hero-cta .btn {
        min-width: auto !important;
        width: 100% !important;
    }
}

.hero-visual {
    position: relative;
}

.dashboard-mockup {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

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

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mockup-logo {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.25rem;
}

.mockup-nav {
    display: flex;
    gap: 1.5rem;
}

.mockup-nav span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.mockup-content {
    display: grid;
    gap: 1rem;
}

.stat-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
}

.stat-card h3 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.chart-placeholder {
    height: 60px;
    background: linear-gradient(90deg, var(--light-blue), var(--primary-blue));
    border-radius: 4px;
    opacity: 0.7;
}

.progress-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 92%;
    background: linear-gradient(90deg, var(--light-blue), var(--primary-blue));
    border-radius: 4px;
    animation: progress 2s ease-in-out;
}

@keyframes progress {
    from { width: 0%; }
    to { width: 92%; }
}

/* Section Styles */
section {
    padding: 4rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--);
    max-width: 600px;
    margin: 0 auto;
}

/* Overview Section */
.overview {
    background: var(--white);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.overview-item {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

.overview-icon {
    margin-bottom: 1.5rem;
}

.overview-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.overview-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Solutions Preview */
.solutions-preview {
    background: var(--light-gray);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.solution-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.solution-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon.ai {
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
}

.solution-icon.automation {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
}

.solution-icon.blockchain {
    background: linear-gradient(135deg, #5f27cd, #a55eea);
}

.solution-icon.ar {
    background: linear-gradient(135deg, #00d2d3, #54a0ff);
}

.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.solution-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.solution-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.solution-visual {
    min-height: 300px;
    overflow: hidden;
}

/* Partners Section */
.partners {
    background: var(--white);
    overflow: hidden;
}

.partners-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.partners-scroll {
    display: flex;
    animation: scroll-left 20s linear infinite;
    width: fit-content;
}

.partner-logo {
    flex: 0 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 200px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.partner-logo img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Partners Subsections */
.partners-subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin: 2rem 0 1.5rem;
    position: relative;
}

.partners-subsection-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    border-radius: 2px;
}

/* Malaysia Partners - Static Grid */
.malaysia-partners {
    margin-bottom: 3rem;
    text-align: center;
}

.partners-static-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.partner-logo-static {
    height: 80px;
    opacity: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-static:hover {
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo-static img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-logo-static img:hover {
    filter: grayscale(0%);
}

/* International Partners Section */
.international-partners {
    margin-top: 2rem;
}

/* Responsive Design for Partners */
@media (max-width: 992px) {
    .partners-static-grid {
        gap: 2rem;
    }
    
    .partner-logo-static {
        height: 70px;
    }
}

@media (max-width: 768px) {
    .partners-static-grid {
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .partner-logo-static {
        height: 60px;
    }
    
    .partners-subsection-title {
        font-size: 1.3rem;
        margin: 1.5rem 0 1rem;
    }
}

@media (max-width: 576px) {
    .partners-static-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .partner-logo-static {
        height: 70px;
    }
    
    .partners-subsection-title {
        font-size: 1.2rem;
    }
}

/* Footer */
.footer {
    background: #181e22;
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--light-red);
}

.footer-description {
    margin: 1rem 0;
    color: #a0aec0;
    line-height: 1.6;
}

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

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

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--light-red);
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #a0aec0;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--light-red);
}

/* Page Hero */
.page-hero {
    position: relative;
    background: url('../images/index_carousel.jpg') center center/cover no-repeat;
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
    z-index: 1;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45); /* adjust opacity as needed */
    z-index: 2;
}
.page-hero > * {
    position: relative;
    z-index: 3;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Solutions Detailed */
.solutions-detailed {
    padding: 4rem 0;
}

.solutions-detailed.alternate {
    background: var(--light-gray);
}

.solution-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solutions-detailed.alternate .solution-detail {
    grid-template-columns: 1fr 1fr;
}

.solution-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.solution-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.solution-features {
    list-style: none;
    padding: 0;
}

.solution-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 2rem;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.visual-placeholder {
    height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
}

/* Specialties */
.specialties-grid-section {
    padding: 4rem 0;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.specialty-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.specialty-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specialty-icon.healthcare-icon {
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
}

.specialty-icon.fintech-icon {
    background: linear-gradient(135deg, #feca57, #ff9ff3);
}

.specialty-icon.industrial-icon {
    background: linear-gradient(135deg, #48dbfb, #0abde3);
}

.specialty-icon.government-icon {
    background: linear-gradient(135deg, #0be881, #00d2d3);
}

.specialty-icon.infrastructure-icon {
    background: linear-gradient(135deg, #a55eea, #fd79a8);
}

.specialty-icon.supply-chain-icon {
    background: linear-gradient(135deg, #ff7675, #74b9ff);
}

.specialty-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.specialty-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.specialty-features {
    list-style: none;
    padding: 0;
}

.specialty-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.specialty-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* Industry Stats */
.industry-stats {
    background: var(--dark-red);
    color: var(--white);
    padding: 4rem 0;
}

.industry-stats .section-header h2,
.industry-stats .section-header p {
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* About Page Styles */
.company-story {
    padding: 4rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.story-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-blue);
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-year {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-light);
}

.what-we-do {
    background: var(--light-gray);
    padding: 4rem 0;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.capability-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.capability-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.capability-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.differentiators {
    padding: 4rem 0;
}

.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.differentiator-card {
    text-align: center;
    padding: 2rem;
}

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

.differentiator-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.differentiator-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.client-benefits {
    background: var(--light-gray);
    padding: 4rem 0;
}

.benefits-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: center;
}

.benefits-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.benefit-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.vision-section {
    position: relative;
    padding: 6rem 0;
    color: #fff;
    overflow: hidden;
}

.vision-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/index_carousel2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #000000 0%, #1a1a1a 100%);
    z-index: 1;
}

.vision-section .container {
    position: relative;
    z-index: 2;
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.vision-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.vision-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.vision-content .btn-primary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Contact Styles */
.contact-section {
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-text p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Values Page */
.values-section {
    padding: 4rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon.innovation-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.value-icon.excellence-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.value-icon.collaboration-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.value-icon.integrity-icon {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.value-icon.growth-icon {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.value-icon.impact-icon {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Leadership Page */
.leadership-section {
    padding: 4rem 0;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.leader-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.leader-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}
.leader-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.leader-info h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.leader-info p {
    color: var(--text-light);
    line-height: 1.6;
}

.leadership-stats {
    background: var(--light-gray);
    padding: 4rem 0;
}

/* Header scrolled effect */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Utility Classes */
.text-center {
    text-align: center;
}
/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    overflow: hidden;
    min-height: 420px;
}
.hero-carousel-images::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.38); /* semi-transparent dark overlay */
    z-index: 1;
    pointer-events: none;
}
.hero-carousel-images {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
    z-index: 0;
}
.hero-bg.active {
    opacity: 1;
}
.hero .container, .hero-content {
    position: relative;
    z-index: 2;
}
/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Menu Panel */
    .nav-menu {
        display: block;
        position: fixed;
        top: 70px;
        right: -80%; /* Start off-screen */
        width: 80%; /* Only take up 80% of screen width */
        height: calc(100vh - 70px);
        background: white;
        padding: 20px;
        overflow-y: auto;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        right: 0; /* Slide in from right */
    }

    /* Menu Items */
    .nav-item {
        margin: 0 0 15px 0;
        text-align: left;
    }

    .nav-link {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
    }

    /* Subcategories */
    .dropdown-menu {
        display: block !important;
        position: static;
        box-shadow: none;
        border: none;
        padding: 5px 0 5px 20px; /* Indent subcategories */
        margin: 5px 0;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
    }

    .dropdown-menu a {
        padding: 8px 0;
        font-size: 1rem;
        color: #666;
    }

    /* Hide dropdown arrows */
    .dropdown-toggle::after {
        display: none;
    }

    /* Hamburger Menu */
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        transition: transform 0.3s ease;
    }

    /* Hamburger Animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Optional: Add subtle hover effect */
    .nav-menu a:hover {
        background: rgba(0,0,0,0.03);
    }
    /* Hide Contact Us button and nav actions in mobile */
    .nav-actions {
        display: none !important; /* Use !important to override any other styles */
    }
    /* Ensure mobile menu toggle is visible */
    .mobile-menu-toggle {
        display: flex;
    }
    /* Mobile Footer Fixes */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        padding: 0 1rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        margin: 0 auto;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-description {
        max-width: 100%;
        padding: 0 1rem;
    }

    .contact-info {
        text-align: center;
    }
    .story-content {
        grid-template-columns: 1fr; /* Change to single column */
        gap: 2rem;
        text-align: center;
    }

    .story-text {
        order: 1; /* Move text to top */
    }

    .story-visual {
        order: 2; /* Move timeline to bottom */
        margin: 0 auto; /* Center the timeline */
        max-width: 400px; /* Limit width on mobile */
    }

    .timeline {
        padding-left: 0; /* Remove left padding */
        margin: 2rem auto; /* Center timeline */
    }

    .timeline::before {
        display: none !important;
        left: 50%; /* Center the timeline line */
        transform: translateX(-50%);
    }

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

    .timeline-year {
        display: block;
        width: fit-content;
        margin: 0 auto 1rem;
    }

    .timeline-content {
        margin-top: 1rem;
    }
    .contact-content {
        grid-template-columns: 1fr; /* Change to single column */
        gap: 2rem;
    }
    .contact-info {
        text-align: center;
    }

    .contact-form {
        width: 100%; /* Full width */
        max-width: 500px; /* Maximum width */
        margin: 0 auto; /* Center the form */
        padding: 2rem; /* Slightly reduced padding */
    }

    .contact-details {
        align-items: center; /* Center contact details */
    }

    .contact-item {
        justify-content: center; /* Center contact items */
        text-align: center;
        flex-direction: column; /* Stack icon and text vertically */
        gap: 0.5rem;
    }

    .contact-text {
        text-align: center;
    }
    .contact-content {
        grid-template-columns: 1fr; /* Change to single column */
        gap: 2rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-form {
        width: 100%; /* Full width */
        max-width: 500px; /* Maximum width */
        margin: 0 auto; /* Center the form */
        padding: 2rem; /* Slightly reduced padding */
    }

    .contact-details {
        align-items: center; /* Center contact details */
    }

    .contact-item {
        justify-content: center; /* Center contact items */
        text-align: center;
        flex-direction: column; /* Stack icon and text vertically */
        gap: 0.5rem;
    }

    .contact-text {
        text-align: center;
    }
    .solutions-detailed .solution-detail,
    .solutions-detailed.alternate .solution-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    /* Force all solution visuals to top, including alternate sections */
    .solutions-detailed .solution-visual,
    .solutions-detailed.alternate .solution-visual {
        order: -1;
        margin: 0 auto;
        max-width: 100%;
        padding: 0 1rem;
    }

    /* Center all solution images */
    .solutions-detailed .solution-image,
    .solutions-detailed.alternate .solution-image {
        width: 100%;
        max-width: 500px;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    /* Content spacing */
    .solutions-detailed .solution-content,
    .solutions-detailed.alternate .solution-content {
        padding: 1.5rem;
    }

    /* Keep features list readable */
    .solutions-detailed .solution-features,
    .solutions-detailed.alternate .solution-features {
        text-align: left;
        max-width: 500px;
        margin: 1.5rem auto;
    }
}

/* Featured Healthcare Specialty */
.featured-specialty-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.featured-specialty-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.featured-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.featured-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}



/* Specialties Separator */
.specialties-separator {
    padding: 3rem 0;
    background: var(--primary-red);
    color: white;
    text-align: center;
}

.separator-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.separator-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Healthcare Video Carousel Styles */
.healthcare-video-carousel {
    margin: 2.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.video-carousel-container {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-slides {
    position: relative;
    width: 100%;
    height: 300px;
}

.video-slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}

.video-slide.active {
    display: block;
}

.video-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* General Video Container Styles */
.video-container {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(53, 56, 229, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.video-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(53, 56, 229, 0.25);
}

.video-container video {
    width: 100%;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: #000;
}

.video-info {
    margin-top: 1rem;
    color: white;
    text-align: left;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.video-description {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.video-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    color: white;
    padding: 2rem 1.5rem 1rem;
    font-size: 1rem;
    font-weight: 500;
}

.video-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    color: #333;
    font-size: 1.5rem;
    padding: 0.8rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-nav:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(-50%) scale(1.1);
}

.video-nav.prev {
    left: 1rem;
}

.video-nav.next {
    right: 1rem;
}

.video-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.video-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-dot.active,
.video-dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Specialties Carousel */
.specialties-carousel-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.specialties-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    height: 700px;
    perspective: 1200px;
}

.specialty-slides {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specialty-slide {
    position: absolute;
    width: 600px;
    height: 600px;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

.specialty-slide .specialty-card {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.specialty-card img {
    display: block;
    margin: 0 auto 1rem auto;
    flex-shrink: 0;
}

/* Active slide - center */
.specialty-slide.active {
    z-index: 3;
    transform: translateX(0) scale(1);
    opacity: 1;
}

/* Previous slide - left */
.specialty-slide.prev {
    z-index: 2;
    transform: translateX(-200px) scale(0.8) rotateY(20deg);
    opacity: 0.6;
}

/* Next slide - right */
.specialty-slide.next {
    z-index: 2;
    transform: translateX(200px) scale(0.8) rotateY(-20deg);
    opacity: 0.6;
}

/* Hidden slides */
.specialty-slide.hidden {
    z-index: 1;
    transform: scale(0.6);
    opacity: 0;
}

.specialty-slide.hidden.left {
    transform: translateX(-400px) scale(0.6);
}

.specialty-slide.hidden.right {
    transform: translateX(400px) scale(0.6);
}

/* Featured card (healthcare) styling - now consistent with other cards */
.specialty-card.featured-card {
    background: white;
    color: var(--text-dark);
}

.specialty-card.featured-card h3 {
    color: var(--primary-red);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.specialty-card.featured-card .specialty-description {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Regular specialty card styling */
.specialty-card h3 {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.specialty-description {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-light);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.specialty-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.specialty-features li {
    padding: 0.6rem 1rem;
    margin: 0;
    background: rgba(70, 130, 169, 0.1);
    border-radius: 15px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.specialty-features li:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-2px);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--primary-red);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--primary-red);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
}

.carousel-nav.prev {
    left: 50px;
}

.carousel-nav.next {
    right: 50px;
}

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

.carousel-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(70, 130, 169, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: scale(1.3);
}

.carousel-dot:hover {
    background: var(--primary-red);
    transform: scale(1.2);
}



/* Healthcare Video Section */
.healthcare-video-section {
    padding: 6rem 0;
    background: var(--white);
}

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

.healthcare-video-section .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

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

.healthcare-video-section .healthcare-video-carousel {
    max-width: 900px;
    margin: 0 auto;
}

.healthcare-video-section .video-carousel-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.healthcare-video-section .video-slides {
    height: 500px;
}

.healthcare-video-section .video-slide video {
    height: 500px;
    object-fit: cover;
}

.healthcare-video-section .video-caption {
    background: transparent;
    padding: 3rem 2rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Enhanced Video Container Styles */
.healthcare-video-section .video-container {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(53, 56, 229, 0.2);
    margin: 1rem 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.healthcare-video-section .video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(53, 56, 229, 0.3);
}

.healthcare-video-section .video-container video {
    width: 100%;
    border-radius: 8px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    background: #000;
}

.healthcare-video-section .video-info {
    margin-top: 1.5rem;
    color: white;
    text-align: left;
}

.healthcare-video-section .video-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.healthcare-video-section .video-description {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.healthcare-video-section .video-nav {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-red);
    font-size: 1.5rem;
    border: 2px solid var(--primary-red);
}

.healthcare-video-section .video-nav:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.healthcare-video-section .video-nav.prev {
    left: 30px;
}

.healthcare-video-section .video-nav.next {
    right: 30px;
}

.healthcare-video-section .video-indicators {
    bottom: 30px;
    gap: 12px;
}

.healthcare-video-section .video-dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.healthcare-video-section .video-dot.active,
.healthcare-video-section .video-dot:hover {
    background: white;
    border-color: white;
    transform: scale(1.3);
}

/* Mobile responsiveness for specialties carousel */
@media (max-width: 768px) {
    .specialties-carousel-section {
        padding: 4rem 0;
    }
    
    .carousel-container {
        height: 520px;
        overflow-x: auto;
        overflow-y: hidden;
        perspective: none;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .carousel-container::-webkit-scrollbar {
        display: none;
    }
    
    .specialty-slides {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: max-content;
        height: 100%;
        gap: 20px;
        padding: 0 10px;
    }
    
    .specialty-slide {
        position: relative;
        width: 300px;
        height: 480px;
        flex-shrink: 0;
        transform: none;
        opacity: 1;
        transition: none;
        scroll-snap-align: center;
    }
    
    .specialty-slide.active,
    .specialty-slide.prev,
    .specialty-slide.next,
    .specialty-slide.hidden {
        position: relative;
        transform: none;
        opacity: 1;
        z-index: 1;
    }
    
    /* Hide navigation buttons on mobile */
    .carousel-nav {
        display: none;
    }
    
    /* Hide indicators on mobile or make them smaller */
    .carousel-indicators {
        bottom: -30px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
    
    .specialty-card {
        padding: 1.5rem;
        height: 100%;
    }
    
    .specialty-card img {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 0.8rem !important;
    }
    
    .specialty-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .specialty-description {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .specialty-features {
        gap: 0.4rem;
    }
    
    .specialty-features li {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
        border-radius: 12px;
    }
    
    /* Healthcare video section mobile */
    .healthcare-video-section {
        padding: 4rem 0;
    }
    
    .healthcare-video-section .section-header h2 {
        font-size: 2rem;
    }
    
    .healthcare-video-section .section-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .healthcare-video-section .video-slides {
        height: 300px;
    }
    
    .healthcare-video-section .video-slide video {
        height: 300px;
    }
    
    .healthcare-video-section .video-caption {
        padding: 2rem 1rem 1rem;
        font-size: 1rem;
    }
    
    .healthcare-video-section .video-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .healthcare-video-section .video-nav.prev {
        left: 15px;
    }
    
    .healthcare-video-section .video-nav.next {
        right: 15px;
    }
}

/* Mobile responsiveness for featured healthcare and video carousel */
@media (max-width: 768px) {
    .featured-specialty-card {
        margin: 0 1rem;
        padding: 2rem;
    }
    
    .featured-content h2 {
        font-size: 2rem;
    }
    
    .featured-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .featured-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        text-align: center;
    }
    
    .separator-content h3 {
        font-size: 1.5rem;
    }
    
    .separator-content p {
        font-size: 1rem;
    }
    
    .video-slides {
        height: 250px;
    }
    
    .video-nav {
        font-size: 1.2rem;
        padding: 0.6rem 0.8rem;
    }
    
    .video-nav.prev {
        left: 0.5rem;
    }
    
    .video-nav.next {
        right: 0.5rem;
    }
    
    .video-caption {
        font-size: 0.9rem;
        padding: 1.5rem 1rem 0.8rem;
    }
}
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Video Container Responsive Styles */
@media (max-width: 768px) {
    .healthcare-video-section .video-container {
        padding: 1.5rem 1rem;
        margin: 0.75rem 0;
    }
    
    .healthcare-video-section .video-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .healthcare-video-section .video-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .video-container {
        padding: 1rem;
    }
    
    .video-title {
        font-size: 1.1rem;
    }
    
    .video-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .healthcare-video-section .video-container {
        padding: 1rem 0.75rem;
    }
    
    .healthcare-video-section .video-title {
        font-size: 1.1rem;
    }
    
    .healthcare-video-section .video-description {
        font-size: 0.85rem;
    }
}
