html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  padding-top: 0; /* Remove default padding for fixed navbar */
}

/* Enhanced Navbar Styles */
.navbar-brand:hover {
    transform: scale(1.05);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}

.navbar-brand i {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));
}

.navbar-custom .navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 15px 20px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-custom .navbar-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    border-radius: 5px;
    transform: translateY(-2px);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    margin-top: 5px;
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 12px 20px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #495057;
    border-left-color: #667eea;
    transform: translateX(5px);
    padding-left: 25px;
}

/* Footer Styles */
.footer-custom {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 40px 0 20px 0;
    margin-top: 50px;
}

.footer-section h5 {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h5:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #3498db;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.footer-section .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-section .social-links a:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    color: #95a5a6;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 25px 0 0 25px;
    background: rgba(255,255,255,0.1);
    color: white;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.7);
}

.newsletter-form button {
    padding: 10px 20px;
    border: none;
    border-radius: 0 25px 25px 0;
    background: #3498db;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #2980b9;
}

/* Responsive adjustments for navbar */
@media (max-width: 768px) {
    .navbar-brand {
        position: static !important;
        transform: none !important;
        font-size: 1.2rem !important;
        letter-spacing: 1px !important;
    }
    
    .navbar .container {
        padding-left: 15px !important;
    }
    
    body {
        padding-top: 70px !important;
    }
    
    .upload-card {
        margin: 10px;
    }
    
    .dropzone .dz-message {
        font-size: 16px !important;
        margin-top: 30px !important;
    }
    
    .btn-download {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .navbar-custom .navbar-nav .nav-link {
        padding: 10px 15px !important;
    }
}