:root {
  --primary:#0056ff;
  --gradient:linear-gradient(135deg,#0056ff,#00aaff);
  --text:#222;
  --bg:#f7f9ff;
  --shadow:rgba(0,0,0,0.1);
  --radius:12px;
}

body {
  font-family:'Poppins',sans-serif;
  margin:0;
  background:var(--bg);
  color:var(--text);
}

/* Header */
header {
  background:var(--gradient);
  color:#fff;
  box-shadow:0 2px 8px var(--shadow);
  position:sticky;
  top:0;
  z-index:100;
}
.header-container {
  display:flex;
  justify-content:space-between;
  align-items:center;
  max-width:1000px;
  margin:auto;
  padding:15px 20px;
}
.logo {
  font-weight:700;
  font-size:1.5rem;
  text-decoration:none;
  color:#fff;
}
nav a {
  text-decoration:none;
  color:#fff;
  margin-left:20px;
  font-weight:500;
  transition:opacity .3s;
}
nav a:hover{opacity:.8;}

/* Tool Section */
.container {
  max-width:900px;
  margin:auto;
  padding:25px;
}
.breadcrumb {color:#666;font-size:14px;margin:15px 0;}

.tool-main {
  background:#fff;
  text-align:center;
  padding:30px;
  border-radius:var(--radius);
  box-shadow:0 4px 14px var(--shadow);
}
.tool-icon {width:90px;margin-bottom:10px;}
.tool-main h1 {margin:10px 0 5px;}
.tool-main p {color:#555;margin-bottom:20px;}
textarea {
  width:100%;
  height:180px;
  border:1px solid #ccc;
  border-radius:8px;
  padding:10px;
  font-size:15px;
  resize:none;
}
button {
  background:var(--primary);
  color:#fff;
  border:none;
  padding:12px 25px;
  border-radius:8px;
  cursor:pointer;
  margin-top:15px;
  font-size:16px;
}
button:hover{opacity:0.9;}

.pdf-result {margin-top:10px;font-weight:600;color:green;}

.ad-placeholder {
  background:#eaeaea;
  text-align:center;
  padding:15px;
  margin:25px 0;
  border-radius:var(--radius);
}

/* Description */
.tool-description {
  background:#fff;
  border-radius:var(--radius);
  box-shadow:0 3px 10px var(--shadow);
  padding:25px;
  margin-top:40px;
  line-height:1.7;
}
.tool-description h2 {color:var(--primary);}
.tool-description ul {padding-left:20px;}
.tool-description li {margin:6px 0;}

/* Related Tools */
.related-tools {
  text-align:center;
  margin-top:35px;
}
.related-tools h3 {color:var(--primary);}
.related-tools a {
  color:var(--primary);
  text-decoration:none;
  margin:0 8px;
}
.related-tools a:hover{text-decoration:underline;}

/* FAQ Section */
.faq-section {
  margin-top:40px;
  text-align:center;
}
.faq-section h2 {color:var(--primary);margin-bottom:15px;}
.faq-item {
  max-width:750px;
  margin:10px auto;
  border:1px solid #ddd;
  border-radius:8px;
  box-shadow:0 2px 8px var(--shadow);
  overflow:hidden;
}
.faq-question {
  width:100%;
  background:#f9f9f9;
  border:none;
  text-align:center;
  padding:15px;
  font-weight:600;
  cursor:pointer;
  font-size:1rem;
}
.faq-answer {
  display:none;
  background:#fff;
  padding:12px 20px;
  text-align:center;
}
.faq-item.active .faq-answer {display:block;}

/* Footer */
footer {
  background:#111;
  color:#fff;
  text-align:center;
  padding:20px;
  margin-top:50px;
}
.footer-links a {
  color:#fff;
  text-decoration:none;
  margin:0 10px;
}
.footer-links a:hover{text-decoration:underline;}

/* Back to Top */
#backToTop {
  position:fixed;
  bottom:20px;
  right:20px;
  background:var(--primary);
  color:#fff;
  border:none;
  border-radius:50%;
  width:45px;
  height:45px;
  cursor:pointer;
  display:none;
  font-size:18px;
}

/* Responsive */
@media(max-width:600px){
  nav a{display:block;margin:5px 0;}
  .tool-description{padding:18px;}
}
/* style.css */

/* --- Global Styles & Variables --- */
:root {
  --primary: #0056ff;
  --secondary: linear-gradient(135deg, #00E0FF, #00FFFF); /* Bright Cyan Gradient */
  --text: #222;
}

body {
  font-family: Poppins, sans-serif;
  margin: 0;
  background: var(--secondary);
  color: var(--text);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* --- Header Styles --- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #0056ff, #00aaff);
  padding: 15px 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-img {
  margin-right: 12px;
  filter: brightness(1) invert(0.9) sepia(0.8) saturate(3) hue-rotate(45deg);
}

.logo-text {
  font-size: 24px;
  color: #fff;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
  font-weight: 700;
}

/* Navbar links */
#navbar {
  display: flex;
  align-items: center;
  gap: 20px;
}

#navbar a {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 5px 0;
}

#navbar a:hover {
  color: #fffa;
  transform: scale(1.1);
}

/* Hamburger Icon */
#hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1002;
}

#hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropbtn {
  background: none;
  border: none;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  font-family: Poppins, sans-serif;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0056ff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  min-width: 180px;
  z-index: 999;
  border: 1px solid #004acb;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
  background-color: #004acb;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* --- Mobile Responsive Menu --- */
@media screen and (max-width: 768px) {
  #hamburger {
    display: flex;
  }

  #navbar {
    position: fixed;
    top: 80px;
    right: 15px;
    width: 250px;
    background: linear-gradient(180deg, #0056ff, #00399d);
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    gap: 0;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.25);
    z-index: 1001;
    border-radius: 12px;
    transform: translateX(110%);
    transition: transform 0.3s ease-in-out;
  }

  #navbar.show {
    display: flex;
    transform: translateX(0);
  }

  #navbar a, .dropdown {
    padding: 15px 25px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
  }

  .dropdown-content {
    position: static;
    display: none;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: none;
    border-radius: 0;
    border: none;
    min-width: 100%;
  }

  .dropdown-content a {
    color: #e0f7ff;
    font-weight: normal;
    padding-left: 40px;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }
}

/* --- Footer Styles --- */
footer a {
  text-decoration: none;
  color: var(--primary);
  margin-right: 15px;
}

footer a:hover {
  color: #0039c1;
}

/* Social media icon hover effect */
.footer-social a:hover {
    transform: scale(1.15);
}