/* NAVBAR */
#main-navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 1.2rem;
    height: auto;
    width: fit-content;
    max-width: 95vw;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 40px;
    z-index: 999;
    display: flex;
    align-items: center;
    transition: all 0.4s ease-in-out;
}

#main-navbar .navbar-brand img {
    height: 28px;
}

/* THEME BASE */
body {
    background-color: #2c2c2c;
    color: #e0e0e0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* DARK MODE */
body.dark {
    background-color: #0b0c10;
    color: #e0e0e0;
}
body.dark #main-navbar {
    background: rgba(0, 0, 0, 0.5);
}
body.dark .card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e0e0e0;
}
body.dark .form-control,
body.dark .form-select {
    background-color: #1a1a1a;
    color: #fff;
    border-color: #333;
}
body.dark .form-control {
    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
  }
/* LIGHT MODE */
body.light {
    background-color: #f7f7f7;
    color: #111;
}
body.light #main-navbar {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
}
body.light a,
body.light .footer-link,
body.light .footer-icon {
    color: #111;
}
body.light a:hover,
body.light .footer-link:hover,
body.light .footer-icon:hover {
    color: #0035a8;
    text-shadow: none;
}
body.light .card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    color: #111;
}
body.light .form-control,
body.light .form-select {
    background-color: #fff;
    color: #000;
    border-color: #ccc;
}
body.light .form-control {
    background-color: #fff;
    color: #111;
    border: 1px solid #ccc;
  }
body.light .btn-outline-light {
    border-color: #444;
    color: #111;
}
body.light .btn-outline-light:hover {
    background-color: #0035a8;
    color: #fff;
}
body.light .footer-copy {
    color: #555;
}
body.light .footer-desc {
    color: #444;
}
body.light .blog-link {
    color: #111;
}
body.light .blog-link:hover {
    color: #0077cc;
    text-shadow: none;
}
body.light .promo-section {
    background-color: #f0f0f0;
    color: #111;
}
body.light .promo-section ul {
    color: #333;
}
body.light .btn-dark {
    background-color: #000;
    color: #fff;
}

body.light .btn-outline-primary {
    border-color: #0077cc;
    color: #0077cc;
}

body.light .btn-outline-primary:hover {
    background-color: #0077cc;
    color: #fff;
}
body.light .promo-card {
    background-color: #f9f9f9;
    color: #111;
    border: 1px solid #ddd;
}

body.light .promo-blue {
    background-color: #e6f7ff;
    color: #000;
}

body.light .btn-outline-dark {
    border-color: #111;
    color: #111;
}
body.light .btn-outline-dark:hover {
    background-color: #111;
    color: #fff;
}
body.light .section-subtext {
    color: #555;
  }
body.light .promo-card.promo-light.text-center {
    background-color: #f5f5f5;
  }
  
/* CONTAINER */
.container {
    max-width: 960px;
    margin: auto;
    padding: 2rem 1rem;
}

/* NAVBAR TEXT */
.navbar {
    background-color: transparent;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
}
.nav-link, .navbar-brand {
    color: inherit !important;
}
.navbar-nav .nav-link {
    transition: all 0.2s ease-in-out;
}
.navbar-nav .nav-link:hover {
    color: #0046af !important;
    transform: scale(1.05);
    text-shadow: 0 0 5px #025dc5, 0 0 10px #0035a8;
}

