/* Reset & base styles */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; }
body { background-color: #fff; color: #0D1B2A; line-height: 1.6; scroll-behavior: smooth; }

/* Blur only page content */
#page-content.blur { filter: blur(6px); transition: filter 0.3s ease; pointer-events: none; }

/* Navbar */
nav { background-color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
nav .container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: auto; padding: 0 20px; height: 65px; }
nav .logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

nav .logo img {
  height: 70px;       /* adjust size for navbar */
  width: auto;        /* keeps aspect ratio */
  object-fit: contain;
}

nav .logo:hover {
  transform: scale(1.05);
}

nav .menu { display: flex; gap: 20px; }
nav .menu a { padding: 8px 14px; color: #0D1B2A; font-weight: 500; border-radius: 6px; transition: all 0.3s ease; }
nav .menu a:hover { background: #2E7D32; color: #fff; box-shadow: 0 4px 12px rgba(46,125,50,0.2); }
.mobile-menu { display: flex; flex-direction: column; background: #fff; border-top: 1px solid #eee; box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-radius: 0 0 12px 12px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, opacity 0.3s ease; opacity: 0; }
.mobile-menu a { padding: 14px 24px; border-bottom: 1px solid #f1f1f1; color: #0D1B2A; font-weight: 500; transition: background 0.3s ease, color 0.3s ease; }
.mobile-menu a:hover { background: #f9f9f9; color: #2E7D32; }
.mobile-menu.active { max-height: 500px; opacity: 1; }
.mobile-menu-button { display: none; font-size: 1.8rem; color: #0D1B2A; background: none; border: none; cursor: pointer; }

/* Hero Section */
.hero { background: linear-gradient(to bottom right, #0D1B2A, #1A2332); color: #fff; padding: 100px 20px 60px; text-align: left; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.hero-text { max-width: 600px; }
.hero h1 { font-size: 2.5rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 20px; color: #ccc; }
.hero-buttons button { padding: 10px 20px; margin-right: 10px; font-size: 1rem; border: none; cursor: pointer; border-radius: 5px; }
.btn-primary { background-color: #2E7D32; color: #fff; }
.btn-primary:hover { background-color: #1B5E20; }
.btn-outline { border: 2px solid #C9A227; color: #C9A227; background: none; }
.btn-outline:hover { background-color: #C9A227; color: #fff; }
.hero-box { background: linear-gradient(to bottom right,#4CAF50,#2E7D32); width: 300px; height: 300px; border-radius: 20px; display:flex; align-items:center; justify-content:center; margin-top:20px; }
.hero-box span { color:white; font-size:1.2rem; font-weight:bold; }

/* Cards Section */
.section { padding: 60px 20px; max-width: 1200px; margin: auto; }
.section h2 { font-size: 2rem; text-align: center; margin-bottom: 20px; }
.cards { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.card { background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); width: 250px; transition: 0.3s; cursor: pointer; }
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 20px rgba(0,0,0,0.2); }
.card h3 { margin-bottom: 10px; color: #0D1B2A; }
.card p { color: #555; margin-bottom: 10px; }

/* Testimonials */
.testimonials { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.testimonial { background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); width: 300px; }
.testimonial .stars { color: #C9A227; margin-bottom: 10px; }
.testimonial p { font-style: italic; color: #555; margin-bottom: 10px; }
.testimonial h4 { text-align: right; font-weight: bold; color: #0D1B2A; }

/* Modal */
.modal { position: fixed; inset: 0; display: flex; justify-content: center; align-items: center; background: rgba(0,0,0,0.6); z-index: 9999; opacity: 0; visibility: hidden; transition: opacity 0.28s ease, visibility 0.28s ease; padding: 20px; }
.modal.show { opacity: 1; visibility: visible; }
.modal-content { background: #fff; padding: 18px; border-radius: 12px; max-width: 800px; width: 100%; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.3); animation: contentIn 0.32s ease; }
.modal-content .close { position: absolute; top: 8px; right: 10px; background: none; border: none; font-size: 1.6rem; cursor: pointer; }
@keyframes contentIn { from { transform: translateY(-8px) scale(0.98); opacity: 0 } to { transform: translateY(0) scale(1); opacity: 1 } }

/* Footer */
footer { background: #0D1B2A; color: #fff; padding: 60px 20px; }
footer a { color: #C9A227; }
footer .footer-section { margin-bottom: 20px; }
footer .social a { margin-right: 10px; }

/* WhatsApp Button */
.whatsapp { position: fixed; bottom: 20px; right: 20px; background: #4CAF50; color: #fff; padding: 15px; border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.2); font-size: 1.5rem; text-align: center; z-index: 100; }
.whatsapp:hover { background: #2E7D32; }

/* Responsive */
@media(max-width: 768px) {
  .hero { flex-direction: column; text-align: center; }
  .cards, .testimonials { flex-direction: column; align-items: center; }
  .modal-content { max-width: 95%; height: auto; padding: 12px; }
  nav .menu { display: none; }
  nav .mobile-menu-button { display: block; }
}
