/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

/* Header */
.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 60px 30px;
  text-align: center;
  margin-bottom: 50px;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Footer Example Sections */
.footer-example {
  background: #fff;
  padding: 40px;
  margin-bottom: 50px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.footer-example h2 {
  color: #667eea;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.example-description {
  background: #f9f9f9;
  padding: 15px;
  border-left: 4px solid #667eea;
  margin-bottom: 30px;
  border-radius: 5px;
}

.example-description p {
  color: #666;
  font-size: 0.95rem;
}

/* ========== FOOTER 1: MULTI-COLUMN ========== */
.footer-1 {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  padding: 60px 30px 0;
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #ffd700;
}

.footer-section p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-link:hover {
  background: #ffd700;
  color: #1a1a2e;
  transform: translateY(-3px);
  border-color: #ffd700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #ffd700;
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
  color: #aaa;
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid #ffd700;
}

.newsletter-form button {
  padding: 12px 20px;
  background: #ffd700;
  color: #1a1a2e;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #ffed4e;
  transform: translateY(-2px);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 30px;
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
  border-radius: 0 0 10px 10px;
}

/* ========== FOOTER 2: THREE-COLUMN MINIMAL ========== */
.footer-2 {
  background: #f0f0f0;
  color: #333;
  padding: 50px 30px;
  margin-top: 30px;
  border-radius: 10px;
}

.footer-container-2 {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #ddd;
}

.footer-column h4 {
  color: #667eea;
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-column ul li a:hover {
  color: #667eea;
}

.social-icons-2 {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-icons-2 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #667eea;
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-weight: bold;
}

.social-icons-2 a:hover {
  background: #764ba2;
  transform: scale(1.1);
}

.footer-bottom-2 {
  text-align: center;
  padding-top: 20px;
  color: #999;
  font-size: 0.9rem;
}

/* ========== FOOTER 3: COMPACT SINGLE-ROW ========== */
.footer-3 {
  background: #333;
  color: #fff;
  padding: 30px;
  margin-top: 30px;
  border-radius: 10px;
}

.footer-content-3 {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links-3 {
  flex: 1;
  min-width: 200px;
}

.footer-links-3 a {
  color: #ccc;
  text-decoration: none;
  margin-right: 10px;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-links-3 a:hover {
  color: #ffd700;
}

.footer-social-3 {
  display: flex;
  gap: 15px;
}

.footer-social-3 a {
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-social-3 a:hover {
  color: #ffd700;
  transform: scale(1.2);
}

.footer-content-3 p {
  text-align: center;
  color: #999;
  font-size: 0.85rem;
  width: 100%;
  margin: 15px 0 0 0;
}

/* ========== FOOTER 4: TWO-COLUMN ========== */
.footer-4 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 60px 30px 0;
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
}

.footer-container-4 {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-left-4 h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.footer-left-4 p {
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

.social-icons-4 {
  display: flex;
  gap: 15px;
}

.social-icons-4 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons-4 a:hover {
  background: #fff;
  color: #667eea;
  transform: translateY(-3px);
}

.footer-right-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.footer-col-4 h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #fff;
}

.footer-col-4 .footer-links {
  list-style: none;
}

.footer-col-4 .footer-links li {
  margin-bottom: 10px;
}

.footer-col-4 .footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-col-4 .footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-bottom-4 {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  border-radius: 0 0 10px 10px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .header h1 {
    font-size: 1.8rem;
  }

  .header p {
    font-size: 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-container-2 {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-container-4 {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-right-4 {
    grid-template-columns: 1fr;
  }

  .footer-content-3 {
    flex-direction: column;
    text-align: center;
  }

  .footer-links-3 a {
    margin: 5px;
    display: inline-block;
  }

  .footer-example {
    padding: 20px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 40px 20px;
  }

  .header h1 {
    font-size: 1.5rem;
  }

  .social-icons,
  .social-icons-2,
  .social-icons-4 {
    gap: 10px;
  }

  .footer-example {
    padding: 15px;
    margin-bottom: 30px;
  }

  .footer-example h2 {
    font-size: 1.4rem;
  }
}
