/*
Theme Name: Appcase Inc.
Description: A custom WordPress theme for Appcase Inc. - Software Development Company
Author: Sean Arlex Saez (CHOCOSZ)
Author URI: https://saezojtportfolio.netlify.app/
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: appcase
Tags: custom-colors, custom-logo, featured-images, full-site-editing, block-patterns, translation-ready, blog, portfolio, business, tech
*/

:root {
    --primary-dark: #0f0f19;
    --secondary-dark: #1a2337;
    --accent-blue: #2c5aa0;
    --light-blue: #4169e1;
    --purple-accent: #6366f1;
    --gradient-primary: linear-gradient(135deg, #4169e1 0%, #6366f1 50%, #2c5aa0 100%);
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-gray: #6c757d;
    --transition: all 0.3s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --shadow-glow: 0 0 30px rgba(65, 105, 225, 0.15);
    --shadow-deep: 0 20px 40px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Portfolio Section Base Styles */
.portfolio-carousel-section {
    margin: 40px 0 0 0;
    padding: 60px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.portfolio-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.portfolio-header .portfolio-section-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    color: rgba(59, 130, 246, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.portfolio-header .portfolio-section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.8s;
}

.portfolio-header .portfolio-section-badge:hover::before {
    left: 100%;
}

.portfolio-header .portfolio-section-badge:hover {
    border-color: rgba(59, 130, 246, 0.5);
    color: rgba(96, 165, 250, 1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.portfolio-badge-text {
    position: relative;
    z-index: 2;
}

.portfolio-carousel-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.portfolio-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Portfolio Carousel Wrapper */
.portfolio-carousel-wrapper.enhanced {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Main Display Area */
.portfolio-main-display {
    position: relative;
    margin-bottom: 40px;
}

.portfolio-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    background: #0f172a;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.portfolio-carousel-track {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.portfolio-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.portfolio-carousel-item.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.portfolio-carousel-item.prev {
    transform: translateX(-100%);
}

.portfolio-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
    background: #0f172a;
}

.portfolio-carousel-item:hover img {
    transform: none;
}

/* Portfolio Overlay - Removed for cleaner design */
.portfolio-overlay {
    display: none;
}

/* Navigation Arrows */
.portfolio-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(20px);
    font-size: 1.1rem;
    width: 50px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.portfolio-nav-arrow.prev {
    left: -80px;
}

.portfolio-nav-arrow.next {
    right: -80px;
}

.portfolio-nav-arrow:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #60a5fa;
    transform: translateY(-50%) translateX(5px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.2);
}

.portfolio-nav-arrow.prev:hover {
    transform: translateY(-50%) translateX(-5px);
}

.portfolio-nav-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* Image Counter */
.portfolio-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    backdrop-filter: blur(20px);
    z-index: 5;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
}

.current-number {
    font-size: 1.1rem;
    color: #60a5fa;
    font-weight: 700;
}

.separator {
    margin: 0 8px;
    opacity: 0.7;
    font-weight: 400;
}

.total-number {
    opacity: 0.8;
    font-weight: 500;
}

/* Auto-play Controls */
.portfolio-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 5;
}

.autoplay-btn {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.autoplay-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #60a5fa;
    transform: scale(1.05);
}

/* Thumbnail Navigation */
.portfolio-thumbnails {
    position: relative;
    margin-bottom: 30px;
}

.thumbnail-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.thumbnail-track::-webkit-scrollbar {
    display: none;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: #0f172a;
}

.thumbnail-item.active {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    background: #0f172a;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.thumbnail-item.active .thumbnail-overlay {
    background: rgba(59, 130, 246, 0.1);
}

.thumbnail-item:hover .thumbnail-overlay {
    background: rgba(59, 130, 246, 0.05);
}

/* Thumbnail Scroll Buttons */
.thumbnail-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.thumbnail-scroll-btn.left {
    left: -18px;
}

.thumbnail-scroll-btn.right {
    right: -18px;
}

.thumbnail-scroll-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #60a5fa;
    transform: translateY(-50%) scale(1.05);
}

/* Pagination Dots */
.portfolio-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: #3b82f6;
    transform: scale(1.25);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.pagination-dot:hover {
    background: rgba(59, 130, 246, 0.6);
    transform: scale(1.1);
}

/* Fullscreen Modal */
.portfolio-fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.portfolio-fullscreen-modal.active {
    display: flex;
}

.fullscreen-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fullscreen-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
}

.fullscreen-close:hover {
    transform: scale(1.2);
}

.fullscreen-image-container {
    position: relative;
    max-width: 100%;
    max-height: 80vh;
}

.fullscreen-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.fullscreen-nav.prev {
    left: -70px;
}

.fullscreen-nav.next {
    right: -70px;
}

.fullscreen-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.fullscreen-info {
    text-align: center;
    color: white;
    margin-top: 20px;
}

