html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* optional but helpful */
  }
  
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

body::-webkit-scrollbar{
    display: none;
}
.logo{
    text-decoration: none;
}
a:-webkit-any-link {
    color: -webkit-link;
    cursor: pointer;
    text-decoration: none;
}
a {
    text-decoration: none;
    color: #007bff;
}
a:hover {
    color: #0056b3;
}

/* Header Section */
.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}
.blog {
    flex: 2;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.sidebar {
    flex: 1;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Social Media Icons */
.social-iconsb {
    margin-top: 10px;
}
.social-iconsb a {
    margin-right: 15px;
    font-size: 20px;
    color: #333;
    transition: color 0.3s ease;
}
.social-icons a:hover {
    color: #007bff;
}

/* Title and Blog Post */
.blog h1 {
    font-size: 2.5rem;
    margin: 0;
    color: #333;
}
.date {
    font-size: 1rem;
    color: #777;
    margin-top: 10px;
}

/* Comments Section */
.comments {
    margin-top: 30px;
    border-top: 2px solid #eee;
    padding-top: 20px;
}
.comments h2 {
    font-size: 1.8rem;
    color: #444;
}
input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
button {
    margin-top: 10px;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #0056b3;
}

/* Sidebar Blog Links */
.other-blogs ul {
    padding: 0;
    list-style: none;
}
.other-blogs li {
    margin: 10px 0;
}
.other-blogs a {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    transition: color 0.3s ease;
}
.other-blogs a:hover {
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    .blog {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }
    .sidebar {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    .date {
        font-size: 0.9rem;
    }
}


/* Global box-sizing reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.form-container {
  font-family: 'DM Sans', sans-serif;
  margin: 25px auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 500px;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.form-container h2 {
  margin-bottom: 10px;
  color: #333;
  font-weight: 700;
}

/* Typing effect for email */
.form-container .email {
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #007bff;
  width: 0;
  animation: typing 3s steps(30, end) forwards, blink 0.8s infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: 0.3s;
  font-size: 16px;
}

.form-container input:focus,
.form-container textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.form-container button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 16px;
  font-weight: 500;
}

.form-container button:hover {
  background: #0056b3;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .form-container {
    padding: 15px;
    width: 90%;
    max-width: 100%;
  }
  .form-container input,
  .form-container textarea,
  .form-container button {
    font-size: 14px;
    padding: 10px;
  }
  .p-about{
    width: 50%; /* Adjust width to make it narrow */
            max-width: 600px; /* Optional: Set a max width */
            margin: 20px auto; /* Center horizontally */
            text-align: center; /* Center the text */
            font-size: 18px; /* Adjust font size */
            line-height: 1.6; /* Improve readability */
  }
}


a {
    color: #007bff; /* Default link color */
    text-decoration: none;
}

a:visited {
    color: #007bff !important; /* Prevents purple color */
}

a:hover {
    color: #800080; /* Optional: Changes color on hover */
}

a:active {
    color: #007bff; /* Optional: Changes color when clicked */
}

.blog-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 600px; /* Adjust as needed */
    margin: 0 auto; /* Centers horizontally */
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.blog-content {
    width: 100%;
}

.blog-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.p-about{
    width: 50%; /* Adjust width to make it narrow */
            max-width: 600px; /* Optional: Set a max width */
            margin: 20px auto; /* Center horizontally */
            text-align: center; /* Center the text */
            font-size: 18px; /* Adjust font size */
            line-height: 1.6; /* Improve readability */
}
