/* ============================================
   PAISS Ghana Website - Pages CSS
   Page-Specific Styles
   ============================================ */

/* ============================================
   HOMEPAGE
   ============================================ */

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Offset for fixed navbar */
    color: var(--color-white);
    overflow: hidden;
    background-color: var(--color-dark);
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/hero-background.png');
    background-size: cover;
    background-position: center 20%;
    /* Shift image up/down to hide top text */
    background-repeat: no-repeat;
    filter: brightness(0.6) contrast(1.1);
}

.hero__background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Stronger gradient to hide baked-in text */
    background: linear-gradient(180deg,
            rgba(11, 20, 35, 0.95) 0%,
            rgba(11, 20, 35, 0.7) 40%,
            rgba(11, 20, 35, 0.95) 100%);
    opacity: 1;
}

.hero__content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero__content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero__title {
    color: var(--color-white);
    font-size: clamp(3rem, 5vw, 4.5rem);
    /* Larger, more impactful */
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-6);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: var(--space-10);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero__cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Decorative Elements */
.hero__decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.hero__decoration--1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite;
}

.hero__decoration--2 {
    width: 300px;
    height: 300px;
    background: var(--color-secondary);
    bottom: 0;
    right: -50px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Subpage Hero Variants */
.hero--subpage {
    min-height: 50vh;
    /* Shorter height for subpages */
    align-items: center;
    /* Center content vertically */
}

/* Background Variants */
.hero--criminal-justice .hero__background::before {
    background-image: url('/assets/images/hero-criminal-justice.png');
}

.hero--cybersecurity .hero__background::before {
    background-image: url('/assets/images/hero-cybersecurity.png');
}

.hero--hsep .hero__background::before {
    background-image: url('/assets/images/hero-hsep.png');
}

.hero--research .hero__background::before {
    background-image: url('/assets/images/hero-research.png');
}

/* Feature Section Highlights */
.section-highlight {
    position: relative;
}

.section-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.05) 0%, transparent 70%);
    pointer-events: none;
}