.fullscreen-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.fullscreen-info p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .portfolio-carousel-track {
        height: 400px;
    }
    
    .thumbnail-item {
        width: 100px;
        height: 65px;
    }
    
    .portfolio-nav-arrow {
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .portfolio-carousel-title {
        font-size: 2rem;
    }
    
    .portfolio-carousel-track {
        height: 300px;
    }
    
    .portfolio-nav-arrow {
        padding: 15px;
        width: 45px;
        height: 70px;
        font-size: 1rem;
    }
    
    .portfolio-nav-arrow.prev {
        left: -60px;
    }
    
    .portfolio-nav-arrow.next {
        right: -60px;
    }
    
    .thumbnail-item {
        width: 80px;
        height: 50px;
    }
    
    .portfolio-counter {
        top: 15px;
        right: 15px;
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .portfolio-main-display {
        margin: 0 60px 40px 60px;
    }
}

@media (max-width: 480px) {
    .portfolio-carousel-section {
        padding: 40px 0 60px 0;
    }
    
    .portfolio-carousel-track {
        height: 250px;
    }
    
    .portfolio-nav-arrow {
        padding: 12px;
        width: 40px;
        height: 60px;
        font-size: 0.9rem;
    }
    
    .portfolio-nav-arrow.prev {
        left: -50px;
    }
    
    .portfolio-nav-arrow.next {
        right: -50px;
    }
    
    .portfolio-main-display {
        margin: 0 50px 30px 50px;
    }
    
    .thumbnail-track {
        gap: 8px;
    }
    
    .thumbnail-item {
        width: 70px;
        height: 45px;
    }
    
    .portfolio-pagination {
        gap: 6px;
    }
    
    .pagination-dot {
        width: 6px;
        height: 6px;
    }
}


.timeline-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff02" points="0,0 0,200 200,0"/><polygon fill="%23ffffff01" points="800,1000 1000,1000 1000,800"/></svg>');
    background-size: 200px 200px;
    animation: float 20s ease-in-out infinite;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Timeline Navigation */
.timeline-nav {
    margin-bottom: 60px;
}

.timeline-years {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.timeline-year-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(65, 105, 225, 0.3);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.timeline-year-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.4s ease;
    z-index: -1;
}

.timeline-year-btn:hover::before,
.timeline-year-btn.active::before {
    left: 0;
}

.timeline-year-btn:hover,
.timeline-year-btn.active {
    border-color: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Timeline Progress Bar */
.timeline-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.timeline-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 11.11%;
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 15px rgba(65, 105, 225, 0.6);
}

/* Timeline Content */
.timeline-content-wrapper {
    position: relative;
    min-height: 600px;
    transition: min-height 0.3s ease;
}

.timeline-content-wrapper.expanded {
    min-height: 800px;
}

.timeline-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.timeline-content.slide-out-left {
    transform: translateX(-50px);
    opacity: 0;
}

.timeline-content.slide-in-right {
    transform: translateX(50px);
    opacity: 0;
}

.timeline-content-preview,
.timeline-content-full {
    transition: all 0.3s ease;
}

.timeline-see-more-btn {
    background: rgba(65, 105, 225, 0.2);
    border: 2px solid var(--light-blue);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.timeline-see-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.4s ease;
    z-index: -1;
}

.timeline-see-more-btn:hover::before {
    left: 0;
}

.timeline-see-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.timeline-see-more-btn i {
    transition: transform 0.3s ease;
}

.timeline-see-more-btn.expanded i {
    transform: rotate(180deg);
}

.timeline-year-display {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 30px rgba(65, 105, 225, 0.3);
}

.timeline-description {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(65, 105, 225, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.timeline-description h3 {
    color: var(--light-blue);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.timeline-description p {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-description ul {
    list-style: none;
    padding: 0;
}

.timeline-description ul li {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.timeline-description ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--light-blue);
    font-size: 0.8rem;
    top: 2px;
}

.timeline-description ul ul {
    margin-top: 10px;
    margin-left: 20px;
}

.timeline-description ul ul li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.timeline-description ul ul li::before {
    content: '•';
    color: var(--light-blue);
}

/* Timeline Controls - REMOVED */

/* Responsive Timeline Styles */
@media (max-width: 1200px) {
    .timeline-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .timeline-years {
        gap: 10px;
    }
    
    .timeline-year-btn {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .timeline-year-display {
        font-size: 3rem;
    }
    
    .timeline-description {
        padding: 25px;
    }
    
    .timeline-description h3 {
        font-size: 1.5rem;
    }
    
    .timeline-description p,
    .timeline-description ul li {
        font-size: 0.95rem;
    }
}


@media (max-width: 480px) {
    .timeline-years {
        grid-template-columns: repeat(3, 1fr);
        display: grid;
        gap: 8px;
    }
    
    .timeline-year-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    
    .timeline-year-display {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .timeline-description {
        padding: 20px;
    }
    
    .timeline-description h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .timeline-description p,
    .timeline-description ul li {
        font-size: 0.9rem;
    }
}

/* Animated Circular Progress Styles */
.success-stats {
    display: flex;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-width: 120px;
}

.circular-progress {
    position: relative;
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
}

.progress-ring {
    width: 120px;
    height: 120px;
}

.progress-ring-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.progress-ring-circle {
    fill: none;
    stroke: #2563eb;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 327;
    stroke-dashoffset: 327;
    transition: stroke-dashoffset 2s ease-in-out;
}

.circular-progress.animate .progress-ring-circle {
    stroke-dashoffset: calc(327 - (327 * var(--progress)) / 100);
}

.circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    text-align: center;
    z-index: 2;
}

.circle-content .percentage {
    font-size: 28px;
    font-weight: 700;
    color: #2563eb;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 140px;
    line-height: 1.4;
}

/* Glowing effect for circles */
.circular-progress::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.3), transparent, rgba(37, 99, 235, 0.3));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.circular-progress:hover::after {
    opacity: 1;
}

/* Pulse animation on hover */
.stat-circle-item:hover .circular-progress {
    transform: rotate(-90deg) scale(1.05);
    transition: transform 0.3s ease;
}

.stat-circle-item:hover .circle-content .percentage {
    color: #3b82f6;
    transition: color 0.3s ease;
}

/* Users statistic special styling */
.circular-progress.users-stat .progress-ring-circle.full-circle {
    stroke-dasharray: 327;
    stroke-dashoffset: 0;
    stroke: #10b981;
}

.circular-progress.users-stat .circle-content .count-number {
    font-size: 28px;
    font-weight: 700;
    color: #10b981;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.circular-progress.users-stat::after {
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.3), transparent, rgba(16, 185, 129, 0.3));
}

.stat-circle-item:hover .circular-progress.users-stat .circle-content .count-number {
    color: #34d399;
    transition: color 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .success-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .circular-progress {
        width: 100px;
        height: 100px;
    }
    
    .progress-ring {
        width: 100px;
        height: 100px;
    }
    
    .progress-ring-circle-bg,
    .progress-ring-circle {
        r: 42;
        stroke-dasharray: 264;
    }
    
    .progress-ring-circle {
        stroke-dashoffset: 264;
    }
    
    .circular-progress.animate .progress-ring-circle {
        stroke-dashoffset: calc(264 - (264 * var(--progress)) / 100);
    }
    
    .circle-content .percentage {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 13px;
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .success-stats {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
}


/* Timeline Animation Classes */
.timeline-fade-in {
    animation: timelineFadeIn 0.6s ease-out forwards;
}

.timeline-fade-out {
    animation: timelineFadeOut 0.4s ease-in forwards;
}

@keyframes timelineFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes timelineFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Timeline Progress Animation */
.timeline-progress.animate {
    animation: progressGlow 2s ease-in-out infinite alternate;
}

@keyframes progressGlow {
    from {
        box-shadow: 0 0 15px rgba(65, 105, 225, 0.6);
    }
    to {
        box-shadow: 0 0 25px rgba(65, 105, 225, 0.9);
    }
}

/* Loading Screen */
.appcase-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, var(--accent-blue) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1), 
                visibility 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.appcase-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.appcase-loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.appcase-loader-logo {
    max-width: 300px;
    width: 80%;
    height: auto;
    margin-bottom: 30px;
}

.appcase-loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(65, 105, 225, 0.1);
    border-top: 4px solid var(--light-blue);
    border-right: 3px solid var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite, fadeInUp 0.6s ease-out;
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(65, 105, 225, 0.3);
}

/* Loading Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Keyframe Animations */
@keyframes bounceIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    50% {
        opacity: 1;
        transform: scale3d(1.05, 1.05, 1.05);
    }
    70% {
        transform: scale3d(0.9, 0.9, 0.9);
    }
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

@keyframes elasticIn {
    from {
        opacity: 0;
        transform: scale3d(0.1, 0.1, 0.1);
    }
    40% {
        transform: scale3d(1.1, 1.1, 1.1);
    }
    60% {
        transform: scale3d(0.9, 0.9, 0.9);
    }
    80% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

@keyframes flipInX {
    from {
        opacity: 0;
        transform: perspective(400px) rotateX(90deg);
    }
    40% {
        transform: perspective(400px) rotateX(-20deg);
    }
    60% {
        transform: perspective(400px) rotateX(10deg);
    }
    80% {
        transform: perspective(400px) rotateX(-5deg);
    }
    to {
        opacity: 1;
        transform: perspective(400px) rotateX(0deg);
    }
}

@keyframes flipInY {
    from {
        opacity: 0;
        transform: perspective(400px) rotateY(90deg);
    }
    40% {
        transform: perspective(400px) rotateY(-20deg);
    }
    60% {
        transform: perspective(400px) rotateY(10deg);
    }
    80% {
        transform: perspective(400px) rotateY(-5deg);
    }
    to {
        opacity: 1;
        transform: perspective(400px) rotateY(0deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(26, 152, 255, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(26, 152, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(26, 152, 255, 0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-200deg);
    }
    to {
        opacity: 1;
        transform: rotate(0deg);
    }
}

/* Enhanced Sticky Header Animations */
.main-header.header-sticky {
    background: linear-gradient(135deg, 
        rgba(20, 20, 35, 0.98) 0%, 
        rgba(30, 40, 60, 0.99) 50%, 
        rgba(25, 35, 55, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.header-sticky.header-hidden {
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.header-sticky:not(.header-hidden) {
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Enhanced sticky header top section - Animate out when sticky */
.main-header.header-sticky .header-top {
    opacity: 0;
    transform: translateY(-100%);
    max-height: 0;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header top animation when coming back to normal state */
.main-header:not(.header-sticky) .header-top {
    animation: headerTopSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes headerTopSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
    50% {
        max-height: 100px;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        max-height: 100px;
    }
}

/* Smooth logo scaling in sticky mode - slightly larger since header-top is hidden */
.main-header.header-sticky .logo img {
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navigation items smooth transition */
.main-header.header-sticky .nav-menu {
    transition: all 0.3s ease;
}

.main-header.header-sticky .nav-link {
    padding: 8px 12px;
    transition: padding 0.3s ease;
}

/* Sticky navbar adjustments when header-top is hidden */
.main-header.header-sticky .navbar {
    padding: 12px 0;
    transition: padding 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 0;
}

/* Hide content during loading and create smooth transition */
body.loading .main-header,
body.loading #main-content {
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: none;
}

/* Smooth content fade-in after loading with enhanced animation */
body.content-loaded .main-header,
body.content-loaded #main-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1.2s cubic-bezier(0.23, 1, 0.32, 1), 
                visibility 1.2s cubic-bezier(0.23, 1, 0.32, 1),
                transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    transition-delay: 0.3s; /* Small delay for smoother transition */
}

/* Default content state with enhanced transition */
.main-header,
#main-content {
    transition: opacity 1.2s cubic-bezier(0.23, 1, 0.32, 1), 
                visibility 1.2s cubic-bezier(0.23, 1, 0.32, 1),
                transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Add additional overlay to prevent blue screen flash */
body.loading::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, var(--accent-blue) 100%);
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

body.content-loaded::before {
    opacity: 0;
    visibility: hidden;
}

/* Disable all animations during loading except loader spinner */
body.loading *,
body.loading *::before,
body.loading *::after {
    animation-play-state: paused !important;
    transition: none !important;
}

/* Keep loader spinner animations active */
body.loading .appcase-loader-spinner {
    animation-play-state: running !important;
}

body.loading .appcase-loader {
    z-index: 99999;
}

/* Header Styles - Compact Modern Design */
.main-header {
    background: linear-gradient(135deg, 
        rgba(20, 20, 35, 0.95) 0%, 
        rgba(30, 40, 60, 0.97) 50%, 
        rgba(25, 35, 55, 0.95) 100%);
    backdrop-filter: blur(15px) saturate(120%);
    -webkit-backdrop-filter: blur(15px) saturate(120%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-top {
    background: linear-gradient(135deg, 
        var(--accent-blue) 0%, 
        var(--light-blue) 100%);
    padding: 8px 0;
    font-size: 12px;
    position: relative;
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    display: flex;
    gap: 25px;
    align-items: center;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.08);
}

.contact-info span:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.contact-info i {
    font-size: 14px;
    color: rgba(255,255,255,0.95);
    background: rgba(255,255,255,0.2);
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.contact-info span:hover i {
    background: rgba(255,255,255,0.35);
    transform: scale(1.1);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px) scale(1.15);
    box-shadow: 0 8px 20px rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}

.navbar {
    padding: 8px 0;
    background: transparent;
    position: relative;
    z-index: 10001;
}

.nav-container {
    max-width: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    flex-shrink: 0;
    position: relative;
    padding: 12px 40px 12px 25px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.18) 50%,
        rgba(255, 255, 255, 0.12) 100%);
    backdrop-filter: blur(15px);
    border: none;
    transition: none;
    margin-right: 20px;
    order: 1;
    clip-path: polygon(0 0, calc(100% - 35px) 0, 100% 100%, 0 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateX(-100px);
    animation: logoSlideIn 0.5s ease-out 1.5s forwards;
}

@keyframes logoSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-80px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--light-blue) 0%, 
        var(--accent-blue) 100%);
    clip-path: polygon(0 0, calc(100% - 35px) 0, 100% 100%, 0 100%);
    z-index: -1;
    transition: none;
}

.logo::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, 
        rgba(240, 248, 255, 0.95) 0%, 
        rgba(230, 240, 250, 0.95) 100%);
    clip-path: polygon(0 0, calc(100% - 35px) 0, 100% 100%, 0 100%);
    z-index: -1;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.8) contrast(1.2) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: none;
    position: relative;
    z-index: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
    margin: 0;
    padding: 0;
    order: 2;
    flex: 1;
    justify-content: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 20px;
}

.nav-item {
    position: relative;
    list-style: none;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
    z-index: 10004;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 10px 16px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border-radius: 6px;
    position: relative;
    background: transparent;
    border: 1px solid transparent;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--light-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--light-blue);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.dropdown-icon {
    font-size: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 2px;
}

.nav-item:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Compact Dropdown Styles */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: rgba(42, 42, 66, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    transition-delay: 0s;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 10006;
    list-style: none !important;
    margin: 0;
    padding: 8px 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.125);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid rgba(25, 35, 65, 0.96);
    filter: drop-shadow(0 -3px 6px rgba(0,0,0,0.2));
}

.dropdown-menu::after {
    display: none;
}

@keyframes dropdownShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.dropdown-menu li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

/* Improved hover detection to prevent dropdown disappearing */
/* Gap bridging for submenus */
.dropdown-submenu::after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 15px;
    height: 100%;
    background: transparent;
    z-index: 10005;
}

/* Enhanced hover states */
.nav-item:hover,
.nav-item:focus-within {
    z-index: 10010;
}

/* Keep dropdown visible when hovering over the gap */
.nav-item:hover > .dropdown-menu,
.nav-item:focus-within > .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Better hover area to prevent dropdown from disappearing */
.nav-item:hover > .dropdown-menu,
.nav-item:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0.1s;
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
    border-bottom: none;
    list-style: none !important;
    position: relative;
    margin: 1px 4px;
    border-radius: 4px;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--light-blue);
    transition: width 0.3s ease;
    border-radius: 4px 0 0 4px;
}

