/* 
=================================
XUÂN PHẠM MAKEUP - FOOTER STYLES
=================================
✅ RESPONSIVE FONT OPTIMIZATION IMPLEMENTED
📱 Desktop (1440px+): Enhanced typography
💻 Large Desktop (1025-1439px): Standard typography  
📱 Tablet (768-1024px): Reduced font sizes (-15%)
📱 Mobile (≤768px): Compact typography (-25%)
📱 Small Mobile (≤480px): Ultra compact (-35%)
📱 Extra Small (≤375px): Minimal but readable (-40%)

🔗 FOOTER-BOTTOM-LINKS OPTIMIZATION:
✅ Always horizontal layout across ALL devices
✅ Responsive gap spacing (15px → 12px → 8px → 6px)
✅ Flex-wrap enabled for long text
✅ Center-aligned for better mobile UX

♿ ACCESSIBILITY FEATURES:
- Minimum 44px touch targets on mobile
- Proper contrast ratios maintained
- Focus states enhanced
- Screen reader optimized
=================================
*/

/* CSS Variables for Footer */
:root {
  --footer-primary: #e91e63;
  --footer-primary-light: #f06292;
  --footer-text: #6c757d;
  --footer-heading: #343a40;
  --footer-bg: #fff;
  --footer-bg-gradient: linear-gradient(135deg, #fff 0%, #fafafa 100%);
  --footer-border: #e9ecef;
  --footer-shadow: 0 4px 12px rgba(0,0,0,0.05);
  --footer-transition: all 0.3s ease;
  --footer-hover-transform: translateY(-2px);
}

/* ===================================== */
/* BASE STYLES & FALLBACKS               */
/* ===================================== */

/* Fallbacks for older browsers */
.footer {
  background: #fff; /* Fallback */
  background: var(--footer-bg-gradient);
  border-top: 4px solid #e91e63; /* Fallback */
  border-top: 4px solid var(--footer-primary);
  position: relative;
  width: 100%;
  clear: both;
  display: block;
}

.footer * {
  box-sizing: border-box;
}

.footer a {
  text-decoration: none;
  color: inherit;
}

.footer a:hover {
  text-decoration: none;
}

/* ===================================== */
/* NEWSLETTER SECTION                    */
/* ===================================== */

.newsletter-section {
  background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
  color: #fff;
  padding: 50px 0;
  text-align: center;
  position: relative;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.newsletter-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.newsletter-subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border-radius: 18px;
  background: rgba(255,255,255,0.1);
  padding: 8px 16px;
}

.newsletter-input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
  background: rgba(255,255,255,0.9);
  color: #333;
}

.newsletter-input::placeholder {
  color: #6c757d;
}

.newsletter-btn {
  padding: 15px 30px;
  background: #fff;
  color: #e91e63;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.newsletter-btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.newsletter-btn:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Newsletter Responsive */
@media (max-width: 768px) {
  .newsletter-form {
    flex-direction: column;
    border-radius: 15px;
    padding: 15px;
  }
  
  .newsletter-input {
    border-radius: 15px;
  }
  
  .newsletter-btn {
    border-radius: 15px;
    justify-content: center;
  }
  
  .newsletter-title {
    font-size: 1.6rem;
  }
  
  .newsletter-subtitle {
    font-size: 1rem;
  }
}

/* ===================================== */
/* FOOTER MAIN CONTAINER                 */
/* ===================================== */

.footer {
  background: var(--footer-bg-gradient);
  border-top: 4px solid var(--footer-primary);
  position: relative;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-main {
  padding: 40px 0 15px;
  /* Fallback for older browsers */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* Modern grid layout */
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Fallback for non-grid browsers */
.footer-main > * {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

/* ===================================== */
/* FOOTER BRAND SECTION                  */
/* ===================================== */

.footer-brand-contact {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Footer Logo - Responsive Design for All Devices */
.footer-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 25px;
  text-align: left;
}

.footer-logo-img {
  width: 100% !important;
  height: auto !important;
  max-height: 180px;
  object-fit: contain;
  border: none;
  padding: 10px;
}

.footer-description {
  color: var(--footer-text);
  font-size: 1rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* ===================================== */
/* FOOTER CONTACT INFO                   */
/* ===================================== */

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: transparent !important;
  background-color: transparent !important;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--footer-text);
  font-size: 0.95rem;
  transition: var(--footer-transition);
}

.contact-item:hover {
  color: var(--footer-primary);
  transform: translateX(5px);
}

.contact-item i {
  width: 20px;
  color: var(--footer-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--footer-primary);
}

/* ===================================== */
/* FOOTER NAVIGATION SECTIONS            */
/* ===================================== */

.footer-services, 
.footer-company {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-section-title {
  color: var(--footer-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer-section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--footer-primary), var(--footer-primary-light));
  border-radius: 2px;
}

/* Footer Navigation Links */
.service-link, 
.company-link {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--footer-transition);
  position: relative;
  padding-bottom: 8px;
}





.service-link:hover, 
.company-link:hover {
  color: var(--footer-primary);
}



/* ===================================== */
/* FOOTER SOCIAL SECTION                 */
/* ===================================== */

.footer-social-hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: transparent !important;
  background-color: transparent !important;
}

.social-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: transparent !important;
  background-color: transparent !important;
}

