/* assets/css/footer.css */
:root {
  --accent: #eb5013;
  --accent-dark: #d94410;
  --dark: #111827;
  --muted: #6b6b6b;
  --light-bg: #f8f8f8;
  --card-bg: #ffffff;
  /* Updated dark background for gradient effect */
  --footer-bottom-bg: #1a1a1a; 
  --footer-bottom-foreground: #e0e0e0;
  --radius: 12px; /* Increased radius for modern look */
  --shadow: 0 8px 25px rgba(0,0,0,0.1);
  --max-width: 1200px;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, "Helvetica Neue", Arial;
}

/* Overall wrapper */
.ktt-footer {
  background: var(--light-bg);
  color: var(--dark);
  margin-top: 60px;
  padding-top: 30px;
}

/* Contact Section (Top - Form and Cards) */
.footer-contact {
  text-align: center;
  padding: 36px 20px 30px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* --- Text Size (Have a Question?) --- */
.footer-heading {
  /* Increased size significantly (2X larger than standard H2) */
  font-size: 48px; 
  font-weight: 800;
  color: var(--accent); /* FIX: Set to accent color for emphasis */
  margin-bottom: 8px;
  line-height: 1.1;
}

.footer-subtext {
  font-size: 16px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 30px;
}

/* --- Footer Cards Layout (made bigger) --- */
.footer-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Min card size increased */
  gap: 20px;
  margin: 30px 0 50px;
}

.footer-card {
  background: var(--card-bg);
  padding: 24px; /* Increased padding */
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
  text-align: center;
}
.footer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.footer-icon {
  font-size: 32px; /* Larger icon */
  margin-bottom: 12px;
  display: inline-block;
}

.footer-card h4 {
  font-size: 18px; /* Slightly larger heading */
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

.footer-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.footer-link-phone {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-link-phone:hover {
    color: var(--accent);
}

/* --- Contact Form Styling --- */
.footer-form {
  max-width: 768px;
  margin: 0 auto;
  padding: 30px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
}
.form-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
    text-align: center;
}
.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}
.footer-form input, .footer-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s;
}
.footer-form input:focus, .footer-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.footer-form textarea {
  margin-bottom: 15px;
}

.form-agreement {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.form-agreement input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}
.form-agreement label {
  font-size: 14px;
  color: var(--muted);
}

.footer-form-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}
.footer-form-btn:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
}

/* --- Footer Bottom (Dark Area) --- */
.footer-bottom-wrapper {
  background: var(--footer-bottom-bg);
  color: var(--footer-bottom-foreground);
  padding: 40px 0;
  margin-top: 50px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr; /* Adjusted column widths */
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
}

.footer-col h3, .footer-col h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}
.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--footer-bottom-foreground);
  margin-bottom: 10px;
}
.footer-col a {
    color: var(--footer-bottom-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-col a:hover {
    color: var(--accent);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  font-size: 14px;
}

/* Subscribe Form */
.subscribe-form {
  display: flex;
  background: #333;
  border-radius: 8px;
  overflow: hidden;
}
.subscribe-form input {
  flex-grow: 1;
  padding: 10px 15px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.subscribe-form input::placeholder {
  color: #999;
}
.subscribe-btn {
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.subscribe-btn:hover {
  background: var(--accent-dark);
}

/* Copyright Section */
.copyright {
  background: #111;
  padding: 15px 20px;
  text-align: center;
}
.copyright p {
  font-size: 12px;
  color: #777;
  margin: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  /* Smaller footer heading on tablet */
  .footer-heading { font-size: 38px; }
  
  /* Footer cards layout adjust */
  .footer-cards {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 600px) {
  /* Stack footer form inputs */
  .form-row { flex-direction: column; gap: 10px; } 

  /* Stack footer bottom columns to 1 */
  .footer-bottom { 
    grid-template-columns: 1fr; 
    text-align: center;
  }
  
  /* Center footer col content when stacked */
  .footer-col, .footer-col p, .footer-col ul { text-align: center; }
  .footer-col ul li a { display: block; }

  /* Mobile text adjustments */
  .footer-heading { font-size: 32px; }
  .footer-card { padding: 20px; }
  .footer-card h4 { font-size: 16px; }
  .form-title { font-size: 20px; }
}
