body {
    font-family: 'Inter', system-ui, -apple-system, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f2f0f7;
    color: #333;
}

/* Navigation Bar */
.navbar {
    background: #f00c36;
    color: white;
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.nav-logo {
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Card container */
.card {
    width: 960px;
    max-width: 95%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 32px;
    margin: 30px auto;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

h1 {
    margin: 0 0 12px 0;
    font-size: 32px;
    background: linear-gradient(90deg, #ec2027, #ec481a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.sub {
    margin: 0 0 18px 0;
    color: #555;
    font-size: 16px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #0b5cff;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #0b5cff;
    color: white;
}

.btn-primary:hover {
    background: #0747b3;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: #0b5cff;
}

.btn-ghost:hover {
    background: #e6f0ff;
    transform: translateY(-2px);
}

/* Meta section */
.meta {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    align-items: center;
    flex-wrap: wrap;
}

/* Content layout - updated for better readability */
.content {
    display: flex;
    flex-direction: column; /* stack content vertically */
    gap: 24px;
}

/* Info text */
.info {
    line-height: 1.6;
    max-width: 900px; /* restrict text width */
    margin: 0 auto;
}

.info h3 {
    margin-top: 24px;
    font-size: 24px;
    color: #ff6f91;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.info h4 {
    margin-top: 20px;
    font-size: 20px;
    color: #845ec2;
}

.info p, .info ul {
    font-size: 16px;
}

/* Footer / Contact Section */
footer#contact {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 40px auto;
    max-width: 900px;
    color: #fff;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

footer#contact:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.15);
}

footer#contact h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

footer#contact p {
    font-size: 16px;
    margin: 12px 0;
    line-height: 1.6;
}

footer#contact a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    transition: all 0.3s ease;
}

footer#contact a:hover {
    color: #ffe6e6;
    transform: scale(1.05);
}

/* Images - scaled and centered */
.info img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px auto;
    display: block;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.info img:hover {
    transform: scale(1.02);
}

/* Ad slot */
.ad-slot {
    margin: 24px 0;
    text-align: center;
    background: #fff3e6;
    padding: 12px;
    border-radius: 12px;
    border: 1px dashed #ffc078;
    font-weight: 500;
}

/* Responsive */
@media(max-width: 800px) {
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }
    .card {
        padding: 20px;
    }
}
/* Right-hand sticky ad sidebar */
.right-ads {
    position: fixed;
    top: 120px; /* distance from top */
    right: 10px; /* distance from right edge */
    width: 180px; /* adjust size */
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
  }
  
  .ad-slot-small {
    width: 100%;
    height: 150px; /* small ad size */
    background: #f7f7f7;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  /* General styling for tips images */
.info img {
    width: 100%;            /* Makes images responsive */
    max-width: 350px;       /* Restricts size so they don’t get too big */
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  
    /* Transition for hover effects */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  
  /* Hover effect */
  .info img:hover {
    transform: scale(1.05);   /* Slight zoom effect */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  /* Navbar hover effect */
.nav-links li a {
    position: relative;
    padding: 6px 0;
  }
  .nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
  }
  .nav-links li a:hover::after,
  .nav-links li a.active::after {
    width: 100%;
  }
  
  /* Tips page container */
  .tips-container {
    background: linear-gradient(135deg, #fff, #fdf2f8);
    padding: 40px;
    border-radius: 16px;
    animation: fadeIn 1s ease;
  }
  
  /* Individual Tip Cards */
  .tip-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .tip-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  }
  
  /* Fade-in animation */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Tip images */
  .tip-card img {
    max-width: 300px;
    border-radius: 10px;
    margin-top: 12px;
    display: block;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  .tip-card img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  }
  