/* ========================================
   Enhanced Dropdown Menu Styles
   ======================================== */

/* Dropdown Container */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0;
    margin-top: 10px;
    background: #ffffff;
    min-width: auto;
    max-width: none;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Services Dropdown Specific Styles */
.services-dropdown {
    height: 60vh;
    max-height: 500px;
    min-height: 400px;
    width: 80vw;
    max-width: 900px;
    min-width: 700px;
    left: 50% !important;
    transform: translateX(-50%) translateY(-20px) scale(0.95);
    overflow-y: auto;
}

.services-dropdown.show,
.dropdown:hover .services-dropdown {
    transform: translateX(-50%) translateY(0) scale(1);
}

/* Services Dropdown Content */
#servicesdropdownContent {
    display: none;
    padding: 30px 40px;
}

#servicesdropdownContent.show {
    display: block;
    animation: fadeInContent 0.5s ease-out;
}

/* About Dropdown Specific Width */
.about-dropdown {
    min-width: 220px !important;
    max-width: 250px !important;
    width: auto !important;
}

.about-dropdown .container {
    padding: 0;
}

.about-dropdown #aboutdropdownContent {
    padding: 10px 15px;
}

/* Enhanced Dropdown (Resource Center) */
.enhanced-dropdown {
    min-width: 900px;
    max-width: 1100px;
}

.dropdown-menu.show,
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    animation: dropdownSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes dropdownSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Services Dropdown Content */
#servicesdropdownContent {
    display: none;
    padding: 30px 40px;
}

#servicesdropdownContent.show {
    display: block;
    animation: fadeInContent 0.5s ease-out;
}

@keyframes fadeInContent {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.servicesdropdownContent {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Grid Layout */
.dropdown-grid {
    color: orange;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding:5px;
}

/* Dropdown Section Animation */
.dropdown-section {
    animation: fadeInUp 0.5s ease-out backwards;
}

.dropdown-section:nth-child(1) {
    animation-delay: 0.1s;
}

.dropdown-section:nth-child(2) {
    animation-delay: 0.2s;
}

.dropdown-section:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transfor

/* Section Headings */
.service-heading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-orange);
    letter-spacing: 0.5px;
}

/* Business Links (Entity Types) */
.business-links {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #f8f9fa;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.business-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.business-links:hover::before {
    left: 100%;
}

.business-links:hover {
    background: #ffffff;
    border-color: var(--primary-orange);
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 74, 0, 0.2);
}

.business-links .flex-shrink-0 {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.ks:hover .flex-shri{
    transform: scale(1.15) rotate(10deg);
}

.business-links span {
    font-weight: 600;
    color: #1a1a2e;
    display: block;
    margin-bottom: 2px;
}

.business-links p {
    color: #6c757d;
    margin: 0;
    font-size: 11px;
}

.business-links i.fa-chevron-right {
    margin-left: auto;
    color: var(--primary-orange);
    font-size: 12px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.business-links:hover i.fa-chevron-right {
    opacity: 1;
    transform: translateX(0);
}

/* Service Heading Icons */
.service-heading i {
    color: var(--primary-orange);
    margin-right: 8px;
    font-size: 16px;
}

.service-heading .me-2 {
    margin-right: 8px;
}

/* Get Links Enhanced */
.get-links i.fa-chevron-right {
    font-size: 10px;
    margin-right: 8px;
    transition: transform 0.3s ease;
    color: var(--primary-orange);
}

.get-links span {
    font-weight: 500;
    font-size: 14px;
}

/* Dropdown Grid Improvements */
.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 30px 40px;
}

/* Section Borders */
.dropdown-section {
    padding: 0;
    position: relative;
}

.dropdown-section:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, #e9ecef 20%, #e9ecef 80%, transparent);
}

/* Hover Animation for Sections */
.dropdown-section:hover .service-heading {
    color: var(--primary-orange);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Link Hover States */
.navbar-card-submenu li {
    margin-bottom: 5px;
    
}

.navbar-card-submenu li:last-child {
    margin-bottom: 0;
}

.get-links {
    display: block;
    padding: 6px 15px;
    margin-bottom: 4px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    
}

.get-links::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-orange);
    border-radius: 2px;
    transition: height 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.get-links::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 74, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.get-links:hover::after {
    left: 100%;
}