.dropdown-item:hover::before {
    width: 3px;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-blue);
    transform: translateX(4px);
}

/* Nested Dropdown */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 3px;
    min-width: 240px;
    z-index: 10006;
    pointer-events: none;
    transition-delay: 0s;
}

.dropdown-submenu:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0.15s;
}

/* Submenu Icons */
.submenu-icon {
    font-size: 7px;
    margin-left: auto;
    transition: var(--transition);
    opacity: 0.8;
}

.dropdown-submenu:hover .submenu-icon {
    transform: rotate(90deg);
    opacity: 1;
}

/* Improved hover zones to prevent dropdown disappearing */
.dropdown-submenu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 8px;
    height: 100%;
    background: transparent;
    z-index: 10004;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    order: 3;
    margin-right: 30px;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border-radius: 15px;
    padding: 4px 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}

.search-box:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--light-blue);
}

.search-input {
    background: none;
    border: none;
    color: var(--white);
    outline: none;
    padding: 3px 6px;
    width: 120px;
    font-size: 12px;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.search-btn {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 3px;
    transition: all 0.3s ease;
    font-size: 11px;
}

.search-btn:hover {
    color: var(--light-blue);
}

.contact-btn {
    background: linear-gradient(135deg, 
        var(--light-blue) 0%, 
        var(--accent-blue) 100%);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(65, 105, 225, 0.25);
    background: linear-gradient(135deg, 
        var(--accent-blue) 0%, 
        var(--light-blue) 100%);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 10005;
}

.mobile-menu-toggle::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.5s ease;
}

