/* Modern Navbar Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Global Menu Font */
.tp-main-menu-content,
.tp-main-menu-list,
.tp-header-auth-buttons,
.tp-btn-outline,
.tp-btn-inner {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Auth Navbar Styles */
.tp-header-auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.tp-btn-outline {
    padding: 13px 32px;
    border: 2px solid #2D4CFF;
    color: #2D4CFF;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.3px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.tp-btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 76, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.tp-btn-outline:hover::before {
    left: 100%;
}

.tp-btn-outline:hover {
    background-color: #2D4CFF;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 76, 255, 0.25);
}

.tp-btn-inner {
    padding: 13px 32px;
    background: linear-gradient(135deg, #2D4CFF 0%, #1E3BD8 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.3px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(45, 76, 255, 0.15);
}

.tp-btn-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.tp-btn-inner:hover::before {
    left: 100%;
}

.tp-btn-inner:hover {
    background: linear-gradient(135deg, #1E3BD8 0%, #162D9F 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(45, 76, 255, 0.35);
}

/* User Avatar Circle */
.tp-user-avatar-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.tp-user-avatar-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2D4CFF 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(45, 76, 255, 0.2);
}

.tp-user-avatar-circle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(45, 76, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.tp-user-avatar-circle-large {
    width: 55px;
    height: 55px;
    font-size: 18px;
}

/* Modern Menu Styling */
.tp-main-menu-list {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-main-menu-list > li {
    position: relative;
}

.tp-main-menu-list > li > a {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    text-decoration: none;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 0;
    display: inline-block;
    letter-spacing: -0.3px;
}

.tp-main-menu-list > li > a:hover {
    color: #2D4CFF;
}

/* Animated Underline Effect */
.tp-main-menu-list > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -2px;
    left: 50%;
    background: linear-gradient(90deg, transparent, #2D4CFF, transparent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform: translateX(-50%);
}

.tp-main-menu-list > li > a:hover::after {
    width: 100%;
}

/* Active Menu Item */
.tp-main-menu-list > li.active > a {
    color: #2D4CFF;
    font-weight: 700;
}

.tp-main-menu-list > li.active > a::after {
    width: 100%;
    background: #2D4CFF;
}

/* Header Enhancement */
.tp-header-2-area {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

/* Smooth Transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   MODERN FOOTER STYLING
   ========================================== */

/* Footer Main Area */
.tp-footer-2 {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.tp-footer-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 76, 255, 0.5), transparent);
}

.tp-footer-2::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 76, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tp-footer-main {
    position: relative;
    z-index: 1;
}

/* Footer Widget */
.tp-footer-widget-logo img {
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.tp-footer-widget-logo:hover img {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(45, 76, 255, 0.5));
}

.tp-footer-widget-content p {
    color: #CBD5E1;
    font-size: 15px;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
}

/* Footer Widget Title */
.tp-footer-widget-title {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
    letter-spacing: -0.3px;
    position: relative;
    display: inline-block;
}

.tp-footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #2D4CFF, transparent);
    border-radius: 2px;
}

/* Footer Links */
.tp-footer-widget-link ul li {
    margin-bottom: 12px;
}

.tp-footer-widget-link ul li a {
    color: #CBD5E1;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-left: 20px;
    display: inline-block;
}

.tp-footer-widget-link ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2D4CFF;
}

.tp-footer-widget-link ul li a:hover {
    color: #fff;
    padding-left: 25px;
}

.tp-footer-widget-link ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Button */
.tp-btn-round {
    background: linear-gradient(135deg, #2D4CFF 0%, #1E3BD8 100%);
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(45, 76, 255, 0.3);
    text-decoration: none;
}

.tp-btn-round span {
    display: flex;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tp-btn-round:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 76, 255, 0.5);
    background: linear-gradient(135deg, #1E3BD8 0%, #162D9F 100%);
}

.tp-btn-round:hover span {
    transform: translateX(5px);
}

/* Footer Newsletter */
.tp-footer-widget-newsletter-input input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tp-footer-widget-newsletter-input input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #2D4CFF;
    outline: none;
    box-shadow: 0 0 0 4px rgba(45, 76, 255, 0.2);
}

.tp-footer-widget-newsletter-input input::placeholder {
    color: #94A3B8;
}

.tp-footer-widget-newsletter-submit button {
    background: linear-gradient(135deg, #2D4CFF 0%, #1E3BD8 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tp-footer-widget-newsletter-submit button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 76, 255, 0.4);
}

/* Footer Bottom */
.tp-footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Social Media Icons */
.tp-footer-bottom-social {
    display: flex;
    gap: 15px;
}

.tp-footer-bottom-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.tp-footer-bottom-social a:hover {
    background: linear-gradient(135deg, #2D4CFF 0%, #1E3BD8 100%);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 8px 20px rgba(45, 76, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Specific Social Media Colors on Hover */
.tp-footer-bottom-social a:nth-child(1):hover {
    background: linear-gradient(135deg, #E1306C 0%, #C13584 100%);
}

.tp-footer-bottom-social a:nth-child(2):hover {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
}

.tp-footer-bottom-social a:nth-child(3):hover {
    background: linear-gradient(135deg, #1DA1F2 0%, #0D8BD9 100%);
}

.tp-footer-bottom-social a:nth-child(4):hover {
    background: linear-gradient(135deg, #0077B5 0%, #005E93 100%);
}

.tp-footer-bottom-social a:nth-child(5):hover {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
}

/* Copyright Text */
.tp-footer-copyright span {
    color: #94A3B8;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.tp-footer-copyright a {
    color: #2D4CFF;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tp-footer-copyright a:hover {
    color: #fff;
}

/* Footer Links (Privacy & Terms) */
.tp-footer-links a {
    color: #94A3B8;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tp-footer-links a:hover {
    color: #fff;
}

.tp-footer-links span {
    color: #475569;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .tp-footer-bottom-social {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .tp-footer-copyright,
    .tp-footer-links {
        text-align: center !important;
    }
    
    .tp-footer-links {
        margin-top: 15px;
    }
}
