/* Hide default cursor */
body {
    cursor: none;
    margin: 0;
    padding: 0;
    background-color: #000000;
    overflow: hidden;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Custom cursor styles */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid #6FB6E8;
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    transition: transform 0.1s ease, border-color 0.3s ease, width 0.3s ease, height 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background-color: #6FB6E8;
    border-radius: 50%;
    pointer-events: none;
    z-index: 100001;
    transition: transform 0.05s ease;
    mix-blend-mode: difference;
}

.cursor-hover {
    transform: scale(1.5);
    border-color: #FFFFFF;
    background-color: rgba(111, 182, 232, 0.1);
}

.cursor-click {
    transform: scale(0.8);
    border-color: #FFFFFF;
}

#magic {
    position: fixed;
    width: 100%;
    height: 110%;
    display: block;
    top: -100px;
    left: 0;
    z-index: -9999;
    background-color: #000000;
}

#magic canvas {
    position: absolute;
    top: 0;
    left: 0;
}

#magic canvas {
    transition: opacity 1s ease;
}

.php-image {
    position: absolute;
    width: 180px;
    height: auto;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.85;
    filter: drop-shadow(0 0 15px rgba(0, 149, 255, 0.6));
    z-index: 1000;
    pointer-events: auto;
}

.php-image:hover {
    transform: scale(1.15);
    opacity: 1;
    filter: drop-shadow(0 0 25px rgba(0, 149, 255, 0.9));
}

/* Floating animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(2deg);
    }

    66% {
        transform: translateY(10px) rotate(-2deg);
    }
}

.php-image.float {
    animation: float 8s ease-in-out infinite;
}

.php-image.float-slow {
    animation: float 12s ease-in-out infinite;
}

.php-image.float-fast {
    animation: float 6s ease-in-out infinite;
}

.php-image.float-very-slow {
    animation: float 15s ease-in-out infinite;
}

/* Push Button CSS - Center Bottom Position */
.push-button {
    display: inline-block;
    position: fixed;
    height: 50px;
    min-width: 110px;
    line-height: 50px;
    text-transform: uppercase;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    letter-spacing: .1em;
    color: #161611;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition: opacity .05s;
    will-change: opacity, transform;
    bottom: 90px;
    left: 48%;
    transform: translateX(-50%);
    cursor: pointer;
    text-decoration: none;
    z-index: 10000;
}

.push-button.is-visible.is-active {
    opacity: 1;
    pointer-events: auto;
}

.push-button.is-visible {
    opacity: 1;
}

.push-button.is-active .hover-inner,
.push-button.is-active .hover {
    transform: translateX(0);
}

.push-button.is-active .background {
    transform: translateX(10px);
}

.push-button.is-active:hover .background {
    transform: translateX(100%) translateX(10px);
    transition-duration: .5s;
}

.push-button.is-active:hover .label {
    transform: translateX(50px);
    transition-delay: 0s;
}

.push-button.is-active:hover .stroke {
    transform: scaleX(1);
    transition-delay: .05s;
}

.push-button .overflow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-left: 38px;
    padding-right: 80px;
    overflow: hidden;
}

.push-button .stroke {
    display: block;
    position: absolute;
    top: 50%;
    width: 31px;
    height: 1px;
    background: #000;
    transform: translateX(-15px) scaleX(.001) translateZ(0);
    transform-origin: 0 0;
    transition: transform .5s cubic-bezier(.75, 0, .25, 1);
    will-change: transform;
}

.push-button .label {
    display: inline-block;
    position: relative;
    z-index: 2;
    transform: translateX(0);
    transition: transform .5s cubic-bezier(.75, 0, .25, 1) .1s;
    will-change: transform;
}

.push-button .hover {
    display: block;
    overflow: hidden;
    transform: translateX(-100%) translateX(10px);
}

.push-button .hover-inner,
.push-button .hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform .5s cubic-bezier(.75, 0, .25, 1);
    will-change: transform;
}

.push-button .hover-inner {
    background: #6FB6E8;
    padding-left: 38px;
    transform: translateX(100%) translateX(-10px);
}

.push-button .background {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 10px);
    height: 100%;
    background: #fff;
    transform: translateX(-100%);
    transition: transform .8s cubic-bezier(.75, 0, .25, 1) .1s;
    will-change: transform;
}

.push-button .noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIiB4PSIwIiB5PSIwIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjc0IiBudW1PY3RhdmVzPSIxMCIgc3RpdGNoVGlsZXM9InN0aXRjaCI+PC9mZVR1cmJ1bGVuY2U+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCI+PC9mZUNvbG9yTWF0cml4PjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIiBmaWx0ZXI9InVybCgjYSkiIG9wYWNpdHk9IjAuMDUiPjwvcmVjdD48L3N2Zz4=');
    opacity: 0;
    pointer-events: none;
}

.push-button:hover .rgb-offset {
    opacity: 1;
}

.push-button:hover .noise {
    opacity: 1;
}

.push-button:hover .rgb-offset.red {
    transform: translateX(1px) translateY(-1px);
}

.push-button:hover .rgb-offset.green {
    transform: translateX(-1px) translateY(1px);
}

/* Slogan Styling */
.slogan-container {
    position: fixed;
    top: 73%;
    left: 51%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    text-align: center;
    width: 100%;
    pointer-events: none;
}