.get-links:hover::before {
    height: 70%;
}

.get-links:hover {
    
    padding-left: 20px;
    transform: translateX(5px);
}

.get-links span {
    color: #333333;
    font-weight: 500;
    display: flex;
    align-items: center;
    font-size: 12px;
    white-space: nowrap;
}

.get-links:hover span {
    color: var(--primary-orange);
}

.get-links i.fa-chevron-right {
    font-size: 10px;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.get-links:hover i.fa-chevron-right {
    transform: translateX(3px);
    color: orange;
}

/* Dropdown Sections */
.dropdown-section {
    padding: 20px 0;
}

.dropdown-section:not(:last-child) {
    border-right: 1px solid #e9ecef;
    padding-right: 30px;
}

/* Entity Types Section */
.entity-types-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Services Section */
.services-section {
    display: flex;
    flex-direction: column;
}

/* Support Section */
.support-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.support-section h6 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.support-section p {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 10px;
}

.support-section a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.support-section a:hover {
    color: #ff6a00;
    text-decoration: underline;
}

/* Dropdown Animation */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.show {
    animation: dropdownFadeIn 0.1s ease-out;
}

/* Hover Effects */
.dropdown-item-hover {
    position: relative;
    overflow: hidden;
}

.dropdown-item-hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.dropdown-item-hover:hover::after {
    transform: scaleX(1);
}

/* Resource Center Dropdown */
#resourcedropdownContent {
    display: none;
    padding: 1.5px 5px;
    background-color: white;
    border-radius: 12px;
}

#resourcedropdownContent.show {
    display: block;
}

/* Section Description */
.section-description {
    font-size: 11px;
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* About Dropdown */
#aboutdropdownContent {
    display: none;
    padding: 10px 5px;
    border-radius: 12px;
}

#aboutdropdownContent.show {
    background-color: white !important;
    display: block;
}

.about-dropdown {
    min-width: 220px !important;
    max-width: 250px !important;
    width: auto !important;
    padding: 0 !important;
    left: auto !important;
    right: 0 !important;
    transform: none !important;
}

.about-dropdown.show {
    transform: none !important;
}

.about-dropdown-content {
    padding: 0;
}

.about-section {
    padding: 0;
}

.about-section .navbar-card-submenu {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* About Links */
.about-link {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    margin-bottom: 6px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #f8f9fa;
    border: 1px solid transparent;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

/* About dropdown positioning - right under the button */
.nav-item.dropdown:last-of-type .about-dropdown,
.nav-item:has(.about-dropdown) .about-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    margin-top: 8px !important;
}

.about-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.6s ease;
}

.about-link:hover::before {
    left: 100%;
}

.about-link:hover {
    background: #ffffff;
    border-color: var(--primary-orange);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 74, 0, 0.2);
}

.about-link-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary-orange), #ff6a00);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    order: 1;
}

.about-link:hover .about-link-icon {
    transform: scale(1.2) rotate(15deg);
    box-shadow: 0 4px 15px rgba(255, 74, 0, 0.4);
}

.about-link-icon i {
    color: white;
    font-size: 12px;
}

.about-link-content {
    flex: 1;
    order: 2;
}

.about-link-title {
    display: block;
    font-weight: 600;
    color: #1a1a2e;
    font-size: 14px;
    margin-bottom: 0;
}

.about-link-desc {
    font-size: 12px;
    color: #6c757d;
    margin: 0;
}

