*{
    font-family: "Mulish", sans-serif;
}

h1, a{
    font-family: "Lexend", sans-serif;
}

h3{
    font-family: "Syne", sans-serif;
}

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

@media (min-width: 992px) {
  .rounded-lg-3 { border-radius: .3rem; }
}

/* Hero Images */
.hero-img{
    height:100vh;
    object-fit:cover;
    filter:brightness(40%);
}

/* Fixed Caption */
.hero-caption{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index:10;
    width:90%;
    max-width:900px;
    color:#fff;
}

/* Logo */
.hero-logo{
    max-width:420px;
    width:100%;
    filter:drop-shadow(0 0 20px rgba(0,0,0,.5));
}

/* Optional Glass Effect */
.hero-caption{
    background:rgba(0,0,0,.25);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    padding:40px;
    border-radius:25px;
    border:1px solid rgba(255,255,255,.15);
}

/* Mobile */
@media(max-width:768px){

    .hero-logo{
        max-width:140px;
    }

    .hero-caption h1{
        font-size:2.5rem;
    }

    .hero-caption p{
        font-size:1rem !important;
    }

    .hero-caption{
        padding:25px;
    }
}

/* ===========================================
   HERO - VARSITY SKILLS
   Construction / Mining Theme
=========================================== */

.hero-varsity{
    position:relative;
    overflow:hidden;
    min-height:70vh;

    display:flex;
    align-items:center;
    justify-content:center;

    background:

    /* Yellow Safety Stripes */
    repeating-linear-gradient(
        -45deg,
        rgba(255,193,7,.06) 0px,
        rgba(255,193,7,.06) 6px,
        transparent 6px,
        transparent 60px
    ),

    /* Steel Texture */
    repeating-linear-gradient(
        45deg,
        rgba(255,255,255,.025) 0px,
        rgba(255,255,255,.025) 2px,
        transparent 2px,
        transparent 40px
    ),

    /* Industrial Glow */
    radial-gradient(
        circle at top right,
        rgba(255,193,7,.15) 0%,
        transparent 35%
    ),

    radial-gradient(
        circle at bottom left,
        rgba(255,255,255,.04) 0%,
        transparent 45%
    ),

    /* Main Background */
    linear-gradient(
        135deg,
        #081a33 0%,
        #10284d 30%,
        #0b1f3d 65%,
        #050b16 100%
    );

    background-size:
        160px 160px,
        220px 220px,
        cover,
        cover,
        cover;
}

/* ===========================================
   Dark Overlay
=========================================== */

.hero-varsity::before{
    content:'';
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            rgba(5,12,25,.35),
            rgba(5,12,25,.70)
        );

    z-index:1;
}

/* ===========================================
   Content
=========================================== */

.hero-varsity > .container{
    position:relative;
    z-index:2;
}

.hero-varsity h1{
    color:#fff;
    font-weight:800;
    text-shadow:0 5px 20px rgba(0,0,0,.7);
}

.hero-varsity p{
    color:#ffffff;
    text-shadow:0 2px 10px rgba(0,0,0,.7);
}

/* Yellow Accent */

.hero-varsity .text-warning{
    color:#FFC107 !important;
}

/* Buttons */

.hero-varsity .btn-warning{
    background:#FFC107;
    border:none;
    color:#0b1f3d;
    font-weight:700;
    transition:.3s;
}

.hero-varsity .btn-warning:hover{
    background:#ffca2c;
    transform:translateY(-2px);
    box-shadow:0 10px 30px rgba(255,193,7,.35);
}

.hero-varsity .btn-outline-light:hover{
    background:#fff;
    color:#0b1f3d;
}

/* Decorative Glow */

.hero-varsity::after{
    content:'';
    position:absolute;
    width:500px;
    height:500px;

    top:-220px;
    right:-180px;

    background:
        radial-gradient(
            circle,
            rgba(255,193,7,.10),
            transparent 70%
        );

    z-index:1;
    pointer-events:none;
}

.glass {
    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 20px;

    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);

    color: #fff;
}

.product-card{
    border:none;
    border-radius:18px;
    overflow:hidden;
    transition:0.4s ease;
    /* Dark Agriculture Theme */
    background:
        repeating-linear-gradient(
            -45deg,
            rgba(46,125,50,0.08) 0px,
            rgba(46,125,50,0.08) 3px,
            transparent 3px,
            transparent 30px
        ),

        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.02) 0px,
            rgba(255,255,255,0.02) 2px,
            transparent 2px,
            transparent 40px
        ),

        radial-gradient(
            circle at top left,
            #264d26 0%,
            #1f3d1f 20%,
            #222 45%,
            #111 75%,
            #000 100%
        );

    background-size:
        150px 150px,
        200px 200px,
        cover;

    color:#fff;
}

.product-card img{
    height:220px;
    object-fit:cover;
}

/* Middle emphasis effect */
.featured-card{
    transform:scale(1.05);
    box-shadow:0 0 25px rgba(46,125,50,0.4);
    border:1px solid rgba(46,125,50,0.4);
}

/* Slight dim for side cards */
.product-card:not(.featured-card){
    opacity:0.85;
}

/* Ensure equal height */
.carousel-item .card{
    height:100%;
}

/* Mobile fix */
@media(max-width:991px){
    .featured-card{
        transform:none;
    }
}

/* Carousel */
#myCarousel .carousel-item {
    height: 500px; /* Set desired height */
}

#myCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crops image while maintaining aspect ratio */
}

#myCarousel .carousel-caption {
    z-index: 2;
}

#myCarousel .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4); /* Dark overlay for text readability */
}


#portfolio .card{
    transition:.35s;
    overflow:hidden;
    border-radius:12px;
}

#portfolio .card img{
    height:240px;
    object-fit:cover;
    transition:.5s;
}

#portfolio .card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.18)!important;
}

#portfolio .card:hover img{
    transform:scale(1.08);
}

#portfolio .badge{
    font-size:.75rem;
    letter-spacing:1px;
    text-transform:uppercase;
}

#portfolio h5{
    color:#0d3b66;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;

    background: #10e900;
    color: #ffffff;

    padding: 10px 14px;
    border-radius: 30px;

    text-decoration: none;
    font-size: 14px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.4);

    z-index: 9999;

    transition: all 0.3s ease;
}

.back-to-top:hover {
    color: #10e900;
    background: #fff;
    transform: translateY(-2px);
}

span{
    color: #1f3d1f;
    font-family: "Syne", sans-serif;
}
