/* Root Variables */
:root {
    --primary-color: #2584C4;
    --secondary-color: #2D4359;
    --accent-color: #00CC52;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --light-color: #f8f9fa;
    --dark-color: #1A1D21;
    --gray-color: #7f8c8d;
    --shadow: 0 5px 15px rgba(0,0,0,0.05);
    --hover-shadow: 0 15px 30px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --border-radius: 5px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Prevent blue highlight on mobile touch */
a, button, input, select, textarea, [role="button"] {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    text-decoration: none;
}

/* Prevent text selection */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection only in specific areas if needed */
.selectable-text {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Make all images non-draggable */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #1A1D21;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Side Panel */
.side-panel {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 43px;
    background: linear-gradient(to bottom, #2584C4, #00CC52);
    z-index: 98;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 1.5rem 0;
}

/* Side panel dropdown toggle */
.side-dropdown-toggle {
    background: none;
    border: none;
    color: white;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    position: relative;
}

.side-dropdown-toggle i {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.side-dropdown-toggle .fa-plus {
    position: relative;
}

.side-dropdown-toggle .fa-chevron-down {
    position: relative;
    transition: transform 0.3s ease;
}

.side-dropdown-toggle:hover {
    color: #1A1D21;
}

.side-dropdown-toggle.active .fa-plus {
    transform: rotate(90deg);
}

.side-dropdown-toggle.active .fa-chevron-down {
    transform: rotate(180deg);
}

/* Side panel dropdown content */
.side-dropdown-content {
    visibility: hidden;
    opacity: 0;
    height: 0;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, height 0.3s ease;
}

.side-dropdown-content.active {
    visibility: visible;
    opacity: 1;
    height: auto;
    display: flex;
}

/* Initial state for icons */
.side-dropdown-content .side-icon {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Animation for each icon when dropdown is active */
.side-dropdown-content.active .side-icon:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.side-dropdown-content.active .side-icon:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.side-dropdown-content.active .side-icon:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.side-dropdown-content.active .side-icon:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.side-dropdown-content.active .side-icon:nth-child(5) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.side-panel .logo-link {
    position: relative;
    width: 35px;
    height: 35px;
    display: block;
}

/* Circle background */
.side-panel .logo-link::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    top: 15px;
    left: 5px;
    background: #2584C4;
    border-radius: 50%;
    z-index: 0;
    box-shadow: 0 0 10px 3px rgba(37, 132, 196, 0.7);
    animation: pulse-hub 3s infinite ease-in-out;
}

/* Network node spokes */
.side-panel .logo-link::after {
    display: none;
}

.side-panel .logo-small {
    width: 35px;
    height: 35px;
    padding: 0;
    background-color: transparent;
    transition: transform 0.3s ease, filter 0.3s ease;
    margin-bottom: 2rem;
    margin-top: 0.5rem !important;
    position: relative;
    z-index: 2;
    filter:  
           drop-shadow(0 0 2px rgba(0, 0, 0, 0.8));
} 

@keyframes pulse-hub {
    0% {
        box-shadow: 0 0 10px 3px rgba(37, 132, 196, 0.7);
    }
    50% {
        box-shadow: 0 0 15px 5px rgba(37, 132, 196, 0.9);
    }
    100% {
        box-shadow: 0 0 10px 3px rgba(37, 132, 196, 0.7);
    }
}

.side-panel a:hover .logo-small {
    transform: scale(1.1);
 }

.side-panel a:hover .logo-link::before {
    box-shadow: 0 0 15px 5px rgba(37, 132, 196, 0.9);
    animation: none;
}

.side-icons, .side-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 1.5rem;
}

.side-icons {
    margin-bottom: auto;
}

.side-social {
    margin-top: auto;
}

.side-icon {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 0.5rem;
}

.side-icon:hover {
    color: #1A1D21;
}

.side-icon:not(.logo-icon):hover::after {
    content: '';
    position: absolute;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: white;
}

.side-icon:not(.logo-icon)::before {
    content: attr(title);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background-color: #1A1D21;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 99;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.side-icon:hover::before {
    opacity: 1;
    visibility: visible;
    left: calc(100% + 10px);
}

.side-text {
    display: none;
}

/* Main container with side panel */
.main-container {
    padding-left: 43px;
    width: 100%;
    min-height: 100vh;
    background-color: #1A1D21;
}

/* Main Content */
main {
    padding: 0 0 0 0;
    flex: 1;
}

/* Hero Section Styles */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 0;
    background: linear-gradient(to right, #1A1D21 40%, rgba(26, 29, 33, 0.9) 75%);
    color: white;
    position: relative;
    overflow: hidden;
    transition: background 1.5s ease;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 29, 33, 0.95) 10%, rgba(26, 29, 33, 0.6) 40%), url('../images/hero-pattern.svg');
    opacity: 0.2;
    pointer-events: none;
    animation: bgPan 30s linear infinite;
}

.particle-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    background: linear-gradient(to right, #1A1D21 15%, transparent 35%);
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #00CC52;
    border-radius: 50%;
    opacity: 0.6;
}

.particle:nth-child(odd) {
    background-color: #2584C4;
}

@keyframes floating {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-15px) translateX(10px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

/* Generate 20 particles with different positions and animations */
.particle:nth-child(1) { top: 10%; left: 20%; animation: floating 7s infinite ease-in-out; }
.particle:nth-child(2) { top: 30%; left: 80%; animation: floating 5s infinite ease-in-out; }
.particle:nth-child(3) { top: 50%; left: 30%; animation: floating 8s infinite ease-in-out; }
.particle:nth-child(4) { top: 70%; left: 60%; animation: floating 6s infinite ease-in-out; }
.particle:nth-child(5) { top: 20%; left: 40%; animation: floating 9s infinite ease-in-out; }
.particle:nth-child(6) { top: 80%; left: 10%; animation: floating 7s infinite ease-in-out; }
.particle:nth-child(7) { top: 40%; left: 70%; animation: floating 8s infinite ease-in-out; }
.particle:nth-child(8) { top: 60%; left: 20%; animation: floating 6s infinite ease-in-out; }
.particle:nth-child(9) { top: 10%; left: 60%; animation: floating 9s infinite ease-in-out; }
.particle:nth-child(10) { top: 30%; left: 30%; animation: floating 7s infinite ease-in-out; }
.particle:nth-child(11) { top: 50%; left: 80%; animation: floating 6s infinite ease-in-out; }
.particle:nth-child(12) { top: 70%; left: 40%; animation: floating 8s infinite ease-in-out; }
.particle:nth-child(13) { top: 90%; left: 70%; animation: floating 9s infinite ease-in-out; }
.particle:nth-child(14) { top: 20%; left: 20%; animation: floating 7s infinite ease-in-out; }
.particle:nth-child(15) { top: 40%; left: 50%; animation: floating 8s infinite ease-in-out; }
.particle:nth-child(16) { top: 60%; left: 80%; animation: floating 6s infinite ease-in-out; }
.particle:nth-child(17) { top: 80%; left: 30%; animation: floating 9s infinite ease-in-out; }
.particle:nth-child(18) { top: 10%; left: 90%; animation: floating 7s infinite ease-in-out; }
.particle:nth-child(19) { top: 50%; left: 10%; animation: floating 8s infinite ease-in-out; }
.particle:nth-child(20) { top: 90%; left: 50%; animation: floating 6s infinite ease-in-out; }

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    padding: 0 4rem 0 2rem;
}

.hero-content {
    width: 45%;
    padding-right: 2rem;
    max-width: 600px;
}

.hero-image {
    width: 55%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20px;
    width: 60%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
    transform: rotateX(60deg) translateZ(-50px);
    animation: shadowPulse 8s ease-in-out infinite;
    filter: blur(5px);
}

@keyframes shadowPulse {
    0% {
        opacity: 0.5;
        transform: rotateX(60deg) translateZ(-50px) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: rotateX(60deg) translateZ(-50px) scale(1.2);
    }
    100% {
        opacity: 0.5;
        transform: rotateX(60deg) translateZ(-50px) scale(1);
    }
}

.hero-image-item {
    max-width: 400px;
    height: auto;
    position: absolute;
    opacity: 0;
    transform: scale(0.9) translateY(20px) rotateX(10deg);
    transition: opacity 1.5s cubic-bezier(0.215, 0.61, 0.355, 1), 
                transform 1.5s cubic-bezier(0.215, 0.61, 0.355, 1),
                filter 1.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
    z-index: 1;
    transform-origin: center center;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, opacity, filter;
}

.hero-image-item.active {
    opacity: 1;
    transform: scale(1) translateY(0) rotateX(0);
    animation: floatImage 8s ease-in-out infinite;
}

.engineer-image, .robot-image {
    max-height: 80vh;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.hero-tag {
    color: #00CC52;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-logo {
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.hero-logo img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.animated-heading {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.animated-heading .static-text {
    display: block;
    margin-bottom: 0.2rem;
}

.typewriter {
    color: #00CC52;
    font-weight: 700;
}

.cursor {
    color: #00CC52;
    font-weight: 700;
    animation: blink 0.75s step-end infinite;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 560px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    gap: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.hero-btn i {
    font-size: 1rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: all 0.6s ease;
    z-index: -1;
}

.primary-btn {
    background: linear-gradient(135deg, #2584C4, #00CC52);
    color: white;
    border: none;
}

.secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.hero-btn:hover::before {
    transform: translateX(100%);
}

.hero-btn:hover i {
    transform: translateX(3px) scale(1.2);
}

.primary-btn:hover {
    background: linear-gradient(135deg, #00CC52, #2584C4);
    color: white;
}

.secondary-btn:hover {
    border-color: white;
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: #00CC52;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 2;
    color: white;
}

.scroll-indicator i {
    font-size: 1.2rem;
}

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

/* Features Section Styles */
.features {
    background-color: #1A1D21;
    padding: 6rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.features-bg-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(0, 204, 82, 0.1) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #2584C4, #00CC52);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.section-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #2584C4, #00CC52);
    margin: 0 auto;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(45, 67, 89, 0.6);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 132, 196, 0.1), rgba(0, 204, 82, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

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

.feature-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.icon-blob {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2584C4, #00CC52);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blob-animation 8s infinite ease-in-out;
    opacity: 1;
    filter: blur(0px);
    transition: all 0.4s ease;
}

@keyframes blob-animation {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
    25% {
        border-radius: 50% 50% 40% 60% / 60% 40% 50% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    75% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

.feature-card:hover .icon-blob {
    transform: scale(1.1);
    filter: blur(2px);
}

.feature-icon-wrapper i {
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.feature-card h3 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: center;
}

.feature-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #00CC52;
    border: 1px solid #00CC52;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 10px;
}

.feature-btn span {
    position: relative;
}

.feature-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.feature-btn:hover {
    background-color: #00CC52;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 204, 82, 0.3);
}

.feature-btn:hover i {
    transform: translateX(4px);
}

/* About Section Styles */
.about {
    padding: 6rem 0;
    background-color: #1A1D21;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-bg-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 70%;
    background: radial-gradient(circle at 20% 80%, rgba(37, 132, 196, 0.1) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #2584C4, #00CC52);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.highlight-icon i {
    color: white;
    font-size: 1.3rem;
}

.highlight-text h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.highlight-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.stats-container {
    position: relative;
}

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

.stat-item {
    background: rgba(45, 67, 89, 0.6);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #2584C4, #00CC52);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

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

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
    position: relative;
}

.stat-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2584C4 30%, #00CC52 70%);
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 2s infinite;
}

.stat-icon i {
    font-size: 1.8rem;
    color: #00CC52;
    position: relative;
    z-index: 1;
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    transition: all 0.3s ease;
}

.stat-item:hover .counter {
    color: #00CC52;
}

.plus, .slash, .percent {
    font-size: 2.5rem;
    color: #00CC52;
    font-weight: 700;
    margin-left: 2px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0 0;
    font-size: 1rem;
    font-weight: 500;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.4;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.2;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

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

/* Default style for animate-on-scroll elements before they animate */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.5s ease;
}

/* Animation Classes */
.animate-on-scroll.fade-in,
.animate-on-scroll.slide-in-left,
.animate-on-scroll.slide-in-right,
.animate-on-scroll.slide-in-up {
    opacity: 1;
}

.slide-in-left {
    animation: slideInLeft 1s ease-in-out;
}

.slide-in-right {
    animation: slideInRight 1s ease-in-out;
}

.slide-in-up {
    animation: slideInUp 1s ease-in-out;
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

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

@keyframes bgPan {
    from { background-position: 0% 0%; }
    to { background-position: 200% 200%; }
}

/* Typewriter wrapper styles */
.typewriter-wrapper {
    display: block;
    color: #00CC52;
    font-weight: 700;
    line-height: 1.2;
    max-width: 100%;
}

#typewriter {
    color: #00CC52;
    font-weight: 700;
    font-size: 0.9em;
    white-space: normal;
    display: inline-block;
}

.cursor {
    color: #00CC52;
    font-weight: 700;
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes floatImage {
    0% {
        transform: translateY(0) rotateY(0deg) rotateX(0deg) scale(1);
        filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
    }
    25% {
        transform: translateY(-10px) rotateY(2deg) rotateX(-1deg) scale(1.02);
        filter: drop-shadow(0 15px 20px rgba(0,0,0,0.3));
    }
    50% {
        transform: translateY(-15px) rotateY(0deg) rotateX(2deg) scale(1.05);
        filter: drop-shadow(0 20px 25px rgba(0,0,0,0.4));
    }
    75% {
        transform: translateY(-10px) rotateY(-2deg) rotateX(1deg) scale(1.02);
        filter: drop-shadow(0 15px 20px rgba(0,0,0,0.3));
    }
    100% {
        transform: translateY(0) rotateY(0deg) rotateX(0deg) scale(1);
        filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
    }
}

.hero-image-item.active {
    opacity: 1;
    transform: scale(1) translateY(0) rotateX(0);
    animation: floatImage 8s ease-in-out infinite;
}

/* Initially hidden elements */
.initially-hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.initially-hidden.visible {
    opacity: 1;
    visibility: visible;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hub-icon {
    display: inline-block;
    width: 35px;
    height: 35px;
}

.we-help-you-to {
    animation: fadeIn 18s;
}
@media (max-width: 768px) {
    .hero .container {
        padding-top: 7rem; /* Increase to ensure clearance */
        padding: 7rem 1rem 3rem;
    }
    .scroll-indicator {
        display: none;
    }
}
/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 0;
    }
    
    .hero .container {
        flex-direction: column-reverse;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    
    .hero-content,
    .hero-image {
        width: 100%;
        padding-right: 0;
    }
    
    .hero-content {
        margin-top: 1rem;
        text-align: center;
    }
    
    .animated-heading {
        font-size: 2.8rem;
    }
    
    .typewriter-wrapper {
        display: block;
        margin-top: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin: 1rem auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
    
    .hero-image-wrapper {
        min-height: 300px;
    }
    
    .hero-image-item {
        max-width: 280px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-text {
        order: 1;
    }
    
    .stats-container {
        order: 2;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
 
    .main-container {
        padding-left: 40px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-image-wrapper {
        min-height: 250px;
    }
    
    .hero-image-item {
        max-width: 220px;
    }
    
    .hero-image {
        margin-bottom: 2rem;
    }
    
    .typewriter-wrapper {
        display: block;
        margin-top: 0.5rem;
    }
    
    #typewriter {
        color: #00CC52;
    }
    
    .hero .container {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-content {
        width: 100%;
        text-align: left;
    }
    
    .hero-image {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .animated-heading {
        font-size: 2.3rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-tag {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hub-icon {
        font-size: 28px;
        width: 32px;
        height: 32px;
        margin-bottom: 2rem;
    }
}.hero {
    height: auto; /* Fallback for older browsers */
    min-height: 100vh; /* Ensure it takes at least full height */
    min-height: 100dvh; /* Use dynamic viewport height for modern browsers */
}

/* Ensure mobile adjustments use min-height */
@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 0;
    }
}@media (max-width: 768px) {
    .hero-content {
        width: 100%;
        text-align: center; /* Center for better mobile presentation */
    }
}.hero-image {
    width: 55%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px; /* Ensure space even if image fails to load */
}

@media (max-width: 992px) {
    .hero-image {
        width: 100%;
        min-height: 150px;
        margin-bottom: 2rem;
    }
}