.about-link:hover .about-link-title {
    /* color: var(--primary-orange); */
    font-size: 14px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.about-link:hover i.fa-chevron-right {
    opacity: 1;
    transform: translateX(0);
}

.about-link:hover .about-link-title {
    color: var(--primary-orange);
}

/* Enhanced Dropdown Class */
.enhanced-dropdown {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0;
    margin-top: 10px;
    background: #ffffff;
    min-width: 10vw;
    max-width: 1100px;
}

.enhanced-dropdown .container {
    padding: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .dropdown-menu {
        min-width: 800px;
    }
    
    .dropdown-grid {
        gap: 30px;
        padding: 20px;
    }
    
    .enhanced-dropdown {
        min-width: 800px;
    }
}

@media (max-width: 991px) {
    .dropdown-menu {
        min-width: 100%;
        max-width: 100%;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dropdown-section:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        padding-right: 0;
        padding-bottom: 20px;
    }
    
    .enhanced-dropdown {
        min-width: 100%;
        max-width: 100%;
    }
    
    .about-dropdown {
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 767px) {
    .about-link {
        padding: 12px 15px;
    }
    
    .about-link-icon {
        width: 45px;
        height: 45px;
    }
    
    .about-link-icon i {
        font-size: 20px;
    }
    
    .about-link-title {
        font-size: 14px;
    }
    
    .about-link-desc {
        font-size: 11px;
    }
}

/* Navbar Dropdown Toggle */
.nav-link.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.nav-link.dropdown-toggle:hover {
    color: var(--primary-orange);
}

.nav-link.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.nav-link.dropdown-toggle:hover i,
.nav-link.dropdown-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Smooth Transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hidden Class */
.hidden {
    display: none !important;
}

/* Grid Utilities */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-8 {
    gap: 2rem;
}

/* Flex Utilities */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.ml-auto {
    margin-left: auto;
}

/* Text Utilities */
.text-lg {
    font-size: 1.125rem;
}

.font-bold {
    font-weight: 700;
}

.text-xs {
    font-size: 0.75rem;
}

/* Background Utilities */
.bg-orange-500 {
    background-color: #ff4a00;
}

.bg-yellow-500 {
    background-color: #ffc107;
}

.bg-gray-400 {
    background-color: #9ca3af;
}

.bg-blue-400 {
    background-color: #60a5fa;
}

/* Border Utilities */
.rounded-lg {
    border-radius: 0.5rem;
}

/* Hover State */
.hover\:bg-gray-200:hover {
    background-color: #e5e7eb;
}

/* Spacing */
.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.ml-4 {
    margin-left: 1rem;
}

.ml-10 {
    margin-left: 2.5rem;
}

/* Width */
.h-12 {
    height: 3rem;
}

.w-12 {
    width: 3rem;
}

/* Text Color */
.text-white {
    color: #ffffff;
}

.text-orange-500 {
    color: #ff4a00;
}

.text-gray-800 {
    color: #1f2937;
}

/* Padding */
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Block */
.block {
    display: block;
}
    }}

/* Comprehensive Responsive Styles */
@media (max-width: 1200px) {
    .dropdown-menu {
        min-width: 800px;
        max-width: 900px;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 25px;
    }
}

@media (max-width: 992px) {
    .dropdown-menu {
        min-width: 600px;
        max-width: 700px;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }
    
    .about-dropdown {
        min-width: 280px !important;
        max-width: 320px !important;
    }
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border-radius: 0;
        width: 100% !important;
        min-width: auto !important;
        max-width: none !important;
        margin-top: 0;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    .about-dropdown {
        min-width: 100% !important;
        max-width: none !important;
    }
    
    .business-links {
        padding: 10px 12px;
        margin-bottom: 8px;
    }
    
    .business-links .flex-shrink-0 {
        width: 40px;
        height: 40px;
    }
    
    .about-link {
        padding: 6px 12px;
        margin-bottom: 4px;
    }
    
    .about-link-icon {
        width: 24px;
        height: 24px;
    }
    
    .about-link-icon i {
        font-size: 10px;
    }
    
    .about-link-title {
        font-size: 13px;
    }
    
    .service-heading {
        font-size: 12px;
    }
    
    .section-description {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .dropdown-grid {
        padding: 10px;
        gap: 15px;
    }
    
    .about-dropdown {
        min-width: 250px !important;
    }
    
    .business-links .flex-shrink-0 {
        width: 35px;
        height: 35px;
    }
    
    .about-link-icon {
        width: 20px;
        height: 20px;
    }
    
    .about-link-icon i {
        font-size: 8px;
    }
    
    .about-link-title {
        font-size: 8px;
    }
}
