/* Full Screen Overlay */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    /* White background as per image */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The rotating circle container */
.circle-container {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 4s linear infinite;
    /* Circle rotation */
}

/* The curved line (arc) */
.arc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: #0f172a;
    /* Dark blue from image */
    border-right-color: #0f172a;
    border-radius: 50%;
    transform: rotate(-45deg);
    /* Adjust arc starting point */
}

/* Plane Icons */
.plane {
    position: absolute;
    color: #0f172a;
    /* Dark blue from image */
    font-size: 24px;
}

/* First Plane (Top) */
.plane-1 {
    top: 15px;
    right: 15px;
    transform: rotate(45deg);
    /* Point along the arc */
}

/* Second Plane (Bottom) */
.plane-2 {
    bottom: 15px;
    left: 15px;
    transform: rotate(225deg);
    /* Point along the arc */
}

/* "loading" text */
.loading-text {
    font-family: sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    /* Dark blue from image */
    letter-spacing: 1px;
    z-index: 2;
    /* Ensure text is above */
}

/* Rotation Animation */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



/* =========================================
   OBO ANIMATED FOOTER (UPDATED)
   ========================================= */

/* 1. Moving Wave Animation */
.footer-wave-container {
    line-height: 0;
    width: 100%;
    overflow: hidden;
    background-color: #fff;
    /* Match body bg */
}

.footer-wave path {
    fill: #0f172a;
    /* Footer Color */
    animation: waveMove 10s ease-in-out infinite alternate;
}

@keyframes waveMove {
    from {
        d: path("M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z");
    }

    to {
        d: path("M0,128L48,144C96,160,192,192,288,180C384,168,480,112,576,96C672,80,768,96,864,112C960,128,1056,160,1152,176C1248,192,1344,192,1392,180L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z");
    }
}

.obo-footer-animated {
    background-color: #0f172a;
    color: #94a3b8;
    padding-bottom: 30px;
    position: relative;
    z-index: 10;
}

/* 2. Headings & Line Animation */
.footer-heading {
    color: #fff;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.line-anim {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--theme-primary);
    transition: width 0.3s ease;
}

.col-xl-2:hover .line-anim,
.col-xl-3:hover .line-anim {
    width: 100%;
    /* Line expands on hover */
}

/* 3. Sliding Links Animation */
.footer-links-animated {
    list-style: none;
    padding: 0;
}

.footer-links-animated li {
    margin-bottom: 12px;
    overflow: hidden;
}

.footer-links-animated a {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    position: relative;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.footer-links-animated a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--theme-primary);
    transition: all 0.3s ease;
}

.footer-links-animated a:hover {
    color: var(--theme-primary);
    padding-left: 20px;
}

.footer-links-animated a:hover::before {
    left: 0;
    opacity: 1;
}

/* 4. Contact Icons Bounce */
.contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.contact-row:hover {
    transform: translateX(10px);
}

.icon-circle {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--theme-primary);
    transition: all 0.3s ease;
}

.contact-row:hover .icon-circle {
    background: var(--theme-primary);
    color: #fff;
    transform: rotate(360deg);
    /* Icon spins on hover */
}

/* 5. Floating Testimonial Cards */
.testimonial-card {
    background: #1e293b;
    padding: 25px;
    border-radius: 12px;
    border-bottom: 3px solid var(--theme-primary);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    /* Floats up */
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.2);
}

.quote-icon {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 15px;
    right: 20px;
}

.author-info {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.author-avatar {
    width: 30px;
    height: 30px;
    background: var(--theme-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
}

/* 6. Neon Form Animation */
.form-group-anim {
    position: relative;
    margin-bottom: 20px;
}

.form-control-anim {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    color: #fff;
    outline: none;
    transition: all 0.3s;
}

.form-group-anim label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #64748b;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Label Moves Up on Focus */
.form-control-anim:focus~label,
.form-control-anim:not(:placeholder-shown)~label {
    top: -15px;
    font-size: 12px;
    color: var(--theme-primary);
}

/* Orange Bottom Line expands */
.border-focus {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--theme-primary);
    transition: width 0.3s ease;
}

.form-control-anim:focus~.border-focus {
    width: 100%;
}

/* 7. Button Glow */
.button-glow {
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.button-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.button-glow:hover::before {
    left: 100%;
    /* Shine effect moves across button */
}

/* Heartbeat */
.heartbeat {
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.3);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}