/* TYPOGRAPHY */
h1, h2, h3 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}
body.light h1, body.light h2, body.light h3 {
    color: #111;
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: transparent;
    color: #aaa;
    font-size: 0.95rem;
    padding: 2rem;
    text-align: center;
}
.footer-link, .footer-icon {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-link:hover, .footer-icon:hover {
    color: #0035a8;
    text-shadow: 0 0 5px #0035a8;
}
.footer-icon i {
    font-size: 1.3rem;
}
.footer-copy {
    color: #aaa;
}
.footer-desc {
    color: #bbb;
}

/* FORMS */
select.form-select {
    width: 120px;
}
.modal-content {
    border-radius: 12px;
    animation: slideUpFade 0.4s ease-out;
}
.form-control, .form-select {
    transition: all 0.3s ease;
}

/* BUTTONS */
.btn-primary {
    background-color: #00bfff;
    border: none;
    color: black;
    font-weight: 500;
}
.btn-primary:hover {
    background-color: #0035a8;
    color: white;
}
.btn-outline-light {
    border: 1px solid #ccc;
    color: #e0e0e0;
}
.btn-outline-dark {
    border: 1px solid #e0e0e0;
    color: #e0e0e0;
    background-color: transparent;
    transition: all 0.3s ease;
  }
  
.btn-outline-dark:hover {
    background-color: #0035a8;
    color: #000;
    border-color: transparent;
  }
/* HERO SECTION */
.hero {
    margin-top: 100px;
    padding: 60px 20px;
    text-align: center;
}
.hero h1 {
    font-weight: 700;
    color: #00bfff;
}
.hero p {
    max-width: 600px;
    margin: auto;
}

/* ANIMATIONS */
@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    opacity: 0;
    animation: fadeSlideUp 0.8s ease-out forwards;
}
.fade-delay-1 { animation-delay: 0.2s; }
.fade-delay-2 { animation-delay: 0.4s; }

/* SECTION LAYOUT */
section {
    margin: 80px auto;
    max-width: 800px;
}

/* LOGO */
.logo-img {
    height: 32px;
}
.brand-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: inherit;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    #main-navbar {
        padding: 0.6rem 1rem;
        width: 90%;
    }
    .navbar-nav {
        margin-top: 1rem;
    }
    .navbar-nav .nav-link {
        padding: 0.5rem;
        font-size: 1rem;
    }
    #theme-toggle {
        margin-top: 1rem;
    }
}

/* BLOG */
.blog-link {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}
.blog-link:hover {
    color: #0035a8;
    text-shadow: 0 0 5px #0035a8;
}

/* Banner */
.promo-section {
    background-color: rgba(255, 255, 255, 0.06);
    padding: 60px 30px;
    margin: 100px auto;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
}

/* Image styling */
.promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
}

/* Text reset */
.promo-section h2 {
    font-size: 2rem;
}
.promo-section ul {
    list-style-type: disc;
}

/* Default button styles */
.btn-dark {
    background-color: #111;
    color: #fff;
    border: none;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
}

.btn-outline-primary {
    border: 1px solid #00bfff;
    color: #00bfff;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: #0035a8;
    color: #fff;
}

/* Cards Selection */
.promo-grid {
    margin-top: 100px;
    margin-bottom: 80px;
}

.promo-card {
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.promo-blue {
    background: rgba(0, 191, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(0, 191, 255, 0.2);
}

.promo-light {
    background-color: rgba(255, 255, 255, 0.07);
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.promo-grid h2 {
    font-size: 2rem;
  }
.promo-grid p.text-muted {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
  }
  .section-subtext {
    color: #bbb;
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
  }
.promo-card.promo-light.text-center {
    background-color: rgba(255, 255, 255, 0.07);
  }

  .service-card {
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #e0e0e0;
  }
  
  body.light .service-card {
    background-color: #e4e9ef;
    border-color: #ccc;
    color: #111;
  }
  
  body.dark .service-card {
    background-color: rgba(24, 26, 29, 0.8);
    border-color: rgba(255,255,255,0.08);
    color: #f0f0f0;
  }
  
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  }
  
  /* Blog Card Styling */
.bg-body-tertiary {
    background-color: #f8f9fa !important;
    color: #111;
  }
  
  /* Dark mode override */
  body.dark .bg-body-tertiary {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #e0e0e0;
  }
  
  body.dark .bg-body-tertiary a {
    color: #74c0fc; /* Light blue for links */
  }
  
  body.dark .bg-body-tertiary .text-muted {
    color: #bcbcbc !important;
  }
  
  /* Optional: Add hover effect */
  .bg-body-tertiary:hover {
    transform: translateY(-3px);
    transition: transform 0.2s ease;
  }
  