.social-links {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

/* Ensure social links always display horizontally */
.social-links * {
  display: inline-flex !important;
}

/* Contact Section in Column 4 */
.contact-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: transparent !important;
  background-color: transparent !important;
}

.social-link {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 2px solid var(--footer-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  text-decoration: none;
  transition: var(--footer-transition);
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}

.social-link:hover {
  background: var(--footer-primary);
  color: #fff;
  border-color: var(--footer-primary);
  transform: var(--footer-hover-transform);
  box-shadow: 0 8px 20px rgba(233, 30, 99, 0.4);
}

/* ===================================== */
/* FOOTER BOTTOM SECTION                 */
/* ===================================== */

.footer-bottom {
  border-top: 1px solid var(--footer-border);
  padding: 15px 0;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.footer-bottom-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: var(--footer-text);
  font-size: 0.9rem;
}

.footer-bottom-left {
  text-align: left;
}

.footer-bottom-center {
  text-align: center;
}

.footer-bottom-right {
  text-align: right;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.footer-bottom-links a {
  color: var(--footer-text);
  text-decoration: none;
  transition: var(--footer-transition);
  position: relative;
  padding: 5px 0;
}

.footer-bottom-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--footer-primary);
  transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--footer-primary);
}

.footer-bottom-links a:hover::after {
  width: 100%;
}

/* ===================================== */
/* BACK TO TOP BUTTON                    */
/* ===================================== */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--footer-primary), var(--footer-primary-light));
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
  transition: var(--footer-transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px);
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(233, 30, 99, 0.5);
}

.back-to-top:focus {
  outline: 2px solid var(--footer-primary);
  outline-offset: 2px;
}

/* ===================================== */
/*/* RESPONSIVE FONT OPTIMIZATION          */
/* ===================================== */

/* Large Desktop (1440px+) - Enhanced Typography */
@media (min-width: 1440px) {
  .footer-section-title {
    font-size: 1.4rem;
  }
  
  .footer-description {
    font-size: 1.05rem;
  }
  
  .service-link, 
  .company-link {
    font-size: 1rem;
  }
  
  .contact-item {
    font-size: 1rem;
  }
  
  .footer-bottom-content {
    font-size: 0.95rem;
  }
}

/* Desktop to Large Tablet (1025px - 1439px) - Standard Typography */
@media (min-width: 1025px) and (max-width: 1439px) {
  .footer-section-title {
    font-size: 1.3rem; /* Current size - no change */
  }
  
  .footer-description {
    font-size: 1rem;
  }
  
  .service-link, 
  .company-link {
    font-size: 0.95rem;
  }
  
  .contact-item {
    font-size: 0.95rem;
  }
  
  .footer-bottom-content {
    font-size: 0.9rem;
  }
}

/* ===================================== */
/* RESPONSIVE DESIGN                     */
/* ===================================== */

