/* Hero Section Tech Grid Background */
.hero-section.compact-hero {
    position: relative;
    background: linear-gradient(180deg, 
        #435B80 0%,    /* More muted, dusty dark blue */
        #647D9E 35%,   /* Softer medium blue */
        #ffffff 100%
    ) !important;
    overflow: hidden;
    padding: 60px 0 35px !important;  /* Restore original compact padding */
    min-height: 250px; /* Reduced from 400px to restore compact size */
}

.hero-section.compact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Horizontal lines with warm tint */
        linear-gradient(to right, 
            rgba(255,255,255,0.07) 0%,
            rgba(255,142,85,0.03) 50%,
            rgba(255,255,255,0.07) 100% 1px,
            transparent 1px
        ),
        /* Vertical lines with warm tint */
        linear-gradient(to bottom,
            rgba(255,255,255,0.07) 0%,
            rgba(255,142,85,0.03) 50%,
            rgba(255,255,255,0.07) 100% 1px,
            transparent 1px
        ),
        /* Dots with warm tint */
        radial-gradient(circle at center,
            rgba(255,142,85,0.05) 0px,
            rgba(255,255,255,0.1) 1px,
            transparent 1px
        );
    background-size: 50px 50px, 50px 50px, 50px 50px;
    background-position: center;
    pointer-events: none;
    z-index: 1;
    animation: gridPulse 4s ease-in-out infinite;
}

.hero-section.compact-hero .bg-tabs-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section.compact-hero .bg-parallax-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-section.compact-hero .hero-floating-image {
    width: auto;
    height: 180px; /* Fixed height that fits the compact hero */
    max-height: 180px; /* Constrain to compact size */
    min-height: 150px; /* Minimum for very small screens */
    object-fit: contain; /* Maintain aspect ratio */
    animation: float 6s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-section.compact-hero .container {
    position: relative;
    z-index: 3;
}

.hero-section.compact-hero .intro-item {
    position: relative;
    z-index: 3;
}

/* Text contrast improvements */
.hero-section.compact-hero .hero-main-title {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-section.compact-hero .hero-subtitle {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-section.compact-hero .header-sec-link a {
    color: rgba(255,255,255,0.8);
}

.hero-section.compact-hero .header-sec-link a:hover {
    color: #ffffff;
}

@keyframes gridPulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Override the orange background */
.jetso-hero-bg {
    background-color: transparent !important;
}

/* Override any existing background images */
.bg-tabs-wrap,
.bg-parallax-wrap,
.bg.bg_tabs {
    background: none !important;
}

/* Style the category section title to match hero treatment */
#category-section .section-title h2 {
    color: #435B80;  /* Match our muted blue */
    text-shadow: 
        0 2px 2px rgba(67, 91, 128, 0.15),  /* Main shadow */
        0 1px 4px rgba(67, 91, 128, 0.1);    /* Subtle spread for depth */
    font-size: 32px;
    margin-bottom: 20px;  /* Reduced from 30px */
    position: relative;
    text-align: center;
}

#category-section .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;  /* Adjusted from -10px to keep decoration closer */
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(255, 142, 85, 0.2),
        rgba(67, 91, 128, 0.3),
        rgba(255, 142, 85, 0.2)
    );
}

/* Adjust top spacing of carousel container if needed */
#category-section .carousel-wrap {
    margin-top: 15px;  /* Add a bit of controlled spacing */
} 