@font-face {
  font-family: 'CabinetGrotesk-Light';
  src: url('fonts/CabinetGrotesk-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'CabinetGrotesk-Regular';
  src: url('fonts/CabinetGrotesk-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
    font-family: 'Gilroy-Regular';
    src: url('fonts/Gilroy-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy-Medium';
    src: url('fonts/Gilroy-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Gilroy-Medium", sans-serif;
}

.hero-section {
    height: 100vh;
    width: 100%;
    background-color: #FD7EC3;
    background-image: url('images/hero-section-bg.png');
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.hero-title {
    font-size: 4rem;
    color: #FFF;
    margin-top: 1.5rem;
    margin-bottom: 1.75rem;
    line-height: 1.25;
    letter-spacing: 0.25rem;
    font-family: "CabinetGrotesk-Regular", sans-serif;
}

.hero-subtitle {
    color: #FFF;
    font-size: 1.15rem;
    font-weight: 200;
    font-family: "CabinetGrotesk-Light", sans-serif;
}

.fingerprint-icon {
    width: 50px;
    background-color: rgb(158, 131, 212);
    color: rgb(255, 255, 255);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 50px;
    border-radius: 25px;
    font-size: 1.15rem;
    padding: 9px;
    margin: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.fingerprint-icon i {
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
}

.fingerprint-icon span {
    display: none;
    align-items: center;
    line-height: 1;
    transition: display 0.3s ease;
}

.fingerprint-icon:hover {
    width: 235px;
}

.partners-section {
    background-color: #9E83D4;
    padding: 3rem 0;
    color: white;
}

.partners-title {
    font-family: "Gilroy-Medium", sans-serif;
}

.values-section {
    background-color: #FD7EC3;
    padding: 3rem 0;
    color: white;
    text-align: center;
}

.values-title {
    font-size: 1.65rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.values-subtitle {
    font-size: 2.15rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.value-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 0.5rem 0.65rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin: 0.25rem;
}

.value-badge:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carbon i {
    color: #28a745;
}

.community i {
    color: #17a2b8;
}

.routing i {
    color: #ffc107;
}

.certified i {
    color: #28a745;
}

.energy i {
    color: #fd7e14;
}

.local i {
    color: #dc3545;
}

.regenerative i {
    color: #20c997;
}

.scorecard i {
    color: #6f42c1;
}

.sustainability i {
    color: #28a745;
}

.footer {
    background: #FFF;
    color: #000;
    padding: 1.5rem 0 0.5rem;
    font-size: 0.9rem;
}

.footer-address {
    margin-bottom: 0;
}

.footer-tagline {
    margin-bottom: 0;
}

.footer-social-icons a {
    color: #000;
    padding: 0 0.5rem;
    font-size: 1.5rem;
}

.footer-links {
    text-align: right;
}

.footer-link {
    color: #000;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.stars {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 67%;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    color: white;
    opacity: 0.8;
    font-size: 0.65rem;
    animation: twinkle 6s infinite alternate;
    transform-origin: center;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
}

.star:nth-child(1)  { top: 8%;  left: 5%;  animation-delay: 0.1s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(2)  { top: 18%; left: 13%; animation-delay: 0.7s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(3)  { top: 30%; left: 8%;  animation-delay: 1.3s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(4)  { top: 50%; left: 16%; animation-delay: 0.3s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(5)  { top: 12%; left: 28%; animation-delay: 1.8s;  font-size: 0.55rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(6)  { top: 65%; left: 22%; animation-delay: 0.6s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(7)  { top: 80%; left: 10%; animation-delay: 1.1s;  font-size: 0.35rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(8)  { top: 75%; left: 32%; animation-delay: 0.4s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(9)  { top: 60%; left: 42%; animation-delay: 1.9s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; display: none;}
.star:nth-child(10) { top: 25%; left: 28%; animation-delay: 0.8s;  font-size: 0.5rem;  opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(11) { top: 25%; right: 25%; animation-delay: 1.5s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(12) { top: 70%; left: 62%; animation-delay: 0.2s;  font-size: 0.4rem;  opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(13) { top: 85%; left: 52%; animation-delay: 1.7s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(14) { top: 70%; left: 68%; animation-delay: 0.9s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(15) { top: 40%; left: 75%; animation-delay: 1.4s;  font-size: 0.4rem;  opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(16) { top: 15%; left: 65%; animation-delay: 0.5s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(17) { top: 35%; left: 90%; animation-delay: 1.2s;  font-size: 0.5rem;  opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(18) { top: 60%; left: 92%; animation-delay: 0.7s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(19) { top: 10%; left: 80%; animation-delay: 1.6s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(20) { top: 80%; left: 95%; animation-delay: 0.3s;  font-size: 0.35rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(21) { top: 65%; left: 82%; animation-delay: 1.9s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(22) { top: 90%; left: 88%; animation-delay: 0.4s;  font-size: 0.5rem;  opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(23) { top: 38%; left: 60%; animation-delay: 1.1s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; display: none;}
.star:nth-child(24) { top: 54%; left: 73%; animation-delay: 0.6s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(25) { top: 63%; left: 55%; animation-delay: 1.5s;  font-size: 0.4rem;  opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; display: none;}
.star:nth-child(26) { top: 5%; left: 35%; animation-delay: 0.8s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(27) { top: 5%; left: 42%; animation-delay: 1.7s;  font-size: 0.5rem;  opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(28) { top: 22%; right: 5%; animation-delay: 0.2s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(29) { top: 88%; left: 40%; animation-delay: 1.3s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(30) { top: 58%; left: 10%; animation-delay: 0.5s;  font-size: 0.5rem;  opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }
.star:nth-child(31) { top: 25%; left: 85%; animation-delay: 1.2s;  font-size: 0.45rem; opacity: 0; animation-name: twinkle; animation-fill-mode: forwards; }

@keyframes twinkle {
    0% {
        opacity: 0.1;
        transform: scale(0.8) rotate(0deg);
        text-shadow: 0 0 2px rgba(255, 255, 255, 0.1);
    }
    25% {
        opacity: 0.4;
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.4), 0 0 12px rgba(255, 255, 255, 0.4);
    }
    50% {
        opacity: 0.7;
        transform: scale(1) rotate(180deg);
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.7), 0 0 20px rgba(255, 255, 255, 0.7);
    }
    75% {
        opacity: 0.9;
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 12px rgba(255, 255, 255, 0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1.1) rotate(360deg);
        text-shadow: 0 0 2px rgba(255, 255, 255, 1);
    }
}

@media (max-width: 1400px) {
    .pt-5 {
        padding-top: 2.25rem !important;
    }
    .er-logo {
        width: 175px;
    }
    .hero-title {
        font-size: 3rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 1536px) and (min-width: 1401px) {
    .hero-title {
        font-size: 3rem;
        margin-top: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .er-logo {
        width: 155px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-height: 700px) {
    
}

@media (max-width: 900px) {
    .hero-title {
        font-size: 3rem;
    }
}

@keyframes sparkle {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

@media (orientation: portrait) {
    .hero-section {
        background-size: auto 80%;
        background-position: center bottom;
    }
    
    .star:nth-child(1)  { top: 7%;  left: 12%;  font-size: 0.32rem; }
    .star:nth-child(3)  { top: 18%; left: 22%;  font-size: 0.28rem; }
    .star:nth-child(5)  { display: none; }
    .star:nth-child(6)  { display: none; }
    .star:nth-child(7)  { display: none; }
    .star:nth-child(9)  { display: none; }
    .star:nth-child(11) { top: 70%; right: 10%; }
    .star:nth-child(12) { top: 75%; left: 5%; }
    .star:nth-child(13) { top:85%; left: 13%; }
    .star:nth-child(15) { display: none; }
    .star:nth-child(17) { top: 68%; left: 9%;   font-size: 0.26rem; }
    .star:nth-child(19) { top: 78%; left: 27%;  font-size: 0.28rem; }
    .star:nth-child(20) { top: 90%; left: 30%; }
    .star:nth-child(21) { display: none; }

    .star:nth-child(2)  { top: 10%; left: 78%;  font-size: 0.30rem; }
    .star:nth-child(4)  { display: none; }
    .star:nth-child(6)  { top: 32%; left: 68%;  font-size: 0.26rem; }
    .star:nth-child(8)  { display: none; }
    .star:nth-child(10) { display: none; }
    .star:nth-child(12) { top: 62%; left: 84%;  font-size: 0.26rem; }
    .star:nth-child(14) { top: 72%; left: 68%;  font-size: 0.28rem; }
    .star:nth-child(16) { top: 82%; left: 80%;  font-size: 0.26rem; }
    .star:nth-child(18) { top: 92%; left: 70%;  font-size: 0.28rem; }

    .star:nth-child(22) { display: none; }
    .star:nth-child(23) { display: none; }
    .star:nth-child(24) { display: none; }
    .star:nth-child(25) { display: none; }
    .star:nth-child(28) { display: none; }
    .star:nth-child(29) { display: none; }
    .star:nth-child(30) { display: none; }
    .star:nth-child(31) { display: none; }
    .star:nth-child(26) { top: 85%; left: 50%;  font-size: 0.28rem; }
    
    /* Make shine effect more pronounced on mobile */
    @keyframes twinkle {
        0% {
            opacity: 0.3;
            transform: scale(0.8) rotate(0deg);
            text-shadow: 0 0 2px rgba(255, 255, 255, 0.1);
        }
        25% {
            opacity: 0.5;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 15px rgba(255, 255, 255, 0.4);
        }
        50% {
            opacity: 0.8;
            transform: scale(1) rotate(90deg);
            text-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 0 25px rgba(255, 255, 255, 0.6);
        }
        75% {
            opacity: 0.9;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 15px rgba(255, 255, 255, 0.4);
        }
        100% {
            opacity: 1;
            transform: scale(1.1) rotate(180deg);
            text-shadow: 0 0 2px rgba(255, 255, 255, 0.1);
        }
    }
}