/* Large Tablets */
@media (max-width: 1024px) {
  /* TABLET FONT OPTIMIZATION */
  .footer-section-title {
    font-size: 1.15rem; /* Reduced from 1.3rem */
  }
  
  .footer-description {
    font-size: 0.95rem; /* Reduced from 1rem */
    line-height: 1.5;
  }
  
  .service-link, 
  .company-link {
    font-size: 0.9rem; /* Reduced from 0.95rem */
  }
  
  .contact-item {
    font-size: 0.9rem; /* Reduced from 0.95rem */
  }
  
  .footer-bottom-content {
    font-size: 0.85rem; /* Reduced from 0.9rem */
  }
  
  .certificate-title {
    font-size: 1rem; /* Reduced from 1.1rem */
  }
  
  .certificate-school {
    font-size: 0.9rem; /* Reduced from 1rem */
  }
  
  .certificate-label {
    font-size: 0.8rem; /* Reduced from 0.85rem */
  }
  
  /* Tablet Logo Size - Full Width */
  .footer-logo-img {
    width: 100% !important;
    height: auto !important;
    max-height: 160px;
  }
  
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  
  .footer-logo {
    justify-content: center;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
    flex-direction: row;
  }
  
  .footer-bottom-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 15px;
  }
  
  .footer-bottom-left,
  .footer-bottom-center,
  .footer-bottom-right {
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
    flex-direction: row; /* Ensure horizontal */
    gap: 15px; /* Comfortable spacing */
    flex-wrap: wrap; /* Allow wrapping on small tablets */
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  /* MOBILE FONT OPTIMIZATION */
  .footer-section-title {
    font-size: 1rem; /* Reduced from 1.3rem */
    margin-bottom: 16px;
  }
  
  .footer-description {
    font-size: 0.9rem; /* Reduced from 1rem */
    line-height: 1.4;
    margin-bottom: 20px;
  }
  
  .service-link, 
  .company-link {
    font-size: 0.85rem; /* Reduced from 0.95rem */
    padding-bottom: 6px;
  }
  
  .contact-item {
    font-size: 0.8rem; /* Reduced from 0.95rem */
    gap: 10px;
  }
  
  .footer-bottom-content {
    font-size: 0.75rem; /* Reduced from 0.9rem */
  }
  
  .certificate-title {
    font-size: 0.95rem; /* Reduced from 1.1rem */
  }
  
  .certificate-school {
    font-size: 0.85rem; /* Reduced from 1rem */
  }
  
  .certificate-label {
    font-size: 0.75rem; /* Reduced from 0.85rem */
  }
  
  /* Footer Bottom Links - Horizontal Layout */
  .footer-bottom-links {
    flex-direction: row; /* Always horizontal */
    justify-content: center;
    gap: 12px; /* Comfortable mobile spacing */
    flex-wrap: wrap; /* Allow wrapping if needed */
  }
  
  /* Ensure minimum touch target sizes */
  .footer-bottom-links a {
    padding: 8px 4px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  
  /* Mobile Logo Size - Full Width */
  .footer-logo-img {
    width: 100% !important;
    height: auto !important;
    max-height: 140px;
  }
  
  .footer-logo {
    justify-content: center;
    text-align: center;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    padding: 30px 0 15px;
  }
  
  .footer-brand-contact {
    text-align: center;
  }
  
  .footer-contact-info {
    align-items: center;
  }
  
  .footer-section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  

  
  .service-link:hover,
  .company-link:hover {
    color: var(--footer-primary);
  }
  
  .back-to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 1rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  /* SMALL MOBILE FONT OPTIMIZATION */
  .footer-section-title {
    font-size: 0.95rem; /* Reduced from 1.3rem */
    margin-bottom: 14px;
  }
  
  .footer-description {
    font-size: 0.85rem; /* Reduced from 1rem */
    line-height: 1.3;
    margin-bottom: 18px;
  }
  
  .service-link, 
  .company-link {
    font-size: 0.8rem; /* Reduced from 0.95rem */
    padding-bottom: 5px;
  }
  
  .contact-item {
    font-size: 0.75rem; /* Reduced from 0.95rem */
    gap: 8px;
  }
  
  .contact-item i {
    font-size: 0.9rem;
    width: 18px;
  }
  
  .footer-bottom-content {
    font-size: 0.7rem; /* Reduced from 0.9rem */
  }
  
  .certificate-title {
    font-size: 0.9rem; /* Reduced from 1.1rem */
  }
  
  .certificate-school {
    font-size: 0.8rem; /* Reduced from 1rem */
  }
  
  .certificate-label {
    font-size: 0.7rem; /* Reduced from 0.85rem */
  }
  
  /* Enhanced touch targets for small screens */
  .footer-bottom-links a {
    padding: 10px 6px;
    font-size: 0.75rem;
  }
  
  .social-link {
    font-size: 1rem; /* Slightly reduced */
  }
  
  /* Small Mobile Logo Size - Full Width */
  .footer-logo-img {
    width: 100% !important;
    height: auto !important;
    max-height: 120px;
  }
  
  .footer-logo {
    justify-content: center;
    text-align: center;
  }
  
  .footer-container {
    padding: 0 15px;
  }
  
  .footer-main {
    padding: 25px 0 15px;
    gap: 25px;
  }
  
  .social-links {
    justify-content: center;
    flex-direction: row;
    gap: 15px;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .footer-bottom-links {
    flex-direction: row; /* Keep horizontal */
    gap: 8px; /* Reduced gap for mobile */
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping if needed */
  }
  
  .footer-bottom {
    padding: 15px 0;
  }
}

/* Extra Small Mobile (≤375px) - Ultra Compact Typography */
@media (max-width: 375px) {
  .footer-section-title {
    font-size: 0.9rem; /* Ultra compact */
    margin-bottom: 12px;
  }
  
  .footer-description {
    font-size: 0.8rem; /* Ultra compact */
    line-height: 1.25;
    margin-bottom: 16px;
  }
  
  .service-link, 
  .company-link {
    font-size: 0.75rem; /* Ultra compact */
    padding-bottom: 4px;
  }
  
  .contact-item {
    font-size: 0.7rem; /* Ultra compact */
    gap: 6px;
  }
  
  .contact-item i {
    font-size: 0.8rem;
    width: 16px;
  }
  
  .footer-bottom-content {
    font-size: 0.65rem; /* Ultra compact */
    line-height: 1.2;
  }
  
  .certificate-title {
    font-size: 0.85rem;
  }
  
  .certificate-school {
    font-size: 0.75rem;
  }
  
  .certificate-label {
    font-size: 0.65rem;
  }
  
  /* Footer Bottom Links - Ultra Compact Horizontal */
  .footer-bottom-links {
    flex-direction: row; /* Always horizontal */
    justify-content: center;
    gap: 6px; /* Compact spacing */
    flex-wrap: wrap; /* Allow wrapping */
  }
  
  /* Ultra compact touch targets */
  .footer-bottom-links a {
    padding: 8px 4px;
    font-size: 0.7rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  /* Ensure minimum readability */
  .contact-item a,
  .service-link,
  .company-link {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }
}

/* ===================================== */
/* ACCESSIBILITY IMPROVEMENTS            */
/* ===================================== */

/* Focus States & Font Accessibility */
.footer a:focus,
.footer button:focus {
  outline: 2px solid var(--footer-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Ensure minimum font sizes for accessibility */
@media (max-width: 480px) {
  .footer a,
  .footer button {
    min-font-size: 16px; /* Prevent zoom on iOS */
  }
  
  /* Ensure touch targets are at least 44px */
  .contact-item a,
  .service-link,
  .company-link,
  .footer-bottom-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 10px 4px;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .footer {
    border-top-width: 6px;
  }
  
  .footer-section-title::after {
    height: 4px;
  }
  
  .social-link {
    border-width: 3px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .footer * {
    animation: none !important;
    transition: none !important;
  }
  
  .back-to-top {
    transition: opacity 0.3s ease;
  }
}

/* Print Styles */
@media print {
  .footer {
    border-top: 2px solid #000;
    background: #fff !important;
  }
  
  .back-to-top {
    display: none;
  }
  
  .social-links {
    display: none;
  }
}

/* ===================================== */
/* PROFESSIONAL CERTIFICATE SECTION      */
/* ===================================== */

.footer-certificate {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid var(--footer-primary);
  border-radius: 15px;
  padding: 20px;
  margin-top: 5px;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.1);
  transition: var(--footer-transition);
  position: relative;
  overflow: hidden;
}

.footer-certificate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--footer-primary), var(--footer-primary-light));
}

.footer-certificate:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(233, 30, 99, 0.2);
  border-color: var(--footer-primary-light);
}

.certificate-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.certificate-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--footer-primary), var(--footer-primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 3px 10px rgba(233, 30, 99, 0.3);
  transition: var(--footer-transition);
}

