
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9; 
    color: #333; 
    margin: 0;
    padding: 0;
}

.navbar {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    background-color: #0040ff; 
    padding: 15px 0;
    height: 60px;
}


.logo {
    font-size: 16px;
    color: white;
    margin-right: auto; 
    padding-left: 20px; 
}


.nav-links {
    list-style: none; 
    display: flex;
    gap: 30px; 
}


.nav-links li a {
    text-decoration: none; 
    color: white; 
    font-size: 16px; 
    font-weight: 500; 
    transition: color 0.3s ease; 
}


.nav-links li a:hover {
    text-decoration: underline; 
    color: #cce7ff; 
}


header {
    text-align: center;
    padding: 30px;
    background-color: #ffffff;
}

header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

header p {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}


.tips-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px; 
    margin: 20px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.tip-card {
    background-color: #ffffff; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    width: 300px; 
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}


.tip-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); 
}


.tip-card h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #000000; 
}

.tip-card p {
    font-size: 1rem;
    color: #555; 
}




  
@media (max-width: 480px) {
    .card-section {
      grid-template-columns: 1fr; 
    }
  }
  .footer {
    background-color: #222; 
    color: white; 
    padding: 20px 0; 
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 20px 0;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content div {
    width: 45%;
}

.footer-content h3 {
    margin-bottom: 10px;
    font-size: 16px;
}

.footer-content p {
    margin: 5px 0;
}

.footer-content a {
    color: #ffffff;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    border-top: 1px solid #000000;
    padding-top: 10px;
}


