/* Global Styles */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px; /* Adjust this value based on your navbar height */
}

body {
    font-family: 'HankRounded', Arial, sans-serif;
    font-size: 1.2em;
}

.section {
    padding: 50px 0;
    background: #414042;
    color: white;
}

a.nav-link {
    color: white;
}

a.nav-link:hover {
    color: #1fe069 !important;
}

/* Font-face Definitions */
@font-face {
    font-family: 'HankRounded';
    src: url('/fonts/Hank-Rounded/HankRnd-Black.ttf') format('truetype');
    font-weight: 900;
}

@font-face {
    font-family: 'HankRounded';
    src: url('/fonts/Hank-Rounded/HankRnd-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'HankRounded';
    src: url('/fonts/Hank-Rounded/HankRnd-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'HankRounded';
    src: url('/fonts/Hank-Rounded/HankRnd-Regular.ttf') format('truetype');
    font-weight: 400;
}

/* Initially hide the navbar */
#navbar-scroll {
    position: fixed;
    top: -115px; /* Hides the navbar initially */
    width: 100%;
    background-color: black;
    transition: top 0.3s ease-in-out; /* Smooth transition for slide-in effect */
    z-index: 1000; /* Ensure it stays above other elements */
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow for sticky effect */
    left: 0;
    z-index: 999999;
}

/* When visible (sticky) */
#navbar-scroll.visible {
    top: 0;
    display: block;
    background-color: black;
    margin: auto;
    z-index: 999999;
}

#navbar-scroll ul li a {
    color: white;
}

#navbar-scroll ul li a:hover {
    color: #22e571;
    font-weight: 800;
    text-decoration: none;
}

/* Section-Specific Styles */
#header.section {
    padding-top: 0;
    position: relative;
}

#header.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 90%);
    z-index: 1;
}

#header .header-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

#services.section,
#key-features.section,
#addons.section,
#our-strength.section {
    background-color: #22e571;
    color: black;
}

.container {
    max-width: 1400px;
    /* Apply globally where needed */
}

.key-features-item,
.addons-item,
.strength-item {
    text-align: center;
    margin-bottom: 50px;
}

.key-features-icon,
.addons-icon,
.strength-icon {
    font-size: 3em;
    margin-bottom: 20px;
    height: 100px;
}

.key-features-title,
.strength-title {
    font-size: 1.4em;
    font-weight: 800;
    margin-bottom: 5px;
    color: #0f6824;
}

.key-features-content,
.strength-content {
    font-weight: 400;
    color: #0f6824;
    line-height: 1.2em;
    font-size: 0.9em;
}

.addons h1 {
    color: #af7c17;
}

.addons-title {
    font-size: 1.2em;
    font-weight: 800;
    margin-bottom: 5px;
    color: #af7c17;
}

.addons-content {
    color: #af7c17;
    font-weight: 400;
    line-height: 1.2em;
    font-size: 0.9em;
}

.btn-purple {
    background-color: #6f42c1;
    color: white;
}

.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* Packages Section */
#packages h1 {
    color: white;
    text-align: center;
    font-size: 2em;
    font-weight: 800;
}

#packages hr {
    border-top: 2px solid white;
    width: 200px;
    margin: 20px auto;
}

#packages .card {
    border-radius: 40px !important;
}

#packages .card-title {
    font-size: 2em;
}

#packages .card-body {
    padding: 20px;
}

#packages .card-body ul {
    font-size: 1em;
}

#packages .card-body a.btn {
    border-radius: 50px;
    font-size: 1.2em;
    padding: 5px 20px;
    margin: 20px auto -50px;
    width: 200px;
    display: block;
}

#packages .card-body a.btn:hover {
    filter: brightness(60%);
}

.title-with-bg {
    background-color: white;
    color: #0f6824;
    padding: 10px 50px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 50px;
    font-weight: 800;
    font-size: 2em;
    text-transform: uppercase;
}

.title-with-gold-bg {
    background: linear-gradient(45deg, #b4b262, #fefa8b, #c0bd68);
    color: #af7c17;
    padding: 10px 50px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 50px;
    font-weight: 800;
    font-size: 2em;
    text-transform: uppercase;
}

/* Accordion Icons */
.card-header i.fa-chevron-right {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.collapse.show+.card-header i.fa-chevron-right,
.card-header[aria-expanded="true"] i.fa-chevron-right {
    transform: rotate(90deg);
}

.collapse.show+h5,
.card-header[aria-expanded="true"] h5 {
    color: #36bf59 !important;
}

.card-header:hover {
    background-color: #414042;
    color: #36bf59 !important;
}

#footer ul li a {
    color: #0f6824;
}

#footer ul li a:hover {
    color: #22e571;
    font-weight: 800;
    text-decoration: none;
}