.footer-certificate:hover .certificate-icon {
  transform: rotate(10deg) scale(1.05);
}

.certificate-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.certificate-title {
  color: var(--footer-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.certificate-school {
  color: var(--footer-primary);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
}

.certificate-label {
  color: var(--footer-text);
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Certificate Responsive Design */
@media (max-width: 1024px) {
  .footer-certificate {
    border-radius: 12px;
    padding: 18px;
  }
  
  .certificate-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  
  .certificate-title {
    font-size: 1.05rem;
  }
  
  .certificate-school {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .footer-certificate {
    border-radius: 12px;
    padding: 16px;
    margin-top: 10px;
    text-align: center;
  }
  
  .certificate-card {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .certificate-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .certificate-info {
    text-align: center;
    gap: 6px;
  }
  
  .certificate-title {
    font-size: 1rem;
  }
  
  .certificate-school {
    font-size: 0.9rem;
  }
  
  .certificate-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .footer-certificate {
    border-radius: 10px;
    padding: 14px;
    margin-top: 8px;
  }
  
  .certificate-icon {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }
  
  .certificate-title {
    font-size: 0.95rem;
  }
  
  .certificate-school {
    font-size: 0.85rem;
  }
  
  .certificate-label {
    font-size: 0.75rem;
  }
}

/* Certificate Accessibility */
@media (prefers-reduced-motion: reduce) {
  .footer-certificate,
  .certificate-icon {
    transition: none;
  }
  
  .footer-certificate:hover {
    transform: none;
  }
  
  .footer-certificate:hover .certificate-icon {
    transform: none;
  }
}

/* High Contrast Mode for Certificate */
@media (prefers-contrast: high) {
  .footer-certificate {
    border-width: 3px;
    background: #fff;
  }
  
  .certificate-icon {
    background: var(--footer-primary);
  }
}
