@charset "utf-8";
/* CSS Document */

/* === SCROLL-UP NAVBAR === */
.scroll-nav {
    position: fixed;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%; /* was 92% */
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    /* Darker glass */
    background: rgba(0, 0, 0, 0.35); /* darker tint */
    backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;

    box-shadow: 0 12px 40px rgba(0,0,0,0.35);

    transition: top 0.35s ease, opacity 0.35s ease;
    opacity: 0;

    z-index: 9999;
}

.scroll-nav.show {
    top: 20px;
    opacity: 1;
}

.scroll-nav .nav-links a {
    margin: 0 16px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.scroll-nav .nav-links a:hover {
    opacity: 0.6;
}


/* HERO SECTION */
#hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

#hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Darken the hero video */
#hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* adjust darkness here */
    z-index: 1; /* sits above video, below text */
}


.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.lead-hero {
	font-size: 1.9rem;
}

/* Strapline base style */
.strapline {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease, transform 0.8s ease;
	font-size: 2rem;
    font-weight: 700; /* bolder font */
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 100%;
}

/* When active */
.strapline.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}



/* FIRST CONTENT SECTIONS (About + Services) */
#about,
#content {
    position: relative;
    z-index: 3;
    background: white;
    margin-top: 100vh; /* pushes content below hero */
    padding-top: 4rem;
}

#about {
    margin-top: 100vh;
}

.full-section {
    width: 100%;
    background: white;
    position: relative;
    z-index: 3;
    margin-top: 0; 
    padding-top: 4rem;
}



/* SERVICE CARDS */
.service-card {
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}


/* ABOUT / SERVICES FEATURE BLOCKS */
.service-feature {
    border-radius: 12px;
    background: #ffffff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.icon-wrap {
    font-size: 2.5rem;
    color: #0d6efd;
}



/* STATS SECTION */
.stats-section {
    background: #f8f9fa;
    padding: 6rem 0;
}

.stat-block {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.stat-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-icon {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 0.5rem;
}


/* Fade-in animation for new section cards */
.about-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient backgrounds for each card */
.about-card.card-1 {
    background: linear-gradient(135deg, #0d6efd, #3a8bff);
    color: white;
}

.about-card.card-2 {
    background: linear-gradient(135deg, #0b5ed7, #4aa3ff);
    color: white;
}

.about-card.card-3 {
    background: linear-gradient(135deg, #084298, #5cb3ff);
    color: white;
}

/* Make text readable */
.about-card h4,
.about-card p {
    color: white;
}



/* footer */
.footer-section {
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    padding: 2rem 0;
}
