@font-face {
  font-family: 'MyFont';
  src: url(/fonts/PlusJakartaSans-SemiBold.ttf);
}

@font-face {
  font-family: 'MyFont2';
  src: url(/fonts/Poppins-SemiBold.woff);
}

@font-face {
  font-family: 'MyFont3';
  src: url(/fonts/Poppins-Light.woff);
}

@font-face {
  font-family: 'MyFont4';
  src: url(/fonts/Autography-DOLnW.otf);
}

@font-face {
  font-family: 'MyFont5';
  src: url(/fonts/Poppins-ExtraBold.woff);
}

html {
  scroll-behavior: smooth;
}



body {
  padding: 0;
  margin: 0;
}

/* Header */

header {
  display: flex;
   justify-content: space-between;
  flex-direction: row;
  padding: 0px 10px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.17);

}

.logo {
display: flex;
}

h2 {
  font-family: MyFont5;
  font-size: 20px;
 
  color: #000000;
margin-left: 20px;
}

ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  padding: 10px;
}

li a {
  text-decoration: none;
  margin: 10px;
 font-family: MyFont;
 color: rgb(17, 0, 255);
}

.nav-item {
  --nav-width: 0%;
}

.nav-item::after {
  content: '';
  display: block;
  width: var(--nav-width);
  height: 3px;
  border-radius: 20px;
  background: linear-gradient(90deg, #6782ff, #2b00ff);
  transition: width 0.4s ease-in-out;
}

.nav-item:hover::after {
  --nav-width: 100%;
}

header li:hover::after {
width: 100%;
}

header li a:hover {
color: #000000;
}


/* Page1 */

.page1 {
  padding: 40px 30px;
display: flex;
flex-direction: row;
justify-content: center;
}

.main {

filter: drop-shadow(5px 10px 5px rgba(0, 0, 0, 0.255));

}

.main2 {
  display: flex;
  flex-direction: column;
  width: auto;
  height: auto;
margin-left: 50px;

}

.main1 {
height: auto;
width: auto;
margin: 10px;
filter: drop-shadow(5px 10px 5px rgba(0, 0, 0, 0.255));
}

.text {

  margin-left: 20px;
}

h1 {
  font-family: MyFont5;
  text-align: center;
 width: max-content;
 color: #2b00ff;
}

h1::after {
  content: "";
  display: block;
  height: 5px;
  border-radius: 20px;
 
  background: linear-gradient(90deg, #6782ff, #2b00ff);
 
}

p {
  margin: 0px;
}

.text li {
  margin: 10px;
}

.text a {
  color: #353535;
  font-size: 13px;
}

.text a:hover {
  text-decoration: underline;
  transition: ease-in-out 0.3s;
}

.text ul {
 display: flex;
 flex-direction: column;
 list-style: circle;
}


.More-blogs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
  padding: 0 1rem;
}


.cp2 {
  font-size: 0.8rem;
  font-family: MyFont3;
  color: #101010;
  max-width: 550px;
  margin: 0 auto;
  margin-top: 10px;
}


.cp2::before {
   content: '';
display: block;
height: 3px;
border-radius: 20px;

margin-bottom: 10px;
background: linear-gradient(90deg, #6782ff, #2b00ff);
transition: width 0.4s ease-in-out;
}

.message-form-section {
  width: 100%;
  max-width: 600px;
 
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-right: 50%;
}

.message-form-section h2 {
  text-align: center;
 color: #2b00ff;
  margin-bottom: 20px;
  font-size: 24px;
  width: max-content;
}

.message-form-section  h2::after {
  content: "";
  display: block;
  height: 5px;
  border-radius: 20px;
 
  background: linear-gradient(90deg, #6782ff, #2b00ff);
 
}

/* Label and Input Fields Styling */
label {
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #5b9bd5;
  outline: none;
}

/* Submit Button Styling */
button {
 background: linear-gradient(90deg, #6782ff, #2b00ff);
  color: #fff;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #4a8bc2;
}


/* Footer */

.blog-footer {
 background: linear-gradient(90deg, #6782ff, #2b00ff);
color: #ffffff;
text-align: center;
font-family: MyFont5;
padding: 20px;
font-size: 0.9rem;
}


@media screen and (max-width: 768px) {
header {
  flex-direction: space-between;
  align-items: center;
}

.pc-nav {
  display: none;
}
header > ul {
  display: none;
}

.page1 {
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.main2 {
  margin-left: 0;
}

.text {
  margin-left: 0;
  text-align: center;
}

h1 {
  font-size: 24px;
 margin-left: auto;
 margin-right: auto;
}

.search-input {
  width: 90%;
}

.main {
  margin-left: 20px;
 width: 90%;
}

.main1 {
  margin-left: 20px;
  width: 90%;
}
}


@media screen and (max-width: 480px) {
li a {
  margin: 5px;
  font-size: 14px;
}

h1 {
  font-size: 20px;
}

.text a {
  font-size: 12px;
}
}

@media (min-width: 768px) and (max-width: 1024px) {
  .page1 {
      flex-direction: column;
      align-items: center;
  }

 
}

/* General Layout */
.contact-layout {
  display: flex;
justify-content: center;
align-items: center;
  padding: 20px;
  margin: 0;
}

/* Left Side - Message Form */
.message-form-section {
 display: flex;
 margin: 0;
  padding: 20px;
  border-radius: 8px;
}

.message-form-section form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.message-form-section label {
font-family: MyFont2;
  margin-bottom: 5px;
}

.message-form-section input, .message-form-section textarea {
  margin-bottom: 15px;
  padding: 10px;
  font-size: 16px;
  font-family: MyFont3;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.message-form-section button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.message-form-section button:hover {
  background-color: #45a049;
}

/* Right Side - Recent Posts & Recent Comments */
.right-side {

  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Recent Posts */
.recent-posts-section, .recent-comments-section {
margin-bottom: 20PX;
margin-left: auto;
margin-right: auto;
  padding: 20px;
 text-align: center;
  border-radius: 8px;
   width: max-content;
}

.recent-posts-list, .recent-comments-list {
  list-style-type: none;
  padding: 0;
}

.recent-posts-list li, .recent-comments-list li {
  margin-bottom: 15px;
}

.recent-post-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

.recent-post-title {
  font-size: 18px;
  font-weight: bold;
}

.recent-post-excerpt {
  font-size: 14px;
  color: #555;
}

.recent-comments-list a {
  color: #4CAF50;
  text-decoration: none;
}

.recent-comments-list a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  /* General Layout */
.contact-layout {
  display: flex;
justify-content: center;
flex-direction: column;
margin-left: auto;
margin-right: auto;
align-items: center;
  padding: 20px;
}

.message-form-section {
display: flex;
justify-content: center;


}

.message-form-section form {
  display: flex;
  flex-direction: column;
  width: 90%;

}


}

.rp {
font-family: MyFont2;
text-align: center;
font-size: 12px;
text-decoration: underline;
}

.recent-comments-title{
  font-family: MyFont5;
  text-align: center;

 color: #2b00ff;
}

.recent-comments-title::after {
  content: "";
  display: block;
  height: 5px;
  border-radius: 20px;
 
  background: linear-gradient(90deg, #6782ff, #2b00ff);
 
}

/* ---------- Header Layout ---------- */


/* ---------- Hamburger Icon ---------- */
.hamburger {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
z-index: 1002;
}

.hamburger span {
height: 3px;
width: 25px;
background-color: #000;
border-radius: 2px;
transition: 0.3s;
}

/* ---------- Side Drawer Menu ---------- */
#side-menu {
position: fixed;
top: 0;
left: -260px;
width: 250px;
height: 100%;
background-color: #fff;
box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
transition: left 0.3s ease;
z-index: 1001;
padding-top: 20px;
}

#side-menu.active {
left: 0;
}

#side-menu ul {
display: block !important;
flex-direction: column;
width: 100%;
}

#side-menu ul li {
width: 100%;
position: relative;
}

#side-menu ul li a {
--nav-width: 0%;
display: block;
padding: 15px 20px;
color: #000;
text-decoration: none;
font-size: 18px;
width: max-content;
position: relative;
}

#side-menu ul li a::after {
content: "";
position: absolute;
bottom: 10px;
left: 20px;
width: var(--nav-width);
height: 4px;
background-image: url("data:image/svg+xml,%3Csvg width='100' height='4' viewBox='0 0 100 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 2 Q 25 0, 50 2 T 100 2' stroke='%232b00ff' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
background-repeat: repeat-x;
background-size: 50px 4px;
transition: width 0.3s ease;
}

#side-menu ul li a:hover::after {
--nav-width: calc(100% - 40px);
}

/* ---------- Overlay ---------- */
#overlay {
display: none;
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-color: rgba(0, 0, 0, 0.4);
z-index: 1000;
}

#overlay.active {
display: block;
}

/* ---------- Show on Mobile ---------- */
@media (max-width: 768px) {
.hamburger {
  display: flex;
}
}

.side-profile {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px 0;
margin-bottom: 30px;
position: relative;
}

.side-profile::after {
content: "";
position: absolute;
bottom: -15px;
left: 0;
width: 100%;
height: 6px;
background-image: url("data:image/svg+xml,%3Csvg width='100' height='6' viewBox='0 0 100 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 3 Q 25 0, 50 3 T 100 3' stroke='%232b00ff' fill='none' stroke-width='2'/%3E%3C/svg%3E");
background-repeat: repeat-x;
background-size: 100px 6px;
}

.side-profile .side-logo {
width: 80px;
height: 80px;
border-radius: 50%;
object-fit: cover;
margin-bottom: 10px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.side-profile h3 {
margin: 0;
color: #2b00ff;
font-family: MyFont5;
font-size: 18px;
}