.slogan-text {
    font-size: 3.5rem;
    font-weight: 800;
    color: #6FB6E8;
    margin-bottom: 20px;
    letter-spacing: 2px;
    line-height: 1.2;
    /* Text Border/Outline Effect */
    -webkit-text-stroke: 1px rgba(160, 208, 243, 0.9);
    -webkit-text-fill-color: transparent;
}

@keyframes borderPulse {

    0%,
    100% {
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.9);
        text-shadow: 0 0 3px rgba(0, 149, 255, 0.5), 0 0 5px rgba(0, 149, 255, 0.3);
    }

    50% {
        -webkit-text-stroke: 1.5px rgb(255, 255, 255);
        text-shadow: 0 0 5px rgba(0, 149, 255, 0.7), 0 0 8px rgba(0, 149, 255, 0.5);
    }
}

/* Logo Styling */
.logo {
    position: fixed;
    width: 350px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    filter: drop-shadow(0 0 20px rgba(0, 149, 255, 0.7));
}

/* Content Container */
.content-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding-bottom: 20px;
}

.text-content {
    text-align: center;
}

/* Animations */
@keyframes glowPulse {

    0%,
    100% {
        text-shadow: 0 0 15px rgba(111, 182, 232, 0.6), 0 0 30px rgba(45, 143, 213, 0.4);
    }

    50% {
        text-shadow: 0 0 25px rgba(111, 182, 232, 0.8), 0 0 50px rgba(45, 143, 213, 0.6);
    }
}

@keyframes buttonPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(111, 182, 232, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(111, 182, 232, 0.7);
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Add to your existing CSS */
.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: all 0.8s ease !important;
}

/* Updated Black Screen with particles and camera movement effect */
.screen-black {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.5s ease;
    overflow: hidden;
    perspective: 1000px;
}

.screen-black {
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.screen-black.active {
    opacity: 1;
    pointer-events: all;
}

/* Camera view container for the 3D effect */
.camera-view {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: translateZ(-1000px) scale(3);
}

/* Final blue background animation */
.final-blue-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            #000000 0%,
            #001122 25%,
            #002244 50%,
            #003366 75%,
            #004488 100%);
    z-index: -1;
    opacity: 0;
    animation: fadeInBackground 2s ease-in-out forwards;
}

.final-blue-bg.active {
    opacity: 1;
}

/* ======================================================= */
/* UPDATED DUST PARTICLE STYLES - LARGER DOTS */
/* ======================================================= */

.dust-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    transform-style: preserve-3d;
    pointer-events: none;
}

/* Larger dust particles */
.dust-particle.tiny {
    width: 4px;
    /* වැඩි කලා */
    height: 4px;
    background: #6FB6E8;
    box-shadow: 0 0 3px #6FB6E8;
}

.dust-particle.very-small {
    width: 6px;
    /* වැඩි කලා */
    height: 6px;
    background: #6FB6E8;
    box-shadow: 0 0 4px #6FB6E8;
}

.dust-particle.small {
    width: 8px;
    /* වැඩි කලා */
    height: 8px;
    background: #6FB6E8;
    box-shadow: 0 0 5px #6FB6E8;
}

.dust-particle.medium {
    width: 12px;
    /* වැඩි කලා */
    height: 12px;
    background: #6FB6E8;
    box-shadow: 0 0 6px #6FB6E8;
}

.dust-particle.large {
    width: 16px;
    /* නව size එකක් */
    height: 16px;
    background: #6FB6E8;
    box-shadow: 0 0 8px #6FB6E8;
}

/* Some particles with slight glow */
.dust-particle.glowy {
    box-shadow: 0 0 10px rgba(111, 182, 232, 0.9),
        0 0 20px rgba(0, 149, 255, 0.5);
}

/* Even more glowing particles */
.dust-particle.very-glowy {
    box-shadow: 0 0 15px rgba(111, 182, 232, 1),
        0 0 30px rgba(0, 149, 255, 0.7),
        0 0 45px rgba(111, 182, 232, 0.3);
}

/* Depth layers for particles */
.particle-layer-1 {
    z-index: 1;
}

.particle-layer-2 {
    z-index: 2;
}

.particle-layer-3 {
    z-index: 3;
}

.particle-layer-4 {
    z-index: 4;
}

/* Camera movement animations */
@keyframes cameraMoveThrough {
    0% {
        transform: translateZ(-1000px) scale(3);
    }

    70% {
        transform: translateZ(100px) scale(1);
    }

    100% {
        transform: translateZ(0) scale(1);
    }
}

@keyframes dustStream {
    0% {
        transform: translate3d(0, 0, -300px) scale(0.05);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translate3d(0, 0, 1000px) scale(1.5);
        opacity: 0;
    }
}

/* Light streaks effect */
.light-streak {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #6FB6E8, transparent);
    opacity: 0;
    transform-origin: center top;
}

/* Blue Dust Particles Effect */
.particles-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100001;
    opacity: 1;
    transform-style: preserve-3d;
}

/* Ensure all elements can be hidden */
.logo,
.slogan-container,
.php-image,
.content-container,
#magic,
.custom-cursor,
.cursor-dot {
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Optimize performance */
* {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.dust-particle,
.light-streak,
.camera-view {
    will-change: transform, opacity;
}

/* Hide scrollbar during transition */
body.transitioning {
    overflow: hidden;
}

/* Simple final logo styling */
.final-logo-container {
    position: absolute;
    top: 150px;
    left: 330px;
    z-index: 100002;
    opacity: 0;
    /* Start with opacity 0 */
    pointer-events: none;
    text-align: left;
    will-change: opacity;
    /* Only animate opacity */
}

.final-logo {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 149, 255, 0.8));
    /* No animation properties here */
}

