/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Disable all motion animations for accessibility */
* {
    animation: none !important;
    transition: none !important;
    animation-duration: 0s !important;
    transition-duration: 0s !important;
    animation-delay: 0s !important;
    transition-delay: 0s !important;
}

/* Disable specific animations */
.liquid-blob {
    animation: none !important;
}

.tab-content {
    animation: none !important;
}

.feature-card {
    animation: none !important;
}

.loading {
    animation: none !important;
}

.slider-wrapper {
    transition: none !important;
}

/* Disable hover animations */
*:hover {
    transform: none !important;
    transition: none !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #1b416c 0%, #9faacc 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: #333;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1;
}

/* Mobile body adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 0;
        margin-top: 0;
    }
}

/* Accessibility - Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #1b416c;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* Company Header and Logo */
.company-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    padding: 15px 0;
}

/* Mobile hamburger menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile side menu */
.mobile-side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-side-menu.open {
    right: 0;
}

.mobile-side-menu .menu-btn {
    width: 100%;
    text-align: left;
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-side-menu .menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.mobile-side-menu .menu-btn.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.logo-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1b416c 0%, #9faacc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.company-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.company-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

/* Menu buttons styling */
.menu-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 8px 16px;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.menu-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px 20px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

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

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

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.menu-btn.active {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.menu-btn span {
    margin-right: 6px;
    font-size: 1em;
}

/* Liquid container */
.liquid-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    padding-top: 120px; /* Default padding for desktop */
}

/* Mobile specific padding */
@media (max-width: 768px) {
    .liquid-container {
        padding-top: 120px; /* Back to working padding for Software Features */
        margin-top: 15px; /* Back to working margin */
    }
    
    /* Move content down inside the container */
    .glass-panel {
        margin-top: 50px; /* Back to working margin for Software Features */
    }
    
    /* Ensure the first glass panel is fully visible */
    .glass-panel:first-of-type {
        margin-top: 50px; /* Back to working margin */
        padding-top: 25px;
    }
    
    /* Additional safety for glass header */
    .glass-header {
        margin-top: 10px;
        padding-top: 10px;
    }
    
    /* Specific fixes for MLM Plan and Contact Us sections */
    .glass-panel[ng-show="activeTab === 'button2'"],
    .glass-panel[ng-show="activeTab === 'button3'"] {
        margin-top: 30px; /* Less margin for these sections */
        padding-top: 15px; /* Additional padding for content visibility */
    }
    
    /* Ensure glass panel borders are visible for all sections */
    .glass-panel {
        position: relative;
        z-index: 1;
    }
    
    .glass-panel::before {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        content: '';
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        pointer-events: none;
        z-index: 0;
    }
}

/* Animated background blobs */
.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.liquid-blob {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.blob-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.blob-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* Glass panel styles */
.glass-panel {
    background: rgba(217, 227, 234, 0.25);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(217, 227, 234, 0.3);
    box-shadow: 0 8px 32px rgba(27, 65, 108, 0.37);
    padding: 30px;
    max-width: 1400px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

/* Header styles */
.glass-header {
    text-align: center;
    margin-bottom: 30px;
}

.glass-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.glass-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

/* Navigation styles */
.glass-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* Equal width buttons for Information page */
.glass-nav .glass-btn {
    min-width: 140px;
    flex: 1;
    max-width: 200px;
    justify-content: center;
}

.glass-btn {
    background: rgba(217, 227, 234, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(217, 227, 234, 0.3);
    border-radius: 12px;
    padding: 12px 24px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

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

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

.glass-btn:hover {
    background: rgba(217, 227, 234, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.glass-btn.active {
    background: rgba(217, 227, 234, 0.4);
    border-color: rgba(217, 227, 234, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Content styles */
.glass-content {
    min-height: 400px;
}

.tab-content {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Disable tab content animation on mobile */
@media (max-width: 768px) {
    .tab-content {
        animation: none !important;
        transition: none !important;
    }
}

/* Card styles */
.glass-card {
    background: rgba(217, 227, 234, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(217, 227, 234, 0.2);
    padding: 25px;
    margin-bottom: 20px;
}

.glass-card h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.glass-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(217, 227, 234, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(217, 227, 234, 0.2);
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

/* Chart styles */
.chart-container {
    display: flex;
    align-items: end;
    justify-content: space-around;
    height: 200px;
    gap: 15px;
    margin-top: 20px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, rgba(217, 227, 234, 0.3), rgba(217, 227, 234, 0.1));
    border-radius: 8px 8px 0 0;
    position: relative;
    min-width: 60px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 5px;
}

.chart-bar:hover {
    transform: scaleY(1.05);
}

.chart-label {
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.chart-value {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Settings styles */
.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(217, 227, 234, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(217, 227, 234, 0.2);
}

.setting-item label {
    color: white;
    font-weight: 500;
}

.glass-select {
    background: rgba(217, 227, 234, 0.2);
    border: 1px solid rgba(217, 227, 234, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    color: white;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.glass-select option {
    background: #1b416c;
    color: white;
}

.glass-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #1b416c;
}

.glass-slider {
    width: 100px;
    height: 6px;
    background: rgba(217, 227, 234, 0.2);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.glass-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Floating action button */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.glass-fab {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

.glass-fab:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.5);
}

/* Toast notification */
.glass-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    color: white;
    font-weight: 500;
    z-index: 1001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

.glass-toast.show {
    transform: translateX(0);
}

/* Responsive design */
@media (max-width: 768px) {
    .liquid-container {
        padding: 10px;
    }
    
    .glass-panel {
        padding: 20px;
    }
    
    .glass-title {
        font-size: 2rem;
    }
    
    .glass-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-container {
        flex-direction: column;
        height: auto;
        align-items: stretch;
    }
    
    .chart-bar {
        height: 60px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }
    
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .fab-container {
        bottom: 20px;
        right: 20px;
    }
    
    .glass-fab {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
} 

/* Footer styles */
.glass-footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    margin-top: 40px;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: white;
    text-decoration: underline;
}

/* Footer Button Styles */
.footer-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 6px;
    font-family: inherit;
}

.footer-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.footer-btn:active {
    transform: translateY(0);
}

/* Footer Modal Styles */
.footer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    padding-top: 50px;
    animation: fadeIn 0.3s ease;
    pointer-events: auto;
    overflow-y: auto;
}

.footer-modal-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    max-width: 800px;
    width: 100%;
    max-height: 70vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
    z-index: 10000;
    pointer-events: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-section h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.modal-section > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-100px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile responsive for footer modal */
@media (max-width: 768px) {
    .footer-modal {
        padding: 10px;
        padding-top: 20px;
    }
    
    .footer-modal-content {
        padding: 20px;
        max-height: 80vh;
        margin: 10px;
    }
    
    .modal-section h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .modal-section > p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .modal-close-btn {
        top: 10px;
        right: 15px;
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
}



/* Back Button Styles */
.back-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 12px 24px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-2px);
}

.back-btn span {
    margin-right: 8px;
    font-size: 1.2em;
}

/* Case Study Styles */
.case-study {
    background: rgba(217, 227, 234, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(217, 227, 234, 0.2);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.case-study:hover {
    background: rgba(217, 227, 234, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.case-study-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.case-study-icon {
    font-size: 3rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.case-study-title h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.case-study-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.case-study-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.case-study-stats .stat-item {
    background: rgba(217, 227, 234, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(217, 227, 234, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.case-study-stats .stat-item:hover {
    background: rgba(217, 227, 234, 0.15);
    transform: scale(1.05);
}

.case-study-stats .stat-number {
    display: block;
    color: #e4e4fb;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.case-study-stats .stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.case-study-details h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.case-study-details p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.implementation-guide {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.implementation-guide h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Mobile responsive for case studies */
@media (max-width: 768px) {
    .case-study-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .case-study-icon {
        font-size: 2.5rem;
    }
    
    .case-study-title h3 {
        font-size: 1.5rem;
    }
    
    .case-study-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .case-study-stats .stat-item {
        padding: 15px;
    }
    
    .case-study-stats .stat-number {
        font-size: 1.8rem;
    }
    
    .case-study-details h4 {
        font-size: 1.2rem;
    }
    
    .case-study-details p {
        font-size: 0.95rem;
    }
}

/* Footer modal content layout - single column instead of grid */
.footer-modal .content-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-modal .content-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.footer-modal .content-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.footer-modal .content-item h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.footer-modal .content-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Ensure modal appears above all other elements */
.footer-modal,
.footer-modal * {
    z-index: 9999 !important;
}

.footer-modal-content {
    z-index: 10000 !important;
}

/* Help text styles */
.help-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
    font-style: italic;
}

/* Features list styles */
.features-list {
    list-style: none;
    margin-top: 20px;
}

.features-list li {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* Speed display styles */
.speed-display {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-left: 10px;
}

/* Enhanced button styles with icons */
.glass-btn span {
    margin-right: 8px;
    font-size: 1.1em;
}

/* Improved focus styles for accessibility */
.glass-btn:focus,
.glass-fab:focus,
.glass-select:focus,
.glass-checkbox:focus,
.glass-slider:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Enhanced form styles */
.settings-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.setting-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.setting-item label {
    color: white;
    font-weight: 500;
    font-size: 1rem;
}

/* Content grid styles for new buttons */
.content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 20px;
}

/* Contact section specific grid - centers 3 items */
.contact-section .content-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive grid breakpoints */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .contact-section .content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .contact-section .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-section .content-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation for feature cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(var(--card-index, 0) * 0.1s);
}

.feature-card:nth-child(1) { --card-index: 1; }
.feature-card:nth-child(2) { --card-index: 2; }
.feature-card:nth-child(3) { --card-index: 3; }
.feature-card:nth-child(4) { --card-index: 4; }
.feature-card:nth-child(5) { --card-index: 5; }
.feature-card:nth-child(6) { --card-index: 6; }
.feature-card:nth-child(7) { --card-index: 7; }
.feature-card:nth-child(8) { --card-index: 8; }

.content-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Feature card specific styles */
.feature-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 25px;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-stats {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.stat-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.content-item h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.content-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
    }
    
    .features-list li {
        padding-left: 20px;
    }
    
    .glass-btn span {
        margin-right: 5px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px;
        margin: 0;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .feature-stats {
        gap: 6px;
        margin-top: 12px;
    }
    
    .stat-badge {
        padding: 3px 10px;
        font-size: 0.7rem;
    }
    
    .glass-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .glass-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Mobile responsive for top menu bar */
    .top-menu-bar {
        padding: 5px 0;
    }
    
    .menu-container {
        flex-direction: column;
        gap: 8px;
        padding: 0 10px;
    }
    
    .menu-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    /* Mobile keeps default padding-top: 80px */
    
    /* Mobile responsive for company header */
    .company-header {
        padding: 10px 0;
    }
    
    .logo-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 15px;
    }
    
    .logo-section {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .company-name {
        font-size: 1.2rem;
    }
    
    .company-tagline {
        font-size: 0.7rem;
    }
    
    /* Hide desktop menu buttons on mobile, but show back button */
    .menu-buttons {
        display: none;
    }
    
    /* Show back button on mobile */
    .back-btn {
        display: block !important;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        padding: 10px 15px !important;
        border-radius: 25px !important;
        font-size: 0.9rem !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }
    
    .back-btn:hover {
        background: rgba(255, 255, 255, 0.3) !important;
        transform: translateX(-2px) !important;
    }
    
    /* Show hamburger menu on mobile */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Mobile styles for content navigation buttons */
    .glass-nav {
        flex-direction: row;
        gap: 8px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .glass-btn {
        width: calc(50% - 4px);
        min-width: 120px;
        max-width: 150px;
        padding: 12px 8px;
        font-size: 0.85rem;
        text-align: center;
    }
    
    /* Mobile glass panel adjustments for better visibility */
    .glass-panel {
        margin: 10px;
        padding: 15px;
        position: relative;
        z-index: 1;
        /* Removed max-height and overflow to show all content without scrollbar */
    }
    
    .glass-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
        margin-top: 0;
        padding-top: 5px;
        line-height: 1.2;
    }
    
    .glass-subtitle {
        font-size: 0.85rem;
    }
    
    .glass-card {
        padding: 15px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .content-item {
        padding: 15px;
    }
}

/* Tablet styles for two buttons per row */
@media (min-width: 481px) and (max-width: 768px) {
    .glass-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .glass-btn {
        width: calc(50% - 5px);
        min-width: 140px;
        max-width: 180px;
        padding: 12px 10px;
        font-size: 0.9rem;
        text-align: center;
    }
}

/* Image Slider Styles */
.image-slider-container {
    position: relative;
    margin: 30px 0;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 350px; /* Reduced height for better desktop fit */
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.slider-btn:active {
    transform: scale(0.95);
}

.image-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.image-slider:active {
    cursor: grabbing;
}

.image-slider * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    width: calc(100% * 2); /* Width for 6 slides */
}

.slide {
    flex: 0 0 calc(100% / 3); /* Show 3 slides at once on desktop */
    padding: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    min-width: calc(100% / 3); /* Ensure minimum width */
}

.slide.active {
    transform: scale(1.05);
}

.slide-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    aspect-ratio: 3/2; /* More balanced aspect ratio for desktop */
}

.slide-image img {
    width: 100%;
    height: 200px; /* Smaller height for better desktop fit */
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.slide:hover .slide-image img {
    transform: scale(1.05);
}

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

.slide-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 0 20px;
}

.indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.indicator.active {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Mobile responsive adjustments for slider */
@media (max-width: 768px) {
    .image-slider-container {
        margin: 15px 0;
        min-height: 200px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.25);
    }
    
    .slide {
        flex: 0 0 100%; /* Show 1 slide on mobile */
        min-width: 100%; /* Ensure full width on mobile */
        padding: 10px;
    }
    
    .slider-track {
        width: calc(100% * 6); /* Width for 6 slides */
    }
    
    .slider-controls {
        padding: 0 15px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .slider-btn:hover {
        background: rgba(255, 255, 255, 0.35);
        transform: scale(1.05);
    }
    
    .slider-btn:active {
        transform: scale(0.95);
    }
    
    .slide-indicators {
        gap: 8px;
        margin-top: 12px;
        padding: 0 15px;
    }
    
    .indicator {
        width: 30px;
        height: 30px;
        font-size: 12px;
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    }
    
    .indicator:hover {
        background: rgba(255, 255, 255, 0.35);
        transform: scale(1.05);
    }
    
    .indicator.active {
        background: rgba(255, 255, 255, 0.5);
        border-color: rgba(255, 255, 255, 0.8);
        transform: scale(1.1);
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    }
    
    .slide-content h3 {
        font-size: 1.1rem;
        margin-bottom: 6px;
        font-weight: 700;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    }
    
    .slide-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        opacity: 0.95;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    }
    
    .slide-image {
        margin-bottom: 12px;
        border-radius: 10px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }
    
    .slide-image img {
        height: 140px; /* Much smaller height for mobile */
        border-radius: 10px;
    }
    
    .slide-content {
        text-align: center;
        padding: 0 5px;
    }
    
    /* Improve touch targets */
    .image-slider {
        touch-action: pan-y pinch-zoom;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Add swipe hint */
    .image-slider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 10px;
        right: 10px;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transform: translateY(-50%);
        z-index: 1;
        pointer-events: none;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .slide {
        flex: 0 0 calc(100% / 2); /* Show 2 slides on tablet */
        min-width: calc(100% / 2); /* Ensure minimum width on tablet */
        padding: 12px;
    }
    
    .slider-track {
        width: calc(100% * 3); /* Width for 6 slides */
    }
    
    .slide-image img {
        height: 220px; /* Medium height for tablet */
    }
}

/* Simple Slider Styles */
.simple-slider-section {
    margin: 30px 0;
}

.simple-slider {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.current-slide {
    text-align: center;
    margin-bottom: 30px;
}

.main-image {
    max-width: 100%;
    max-height: 500px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.slide-info h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.slide-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

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

.slide-counter {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.thumbnail-nav {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: rgba(255, 255, 255, 0.8);
    opacity: 1;
    transform: scale(1.1);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Responsive for Simple Slider */
@media (max-width: 768px) {
    .simple-slider {
        padding: 20px;
        margin: 0;
    }
    
    .main-image {
        max-height: 300px;
    }
    
    .slide-info h3 {
        font-size: 1.4rem;
    }
    
    .slide-info p {
        font-size: 0.9rem;
    }
    
    .slider-controls {
        gap: 15px;
    }
    
    .control-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .slide-counter {
        font-size: 1rem;
        padding: 8px 15px;
    }
    
    .thumbnail-nav {
        gap: 10px;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
}

/* Tablet Responsive for New Slider */
@media (min-width: 769px) and (max-width: 1024px) {
    .slide-image {
        max-height: 400px;
    }
    
    .sub-boxes-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .sub-box-image {
        height: 110px;
    }
}

/* Citation Section Styles */
.citation-section {
    margin-top: 40px;
}

.citation-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.citation-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.citation-intro {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}

.citation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.citation-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.citation-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.citation-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.citation-content {
    flex: 1;
}

.citation-content h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.citation-url {
    margin-bottom: 10px;
}

.citation-url a {
    color: #4fc3f7;
    text-decoration: none;
    font-size: 0.9rem;
    word-break: break-all;
    transition: color 0.3s ease;
}

.citation-url a:hover {
    color: #81d4fa;
    text-decoration: underline;
}

.citation-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

.citation-note {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.citation-note p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Mobile Responsive for Citation Section */
@media (max-width: 768px) {
    .citation-section {
        margin-top: 30px;
    }
    
    .citation-card {
        padding: 20px;
        border-radius: 15px;
    }
    
    .citation-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .citation-intro {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .citation-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .citation-item {
        padding: 15px;
        border-radius: 12px;
    }
    
    .citation-icon {
        font-size: 1.5rem;
    }
    
    .citation-content h4 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .citation-url a {
        font-size: 0.8rem;
    }
    
    .citation-description {
        font-size: 0.8rem;
    }
    
    .citation-note {
        padding: 12px;
        border-radius: 8px;
    }
    
    .citation-note p {
        font-size: 0.8rem;
    }
}

/* Tablet Responsive for Citation Section */
@media (min-width: 769px) and (max-width: 1024px) {
    .citation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .citation-item {
        padding: 18px;
    }
    
    .citation-icon {
        font-size: 1.8rem;
    }
}

/* KPDN Information Section Styles */
.kpdn-info-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.kpdn-info-section h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kpdn-intro {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 500;
}

.marketing-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.plan-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.plan-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.plan-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.plan-header h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.plan-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-content li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.plan-content li:before {
    content: "•";
    color: #4fc3f7;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.plan-content li:last-child {
    margin-bottom: 0;
}

.kpdn-source {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin-top: 20px;
}

.kpdn-source p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.kpdn-source a {
    color: #4fc3f7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.kpdn-source a:hover {
    color: #81d4fa;
    text-decoration: underline;
}

/* Mobile Responsive for KPDN Section */
@media (max-width: 768px) {
    .kpdn-info-section {
        margin-top: 25px;
        padding-top: 20px;
    }
    
    .kpdn-info-section h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .kpdn-intro {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .marketing-plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .plan-card {
        padding: 15px;
        border-radius: 12px;
    }
    
    .plan-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    
    .plan-icon {
        font-size: 1.5rem;
    }
    
    .plan-header h4 {
        font-size: 1rem;
    }
    
    .plan-content li {
        font-size: 0.8rem;
        margin-bottom: 10px;
        padding-left: 18px;
    }
    
    .kpdn-source {
        padding: 12px;
        border-radius: 8px;
        margin-top: 15px;
    }
    
    .kpdn-source p {
        font-size: 0.8rem;
    }
}

/* Tablet Responsive for KPDN Section */
@media (min-width: 769px) and (max-width: 1024px) {
    .marketing-plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .plan-card {
        padding: 18px;
    }
    
    .plan-icon {
        font-size: 1.6rem;
    }
    
    .plan-header h4 {
        font-size: 1rem;
    }
}

/* WhatsApp Floating Button Styles */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover .whatsapp-icon::before {
    opacity: 1;
}

.whatsapp-float:hover .whatsapp-icon {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    transform: translateY(-2px);
}

.whatsapp-icon svg {
    width: 32px;
    height: 32px;
    color: white;
    z-index: 1;
    position: relative;
}

/* Pulse animation for WhatsApp button */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-icon {
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover .whatsapp-icon {
    animation: none;
}

/* Mobile Responsive for WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-icon {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon svg {
        width: 28px;
        height: 28px;
    }
}

/* Tablet Responsive for WhatsApp Button */
@media (min-width: 769px) and (max-width: 1024px) {
    .whatsapp-float {
        bottom: 25px;
        right: 25px;
    }
    
    .whatsapp-icon {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* Accessibility improvements for WhatsApp button */
.whatsapp-float:focus-within {
    outline: 2px solid #25d366;
    outline-offset: 2px;
    border-radius: 50%;
}

.whatsapp-float:focus-within .whatsapp-icon {
    animation: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .whatsapp-icon {
        border: 2px solid white;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-icon {
        animation: none;
    }
    
    .whatsapp-float:hover .whatsapp-icon {
        transform: none;
    }
}

/* Inline WhatsApp icon styles */
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-link:hover {
    transform: scale(1.1);
}

.whatsapp-icon-inline {
    width: 20px;
    height: 20px;
    color: #25D366;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.whatsapp-link:hover .whatsapp-icon-inline {
    color: #128C7E;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

/* Responsive adjustments for inline WhatsApp icon */
@media (max-width: 768px) {
    .whatsapp-icon-inline {
        width: 18px;
        height: 18px;
    }
    
    .whatsapp-link {
        margin-left: 6px;
    }
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #333;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: rgba(51, 51, 51, 0.7);
    font-weight: 400;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.contact-form button[type="submit"],
.contact-form .submit-btn {
    width: 100%;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #1b416c 0%, #9faacc 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-form button[type="submit"]:hover,
.contact-form .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #0f2a4a 0%, #7a8ba8 100%);
}

.contact-form button[type="submit"]:active,
.contact-form .submit-btn:active {
    transform: translateY(-1px);
}

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

/* Validation styles */
.validation {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
    min-height: 20px;
    display: block;
}

.validation:empty {
    display: none;
}

.form-control.error {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.form-control.success {
    border-color: #51cf66;
    background: rgba(81, 207, 102, 0.1);
}

/* Mobile responsive styles for contact form */
@media (max-width: 768px) {
    .contact-form {
        max-width: 100%;
        margin: 20px 15px;
        padding: 20px;
    }
    
    .form-control {
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .contact-form button[type="submit"],
    .contact-form .submit-btn {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    textarea.form-control {
        min-height: 100px;
    }
}

/* Tablet responsive styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .contact-form {
        max-width: 500px;
        margin: 25px auto;
        padding: 25px;
    }
}

/* Success and error message styles */
#sendmessage {
    color: #51cf66;
    background: rgba(81, 207, 102, 0.1);
    border: 1px solid rgba(81, 207, 102, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    display: none; /* Hidden by default */
}

#sendmessage:not(:empty) {
    display: block; /* Show only when has content */
}

#errormessage {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    display: none; /* Hidden by default */
}

#errormessage:not(:empty) {
    display: block; /* Show only when has content */
}