.mobile-menu-toggle:hover::before {
    left: 100%;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Side Panel */
.mobile-side-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 10003;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-side-panel.active {
    visibility: visible;
    opacity: 1;
}

.mobile-panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.mobile-panel-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: linear-gradient(135deg, rgba(25, 35, 55, 0.98) 0%, rgba(20, 30, 50, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding-bottom: 20px;
}

.mobile-side-panel.active .mobile-panel-content {
    transform: translateX(0);
}

.mobile-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.mobile-panel-logo img {
    height: 35px;
    filter: brightness(1.1);
}

.mobile-panel-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-panel-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Mobile Search */
.mobile-search-container {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mobile-search-box:focus-within {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.mobile-search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: var(--white);
    font-size: 14px;
    outline: none;
}

.mobile-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.mobile-search-btn {
    background: var(--accent-blue);
    border: none;
    padding: 12px 16px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-btn:hover {
    background: var(--light-blue);
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
    padding: 10px 0;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mobile-nav-link {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-blue);
}

.mobile-dropdown-toggle {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-blue);
}

.mobile-dropdown-toggle.active {
    transform: rotate(180deg);
    color: var(--accent-blue);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-dropdown.active > .mobile-dropdown-menu {
    max-height: 400px;
}

.mobile-dropdown-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mobile-dropdown-item:last-child {
    border-bottom: none;
}

.mobile-dropdown-link {
    display: block;
    padding: 12px 30px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mobile-dropdown-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent-blue);
    padding-left: 35px;
}

/* Mobile Submenu Styling */
.mobile-submenu .mobile-nav-header {
    padding: 0;
}

.mobile-submenu .mobile-nav-header span {
    padding: 12px 30px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    flex: 1;
}

.mobile-submenu .mobile-dropdown-toggle {
    padding: 12px 20px;
    font-size: 12px;
}

.mobile-submenu .mobile-dropdown-menu {
    background: rgba(0, 0, 0, 0.4);
}

.mobile-submenu.active > .mobile-dropdown-menu {
    max-height: 300px;
}

.mobile-submenu .mobile-dropdown-link {
    padding: 10px 45px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.mobile-submenu .mobile-dropdown-link:hover {
    padding-left: 50px;
}

/* Mobile Contact Section */
.mobile-contact-section {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

.mobile-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-contact-btn:hover {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--accent-blue) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

/* Mobile Navigation Responsive */
@media (max-width: 768px) {
    .header-top {
        padding: 2px 0;
        font-size: 9px;
    }
    
    .header-top .container {
        padding: 0 10px;
    }
    
    .contact-info {
        gap: 10px;
        font-size: 9px;
    }
    
    .contact-info span {
        padding: 2px 4px;
        gap: 3px;
    }
    
    .contact-info i {
        font-size: 10px;
        padding: 2px;
    }
    
    .social-links a {
        width: 24px;
        height: 24px;
        font-size: 10px;
        padding: 4px;
    }
    
    .navbar {
        padding: 6px 0;
    }
    
    .nav-container {
        padding: 0 15px;
        gap: 8px;
        justify-content: space-between;
    }
    
    .logo {
        padding: 8px 25px 8px 15px;
        clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 100%, 0 100%);
        animation: logoSlideInMobile 0.5s ease-out 1.5s forwards;
    }
    
    @keyframes logoSlideInMobile {
        0% {
            opacity: 0;
            transform: translateX(-60px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .logo::before {
        clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 100%, 0 100%);
    }
    
    .logo::after {
        clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 100%, 0 100%);
    }
    
    .logo img {
        height: 35px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        width: 40px;
        height: 40px;
        order: 2;
        margin-left: auto;
    }
    
    /* Hide the original nav menu on mobile */
    .nav-menu {
        display: none !important;
    }
    
    /* Hide the nav-right section on mobile */
    .nav-right {
        display: none !important;
    }
    
    .hero-section {
        margin-top: 45px;
    }        /* Prevent body scroll when mobile panel is open */
        body.mobile-panel-open {
            overflow: hidden;
            position: fixed;
            width: 100%;
            height: 100%;
        }
    }

@media (max-width: 480px) {
    .hero-title,
    .hero-subtitle {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 1rem;
    }

    .service-tags span {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .carousel-content {
        padding: 0 10px;
    }

    .shape {
        opacity: 0.5; /* Reduce opacity on very small screens */
    }

    .hero-btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
    
    .service-tags-small span {
        padding: 5px 10px;
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }
}

/* Enhanced Section Header Styles */
.section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

.mb-60 {
    margin-bottom: 60px;
}

/* Section Badge Enhancement */
.section-badge {
    display: inline-block;
    margin-bottom: 20px;
}

.section-badge .badge-text {
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.2) 0%, rgba(44, 90, 160, 0.2) 100%);
    color: var(--light-blue);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(65, 105, 225, 0.3);
    backdrop-filter: blur(10px);
}

/* Responsive Diagonal Shades */
@media (max-width: 768px) {
    .diagonal-shade {
        width: 120%;
        height: 120%;
        opacity: 0.8;
    }
    
    .carousel-arrow {
        width: 55px;
        height: 55px;
        font-size: 22px;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    .carousel-arrow.prev {
        left: 20px;
    }
    
    .carousel-arrow.next {
        right: 20px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
        margin: 0 6px;
    }
}

@media (max-width: 480px) {
    .diagonal-shade {
        width: 100%;
        height: 100%;
        opacity: 0.6;
    }
    
    .carousel-arrow {
        width: 50px;
        height: 50px;
        font-size: 20px;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    .carousel-arrow.prev {
        left: 15px;
    }
    
    .carousel-arrow.next {
        right: 15px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
        margin: 0 5px;
    }
}

@media (min-width: 1400px) {
    .diagonal-shade {
        width: 200%;
        height: 200%;
    }
    
    .carousel-arrow {
        width: 60px;
        height: 60px;
        font-size: 28px;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    .carousel-arrow.prev {
        left: 40px;
    }
    
    .carousel-arrow.next {
        right: 40px;
    }
    
    .carousel-dot {
        width: 14px;
        height: 14px;
        margin: 0 10px;
    }
}

/* Hero Section - Full Background Hero Slider */
.hero-section {
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Modern Hero Carousel */
.hero-carousel {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* Modern Glass Reflection Background */
.glass-reflection-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.glass-reflection {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: translateX(-100%) skewX(-20deg);
    opacity: 0;
}

/* Animation class that will be triggered by JavaScript */
.glass-reflection.animate {
    animation: glassReflection 2.5s ease-in-out forwards;
}

@keyframes glassReflection {
    0% {
        transform: translateX(-100%) skewX(-20deg);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) skewX(-20deg);
        opacity: 0;
    }
}

/* Modern Slide Transitions */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

/* Slide enter/exit effects - removed bouncing */
.carousel-slide.slide-enter {
    opacity: 0;
}

.carousel-slide.slide-exit {
    opacity: 0;
}

/* Background Image with Smooth Zoom Out Effect */
.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: transform 8s ease-out, filter 1s ease-out;
    filter: brightness(0.75) contrast(1.1) blur(1px);
}

.carousel-slide.active .hero-bg-image {
    transform: scale(1);
    filter: brightness(0.8) contrast(1.05) blur(0px);
}

/* Modern gradient overlay */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 15, 25, 0.7) 0%,
        rgba(26, 35, 55, 0.5) 50%,
        rgba(44, 90, 160, 0.3) 100%
    );
    z-index: 2;
}

/* Content Container with modern layout */
.carousel-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Modern Service Tags */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide.active .service-tags {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.service-tags span {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-tags span::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.5s ease;
}

.service-tags span:hover::before {
    left: 100%;
}

.service-tags span:hover {
    background: rgba(74, 144, 226, 0.2);
    transform: translateY(-3px);
    border-color: rgba(74, 144, 226, 0.3);
}

/* Smaller Service Tags for First Slide */
.service-tags-small {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide.active .service-tags-small {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.service-tags-small span {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.service-tags-small span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.5s ease;
}

.service-tags-small span:hover::before {
    left: 100%;
}

.service-tags-small span:hover {
    background: rgba(74, 144, 226, 0.15);
    transform: translateY(-2px);
    border-color: rgba(74, 144, 226, 0.25);
    color: rgba(255, 255, 255, 0.95);
}

/* Modern Typography */
.hero-main-title,
.hero-subtitle {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide.active .hero-main-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.carousel-slide.active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.hero-text-container .highlight {
    color: #4a90e2;
    position: relative;
    background: linear-gradient(135deg, #4a90e2, #6ab7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text-container .highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #6ab7ff);
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
}

.carousel-slide.active .highlight::after {
    transform: scaleX(1);
    transition-delay: 1.2s;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide.active .hero-description {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

/* Modern Button Design */
.hero-btn {
    background: rgba(74, 144, 226, 0.12);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 2px solid rgba(74, 144, 226, 0.3);
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    box-shadow: 
        0 10px 40px rgba(74, 144, 226, 0.15),
        0 3px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.carousel-slide.active .hero-btn {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 1.1s;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.15), 
        transparent);
    transition: left 0.6s ease;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    background: rgba(74, 144, 226, 0.25);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(74, 144, 226, 0.25),
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(74, 144, 226, 0.5);
}

/* Navigation dots hidden */
.carousel-nav {
    display: none;
}

.carousel-dot {
    display: none;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    outline: none;
    color: rgba(255, 255, 255, 0.8);
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 5;
    box-shadow: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.carousel-arrow:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.2);
}

.carousel-arrow:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.carousel-arrow:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 30px;
}

.carousel-arrow.next {
    right: 30px;
}

/* Modern loading animation */
@keyframes modernSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Enhanced Carousel */
@media (max-width: 1024px) {
    .hero-carousel {
        height: 90vh;
        min-height: 500px;
    }
    
    .carousel-content {
        padding: 0 30px;
    }
    
    .hero-main-title,
    .hero-subtitle {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .carousel-arrow {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    
    .carousel-arrow.prev {
        left: 20px;
    }
    
    .carousel-arrow.next {
        right: 20px;
    }
    
    .service-tags {
        gap: 8px;
    }
    
    .service-tags span {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .service-tags-small {
        gap: 8px;
    }
    
    .service-tags-small span {
        padding: 6px 12px;
        font-size: 0.65rem;
        letter-spacing: 0.6px;
    }
}

@media (max-width: 768px) {
    .hero-main-title,
    .hero-subtitle {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }
    
    .carousel-arrow.prev {
        left: 15px;
    }
    
    .carousel-arrow.next {
        right: 15px;
    }
    
    .service-tags {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    
    .hero-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-main-title,
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .carousel-nav {
        bottom: 20px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
    
    .service-tags-small span {
        padding: 5px 10px;
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }
}

/* Footer Styles */
.main-footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    padding: 60px 0 20px;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* General footer link styling to override browser defaults */
.main-footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.main-footer a:hover {
    color: var(--light-blue);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-section h3 {
    color: var(--light-blue);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.05);
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--light-blue);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    margin-right: 10px;
    color: var(--light-blue);
    width: 20px;
}

.contact-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--light-blue);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    color: rgba(255,255,255,0.7);
}

.footer-bottom a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--light-blue);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    color: var(--white);
    font-size: 20px;
    width: 40px;
    height: 40px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--light-blue);
    transform: translateY(-3px);
}

/* Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--white);
}

.section-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section - Completely Redesigned */
.about-section {
    background: linear-gradient(135deg, #0a0a15 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    min-height: 80vh;
}

/* Circuit Background Image */
.circuit-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.circuit-bg-image {
    position: absolute;
    top: 50%;
    left: 0;
    height: 70%;
    width: auto;
    opacity: 0.2;
    object-fit: contain;
    object-position: left center;
    z-index: 0;
    transform: translateY(-50%);
}

/* Section Header */
.about-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.header-top-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.wave-symbol {
    font-size: 2rem;
    color: var(--accent-blue);
    font-weight: bold;
}

.company-badge-inline {
    display: inline-block;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light-blue);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-separator {
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, var(--accent-blue), transparent);
}

.about-main-title {
    font-size: 3.8rem;
    font-weight: 800;
    color: white;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #a8c8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

/* Content Grid */
.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Image Section */
.about-image-section {
    position: relative;
}

.image-wrapper {
    position: relative;
}

.image-frame {
    position: relative;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.6s ease;
    box-shadow: 
        -20px 20px 60px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(65, 105, 225, 0.1);
}

.image-frame:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 
        -30px 30px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(65, 105, 225, 0.2);
}

.team-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 35, 55, 0.1) 0%,
        rgba(65, 105, 225, 0.05) 50%,
        rgba(99, 102, 241, 0.1) 100%
    );
    transition: opacity 0.3s ease;
}

.image-frame:hover .image-overlay {
    opacity: 0.3;
}

/* Floating Development Card with Snake Light Animation */
.dev-info-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: rgba(15, 15, 25, 0.98);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(65, 105, 225, 0.4);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    padding: 25px;
    max-width: 300px;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(65, 105, 225, 0.15);
    z-index: 2;
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Snake Light Border Animation - Ultra Thin Border Only */
.dev-info-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: conic-gradient(
        from 0deg,
        transparent 85%,
        rgba(65, 105, 225, 0.3) 87%,
        rgba(116, 200, 255, 0.7) 89%,
        rgba(65, 182, 255, 1) 91%,
        rgba(116, 200, 255, 0.7) 93%,
        rgba(65, 105, 225, 0.3) 95%,
        transparent 97%
    );
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0;
}

/* Ultra precise inner cutout for thin border */
.dev-info-card::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: rgba(15, 15, 25, 0.98);
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    z-index: -1;
}

/* Smooth snake animation - one time only */
@keyframes snakeLight {
    0% {
        transform: rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: rotate(360deg);
        opacity: 0;
    }
}

/* Active state - runs once on scroll trigger */
.dev-info-card.snake-active::before {
    animation: snakeLight 3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Hover state - faster animation */
.dev-info-card:hover::before {
    opacity: 1;
    animation: snakeLight 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* Enhanced hover effect */
.dev-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 35px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(65, 105, 225, 0.25);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.card-icon-wrapper {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.card-icon-wrapper svg {
    width: 20px;
    height: 20px;
}

.dev-info-card h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.dev-info-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Info Section */
.about-info-section {
    padding-left: 20px;
}

.company-description {
    margin-bottom: 35px;
}

.desc-primary {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    font-weight: 400;
}

.desc-secondary {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Mission Vision Container */
.mission-vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

.mv-card {
    background: rgba(26, 35, 55, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(65, 105, 225, 0.2);
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
    padding: 24px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(65, 105, 225, 0.1), transparent);
    transition: left 0.6s ease;
}

.mv-card:hover::before {
    left: 100%;
}

.mv-card:hover {
    transform: translateY(-8px);
    border-color: rgba(65, 105, 225, 0.4);
    box-shadow: 0 20px 40px rgba(65, 105, 225, 0.15);
}

.mv-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.mv-icon-bg {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
    clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.mv-icon-bg svg {
    width: 20px;
    height: 20px;
}

.mv-card h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.mv-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Experience Highlight */
.experience-highlight {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(15, 15, 25, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(65, 105, 225, 0.3);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.experience-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
    z-index: -1;
}

.exp-number-section {
    text-align: center;
    min-width: 100px;
}

.big-number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 0.9;
    margin-bottom: 8px;
}

.number-label {
    font-size: 0.9rem;
    color: var(--light-blue);
    font-weight: 600;
    letter-spacing: 1px;
}

.exp-details h5 {
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
}

.exp-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.exp-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about-content-grid {
        gap: 40px;
    }
    
    .dev-info-card {
        right: -15px;
        bottom: -15px;
    }
}

@media (max-width: 1024px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .about-info-section {
        padding-left: 0;
    }
    
    .dev-info-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 30px auto 0;
        max-width: 400px;
    }
    
    .image-frame {
        transform: none;
    }
    
    .experience-highlight {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .about-main-title {
        font-size: 3rem;
    }
    
    .mission-vision-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .company-badge-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .mv-card {
        padding: 25px;
    }
    
    .experience-highlight {
        padding: 30px;
    }
    
    .big-number {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 80px 0;
    }
    
    .header-top-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .wave-symbol {
        font-size: 1.5rem;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
    
    .about-main-title {
        font-size: 2.5rem;
    }
    
    .about-content-grid {
        gap: 50px;
    }
    
    .dev-info-card {
        padding: 25px;
        max-width: 100%;
    }
    
    .mv-card {
        padding: 20px;
    }
    
    .experience-highlight {
        padding: 25px;
    }
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(44, 90, 160, 0.1) 50%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(65, 105, 225, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(44, 90, 160, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.1) 0%, rgba(44, 90, 160, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(65, 105, 225, 0.15);
    border-color: rgba(65, 105, 225, 0.3);
}

.service-image-wrapper {
    position: relative;
    overflow: hidden;
}

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(0.8) contrast(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.8) 0%, rgba(65, 105, 225, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--white);
    transform: scale(0.5) rotate(-180deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-item:hover .service-image img {
    transform: scale(1.15);
    filter: brightness(0.6) contrast(1.2);
}

.service-item:hover .service-overlay {
    opacity: 1;
}

.service-item:hover .service-icon {
    transform: scale(1) rotate(0deg);
}

.service-item:hover .service-link {
    opacity: 1;
    transform: translateY(0);
}

.service-content {
    padding: 20px 20px 15px 20px;
    position: relative;
}

.service-number {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(65, 105, 225, 0.3);
}

.service-content h3 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-item:hover .service-content h3 {
    color: var(--light-blue);
}

.service-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.9rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.feature-tag {
    background: rgba(65, 105, 225, 0.2);
    color: var(--light-blue);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(65, 105, 225, 0.3);
    transition: all 0.3s ease;
}

.service-item:hover .feature-tag {
    background: rgba(65, 105, 225, 0.3);
    color: var(--white);
    border-color: rgba(65, 105, 225, 0.5);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
}

.service-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--light-blue));
    transition: width 0.3s ease;
}

.service-link:hover::before {
    width: 100%;
}

.service-link:hover {
    color: var(--white);
    transform: translateX(5px);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Projects Section - Modern Gallery Design */
.projects-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(65, 105, 225, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(44, 90, 160, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-top: 10px;
    opacity: 0.9;
}

/* Products Gallery Grid */
.products-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 15px;
    padding: 20px 0;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* Product Card Specific Layouts */
.product-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.product-card:nth-child(2) {
    grid-column: 2 / 4;
    grid-row: 1;
}

.product-card:nth-child(3) {
    grid-column: 4;
    grid-row: 1;
}

.product-card:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 2;
}

.product-card:nth-child(5) {
    grid-column: 3 / 5;
    grid-row: 2;
}

/* Product Card Design */
.product-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    height: 200px;
    transform-style: preserve-3d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(65, 105, 225, 0.15) 0%, 
        rgba(99, 102, 241, 0.15) 50%, 
        rgba(44, 90, 160, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Product Image Container */
.product-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.85) contrast(1.1);
}

.product-card:hover .product-image-container img {
    transform: scale(1.03);
    filter: brightness(0.7) contrast(1.2);
}

/* Product Overlay */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

/* Blue Diagonal Stripe Animation */
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(65, 105, 225, 0.4) 50%,
        transparent 70%
    );
    transition: left 0.6s ease;
    z-index: 1;
}

.product-card:hover::after {
    left: 100%;
}

/* Product Info */
.product-info {
    text-align: center;
    transform: translateY(15px);
    transition: transform 0.3s ease 0.1s;
}

.product-card:hover .product-info {
    transform: translateY(0);
}

.product-category {
    display: inline-block;
    background: rgba(65, 105, 225, 0.9);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    backdrop-filter: blur(10px);
}

.product-info h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.2;
}

.product-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    line-height: 1.3;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 160px);
        gap: 10px;
    }
    
    .product-card:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .product-card:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .product-card:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .product-card:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }

    .product-card:nth-child(5) {
        grid-column: 1 / 3;
        grid-row: 3;
    }
    
    .product-card {
        height: auto;
    }
}