/* Responsive adjustments for final logo */
@media (max-width: 768px) {
    .final-logo-container {
        top: 100px;
        left: 50px;
    }

    .final-logo {
        width: 150px;
    }
}

/* About Section Styling - Fixed 800x450 - No Border, No Background */
#about-section {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 450px;
    /* No background color, no border */
    z-index: 100003;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    pointer-events: all;
}

#about-section.visible {
    opacity: 1;
    visibility: visible;
}

/* About Container */
.about-container {
    display: flex;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: transparent;
}

/* Left Side - About Content */
.about-content {
    flex: 3;
    padding: 25px 20px;
    overflow-y: auto;
    color: #fff;
    background: transparent;
}

/* Hide scrollbar */
.about-content::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

/* Animation classes for content */
.content-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.content-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-header {
    margin-bottom: 25px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.about-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #6FB6E8, #0095ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(111, 182, 232, 0.3);
}

.about-header .tagline {
    font-size: 1.1rem;
    color: #8AC7FF;
    margin-top: 8px;
    font-style: italic;
    opacity: 0.9;
}

/* Sections with glass effect */
.about-section {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(111, 182, 232, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.about-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-section h2 {
    color: #6FB6E8;
    font-size: 1.3rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px rgba(111, 182, 232, 0.3);
}

.about-section h2 i {
    font-size: 1.2rem;
}

.about-section p {
    line-height: 1.6;
    color: #e6f2ff;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.service-card {
    background: rgba(111, 182, 232, 0.1);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(111, 182, 232, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
}

.service-card.visible {
    opacity: 1;
    transform: scale(1);
}

.service-card:hover {
    background: rgba(111, 182, 232, 0.2);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(111, 182, 232, 0.2);
    border-color: #6FB6E8;
}

.service-card h3 {
    color: #6FB6E8;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 600;
}

.service-card p {
    font-size: 0.85rem;
    color: #b3d9ff;
    margin-bottom: 0;
}

/* Right Side - Stats and Contact */
.about-sidebar {
    flex: 1;
    min-width: 200px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: transparent;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-item {
    text-align: center;
    padding: 15px 10px;
    background: rgba(111, 182, 232, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(111, 182, 232, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.stat-item.visible {
    opacity: 1;
    transform: scale(1);
}

.stat-item:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: #6FB6E8;
    box-shadow: 0 8px 15px rgba(111, 182, 232, 0.3);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #6FB6E8;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(111, 182, 232, 0.3);
}

.stat-label {
    color: #8AC7FF;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Info */
.contact-info {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.3s;
}

.contact-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-info h3 {
    color: #6FB6E8;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(111, 182, 232, 0.3);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(111, 182, 232, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.contact-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-item:nth-child(2) {
    transition-delay: 0.1s;
}

.contact-item:nth-child(3) {
    transition-delay: 0.2s;
}

.contact-item:hover {
    background: rgba(111, 182, 232, 0.1);
    transform: translateX(5px);
    border-color: rgba(111, 182, 232, 0.3);
}

.contact-item i {
    color: #6FB6E8;
    font-size: 1rem;
    width: 24px;
    text-align: center;
}

.contact-item span {
    color: #e6f2ff;
    font-size: 0.85rem;
    flex: 1;
}

/* REMOVED: Explore Button styles */

/* Responsive adjustments */
@media (max-width: 850px) {
    #about-section {
        width: 95vw;
        height: 90vh;
        max-width: 800px;
        max-height: 450px;
    }

    .about-container {
        flex-direction: column;
    }

    .about-sidebar {
        border-top: 1px solid rgba(111, 182, 232, 0.2);
        padding: 15px;
    }
}

/* Entrance Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

#about-section.visible {
    animation: slideInUp 0.6s ease forwards;
}

/* Glow effect for cards */
@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(111, 182, 232, 0.2);
    }

    50% {
        box-shadow: 0 0 15px rgba(111, 182, 232, 0.4);
    }
}

.service-card,
.stat-item {
    animation: glowPulse 3s infinite ease-in-out;
}

/* Floating animation for header */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.about-header h1 {
    animation: float 6s ease-in-out infinite;
}

/* Add to existing CSS */
/* Enhanced Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) skewX(-5deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) skewX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px) skewX(5deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) skewX(0);
    }
}

/* Image hover effects */
.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateZ(0);
}

.about-image:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 25px 50px rgba(111, 182, 232, 0.3),
        0 0 100px rgba(111, 182, 232, 0.1);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(111, 182, 232, 0.1) 0%,
            rgba(0, 149, 255, 0.05) 50%,
            transparent 100%);
    border-radius: 12px;
    pointer-events: none;
}

/* Enhanced service cards */
.service-card.animated {
    animation: serviceCardFloat 6s ease-in-out infinite;
}

@keyframes serviceCardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Timeline style for achievements */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom,
            transparent 0%,
            #6FB6E8 10%,
            #6FB6E8 90%,
            transparent 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-left: 20px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 8px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #6FB6E8;
    box-shadow: 0 0 0 5px rgba(111, 182, 232, 0.2),
        0 0 0 10px rgba(111, 182, 232, 0.1);
}

