@font-face {
  font-family: myFont;
  src: url(sharpie.ttf);
}

@font-face {
  font-family: myPara;
  src: url(ranade.ttf);
}

h1 {
  font-family: myFont;
}

h4,
a,
h3,
h2,
p {
  font-family: myPara;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* General Navigation Bar Styling */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 90px;
  height: 40px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  padding: 10px 15px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #b700ff;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: white;
}

.download-btn {
  padding: 12px 25px;
  background: white;
  color: black !important;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px !important;
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.2);
}

.download-btn:hover {
  background: #b700ff;
  color: white !important;
  box-shadow: 0 6px 8px rgba(183, 0, 255, 0.4);
}

/* Dropdown Menu Styling */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background-color: black;
  border-radius: 8px;
  display: none;
  flex-direction: column;
  padding: 10px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  min-width: 200px;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  color: white;
  text-decoration: none;
  padding: 5px 15px;
  font-size: 14px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
  /* background-color: #b700ff; */
  color: white;
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-menu {
  display: flex;
}

/* Responsive Design */
/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  nav {
    padding: 15px 20px;
  }

  .nav-links {
    gap: 15px;
  }

  .download-btn {
    font-size: 13px;
    padding: 10px 20px;
  }

  .logo img {
    width: 70px;
    height: 30px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .dropdown-menu {
    min-width: 180px;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  nav {
    display: none;
  }
}

/* Sidebar Styling */
/* Sidebar Styling */
.mobile-sidebar {
  display: none; /* Hidden initially */
  position: fixed; /* Fixed to make it sticky across all sections */
  top: 0;
  left: 0;
  height: 100%;
  width: 250px;
  background-color: black;
  z-index: 1000;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-sidebar.open {
  transform: translateX(0); /* Sidebar appears */
  display: block; /* Ensure visibility */
}

.sidebar-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 100px;
  height: auto;
  margin-left: 50px;
}

.menu-toggle {
  position: sticky; /* Makes the toggle button sticky */
  top: 10px;
  left: 15px;
  background-color: #b700ff;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 20px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1100; /* Ensure it appears above the sidebar */
}

.menu-toggle:hover {
  background-color: white;
  color: black;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar-links a:hover {
  background-color: #b700ff;
  color: white;
}

/* Dropdown Menu Styling */
.sidebar-links .dropdown-menu {
  display: none;
  flex-direction: column;
  margin-top: 10px;
}

.sidebar-links .dropdown.open .dropdown-menu {
  display: flex;
}

.sidebar-links .dropdown-menu li {
  margin-bottom: 10px;
}

/* Responsive Design for Mobile Only */
@media (max-width: 480px) {
  .mobile-sidebar,
  .menu-toggle {
    display: block;
  }
}

@media (min-width: 481px) {
  .mobile-sidebar,
  .menu-toggle {
    display: none;
  }
}

/* About Us Section */
.about-us {
  text-align: center;
  padding-bottom: 2rem;
}

.about-header {
  background: #f7c3d4;
  padding: 15rem 1rem;
  position: relative;
  z-index: -1;
}

.about-header h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.about-content {
  background: #fff;
  position: relative;
  padding: 2rem 1rem;
  margin-top: 10px;
  z-index: 0;
}

.about-image {
  margin: -15rem auto 2rem;
  display: block;
  width: 90%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  /* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); */
}

.about-content p {
  max-width: 800px;
  margin: 2rem auto 0;
  font-size: 1.1rem;
  text-align: center;
  color: #555;
}

/* Blogs Section */
/* Blogs Section */
.blogs {
  background: linear-gradient(135deg, #f9f9f9, #f7c3d4);
  padding: 3rem 1rem;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-box {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  width: calc(33.333% - 2rem);
  max-width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 450px; /* Set a fixed height */
}

.blog-box:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.blog-image img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 5px solid #f7c3d4;
}

.blog-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* Ensures the content fills the container */
  text-align: center;
  overflow: hidden; /* Prevents overflow of content */
}

.blog-content h3 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 1rem;
  text-transform: capitalize;
  flex-shrink: 0; /* Prevents shrinking of the title */
}

.blog-content p {
  font-size: 1rem;
  color: #666;
  /* margin: 1rem 0; */
  flex-grow: 1; /* Allows the description to take available space */
  overflow: hidden; /* Hides overflowing text */
  text-overflow: ellipsis; /* Adds an ellipsis for clipped text */
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Limits the description to 3 lines */
  -webkit-box-orient: vertical;
}

.blog-content .read-more {
  align-self: center;
  margin-top: 1rem;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  color: #fff;
  background: #ff6384;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  flex-shrink: 0; /* Prevents the button from shrinking */
}

.blog-content .read-more:hover {
  background: #e05572;
  transform: translateY(-2px);
}

/* Media Queries for Responsiveness */

/* Large Screens (Desktops, Laptops) */
@media (min-width: 1024px) {
  .blog-box {
    width: calc(33.333% - 2rem);
  }
}

/* Medium Screens (Tablets) */
@media (max-width: 1023px) and (min-width: 768px) {
  .blog-box {
    width: calc(50% - 2rem);
  }

  .blog-content h3 {
    font-size: 1.6rem;
  }

  .blog-content p {
    font-size: 0.95rem;
  }
}

/* Small Screens (Mobile Devices) */
@media (max-width: 767px) {
  .container {
    gap: 1rem;
  }

  .blog-box {
    width: 100%;
    max-width: 100%;
  }

  .blog-content h3 {
    font-size: 1.4rem;
  }

  .blog-content p {
    font-size: 0.9rem;
  }

  .blog-content .read-more {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
  }
}

/* Footer Styles */
.custom-footer {
  background-color: #121212;
  color: #fff;
  padding: 40px 20px;
  }
  
  .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* Allow wrapping for smaller screens */
  }
  
  /* Left Section: Branding */
  .footer-item.join-section {
  text-align: center;
  flex: 1;
  margin-bottom: 20px;
  }
  
  .footer-item p {
  font-size: 14px;
  margin-top: 10px;
  color: #bbb;
  }
  
  /* Center Section: Navigation Links */
  .footer-links-center {
  display: flex;
  flex-wrap: wrap; /* Adjust links into multiple rows on smaller screens */
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex: 1;
  margin-bottom: 20px;
  text-align: center;
  }
  
  .footer-links-center a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
  }
  
  .footer-links-center a:hover {
  color: #ff9a8b; /* Subtle hover effect */
  }
  
  /* Right Section: Social Media */
  .footer-links-social {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  flex: 1;
  }
  
  .social-link {
  color: white;
  font-size: 20px;
  transition: transform 0.3s, color 0.3s;
  }
  
  .social-link:hover {
  color: #ff9a8b;
  transform: scale(1.1); /* Add scaling effect on hover */
  }
  
  /* Responsive Styles */
  @media (max-width: 1024px) {
  .footer-container {
  flex-wrap: wrap; /* Allow wrapping for smaller screens */
  }
  
  .footer-links-center {
  gap: 10px; /* Reduce spacing between links */
  }
  
  .footer-links-center a {
  font-size: 15px; /* Slightly larger font for medium screens */
  }
  
  .social-link {
  font-size: 18px; /* Adjust size of icons */
  }
  }
  
  @media (max-width: 768px) {
  .footer-container {
  flex-direction: column; /* Stack sections vertically */
  align-items: center; /* Center-align all sections */
  text-align: center;
  }
  
  .footer-item.join-section,
  .footer-links-center,
  .footer-links-social {
  flex: none;
  width: 100%; /* Make each section occupy full width */
  margin-bottom: 15px; /* Add spacing between sections */
  }
  
  .footer-links-center a {
  font-size: 14px;
  }
  
  .social-link {
  font-size: 18px;
  }
  }
  
  @media (max-width: 480px) {
  .footer-item.join-section img {
  width: 150px; /* Scale down the logo for small screens */
  }
  
  .footer-links-center {
  gap: 8px; /* Reduce gap further for very small screens */
  }
  
  .footer-links-center a {
  font-size: 13px; /* Smaller font size for better readability */
  }
  
  .social-link {
  font-size: 16px; /* Scale down icons */
  }
  }
  
  @media (max-width: 360px) {
  .footer-container {
  padding: 20px 10px; /* Reduce padding for extra small screens */
  }
  
  .footer-links-center a {
  font-size: 12px; /* Ensure text doesn't overflow */
  }
  
  .social-link {
  font-size: 14px;
  }
  }