@media (max-width: 480px) {
    .products-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 160px);
    }
    
    .product-card:nth-child(1),
    .product-card:nth-child(2),
    .product-card:nth-child(3),
    .product-card:nth-child(4),
    .product-card:nth-child(5) {
        grid-column: 1;
        grid-row: auto;
    }
}

/* Customer Success Section */
.customer-success-section {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.customer-success-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(65,105,225,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.customer-success-section::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -200px;
    width: 700px;
    height: 700px;
    background-image: url('assets/images/hexaimg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
    transform: translateY(-50%);
    z-index: 1;
}

.customer-success-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.success-text-section {
    padding: 40px 0;
}

.success-intro {
    margin-bottom: 30px;
}

.section-main-heading {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    text-align: left;
    letter-spacing: -1px;
}

.section-tag {
    display: inline-block;
    background: rgba(65, 105, 225, 0.1);
    color: var(--light-blue);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid rgba(65, 105, 225, 0.3);
    margin-bottom: 20px;
}

.success-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 30px;
    text-align: left;
}

.text-highlight {
    color: var(--light-blue);
    position: relative;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--light-blue), var(--purple-accent));
    border-radius: 2px;
}

.company-highlight {
    color: var(--light-blue);
    font-weight: 600;
}

.success-description {
    margin-bottom: 40px;
}

