
  .navbar {
  position: fixed;
    top: 0;
    left:0;
    right: 0;
    background-color: white;
    z-index: 1; 
    box-shadow: 0 4px 6px rgba(6, 236, 6, 0.1);
    

}
    .navbar .nav-link {
        font-weight: 500;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .navbar .signup-btn {
        background-color: #e5322d; 
        color: white !important;
        padding: 0.375rem 0.75rem;
        border-radius: 0.25rem;
        margin-left: 0.5rem;
    }
    .navbar .signup-btn:hover {
        background-color: #c42a25; 
    }
    .navbar .icon-dots {
        font-size: 1.5rem;
        margin-left: 1rem;
        cursor: pointer;
        color: #6c757d;
    }

*/
    .all-pdf-tools-dropdown {
        position: static; 
                     
    }
   
    .all-pdf-tools-dropdown:hover > .nav-link,
    .all-pdf-tools-dropdown.show > .nav-link {
        color: #e5322d !important; 
    }

    /* The Red Arrow below "ALL PDF TOOLS" button when open */
    .all-pdf-tools-dropdown.show::after {
        content: '';
        position: absolute;
        top: calc(100% - 1px); /* Position just below the navbar item */
        left: 50%;
        transform: translateX(-50%);
        width: 20px; /* Width of the arrow base */
        height: 10px; /* Height of the arrow */
        background-color: #e5322d; /* Red color */
        clip-path: polygon(0% 0%, 100% 0%, 50% 100%); /* Creates a downward triangle */
        z-index: 1001; /* Ensure it's above the dropdown menu if they overlap */
    }
     /* If the above arrow is on .all-pdf-tools-dropdown (the li), then the li needs position: relative */
    .all-pdf-tools-dropdown {
        position: relative;
    }


    /* Mega Menu Styling */
    .navbar .megamenu {
        padding: 1.5rem;
        /* Width: auto to fit content, or fixed/percentage */
        min-width: 500px; /* Minimum width */
 
        max-width: 1140px; /* Max width, e.g., Bootstrap container max-width */

        /* Centering the megamenu */
        left: 50%;
        transform: translateX(-50%);
        
        border-radius: 0.35rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
        margin-top: 14px; /* Gap for the red arrow */
        border: 1px solid #dee2e6; /* Light border for the menu */
        border-top: none; /* Remove top border if arrow connects */
    }
 #mydropdown{
        padding: 1rem;
        /* Width: auto to fit content, or fixed/percentage */
        min-width: 350px !important; /* Minimum width */
  
        max-width: 1140px; /* Max width, e.g., Bootstrap container max-width */

        /* Centering the megamenu */
        left: 50%;
        transform: translateX(-50%);
        
        border-radius: 0.35rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
        margin-top: 14px; /* Gap for the red arrow */
        border: 1px solid #dee2e6; /* Light border for the menu */
        border-top: none; /* Remove top border if arrow connects */
    }

    .megamenu .dropdown-header {
        font-size: 0.75rem; /* 12px */
        color: #6c757d;   /* Bootstrap's muted text color */
        padding-top: 0.25rem;
        padding-bottom: 0.5rem;
        padding-left: 0; /* Align with items */
        margin-bottom: 0.5rem;
        font-weight: bold;
        /* text-transform: uppercase; /* Added via class */
    }

    .megamenu .dropdown-item {
        padding: 0.4rem 0.25rem; /* Adjust padding for items */
        display: flex;
        align-items: center;
        font-size: 0.875rem; /* 14px */
        color: #343a40; /* Darker text for items */
        border-radius: 0.2rem;
    }
    .megamenu .dropdown-item:hover,
    .megamenu .dropdown-item:focus {
        background-color: #f8f9fa; /* Light grey hover */
        color: #e5322d; /* Red text on hover */
    }

    .megamenu .tool-icon {
        width: 18px; /* Icon size */
        height: 18px; /* Icon size */
        margin-right: 0.75rem; /* Space between icon and text */
        /* Icons should ideally be SVGs so their color can be controlled or they have embedded colors */
        opacity: 0.7; /* Slight fade for icons, adjust as needed */
    }
    .megamenu .dropdown-item:hover .tool-icon,
    .megamenu .dropdown-item:focus .tool-icon {
        opacity: 1;
    }


    /* Responsive adjustments for columns */
    .megamenu .row {
        margin-left: -10px; 
        margin-right: -10px;
    }
    .megamenu .row > [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Ensure dropdown menu doesn't get hidden if navbar has overflow:hidden */
    .navbar {
        overflow: visible;
    }
.tool-icon {
    width: 20px; /* adjust size as needed */
    height: 20px;
    object-fit: contain;
    margin-right: 8px; /* spacing between icon and text */
    vertical-align: middle;
}
body {
  padding-top: 57px; /* match navbar height */
}