/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
 font-family: "Segoe UI", system-ui, sans-serif;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background-image: url('../img/img.png'); /* Ensure the image is in the same folder as this HTML file */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

        :root {
            --primary-bg: #f4f7f6;
            --card-white: #ffffff;
            --text-dark: #2d3436;
            --accent-primary: #27ae60;
            --accent-secondary: #e67e22;
            --accent-tertiary: #2980b9;
            --accent-quaternary: #8e44ad;
            --cluster-bg: #ecf0f1;
            --formula-bg: #2c3e50;
        }
        

        .container {
            max-width: 1100px;
            margin: 0 auto;
            background:white;
            padding: 10px 10px 10px 10px;
        }

        header {
            text-align: center;
            
        }

        header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            color: #2c3e50;
        }

        .tier-label {
            display: inline-block;
            background: #dfe6e9;
            padding: 8px 20px;
            border-radius: 20px;
            font-weight: bold;
            text-transform: uppercase;
            font-size: 0.9rem;
            margin: 50px 0 20px 0;
            color: #2c3e50;
            border: 2px solid #b2bec3;
        }

        /* Tier 1 Sector Grid */
        .sector-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 20px;
        }

        .sector-card {
            background: var(--card-white);
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            border-bottom: 5px solid transparent;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }

        .primary { border-color: var(--accent-primary); }
        .secondary { border-color: var(--accent-secondary); }
        .tertiary { border-color: var(--accent-tertiary); }
        .quaternary { border-color: var(--accent-quaternary); }

        /* Tier 2 Cluster Grid */
        .cluster-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 12px;
        }

        .cluster-item {
            background: var(--card-white);
            padding: 12px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
            font-size: 0.9rem;
            border: 1px solid #e1e8ed;
            color:black;
        }

        /* Tier 3 Role Cards */
        .role-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .role-card {
            background: var(--card-white);
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            border: 2px dashed #d1d8e0;
            transition: all 0.3s ease;
            color: black;
        }

        .role-card:hover {
            border-style: solid;
            border-color: var(--accent-tertiary);
            background: #f0f7ff;
        }

        .role-icon { font-size: 2.5rem; display: block; margin-bottom: 10px; }

        /* Formula Section */
        .formula-section {
            background: var(--formula-bg);
            color: white;
            padding: 40px;
            border-radius: 20px;
            margin-top: 60px;
            text-align: center;
        }

        .formula-box {
            font-size: 1.5rem;
            background: rgba(255,255,255,0.1);
            padding: 20px;
            border-radius: 15px;
            display: inline-block;
            margin: 20px 0;
            border: 2px solid var(--accent-secondary);
        }

        .example-tag {
            display: inline-block;
            background: var(--accent-primary);
            padding: 5px 15px;
            border-radius: 5px;
            margin: 5px;
            font-size: 0.9rem;
        }

        .section-intro { text-align: center; color: #636e72; margin-bottom: 30px; }
        .container { max-width: 1000px; margin: 0 auto; }
        
        header { text-align: center;}

        /* Selection States */
        .selected {
            background: var(--accent-tertiary) !important;
            color: white !important;
            border-color: var(--accent-tertiary) !important;
            transform: scale(1.05);
        }

        .tier-label {
            display: inline-block;
            background: #dfe6e9;
            padding: 8px 20px;
            border-radius: 20px;
            font-weight: bold;
            margin: 30px 0 15px 0;
        }

        /* Cluster Grid */
        .cluster-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 10px;
        }

        .cluster-item {
            background: white;
            padding: 15px;
            border-radius: 10px;
            cursor: pointer;
            border: 1px solid #ddd;
            transition: 0.3s;
            text-align: center;
            font-weight: 600;
        }

        /* Role Cards */
        .role-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
        }

        .role-card {
            background: white;
            padding: 20px;
            border-radius: 15px;
            text-align: center;
            cursor: pointer;
            border: 2px dashed #ccc;
            transition: 0.3s;
        }

        /* Result Section */
        .result-area {
            background: var(--formula-bg);
            color: white;
            padding: 40px;
            border-radius: 20px;
            text-align: center;
        }

        #career-output {
            font-size: 2rem;
            color: var(--accent-secondary);
            font-weight: bold;
            display: block;
            margin-top: 10px;
            min-height: 2.5rem;
        }

        .btn-reset {
            margin-top: 20px;
            padding: 10px 20px;
            background: #e74c3c;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        /* Background Video */
.bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
}

/* Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  
  z-index: -1;
}
/* Footer */
.footer_container {
  margin: 60px auto 20px auto; /* Added 'auto' to center it */
  padding: 30px 35px;
  max-width: 900px;
  text-align: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 40px rgba(102, 126, 234, 0.25);
  
  /* Animation Fix */
  animation: popUp 1s ease forwards; 
  opacity: 0; 
  transform: translateY(40px);
}

/* Paragraph color fix (It was pure black #010000, which is hard to see on dark themes) */
.footer_container p {
  font-size: 1rem;
  color: #ffffff; /* Changed from black to white for visibility */
  line-height: 1.6;
  margin-bottom: 22px;
}
/* CTA Button */
.footer-cta {
  display: inline-block;
  padding: 12px 26px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}
/* Hover Effect */
.footer-cta:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(118, 75, 162, 0.6);
}
  /* --- New Social & Legal Styles --- */
    .social-links {
      margin-bottom: 20px;
      display: flex;
      justify-content: center;
      gap: 20px;
    }

    .social-icon {
      color: #ffffff;
      font-size: 1.5rem;
      transition: color 0.3s ease;
      text-decoration: none;
    }

    .social-icon:hover {
      color: #667eea;
    }

    .legal-links {
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      padding-top: 15px;
      display: flex;
      justify-content: center;
      gap: 15px;
      flex-wrap: wrap;
    }

    .legal-links a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      font-size: 0.85rem;
      transition: color 0.3s ease;
    }

    .legal-links a:hover {
      color: #ffffff;
    }

/* ADD THIS AT THE BOTTOM OF YOUR CSS FILE */
@keyframes popUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}