/*
Theme Name: YT Thumbnail Downloader
Theme URI: https://yt-thumbnail-download.com/
Author: Mudassar
Description: Custom WordPress theme for YT Thumbnail Downloader.
Version: 1.0
*/

/* Yahan se apna actual CSS likho */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  text-align: center;
}


/* ===== Header ===== */
header {
  background-color: #000;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;
}
  .thumb-box {
    background: #111;
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  }

 .thumb-box img {
  width: 100%;
  aspect-ratio: 16 / 9; /* Thumbnails ka fixed ratio */
  object-fit: cover; /* Cover karega, stretching nahi karega */
  border-radius: 6px;
  display: block;
}

  .thumb-box h3 {
    color: #fff;
    margin: 10px 0;
  }

  .open-btn {
    display: inline-block;
    margin-top: 10px;
    background: green;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
  }

  .thumb-box.large {
  width: 100%;
  max-width: 480px;
  margin: 15px auto; /* Auto horizontal margin = center align */
}
h2 {
  color: #ff0000;
}
.thumb-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center align small thumbnails */
  gap: 20px;
}

.thumb-box.small { width: 100%; max-width: 240px; }


  @media (max-width: 600px) {
    .thumb-box.large {
        margin-top:15px;
      max-width: 100%;
    }
    .thumb-box.small {
      max-width: 100%;
    }
    .thumb-row {
      flex-direction: column;
      align-items: center;
    }
  }
.logo {
  font-size: 22px;
  color: #FFB800;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* ===== Navigation ===== */
nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  padding: 8px 12px;
  transition: background 0.3s, color 0.3s;
  border-radius: 5px;
}

nav ul li a:hover {
  background: #fff;
  color: #000;
}
.disclaimer-wrapper4738 {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-align: left; /* From your inline style */
}

.disclaimer-wrapper4738 h2 {
  font-size: 22px;
  color: #e62117;
  margin: 20px 0 10px;
}

.disclaimer-wrapper4738 p {
  margin-bottom: 12px;
  font-size: 15px;
}

.disclaimer-wrapper4738 ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.disclaimer-wrapper4738 li {
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .disclaimer {
    padding: 20px 15px;
  }

  .disclaimer h2 {
    font-size: 20px;
  }

  .disclaimer p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .disclaimer h2 {
    font-size: 18px;
  }

  .disclaimer p {
    font-size: 13px;
  }
}

/* ===== Mobile Menu ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  background: white;
  height: 3px;
  width: 25px;
  margin: 4px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  nav {
    width: 100%;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    display: none;
    background: #000;
    margin-top: 10px;
    padding: 10px 0;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  nav ul li a {
    padding: 10px 20px;
    border-bottom: 1px solid #333;
  }

  nav ul li:last-child a {
    border-bottom: none;
  }
}

.hero {
  padding: 40px 20px;
}

.hero h1 {
  font-size: 28px;
  color: #e62117;
  margin-bottom: 10px;
  margin-top: 20px;
}

.hero p {
  color: #333;
  margin-bottom: 20px;
}

.hero input {
  width: 60%;
  padding: 10px;
  font-size: 16px;
  max-width: 400px;
}

.hero button {
  padding: 10px 20px;
  margin-left: 10px;
  font-size: 16px;
  background: #000;
  color: white;
  border: none;
  cursor: pointer;
}
@media (max-width: 1024px) {
  .hero button {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero input,
  .hero button {
    width: 80%;
    margin: 10px 0 0;
  }

  .hero button {
    font-size: 1rem;
    padding: 12px 18px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero input {
    width: 90%;
    font-size: 0.95rem;
  }

  .hero button {
    width: 30%;
    font-size: 0.95rem;
    padding: 12px 16px;
  }
}

@media (max-width: 768px) {
  .hero input,
  .hero button {
    width: 90%;
    margin-left: 0;
    font-size: 1rem;
    white-space: nowrap;
    text-align: center;
  }

  .hero button {
    padding: 14px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero input,
  .hero button {
    width: 95%;
    margin-left: 0;
    font-size: 1rem;
  }

  .hero button {
    padding: 12px 20px;
  }
}
 /* ===== Dropdown Styling ===== */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #000;
  flex-direction: column;
  min-width: 140px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.05);
  z-index: 999;
}

.dropdown-menu li a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  padding: 8px 12px;
  display: block;
  transition: background 0.3s, color 0.3s;
  border-radius: 5px;
}

.dropdown-menu li a:hover {
  background: #fff;
  color: #000;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

/* ===== Mobile Fix for Dropdown ===== */
@media (max-width: 768px) {
  .dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    display: none;
    background: #000;
    box-shadow: none;
    padding-left: 15px;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    display: flex;
  }

  nav ul.active .dropdown-menu {
    display: none;
  }

  nav ul.active .dropdown:hover .dropdown-menu {
    display: flex;
  }
}


   .container {max-width: 900px;
margin: 50px auto;
padding: 30px;
background-color: white;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
animation: fadeInUp 1s ease both;
text-align: left;

}

