/* Custom CSS for MBSD.net */

/* Font Family */
body {
    font-family: 'IBM Plex Sans', sans-serif;
}

/* Color Variables */
:root {
    --primary-blue: #0056b3;
    --secondary-blue: #007bff;
    --dark-blue: #003d82;
    --light-grey: #f8f9fa;
    --medium-grey: #6c757d;
    --dark-grey: #495057;
}

/* Dark mode variables */
[data-bs-theme="dark"] {
    --bs-body-bg: #121212;
    --bs-body-color: #f8f9fa;
    --bs-secondary-bg: #1e1e1e;
    --bs-tertiary-bg: #2d2d2d;
    --bs-muted-color: #dee2e6;
    --bs-secondary-color: #e9ecef;
}

/* Custom Bootstrap theme colors */
.bg-primary {
    background-color: var(--primary-blue) !important;
}

.text-primary {
    color: var(--primary-blue) !important;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-bs-theme="dark"] .navbar-nav .nav-link.active {
    color: #80c7ff !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-grey) 0%, #e9ecef 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

[data-bs-theme="dark"] .hero-section {
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
}

.min-vh-75 {
    min-height: 75vh;
}

.display-4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lead {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--medium-grey);
}

[data-bs-theme="dark"] .lead {
    color: var(--bs-secondary-color);
}

/* Feature Icons */
.feature-icon {
    width: 4rem;
    height: 4rem;
}

.contact-icon {
    width: 3.5rem;
    height: 3.5rem;
}

/* Portfolio Cards */
.portfolio-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 0.75rem;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

[data-bs-theme="dark"] .portfolio-card {
    background-color: var(--bs-secondary-bg);
    border: 1px solid #495057;
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .portfolio-card:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(255, 255, 255, 0.1) !important;
}

.card-title {
    font-weight: 600;
    color: var(--primary-blue);
}

[data-bs-theme="dark"] .card-title {
    color: #66b3ff;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
}

/* Dark mode badge improvements */
[data-bs-theme="dark"] .badge.bg-secondary {
    background-color: #495057 !important;
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .badge.bg-success {
    background-color: #198754 !important;
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .badge.bg-info {
    background-color: #0dcaf0 !important;
    color: #000 !important;
}

[data-bs-theme="dark"] .badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000 !important;
}

[data-bs-theme="dark"] .badge.bg-primary {
    background-color: #66b3ff !important;
    color: #000 !important;
}

/* Contact Section */
.contact-item {
    padding: 1.5rem;
}

.contact-item a {
    color: var(--primary-blue);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--dark-blue);
}

[data-bs-theme="dark"] .contact-item a {
    color: #66b3ff;
}

