/* Modern Footer Styles */
.modern-footer {
  margin-top: 40px;
  padding: 50px 0 30px;
  background: linear-gradient(135deg, rgba(239, 121, 24, 0.1) 0%, rgba(255, 153, 0, 0.05) 100%);
  backdrop-filter: blur(15px);
  border-top: 2px solid rgba(239, 121, 24, 0.2);
  position: relative;
  overflow: hidden;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.01)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.01)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.01)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
  z-index: 1;
}

.modern-footer .container {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-section {
  padding: 25px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-section:hover::before {
  opacity: 1;
}

.footer-section:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(239, 121, 24, 0.15);
}

.footer-section h3 {
  color: var(--primary);
  margin-bottom: 25px;
  font-size: 1.6rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

/* Feedback Form */
.feedback-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.feedback-form .form-group {
  margin-bottom: 15px;
}

@media (max-width: 600px) {
  .feedback-form .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.form-message {
  margin-top: 15px;
  padding: 12px 15px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background-color: rgba(40, 167, 69, 0.2);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #28a745;
}

.form-message.error {
  background-color: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #dc3545;
}

.loading-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn-loading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.feedback-form input::placeholder,
.feedback-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 15px rgba(239, 121, 24, 0.2), 
              inset 0 2px 4px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.send-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(239, 121, 24, 0.2);
  position: relative;
  overflow: hidden;
}

.send-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.send-btn:hover::before {
  left: 100%;
}

.send-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(239, 121, 24, 0.3);
}

.send-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(239, 121, 24, 0.2);
}

.send-btn svg {
  transition: transform 0.3s ease;
}

.send-btn:hover svg {
  transform: translateX(3px);
}

/* Contact Information */
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #fff;
}

.contact-item svg {
  color: var(--primary);
}

.contact-item a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--primary);
}

/* Social Media */
.social-media {
  margin-top: 25px;
}

.social-media h4 {
  color: #fff;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-link.telegram:hover {
  color: #0088cc;
}

.social-link.instagram:hover {
  color: #e1306c;
}

/* Search Section */
.search-container {
  position: relative;
}

.search-input-group {
  position: relative;
}

.search-input-group input {
  width: 100%;
  padding: 12px 40px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.727);
  color: #fff;
  font-size: 1rem;
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
}

.search-btn:hover {
  color: var(--primary-dark);
}

/* Footer Bottom */


.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-img {
  height: 0px;
  width: auto;
}

.footer-brand {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: bold;
}
.footer-copyright {
  text-align: right;
  color: #fff;
}

.copyright-protected {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-copyright {
    text-align: center;
  }
}

/* Search Highlight */
.search-highlight {
  background-color: var(--primary);
  color: #fff;
  padding: 2px 4px;
  border-radius: 4px;
}