#div1 h2 {
  color: #e62117;
  margin-top: 20px;
  text-align: center;
  margin-bottom: 30px;
}

#div1 p {
  line-height: 1.8;
  margin-top: 10px;
}
.faq-section {
  max-width: 800px;
  margin: 50px auto;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  text-align: left;
}

.faq-section h2 {
  text-align: center;
  color: #1E2A78;
  margin-bottom: 20px;
}

.faq-item {
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  text-align: left;
  border: none;
  background-color: #f1f1f1;
  color: #1E2A78;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}

.faq-question:hover {
  background-color: #e8e8e8;
}

.faq-answer {
  padding: 10px 15px;
  background-color: #fff3cd;
  border-left: 4px solid #FFB800;
  color: #555;
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.faq-question.active::before {
  content: "-";
  position: absolute;
  left: 10px;
  color: #e62117;
}

.faq-question::before {
  content: "+";
  position: absolute;
  left: 10px;
  color: #1E2A78;
}

    @keyframes fadeInUp {
      from {
        transform: translateY(30px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    h1 {
      font-size: 36px;
      text-align: center;
      margin-top: 15px;
      text-shadow: 2px 2px #00000020;
    }

    h2 {
      color: #1E2A78;
      margin-top: 30px;
    }

    p {
      line-height: 1.7;
      margin-top: 10px;
    }

    ul {
      margin-top: 10px;
      padding-left: 20px;
    }

    li {
      margin: 6px 0;
    }

    .highlight {
      color: #e62117;
      font-weight: bold;
    }

    footer.site-footer {
      background-color: black;
      color: white;
      padding: 20px 10px;
      text-align: center;
      font-size: 14px;
      margin-top: 60px;
    }
  .header-box2025 {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 40px; /* To match your image's full pill shape */
  width: 40%;
  color: white;
  text-align: center;
  padding: 7px;
  flex-direction: column;
  
  /* Center horizontally */
  margin-left: auto;
  margin-right: auto;

  /* Optional: add top/bottom spacing */
  margin-top: 20px;
  margin-bottom: 20px;
}

.header-box2025 h2 {
  font-size: 28px;
  text-align: center;
  margin:auto 0;
}

#div1 {
  max-width: 900px;
  margin: 50px auto;
  padding: 30px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease both;
  text-align: left;
}

#div1 h2 {
  color: #e62117;
  margin-top: 20px;
  text-align: center;
  margin-bottom: 30px;
}

#div1 p {
  line-height: 1.8;
  margin-top: 10px;
}

.instruction-box {
background-color: #f3f4f6;   /* Or use #fffaf0 for warm look */
color: #333; /* Optional: to keep text readable */
  border-left: 5px solid #FFB800;
  padding: 15px;
  margin: 30px auto 30px;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: left;
}

.instruction-box h3 {
  margin-bottom: 10px;
  color: #1E2A78;
}

.instruction-box p {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.5;
}
@media (max-width: 480px) {
  .instruction-box {
    padding: 12px;
    margin: 20px 10px;
  }

  .instruction-box p {
    font-size: 14px;
  }

  .instruction-box h3 {
    font-size: 18px;
  }
}

    /* Related topics box */
   .related-topics {
  max-width: 500px;
  margin: 50px auto;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 30px;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
}

.related-topics:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}


    .related-topics h3 {
        background: black;
        color:white;
        padding: 10px;
        margin: 0;
        text-align: center;
        font-size: 18px;
    }
.related-topics a {
  display: block;
  padding: 10px 15px;
  margin-bottom: 10px;
  margin-top:10px;
  text-decoration: none;
  color: #333;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}

.related-topics a:hover {
  background: #f0f0f0;
  color: #000;
}
    /* Side panel */
    .side-panel {
        position: fixed;
        top: 0;
        right: -400px;
        width: 400px;
        max-width: 100%;
        height: 100%;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.2);
        overflow-y: auto;
        transition: right 0.3s ease-in-out;
        z-index: 9999;
    }

    .side-panel.open {
        right: 0;
    }

    .side-panel-header {
        background: #222;
        color: #fff;
        padding: 15px;
        font-size: 18px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .side-panel-content {
        padding: 15px;
    }

    .side-panel-content a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        text-decoration: none;
        color: #0073e6;
    }

    .side-panel-content a:hover {
        text-decoration: underline;
    }

    @media (max-width: 1024px) {
    .side-panel {
        width: 70%;
        right: -70%;
    }
    .side-panel.open {
        right: 0;
    }
}

/* Small screens - large phones */
@media (max-width: 768px) {
    .side-panel {
        width: 85%;
        right: -85%;
    }
}

/* Extra small - mobile phones */
@media (max-width: 480px) {
    .side-panel {
        width: 100%;
        right: -100%;
    }
}

    
    footer a {
      color: #FFB800;
      text-decoration: none;
      margin: 0 5px;
    }

    footer a:hover {
      text-decoration: underline;
    }