/* Modern Footer Styles */
.footer {
    background: linear-gradient(135deg, #0f3158 0%, #1a4a7c 100%);
    position: relative;
}

.footer-content {
    position: relative;
}

/* Brand Section */
.footer-logo {
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}



/* Social Links dengan efek hover yang lebih menarik */
.footer-social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    background: var(--accent-orange);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 107, 43, 0.4);
}

.social-link[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 12px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-link:hover[data-tooltip]::before {
    opacity: 1;
    visibility: visible;
}

/* Footer Widget */
.footer-widget {
    margin-bottom: 30px;
}

.footer-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    color: white;
    font-weight: 600;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-orange);
}

/* Footer Links dengan animasi hover */
.footer-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--accent-orange);
    transform: translateX(10px);
}



.footer .dropdown-item {
    color: black;
    transition: 0.3s;
}

.footer .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: gold;
    padding-left: 20px;
}

/* Icon Animation */
.footer-link i {
    transition: 0.3s;
}

.footer .dropdown.show .footer-link i {
    transform: rotate(-180deg);
}

/* Contact Items dengan design card */
.contact-item {
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--accent-orange);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover .icon-box {
    transform: rotate(360deg);
}

.contact-text h6 {
    font-size: 0.9rem;
    opacity: 0.9;
}

.contact-text p {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Newsletter Section */
.newsletter-form .form-control {
    height: 50px;
    border-radius: 25px 0 0 25px;
    border: none;
    padding: 0 20px;
}

.newsletter-form .btn-accent {
    border-radius: 0 25px 25px 0;
    background: var(--accent-orange);
    border: none;
    color: white;
    padding: 0 30px;
    height: 50px;
    transition: all 0.3s ease;
}

.newsletter-form .btn-accent:hover {
    background: #ff6b2b;
    transform: translateX(3px);
}

/* Footer Bottom */
.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    padding-top: 20px;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}



/* Footer Dropdown Styles */
.footer-dropdown {
    position: relative;
}

.footer-dropdown-menu {
    list-style: none;
    padding-left: 20px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.footer-dropdown.active .footer-dropdown-menu {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
    padding-top: 8px;
    padding-bottom: 8px;
}

.footer-dropdown-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 5px 0;
    display: block;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.footer-dropdown-menu a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.dropdown-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-toggle::after {
    content: '\F282';
    font-family: 'bootstrap-icons';
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.footer-dropdown.active .dropdown-toggle::after {
    transform: rotate(90deg);
}

/* Animation untuk dropdown items */
.footer-dropdown-menu li {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-dropdown.active .footer-dropdown-menu li {
    opacity: 1;
    transform: translateX(0);
}

/* Delay animation untuk setiap item */
.footer-dropdown.active .footer-dropdown-menu li:nth-child(1) {
    transition-delay: 0.1s;
}

.footer-dropdown.active .footer-dropdown-menu li:nth-child(2) {
    transition-delay: 0.15s;
}

.footer-dropdown.active .footer-dropdown-menu li:nth-child(3) {
    transition-delay: 0.2s;
}

.footer-dropdown.active .footer-dropdown-menu li:nth-child(4) {
    transition-delay: 0.25s;
}

.footer-dropdown.active .footer-dropdown-menu li:nth-child(5) {
    transition-delay: 0.3s;
}

.footer-dropdown.active .footer-dropdown-menu li:nth-child(6) {
    transition-delay: 0.35s;
}

.footer-dropdown.active .footer-dropdown-menu li:nth-child(7) {
    transition-delay: 0.4s;
}

.whatsapp-link {
    transition: all 0.3s ease;
    display: inline-block;
}

.whatsapp-link:hover {
    color: var(--accent-orange) !important;
    transform: translateX(5px);
}