.success-description p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    text-align: left;
}

.success-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--light-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
}

.success-visual-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

/* Orbit Container */
.orbit-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.center-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--light-blue);
    box-shadow: 0 0 30px rgba(65, 105, 225, 0.4);
    transition: var(--transition);
}

.center-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(65, 105, 225, 0.6);
}

/* Orbit Items */
.orbit-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.orbit-item-1 {
    animation: orbitRotate1 15s linear infinite;
}

.orbit-item-2 {
    animation: orbitRotate2 15s linear infinite;
}

.orbit-item-3 {
    animation: orbitRotate3 15s linear infinite;
}

.service-orbit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 10px 25px rgba(65, 105, 225, 0.3);
    transition: var(--transition);
}

.orbit-item-1 .service-orbit-icon {
    animation: counterRotate1 15s linear infinite;
}

.orbit-item-2 .service-orbit-icon {
    animation: counterRotate2 15s linear infinite;
}

.orbit-item-3 .service-orbit-icon {
    animation: counterRotate3 15s linear infinite;
}

.service-orbit-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-orbit-label {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.orbit-item-1 .service-orbit-label {
    animation: counterRotate1 15s linear infinite;
}

.orbit-item-2 .service-orbit-label {
    animation: counterRotate2 15s linear infinite;
}

.orbit-item-3 .service-orbit-label {
    animation: counterRotate3 15s linear infinite;
}

.orbit-item:hover .service-orbit-icon {
    transform: scale(1.2);
    box-shadow: 0 15px 35px rgba(65, 105, 225, 0.5);
}

.orbit-item:hover .service-orbit-label {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Orbit Animations */
@keyframes orbitRotate1 {
    from {
        transform: rotate(0deg) translateX(180px);
    }
    to {
        transform: rotate(360deg) translateX(180px);
    }
}

@keyframes orbitRotate2 {
    from {
        transform: rotate(120deg) translateX(180px);
    }
    to {
        transform: rotate(480deg) translateX(180px);
    }
}

@keyframes orbitRotate3 {
    from {
        transform: rotate(240deg) translateX(180px);
    }
    to {
        transform: rotate(600deg) translateX(180px);
    }
}

@keyframes counterRotate1 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

@keyframes counterRotate2 {
    from {
        transform: rotate(-120deg);
    }
    to {
        transform: rotate(-480deg);
    }
}

@keyframes counterRotate3 {
    from {
        transform: rotate(-240deg);
    }
    to {
        transform: rotate(-600deg);
    }
}

@keyframes counterRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .customer-success-grid {
        gap: 60px;
    }
    
    .orbit-container {
        width: 350px;
        height: 350px;
    }
    
    .customer-success-section::after {
        right: -180px;
        width: 600px;
        height: 600px;
    }
    
    .section-main-heading {
        font-size: 2.8rem;
    }
    
    .success-main-title {
        font-size: 2.4rem;
    }
    
    @keyframes orbitRotate1 {
        from {
            transform: rotate(0deg) translateX(150px);
        }
        to {
            transform: rotate(360deg) translateX(150px);
        }
    }
    
    @keyframes orbitRotate2 {
        from {
            transform: rotate(120deg) translateX(150px);
        }
        to {
            transform: rotate(480deg) translateX(150px);
        }
    }
    
    @keyframes orbitRotate3 {
        from {
            transform: rotate(240deg) translateX(150px);
        }
        to {
            transform: rotate(600deg) translateX(150px);
        }
    }
}

@media (max-width: 768px) {
    .customer-success-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }
    
    .section-main-heading {
        font-size: 2.4rem;
        text-align: left;
    }
    
    .success-main-title {
        font-size: 2rem;
        text-align: left;
    }
    
    .orbit-container {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
    
    .center-logo {
        width: 100px;
        height: 100px;
    }
    
    .service-orbit-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-orbit-icon i {
        font-size: 1.2rem;
    }
    
    .service-orbit-label {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .customer-success-section::after {
        display: none;
    }
    
    .success-description p {
        font-size: 1rem;
    }
    
    .feature-item span {
        font-size: 1rem;
    }
    
    @keyframes orbitRotate1 {
        from {
            transform: rotate(0deg) translateX(120px);
        }
        to {
            transform: rotate(360deg) translateX(120px);
        }
    }
    
    @keyframes orbitRotate2 {
        from {
            transform: rotate(120deg) translateX(120px);
        }
        to {
            transform: rotate(480deg) translateX(120px);
        }
    }
    
    @keyframes orbitRotate3 {
        from {
            transform: rotate(240deg) translateX(120px);
        }
        to {
            transform: rotate(600deg) translateX(120px);
        }
    }
}

@media (max-width: 480px) {
    .section-main-heading {
        font-size: 2rem;
    }
    
    .success-main-title {
        font-size: 1.8rem;
    }
    
    .orbit-container {
        width: 250px;
        height: 250px;
    }
    
    .center-logo {
        width: 80px;
        height: 80px;
    }
    
    .service-orbit-icon {
        width: 40px;
        height: 40px;
    }
    
    .service-orbit-icon i {
        font-size: 1rem;
    }
    
    .customer-success-section::after {
        display: none;
    }
    
    .success-description p {
        font-size: 0.95rem;
    }
    
    .feature-item {
        gap: 12px;
    }
    
    .feature-item span {
        font-size: 0.95rem;
    }
    
    @keyframes orbitRotate1 {
        from {
            transform: rotate(0deg) translateX(100px);
        }
        to {
            transform: rotate(360deg) translateX(100px);
        }
    }
    
    @keyframes orbitRotate2 {
        from {
            transform: rotate(120deg) translateX(100px);
        }
        to {
            transform: rotate(480deg) translateX(100px);
        }
    }
    
    @keyframes orbitRotate3 {
        from {
            transform: rotate(240deg) translateX(100px);
        }
        to {
            transform: rotate(600deg) translateX(100px);
        }
    }
}

/* Portfolio Stats Section */
.portfolio-section {
    background: var(--primary-dark);
}

.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--light-blue);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 600;
}

