/*
Theme Name: Ravenous
Theme URI: https://ravenoustech.com/
Author: Ravenous Technology
Author URI: https://ravenoustech.com/
Description: Custom WordPress theme converted from Next.js.
Version: 1.0
Text Domain: ravenous
*/

/* Global styles from Next.js globals.css */

/* Animation Utilities */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Premium / Attractive Styles */
:root {
    /* High-Contrast Indigo to Violet Gradients */
    --primary-gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    /* Indigo to Violet */
    --accent-gradient: linear-gradient(135deg, #6366F1 0%, #A855F7 100%);
    /* Soft Indigo to Purple */
    --accent-gradient-2: linear-gradient(135deg, #4338CA 0%, #6D28D9 100%);
    /* Deep Indigo to Deep Purple */
    --glass-bg: rgba(255, 255, 255, 0.1);
}

/* Gradients & Overlays */
.overlay-gradient-deep {
    /* Darker overlay to ensure text pops */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(15, 23, 42, 0.8), rgba(79, 70, 229, 0.4));
}

.text-gradient {
    color: #A78BFA;
}

.text-gradient-accent {
    color: #A78BFA;
}

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 15px;
}

/* Buttons */
.btn-premium {
    background: var(--primary-gradient);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.6);
    color: white;
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-premium:hover::after {
    left: 100%;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

/* Shape Divider */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 1;
    pointer-events: none;
    /* Ensure clicks pass through */
}

/* Fixes for Overlap and Z-Index */
.facts {
    position: relative;
    z-index: 5;
    /* Ensure Facts section floats ABOVE the shape divider */
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.custom-shape-divider-bottom .shape-fill {
    fill: #ffffff;
}

/* Feature & Service Items */
.feature-item,
.service-item,
.price-item,
.team-item,
.testimonial-item,
.project-item {
    transition: .5s;
}

.feature-item:hover,
.service-item:hover,
.price-item:hover,
.team-item:hover,
.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.display-1 {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .display-1 {
        font-size: 2.8rem;
    }
}

/* Carousel Title Highlight Style */
.carousel-caption h1 span {
    color: #A78BFA !important;
    /* High contrast purple */
    font-weight: 800;
}

/* Ensure glass panel doesn't hide text */
.glass-panel {
    z-index: 5;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    width: 10%;
}

.process-card-modern {
    background: #fff;
    padding: 15px 20px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.process-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-gradient);
    transition: 0.5s;
}

.process-card-modern:hover::before {
    height: 100%;
}

.process-card-modern:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.home-contact-form .wpcf7 .wpcf7-form .btn-primary {
    background: #ffffff;
    color: #6B6A75;
}

h1[data-toggle="counter-up"]::after {
    content: "+";
}

.service-icon-wrap .fa-next::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 128 128' xmlns='http://www.w3.org/2000/svg'><circle cx='64' cy='64' r='64' fill='black'/><path d='M36 36h20l36 56V36h12v56H84L48 36v56H36z' fill='white'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
}




.captcha-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border: 2px dashed #ddd;
}

.captcha-box label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.captcha-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc !important;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1.5px solid #e2e8f0 !important;
}

#captcha-question {
    font-size: 18px;
    font-weight: bold;
}

#captcha-refresh {
    border: none;
    background: linear-gradient(135deg, #bea9fc 0%, #8993fa 60%, #687ef7 100%) !important;
    box-shadow: 0 12px 32px rgba(137, 147, 250, 0.50) !important;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    color: #ffffff;
}

@media only screen and (max-width: 991px) {
    .footer-about {
        margin-bottom: 20px;
    }

    .about-image-frame img {
        aspect-ratio: inherit;
    }

    .contact-content {
        text-align: center;
    }

    .work-carousel .owl-item {
        justify-content: space-around;
    }
}

@media only screen and (max-width: 767px) {
    .about-page-testimonial {
        padding: 60px 0 !important;
    }

    .contact-page {
        padding: 60px 0 !important;
    }

    .work-carousel .owl-dots {
        display: none;
    }

    .back-to-top {
        display: none !important;
    }

    #header-carousel .carousel-caption {
        top: 0 !important;
        padding: 0 !important;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .about-title,
    .features-title,
    .process-title,
    .services-title,
    .contact-title,
    .testimonial-title,
    .work-title,
    .vacancies-title,
    .career-title,
    .vacancy-apply-title {
        font-size: 24px;
    }

    .features-image-wrapper {
        margin-bottom: 0;
    }

    .contact-info-text {
        text-align: left;
    }

    .home-contact-form {
        margin-top: 0 !important;
    }

    .contact-form-header,
    .contact-form-body {
        padding: 0;
    }

    .testimonial-carousel .owl-stage {
        padding: 0;
    }

    .testimonial-card {
        padding-top: 0;
        padding-bottom: 0;
    }

    .work-carousel .owl-stage {
        padding-top: 0;
        padding-bottom: 0;
    }

    .work-prev {
        margin-left: -5px;
    }

    .work-next {
        margin-right: -5px;
    }

    .work-nav-btn {
        width: 30px;
        height: 30px;
    }

    .about-banner-title {
        font-size: 24px;
    }

    .about-section {
        padding: 60px 0 !important;
    }

    .about-story-section,
    .about-values-section,
    .about-why-section,
    .about-mission-vision-section,
    .about-stats-section,
    .about-team-section,
    .about-cta-section-modern {
        padding: 60px 0 !important;
    }

    .about-banner-content p {
        font-size: 16px;
    }
}

@media only screen and (max-width: 575px) {
    .service-features-image {
        height: 100%;
        min-height: inherit;
    }

    .service-features-section .row .col-md-7 {
        padding-left: 0;
        padding-right: 0;
    }

    .service-sidebar-card {
        padding: 15px;
    }

    .service-cta-card {
        padding: 15px;
    }

    .career-image-wrap {
        padding: 0;
    }

    .vacancy-detail-section {
        padding: 15px !important;
    }

    .vacancy-detail-body {
        padding: 0px;
    }

    .vacancy-apply-section {
        padding: 10px;
    }

    .vacancy-apply-form input[type="submit"],
    .vacancy-apply-form button[type="submit"] {
        padding: 16px 20px;
    }
}