.timeline-year {
    color: #6FB6E8;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(111, 182, 232, 0.3);
}

.timeline-content {
    color: #e6f2ff;
    line-height: 1.6;
}

/* Image gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            transparent 50%,
            rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Team member cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.team-member {
    text-align: center;
    padding: 20px 15px;
    background: rgba(111, 182, 232, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(111, 182, 232, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
}

.team-member.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-member:hover {
    transform: translateY(-10px);
    background: rgba(111, 182, 232, 0.2);
    border-color: #6FB6E8;
    box-shadow: 0 15px 30px rgba(111, 182, 232, 0.3);
}

.member-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(111, 182, 232, 0.3);
    transition: all 0.3s ease;
}

.team-member:hover .member-image {
    border-color: #6FB6E8;
    transform: scale(1.1);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    color: #6FB6E8;
    font-weight: 600;
    margin-bottom: 5px;
}

.member-role {
    color: #8AC7FF;
    font-size: 0.9rem;
}

/* Progress bars */
.skill-item {
    margin-bottom: 20px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-name {
    color: #e6f2ff;
    font-size: 0.95rem;
}

.skill-percentage {
    color: #6FB6E8;
    font-weight: bold;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg,
            #6FB6E8 0%,
            #0095ff 100%);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 100%);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Add this to your existing CSS file */

/* Hero Image Styling */
.hero-image {
    margin: 20px 0 30px 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    height: 180px;
    /* Fixed height for consistency */
    width: 100%;
    /* Full width of container */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    border: 1px solid #006fbe48;
}

.hero-image.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This ensures the image covers the container properly */
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-image:hover img {
    transform: scale(1.05);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(111, 182, 232, 0.1) 0%,
            rgba(0, 149, 255, 0.05) 50%,
            transparent 100%);
    border-radius: 12px;
    pointer-events: none;
}

/* ======================================================= */
/* SPIRAL ARROW BUTTONS - BOTH OUTSIDE                    */
/* ======================================================= */

/* Common button styles for BOTH outside buttons */
.spiral-button {
    position: fixed;
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid rgba(111, 182, 232, 0.9);
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100004;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    margin-top: 400px;
}

.spiral-button.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.spiral-button:hover {
    border-color: #ffffff;
    box-shadow:
        0 0 25px rgba(111, 182, 232, 0.6),
        inset 0 0 20px rgba(111, 182, 232, 0.2);
    transform: rotate(360deg);
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.spiral-button:active {
    transform: rotate(360deg) scale(0.95);
    transition: transform 0.2s ease;
}

/* Back button (←) - TOP LEFT */
.spiral-button-back {
    top: 20px;
    left: 50px;
}

/* Forward button (→) - TOP RIGHT */
.spiral-button-forward {
    top: 20px;
    right: 50px;
}

/* Arrow styles */
.spiral-arrow {
    color: #6FB6E8;
    font-size: 28px;
    font-weight: 300;
    transition: all 0.3s ease;
    display: block;
    line-height: 1;
}

.spiral-button:hover .spiral-arrow {
    color: #ffffff;
    transform: scale(1.1);
}

/* Animation for button entrance */
@keyframes spiralButtonEntrance {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }

    70% {
        transform: scale(1.1) rotate(10deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.spiral-button.animate-entrance {
    animation: spiralButtonEntrance 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Responsive adjustments */
@media (max-width: 850px) {
    .spiral-button {
        width: 50px;
        height: 50px;
        top: 15px;
    }

    .spiral-button-back {
        left: 15px;
    }

    .spiral-button-forward {
        right: 15px;
    }

    .spiral-arrow {
        font-size: 24px;
    }
}

/* Image Slider Styles */
.project-slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    /* margin: 20px 0 30px 0; */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(111, 182, 232, 0.3);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            transparent 100%);
    color: white;
}

.slide-title {
    font-size: 1.2rem;
    color: #6FB6E8;
    margin-bottom: 5px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-description {
    font-size: 0.9rem;
    color: #e6f2ff;
    opacity: 0.9;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(111, 182, 232, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: rgba(111, 182, 232, 1);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 15px rgba(111, 182, 232, 0.5);
}

.slider-btn:active {
    transform: scale(0.95);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #6FB6E8;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(111, 182, 232, 0.8);
}

.dot:hover {
    background: rgba(111, 182, 232, 0.6);
    transform: scale(1.3);
}

/* Slide Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide.animate {
    animation: slideIn 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .project-slider-container {
        height: 250px;
    }

    .slide-title {
        font-size: 1rem;
    }

    .slide-description {
        font-size: 0.8rem;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

/* ======================================================= */
/* SERVICE SECTION STYLES - About section style අනුවම      */
/* ======================================================= */

#service-section {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 550px;
    /* No background color, no border */
    z-index: 100003;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    pointer-events: all;
}

#service-section.visible {
    opacity: 1;
    visibility: visible;
}

/* Service Container */
.service-container {
    display: flex;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: transparent;
}

/* Left Side - Service Content */
.service-content {
    flex: 3;
    padding: 25px 20px;
    overflow-y: auto;
    color: #fff;
    background: transparent;
}

/* Hide scrollbar */
.service-content::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

/* Service Header */
.service-header {
    margin-bottom: 25px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.service-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #6FB6E8, #0095ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(111, 182, 232, 0.3);
}

.service-header .tagline {
    font-size: 1.1rem;
    color: #8AC7FF;
    margin-top: 8px;
    font-style: italic;
    opacity: 0.9;
}

/* Service Categories */
.service-category {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(111, 182, 232, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-category h2 {
    color: #6FB6E8;
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px rgba(111, 182, 232, 0.3);
}

/* Service Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.service-card {
    background: rgba(111, 182, 232, 0.1);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(111, 182, 232, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
}

.service-card.visible {
    opacity: 1;
    transform: scale(1);
}

.service-card:hover {
    background: rgba(111, 182, 232, 0.2);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(111, 182, 232, 0.2);
    border-color: #6FB6E8;
}

.service-card h3 {
    color: #6FB6E8;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-card h3 i {
    font-size: 1.2rem;
}

.service-card p {
    font-size: 0.85rem;
    color: #b3d9ff;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Service Features List */
.service-features {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.service-features li {
    color: #e6f2ff;
    font-size: 0.85rem;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.service-features li:before {
    content: "✓";
    color: #6FB6E8;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Right Side - Tech Stack & Contact */
.service-sidebar {
    flex: 1;
    min-width: 220px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: transparent;
}

/* Tech Stack */
.tech-stack-container {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.tech-stack-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.tech-stack-container h3 {
    color: #6FB6E8;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(111, 182, 232, 0.3);
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.tech-item {
    text-align: center;
    padding: 12px 8px;
    background: rgba(111, 182, 232, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(111, 182, 232, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    /* Fixed height for consistency */
    width: 100%;
    /* Full width of grid cell */
    box-sizing: border-box;
}

/* Ensure equal distribution */
.tech-stack-grid>* {
    min-width: 0;
    /* Prevent overflow */
}

/* Responsive - for smaller screens */
@media (max-width: 850px) {
    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Keep 2 columns on mobile */
        gap: 8px;
    }

    .tech-item {
        padding: 10px 6px;
        min-height: 55px;
    }
}

.tech-item.visible {
    opacity: 1;
    transform: scale(1);
}

.tech-item:hover {
    background: rgba(111, 182, 232, 0.2);
    transform: translateY(-3px);
    border-color: #6FB6E8;
}

.tech-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #6FB6E8;
}

.tech-label {
    color: #8AC7FF;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Process Steps */
.process-container {
    margin-top: 20px;
}

.process-steps {
    position: relative;
    padding-left: 30px;
}

.process-steps:before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            transparent 0%,
            #6FB6E8 10%,
            #6FB6E8 90%,
            transparent 100%);
}

.process-step {
    position: relative;
    margin-bottom: 20px;
    padding-left: 20px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateX(0);
}

.process-step:before {
    content: '';
    position: absolute;
    left: -30px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6FB6E8;
    box-shadow: 0 0 0 3px rgba(111, 182, 232, 0.2);
}

.process-step .step-number {
    color: #6FB6E8;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.process-step .step-content {
    color: #e6f2ff;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 850px) {
    #service-section {
        width: 95vw;
        height: 90vh;
        max-width: 800px;
        max-height: 550px;
    }

    .service-container {
        flex-direction: column;
    }

    .service-sidebar {
        border-top: 1px solid rgba(111, 182, 232, 0.2);
        padding: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================================= */
/* CONTACT SECTION STYLES - About section style අනුවම      */
/* ======================================================= */

#contact-section {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 550px;
    z-index: 100003;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    pointer-events: all;
}

#contact-section.visible {
    opacity: 1;
    visibility: visible;
}

/* Contact Container */
.contact-container {
    display: flex;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: transparent;
}

/* Left Side - Contact Form */
.contact-left {
    flex: 3;
    padding: 30px;
    overflow-y: auto;
    color: #fff;
    background: transparent;
    display: flex;
    flex-direction: column;
}

/* Right Side - Contact Info */
.contact-right {
    flex: 2;
    min-width: 250px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: transparent;
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(111, 182, 232, 0.3);
}

/* Contact Header */
.contact-header {
    margin-bottom: 25px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.contact-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #6FB6E8, #0095ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(111, 182, 232, 0.3);
}

.contact-header .tagline {
    font-size: 1.1rem;
    color: #8AC7FF;
    margin-top: 8px;
    font-style: italic;
    opacity: 0.9;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.form-group.visible {
    opacity: 1;
    transform: translateX(0);
}

.form-group label {
    display: block;
    color: #6FB6E8;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(111, 182, 232, 0.3);
    border-radius: 6px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-input:focus {
    outline: none;
    border-color: #6FB6E8;
    box-shadow: 0 0 15px rgba(111, 182, 232, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

/* Submit Button */
.submit-btn {
    margin-top: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #6FB6E8, #0095ff);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.submit-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0095ff, #6FB6E8);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(111, 182, 232, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Contact Info Cards */
.contact-info-card {
    background: rgba(111, 182, 232, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(111, 182, 232, 0.2);
    margin-bottom: 15px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.contact-info-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-info-card:hover {
    background: rgba(111, 182, 232, 0.15);
    transform: translateX(5px);
    border-color: #6FB6E8;
}

.contact-info-card h3 {
    color: #6FB6E8;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-card h3 i {
    font-size: 1.3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #e6f2ff;
    font-size: 0.9rem;
}

.contact-detail-item i {
    color: #6FB6E8;
    margin-top: 2px;
    min-width: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.4s;
}

.social-links.visible {
    opacity: 1;
    transform: translateY(0);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(111, 182, 232, 0.1);
    border: 1px solid rgba(111, 182, 232, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6FB6E8;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(111, 182, 232, 0.2);
    transform: translateY(-5px) rotate(10deg);
    color: #fff;
    border-color: #6FB6E8;
    box-shadow: 0 10px 15px rgba(111, 182, 232, 0.3);
}

/* Map Container */
.map-container {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(111, 182, 232, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.6s;
}

.map-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.map-placeholder {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, rgba(111, 182, 232, 0.2), rgba(0, 149, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6FB6E8;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 850px) {
    #contact-section {
        width: 95vw;
        height: 90vh;
        max-width: 800px;
        max-height: 550px;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-right {
        border-left: none;
        border-top: 1px solid rgba(111, 182, 232, 0.3);
        padding: 20px;
    }
}

/* Contact Form Container */
.contact-form-container {
    margin-top: 20px;
    height: calc(100% - 100px);
    overflow-y: auto;
    padding-right: 10px;
}

/* Hide scrollbar */
.contact-form-container::-webkit-scrollbar {
    width: 5px;
}

.contact-form-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.contact-form-container::-webkit-scrollbar-thumb {
    background: rgba(111, 182, 232, 0.5);
    border-radius: 10px;
}

/* Form Row for side-by-side inputs */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* Full width form group */
.form-group.full-width {
    width: 90%;
}

/* Contact Form Updates */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px 5px 30px 0;
}

.form-group {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.form-group.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Make sure contact section content scrolls */
.contact-left {
    flex: 3;
    padding: 30px;
    color: #fff;
    background: transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-header {
    margin-bottom: 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    flex-shrink: 0;
}

.contact-header.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments for contact form */
@media (max-width: 850px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .contact-form-container {
        height: auto;
        max-height: 400px;
    }
}

/* Contact sidebar scroll container */
.contact-sidebar-scroll {
    height: 100%;
    overflow-y: auto;
    padding-right: 10px;
    padding-bottom: 30px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.contact-sidebar-scroll::-webkit-scrollbar {
    width: 6px;
}

.contact-sidebar-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.contact-sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(111, 182, 232, 0.6);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-sidebar-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(111, 182, 232, 0.8);
}

/* Contact info cards */
.contact-info-card {
    background: rgba(111, 182, 232, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(111, 182, 232, 0.2);
    margin-bottom: 15px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
    backdrop-filter: blur(10px);
}

.contact-info-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-info-card:hover {
    background: rgba(111, 182, 232, 0.15);
    transform: translateX(5px) translateY(-2px);
    border-color: #6FB6E8;
    box-shadow: 0 8px 20px rgba(111, 182, 232, 0.2);
}

.contact-info-card h3 {
    color: #6FB6E8;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(111, 182, 232, 0.3);
    padding-bottom: 8px;
}

/* Contact details items */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #e6f2ff;
    font-size: 0.9rem;
    padding: 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.contact-detail-item:hover {
    background: rgba(111, 182, 232, 0.1);
    transform: translateX(3px);
}

.contact-detail-item i {
    color: #6FB6E8;
    font-size: 1rem;
    min-width: 24px;
    text-align: center;
    margin-top: 2px;
}

.contact-detail-item span {
    flex: 1;
    line-height: 1.4;
}

.contact-detail-item strong {
    color: #8AC7FF;
    font-weight: 600;
}

/* Social links card */
.social-links-card {
    background: rgba(111, 182, 232, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(111, 182, 232, 0.2);
    margin-bottom: 15px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
    backdrop-filter: blur(10px);
}

.social-links-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.social-links-card h3 {
    color: #6FB6E8;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(111, 182, 232, 0.3);
    padding-bottom: 8px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(111, 182, 232, 0.08);
    border-radius: 6px;
    border: 1px solid rgba(111, 182, 232, 0.15);
    color: #e6f2ff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.social-link:hover {
    background: rgba(111, 182, 232, 0.15);
    transform: translateY(-3px) scale(1.03);
    border-color: #6FB6E8;
    color: #fff;
}

.social-link i {
    font-size: 1.1rem;
    color: #6FB6E8;
}

/* Map container */
.map-container {
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(111, 182, 232, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.6s;
}

.map-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.map-container h3 {
    color: #6FB6E8;
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 15px 5px 15px;
}

.map-placeholder {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, rgba(111, 182, 232, 0.1), rgba(0, 149, 255, 0.05));
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-placeholder:hover {
    background: linear-gradient(135deg, rgba(111, 182, 232, 0.15), rgba(0, 149, 255, 0.1));
}

.map-icon {
    font-size: 2rem;
    color: #6FB6E8;
}

.map-info {
    flex: 1;
    color: #e6f2ff;
    font-size: 0.85rem;
}

.map-info p {
    margin: 2px 0;
}

.map-info .map-note {
    color: #8AC7FF;
    font-style: italic;
    font-size: 0.8rem;
    margin-top: 8px;
}

/* Responsive adjustments */
@media (max-width: 850px) {
    .contact-sidebar-scroll {
        height: 300px;
        max-height: 400px;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .contact-detail-item {
        font-size: 0.85rem;
    }
}

/* Animation for scroll reveal */
@keyframes fadeInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Service content scroll container */
.service-content-scroll {
    flex: 3;
    padding: 25px 20px;
    overflow-y: auto;
    color: #fff;
    background: transparent;
    height: 100%;
}

/* Service sidebar scroll container */
.service-sidebar-scroll {
    flex: 1;
    min-width: 220px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: transparent;
    height: 100%;
    overflow-y: auto;
}

/* Inner container for sidebar */
.service-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-bottom: 30px;
}

/* Hide scrollbars for cleaner look */
.service-content-scroll::-webkit-scrollbar,
.service-sidebar-scroll::-webkit-scrollbar {
    width: 6px;
}

.service-content-scroll::-webkit-scrollbar-track,
.service-sidebar-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.service-content-scroll::-webkit-scrollbar-thumb,
.service-sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(111, 182, 232, 0.6);
    border-radius: 10px;
}

.service-content-scroll::-webkit-scrollbar-thumb:hover,
.service-sidebar-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(111, 182, 232, 0.8);
}

/* Service card animations */
.service-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tech stack grid - equal columns */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Two equal columns */
    gap: 10px;
    margin-left: 8px;
}

.tech-column {
    /* No specific styles needed - grid will handle it */
    display: contents;
    /* This makes items go directly into the grid */
}

.tech-item {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.tech-item.visible {
    opacity: 1;
    transform: scale(1);
}

/* Process steps enhancements */
.process-step {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Industries container */
.industries-container {
    margin-top: 10px;
}

.industries-container h3 {
    color: #6FB6E8;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.industry-item {
    text-align: center;
    padding: 12px 8px;
    background: rgba(111, 182, 232, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(111, 182, 232, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.industry-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.industry-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.industry-label {
    color: #8AC7FF;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Certifications */
.certifications-container {
    margin-top: 10px;
}

.certifications-container h3 {
    color: #6FB6E8;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.certifications-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.certification-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(111, 182, 232, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(111, 182, 232, 0.2);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
}

.certification-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.cert-icon {
    color: #6FB6E8;
    font-size: 1.2rem;
}

.cert-details {
    display: flex;
    flex-direction: column;
}

.cert-details strong {
    color: #e6f2ff;
    font-size: 0.9rem;
}

.cert-details span {
    color: #8AC7FF;
    font-size: 0.8rem;
}

/* CTA Section */
.contact-cta {
    padding: 20px;
    background: linear-gradient(135deg, rgba(111, 182, 232, 0.15), rgba(0, 149, 255, 0.1));
    border-radius: 10px;
    border: 1px solid rgba(111, 182, 232, 0.3);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.contact-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-cta h3 {
    color: #6FB6E8;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-cta p {
    color: #e6f2ff;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cta-btn {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #6FB6E8, #0095ff);
    color: white;
}

.cta-btn.secondary {
    background: transparent;
    border: 1px solid #6FB6E8;
    color: #6FB6E8;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(111, 182, 232, 0.3);
}

/* Service footer */
.service-footer {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(111, 182, 232, 0.1);
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(111, 182, 232, 0.2);
}

.service-footer p {
    color: #e6f2ff;
    margin-bottom: 20px;
    font-size: 1rem;
}

.service-footer strong {
    color: #6FB6E8;
}

.contact-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-option-btn {
    padding: 12px 20px;
    background: rgba(111, 182, 232, 0.2);
    border: 1px solid rgba(111, 182, 232, 0.3);
    border-radius: 8px;
    color: #e6f2ff;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.contact-option-btn:hover {
    background: rgba(111, 182, 232, 0.3);
    transform: translateY(-3px);
    border-color: #6FB6E8;
}

/* Responsive adjustments */
@media (max-width: 850px) {
    .service-container {
        flex-direction: column;
    }

    .service-content-scroll,
    .service-sidebar-scroll {
        height: 400px;
        max-height: 400px;
    }

    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .contact-options {
        flex-direction: column;
    }
}

/* Add to your CSS */
.black-screen-enter-container {
    pointer-events: all;
}

.black-screen-enter {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: translate(-50%, -50%) !important;
    margin-top: 50px;
}

.black-screen-enter .label {
    color: #161611;
}

/* Add to your CSS */
/* Intense Dust Particle Animations */
@keyframes dustGlowFloat1 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
        transform: translate(50px, -50px) scale(1.3);
    }

    80% {
        opacity: 0.8;
        transform: translate(150px, 100px) scale(1.1);
    }

    100% {
        transform: translate(200px, 150px) scale(0.5);
        opacity: 0;
    }
}

@keyframes dustGlowFloat2 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }

    20% {
        opacity: 0.9;
        transform: translate(-60px, -70px) scale(1.4);
    }

    80% {
        opacity: 0.7;
        transform: translate(-180px, 120px) scale(1.2);
    }

    100% {
        transform: translate(-250px, 200px) scale(0.4);
        opacity: 0;
    }
}

@keyframes dustExplode {
    0% {
        transform: scale(0.1) rotate(0deg);
        opacity: 0;
    }

    30% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0.9;
    }

    100% {
        transform: scale(2) rotate(360deg);
        opacity: 0;
    }
}

/* Intense light streaks */
.intense-streak {
    opacity: 0.6;
    filter: blur(1px);
}

/* Add these styles to your CSS file */

/* Project Slider Controls - OUTSIDE THE SECTION */
.project-slider-controls {
    position: fixed;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 100004;
    pointer-events: auto;
}

.project-slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(111, 182, 232, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.project-slider-btn:hover {
    background: rgba(111, 182, 232, 1);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(111, 182, 232, 0.5);
}

.project-slider-btn:active {
    transform: scale(0.95);
}

/* Slider Dots - OUTSIDE THE SECTION */
.project-slider-dots {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100004;
    pointer-events: auto;
}

.project-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-slider-dot.active {
    background: #6FB6E8;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(111, 182, 232, 0.8);
}

.project-slider-dot:hover {
    background: rgba(111, 182, 232, 0.6);
    transform: scale(1.3);
}

/* ======================================================= */
/* PROJECT SLIDER LIVE PREVIEW BUTTON - RIGHT SIDE OF DOTS */
/* ======================================================= */

.project-slider-live-preview {
    position: fixed;
    bottom: 80px;
    left: 60%;
    transform: translateX(130px);
    /* Move to right of dots */
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100004;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.project-slider-live-preview.visible {
    opacity: 1;
    visibility: visible;
}

.live-preview-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(111, 182, 232, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    white-space: nowrap;
}

.live-preview-btn:hover {
    background: rgba(111, 182, 232, 1);
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 20px rgba(111, 182, 232, 0.5);
}

.live-preview-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.live-preview-icon {
    font-size: 1.1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive adjustments for live preview button */
@media (max-width: 850px) {
    .project-slider-live-preview {
        position: fixed;
        bottom: 70px;
        left: 50%;
        transform: translateX(110px);
    }

    .live-preview-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .live-preview-icon {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .project-slider-live-preview {
        position: fixed;
        bottom: 60px;
        left: 50%;
        transform: translateX(90px);
    }

    .live-preview-btn {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}

/* ======================================================= */
/* CUSTOM ALERT MODAL STYLES                               */
/* ======================================================= */

.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100005;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-alert-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-alert-modal {
    background: linear-gradient(135deg, #001122, #002244);
    border: 2px solid rgba(111, 182, 232, 0.6);
    border-radius: 15px;
    width: 450px;
    max-width: 90%;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(111, 182, 232, 0.2),
        inset 0 0 20px rgba(111, 182, 232, 0.1);
    transform: translateY(-30px) scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-alert-overlay.active .custom-alert-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(111, 182, 232, 0.3);
}

.alert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6FB6E8, #0095ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 0 20px rgba(111, 182, 232, 0.5);
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(111, 182, 232, 0.5);
    }

    50% {
        box-shadow: 0 0 30px rgba(111, 182, 232, 0.8);
    }
}

.alert-title {
    color: #6FB6E8;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 0 10px rgba(111, 182, 232, 0.3);
}

.alert-body {
    color: #e6f2ff;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.alert-highlight {
    color: #6FB6E8;
    font-weight: 600;
    background: rgba(111, 182, 232, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(111, 182, 232, 0.3);
}

.alert-note {
    background: rgba(111, 182, 232, 0.1);
    border-left: 4px solid #6FB6E8;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
    font-size: 0.95rem;
    color: #8AC7FF;
}

.alert-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(111, 182, 232, 0.3);
}

.alert-button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #6FB6E8, #0095ff);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.alert-button:hover {
    background: linear-gradient(135deg, #0095ff, #6FB6E8);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(111, 182, 232, 0.4);
}

.alert-button:active {
    transform: translateY(-1px);
}

.alert-button i {
    font-size: 1.1rem;
}

.alert-details {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(111, 182, 232, 0.2);
}

.alert-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.alert-detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: #8AC7FF;
    font-size: 0.9rem;
}

.detail-value {
    color: #e6f2ff;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Success specific styles */
.alert-success .alert-icon {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.alert-success .alert-title {
    color: #4CAF50;
}

.alert-success .alert-button {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.alert-success .alert-button:hover {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
}

/* Error specific styles */
.alert-error .alert-icon {
    background: linear-gradient(135deg, #F44336, #C62828);
    box-shadow: 0 0 20px rgba(244, 67, 54, 0.5);
}

.alert-error .alert-title {
    color: #F44336;
}

.alert-error .alert-button {
    background: linear-gradient(135deg, #F44336, #C62828);
}

.alert-error .alert-button:hover {
    background: linear-gradient(135deg, #C62828, #F44336);
}

/* Responsive */
@media (max-width: 500px) {
    .custom-alert-modal {
        padding: 20px;
        width: 95%;
    }

    .alert-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .alert-title {
        font-size: 1.5rem;
    }

    .alert-body {
        font-size: 1rem;
    }

    .alert-button {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 120px;
    }
}

/* ======================================================= */
/* ALERT CURSOR FIX - SHOW DEFAULT CURSOR                 */
/* ======================================================= */

/* Force default cursor on alert overlay */
.custom-alert-overlay {
    cursor: default !important;
}

/* Force pointer cursor on alert buttons */
.custom-alert-overlay .alert-button {
    cursor: pointer !important;
}

/* Force default cursor on all alert elements */
.custom-alert-overlay * {
    cursor: default !important;
}

/* Ensure pointer cursor works on buttons */
.custom-alert-overlay button,
.custom-alert-overlay .alert-button {
    cursor: pointer !important;
}

/* Make sure custom cursor stays visible but body cursor changes */
body.has-alert {
    cursor: default !important;
}

/* Ensure custom cursor elements are still visible */
body.has-alert .custom-cursor,
body.has-alert .cursor-dot {
    display: none !important;
}