/* Why Choose Us Section */
.why-choose-section {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.choose-item {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.choose-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.choose-icon {
    margin-bottom: 20px;
}

.choose-icon img {
    height: 60px;
    width: auto;
}

.choose-content {
    text-align: center;
}

.choose-category {
    background: var(--accent-blue);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.choose-item h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.choose-link {
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.choose-link:hover {
    color: var(--white);
}

/* Clients Section */
.clients-section {
    background: var(--secondary-dark);
    overflow: hidden;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.client-logo {
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.client-logo:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.05);
}

.client-logo img {
    max-height: 80px;
    width: auto;
    filter: brightness(0.8);
    transition: var(--transition);
}

.client-logo:hover img {
    filter: brightness(1);
}

/* Client Carousel Styles */

.clients-carousel-container {
    position: relative;
    overflow: hidden;
    margin: 30px 0;
    padding: 20px 0;
}

.clients-carousel {
    display: flex;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.clients-carousel .client-logo {
    flex: 0 0 auto;
    width: 140px;
    height: 90px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px;
}

.clients-carousel .client-logo:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.clients-carousel .client-logo img {
    max-height: 65px;
    max-width: 115px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: var(--transition);
}

.clients-carousel .client-logo:hover img {
    filter: brightness(1) contrast(1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
       }
}

.clients-carousel:hover {
    animation-play-state: paused;
}

/* Gradient overlays for smooth edges */
.clients-carousel-container::before,
.clients-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
       height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--secondary-dark), transparent);
}

.clients-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--secondary-dark), transparent);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--light-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--light-blue);
    background: rgba(255,255,255,0.15);
}

.form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

.submit-btn {
    background: var(--light-blue);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.submit-btn:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
}

.submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Message Styles */
.success-message {
    background: #4caf50;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.error-message {
    background: #f44336;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

/* Performance optimizations */
.scroll-animate,
.scroll-fade-up,
.scroll-fade-down,
.scroll-fade-left,
.scroll-fade-right,
.scroll-zoom-in,
.scroll-rotate-in,
.animated-card {
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Remove will-change after animation completes for better performance */
.animate-in {
    will-change: auto;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

/* ========================================
   ENHANCED GLASS MORPHISM & SMOOTH ANIMATIONS
   ======================================== */

/* Improved glass morphism support for all browsers */
@supports (backdrop-filter: blur(20px)) {
    .carousel-arrow,
    .carousel-nav,
    .hero-btn {
        backdrop-filter: blur(20px) saturate(180%);
    }
}

@supports (-webkit-backdrop-filter: blur(20px)) {
    .carousel-arrow,
    .carousel-nav,
    .hero-btn {
        -webkit-backdrop-filter: blur(20px) saturate(180%);
    }
}

/* Enhanced page transition for smooth loading */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, var(--accent-blue) 100%);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), 
                visibility 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.page-transition.active {
    opacity: 1;
    visibility: visible;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced focus states for accessibility */
.carousel-arrow:focus,
.carousel-dot:focus,
.hero-btn:focus {
    outline: 2px solid rgba(74, 144, 226, 0.6);
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .carousel-arrow,
    .carousel-dot,
    .hero-btn,
    .appcase-loader,
    .main-header,
    #main-content {
        transition: none;
        animation: none;
    }
    
    .hero-btn::before,
    .carousel-arrow::before {
        display: none;
    }
}

/* Enhanced performance with hardware acceleration */
.carousel-arrow,
.carousel-dot,
.hero-btn,
.appcase-loader,
.main-header,
#main-content {
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* Cleanup after animations */
.carousel-slide.active .animate-btn,
.carousel-slide.active .animate-text {
    will-change: auto;
}

/* Enhanced carousel slide transitions */
.hero-carousel .carousel-slide {
    transition: opacity 1.2s cubic-bezier(0.23, 1, 0.32, 1),
                transform 1.2s cubic-bezier(0.23, 1, 0.32, 1),
                visibility 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Sleek loading indicator for better UX */
.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(74, 144, 226, 0.6), 
        transparent);
    z-index: 10001;
    opacity: 0;
    animation: loadingBar 2s ease-in-out infinite;
}

@keyframes loadingBar {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0%);
        opacity: 1;
    }
}

/* Staggered animation for contact info and social links */
.main-header:not(.header-sticky) .contact-info {
    animation: contactInfoSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.main-header:not(.header-sticky) .social-links {
    animation: socialLinksSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

@keyframes contactInfoSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes socialLinksSlideIn {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ensure elements are visible when not animating */
.main-header.header-sticky .contact-info,
.main-header.header-sticky .social-links {
    opacity: 1;
    transform: translateX(0);
}

/* Additional Clients Section */
.additional-clients-section {
    margin-top: 40px;
    padding: 20px 0;
    position: relative;
}

.additional-clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.additional-client-item {
    background: rgba(26, 35, 55, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(65, 105, 225, 0.2);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.additional-client-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(65, 105, 225, 0.1), transparent);
    transition: left 0.6s ease;
}

.additional-client-item:hover::before {
    left: 100%;
}

.additional-client-item:hover {
    transform: translateY(-5px);
    border-color: rgba(65, 105, 225, 0.4);
    box-shadow: 
        0 15px 30px rgba(65, 105, 225, 0.15),
        0 0 30px rgba(65, 105, 225, 0.1);
}

.additional-client-item img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.4s ease;
}

.additional-client-item:hover img {
    filter: brightness(1.1) contrast(1.2);
    transform: scale(1.05);
}

/* Responsive Design for Additional Clients */
@media (max-width: 768px) {
    .additional-clients-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 300px;
    }
    
    .additional-client-item {
        min-height: 60px;
        padding: 12px;
    }
    
    .additional-client-item img {
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .additional-clients-section {
        margin-top: 30px;
        padding: 15px 0;
    }
    
    .additional-client-item {
        min-height: 50px;
        padding: 10px;
    }
    
    .additional-client-item img {
        max-height: 35px;
    }
}

/* Welcome Message Section */
.welcome-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
    padding: 40px 0; /* Much more compact padding */
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="welcome-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23welcome-pattern)"/></svg>');
    pointer-events: none;
}

.welcome-content-wrapper {
    position: relative;
    z-index: 2;
}

.welcome-header {
    margin-bottom: 25px !important; /* Much smaller header spacing */
}

.welcome-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px; /* Much smaller gap */
    align-items: center;
}

/* Welcome Image Section */
.welcome-image-section {
    position: relative;
}

.welcome-image-wrapper {
    position: relative;
    max-width: 450px; /* Increased from 300px to make image bigger */
    margin: 0 auto;
}

.welcome-image-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.welcome-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.welcome-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(220, 38, 127, 0.1), rgba(65, 105, 225, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.welcome-image-frame:hover .welcome-image-overlay {
    opacity: 1;
}

.welcome-image-frame:hover .welcome-image {
    transform: scale(1.05);
}

/* Welcome Message Section */
.welcome-message-section {
    color: var(--white);
}

.welcome-text-content {
    max-width: 100%;
}

.welcome-greeting {
    font-size: 1.1rem; /* Smaller font */
    font-weight: 600;
    color: var(--light-blue);
    margin-bottom: 15px; /* Much smaller margin */
    line-height: 1.4;
}

.welcome-main-message p {
    font-size: 0.9rem; /* Much smaller font */
    line-height: 1.5; /* Tighter line height */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px; /* Much smaller margins */
}

.welcome-main-message p:last-child {
    margin-bottom: 20px; /* Smaller final margin */
}

/* Founding Partners Signature */
.founding-partners-signature {
    margin-top: 20px; /* Much smaller top margin */
}

.signature-line {
    width: 40px; /* Smaller line */
    height: 2px;
    background: var(--light-blue);
    margin-bottom: 12px;
}

.partners-names {
    margin-bottom: 10px;
}

.partner-name {
    font-size: 0.9rem; /* Smaller font */
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px; /* Much smaller spacing */
    display: flex;
    align-items: center;
}

.partner-name::before {
    content: '—';
    color: var(--light-blue);
    margin-right: 6px;
    font-weight: 300;
}

.company-signature {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.company-name {
    font-size: 1rem; /* Smaller font */
    font-weight: 700;
    color: var(--light-blue);
    letter-spacing: 1.5px;
}

.signature-title {
    font-size: 0.75rem; /* Much smaller font */
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design for Welcome Section */
@media (max-width: 992px) {
    .welcome-section {
        padding: 30px 0;
    }
    
    .welcome-content-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .welcome-image-wrapper {
        max-width: 380px; /* Increased from 250px */
    }
    
    .welcome-header {
        margin-bottom: 20px !important;
    }
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 25px 0;
    }
    
    .welcome-content-grid {
        gap: 20px;
    }
    
    .welcome-image-wrapper {
        max-width: 320px; /* Increased from 200px */
    }
    
    .welcome-greeting {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .welcome-main-message p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .partners-names {
        text-align: center;
    }
    
    .company-signature {
        text-align: center;
    }
    
    .welcome-header {
        margin-bottom: 15px !important;
    }
}

@media (max-width: 480px) {
    .welcome-section {
        padding: 20px 0;
    }
    
    .welcome-greeting {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .welcome-main-message p {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .founding-partners-signature {
        margin-top: 15px;
    }
    
    .welcome-header {
        margin-bottom: 12px !important;
    }
    
    .welcome-image-wrapper {
        max-width: 280px; /* Increased from 180px */
    }

    
}


