@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Modak&family=DM+Sans:wght@300;400;500;700&display=swap');


.slider{
	position: relative;
	width: 100%;
	margin: auto;
	overflow: hidden;
}
.slider img{
	width: 100%;
	display: none;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	height: 750px;
	width: 100%;
}
img.displaySlide{
	display: block;
	animation-name: fade;
	animation-duration: 1.5s;
}
.slider button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 2rem;
	padding: 10px 15px;
	background-color: hsla(0, 0%, 0%, 0.5);
	color: white;
	border: none;
	cursor: pointer;
}
.prev {
	left: 0;
}
.next {
	right: 0;
}
@keyframes fade {
	from{opacity: .5}
	to{opacity: 1;}
}

.elfsight-app-35271bb4-3913-4429-8ef2-f69fba065c10 {
	padding: 10px;
}

html {
 background-color: #F7F8ED;
}

header {
	background-color: white;
}

html, body {
	margin: 0;
	width: 100%;
	/*background-image: url(background1.jpeg); */
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

body {
	font-family: 'DM sans', sans-serif;
}

main {
	height: 100%;
}

footer {
	text-align: center;
	background-color: white;
	margin-top: auto;
	margin-bottom: 0;
}

.wrappernav {
	width: 100%;
	display: flex;
	align-items: center;
}

h1 {
	font-family: Modak, sans-serif;
	font-weight: normal;
	font-style: normal;
	color: white;
	text-align: center;
	font-size: 50px;
}

h2 {
	font-family: 'DM sans', sans-serif;
	font-weight: normal;
	font-style: normal;
	color: white;
	text-align: center;
}

.nav div {
	height: 4px;
	background-color: black;
	margin: 5px 0 5px auto;
	border-radius: 25px;
	transition: 0.3s;
}

.nav {
	width: 30px;
	margin: 1em 1em 0 auto;
}

.one {
	width: 30px;
}

.two {
	width: 20px;
}

.three {
	width: 25px;
}

.nav:hover div {
	width: 30px;
}

h4 {
	font-family: Modak, sans-serif;
}

.logo {
	height: 75px;
	width: auto;
	padding: 10px;
	margin: 5px 0 0 5px;
}

.wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.navbar a {
	text-decoration: none;
}


p {
	color: black;
	font-family: ;
}

.slider-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.35);
	z-index: 5;
	pointer-events: none;
}

.hero-text {
	position: absolute;
	bottom: 80px;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	z-index: 10;
	width: 100%;
}

.hero-text h1 {
	font-size: 64px;
	margin: 0;
	text-shadow: 2px 2px 0px rgba(0,0,0,0.8),
	-1px -1px 0px rgba(0,0,0,0.8),
	0px 0px 20px rgba(0,0,0,0.9);
}

.hero-text h2 {
	font-size: 22px;
	margin: 10px 0 24px 0;
	text-shadow: 1px 1px 0px rgba(0,0,0,0.9),
	0px 0px 12px rgba(0,0,0,0.9);
}

.hero-btn {
	background-color: #8B3A2A;
	color: white;
	text-decoration: none;
	padding: 14px 32px;
	border-radius: 4px;
	font-family: 'DM Sans', sans-serif;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 1px;
	transition: background-color 0.3s;
}

.hero-btn:hover {
	background-color: #6B2A1A;
}

.section-title {
    text-align: center;
    font-family: 'Modak', cursive;
    font-size: 36px;
    color: #1a1a1a;
    margin: 60px 0 30px 0;
    font-weight: normal;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 60px auto;
    padding: 0 24px;
}

.card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.card-body {
    padding: 18px;
}

.card {
    background-color: white;
    border-radius: 12px;
    padding: 0;
    text-decoration: none;
    color: #1a1a1a;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 14px;
}

.card h3 {
    font-family: 'Modak', cursive;
    font-size: 22px;
    font-weight: normal;
    margin: 0 0 10px 0;
    color: #8B3A2A;
}

.card p {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}