:where([class^="ri-"])::before {
    content: "\f3c2";
}

body {
    font-family: 'Poppins', sans-serif;
}

/*hero-section*/
.hero-section {
    height: 400px;
}

.hero-bg {
    background-image: linear-gradient(to right, rgba(0, 33, 87, 0.9), rgba(0, 33, 87, 0.6), rgba(0, 33, 87, 0.2)),
        url('https://public.readdy.ai/ai/img_res/614887023826658693789fbb17f9077d.jpg');
    background-size: cover;
    background-position: center;
    width: auto;
    padding-top: 30px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.floating-label {
    position: absolute;
    pointer-events: none;
    left: 1rem;
    top: 1rem;
    transition: 0.2s ease all;
}

.form-input:focus~.floating-label,
.form-input:not(:placeholder-shown)~.floating-label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: 0.75rem;
    opacity: 1;
    background: white;
    padding: 0 0.5rem;
}

.custom-checkbox {
    position: relative;
    cursor: pointer;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.custom-checkbox input:checked~.checkmark {
    background-color: #002157;
    border-color: #002157;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 33, 87, 0.1);
    animation: float 15s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-20px) translateX(10px);
    }

    50% {
        transform: translateY(-10px) translateX(-15px);
    }

    75% {
        transform: translateY(-25px) translateX(5px);
    }
}

.rotating-cube {
    width: 100px;
    height: 100px;
    position: absolute;
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
}

@keyframes rotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    border: 1px solid rgba(0, 33, 87, 0.3);
}

.face-1 {
    transform: translateZ(50px);
    background: rgba(0, 33, 87, 0.05);
}

.face-2 {
    transform: rotateY(180deg) translateZ(50px);
    background: rgba(0, 33, 87, 0.05);
}

.face-3 {
    transform: rotateY(90deg) translateZ(50px);
    background: rgba(0, 33, 87, 0.05);
}

.face-4 {
    transform: rotateY(-90deg) translateZ(50px);
    background: rgba(0, 33, 87, 0.05);
}

.face-5 {
    transform: rotateX(90deg) translateZ(50px);
    background: rgba(0, 33, 87, 0.05);
}

.face-6 {
    transform: rotateX(-90deg) translateZ(50px);
    background: rgba(0, 33, 87, 0.05);
}

.bounce-animation {
    animation: bounce 2s ease infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.contact-info-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.map-container {
    position: relative;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.social-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: #002157;
}

#scene-container {
    width: 100%;
    height: 300px;
    position: relative;
}

@media (max-width: 768px) {
    #scene-container {
        height: 200px;
    }
}