/*
 * Kintek corporate website styles
 *
 * This stylesheet defines a modern and minimal interface based on the
 * corporate colours and typography specified in the brand manual.
 */

/* Colour variables inspired by the corporate palette */
:root {
  --primary: #000080; /* corporate blue */
  --secondary: #f4772b; /* corporate orange */
  --dark: #000000;
  --light: #ffffff;
  --gray: #f5f5f5;
  --font: 'Lexend Deca', sans-serif;
}

/* Global styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Container to constrain width */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--light);
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 1rem;
}

.brand {
  font-size: 1.8rem;
  font-weight: 600;
  display: flex;
  align-items: baseline;
}
.brand .kin { color: var(--secondary); }
.brand .tek { color: var(--primary); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--primary);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--secondary);
}

.cta-btn {
  padding: 0.5rem 1rem;
  background-color: var(--secondary);
  color: var(--light);
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.cta-btn:hover {
  background-color: #e76c23;
}

/* Mobile navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle .hamburger {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  position: relative;
  transition: all 0.3s;
}
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  transition: all 0.3s;
}
.nav-toggle .hamburger::before {
  top: -8px;
}
.nav-toggle .hamburger::after {
  top: 8px;
}

/* Hide nav on small screens until toggled */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background-color: var(--light);
    width: 60%;
    height: calc(100vh - 70px);
    padding-top: 2rem;
    transition: right 0.3s;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  .nav-links.open {
    right: 0;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links li { text-align: center; }
  .cta-btn {
    margin-top: 1rem;
  }
}

/* Hero section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light);
  background-image: url('assets/benefits2.png');
  background-size: cover;
  background-position: center bottom;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
.btn {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--light);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s;
}
.btn:hover {
  background-color: #e76c23;
}

/* General section styles */
.section {
  padding: 4rem 0;
}
.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
  text-align: center;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  margin: 0.5rem auto;
  border-radius: 2px;
}
.intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #333;
}

/* About */
.mission-vision {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.card {
  flex: 1;
  background-color: var(--gray);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  min-width: 280px;
}
.card h3 {
  margin-top: 0;
  color: var(--secondary);
  font-size: 1.6rem;
}

/* Program roles */
.roles-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.role-card {
  flex: 1;
  background-color: var(--light);
  border: 1px solid #e0e0e0;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  min-width: 260px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.role-title {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.4rem;
}
.role-desc {
  color: #555;
  margin-bottom: 0;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.benefit-item {
  background-color: var(--gray);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 6px solid var(--secondary);
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.benefit-item h4 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.3rem;
}
.benefit-item p {
  margin-bottom: 0;
  color: #555;
}

/* Info section */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.info-item {
  background-color: var(--gray);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 6px solid var(--primary);
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.info-item h4 {
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--primary);
}
.info-item p {
  color: #555;
  margin-bottom: 0;
}

/* FAQ */
.faq-list {
  margin-top: 2rem;
}
.faq-item {
  background-color: var(--gray);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  margin-bottom: 1rem;
}
.faq-item h4 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--primary);
}
.faq-item p {
  margin-bottom: 0;
  color: #555;
}

.cta-container {
  text-align: center;
  margin-top: 2rem;
}

/* Referral program */
.referral-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.referral-card {
  padding: 2rem 1.5rem;
  border-radius: 12px;
  color: var(--light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
/* Specific colour backgrounds for referral tiers */
.referral-card.cap { background-color: var(--secondary); }
.referral-card.ally { background-color: var(--primary); }
.referral-card.connector { background-color: var(--dark); }

.referral-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.referral-card .bonus {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.referral-card .details {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 0;
}
.contact-numbers {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.1rem;
}
.phone {
  display: inline-block;
  margin: 0.5rem 1rem;
  color: var(--primary);
  font-weight: 600;
}
.phone .icon {
  margin-right: 0.3rem;
}

/* Combos */
.combo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.combo-card {
  background-color: var(--gray);
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.combo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.combo-card h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.4rem;
}
.combo-card ul {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
  color: #555;
}
.combo-card ul li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

/* Academy */
.academy-content {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
}
.academy-text {
  flex: 1 1 300px;
}
.academy-text h3 {
  margin-top: 0;
  color: var(--secondary);
  font-size: 1.4rem;
}
.academy-text p {
  color: #555;
  margin-bottom: 1rem;
}
.academy-image {
  flex: 1 1 300px;
  text-align: center;
}
.academy-image img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Contact */
.contact-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.contact-info {
  flex: 1 1 280px;
}
.contact-form {
  flex: 1 1 280px;
}
.contact-form form {
  background-color: var(--gray);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--primary);
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  outline: none;
}
.contact-form button {
  width: 100%;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--light);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Utility classes */
.section .btn {
  margin-top: 1rem;
}

/* Responsive typography tweaks */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .intro {
    font-size: 1rem;
  }
}