[data-bs-theme="dark"] .contact-item a:hover {
    color: #80c7ff;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Section padding adjustments */
section {
    scroll-margin-top: 80px;
}

/* Dark mode toggle */
#darkModeToggle {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#darkModeToggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Background sections */
.bg-light {
    background-color: #f8f9fa !important;
}

[data-bs-theme="dark"] .bg-light {
    background-color: var(--bs-secondary-bg) !important;
}

/* Text color improvements for dark mode */
[data-bs-theme="dark"] .text-muted {
    color: var(--bs-muted-color) !important;
}

[data-bs-theme="dark"] p {
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .card-text {
    color: var(--bs-secondary-color);
}

/* Footer */
footer {
    background-color: #212529 !important;
}

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.01em;
}

[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6 {
    color: var(--bs-body-color);
}

p {
    line-height: 1.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .feature-icon,
    .contact-icon {
        width: 3rem;
        height: 3rem;
    }
}

/* Animation for smooth transitions */
.btn, .card, .nav-link {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

/* Link styling */
a {
    color: var(--primary-blue);
}

a:hover {
    color: var(--dark-blue);
}

[data-bs-theme="dark"] a {
    color: #66b3ff;
}

[data-bs-theme="dark"] a:hover {
    color: #80c7ff;
}

/* Screenshot placeholder styling */
.screenshot-placeholder {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa !important;
    border: 2px dashed #dee2e6 !important;
    transition: all 0.3s ease;
}

.screenshot-placeholder:hover {
    border-color: var(--primary-blue) !important;
    background-color: #e9ecef !important;
}

[data-bs-theme="dark"] .screenshot-placeholder {
    background-color: var(--bs-tertiary-bg) !important;
    border-color: #6c757d !important;
    color: var(--bs-muted-color);
}

[data-bs-theme="dark"] .screenshot-placeholder:hover {
    border-color: #66b3ff !important;
    background-color: #343a40 !important;
}

/* Portfolio carousel styling */
.carousel {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
}

.carousel-item img {
    height: 600px;
    object-fit: cover;
    object-position: top;
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    margin-bottom: -2rem;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary-blue);
    border: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 3px;
}

[data-bs-theme="dark"] .carousel {
    box-shadow: 0 0.25rem 1rem rgba(255, 255, 255, 0.1);
}

/* Responsive carousel adjustments */
@media (max-width: 991px) and (min-width: 769px) {
    .carousel-item img {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 400px;
    }
}

 
/* Blog-specific styles */
.blog-post-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.75rem;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

[data-bs-theme="dark"] .blog-post-card {
    background-color: var(--bs-secondary-bg);
    border: 1px solid #495057;
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .blog-post-card:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(255, 255, 255, 0.1) !important;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Blog header section enhancements */
.hero-section .display-4 {
    background: linear-gradient(135deg, var(--primary-blue), #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-bs-theme="dark"] .hero-section .display-4 {
    background: linear-gradient(135deg, #66b3ff, #80c7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Blog post content styling */
.blog-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.blog-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 0.5rem;
}

[data-bs-theme="dark"] .blog-content h2 {
    border-bottom-color: #66b3ff;
}

.blog-content blockquote {
    border-left: 4px solid var(--primary-blue);
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0.375rem;
}

[data-bs-theme="dark"] .blog-content blockquote {
    background-color: var(--bs-tertiary-bg);
    border-left-color: #66b3ff;
}

.blog-content code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
    color: #e83e8c;
}

[data-bs-theme="dark"] .blog-content code {
    background-color: var(--bs-tertiary-bg);
    color: #ff6b9d;
}

.blog-content pre {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
}

[data-bs-theme="dark"] .blog-content pre {
    background-color: var(--bs-tertiary-bg);
    border-color: #495057;
}

/* Blog navigation and metadata */
.blog-meta {
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 0;
    margin: 2rem 0;
}

[data-bs-theme="dark"] .blog-meta {
    border-color: #495057;
}

.blog-nav-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #dee2e6;
}

[data-bs-theme="dark"] .blog-nav-links {
    border-top-color: #495057;
}

/* Responsive blog adjustments */
@media (max-width: 768px) {
    .blog-content {
        font-size: 1rem;
    }
    
    .blog-content h1 {
        font-size: 2rem;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .min-vh-50 {
        min-height: 40vh;
    }
}
 

.para-text p  {
 
    margin-bottom: 3rem;
    
     
 
}



blockquote{
  font-size: 1.4em;
  width:95%;
  margin:50px auto;
  font-family:"IBM Plex Sans", sans-serif;
  font-style:italic;
  color: #555555;
  padding:1.2em 30px 1.2em 75px;
  border-left:8px solid #78C0A8 ;
  line-height:1.6;
  position: relative;
  background:#EDEDED;
}


blockquote::after{
  content: '';
}

blockquote span{
  display:block;
  color:#333333;
  font-style: normal;
  font-weight: bold;
  margin-top:1em;
}


  ol, ul {
            margin: 15px 0;
            padding-left: 25px;
        }
        li {
            margin-bottom: 8px;
        }
        strong {
            color: #2c3e50;
        }
        p {
            margin-bottom: 15px;
        }




.rounded-circle {
    min-width: 3rem;
    min-height: 3rem;
    max-width: 3rem;
    max-height: 3rem;
}