:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --background-color: #101010;
    --text-color: #ecf0f1;
    --header-color: #333;
}

body, html {
    font-family: Arial, sans-serif;
    margin-top: 2.25%;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding-top: 64px; /* Reduce this value - it should match navbar height */
}

body:not(.darktheme){
    --background-color: #f8f9fa;
    --color: #000;

}

.darktheme {
    --background-color: #121212;
    --color: #ffffff;
}

.theme-toggle-btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 100px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 1rem; /* Add smaller top padding to container */
}

.slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-top: 0; /* Remove extra top margin */
}

.blog-post {
    position: relative;
    flex: 0 0 80%;
    max-width: 80%;
    height: 400px;
    margin: 10px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    scroll-snap-align: start;
    transition: transform 0.3s;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: scale(1.02);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
}

.overlay h2 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.overlay p {
    margin: 10px 0;
    font-size: 16px;
}

.small-texts {
    margin-top: 10px;
}

.dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.6s ease;
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot:hover,
.dot.active {
    background-color: #717171;
    background-color: var(--primary-color);
}

.sidebar {
    background: rgba(44, 62, 80, 0.3);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 152, 219, 0.2);
}

#suggestion{
    color: var(--primary-color);
    margin-top: 40px;
}

.sidebar h3 {
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 15px;
}

.sidebar ul {
    list-style-type: none;
    padding-left: 0;
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 10px 0;
    margin-bottom: 10px;
}

.sidebar ul li a {
    color: #ffffff;
    text-decoration: none;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

body.darktheme .sidebar ul li a {
    color: #bbdaf7;
}

.footer {
    padding: 20px 0;
}

.footer p {
    margin: 0;
}

.social-icons a {
    font-size: 20px;
}

body.darktheme .navbar, body.darktheme .footer {
    background-color: #333;
    color: #fff;
}

body.darktheme  {
    background-color: #007bff;
    border-color: #007bff;
}

body.darktheme  {
    background-color: #0056b3;
    border-color: #004085;
}

/* From Uiverse.io by niat786 */ 
.submit-button ,.subscribe-button{
  border-radius: .25rem;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 400;
  padding-left: 25px;
  padding-right: 25px;
  color: #fff;
  -webkit-clip-path: polygon(0 0,0 0,100% 0,100% 0,100% calc(100% - 15px),calc(100% - 15px) 100%,15px 100%,0 100%);
  clip-path: polygon(0 0,0 0,100% 0,100% 0,100% calc(100% - 15px),calc(100% - 15px) 100%,15px 100%,0 100%);
  height: 40px;
  font-size: 0.7rem;
  line-height: 14px;
  letter-spacing: 1.2px;
  transition: .2s .1s;
  background-image: linear-gradient(90deg,#1c1c1c,#6220fb);
  border: 0 solid;
  overflow: hidden;
}

.submit-button:hover ,.subscribe-button:hover{
  cursor: pointer;
  transition: all .3s ease-in;
  padding-right: 30px;
  padding-left: 30px;
}
.submit-button{
  width: 15em;
}
.submit-button:hover {
  width: 16em;
}
.full-blog-container {
    max-width: 800px; /* Limit content width */
    padding: 20px;
    background-color: #121212;/* White background*/
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Light shadow */
    border-radius: 10px; /* Rounded corners */
   
  }

  
  
  h1 {
    text-align: center; /* Center align heading */
  }
  
  img {
    display: block; /* Ensure image is block-level for margin auto */
    margin: 0 auto 20px; /* Center image horizontally with bottom margin */
    max-width: 100%; /* Responsive image width */
    height: auto; /* Maintain aspect ratio */
  }
  
  h3 {
    color: #007bff; /* Bootstrap primary color for headings */
  }
  
  p {
    font-size: 1.1rem; /* Larger text size */
    line-height: 1.8; /* Increased line height for readability */
  }
  
  ul {
    margin-top: 10px; /* Top margin for unordered lists */
  }
  .suggestions-list h3{
    color: white;
  }
  .suggestions-list {
    background: rgba(44, 62, 80, 0.3);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 152, 219, 0.2);
  }
  /* Footer styles */
  footer {
    background-color: #007bff; /* Bootstrap primary color */
    color: #fff; /* White text */
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
  }

  /* Form Styling */
.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: var(--text-color);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: none;
    color: var(--text-color);
}

/* Button Styling */
.subscribe-button, .submit-button {
    border-radius: .25rem;
    text-transform: uppercase;
    font-style: normal;
    font-weight: 400;
    padding: 8px 20px;
    color: #fff;
    background-image: linear-gradient(90deg,#21424b,#029ff4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-button:hover, .submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blog-post {
        height: 300px;
    }
    
    .overlay h2 {
        font-size: 20px;
    }
    
    .sidebar {
        margin-top: 20px;
    }
}