body{
    margin: 0px;
    background-color: rgb(215, 251, 178);
}


main, section{
    margin: 20px;
}

header{
    text-align: center;
    background-color: rgb(0, 80, 0);
    color: white;
    font-family: arial;
}

h1{
    font-size: 60px;
}

.navbar ul{
    list-style-type: none;
    background-color: darkgreen;
    padding: 0px;
    margin: 0px;
    overflow: hidden;
}

.navbar a{
    color: white;
    text-decoration: none;
    padding: 15px;
    display: block;
    text-align: center;
    font-family: arial;
}

.navbar a:hover{
    background-color: rgb(0, 70, 0);
    transition: 0.5s;
}

.navbar li{
    float: left;
}

h3{
    font-family: arial;
    font-size: 32px;
}

p{
    font-family: arial;
    font-size: 20px;
}

img{
    height: 450px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.card-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 100px;
}

.card{
    width: 325px;
    background-color: darkgreen;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
    margin: 20px;
}

.card img{
    width: 100%;
    height: auto;
}

.card-content{
    padding: 16px;
}

.card-content h3{
    font-size: 28px;
    color: white;
}

.card-content p{
    color: white;
    font-size: 15px;
}

.card-content .btn{
    display: inline-block;
    padding: 8px 16px;
    background-color: rgb(0, 50, 0);
    text-decoration: none;
    border-radius: 4px;
    margin-top: 16px;
    color: white;
    font-family: arial;
}

footer{
    background-color: darkgreen;
}

.footerContainer{
    width: 100%;
    padding: 70px 30px 20px;
}

.socialIcons{
    display: flex;
    justify-content: center;
}

.socialIcons a{
    text-decoration: none;
    padding: 10px;
    background-color: rgb(215, 251, 178);
    margin: 10px;
    border-radius: 50%;
}

.socialIcons a i{
    font-size: 2em;
    color: darkgreen;
    opacity: 0.9;
}

.socialIcons a:hover{
    background-color: rgb(0, 70, 0);
    transition: 0.5s;
}

.footerNav{
    margin: 30px 0;
}

.footerNav ul{
    display: flex;
    justify-content: center;
    list-style-type: none;
    font-family: Arial;
}

.footerNav ul li a{
    color: white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
}
.footerNav ul li a:hover{
    opacity: 1;
}

.footerBottom{
    background-color: rgb(0, 70, 0);
    padding: 20px;
    text-align: center;
}

.footerBottom p{
    color: white
}

.designer{
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#darkModeToggle {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 15px;
    border: none;
    background-color: rgb(0, 70, 0);
    color: rgb(215, 251, 178);
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1000;
}

#darkModeToggle:hover {
    background-color: rgb(0, 90, 0);
}


.navbar li{
    float: left;
}

h3{
    font-family: arial;
    font-size: 32px;
}

p{
    font-family: arial;
    font-size: 20px;
}

img{
    height: 450px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.reasons ul{
    font-family: arial;
    font-size: 20px;
}

footer{
    background-color: darkgreen;
}

.footerContainer{
    width: 100%;
    padding: 70px 30px 20px;
}

.socialIcons{
    display: flex;
    justify-content: center;
}

.socialIcons a{
    text-decoration: none;
    padding: 10px;
    background-color: rgb(215, 251, 178);
    margin: 10px;
    border-radius: 50%;
}

.socialIcons a i{
    font-size: 2em;
    color: darkgreen;
    opacity: 0.9;
}

.socialIcons a:hover{
    background-color: rgb(0, 70, 0);
    transition: 0.5s;
}

.footerNav{
    margin: 30px 0;
}

.footerNav ul{
    display: flex;
    justify-content: center;
    list-style-type: none;
    font-family: Arial;
}

.footerNav ul li a{
    color: white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
}
.footerNav ul li a:hover{
    opacity: 1;
}

.footerBottom{
    background-color: rgb(0, 70, 0);
    padding: 20px;
    text-align: center;
}

.footerBottom p{
    color: white
}

.designer{
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 🌙 DARK MODE — Color-matched to original palette */
body.dark-mode {
    background-color: rgb(25, 40, 25); /* Dark greenish background */
    color: rgb(215, 251, 178); /* Your signature light yellow-green */
}

body.dark-mode header {
    background-color: rgb(0, 50, 0);
    color: rgb(215, 251, 178);
}

body.dark-mode .navbar ul {
    background-color: rgb(0, 40, 0);
}

body.dark-mode .navbar a {
    color: rgb(215, 251, 178);
}

body.dark-mode .navbar a:hover {
    background-color: rgb(0, 60, 0);
}

body.dark-mode .socialIcons a {
    background-color: rgb(30, 50, 30);
}

body.dark-mode .socialIcons a i {
    color: rgb(215, 251, 178);
}

body.dark-mode footer {
    background-color: rgb(0, 50, 0);
}

body.dark-mode .footerBottom {
    background-color: rgb(0, 40, 0);
}

body.dark-mode .footerNav ul li a {
    color: rgb(215, 251, 178);
}

body.dark-mode img {
    filter: brightness(0.85) contrast(1.05);
}
