 :root {
     --primary-red: #e5322e;
     --dark-bg: #33333b;
     --light-gray: #f8f9fa;
 }

 body {
     font-family: 'Inter', sans-serif;
     background-color: #fff;
 }

 /* Hover dropdown support */
 .hover-dropdown:hover>.dropdown-menu {
     display: block;
     margin-top: 0;
 }

 /* Mega menu */
 .dropdown-fullwidth {
     position: static !important;
 }

 .dropdown-menu-fullwidth {
     width: 100%;
     left: 0;
     right: 0;
     border: none;
     border-radius: 0;
     padding: 30px;
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
 }

 /* Smooth hover */
 .dropdown-menu {
     transition: opacity .2s ease;
 }

 /* Navbar polish */
 .navbar .dropdown-toggle::after {
     display: none;
 }

 /* Navbar & Mega Menu */
 .navbar {
     border-bottom: 1px solid #eee;
     padding: 1rem 2rem;
     background: white;
 }

 .navbar-brand {
     font-weight: 800;
     font-size: 1.5rem;
     color: var(--dark-bg);
 }

 .navbar-brand span {
     color: var(--primary-red);
 }

 /* iLovePDF Style Mega Menu */
 .dropdown-fullwidth {
     position: static !important;
 }

 .dropdown-menu-fullwidth {
     width: 100%;
     left: 0;
     right: 0;
     top: 100%;
     border: none;
     border-radius: 0;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     padding: 30px;
 }

 .mega-menu-title {
     font-weight: 700;
     color: var(--primary-red);
     margin-bottom: 15px;
     font-size: 0.9rem;
     text-transform: uppercase;
 }

 .mega-menu-list {
     list-style: none;
     padding: 0;
 }

 .mega-menu-list li a {
     text-decoration: none;
     color: #555;
     font-size: 0.85rem;
     padding: 5px 0;
     display: block;
 }

 .mega-menu-list li a:hover {
     color: var(--primary-red);
 }

 /* Hero */
 .hero {
     padding: 80px 20px;
     text-align: center;
     background: white;
 }

 .hero h1 {
     font-weight: 800;
     font-size: clamp(1.8rem, 5vw, 3rem);
     margin-bottom: 1rem;
 }


 .hero p {
     color: #666;
     font-size: 1.2rem;
     max-width: 700px;
     margin: 0 auto 30px;
 }

 /* Search Bar */
 .search-container {
     max-width: 600px;
     margin: 0 auto 50px;
 }

 .search-input {
     border-radius: 50px;
     padding: 15px 25px;
     border: 2px solid #eee;
 }

 /* Tool Grid */
 .tool-card {
     border: 1px solid #eee;
     border-radius: 12px;
     padding: 25px;
     transition: 0.3s;
     cursor: pointer;
     height: 100%;
     background: white;
     display: flex;
     flex-direction: column;
     align-items: flex-start;
 }

 .tool-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
     border-color: var(--primary-red);
 }

 .tool-icon {
     font-size: 2rem;
     color: var(--primary-red);
     margin-bottom: 15px;
 }

 .tool-card h3 {
     font-size: 1.1rem;
     font-weight: 700;
     margin-bottom: 10px;
 }

 .tool-card p {
     font-size: 0.85rem;
     color: #777;
     margin: 0;
     line-height: 1.4;
 }

 /* Footer */
 footer {
     background: var(--dark-bg);
     color: white;
     padding: 60px 0 20px;
     margin-top: 80px;
 }

 footer a {
     color: #bbb;
     text-decoration: none;
     font-size: 0.9rem;
 }

 footer a:hover {
     color: white;
 }

 /* FeedBack*/

 .feedback-box {
     background: #fff;
     border-radius: 14px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
 }

 .stars i {
     font-size: 2rem;
     color: #ddd;
     cursor: pointer;
     margin: 0 4px;
     transition: color .2s;
 }

 .stars i.active {
     color: #ffc107;
     /* yellow */
 }

 /* ADS SYSTEM */
 .ad-box {
     background: #ffffff;
     border: 1px dashed #dee2e6;
     border-radius: 12px;
     min-height: 250px;
     padding: 10px;
     text-align: center;
     margin-bottom: 20px;
 }

 .ad-sticky {
     position: sticky;
     top: 90px;
 }

 .ad-label {
     font-size: 11px;
     color: #999;
     margin-bottom: 6px;
 }

 @media (max-width: 991px) {
     .ad-box {
         min-height: 120px;

     }
 }