/* Ensure the page takes up at least the full viewport height */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Allow main content to expand and push the footer down */
main {
    flex: 1;
}

/* Footer styling */
footer {
    padding: 1rem;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for styling */
}





/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    text-align: center;
}

/* Navigation Styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}
nav ul li {
    display: inline;
}
/* Navigation Styles */
/* Navigation Styles */
nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: transform 0.3s ease, color 0.3s ease;
}

nav a:hover {
    color: transparent; /* Makes the text color transparent so the gradient can show */
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text; /* Clips the background to the text */
    background-clip: text; /* Clips the background to the text */
    transform: scale(1.4); /* Expands the text */
    
     
}


.home-icon {
    font-size: 1.5rem;
}


/* Hero Section */
.hero {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 10px;
    margin: 2rem;
}
.hero h1 {
    margin-bottom: 1rem;
}
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #333;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.btn:hover {
    background: #cebae6;
}

/* Highlights Section */
.highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}
.highlight {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}


/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    transition: color 0.3s;
}

.theme-toggle:hover {
    color: #764ba2;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #333;
    color: #f9f9f9;
}

body.dark-mode nav {
    background: #222;
}



body.dark-mode nav a {
    color: #f9f9f9;
}

body.dark-mode nav a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
}

body.dark-mode .theme-toggle {
    color: #f9f9f9;
}




* {box-sizing: border-box;}

body.dark {background-color: #292c35;} /* #9b59b6 */

body.dark h1, body.dark .support a {color: #fff;}

body.dark .highlight {background-color: #333;}
body.dark .highlight h2 {color: #fff;}
body.dark .highlight p {color: #f2eaea;}

body.dark .btn {background-color: #fdfbff; color: #302d2d;}

body.dark .hero {background: linear-gradient(135deg, #354385, #412a58);}

body.dark nav {background: #333;}
body.dark nav a {color: #fff;}
body.dark nav a:hover {
    color: transparent; /* Makes the text color transparent so the gradient can show */
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text; /* Clips the background to the text */
    background-clip: text; /* Clips the background to the text */
    transform: scale(1.4); /* Expands the text */
}

body.dark .logo {color: #fff;}

body.dark p {color: #f2eaea;}

body.dark p a {color: #f2eaea;}


/* Toggle Switch */
.checkbox {
  opacity: 0;
  position: absolute;
}

.checkbox-label {
  background: linear-gradient(135deg, #667eea, #764ba2);
  width: 50px;
  height: 26px;
  border-radius: 50px;
  position: relative;
  padding: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fa-moon {color: #f1c40f;}

.fa-sun {color: #f39c12;}

.checkbox-label .ball {
  background-color: #fff;
  width: 22px;
  height: 22px;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  transition: transform 0.2s linear;
}

.checkbox:checked + .checkbox-label .ball {
  transform: translateX(24px);
}















