body {
    font-family: 'Poppins', sans-serif;
    background-color: #0a192f;
    color: #ccd6f6;
    position: relative;
    cursor: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a192f;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}
.loader {
    border: 4px solid rgba(100, 255, 218, 0.2);
    border-left-color: #64ffda;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
}
main.loaded {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #112240;
}
::-webkit-scrollbar-thumb {
    background-color: #64ffda;
    border-radius: 20px;
    border: 3px solid #112240;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #7efefb;
}

/* Custom Cursor Styles */
#cursor-dot, #cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
}
#cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #64ffda;
    transform: translate(-50%, -50%);
}
#cursor-circle {
    width: 40px;
    height: 40px;
    border: 1px solid #64ffda;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.3s ease-in-out, border-color 0.3s ease;
}
#cursor-circle.grow {
    transform: translate(-50%, -50%) scale(1.5);
}

/* Hero Symbol */
.hero-brackets {
    animation: float-glow 6s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(100, 255, 218, 0.4));
    color: #64ffda;
}
@keyframes float-glow {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 15px rgba(100, 255, 218, 0.4));
    }
    50% {
        transform: translateY(-20px);
        filter: drop-shadow(0 0 25px rgba(100, 255, 218, 0.7));
    }
}


/* General Styles */
.glass-effect {
    background: rgba(10, 25, 47, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(45, 212, 191, 0.1);
}
.accent-color {
    color: #64ffda;
}

/* Reusable Component Classes */
.nav-link {
    color: #ccd6f6;
    transition: color 0.2s ease-in-out;
}
.nav-link:hover {
    color: #64ffda;
}
.social-link-lg {
    color: #8892b0;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.social-link-lg:hover {
    color: #64ffda;
    transform: translateY(-5px);
}
.contact-link {
    color: #8892b0;
    transition: color 0.2s ease-in-out;
}
.contact-link:hover {
    color: #64ffda;
}

/* Updated Form Styles with Floating Labels */
.form-label {
    position: absolute;
    top: 0.75rem;
    left: 1rem;
    font-size: 1rem;
    color: #8892b0;
    pointer-events: none;
    transition: all 0.2s ease-out;
}
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -0.65rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: #64ffda;
    background-color: #112240; /* Match card bg */
    padding: 0 0.25rem;
}
/* Static label for select */
.form-label-static {
    position: absolute;
    top: -0.65rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: #64ffda;
    background-color: #112240;
    padding: 0 0.25rem;
}


.form-input {
    width: 100%;
    background-color: transparent;
    border: 1px solid #334155;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    color: #ccd6f6;
    transition: all 0.2s ease;
}
.form-input:focus {
    outline: none;
    border-color: #64ffda;
}


.btn-primary {
    background-color: transparent;
    border: 1px solid #64ffda;
    color: #64ffda;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(100, 255, 218, 0.4);
}
.btn-primary:hover {
    background-color: #64ffda;
    color: #0a192f; /* Invert text color on hover */
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.7), 0 0 25px rgba(100, 255, 218, 0.5);
}
.section-heading {
    color: #ccd6f6;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #64ffda;
}

/* Service Card Enhancements */
.service-card {
    background-color: #112240;
    border: 1px solid #1a3b5a;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease-in-out;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px -15px rgba(100, 255, 218, 0.4);
}
.service-icon {
    font-size: 2.5rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    color: #64ffda;
    background-color: #0a192f;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-card {
    border: 1px solid #1a3b5a;
    transition: all 0.3s ease-in-out;
    padding: 2rem;
    border-radius: 0.5rem;
    background-color: #112240;
    display: flex;
    flex-direction: column;
    position: relative;
}
.package-card.popular {
    border-width: 2px;
    border-color: #64ffda;
    transform: scale(1.05);
}
.package-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #64ffda;
    box-shadow: 0 15px 30px -15px rgba(100, 255, 218, 0.4);
}
.package-card.popular:hover {
    transform: translateY(-10px) scale(1.07);
}


.skill-bar {
    background-color: #64ffda;
    width: 0; /* Start with 0 width for animation */
    transition: width 1s ease-in-out;
}
.about-img-overlay {
    background-color: rgba(100, 255, 218, 0.2);
}

/* New Timeline Styles */
.timeline-item {
    position: relative;
}
.timeline-dot {
    position: absolute;
    left: -2rem; /* Adjust based on padding */
    top: 0.25rem; /* Align with text */
    width: 1rem;
    height: 1rem;
    background-color: #64ffda;
    border-radius: 50%;
    border: 3px solid #0a192f;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.4);
}


.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.contact-icon {
    background-color: #112240;
    padding: 0.75rem;
    border-radius: 9999px; /* full */
    color: #64ffda;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Floating Balls Animation */
.ball {
    position: absolute;
    border-radius: 100%;
    opacity: 0.5;
    animation: animate 25s linear infinite;
    bottom: -150px; /* Start below the screen */
}
@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

